CN107256149B - User interface updating method and device - Google Patents

User interface updating method and device Download PDF

Info

Publication number
CN107256149B
CN107256149B CN201710386899.9A CN201710386899A CN107256149B CN 107256149 B CN107256149 B CN 107256149B CN 201710386899 A CN201710386899 A CN 201710386899A CN 107256149 B CN107256149 B CN 107256149B
Authority
CN
China
Prior art keywords
user interface
sub
user
layout type
indicating
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.)
Active
Application number
CN201710386899.9A
Other languages
Chinese (zh)
Other versions
CN107256149A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710386899.9A priority Critical patent/CN107256149B/en
Publication of CN107256149A publication Critical patent/CN107256149A/en
Application granted granted Critical
Publication of CN107256149B publication Critical patent/CN107256149B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

Landscapes

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

Abstract

The disclosure relates to a method and a device for updating a user interface, wherein the method comprises the following steps: segmenting the user interface to obtain at least two sub user interfaces; and sending configuration data to the terminal, wherein the configuration data comprises the at least two sub-user interfaces and a layout type, the layout type is used for indicating the combination mode of the sub-user interfaces, and the server does not need to modify codes, so that the risk brought by modifying the codes is avoided, and the fluency of the user interface generated by adopting the method is better.

Description

User interface updating method and device
Technical Field
The present disclosure relates to communications technologies, and in particular, to a method and an apparatus for updating a user interface.
Background
With the development of mobile internet, mobile phones, computers, game machines and other terminal devices are gradually becoming main platforms of human-computer interaction, and each type of terminal device is provided with a lot of applications. In order to improve user experience, a user interface is often required to be updated, a common method for updating the user interface includes nesting a webpage in an Application (App) frame or nesting a reactive native page in the App frame, both the two methods can be realized by modifying an App code on a server side, the modified code is carried in an installation package of an App upgrade version by the server, and a user can experience a new user interface after installing an App of the upgrade version.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method and apparatus for updating a user interface.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for updating a user interface, including:
segmenting the user interface to obtain at least two sub user interfaces;
and sending configuration data to the terminal, wherein the configuration data comprises at least two sub user interfaces and a layout type, and the layout type is used for indicating the combination mode of the sub user interfaces.
In one embodiment, the layout type includes a correspondence between an identifier of the sub user interface and attribute information of the sub user interface; the attribute information of the sub user interface includes position information and size information of the sub user interface.
In one embodiment, segmenting the user interface includes:
segmenting the user interface according to a predefined segmentation rule; the segmentation rule is used to indicate the manner of segmentation of the sub-user interface.
In one embodiment, the segmentation rules include at least a functional segmentation rule that indicates that the user interface is to be segmented according to the functionality of the regions of the user interface.
In one embodiment, the method further comprises:
analyzing historical use data of a user to acquire user configuration information; the user configuration information represents the user's preferences;
and acquiring the layout type according to the user configuration information and the sub user interface.
According to a second aspect of the embodiments of the present disclosure, there is provided a method for updating a user interface, including:
receiving configuration data sent by a server; the configuration data includes at least two sub-user interfaces and a layout type; the layout type is used for indicating the combination mode of the sub-user interface;
and combining the sub-user interfaces according to the layout types to generate the user interface.
In one embodiment, the layout type includes a correspondence between an identifier of the sub user interface and attribute information of the sub user interface; the attribute information of the sub user interface includes position information and size information of the sub user interface.
According to a third aspect of the embodiments of the present disclosure, there is provided an updating apparatus of a user interface, including:
the segmentation module is configured to segment the user interface to obtain at least two sub-user interfaces;
and the sending module is configured to send configuration data to the terminal, wherein the configuration data comprises at least two sub user interfaces and a layout type, and the layout type is used for indicating the combination mode of the sub user interfaces.
In one embodiment, the layout type includes a correspondence between an identifier of the sub user interface and attribute information of the sub user interface; the attribute information of the sub user interface includes position information and size information of the sub user interface.
In one embodiment, the segmentation module comprises:
a segmentation submodule configured to segment the user interface according to a predefined segmentation rule; the segmentation rule is used to indicate the manner of segmentation of the sub-user interface.
In one embodiment, the segmentation rules include at least a functional segmentation rule that indicates that the user interface is to be segmented according to the functionality of the regions of the user interface.
In one embodiment, the apparatus further comprises:
the first acquisition module is configured to analyze historical use data of a user and acquire user configuration information; the user configuration information represents the user's preferences;
and the second acquisition module is configured to acquire the layout type according to the user configuration information and the sub user interface.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an updating apparatus of a user interface, including:
the receiving module is configured to receive the configuration data sent by the server; the configuration data includes at least two sub-user interfaces and a layout type; the layout type is used for indicating the combination mode of the sub-user interface;
and the combination module is configured to combine the sub-user interfaces according to the layout types to generate the user interfaces.
In one embodiment, the layout type includes a correspondence between an identifier of the sub user interface and attribute information of the sub user interface; the attribute information of the sub user interface includes position information and size information of the sub user interface.
According to a fifth aspect of the embodiments of the present disclosure, there is provided an updating apparatus of a user interface, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
segmenting the user interface to obtain at least two sub user interfaces;
and sending configuration data to the terminal, wherein the configuration data comprises at least two sub user interfaces and a layout type, and the layout type is used for indicating the combination mode of the sub user interfaces.
According to a sixth aspect of the embodiments of the present disclosure, there is provided an updating apparatus of a user interface, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving configuration data sent by a server; the configuration data includes at least two sub-user interfaces and a layout type; the layout type is used for indicating the combination mode of the sub-user interface;
and combining the sub-user interfaces according to the layout types to generate the user interface.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in one embodiment, a user interface is divided to generate at least two sub-user interfaces, configuration data is generated according to the sub-user interfaces and layout types, and the configuration data is sent to a terminal, so that the terminal combines a plurality of sub-user interfaces according to the layout types to generate a new user interface.
In one embodiment, the terminal can acquire the position information and the size information of each sub-user interface according to the identifier of each sub-user interface, and layout each sub-user interface according to the position information and the size information, so that a complete user interface is generated.
In one embodiment, the user interface is segmented according to the predefined segmentation rule, so that the situations that the functions of the user interfaces generated later are not complete, flaws occur and even the user interfaces cannot be combined into a complete user interface due to unscientific segmentation are avoided, and the reliability and the stability of the customized user interface are ensured.
In one embodiment, historical use data of a user is analyzed to obtain user configuration information, a layout type is obtained according to the user configuration information and the sub-user interface, the user configuration information can reflect preference of the user, the sub-user interface is combined according to the layout type obtained by the user configuration information, the generated user interface is more suitable for the user, and user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow diagram illustrating a method for updating a user interface in accordance with an exemplary embodiment;
FIG. 2 is a schematic diagram of a user interface provided by the present disclosure;
FIG. 3 is a flow chart illustrating a method for updating a user interface according to another exemplary embodiment;
FIG. 4 is a flow chart illustrating a method for updating a user interface according to yet another exemplary embodiment;
FIG. 5 is a block diagram illustrating an apparatus for updating a user interface in accordance with an exemplary embodiment;
FIG. 6 is a block diagram illustrating an apparatus for updating a user interface in accordance with another exemplary embodiment;
FIG. 7 is a block diagram illustrating an updating apparatus of a user interface according to yet another exemplary embodiment;
FIG. 8 is a block diagram illustrating an apparatus for updating a user interface in accordance with yet another exemplary embodiment;
FIG. 9 is a block diagram illustrating an apparatus for updating a user interface in accordance with yet another exemplary embodiment;
FIG. 10 is a block diagram illustrating an updating apparatus for a user interface in accordance with an exemplary embodiment;
FIG. 11 is a block diagram illustrating an updating apparatus for a user interface in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a method for updating a user interface, where an execution subject of the method for updating a user interface is a server, as shown in fig. 1, and the method includes the following steps:
in step S11, the user interface is divided into at least two sub-user interfaces.
In the embodiment of the disclosure, when the user interface needs to be updated, the server divides the new user interface into a plurality of sub-user interfaces. The server can analyze the characteristics of the new user interface and divide the new user interface according to the characteristics of the user interface, and the functions, the sizes and the shapes of the plurality of sub user interfaces can be the same or different. For example, when the homepage user interface of the Taobao App is divided, a menu bar including buttons such as login, registration, shopping cart, favorite, contact service, etc. may be divided into a sub-user interface 1, an input box may be divided into a sub-user interface 2, a main market bar may be divided into a sub-user interface 3, a message scroll box may be divided into a sub-user interface 4, and various product display areas may be divided into other sub-user interfaces. In this embodiment, the segmentation method, the size, the position, the shape, and the number of the sub-user interfaces are not limited.
In step S12, configuration data is sent to the terminal, where the configuration data includes at least two sub-user interfaces and a layout type, and the layout type is used to indicate a combination manner of the sub-user interfaces.
The layout type is a combination mode of a plurality of predefined sub user interfaces, and comprises the size, the position information and the like of the defined sub user interfaces. The layout type may include one combination manner or a plurality of combination manners, that is, a plurality of sub user interfaces may combine the user interfaces in a plurality of combination manners, and the functions and visual effects of the user interfaces generated by different combination manners are different.
In the embodiment of the disclosure, the server sends the configuration data to the terminal, the terminal analyzes the configuration data to obtain the sub-user interfaces and the layout types, and combines the sub-user interfaces according to the layout types to generate a new user interface, so as to achieve the purpose of updating the user interface. If the layout type includes multiple combination modes, the terminal can arbitrarily select one combination mode to combine the multiple sub-user interfaces, and can also select a corresponding combination mode to combine the multiple sub-user interfaces according to the requirements and preferences of the user, so that the user requirements are met.
Fig. 2 is a schematic diagram of a user interface provided by the present disclosure. As shown in fig. 2, the server divides the user interface into 17 sub-user interfaces, the server sends the 17 sub-user interfaces and the layout type to the terminal device, and the terminal device combines the 17 sub-user interfaces according to the combination mode in the layout type to generate a complete user interface. The combination mode of the layout types set by the server may be the combination mode as shown in fig. 2, or some adjustments may be made to the combination mode according to the preference of the user, for example, the sub-user interface corresponding to the functional area commonly used by the user is set at a more prominent position, and the size setting is larger. The server can also set a plurality of combination modes in the layout type, and the terminal selects a proper combination mode according to the preference of the user or the instruction of the user.
The updating method of the user interface provided by the embodiment of the disclosure divides the user interface to generate at least two sub-user interfaces, generates configuration data according to the sub-user interfaces and the layout types, and sends the configuration data to the terminal, so that the terminal combines a plurality of sub-user interfaces according to the layout types to generate a new user interface.
Optionally, in the embodiment shown in fig. 1, the layout type includes a correspondence between an identifier of the sub user interface and attribute information of the sub user interface; the attribute information of the sub user interface includes position information and size information of the sub user interface.
In the embodiment of the disclosure, the terminal can acquire the position information and the size information of each sub-user interface according to the identifier of each sub-user interface, and layout each sub-user interface according to the position information and the size information, so as to generate a complete user interface. The identifier of the sub-user interface may be information with an identifying function, such as a number, a code, a name, a letter, a symbol, and the like, as shown in fig. 2, the identifier of the sub-user interface is a number of 1, 2, 3, 4, … …, 17; the position information of the sub-user interface can be represented in the form of coordinates, as shown in fig. 2, a coordinate axis can be set with the central point of the whole user interface as an origin, and the position of the sub-user interface can be represented in the form of (x, y); the size information of the sub-user interface may be represented by the length, width, diameter, etc. of the division box.
Optionally, the step of "splitting the user interface" includes: segmenting the user interface according to a predefined segmentation rule; the segmentation rule is used to indicate the manner of segmentation of the sub-user interface.
Further, the segmentation rules at least include function segmentation rules for instructing segmentation of the user interface according to the functions of the regions of the user interface.
In this embodiment, some rules may be predefined to segment the user interface, for example, segmenting according to functions, and segmenting regions with the same or similar functions into sub-user interfaces; or, the content is divided according to the content, and the areas with the same or related content are divided into a sub user interface; or, there may be other various division rules, such as dividing the functional area commonly used by the user into one sub-user interface, dividing the functional area not commonly used by the user into one sub-user interface, and so on.
According to the updating method of the user interface provided by the embodiment of the disclosure, the user interface is segmented according to the predefined segmentation rule, so that the situations that the functions of the user interface generated later are not complete, flaws occur and even the user interface cannot be combined into a complete user interface due to unscientific segmentation are avoided, and the reliability and stability of the customized user interface are ensured.
Optionally, in the above embodiment, the sub-user interface may be in a rectangular shape, and may also be in an irregular shape such as a circle, a diamond, a triangle, and the like, and a person skilled in the art may divide the user interface into sub-user interfaces in various shapes as needed, and the disclosure is not limited thereto. Particularly, when the sub-user interfaces are rectangular, the sub-user interfaces are convenient to divide, the sub-user interfaces in the rectangular shapes are simple to combine, and the integrity and the fluency of the generated user interfaces are high.
Fig. 3 is a flowchart illustrating a method for updating a user interface according to another exemplary embodiment, on the basis of the above embodiment, as shown in fig. 3, the method for updating a user interface may further include the following steps:
in step S31, analyzing the historical usage data of the user to obtain user configuration information; the user configuration information indicates the preferences of the user.
In the embodiment of the disclosure, the server may obtain the historical usage data of the user, and analyze the historical usage data to obtain the preference and habit of the user. The historical usage data may include click rates of different areas in the user interface, for example, for the panning interface, the click rate of each area after the user a goes through the panning interface is obtained, and the preference of the user is analyzed according to the click rate, for example, the click rate of the women dress display area is 10 times/day, the click rate of the aggregation calculation area is 20 times/day, the click rate of the Tianmao supermarket is 15 times/day, the click rate of the mother and baby area is 0 times/day, and the click rate of the fresh area is 1 time/day, it may be analyzed that the user a visits the places to see the women dress, the aggregation calculation and the Tianmao supermarket, and then each area may be prioritized according to the click rate, the area with the high click rate has a high priority, the area with the low click rate has a low priority, and thus the user configuration information is generated according to the priority order of the areas.
In step S32, the layout type is acquired based on the user configuration information and the sub user interface.
In the embodiment of the present disclosure, the position and size of the sub-user interface may be determined according to the user configuration information, so as to obtain a layout type suitable for the user, for example, a region with a high priority is set at a position on the scroll page test, and the size may be appropriately larger, thereby ensuring that the user can quickly find a region of interest in the user interface.
According to the method for updating the user interface, the historical use data of the user are analyzed, the user configuration information is obtained, the layout type is obtained according to the user configuration information and the sub-user interface, the user preference can be reflected in the user configuration information, the sub-user interface is combined according to the layout type obtained by the user configuration information, the generated user interface is more suitable for the user, and the user experience is improved.
Fig. 4 is a flowchart illustrating a method for updating a user interface according to still another exemplary embodiment, where the user interface updating method is executed by a terminal, and the terminal may be a mobile phone, a computer, an ipad, a game console, or the like. As shown in fig. 4, the method for updating the user interface includes the following steps:
in step S41, receiving the configuration data sent by the server; the configuration data includes at least two sub-user interfaces and a layout type; the layout type is used to indicate the manner in which the sub-user interfaces are combined.
In the embodiment of the present disclosure, the sub-user interfaces are obtained by segmenting the user interface for the server, the server may analyze characteristics of the new user interface, and segment the user interface according to the characteristics of the user interface, and the functions, sizes, and shapes of the plurality of sub-user interfaces may be the same or different.
The layout type is a combination mode of a plurality of predefined sub user interfaces, and comprises the size, the position information and the like of the defined sub user interfaces. The layout type may include one combination manner or a plurality of combination manners, that is, a plurality of sub user interfaces may combine the user interfaces in a plurality of combination manners, and the functions and visual effects of the user interfaces generated by different combination manners are different.
In step S42, the sub-user interfaces are combined according to the layout type to generate a user interface.
In the embodiment of the disclosure, the server sends the configuration data to the terminal, the terminal analyzes the configuration data to obtain the sub-user interfaces and the layout types, and combines the sub-user interfaces according to the layout types to generate a new user interface, so as to achieve the purpose of updating the user interface. If the layout type includes multiple combination modes, the terminal can arbitrarily select one combination mode to combine the multiple sub-user interfaces, and can also select a corresponding combination mode to combine the multiple sub-user interfaces according to the requirements and preferences of the user, so that the user requirements are met.
According to the method for updating the user interface, the configuration data sent by the server are received, the sub user interfaces are combined according to the layout types in the configuration data to generate the user interface, the server only needs to send the sub user interfaces and the layout types to the terminal, and the code of the App does not need to be modified due to the fact that the user interface is updated, so that risks brought by code modification are avoided, and the user interface generated by the method is good in fluency.
Optionally, the layout type includes a correspondence between an identifier of the sub user interface and attribute information of the sub user interface; the attribute information of the sub user interface includes position information and size information of the sub user interface.
In the embodiment of the disclosure, the terminal can acquire the position information and the size information of each sub-user interface according to the identifier of each sub-user interface, and layout each sub-user interface according to the position information and the size information, so as to generate a complete user interface. The identifier of the sub-user interface may be information with an identifier function, such as numbers, codes, names, letters, symbols, etc., the position information of the sub-user interface may be represented in the form of coordinates, and the size information of the sub-user interface may be represented by the length, width, diameter, etc. of the division frame.
Optionally, the sub-user interface may be in a rectangular shape, or may also be in an irregular shape such as a circle, a diamond, a triangle, etc., and a person skilled in the art may divide the user interface into sub-user interfaces in various shapes as required, which is not limited in this disclosure. In particular. When the sub-user interfaces are rectangular, the sub-user interfaces are convenient to divide, the sub-user interfaces in the rectangular shapes are simple to combine, and the generated user interfaces are high in integrity and fluency.
Fig. 5 is a block diagram illustrating an apparatus for updating a user interface according to an exemplary embodiment, and as shown in fig. 5, the apparatus includes a splitting module 11 and a sending module 12.
The segmentation module 11 is configured to segment the user interface to obtain at least two sub-user interfaces;
the sending module 12 is configured to send configuration data to the terminal, where the configuration data includes at least two sub-user interfaces and a layout type, and the layout type is used to indicate a combination manner of the sub-user interfaces.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Optionally, the layout type includes a correspondence between an identifier of the sub user interface and attribute information of the sub user interface; the attribute information of the sub user interface includes position information and size information of the sub user interface.
Fig. 6 is a block diagram illustrating an updating apparatus of a user interface according to another exemplary embodiment, and as shown in fig. 6, the segmentation module 11 includes a segmentation sub-module 111.
The segmentation submodule 111 is configured to segment the user interface according to predefined segmentation rules; the segmentation rule is used to indicate the manner of segmentation of the sub-user interface.
Optionally, the segmentation rule at least includes a function segmentation rule, and the function segmentation rule is used to instruct to segment the user interface according to the function of each region of the user interface.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 7 is a block diagram illustrating an updating apparatus of a user interface according to still another exemplary embodiment, as shown in fig. 7, the apparatus further includes a first obtaining module 13 and a second obtaining module 14.
The first obtaining module 13 is configured to analyze historical usage data of the user and obtain user configuration information; the user configuration information represents the user's preferences;
the second retrieving module 14 is configured to retrieve the layout type based on the user configuration information and the sub-user interface.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 8 is a block diagram illustrating an updating apparatus of a user interface according to still another exemplary embodiment, which includes a receiving module 21 and a combining module 22, as shown in fig. 8.
The receiving module 21 is configured to receive configuration data sent by the server; the configuration data includes at least two sub-user interfaces and a layout type; the layout type is used for indicating the combination mode of the sub-user interface;
the combining module 22 is configured to combine the sub-user interfaces according to the layout type, generating a user interface.
Optionally, the layout type includes a correspondence between an identifier of the sub user interface and attribute information of the sub user interface; the attribute information of the sub user interface includes position information and size information of the sub user interface.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 9 is a block diagram illustrating an apparatus for updating a user interface according to still another exemplary embodiment, as shown in fig. 9, the apparatus including:
a processor 31;
a memory 32 for storing instructions executable by the processor 31;
wherein the processor 31 is configured to:
segmenting the user interface to obtain at least two sub user interfaces;
and sending configuration data to the terminal, wherein the configuration data comprises at least two sub user interfaces and a layout type, and the layout type is used for indicating the combination mode of the sub user interfaces.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The present disclosure also provides an updating apparatus of a user interface, and a block diagram of the apparatus is the same as that of fig. 9. As shown in fig. 9, the apparatus includes:
a processor 31;
a memory 32 for storing instructions executable by the processor 31;
wherein the processor 31 is configured to:
receiving configuration data sent by a server; the configuration data comprises at least two sub-user interfaces and a layout type; the layout type is used for indicating a combination mode of the sub user interface;
and combining the sub-user interfaces according to the layout type to generate a user interface.
FIG. 10 is a block diagram illustrating an updating apparatus for a user interface in accordance with an exemplary embodiment. For example, the apparatus 1900 may be provided as a server. Referring to FIG. 10, the device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by the processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform all or a portion of the methods provided by any of the embodiments described above.
The device 1900 may also include a power component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input/output (I/O) interface 1958. The device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
FIG. 11 is a block diagram illustrating an updating apparatus for a user interface in accordance with an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 11, the apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 806 provides power to the various components of device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform a method of updating a user interface, the method comprising:
segmenting the user interface to obtain at least two sub user interfaces;
and sending configuration data to a terminal, wherein the configuration data comprises the at least two sub user interfaces and a layout type, and the layout type is used for indicating the combination mode of the sub user interfaces.
Wherein the layout type comprises a corresponding relation between the identifier of the sub user interface and the attribute information of the sub user interface; the attribute information of the sub user interface includes position information and size information of the sub user interface.
Wherein the segmenting the user interface comprises:
segmenting the user interface according to a predefined segmentation rule; the segmentation rule is used for indicating a segmentation mode of the sub-user interface.
The segmentation rules at least comprise function segmentation rules, and the function segmentation rules are used for indicating that the user interface is segmented according to the functions of the areas of the user interface.
Wherein the method further comprises:
analyzing historical use data of a user to acquire user configuration information; the user configuration information represents preferences of a user;
and acquiring the layout type according to the user configuration information and the sub user interface.
A non-transitory computer-readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform a method of updating a user interface, the method comprising:
receiving configuration data sent by a server; the configuration data comprises at least two sub-user interfaces and a layout type; the layout type is used for indicating a combination mode of the sub user interface;
and combining the sub-user interfaces according to the layout type to generate a user interface.
Wherein the layout type comprises a corresponding relation between the identifier of the sub user interface and the attribute information of the sub user interface; the attribute information of the sub user interface includes position information and size information of the sub user interface.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (6)

1. A method for updating a user interface, comprising:
segmenting the user interface to obtain at least two sub user interfaces;
sending configuration data to a terminal, wherein the configuration data comprises the at least two sub user interfaces and a layout type, the layout type is used for indicating a combination mode of the sub user interfaces, and the layout type comprises a corresponding relation between the identifier of the sub user interface and the attribute information of the sub user interface; the attribute information of the sub user interface comprises position information and size information of the sub user interface;
analyzing historical use data of a user to acquire user configuration information; the user configuration information represents preferences of a user;
acquiring the layout type according to the user configuration information and the sub user interface;
wherein the segmenting the user interface comprises:
segmenting the user interface according to a predefined segmentation rule; the division rule is used for indicating the division mode of the sub-user interface, the division rule at least comprises a function division rule, and the function division rule is used for indicating that the user interface is divided according to the function of each area of the user interface.
2. A method for updating a user interface, comprising:
receiving configuration data sent by a server; the configuration data comprises at least two sub-user interfaces and a layout type; the layout type is used for indicating a combination mode of the sub user interface, and comprises a corresponding relation between the identifier of the sub user interface and the attribute information of the sub user interface; the attribute information of the sub user interface comprises position information and size information of the sub user interface;
combining the sub-user interfaces according to the layout types to generate a user interface;
wherein the content of the first and second substances,
the server is used for analyzing the historical use data of the user and acquiring user configuration information; the user configuration information represents preferences of a user; the server is used for acquiring the layout type according to the user configuration information and the sub user interface;
the server is used for segmenting the user interface according to a predefined segmentation rule; the division rule is used for indicating the division mode of the sub-user interface, the division rule at least comprises a function division rule, and the function division rule is used for indicating that the user interface is divided according to the function of each area of the user interface.
3. An apparatus for updating a user interface, comprising:
the segmentation module is configured to segment the user interface to obtain at least two sub-user interfaces;
a sending module configured to send configuration data to a terminal, where the configuration data includes the at least two sub-user interfaces and a layout type, the layout type is used to indicate a combination manner of the sub-user interfaces, and the layout type includes a correspondence between an identifier of the sub-user interface and attribute information of the sub-user interface; the attribute information of the sub user interface comprises position information and size information of the sub user interface;
the first acquisition module is configured to analyze historical use data of a user and acquire user configuration information; the user configuration information represents preferences of a user;
a second obtaining module configured to obtain the layout type according to the user configuration information and the sub user interface;
wherein the segmentation module comprises:
a segmentation submodule configured to segment the user interface according to predefined segmentation rules; the segmentation rule is used for indicating a segmentation mode of the sub-user interface; the segmentation rules at least comprise function segmentation rules, and the function segmentation rules are used for indicating that the user interface is segmented according to functions of all areas of the user interface.
4. An apparatus for updating a user interface, comprising:
the receiving module is configured to receive the configuration data sent by the server; the configuration data comprises at least two sub-user interfaces and a layout type; the layout type is used for indicating a combination mode of the sub user interface, and comprises a corresponding relation between the identifier of the sub user interface and the attribute information of the sub user interface; the attribute information of the sub user interface comprises position information and size information of the sub user interface;
the combination module is configured to combine the sub user interfaces according to the layout types to generate a user interface;
wherein the content of the first and second substances,
the server is used for analyzing the historical use data of the user and acquiring user configuration information; the user configuration information represents preferences of a user;
the server is used for acquiring the layout type according to the user configuration information and the sub user interface;
the server is used for segmenting the user interface according to a predefined segmentation rule; the division rule is used for indicating the division mode of the sub-user interface, the division rule at least comprises a function division rule, and the function division rule is used for indicating that the user interface is divided according to the function of each area of the user interface.
5. An apparatus for updating a user interface, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
segmenting the user interface to obtain at least two sub user interfaces;
sending configuration data to a terminal, wherein the configuration data comprises the at least two sub user interfaces and a layout type, the layout type is used for indicating a combination mode of the sub user interfaces, and the layout type comprises a corresponding relation between the identifier of the sub user interface and the attribute information of the sub user interface; the attribute information of the sub user interface comprises position information and size information of the sub user interface;
analyzing historical use data of a user to acquire user configuration information; the user configuration information represents preferences of a user;
acquiring the layout type according to the user configuration information and the sub user interface;
the segmenting the user interface includes:
segmenting the user interface according to a predefined segmentation rule; the division rule is used for indicating the division mode of the sub-user interface, the division rule at least comprises a function division rule, and the function division rule is used for indicating that the user interface is divided according to the function of each area of the user interface.
6. An apparatus for updating a user interface, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving configuration data sent by a server; the configuration data comprises at least two sub-user interfaces and a layout type; the layout type is used for indicating a combination mode of the sub user interface, and comprises a corresponding relation between the identifier of the sub user interface and the attribute information of the sub user interface; the attribute information of the sub user interface comprises position information and size information of the sub user interface;
combining the sub-user interfaces according to the layout types to generate a user interface;
wherein the content of the first and second substances,
the server is used for analyzing the historical use data of the user and acquiring user configuration information; the user configuration information represents preferences of a user;
the server is used for acquiring the layout type according to the user configuration information and the sub user interface;
the server is used for segmenting the user interface according to a predefined segmentation rule; the division rule is used for indicating the division mode of the sub-user interface, the division rule at least comprises a function division rule, and the function division rule is used for indicating that the user interface is divided according to the function of each area of the user interface.
CN201710386899.9A 2017-05-26 2017-05-26 User interface updating method and device Active CN107256149B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710386899.9A CN107256149B (en) 2017-05-26 2017-05-26 User interface updating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710386899.9A CN107256149B (en) 2017-05-26 2017-05-26 User interface updating method and device

Publications (2)

Publication Number Publication Date
CN107256149A CN107256149A (en) 2017-10-17
CN107256149B true CN107256149B (en) 2021-03-30

Family

ID=60027706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710386899.9A Active CN107256149B (en) 2017-05-26 2017-05-26 User interface updating method and device

Country Status (1)

Country Link
CN (1) CN107256149B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111385629B (en) * 2018-12-29 2022-01-04 深圳Tcl新技术有限公司 Interface layout method, smart television and storage medium
CN111522615B (en) * 2020-04-23 2023-08-15 深圳赛安特技术服务有限公司 Method, device, equipment and storage medium for updating command line interface

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915176A (en) * 2012-09-19 2013-02-06 东莞宇龙通信科技有限公司 Method and device for split-screen display

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231160A (en) * 2011-06-24 2011-11-02 中兴通讯股份有限公司 Webpage appearance update method and system
CN102855068B (en) * 2012-08-16 2018-07-17 优视科技有限公司 Interface operation control method, device and electronic equipment
CN103941954B (en) * 2013-01-17 2018-06-15 腾讯科技(深圳)有限公司 Show method and apparatus, the method and apparatus of user interface interaction at interface
CN103744587A (en) * 2014-01-24 2014-04-23 陈璟东 Method of adjusting function menus and dynamic menu system
US10067641B2 (en) * 2014-02-10 2018-09-04 Samsung Electronics Co., Ltd. User terminal device and displaying method thereof
CN104133678B (en) * 2014-07-22 2018-01-05 中国石油天然气股份有限公司 The method and device of structure, operation interaction seismic interpretation system
CN106155677A (en) * 2015-04-28 2016-11-23 天脉聚源(北京)科技有限公司 A kind of method and system of interface display
CN105718234B (en) * 2016-02-23 2019-07-05 广州小百合信息技术有限公司 Show exchange method and system
CN106713323B (en) * 2016-12-28 2020-01-31 腾讯科技(深圳)有限公司 page content preview method, client, server and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915176A (en) * 2012-09-19 2013-02-06 东莞宇龙通信科技有限公司 Method and device for split-screen display

Also Published As

Publication number Publication date
CN107256149A (en) 2017-10-17

Similar Documents

Publication Publication Date Title
US9667774B2 (en) Methods and devices for sending virtual information card
EP3316527A1 (en) Method and device for managing notification messages
US10509540B2 (en) Method and device for displaying a message
EP2998899A1 (en) Method and apparatus for running application program
CN107423106B (en) Method and apparatus for supporting multi-frame syntax
US9648152B2 (en) Methods and devices for labeling a number
EP3136698A1 (en) Connection status prompting method and device
CN106960014B (en) Associated user recommendation method and device
US9959487B2 (en) Method and device for adding font
EP3147802B1 (en) Method and apparatus for processing information
CN106354504B (en) Message display method and device
EP3089436A1 (en) Methods and devices for calling based on cloud card
CN108804179B (en) Method, device, terminal and storage medium for displaying notification bar message
EP3015965A1 (en) Method and apparatus for prompting device connection
EP3173925B1 (en) Interface display method and apparatus, computer program and recording medium
CN111343481B (en) Data sharing method and device, electronic equipment and storage medium
CN107402767B (en) Method and device for displaying push message
CN107256149B (en) User interface updating method and device
CN110636318A (en) Message display method, message display device, client device, server and storage medium
CN105095296B (en) File management method and device
US11075811B2 (en) Method and apparatus for device identification
CN106919302B (en) Operation control method and device of mobile terminal
CN106447747B (en) Image processing method and device
CN105260088B (en) Information classification display processing method and device
CN107241439B (en) Message pushing method and device for H5 page

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