CN113190267A - Dynamic configuration method and system for interface layout - Google Patents

Dynamic configuration method and system for interface layout Download PDF

Info

Publication number
CN113190267A
CN113190267A CN202110585163.0A CN202110585163A CN113190267A CN 113190267 A CN113190267 A CN 113190267A CN 202110585163 A CN202110585163 A CN 202110585163A CN 113190267 A CN113190267 A CN 113190267A
Authority
CN
China
Prior art keywords
target
interface
configuration file
interface layout
layout
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110585163.0A
Other languages
Chinese (zh)
Other versions
CN113190267B (en
Inventor
胡硕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Hode Information Technology Co Ltd
Original Assignee
Shanghai Hode Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Hode Information Technology Co Ltd filed Critical Shanghai Hode Information Technology Co Ltd
Priority to CN202110585163.0A priority Critical patent/CN113190267B/en
Publication of CN113190267A publication Critical patent/CN113190267A/en
Application granted granted Critical
Publication of CN113190267B publication Critical patent/CN113190267B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a dynamic configuration method of interface layout, which comprises the following steps: acquiring basic information uploaded by a plurality of sample client terminals in a target area; generating a user portrait of the target area according to the basic information; adjusting an interface configuration file based on the user portrait, the interface configuration file being used for configuring a target interface layout of a target program; and sending the adjusted interface configuration file to a target client terminal associated with the target area, so that the target client terminal: and configuring the target interface layout according to the adjusted interface configuration file. According to the technical scheme, the interface layout flexibility and the user viscosity of the target program are improved, and the workload of target program development is reduced.

Description

Dynamic configuration method and system for interface layout
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a dynamic configuration method and a dynamic configuration system for interface layout.
Background
With the development of mobile devices, people have increasingly demanded mobile devices. In order to meet the different requirements of different people, various application programs can be installed on the mobile equipment. The interface layout of the application program greatly influences the use experience of the application program for users. Due to differences in policy and regulations in various regions of the world, and differences in social software used by users in various regions of the world; the user experience of different regions can also be different for the same application interface layout. For example, for the configuration of the login interface of application a: users in some regions are accustomed to using WeChat login, users in some regions are accustomed to using Gmail login, users in some regions are accustomed to using Facebook login, and users in other regions are not accustomed to the three login modes, so that the configuration of a login interface which can adapt to different crowds in all regions of the world is particularly important. The existing method comprises the following steps: 1. configuring a login interface to face all users, which is easy to lose a large number of players who are not used to the login interface; 2. configuring different login interfaces according to players in different regions can lead to huge application development workload. Therefore, how to solve the problems of low interface layout flexibility, low user stickiness and large development workload of the application program caused by the difference of policy and regulations around the world and the difference of social software used by users around the world, which is a problem that needs to be solved urgently at present.
Disclosure of Invention
The embodiment of the application aims to provide a dynamic configuration method and a dynamic configuration system for interface layout, which are used for solving the technical problems that the interface layout flexibility of an application program is lower, the user stickiness is lower, the development workload is larger and the like due to different policy and regulations around the world and different use habits of users around the world at present.
One aspect of the embodiments of the present application provides a method for dynamically configuring an interface layout, including:
acquiring basic information uploaded by a plurality of sample client terminals in a target area;
generating a user portrait of the target area according to the basic information;
adjusting an interface configuration file based on the user portrait, the interface configuration file being used for configuring a target interface layout of a target program; and
sending the adjusted interface configuration file to a target client terminal associated with the target area, so that the target client terminal: and configuring the target interface layout according to the adjusted interface configuration file.
Optionally, the interface configuration file includes interface layout rules, and the user representation includes a plurality of region tags associated with the target region;
adjusting an interface profile based on the user representation, comprising: and adjusting the interface layout rule according to the plurality of region labels.
Optionally, the plurality of region tags include login tags corresponding to login manners, and the interface layout rule includes a login interface layout rule;
adjusting the interface layout rule according to the plurality of zone tags includes:
and adjusting the login interface layout rule according to the login tag, wherein the login interface layout rule is used for defining a layout style of a plurality of login interface components in a login interface, and the plurality of login interface components comprise a plurality of interface components associated with the target region.
Optionally, the plurality of region tags include payment tags corresponding to payment modes, and the interface layout rule includes a payment surface layout rule;
adjusting the interface layout rule according to the plurality of zone tags includes:
adjusting the payment interface layout rule according to the payment tag, wherein the payment interface layout rule is used for defining a plurality of payment interface components in a payment interface layout style, and the plurality of payment interface components comprise a plurality of interface components associated with the target region.
Optionally, the method further includes:
configuring a component function switch according to the basic information;
the component function switch is used for limiting whether a component corresponding to the component function switch is used in the target area.
An aspect of an embodiment of the present application further provides a system for dynamically configuring an interface layout, which is applied to a server, and includes:
the acquisition module is used for acquiring basic information uploaded by a plurality of sample client terminals in a target area;
the generating module is used for generating a user portrait of the target area according to the basic information;
an adjustment module for adjusting an interface configuration file based on the user representation, the interface configuration file being for configuring a target interface layout of a target program; and
a sending module, configured to send the adjusted interface configuration file to a target client terminal associated with the target area, so that the target client terminal: and configuring the target interface layout according to the adjusted interface configuration file.
An aspect of the embodiments of the present application further provides a method for dynamically configuring an interface layout, where the method is used for a server, and the method includes:
acquiring basic information uploaded by a target user through a target client terminal;
inputting the basic information into a trained user portrait model to generate a user portrait of the target user;
adjusting an interface configuration file based on the user portrait, the interface configuration file being used for configuring a target interface layout of a target program; and
sending the adjusted interface configuration file to the target client terminal so that the target client terminal: and configuring the target interface layout according to the adjusted interface configuration file.
An aspect of an embodiment of the present application further provides a method for generating an interface layout, which is used for a client terminal, and the method includes:
transmitting location information of a client terminal to a server to cause the server to: returning a target configuration file according to the position information; the target configuration file is obtained by the server according to user portrait of the region to which the client terminal belongs, and the interface configuration file is used for configuring target interface layout of a target program; and
and acquiring the target configuration file, and generating a target interface layout of the target program according to the target configuration file.
Optionally, the generating a target interface layout of the target program according to the target configuration file includes:
analyzing the target configuration file to obtain a target interface layout rule and a plurality of interface components; and
and adding the plurality of interface components into a preset root layout according to the target interface layout rule to generate a target interface layout.
Optionally, the target configuration file includes interface layout rule data corresponding to the interface layout rule and component configuration data corresponding to the plurality of interface components; analyzing the target configuration file to obtain a target interface layout rule and a plurality of interface components, wherein the steps comprise:
acquiring interface layout rule data and component configuration data from the target configuration file;
acquiring the interface layout rule according to the interface layout rule data; and
and analyzing the component configuration data through one or more preset component adapters to obtain the plurality of interface components.
An aspect of an embodiment of the present application further provides a system for generating an interface layout, which is used for a client terminal, and includes:
a sending module, configured to send location information of a client terminal to a server, so that the server: returning a target configuration file according to the position information; the target configuration file is obtained by the server according to user portrait of the region to which the client terminal belongs, and the interface configuration file is used for configuring target interface layout of a target program; and
and the acquisition module is used for acquiring the target configuration file and generating the target interface layout of the target program according to the target configuration file.
An aspect of an embodiment of the present application further provides a method for generating an interface layout, which is used for a client terminal, and the method includes:
sending the basic information of the target user to a server to enable the server to: returning a target configuration file according to the basic information; the target configuration file is obtained by adjusting the user portrait obtained by the server based on the basic information, and the interface configuration file is used for configuring the target interface layout of a target program; and
and acquiring the target configuration file, and generating a target interface layout of the target program according to the target configuration file.
An aspect of the embodiments of the present application further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the steps of the dynamic configuration method of the interface layout.
An aspect of the embodiments of the present application further provides a computer-readable storage medium, in which a computer program is stored, the computer program being executable by at least one processor to cause the at least one processor to perform the steps of the method for dynamically configuring an interface layout as described above.
According to the dynamic configuration method, the system, the equipment and the computer readable storage medium for the interface layout, the area basic information of each area is collected, the portrait is drawn for each area to determine the area characteristics of each area, the interface layout of each area application program user is configured according to the area characteristics, so that the interface layout accords with the corresponding area characteristics, the interface layout flexibility and the user stickiness of the target program are improved, and the workload of target program development is reduced.
Drawings
FIG. 1 schematically illustrates an environmental application diagram according to an embodiment of the present application;
FIG. 2 is a flow chart of a method for dynamically configuring an interface layout according to a first embodiment of the present application;
fig. 3 schematically shows a detailed flowchart of step S204 in fig. 2;
fig. 4 schematically shows a detailed flowchart of step S300 in fig. 3;
fig. 5 schematically shows a detailed flowchart of step S300 in fig. 3;
FIG. 6 is a flow chart of a method for dynamically configuring an interface layout according to an embodiment I of the present application;
FIG. 7 schematically shows a flow chart of a method of generating an interface layout according to a second embodiment of the present application;
fig. 8 schematically shows a detailed flowchart of step S702 in fig. 7;
fig. 9 schematically shows a detailed flowchart of step S800 in fig. 8;
fig. 10 schematically shows a detailed flowchart of step S904 in fig. 9;
FIG. 11 is a flow chart that schematically illustrates parsing of the target interface layout rules and the plurality of interface components, in accordance with a second embodiment of the present application;
FIG. 12 schematically illustrates a flow chart of a method for dynamic configuration of an interface layout according to a third embodiment of the present application;
fig. 13 schematically shows a detailed flowchart of step S1204 in fig. 12;
fig. 14 schematically shows a detailed flowchart of step S1300 in fig. 13;
fig. 15 schematically shows a detailed flowchart of step S1300 in fig. 13;
FIG. 16 schematically illustrates another flow chart of a method of dynamic configuration of an interface layout according to a third embodiment of the present application;
FIG. 17 schematically illustrates a flow chart of a method of generating an interface layout according to a fourth embodiment of the present application;
fig. 18 schematically shows a detailed flowchart of step S1702 in fig. 17;
fig. 19 schematically shows a detailed flowchart of step S1800 in fig. 18;
fig. 20 schematically shows a detailed flowchart of step S1904 in fig. 19;
FIG. 21 is a flow diagram that schematically illustrates parsing of the target interface layout rules and the plurality of interface components, in accordance with a fourth embodiment of the present application;
FIG. 22 schematically illustrates a block diagram of a system for dynamic configuration of an interface layout according to an embodiment of the present application;
FIG. 23 schematically shows a block diagram of a system for generating an interface layout according to a sixth embodiment of the present application;
FIG. 24 is a block diagram that schematically illustrates a system for dynamic configuration of an interface layout, in accordance with an embodiment of the present application;
FIG. 25 schematically illustrates a block diagram of a system that generates an interface layout according to an eighth embodiment of the present application;
fig. 26 is a schematic hardware architecture diagram of a computer device suitable for implementing a dynamic configuration method of an interface layout according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the descriptions in this application referring to "first", "second", etc. are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present application.
In the description of the present application, it should be understood that the numerical references before the steps do not identify the order of performing the steps, but merely serve to facilitate the description of the present application and to distinguish each step, and therefore should not be construed as limiting the present application.
The applicant has appreciated that the interface layout of an application greatly influences the user experience of the application. Due to differences in policy and regulations in various regions of the world, and differences in social software used by users in various regions of the world; the user experience of different regions can also be different for the same application interface layout. For example, for the configuration of the login interface of application a: users in some regions are accustomed to using WeChat login, users in some regions are accustomed to using Gmail login, users in some regions are accustomed to using Facebook login, and users in other regions are not accustomed to the three login modes, so that the configuration of a login interface which can adapt to different crowds in all regions of the world is particularly important. However, the applicant has found that the existing practice includes: 1. configuring a login interface to face all users, which is easy to lose a large number of players who are not used to the login interface; 2. configuring different login interfaces according to players in different regions can lead to huge application development workload.
Accordingly, the present application is directed to one or more embodiments to solve the various problems set forth above.
In the embodiments, the region basic information of each region is collected, the region characteristics of each region are determined by portraying each region, and the interface layout rule of the application program user of each region is configured according to the region characteristics, so that the interface layout rule accords with the use preference of the user of the corresponding region, the viscosity of the application program user is improved, and the workload of application program development is reduced.
The following is an explanation of some terms involved in the present application:
dynamic configuration: and aiming at the interface configuration file issued by the server, after the client terminal completes the analysis of the configuration file, rendering a correct layout interface on a screen according to the rules of the configuration file.
FIG. 1 schematically illustrates an environment diagram of a method for dynamic configuration of an interface layout according to the present application. The environment schematic includes a server 20 and a client terminal 40.
The server 20 is used to provide interface configuration services for the target program.
The server 20 is configured to receive the basic information uploaded by the client terminal 40, and configure the interface configuration file of the target program according to the basic information. The server 20 is configured to send the interface configuration file to the client terminal 40 to instruct the client terminal 40 to configure the target interface layout of the target program according to the interface configuration file.
Server 20, may be comprised of a single or multiple computing devices. The single or multiple computing devices may include virtualized compute instances. The virtualized computing instance may include a virtual machine, such as an emulation of a computer system, an operating system, a server, and so forth. The computing device may load the virtual machine based on a virtual image and/or other data that defines the particular software (e.g., operating system, dedicated application, server) used for emulation. As the demand for different types of processing services changes, different virtual machines may be loaded and/or terminated on one or more computing devices. A hypervisor may be implemented to manage the use of different virtual machines on the same computing device.
The client terminal 40 may be used to install and run the object program.
The client terminal 40 may be used to obtain basic information of the user and upload the basic information to the server 20. The basic information may include: region basic information (e.g., country name, city name, region name, longitude and latitude information, etc.) of the target region, user basic information (e.g., age, gender, etc.) of the user, user behavior information (e.g., commodity browsing, purchase record, online time, number of login mode selections, type of login mode, number of payment mode selections, interface access path information, etc.) of the user, and other basic information (e.g., mobile device model, size, upload speed, download speed, delay, etc.). The client terminal 40 may also generate a target interface layout for the target program from the interface configuration file returned by the server 20. The client terminal 40 may be a computer device such as a mobile phone, a tablet personal computer (tablet personal computer), a laptop computer (laptop computer), a workstation (work station), or the like.
The client terminal 40 may establish a network connection with the server 20 through the network 60. Network 60 includes various network devices such as routers, switches, multiplexers, hubs, modems, bridges, repeaters, firewalls, proxy devices, and/or the like. Network 60 may include physical links such as coaxial cable links, twisted pair cable links, fiber optic links, combinations thereof, and the like. The network 60 may include wireless links such as cellular links, satellite links, Wi-Fi links, and the like.
The following describes a dynamic configuration scheme of an interface layout provided by the embodiments of the present application through several embodiments.
Example one
The present embodiment may be implemented in the server 20.
Fig. 2 schematically shows a flowchart of a method for dynamically configuring an interface layout according to a first embodiment of the present application. As shown in fig. 2, the method for dynamically configuring the interface layout may include steps S200 to S206, wherein:
and step S200, acquiring basic information uploaded by a plurality of sample client terminals in the target area.
In an exemplary embodiment, the plurality of sample client terminals may be client terminals 40 and/or other client terminals.
The basic information comprises region basic information of a target region, user basic information of a sample user, user behavior information of the sample user and other basic information, wherein:
the region basic information may be geographical location information (e.g., country name, city name, region name, longitude and latitude information, etc.) of the target region;
the user basic information may be user personal basic information (e.g., age, gender, etc.);
the user behavior information can be behavior information of the user (such as commodity browsing, purchase records, online time, login mode selection times, login mode types, payment mode selection times, interface access path information and the like);
the other basic information may be device information (e.g., mobile device model, size) and network information (e.g., upload speed, download speed, latency, etc.).
Taking the client terminal 40 as an example, it may report the basic information it acquires to the server 20 in the form of a data log.
Step S202, generating a user portrait of the target area according to the basic information.
Upon receiving the base information uploaded by the plurality of sample client terminals, server 20 may input the base information into a trained user profile model to generate a user profile of the target region. The trained user portrait model may perform multi-dimensional classification on the target region based on the basic information, and configure at least one tag for the target region according to a multi-dimensional classification result to obtain a user portrait of the target region. For example, a user age area tag and a gender ratio tag of the target area may be determined based on the user basic information of the target area, a login tag, a payment tag, and an interface access tag of the target area may be determined based on the user behavior information of the target area, a user common device tag of the target area may be determined based on other basic information of the target area, and the like.
Server 20 may perform data analysis and storage by: (1) data analysis was performed by an analysis and visualization platform (e.g., Kibana). It should be noted that Kibana can be used for various operations such as efficient search, visualization, analysis, and the like of data. (2) The underlying information may be stored by various databases, such as: MySQL, which is a database for large-scale data management, can not only reduce the cost for enterprises, but also has good performance and fast query speed.
The basic information can be used for analyzing the preference, behavior habit and the like of the users in the target area. Server 20 may perform data grooming on the base information to determine preferences, behavior habits, etc. of users in the target region, and construct a user profile for the target region based on the preferences, behavior habits, etc. of users in the target region. The data arrangement comprises data extraction, conversion and loading of basic information through a data warehouse tool; the data warehouse tool may be a Hive in a data warehouse platform (e.g., Apache Hive). The Hive is a data warehouse tool based on Hadoop, wherein the Hadoop is a distributed system infrastructure, can be used for developing distributed programs under the condition that distributed bottom-layer details are not known, and has the advantages of high-speed operation and storage.
Step S204, an interface configuration file is adjusted based on the user portrait, and the interface configuration file is used for configuring the target interface layout of a target program.
The user representation represents common features/labels of users of the target region. The applicant finds that the software used by users in the same region is basically the same as the software used by users in the same region. Therefore, the user portrait can be collectively constructed for users in the same region to obtain common characteristics/labels of the users in the target region, for example, the interface configuration file is adjusted according to the common characteristics/labels, so that the target interface layout conforming to the characteristics of the target region is configured, and the flexibility of configuring the target interface layout is improved.
The interface configuration file may include interface layout rules, the number and types of interface components, and the like.
By way of example, the interface profile includes interface layout rules, and the user representation includes a plurality of locale tags associated with the target locale. As shown in fig. 3, the step S204 may further include a step S300 of adjusting the interface layout rule according to the plurality of region labels. According to the method and the device, the interface layout rule is adjusted through the area tag, the flexibility of the interface layout is improved, the development workload of the interface layout of the target program is reduced, and the use obstacle of the user is reduced, so that the use rate of the target program and the use viscosity of the target program used by the user are effectively improved.
The plurality of region labels may include a plurality of sample users of the target region as a whole, such as usage preferences and usage habits. For example, the application interface of the target program simultaneously comprises a first interface template, a second interface template and a third interface template; if most users of the target locale are accustomed to using the second interface template, the interface template tag associated with the target locale can be the second interface template tag.
The interface layout rule may be used to instruct the client terminal 40 to generate a corresponding interface layout. For example:
(1) when the interface template tag associated with the target region is the first interface template tag, the interface layout rule may be adjusted to: the plate area of the first interface template is larger than that of the second interface template;
(2) when the interface template tag associated with the target region is a second interface template tag, the interface layout rule may be adjusted to: the plate area of the second interface template is larger than that of the first interface template.
As an example, the present embodiment further provides two examples of adjusting the interface layout rules, which are specifically as follows:
firstly, the method comprises the following steps: the plurality of area tags comprise login tags corresponding to login modes, and the interface layout rules comprise login interface layout rules; as shown in fig. 4, the step S300 may further include a step S400 of adjusting the login interface layout rule according to the login tag, where the login interface layout rule is used to define a login interface layout style of a plurality of login interface components, where the plurality of login interface components include a plurality of interface components associated with the target region. For example, the plurality of login interface components include a Gmail login component, a Facebook login component, a WeChat login component; the layout rule of the original login interface (namely, the layout style of the login interface before adjustment: the layout sequence of each login component on the login interface) is 1, Gmail login components, 2, Facebook login components, 3 and WeChat login components; when the login tag is a WeChat tag, the layout rule of the login interface can be adjusted to 1, and a WeChat login component is used; 2. gmail login component, 3 Facebook login component. According to the embodiment, the layout rule of the login interface is adjusted through the login tag, so that the use barrier of the user is reduced, and the use rate of the target program and the use viscosity of the target program used by the user are improved.
Secondly, the method comprises the following steps: the plurality of region tags comprise payment tags corresponding to payment modes, and the interface layout rule comprises a payment surface layout rule; as shown in fig. 5, the step S300 may further include a step S500 of adjusting the payment interface layout rule according to the payment tag, where the payment interface layout rule is used to define a payment interface layout style of a plurality of payment interface components, and the plurality of payment interface components include a plurality of interface components associated with the target region. For example, the plurality of payment interface components include a bank card payment component, a payment treasure payment component, a WeChat payment component; the original payment interface layout rule (namely, the layout style of the payment interface before adjustment: the layout sequence of each payment component on the payment interface) is 1, bank card payment components, 2, payment component, 3, WeChat payment components; when the payment tag is a WeChat tag, the payment interface layout rule can be adjusted to 1, a WeChat payment component; 2. bank card payment subassembly, 3, precious payment subassembly of payment. According to the method and the device, the payment interface layout rule is adjusted through the payment tag, the user use barrier is reduced, and therefore the use rate of the target program and the use viscosity of the user using the target program are improved.
As an example, as shown in fig. 6, the method for dynamically configuring an interface layout may further include step S600, configuring a component function switch according to the basic information; the component function switch is used for limiting whether a component corresponding to the component function switch is used in the target area. Since each region where the target program is issued may have different policy and regulation and user usage habits, some component functions may have a problem of usage legitimacy in some regions. Therefore, in the present embodiment, by analyzing the basic information and configuring the component function switches for each component, when a certain component is illegal in the target area, the server 20 may turn off the component function through the component function switch and hide the component. By configuring the component function switch, the embodiment can uniformly maintain the target programs of all regions during later program maintenance, thereby improving the maintenance efficiency; and the component function switch is used for closing the component functions of the illegal components, so that the obstruction of the target program is reduced, and the issuing efficiency of the target program is improved.
Step S206, sending the adjusted interface configuration file to a target client terminal associated with the target area, so that the target client terminal: and configuring the target interface layout according to the adjusted interface configuration file.
The adjusted interface configuration file comprises adjusted interface layout rules, a plurality of interface components and the like. The target client terminal may be any one of the plurality of sample client terminals, or other client terminals, for example: a client terminal registered in the target area or a client terminal associated with the address of the target area.
The target client terminal can configure the target interface layout according to the adjusted interface configuration file so as to adjust the display interface.
According to the dynamic configuration method for the interface layout, the area basic information of each area is collected, the user portrait is drawn for each area to determine the area characteristics of each area, the interface layout of the application program user of each area is configured according to the area characteristics, the interface layout is enabled to accord with the corresponding area characteristics, the interface layout flexibility and the user stickiness of the application program are improved, and the workload of application program development is reduced.
Example two
The present embodiment may be implemented in the client terminal 40.
Fig. 7 schematically shows a flowchart of a method of generating an interface layout according to the second embodiment of the present application.
As shown in fig. 7, the method for generating an interface layout may include steps S700 to S702, wherein:
step S700 of transmitting the location information of the client terminal to a server to cause the server to: returning a target configuration file according to the position information; the target configuration file is obtained by the server according to the user portrait of the region to which the client terminal belongs, and the interface configuration file is used for configuring the target interface layout of the target program.
When the client terminal 40 starts or uses the target program, the client terminal 40 may send the current location information to the server 20, where the location information may be a country name, a city name, a region name, a longitude and latitude, and the like.
After the server 20 receives the location information, the server 20 may match a target configuration file corresponding to an area to which the client terminal 40 belongs according to the location information, and return the returned target configuration file to the client terminal 40. The target configuration file may be a configuration file adjusted by the server 20 according to the user image of the area to which the client terminal 40 belongs, or may be a default configuration file configured in advance.
Step S702, obtaining the target configuration file, and generating the target interface layout of the target program according to the target configuration file.
According to the method for generating the interface layout, the server 20 can perform user portrait on the area to which the client terminal 40 belongs based on the position information sent by the client terminal, and adjust the target configuration file according to the user portrait, so that the target configuration file better conforms to the user characteristics of the area to which the client terminal 40 belongs, the client terminal 40 can configure the target interface layout corresponding to the area to which the client terminal belongs according to the target configuration file, the interface layout flexibility and the user stickiness of the target program are improved, and the interface layout development workload of the target program is reduced.
As an example, as shown in fig. 8, the step S702 may further include steps S800 to S802, where: step S800, analyzing the target configuration file to obtain a target interface layout rule and a plurality of interface components; and step S802, adding the plurality of interface components into a preset root layout according to the target interface layout rule to generate a target interface layout. According to the embodiment, the plurality of interface components can be added to the preset root layout according to the target interface layout rule so as to generate the target interface layout, and the flexibility and efficiency of the interface layout are improved.
By way of example, the target configuration file includes interface layout rule data corresponding to the interface layout rules and component configuration data corresponding to the plurality of interface components. As shown in fig. 9, the step S800 may further include a step S900 to a step S904, where: step S900, acquiring interface layout rule data and component configuration data from the target configuration file; step S902, obtaining the interface layout rule according to the interface layout rule data; and step S904, analyzing the component configuration data through one or more preset component adapters to obtain the plurality of interface components. In this embodiment, the interface layout rule data and the component configuration data may be json data, and the client terminal 40 may analyze all json data in the target configuration file through a model adapter (component adapter) to obtain the target interface layout rule and the plurality of interface components.
As an example, the present embodiment also provides an exemplary sub-step of step S904:
as shown in fig. 10, the step S904 may further include steps S1000 to S1008, where: step S1000, performing an ith matching operation: matching the corresponding ith component adapter with the configuration data of the ith-1 layer component; i is a positive integer, and when i is 1, the component configuration data of the i-1 th layer is the component configuration data; when i is greater than 1, the component configuration data of the i-1 st layer is the component configuration data obtained by analyzing the i-1 st analyzing operation; step S1002, performing an i-th parsing operation: analyzing the component configuration data through the ith component adapter to obtain an ith analysis result, wherein the ith analysis result comprises ith layer component configuration data and/or ith layer interface components; the component configuration data of the ith layer is the component configuration data obtained in the first analysis operation; step S1004, judging whether the ith analysis operation analyzes the ith layer component configuration data; step S1006, if the ith analysis operation analyzes the ith layer component configuration data, continuing to execute the (i + 1) th configuration operation and the (i + 1) th analysis operation; step S1008, if the ith parsing operation does not parse the ith layer component configuration data, the (i + 1) th configuration operation and the (i + 1) th parsing operation are not performed. In this embodiment, i times of matching operation and i times of parsing operation are performed in a recursive manner to traverse all json data in the target configuration file to obtain the target interface layout rule and the plurality of interface components, and the plurality of interface components are placed in a root layout according to the target interface layout rule, so as to form the target layout interface. According to the method and the device, the target interface layout rule is obtained through analysis, so that the interface layout rule accords with the characteristics of the corresponding region, the layout rationality of a plurality of interface components in the corresponding region is improved, and the viscosity of the target program to the user is improved.
For convenience of understanding, as shown in fig. 11, the present embodiment further provides a parsing flowchart of the target interface layout rule and the plurality of interface components. The analyzing step in the analyzing flowchart may include steps S1101 to S1110, where:
step S1101, starting a target program;
step S1102 of detecting a program ID and a program issuance area of a target program, and determining whether the target program exists based on the program ID and the program issuance area;
step S1103, when the target program does not exist, the running of the target program is terminated;
step S1104, when the target program exists, acquiring an interface configuration file of the target program, wherein the interface configuration file is obtained by the server according to the user portrait of the region to which the client terminal for starting the target program belongs;
step S1105, obtaining one or more preset component adapters;
step S1106, traversing all configuration data in the target configuration file through one or more preset component adapters to obtain an interface layout rule and a plurality of interface components;
step S1107, determine whether the component configuration data exists;
step S1108, when the component configuration data exists, configuring a corresponding component adapter for the component configuration data, and analyzing the component configuration data through the component adapter;
step S1109, adding the parsed component to the root layout; and
step S1110, if the component configuration data does not exist, configuring a target interface layout according to the interface layout rule and the plurality of interface components to adjust the display interface.
EXAMPLE III
The present embodiment may be implemented in the server 20.
Fig. 12 schematically shows a flowchart of a method for dynamically configuring an interface layout according to a third embodiment of the present application. As shown in fig. 12, the method for dynamically configuring an interface layout may include steps S1200 to S1206, where:
and step S1200, acquiring basic information uploaded by the target user through the target client terminal.
The target client terminal may be the client terminal 40.
The basic information can be user basic information, user behavior information and other basic information of the target user, wherein:
the user basic information may be user personal basic information (e.g., age, gender, etc.);
the user behavior information can be behavior information of the user (such as commodity browsing, purchase records, online time, login mode selection times, login mode types, payment mode selection times, interface access path information and the like);
the other basic information may be device information (e.g., mobile device model, size), network information (e.g., upload speed, download speed, delay, etc.), and geographic location information (e.g., country name, city name, area name, longitude and latitude information, etc.).
Taking the client terminal 40 as an example, it may report the basic information it acquires to the server 20 in the form of a data log.
Step S1202, inputting the basic information into a trained user portrait model to generate a user portrait of the target user.
The trained user portrait model can perform multi-dimensional user classification on the target user based on the basic information, and at least one user label is configured for the target user according to a multi-dimensional user classification result to obtain the user portrait of the target user. For example, an age tag and a gender tag of the target user may be determined based on the user basic information, a login tag, a payment tag and an interface access tag of the target user may be determined based on the user behavior information, and a common device tag and a geographical location tag of the target user may be determined based on the other basic information.
Step S1204, adjust the interface configuration file on the basis of the said user portrait, the said interface configuration file is used for disposing the goal interface layout of the object program.
The user representation may include software that the target user is accustomed to using, and usage habits of the same software. The applicant finds that users with the same habit often have similar requirements on the interface layout of the same program. Therefore, the target user is configured by configuring the user portrait and adjusting the interface configuration file according to the user portrait so as to configure the target interface layout which accords with the characteristics/labels of the target user, so that the target interface layout is more intelligent, and the flexibility of configuring the target interface layout is improved.
The interface configuration file may include interface layout rules, the number and types of interface components, and the like.
As an example, the interface profile includes interface layout rules, the user representation includes a plurality of user tags associated with the target user; as shown in fig. 13, the step S1204 may further include a step S1300 of adjusting the interface layout rule according to the plurality of user tags. According to the method and the device, the interface layout rule is adjusted through the user tag, the flexibility of the interface layout is improved, the development workload of the interface layout of the target program is reduced, the use obstacle of the user is reduced, and therefore the use rate of the target program and the use viscosity of the user on the target program are effectively improved.
The plurality of user tags may include usage preferences, usage habits, and the like of the target user. For example, the application interface of the target program simultaneously comprises a first interface template, a second interface template and a third interface template; if the target user is accustomed to using the second interface template, the interface template tag of the target user may be a second interface template tag.
The interface layout rule may be used to instruct the client terminal 40 to generate a corresponding interface layout. For example:
(1) when the interface template tag of the target user is the first interface template tag, the interface layout rule may be adjusted to: the plate area of the first interface template is larger than that of the second interface template;
(2) when the interface template tag of the target user is a second interface template tag, the interface layout rule may be adjusted to: the plate area of the second interface template is larger than that of the first interface template.
As an example, the present embodiment further provides two examples of adjusting the interface layout rules, which are specifically as follows:
firstly, the method comprises the following steps: the user tags comprise login tags corresponding to login modes, and the interface layout rules comprise login interface layout rules; as shown in fig. 14, the step S1300 may further include a step S1400, adjusting the login interface layout rule according to the login tag, where the login interface layout rule is used to define a layout style of a plurality of login interface components in the login interface. For example, the plurality of login interface components include a Gmail login component, a Facebook login component, a WeChat login component; the layout rule of the original login interface (namely, the layout style of the login interface before adjustment: the layout sequence of each login component on the login interface) is 1, Gmail login components, 2, Facebook login components, 3 and WeChat login components; when the login tag is a WeChat tag, the layout rule of the login interface can be adjusted to 1, and a WeChat login component is used; 2. gmail login component, 3 Facebook login component. According to the embodiment, the layout rule of the login interface is adjusted through the login tag, so that the use barrier of the user is reduced, and the use rate of the target program and the use viscosity of the user on the target program are improved.
Secondly, the method comprises the following steps: the plurality of user tags comprise payment tags corresponding to payment modes, and the interface layout rule comprises a payment surface layout rule; as shown in fig. 5, the step S1300 may further include a step S1500 of adjusting the payment interface layout rule according to the payment tag, where the payment interface layout rule is used to define a layout style of a plurality of payment interface components on a payment interface. For example, the plurality of payment interface components include a bank card payment component, a payment treasure payment component, a WeChat payment component; the original payment interface layout rule (namely, the layout style of the payment interface before adjustment: the layout sequence of each payment component on the payment interface) is 1, bank card payment components, 2, payment component, 3, WeChat payment components; when the payment tag is a WeChat tag, the payment interface layout rule can be adjusted to 1, a WeChat payment component; 2. bank card payment subassembly, 3, precious payment subassembly of payment. According to the method and the device, the payment interface layout rule is adjusted through the payment tag, so that the user use barrier is reduced, and the use rate of the target program and the use viscosity of the user to the target program are improved.
As an example, the user tag further comprises a region tag for indicating a region in which the target user is located; the dynamic configuration method of the interface layout further comprises a step S1600 of configuring a component function switch according to the region label; the component function switch is used for limiting whether a component corresponding to the component function switch is used in the region where the target user is located. Since each region where the target program is issued may have different policy and regulation and user usage habits, some component functions may have a problem of usage legitimacy in some regions. Therefore, in the present embodiment, by analyzing the basic information and configuring the component function switches for each component, when a certain component is illegal in the target area, the server 20 may turn off the component function through the component function switch and hide the component. By configuring the component function switch, the embodiment can uniformly maintain the target programs of all regions during later program maintenance, thereby improving the maintenance efficiency; and the component function switch is used for closing the component functions of the illegal components, so that the obstruction of the target program is reduced, and the issuing efficiency of the target program is improved.
Step S1206, sending the adjusted interface configuration file to the target client terminal, so that the target client terminal: and configuring the target interface layout according to the adjusted interface configuration file.
The adjusted interface configuration file may include adjusted interface layout rules, a plurality of interface components, and the like. The target client terminal may configure the target interface layout according to the adjusted interface configuration file to adjust the display interface of the client terminal 40.
According to the dynamic configuration method for the interface layout, the basic information of the target user is collected, the user portrait is taken for the target user, the use/habit characteristics of the target user are determined, the interface layout of the target user is configured according to the use/habit characteristics of the target user, the interface layout is enabled to accord with the use/habit characteristics of the target user, the interface layout flexibility and the user stickiness of an application program are improved, and the workload of development of the target program is reduced.
Example four
The present embodiment may be implemented in the client terminal 40.
Fig. 17 schematically shows a flowchart of a method of generating an interface layout according to a fourth embodiment of the present application.
As shown in fig. 17, the method for generating an interface layout may include steps S1700 to S1702, where:
step S1700, sending the basic information of the target user to a server, so that the server: returning a target configuration file according to the basic information; and the target configuration file is obtained by adjusting the user portrait obtained by the server based on the basic information, and the interface configuration file is used for configuring the target interface layout of the target program.
When the client terminal 40 starts or uses the target program, the client terminal 40 may transmit basic information of the target user to the server 20. The basic information can be user basic information, user behavior information and other basic information of the target user, wherein:
the user basic information may be user personal basic information (e.g., age, gender, etc.);
the user behavior information can be behavior information of the user (such as commodity browsing, purchase records, online time, login mode selection times, login mode types, payment mode selection times, interface access path information and the like);
the other basic information may be device information (e.g., mobile device model, size), network information (e.g., upload speed, download speed, delay, etc.), and geographic location information (e.g., country name, city name, area name, longitude and latitude information, etc.).
After the server 20 receives the basic information, the server 20 may match the target configuration file corresponding to the client terminal 40 according to the basic information, and return the target configuration file to the client terminal 40. The target configuration file may be a configuration file adjusted by the server 20 according to the user image of the target user, or may be a default configuration file configured in advance.
Step S1702, obtaining the target configuration file, and generating a target interface layout of the target program according to the target configuration file.
The client terminal 40 may configure the target interface layout to adjust the display interface according to the target interface configuration file.
The method for generating the interface layout provided by the embodiment of the application can enable the server 20 to perform user portrait on the target user based on the basic information of the target user; the server 20 may also adjust the target configuration file based on the user profile so that the target configuration file better conforms to the characteristics of the target user; after the client terminal 40 obtains the target configuration file, the target interface layout corresponding to the target user can be configured according to the target configuration file, so that personalized configuration of the target interface layout is realized, the interface layout flexibility and user stickiness of the target program are improved, and the development workload of the interface layout of the target program is reduced.
As an example, as shown in fig. 18, the step S1702 may further include steps S1800 to S1802, wherein: step S1800, analyzing the target configuration file to obtain a target interface layout rule and a plurality of interface components; step S1802, add the plurality of interface components to a preset root layout according to the target interface layout rule, and generate a target interface layout. According to the embodiment, the plurality of interface components can be added to the preset root layout according to the target interface layout rule so as to generate the target interface layout, and the flexibility and efficiency of the interface layout are improved.
By way of example, the target configuration file includes interface layout rule data corresponding to the interface layout rules and component configuration data corresponding to the plurality of interface components. As shown in fig. 19, the step S1800 may further include steps S1900 to S1904, wherein: step S1900, obtaining interface layout rule data and component configuration data from the target configuration file; step S1902, obtaining the interface layout rule according to the interface layout rule data; and step S1904, parsing the component configuration data through one or more preset component adapters to obtain the plurality of interface components. The interface layout rule data and the component configuration data may be json data, and the server 20 may analyze all the json data in the target configuration file through a model adapter (component adapter) to obtain the target interface layout rule and the plurality of interface components.
As an example, the present embodiment also provides an exemplary sub-step of step S904:
as shown in fig. 20, the step S1904 may further include steps S2000 to S2008, where: step S2000, performing an ith matching operation: matching the corresponding ith component adapter with the configuration data of the ith-1 layer component; i is a positive integer, and when i is 1, the component configuration data of the i-1 th layer is the component configuration data; when i is greater than 1, the component configuration data of the i-1 st layer is the component configuration data obtained by analyzing the i-1 st analyzing operation; step S2002, performing the ith parsing operation: analyzing the component configuration data through the ith component adapter to obtain an ith analysis result, wherein the ith analysis result comprises ith layer component configuration data and/or ith layer interface components; the component configuration data of the ith layer is the component configuration data obtained in the first analysis operation; step S2004, judging whether the ith analysis operation analyzes the ith layer component configuration data; step 2006, if the ith analysis operation analyzes the ith layer component configuration data, continuing to execute the (i + 1) th configuration operation and the (i + 1) th analysis operation; in step S2008, if the ith parsing operation does not parse the ith layer component configuration data, the (i + 1) th configuration operation and the (i + 1) th parsing operation are not executed. In this embodiment, i times of matching operation and i times of parsing operation are performed in a recursive manner to traverse all json data in the target configuration file to obtain the target interface layout rule and the plurality of interface components, and the plurality of interface components are placed in a root layout according to the target interface layout rule, so as to form the target layout interface. According to the method and the device, the target interface layout rule is obtained through analysis, so that the interface layout rule accords with the characteristics of the target user, the personalized layout of a plurality of interface components is improved, and the viscosity of the target program to the user is improved.
For convenience of understanding, as shown in fig. 21, the present embodiment further provides a parsing flowchart of the target interface layout rule and the plurality of interface components. The analyzing step in the analyzing flowchart may include steps S2101 to S2110, where:
step S2101, start the goal procedure;
step S2102 of detecting a program ID and a program issuance area of the target program, and determining whether or not the target program exists based on the program ID and the program issuance area;
step S2103, when the target program does not exist, the running of the target program is stopped;
step S2104, when the target program exists, an interface configuration file of the target program is obtained, and the interface configuration file is obtained by the server according to the user portrait of a target user starting the target program;
step S2105, acquiring one or more preset component adapters;
step S2106, traversing all configuration data in the target configuration file through one or more preset component adapters to obtain an interface layout rule and a plurality of interface components;
step S2107, determining whether the component configuration data exists;
step S2108, when the component configuration data exists, configuring a corresponding component adapter for the component configuration data, and analyzing the component configuration data through the component adapter;
step S2109, adding the parsed component to a root layout; and
step S2110, when the component configuration data does not exist, configuring a target interface layout according to the interface layout rules and the plurality of interface components so as to adjust the display interface.
EXAMPLE five
Fig. 22 is a block diagram schematically illustrating a system for dynamically configuring an interface layout, which may be divided into one or more program modules, stored in a storage medium and executed by one or more processors to implement an embodiment of the present application, according to an embodiment of the present application. The program modules referred to in the embodiments of the present application refer to a series of computer program instruction segments capable of performing specific functions, and the following description will specifically describe the functions of each program module in the embodiments.
As shown in fig. 22, the dynamic configuration system 20000 for interface layout may include an obtaining module 20010, a generating module 20020, an adjusting module 20030 and a sending module 20040, wherein:
the obtaining module 20010 is configured to obtain basic information uploaded by a plurality of sample client terminals in a target area.
A generating module 20020, configured to generate a user representation of the target area according to the basic information.
An adjusting module 20030, configured to adjust an interface configuration file based on the user representation, where the interface configuration file is used to configure a target interface layout of a target program.
A sending module 20040, configured to send the adjusted interface configuration file to a target client terminal associated with the target area, so that the target client terminal: and configuring the target interface layout according to the adjusted interface configuration file.
In an exemplary embodiment, the interface profile includes interface layout rules, the user representation includes a plurality of zone tags associated with the target zone; the adjusting module 20030 is further configured to adjust the interface layout rule according to the plurality of area labels.
In an exemplary embodiment, the plurality of zone tags include a login tag corresponding to a login manner, and the interface layout rule includes a login interface layout rule; the adjusting module 20030 is further configured to adjust the login interface layout rule according to the login tag, where the login interface layout rule is used to define a layout style of a plurality of login interface components in a login interface, and the plurality of login interface components include a plurality of interface components associated with the target region.
In an exemplary embodiment, the plurality of zone tags includes a payment tag corresponding to a payment method, and the interface layout rules include payment surface layout rules; the adjusting module 20030 is further configured to adjust the payment interface layout rule according to the payment label, where the payment interface layout rule is used to define a layout style of a plurality of payment interface components in a payment interface, and the plurality of payment interface components include a plurality of interface components associated with the target region.
In an exemplary embodiment, the dynamic configuration system 20000 for interface layout may include a configuration module (not identified) for: configuring a component function switch according to the basic information; the component function switch is used for limiting whether a component corresponding to the component function switch is used in the target area.
EXAMPLE six
Fig. 23 schematically illustrates a block diagram of a system for generating an interface layout, which may be divided into one or more program modules according to a sixth embodiment of the present application, the one or more program modules being stored in a storage medium and executed by one or more processors to complete the embodiments of the present application. The program modules referred to in the embodiments of the present application refer to a series of computer program instruction segments capable of performing specific functions, and the following description will specifically describe the functions of each program module in the embodiments.
As shown in fig. 23, the system 30000 for generating an interface layout may include a sending module 30010 and a generating module 30020, wherein:
a sending module 30010, configured to send location information of the client terminal to the server, so that the server: returning a target configuration file according to the position information; the target configuration file is obtained by the server according to the user portrait of the region to which the client terminal belongs, and the interface configuration file is used for configuring the target interface layout of the target program.
A generating module 30020, configured to obtain the target configuration file, and generate a target interface layout of the target program according to the target configuration file.
In an exemplary embodiment, the generating module 30020 is further configured to parse the target configuration file to obtain a target interface layout rule and a plurality of interface components; and adding the plurality of interface components into a preset root layout according to the target interface layout rule to generate a target interface layout.
In an exemplary embodiment, the target configuration file includes interface layout rule data corresponding to the interface layout rules and component configuration data corresponding to the plurality of interface components; the generating module 30020 is further configured to obtain interface layout rule data and component configuration data from the target configuration file; acquiring the interface layout rule according to the interface layout rule data; and analyzing the component configuration data through one or more preset component adapters to obtain the plurality of interface components.
In an exemplary embodiment, the generating module 30020 is further configured to perform an i-th matching operation: matching the corresponding ith component adapter with the configuration data of the ith-1 layer component; i is a positive integer, and when i is 1, the component configuration data of the i-1 th layer is the component configuration data; when i is greater than 1, the component configuration data of the i-1 st layer is the component configuration data obtained by analyzing the i-1 st analyzing operation; and (5) executing the ith resolving operation: analyzing the component configuration data through the ith component adapter to obtain an ith analysis result, wherein the ith analysis result comprises ith layer component configuration data and/or ith layer interface components; the component configuration data of the ith layer is the component configuration data obtained in the first analysis operation; judging whether the ith analysis operation analyzes the ith layer component configuration data or not; if the ith analysis operation analyzes the ith layer component configuration data, continuing to execute the (i + 1) th configuration operation and the (i + 1) th analysis operation; and if the ith analysis operation does not analyze the ith layer component configuration data, not executing the (i + 1) th configuration operation and the (i + 1) th analysis operation.
EXAMPLE seven
Fig. 24 schematically illustrates a block diagram of a system for dynamically configuring an interface layout, which may be partitioned into one or more program modules, stored in a storage medium and executed by one or more processors to implement an embodiment of the present application, according to a seventh embodiment of the present application. The program modules referred to in the embodiments of the present application refer to a series of computer program instruction segments capable of performing specific functions, and the following description will specifically describe the functions of each program module in the embodiments.
As shown in fig. 24, the dynamic configuration system 40000 of the interface layout may include an acquisition module 40010, a generation module 40020, an adjustment module 40030, and a sending module 40040, wherein:
an obtaining module 40010, configured to obtain basic information uploaded by a target user through a target client terminal.
A generating module 40020 configured to input the base information into a trained user representation model to generate a user representation of the target user.
An adjusting module 40030, configured to adjust an interface configuration file based on the user representation, the interface configuration file being used to configure a target interface layout of a target program.
A sending module 40040, configured to send the adjusted interface configuration file to the target client terminal, so that the target client terminal: and configuring the target interface layout according to the adjusted interface configuration file.
In an exemplary embodiment, the interface profile includes interface layout rules, the user representation includes a plurality of user tags associated with the target user; the adjusting module 40030 is further configured to adjust the interface layout rule according to the plurality of user tags.
In an exemplary embodiment, the plurality of user tags includes a login tag corresponding to a login manner, and the interface layout rule includes a login interface layout rule; the adjusting module 40030 is further configured to adjust the login interface layout rule according to the login tag, where the login interface layout rule is used to define a layout style of a plurality of login interface components in the login interface.
In an exemplary embodiment, the plurality of user tags includes a payment tag corresponding to a payment method, and the interface layout rule includes a payment surface layout rule; the adjusting module 40030 is further configured to adjust the payment interface layout rule according to the payment tag, where the payment interface layout rule is used to define a layout style of a plurality of payment interface components on a payment interface.
In an exemplary embodiment, the user tag further comprises a region tag for indicating a region in which the target user is located; the dynamic configuration system 40000 of the interface layout may comprise a configuration module (not identified) to: configuring a component function switch according to the region label; the component function switch is used for limiting whether a component corresponding to the component function switch is used in the region where the target user is located.
Example eight
Fig. 25 schematically illustrates a block diagram of a system for generating an interface layout, which may be divided into one or more program modules according to an eighth embodiment of the present application, the one or more program modules being stored in a storage medium and executed by one or more processors to complete the embodiments of the present application. The program modules referred to in the embodiments of the present application refer to a series of computer program instruction segments capable of performing specific functions, and the following description will specifically describe the functions of each program module in the embodiments.
As shown in fig. 25, the system 50000 for generating an interface layout can include a sending module 50010 and a generating module 50020, wherein:
a sending module 50010, configured to send the basic information of the target user to the server, so that the server: returning a target configuration file according to the basic information; and the target configuration file is obtained by adjusting the user portrait obtained by the server based on the basic information, and the interface configuration file is used for configuring the target interface layout of the target program.
A generating module 50020, configured to obtain the target configuration file, and generate a target interface layout of the target program according to the target configuration file.
In an exemplary embodiment, the generating module 50020 is further configured to parse the target configuration file to obtain a target interface layout rule and a plurality of interface components; and adding the plurality of interface components into a preset root layout according to the target interface layout rule to generate a target interface layout.
In an exemplary embodiment, the target configuration file includes interface layout rule data corresponding to the interface layout rules and component configuration data corresponding to the plurality of interface components; the generating module 50020 is further configured to obtain interface layout rule data and component configuration data from the target configuration file; acquiring the interface layout rule according to the interface layout rule data; and analyzing the component configuration data through one or more preset component adapters to obtain the plurality of interface components.
In an exemplary embodiment, the generating module 50020 is further configured to perform an i-th matching operation: matching the corresponding ith component adapter with the configuration data of the ith-1 layer component; i is a positive integer, and when i is 1, the component configuration data of the i-1 th layer is the component configuration data; when i is greater than 1, the component configuration data of the i-1 st layer is the component configuration data obtained by analyzing the i-1 st analyzing operation; and (5) executing the ith resolving operation: analyzing the component configuration data through the ith component adapter to obtain an ith analysis result, wherein the ith analysis result comprises ith layer component configuration data and/or ith layer interface components; the component configuration data of the ith layer is the component configuration data obtained in the first analysis operation; judging whether the ith analysis operation analyzes the ith layer component configuration data or not; if the ith analysis operation analyzes the ith layer component configuration data, continuing to execute the (i + 1) th configuration operation and the (i + 1) th analysis operation; and if the ith analysis operation does not analyze the ith layer component configuration data, not executing the (i + 1) th configuration operation and the (i + 1) th analysis operation.
Example nine
Fig. 26 is a schematic hardware architecture diagram of a computer device suitable for implementing a dynamic configuration method of an interface layout according to an embodiment of the present application. In this implementation, the computer device 10000 may be part of the server 20 or the client terminal 40. In this embodiment, the computer device 10000 is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction. For example, it may be a mobile device, a tablet device, a laptop computer, a workstation, a virtual reality device, a gaming device, a set-top box, a digital streaming device, a vehicle terminal, a smart tv, a set-top box, an e-book reader, etc. As shown in fig. 26, computer device 10000 includes at least, but is not limited to: the memory 10010, processor 10020, and network interface 10030 may be communicatively linked to each other via a system bus. Wherein:
the memory 10010 includes at least one type of computer-readable storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the storage 10010 may be an internal storage module of the computer device 10000, such as a hard disk or a memory of the computer device 10000. In other embodiments, the memory 10010 may also be an external storage device of the computer device 10000, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like, provided on the computer device 10000. Of course, the memory 10010 may also include both internal and external memory modules of the computer device 10000. In this embodiment, the memory 10010 is generally used for storing an operating system installed in the computer device 10000 and various application software, such as program codes of a dynamic configuration method of an interface layout. In addition, the memory 10010 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 10020, in some embodiments, can be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip. The processor 10020 is generally configured to control overall operations of the computer device 10000, such as performing control and processing related to data interaction or communication with the computer device 10000. In this embodiment, the processor 10020 is configured to execute program codes stored in the memory 10010 or process data.
Network interface 10030 may comprise a wireless network interface or a wired network interface, and network interface 10030 is generally used to establish a communication link between computer device 10000 and other computer devices. For example, the network interface 10030 is used to connect the computer device 10000 to an external terminal through a network, establish a data transmission channel and a communication link between the computer device 10000 and the external terminal, and the like. The network may be a wireless or wired network such as an Intranet (Intranet), the Internet (Internet), a Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Bluetooth (Bluetooth), or Wi-Fi.
It should be noted that fig. 26 only illustrates a computer device having the components 10010 and 10030, but it is to be understood that not all illustrated components are required and that more or less components may be implemented instead.
In this embodiment, the dynamic configuration method of the interface layout stored in the memory 10010 can be further divided into one or more program modules and executed by one or more processors (in this embodiment, the processor 10020) to complete the present application.
Example ten
The present embodiment also provides a computer-readable storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of the method for dynamically configuring an interface layout in an embodiment.
In this embodiment, the computer-readable storage medium includes a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the computer readable storage medium may be an internal storage unit of the computer device, such as a hard disk or a memory of the computer device. In other embodiments, the computer readable storage medium may be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the computer device. Of course, the computer-readable storage medium may also include both internal and external storage devices of the computer device. In this embodiment, the computer-readable storage medium is generally used for storing an operating system and various types of application software installed in the computer device, for example, the program code of the dynamic configuration method of the interface layout in the embodiment, and the like. Further, the computer-readable storage medium may also be used to temporarily store various types of data that have been output or are to be output.
It will be apparent to those skilled in the art that the modules or steps of the embodiments of the present application described above may be implemented by a general purpose computing device, may be integrated into a single computing device or distributed over a network of multiple computing devices, and alternatively may be implemented by program code executable by a computing device, such that the steps shown or described may be executed by a computing device stored in a storage device and, in some cases, may be executed in a different order than that shown or described herein, or may be separately fabricated into individual or multiple ones of them as a single integrated circuit module. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (14)

1. A dynamic configuration method of an interface layout, which is used for a server, is characterized in that the method comprises the following steps:
acquiring basic information uploaded by a plurality of sample client terminals in a target area;
generating a user portrait of the target area according to the basic information;
adjusting an interface configuration file based on the user portrait, the interface configuration file being used for configuring a target interface layout of a target program; and
sending the adjusted interface configuration file to a target client terminal associated with the target area, so that the target client terminal: and configuring the target interface layout according to the adjusted interface configuration file.
2. The method of claim 1, wherein the interface configuration file includes interface layout rules, and wherein the user representation includes a plurality of zone tags associated with the target zone;
adjusting an interface profile based on the user representation, comprising: and adjusting the interface layout rule according to the plurality of region labels.
3. The dynamic configuration method of interface layout of claim 2, wherein the plurality of zone tags comprises a login tag corresponding to a login manner, and the interface layout rules comprise login interface layout rules;
adjusting the interface layout rule according to the plurality of zone tags includes:
and adjusting the login interface layout rule according to the login tag, wherein the login interface layout rule is used for defining a layout style of a plurality of login interface components in a login interface, and the plurality of login interface components comprise a plurality of interface components associated with the target region.
4. The method of claim 2, wherein the plurality of locale tags includes a payment tag corresponding to a payment method, and the interface layout rules include payment surface layout rules;
adjusting the interface layout rule according to the plurality of zone tags includes:
adjusting the payment interface layout rule according to the payment tag, wherein the payment interface layout rule is used for defining a plurality of payment interface components in a payment interface layout style, and the plurality of payment interface components comprise a plurality of interface components associated with the target region.
5. The method for dynamically configuring an interface layout according to claim 3 or 4, further comprising:
configuring a component function switch according to the basic information;
the component function switch is used for limiting whether a component corresponding to the component function switch is used in the target area.
6. A system for dynamically configuring an interface layout for a server, comprising:
the acquisition module is used for acquiring basic information uploaded by a plurality of sample client terminals in a target area;
the generating module is used for generating a user portrait of the target area according to the basic information;
an adjustment module for adjusting an interface configuration file based on the user representation, the interface configuration file being for configuring a target interface layout of a target program; and
a sending module, configured to send the adjusted interface configuration file to a target client terminal associated with the target area, so that the target client terminal: and configuring the target interface layout according to the adjusted interface configuration file.
7. A dynamic configuration method of an interface layout, which is used for a server, is characterized in that the method comprises the following steps:
acquiring basic information uploaded by a target user through a target client terminal;
inputting the basic information into a trained user portrait model to generate a user portrait of the target user;
adjusting an interface configuration file based on the user portrait, the interface configuration file being used for configuring a target interface layout of a target program; and
sending the adjusted interface configuration file to the target client terminal so that the target client terminal: and configuring the target interface layout according to the adjusted interface configuration file.
8. A method of generating an interface layout for a client terminal, the method comprising:
transmitting location information of a client terminal to a server to cause the server to: returning a target configuration file according to the position information; the target configuration file is obtained by the server according to user portrait of the region to which the client terminal belongs, and the interface configuration file is used for configuring target interface layout of a target program; and
and acquiring the target configuration file, and generating a target interface layout of the target program according to the target configuration file.
9. The interface layout method of claim 8 wherein generating the target interface layout for the target program according to the target configuration file comprises:
analyzing the target configuration file to obtain a target interface layout rule and a plurality of interface components; and
and adding the plurality of interface components into a preset root layout according to the target interface layout rule to generate a target interface layout.
10. The method of generating an interface layout of claim 9 wherein the target configuration file comprises interface layout rule data corresponding to the interface layout rules and component configuration data corresponding to the plurality of interface components; analyzing the target configuration file to obtain a target interface layout rule and a plurality of interface components, wherein the steps comprise:
acquiring interface layout rule data and component configuration data from the target configuration file;
acquiring the interface layout rule according to the interface layout rule data; and
and analyzing the component configuration data through one or more preset component adapters to obtain the plurality of interface components.
11. A system for generating an interface layout for a client terminal, the system comprising:
a sending module, configured to send location information of a client terminal to a server, so that the server: returning a target configuration file according to the position information; the target configuration file is obtained by the server according to user portrait of the region to which the client terminal belongs, and the interface configuration file is used for configuring target interface layout of a target program; and
and the acquisition module is used for acquiring the target configuration file and generating the target interface layout of the target program according to the target configuration file.
12. A method of generating an interface layout for a client terminal, the method comprising:
sending the basic information of the target user to a server to enable the server to: returning a target configuration file according to the basic information; the target configuration file is obtained by adjusting the user portrait obtained by the server based on the basic information, and the interface configuration file is used for configuring the target interface layout of a target program; and
and acquiring the target configuration file, and generating a target interface layout of the target program according to the target configuration file.
13. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor is configured to perform the steps of the method of any one of claims 1 to 5, 7, 8 to 10, 12 when executing the computer program.
14. A computer-readable storage medium, having stored thereon a computer program executable by at least one processor to cause the at least one processor to perform the steps of the method according to any one of claims 1 to 5, 7, 8 to 10, 12.
CN202110585163.0A 2021-05-27 2021-05-27 Dynamic configuration method and system of interface layout Active CN113190267B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110585163.0A CN113190267B (en) 2021-05-27 2021-05-27 Dynamic configuration method and system of interface layout

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110585163.0A CN113190267B (en) 2021-05-27 2021-05-27 Dynamic configuration method and system of interface layout

Publications (2)

Publication Number Publication Date
CN113190267A true CN113190267A (en) 2021-07-30
CN113190267B CN113190267B (en) 2024-03-26

Family

ID=76985541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110585163.0A Active CN113190267B (en) 2021-05-27 2021-05-27 Dynamic configuration method and system of interface layout

Country Status (1)

Country Link
CN (1) CN113190267B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114329213A (en) * 2021-12-30 2022-04-12 深圳前海浩方科技有限公司 E-commerce platform optimization method, device, equipment and medium based on user behaviors
CN114675905A (en) * 2022-04-07 2022-06-28 亿咖通(湖北)技术有限公司 Information display method, vehicle-mounted computer system and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150074516A1 (en) * 2013-09-12 2015-03-12 Wixpress Ltd. System and method for automated conversion of interactive sites and applications to support mobile and other display environments
CN105404629A (en) * 2014-09-12 2016-03-16 华为技术有限公司 Method and device for determining map interface
CN108363602A (en) * 2018-01-23 2018-08-03 平安普惠企业管理有限公司 Intelligent UI quick interface arrangement methods, device, terminal device and storage medium
CN109408189A (en) * 2018-11-02 2019-03-01 北京字节跳动网络技术有限公司 Dynamic adjusting method, device, equipment and the medium of client end interface layout
CN110233879A (en) * 2019-05-22 2019-09-13 平安银行股份有限公司 Intelligently pushing interfacial process, device, computer equipment and storage medium
WO2020048388A1 (en) * 2018-09-03 2020-03-12 腾讯科技(深圳)有限公司 Picture generation method and device, storage medium and electronic device
CN112235615A (en) * 2020-10-14 2021-01-15 广州欢网科技有限责任公司 Method and system for communicating and using portrait data of television terminal user

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150074516A1 (en) * 2013-09-12 2015-03-12 Wixpress Ltd. System and method for automated conversion of interactive sites and applications to support mobile and other display environments
CN105723358A (en) * 2013-09-12 2016-06-29 维克斯网有限公司 System and method for automated conversion of interactive sites and applications to support mobile and other display environments
CN105404629A (en) * 2014-09-12 2016-03-16 华为技术有限公司 Method and device for determining map interface
CN108363602A (en) * 2018-01-23 2018-08-03 平安普惠企业管理有限公司 Intelligent UI quick interface arrangement methods, device, terminal device and storage medium
WO2020048388A1 (en) * 2018-09-03 2020-03-12 腾讯科技(深圳)有限公司 Picture generation method and device, storage medium and electronic device
CN109408189A (en) * 2018-11-02 2019-03-01 北京字节跳动网络技术有限公司 Dynamic adjusting method, device, equipment and the medium of client end interface layout
CN110233879A (en) * 2019-05-22 2019-09-13 平安银行股份有限公司 Intelligently pushing interfacial process, device, computer equipment and storage medium
CN112235615A (en) * 2020-10-14 2021-01-15 广州欢网科技有限责任公司 Method and system for communicating and using portrait data of television terminal user

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
PAI LIU 等: "Integrated topology optimization of multi-component structures considering connecting interface behavior", 《COMPUTER METHODS IN APPLIED MECHANICS AND ENGINEERING》, vol. 341, 1 November 2018 (2018-11-01), pages 851 - 887 *
TONY-YAO: "SpringMvc及三大组件(适配器、映射器、视图解析器)", pages 1 - 22, Retrieved from the Internet <URL:https://blog.csdn.net/weixin_46989654/article/details/112248040> *
YOUYU CHEN 等: "A Graph Configuration Method Based on UI Service Composition", 《2011 SEVENTH INTERNATIONAL CONFERENCE ON MOBILE AD-HOC AND SENSOR NETWORKS》, 29 December 2011 (2011-12-29), pages 339 - 340, XP032084280, DOI: 10.1109/MSN.2011.61 *
李维勇 等: "基于Lint的Android布局性能检测方法", 《信息化研究》, vol. 44, no. 4, 20 August 2018 (2018-08-20), pages 34 - 37 *
赖伟: "基于Hadoop和Django的电商用户画像系统", 《中国优秀硕士学位论文全文数据库 信息科技辑》, pages 138 - 1872 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114329213A (en) * 2021-12-30 2022-04-12 深圳前海浩方科技有限公司 E-commerce platform optimization method, device, equipment and medium based on user behaviors
CN114329213B (en) * 2021-12-30 2022-08-30 深圳前海浩方科技有限公司 E-commerce platform optimization method, device, equipment and medium based on user behaviors
CN114675905A (en) * 2022-04-07 2022-06-28 亿咖通(湖北)技术有限公司 Information display method, vehicle-mounted computer system and readable storage medium
CN114675905B (en) * 2022-04-07 2024-03-08 亿咖通(湖北)技术有限公司 Information display method, vehicle-mounted system and readable storage medium

Also Published As

Publication number Publication date
CN113190267B (en) 2024-03-26

Similar Documents

Publication Publication Date Title
CN108363602B (en) Intelligent UI (user interface) layout method and device, terminal equipment and storage medium
US10032208B2 (en) Identifying recommended electronic books with detailed comparisons
US11132114B2 (en) Method and apparatus for generating customized visualization component
US20180189417A1 (en) Dynamic faceting for personalized search and discovery
CN113190267B (en) Dynamic configuration method and system of interface layout
CN110968808B (en) Method and device for realizing webpage theme update
CN112085087B (en) Business rule generation method, device, computer equipment and storage medium
CN109815097A (en) Function of application operation recommended method and system based on intelligent decision
CN106484726A (en) A kind of page display method and device
CN106503111A (en) Webpage code-transferring method, device and client terminal
CN112423134B (en) Video content recommendation method and device, computer equipment and storage medium
CN113742601A (en) Content sharing method and device, computer equipment and storage medium
US11361143B2 (en) Proactive rich text format management
CN112905921B (en) Page content display method and device
US11182393B2 (en) Spatial data analyzer support
US20210173728A1 (en) Rest application programming interface route modeling
US20190272300A1 (en) Router based query results
CN114237926A (en) Multi-platform interaction method, device, equipment, storage medium and computer program product
CN114356712A (en) Data processing method, device, equipment, readable storage medium and program product
CN114154051A (en) Information recommendation method, device, equipment and storage medium
CN114374595B (en) Event node attribution analysis method, device, electronic equipment and storage medium
US20220215064A1 (en) Refining internet search recommendations
CN115208831B (en) Request processing method, device, equipment and storage medium
CN116561735B (en) Mutual trust authentication method and system based on multiple authentication sources and electronic equipment
CN113377196B (en) Data recommendation method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant