Page generation method and device, electronic equipment and storage medium
By obtaining the user operation time, the age information is determined and page data is generated, and the problem of low matching of the automatic generation page and the user of the user is solved, and the higher page matching effect is achieved.
Patent Information
- Application Number
- CN202411624314.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-14
- Publication Date
- 2025-01-24
AI Technical Summary
In the prior art, the automatically generated pages match the user with a low degree, especially when the user does not set it up, resulting in page generation not meeting the user's usage habits.
By obtaining the duration of operations performed by the user on the target application, the user's age information is determined, and target page data is generated based on this information, and finally a page matching the user's age is generated.
Improved the matching degree between automatically generated pages and users, especially when the user does not provide or provides inaccurate age information, it can generate pages that are more in line with the user's age needs.
Smart Images

Figure CN119356787A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a page generation method, device, electronic device and storage medium. Background Art
[0002] In the related art, the same application displayed by devices used by different users may be different. For example, different users can set the display style of the application according to their preferences to match their usage habits.
[0003] However, the above scheme usually requires users to make active settings. In the case that users do not make settings, pages are usually generated with default page data. As a result, the automatically generated pages have a low degree of matching with users.
[0004] It can be seen that how to improve the matching degree between automatically generated pages and users is a technical issue worthy of attention. Summary of the invention
[0005] In view of this, in order to solve some or all of the above technical problems, the embodiments of the present application provide a page generation method, device, electronic device and storage medium.
[0006] In a first aspect, an embodiment of the present application provides a page generation method, the method comprising:
[0007] Acquire an operation duration of a first operation performed by a first user on a target application, wherein the operation duration indicates a duration for which the first user performs the first operation;
[0008] Determining age information of the first user based on the operation duration;
[0009] Based on the age information, determining first page data, wherein the first page data is used to generate a target page;
[0010] The target page is generated based on the first page data.
[0011] In a possible implementation, before obtaining the operation duration of the first operation performed by the first user on the target application, the method further includes:
[0012] Detect network configuration operations performed on target applications;
[0013] In the case where the network configuration operation is detected, determining whether there is a historical record of successful network configuration of the target application; and
[0014] The obtaining the operation duration of the first operation performed by the first user on the target application includes:
[0015] If the historical record exists, the operation duration of the first operation performed by the first user on the target application is obtained.
[0016] In a possible implementation manner, after determining whether there is a historical record of successful network configuration of the target application, the method further includes:
[0017] In the absence of the historical record, obtaining location information of a first device on which the target application is installed;
[0018] Based on the position information, first page data is determined.
[0019] In a possible implementation, determining the first page data based on the location information includes:
[0020] Determine a target area including the location indicated by the location information from a predetermined set of areas;
[0021] determining a second device located in the target area;
[0022] Determining second page data of the target page associated with a second user of the second device;
[0023] Based on the second page data, first page data is determined.
[0024] In a possible implementation, after generating the target page based on the first page data, the method further includes:
[0025] detecting a second operation performed by the first user on the displayed target page;
[0026] In case the second operation is detected, determining operation information of the second operation;
[0027] Based on the operation information, determine third page data, wherein the third page is used to generate the new target page;
[0028] Based on the third page data, a new target page is generated.
[0029] In a possible implementation manner, determining the third page data based on the operation information includes:
[0030] Based on the operation information, determining an operation control and operation time information of the second operation;
[0031] Based on the operation control and the operation time information, third page data is determined.
[0032] In a possible implementation manner, determining the first page data based on the age information includes:
[0033] Determine, based on the age information, control information of a target control of a target page, wherein the control information includes at least one of the following: a position of the target control, a style of the target control, and a usage frequency of the target control;
[0034] Based on the control information, first page data is determined.
[0035] In a second aspect, an embodiment of the present application provides a page generation device, the device comprising:
[0036] A first acquisition unit, configured to acquire an operation duration of a first operation performed by a first user on a target application, wherein the operation duration indicates a duration for the first user to perform the first operation;
[0037] a first determining unit, configured to determine age information of the first user based on the operation duration;
[0038] A second determining unit, configured to determine first page data based on the age information, wherein the first page data is used to generate a target page;
[0039] The first generating unit is configured to generate the target page based on the first page data.
[0040] In a possible implementation, before obtaining the operation duration of the first operation performed by the first user on the target application, the apparatus further includes:
[0041] A first detection unit, used to detect a network configuration operation performed on a target application;
[0042] A third determining unit is used to determine whether there is a historical record of successful network configuration of the target application when the network configuration operation is detected; and
[0043] The obtaining the operation duration of the first operation performed by the first user on the target application includes:
[0044] If the historical record exists, the operation duration of the first operation performed by the first user on the target application is obtained.
[0045] In a possible implementation manner, after determining whether there is a historical record of successful network configuration of the target application, the device further includes:
[0046] A second acquisition unit, configured to acquire location information of a first device on which the target application is installed when the historical record does not exist;
[0047] The third determining unit is used to determine the first page data based on the position information.
[0048] In a possible implementation, determining the first page data based on the location information includes:
[0049] Determine a target area including the location indicated by the location information from a predetermined set of areas;
[0050] determining a second device located in the target area;
[0051] Determining second page data of the target page associated with a second user of the second device;
[0052] Based on the second page data, first page data is determined.
[0053] In a possible implementation manner, after generating the target page based on the first page data, the device further includes:
[0054] A second detection unit, configured to detect a second operation performed by the first user on the displayed target page;
[0055] a fourth determining unit, configured to determine operation information of the second operation when the second operation is detected;
[0056] a fifth determining unit, configured to determine third page data based on the operation information, wherein the third page is used to generate the new target page;
[0057] The second generating unit is used to generate the new target page based on the third page data.
[0058] In a possible implementation manner, determining the third page data based on the operation information includes:
[0059] Based on the operation information, determining an operation control and operation time information of the second operation;
[0060] Based on the operation control and the operation time information, third page data is determined.
[0061] In a possible implementation manner, determining the first page data based on the age information includes:
[0062] Determine, based on the age information, control information of a target control of a target page, wherein the control information includes at least one of the following: a position of the target control, a style of the target control, and a usage frequency of the target control;
[0063] Based on the control information, first page data is determined.
[0064] In a third aspect, an embodiment of the present application provides an electronic device, including:
[0065] Memory for storing computer programs;
[0066] The processor is used to execute the computer program stored in the memory, and when the computer program is executed, the method of any embodiment of the page generation method of the first aspect of the present application is implemented.
[0067] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method of any embodiment of the page generation method of the first aspect described above is implemented.
[0068] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a computer-readable code. When the computer-readable code is executed on a device, a processor in the device implements a method as in any embodiment of the page generation method of the first aspect described above.
[0069] The page generation method provided in the embodiment of the present application can obtain the operation duration of the first operation performed by the first user on the target application, wherein the operation duration indicates the duration of the first user performing the first operation, and then, based on the operation duration, determine the age information of the first user, and then, based on the age information, determine the first page data, wherein the first page data is used to generate the target page. Finally, the target page is generated based on the first page data. Thus, the age of the user can be determined by the operation duration of the operation performed by the user on the application, and then a page can be generated based on the age. In this way, when the user does not provide an age or the provided age is inaccurate, a page that better matches the user's age can be generated for the user, and in this way, the matching degree between the automatically generated page and the user can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0071] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0072] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0073] Figure 1 A schematic diagram of a flow chart of a page generation method provided in an embodiment of the present application;
[0074] Figure 2 A flowchart of another page generation method provided in an embodiment of the present application;
[0075] Figure 3 A flowchart of another page generation method provided in an embodiment of the present application;
[0076] Figure 4 A schematic diagram of the structure of a page generation device provided in an embodiment of the present application;
[0077] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0078] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. It should be noted that unless otherwise specifically stated, the relative arrangement of the components and steps, the numerical expressions and the numerical values described in these embodiments do not limit the scope of the present application.
[0079] Those skilled in the art will understand that the terms "first" and "second" in the embodiments of the present application are only used to distinguish between different steps, devices, modules and other objects, and do not represent any specific technical meanings, nor do they indicate the logical order between them.
[0080] It should also be understood that in this embodiment, “plurality” may refer to two or more than two, and “at least one” may refer to one, two or more than two.
[0081] It should also be understood that any component, data or structure mentioned in the embodiments of the present application can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.
[0082] In addition, the term "and / or" in this application is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this application generally indicates that the associated objects before and after are in an "or" relationship.
[0083] It should also be understood that the description of the various embodiments in this application focuses on the differences between the various embodiments, and the same or similar aspects thereof can be referenced to each other, and for the sake of brevity, they will not be described one by one.
[0084] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present application, its application, or uses.
[0085] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the above-mentioned technologies, methods, and equipment should be considered as part of the specification.
[0086] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0087] It should be noted that, in the absence of conflict, the embodiments in this application and the features in the embodiments can be combined with each other. To facilitate the understanding of the embodiments of the present application, the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0088] In addition, it should be noted that the users described in this application (such as the first user and the second user) can be distinguished by user identification. For example, the user identification can be a login account. In this scenario, if different persons use the same account to log in, the above-mentioned different persons can be considered to be the same user; if the same person uses different accounts to log in respectively, the same person who logs in to different accounts can be considered to be different users. For another example, when the device is not logged in, the user identification can also be assigned based on the device identification of the device. In this scenario, if different persons use devices with the same device identification to operate, the above-mentioned different persons can be considered to be the same user; if the same person uses devices with different device identifications to operate, the above-mentioned same person can be considered to be different users.
[0089] In order to solve the technical problem of how to improve the matching degree between automatically generated pages and users in the prior art, the present application provides a page generation method, device, electronic device and storage medium, which can improve the matching degree between automatically generated pages and users.
[0090] Figure 1A schematic flow chart of a page generation method provided for an embodiment of the present application. The method can be applied to one or more electronic devices such as a smart phone, a laptop computer, a desktop computer, a portable computer, a server, etc. In addition, the execution subject of the method can be hardware or software. When the above-mentioned execution subject is hardware, the execution subject can be one or more of the above-mentioned electronic devices. For example, a single electronic device can execute the method, or a plurality of electronic devices can cooperate with each other to execute the method. When the above-mentioned execution subject is software, the method can be implemented as a plurality of software or software modules, or as a single software or software module. No specific limitation is made herein.
[0091] like Figure 1 As shown, the method specifically includes:
[0092] Step 101: Obtain an operation duration of a first operation performed by a first user on a target application, wherein the operation duration indicates a duration for the first user to perform the first operation.
[0093] In this embodiment, the first user may be any user. The first user may perform the first operation on the target application through a device used by the first user (eg, the first device).
[0094] The target application may be any application. As an example, the target application may be an application for controlling a smart device. The smart device may be a device with networking capabilities, such as a smart purifier, smart curtains, smart air conditioners, etc. In addition, the target application may also be social software, shopping platforms, and other applications.
[0095] The first operation may be any operation performed by the first user on the target application. As an example, the first operation may be a click operation, a slide operation, a face recognition operation, etc.
[0096] Step 102: Determine the age information of the first user based on the operation duration.
[0097] In this embodiment, the age information may indicate the age of the first user, or may indicate the age range of the first user.
[0098] Here, multiple methods may be used to determine the age information of the first user based on the operation duration.
[0099] As an example, in the case where the age information represents the age of the first user, the age information of the first user may be determined based on the operation time by a formula representing the corresponding relationship between the operation time and the age information.
[0100] As another example, the age information of the first user may be determined based on the operation time by using a correspondence table indicating the correspondence between the operation time and the age information.
[0101] As another example, the age information of the first user may also be determined based on the operation duration by using a pre-trained artificial intelligence model, wherein the artificial intelligence model may be, for example, a convolutional neural network model trained using training samples containing operation duration and age information.
[0102] Step 103: determining first page data based on the age information, wherein the first page data is used to generate a target page.
[0103] In this embodiment, the first page data may be various data of the target page to be generated.
[0104] For example, the first page data may include but is not limited to at least one of the following: the font size of the target page, the size of the area occupied by each control of the target page, the order of each control of the target page, and the like.
[0105] Among them, the above-mentioned controls can be text input boxes, search boxes, drop-down menus, function buttons, etc.
[0106] Here, various methods may be used to determine the first page data based on the age information.
[0107] As an example, a user whose age matches the age information may be determined first. For example, if the age information indicates that the user is 30 years old, then a 30-year-old user A may be determined. Afterwards, the page data set by the user is used as the first page data. For example, the page data set by the user A through the target application or an application associated with the target application is used as the first page data.
[0108] As another example, the first page data may be determined based on the age information by using a table or a machine learning model that indicates the correspondence between the age information and the first page data.
[0109] Step 104: Generate the target page based on the first page data.
[0110] In this embodiment, after the first page data is obtained, the target page may be generated based on the first page data.
[0111] For example, if the first page data indicates that the font size of the target page is 5 points (pt), then the target page with a font size of 5 points may be generated.
[0112] For another example, if the first page data indicates that position A of the target page is used to display control A, then a target page with control A located at position A may be generated.
[0113] Optionally, after the target page is generated, the target page may be further displayed.
[0114] In some optional implementations of this embodiment, after generating the target page based on the first page data, the following steps may be further performed:
[0115] The first step is to detect a second operation performed by the first user on the displayed target page.
[0116] The second operation may be any operation performed by the first user on the displayed target page. The second operation may be the same as or different from the first operation.
[0117] In a second step, when the second operation is detected, operation information of the second operation is determined.
[0118] The operation information may include but is not limited to: operation location, operation duration, operation timestamp, etc.
[0119] The third step is to determine the third page data based on the operation information.
[0120] The third page is used to generate a new target page.
[0121] The third page data may be various data of a new target page to be generated.
[0122] The new target page is a page generated after the target page generated in step 104 above.
[0123] For example, the third page data may include but is not limited to at least one of the following: the font size of the new target page, the area size occupied by each control of the new target page, the order of each control of the new target page, and the like.
[0124] Here, the third page data may be determined based on the operation information in a variety of ways.
[0125] As an example, the user whose operation is consistent with the above operation information can be first determined. For example, if the operation duration indicated by the above operation information is A, then the user B whose operation duration is A can be determined. After that, the page data set by the user is used as the third page data. Alternatively, based on the first page data and the page data set by the user, three pages of data are determined. For example, the page data set by the user B through the target application or an application associated with the target application is used as the third page data.
[0126] As another example, the third page data may be determined based on the operation information by using a table or a machine learning model that indicates a correspondence between the operation information and the third page data.
[0127] The fourth step is to generate a new target page based on the third page data.
[0128] After the third page data is obtained, a new target page may be generated based on the third page data.
[0129] For example, if the third page data indicates that the font size of the new target page is 4 points (pt), then a new target page with a font size of 4 points may be generated.
[0130] For another example, if the third page data indicates that position B of the target page is used to display control A, then a new target page with control A located at position B may be generated.
[0131] Optionally, after the new target page is generated, the new target page may be further displayed.
[0132] It can be understood that in the above optional implementation method, after the target page is displayed, the target page can be re-determined or adjusted based on the user's operation information on the displayed page, thereby achieving dynamic adjustment of the target page to meet the usage needs of the same user at different times.
[0133] In some application scenarios of the above optional implementations, the following method may be used to determine the third page data based on the operation information:
[0134] The first step is to determine the operation control and operation time information of the second operation based on the operation information.
[0135] The operation control represents an operation object of the second operation.
[0136] The operation time information may indicate the operation duration, operation timestamp, operation frequency, etc. of the operation control.
[0137] Here, the operation information may include the operation control and operation time information of the second operation. Thus, the operation control and operation time information of the second operation may be determined by parsing the operation information.
[0138] The second step is to determine the third page data based on the operation control and the operation time information.
[0139] Here, multiple methods may be used to determine the third page data based on the operation control and the operation time information.
[0140] As an example, the third page data may be determined based on the operation control and the operation time information through a table or a machine learning model representing the correspondence between the operation control, the operation time information, and the third page data.
[0141] As another example, when the operation time information indicates the operation frequency of each of the operation controls, the position of the corresponding operation control can be determined according to the operation frequency of each operation control, and the determined position can be determined as the third page data. For example, for an operation control with a higher operation frequency, its position can be determined to be higher and / or to the left of the new target page to be generated relative to an operation control with a lower operation frequency.
[0142] It can be understood that in the above application scenarios, the target page can be re-determined or adjusted through operation controls and operation time information, thereby making the target page more in line with the personalized needs of different users, and dynamic adjustment of the target page can be achieved, thereby improving the customization of page generation.
[0143] In some optional implementations of this embodiment, the first page data may be determined based on the age information in the following manner:
[0144] The first step is to determine the control information of the target control of the target page based on the age information.
[0145] The control information includes at least one of the following: the position of the target control, the style of the target control, and the usage frequency of the target control.
[0146] As an example, in the case where the control information includes the position of the target control, the operation position data of the screen of the device (for example, including the first device, and also including other devices) used by multiple users matching the age information can be obtained. Based on the obtained operation position data, from multiple screen areas of the above-mentioned device (for example, the screen of the device can be equally divided into N areas, thereby obtaining N screen areas, where N is an integer greater than 2), the screen area with the most operations by multiple users matching the age information is determined, and it is used as the target screen area. In this way, the position corresponding to the target screen area in the first device can be determined as the control information of the target control of the target page.
[0147] As another example, in the case where the control information includes the usage frequency of the target control, the usage frequency of the control in the application installed by the multiple users matching the age information on the devices used can be obtained. Thus, the control information of the target control of the target page can be determined based on the usage frequency of the target control in the target application installed by the multiple users on the devices used. For example, the average value of the usage frequency of the target control by the multiple users can be determined as the control information of the target control of the target page.
[0148] The second step is to determine the first page data based on the control information.
[0149] Here, the control information may be directly determined as the first page data. Alternatively, the first page data may be determined based on page data of other pages (eg, system desktop) other than the target page in the first device.
[0150] It is understood that in the above optional implementation, the control information such as the position, style and usage frequency of the target control of the target page can be determined by the age information, so that the matching degree between the automatically generated page and the user's age can be improved.
[0151] It should be noted that, in the absence of conflict, the technical features recorded in different optional implementations may be included in the same embodiment, and for the sake of brevity, they are not repeated here.
[0152] The page generation method provided in the embodiment of the present application can obtain the operation duration of the first operation performed by the first user on the target application, wherein the operation duration indicates the duration of the first user performing the first operation, and then, based on the operation duration, determine the age information of the first user, and then, based on the age information, determine the first page data, wherein the first page data is used to generate the target page. Finally, the target page is generated based on the first page data. Thus, the age of the user can be determined by the operation duration of the operation performed by the user on the application, and then a page can be generated based on the age. In this way, when the user does not provide an age or the provided age is inaccurate, a page that better matches the user's age can be generated for the user, and in this way, the matching degree between the automatically generated page and the user can be improved.
[0153] Figure 2 A flowchart of another page generation method provided in an embodiment of the present application.
[0154] like Figure 2 As shown, the method specifically includes:
[0155] Step 201: Detect the network configuration operation performed on the target application.
[0156] In this embodiment, the target application may be any application. As an example, the target application may be an application for controlling a smart device. The smart device may be a device with networking function, such as a smart purifier, smart curtain, smart air conditioner, etc. In addition, the target application may also be an application such as a social software or a shopping platform.
[0157] The network configuration operation can be used to establish a connection between the target application and the network.
[0158] In this embodiment, after the target application is successfully networked, a history record of its successful network configuration may be stored.
[0159] Step 202: When the network configuration operation is detected, determine whether there is a historical record of successful network configuration of the target application.
[0160] In this embodiment, when the network configuration operation is detected, it is determined whether there is a historical record of successful network configuration of the target application (ie, whether it has been stored).
[0161] Step 203: if the historical record exists, obtain the operation duration of the first operation performed by the first user on the target application.
[0162] In this embodiment, when the historical record exists (ie, has been stored), the operation duration of the first operation performed by the first user on the target application is obtained.
[0163] The first user may be any user. The first user may perform a first operation on the target application through a device used by the first user (eg, a first device).
[0164] The first operation may be any operation performed by the first user on the target application. As an example, the first operation may be a click operation, a slide operation, a face recognition operation, etc.
[0165] Step 204: Determine the age information of the first user based on the operation duration.
[0166] In this embodiment, step 204 and Figure 1 Step 102 in the corresponding embodiment is basically the same and will not be described again here.
[0167] Step 205: determining first page data based on the age information, wherein the first page data is used to generate a target page.
[0168] In this embodiment, step 205 and Figure 1 Step 103 in the corresponding embodiment is basically the same and will not be described again here.
[0169] Step 206: Determine first page data based on the age information, wherein the first page data is used to generate a target page.
[0170] In this embodiment, step 206 and Figure 1 Step 104 in the corresponding embodiment is basically the same and will not be described again here.
[0171] In some optional implementations of this embodiment, after determining whether there is a historical record of successful network configuration of the target application, the following steps may also be performed:
[0172] The first step is to obtain the location information of the first device on which the target application is installed when the historical record does not exist.
[0173] The first device may be a device installed with the target application. The number of the first devices may be one or more. For example, the first device may include a device used by the first user, or may include a device used by other users except the first user.
[0174] The location information can be obtained by the first device locating its own location.
[0175] The second step is to determine the first page data based on the position information.
[0176] Here, various methods may be used to determine the first page data based on the location information.
[0177] As an example, the first page data may be determined based on the location information and the age information of the first user.
[0178] As another example, a preset area closest to the location indicated by the location information may be determined from the preset area set. Then, the first page data is determined based on the page data of the device (e.g., the device with the target application installed, or any one or more devices) in the determined preset area.
[0179] Among them, each preset area in the above preset area set can represent a province or a city, etc.
[0180] It is understood that in the above optional implementation, when the historical record does not exist (i.e., the target application installed on the first device is configured for the first time), the target page can be generated by the location information of the first device. Thus, in the scenario where the target application installed on the first device is configured for the first time, the matching degree between the automatically generated page and the user can be improved.
[0181] In some application scenarios of the above optional implementation manners, the following manner may also be used to determine the first page data based on the location information:
[0182] The first step is to determine a target area including the location indicated by the location information from a predetermined area set.
[0183] Each region in the above predetermined region set may represent a province or a city, etc.
[0184] The target area may be an area in a predetermined area set, including the location indicated by the location information.
[0185] The second step is to determine a second device located in the target area.
[0186] The second device may be one or more devices determined to be located in the target area.
[0187] The third step is to determine the second page data of the target page associated with the second user of the second device.
[0188] The second user may be a user using the second device, or may be a user represented by an account logged in by the second device.
[0189] The second page data may be page data of the target page associated with the second user.
[0190] Here, the page data set by each user (eg, the second user) through the target page, or the page data of the target page determined for each user (eg, the second user), may be used as the second page data associated with the user.
[0191] The fourth step is to determine the first page data based on the second page data.
[0192] As an example, the second page data may be directly determined as the first page data. Alternatively, the first page data may be determined based on the second page data and at least one of the age information of the first user and the location information of the first device used by the first user.
[0193] It is understandable that in the above application scenario, the target page can be generated by determining page data associated with other devices located in the same area as the first device, thereby further improving the matching degree between the automatically generated page and the user.
[0194] It should be noted that, in addition to the above contents, this embodiment may also include Figure 1 The corresponding technical features described in the corresponding embodiments are realized Figure 1 For details, please refer to the technical effect of the page generation method shown in Figure 1 For the sake of brevity, the relevant description is not repeated here.
[0195] The page generation method provided in the embodiment of the present application can obtain the operation duration of the first operation performed by the first user on the target application only when there is a historical record of successful network configuration of the target application (that is, not the first network configuration), wherein the operation duration indicates the duration of the first user performing the first operation, and then generate the target page. Thus, when the user has performed a certain number of operations on the application, a page that is more suitable for the user's age can be generated for the user, so that the matching degree between the automatically generated page and the user can be further improved.
[0196] The following is an illustrative description of the embodiments of the present application, but it should be noted that the embodiments of the present application may have the features described below, but the following description does not constitute a limitation on the scope of protection of the embodiments of the present application.
[0197] Before introducing this solution, the following terms are explained:
[0198] Smart home: Smart home refers to the use of advanced information technology and Internet of Things (IoT) technology to connect traditional home appliances and systems with the Internet to achieve automated, intelligent and convenient home management and control systems.
[0199] Data analysis is a process of analyzing, summarizing, understanding and digesting a large amount of collected data through appropriate statistical analysis methods, aiming to maximize the development of data functions and play the role of data. Its core goal is to extract useful information and form conclusions from data to help enterprises or institutions make more informed decisions.
[0200] In this solution, a UI (User Interface) component library can be built into the target application, and information such as component parameters can be adjusted. The user is required to grant the APP (Application) permissions such as identification of mobile phone models, precise positioning, Bluetooth, WiFi (wireless fidelity, wireless network technology), etc.
[0201] 1. Basic component library: including buttons, sliding boxes, display logic, etc.
[0202] 2. User network configuration and device identification: For example, the APP communicates with the device through Bluetooth, WiFi or other protocols to obtain device type information and analyze the API (Application Programming Interface) or SDK (Software Development Kit) provided by the device to obtain detailed device functions and status.
[0203] Here, depending on the APP used, the supported devices may also be different. Take the smart home platform application as an example:
[0204] The target application can control a variety of devices, such as air conditioners, sweeping robots, electric heaters, fans, range hoods and other home appliances.
[0205] When the user configures the network for the first time, the server can record the following information:
[0206] When the device is configured for the first time, the server stores the deviceId (device identifier); when the user uses it for the first time, the server generates the clientId (service identifier)
[0207] When the user configures the network through the APP (that is, the target application mentioned above), the server will associate the clientId and deviceId, that is, the device belongs to the user (assuming there is an associated password key), and this key can be used to control and query usage.
[0208] That is, the first network configuration can be understood as the first time a user configures a certain type of device (the clientId is bound to the deviceId for the first time).
[0209] 3. UI generation: When the user is configuring the network for the first time (i.e. there is no history record of successful configuration of the target application), and the server does not record the user's usage habits, the usage habits of most users (i.e. the second user) in the area (i.e. the target area) are determined based on the device positioning information (i.e. the above-mentioned location information) (for example, near a nursing home, most users prefer to display a larger UI with a lower trigger sensitivity, i.e. the control command is issued more than 0.1 seconds after the user clicks the button, etc., to ensure the accuracy of the user's command). The UI interaction plug-in is generated for the first time based on the positioning information.
[0210] Here, you can use the following method to determine whether you are in the target area: Currently, most APPs require uploading of geographic location information during the network configuration process to provide more accurate services, and home IoT devices will not easily change their location once they are configured.
[0211] The above target area can be within the city, because the number of users in the city will be more concentrated and the collected data will be more referenceable.
[0212] UI layout: First, according to the user usage in a certain area, the high-priority and commonly used functional UI will be placed in the front, and can also be distinguished by color, shape, etc. to facilitate user search, such as switches, temperature control, wind speed control, etc.
[0213] The user's usage preferences are detailed. For example, right angles / rounded corners, the degree of rounded corners, whether the UI style has fill, etc.
[0214] Tactile feedback: different colors / vibration frequencies under different pressures, adjust the degree of triggering success, etc.
[0215] Monitor user usage habits: When users interact with the UI, you can record the user's use of each function, including the number of times, usage time, etc. Every time a user opens the plug-in page to control the device, the functions that users use most frequently can be placed in a more prominent position in the front, and the user can be highlighted to remind the user that the UI has changed. You can check whether the user finds a certain function by sliding or pausing each time he opens the plug-in page, and balance the priority order between each function through algorithms (such as weighted average method, increasing the weight of this function).
[0216] Among them, according to reading habits, it can be placed in the upper left corner of all function keys (that is, a conspicuous position), or distinguished by color, size, and type.
[0217] Assuming that the device has been configured with the network using the APP, you can see the "Room" page in the APP, under which there are some small icons of the configured devices.
[0218] Click the "small icon" of the corresponding smart home device, and you can see more information and more functions of the smart home device on the page you enter. Then this page becomes the "plug-in page"
[0219] In the plug-in page, different devices are integrated with the layout of displaying their device detailed information (horizontal / vertical progress bar, font size, button shape, click control or sliding control, etc.). These "layouts" are provided by different plug-ins (corresponding to the above controls).
[0220] Here, the following indicators can be weighted:
[0221] 1) Click frequency. For example, for air conditioners, users in different regions, such as Guangdong, have a low frequency of using the air conditioner's "heating mode".
[0222] 2) Control feedback. If the device has many functions, the user may need to slide the function list to control the desired function; or the function the user wants to control is a sub-function of a larger function, and needs to click two layers of tabs to control it, etc.;
[0223] 5. Tactile feedback and sensitivity habits: Determine whether the user has special operations, such as whether there is a pause in certain operations that can be triggered by a single click (on / off, increase / decrease buttons, etc.). This can be used to determine the user's age group. The elderly may stay on the buttons a little longer when using the mobile phone, so the sensitivity of the button triggering can be reduced.
[0224] 6. Analyze step 3 through unsupervised learning, and process the user's usage habits through supervised learning. According to the user's usage habits, a UI plug-in suitable for the user can be generated during the subsequent user use.
[0225] Specifically, the network configuration records, user usage habits and other information of all users in a certain area can be collected as a "data set" at regular intervals.
[0226] The above-mentioned unsupervised learning method can be, for example, a "cluster analysis" algorithm model, where the "data set" is input into the model, and the algorithm automatically discovers the structure or pattern of the data to form a cluster set. A decision is made on the "clustering result", that is, it is given to users for use, and then user usage feedback is collected to verify whether the model needs to be adjusted, and adjustments are made within the next time period.
[0227] As an example, different goals can be set for different devices. For example, when a user uses an air conditioner in the XX quarter, the server will give a prediction (when to turn on the air conditioner, what temperature to set, which specific functions to use, etc.). Assume that a "linear regression" model is used, and the "prediction" is used as a label to train a linear regression model for users in a certain area and within a certain period of time. Based on the trained model, the user's next behavior is predicted and a UI is generated.
[0228] For example, if a user uses an air conditioner and frequently adjusts the temperature, the temperature control button / slider bar will be advanced when the user enters the device details page.
[0229] In addition, different devices can use different methods to determine the timing of generating the target page. For example, taking air conditioners as an example, the following methods can be used to determine the timing and frequency of generating the target page:
[0230] The first time to generate the target page can be when the device network configuration is completed. The frequency of generating the target page can be fine-tuned by month. For example, in summer, users may want to adjust the wind speed and temperature when they just turn on the air conditioner; at the end of summer, users may only need to turn on the air conditioner; it can also be adjusted by season. For example, the south is prone to return of the south in spring, and functions such as dehumidification, air supply, and wind speed have high priority; cooling mode, wind speed, temperature and other functions in summer; heating mode in winter, etc.
[0231] It should be noted that, in addition to the contents recorded above, this embodiment may also include the technical features described in the above embodiments, so as to achieve the technical effects of the page generation method shown above. Please refer to the above description for details. For the sake of brevity, it will not be repeated here.
[0232] The page generation method provided in the embodiment of the present application can identify different user information, analyze user usage, determine user usage habits, and adaptively generate a UI suitable for the user. Based on the user's usage habits, when the user uses the APP to control the IoT device, a UI interface suitable for the user's usage habits is generated. Then, based on the user's feedback during the interaction process, the user's APP usage habits are customized to enhance the user's usage experience. Therefore, by recording the user's usage habits, during the user's configuration of new devices, a UI interface and control method suitable for the user can be adaptively generated based on the user's usage habits and the requirements for the execution of various operations.
[0233] Figure 4 A schematic diagram of the structure of a page generation device provided in an embodiment of the present application. Specifically comprising:
[0234] A first acquisition unit 401 is used to acquire an operation duration of a first operation performed by a first user on a target application, wherein the operation duration indicates a duration for which the first user performs the first operation;
[0235] A first determining unit 402, configured to determine the age information of the first user based on the operation duration;
[0236] A second determining unit 403 is used to determine first page data based on the age information, wherein the first page data is used to generate a target page;
[0237] The first generating unit 404 is configured to generate the target page based on the first page data.
[0238] In a possible implementation, before obtaining the operation duration of the first operation performed by the first user on the target application, the apparatus further includes:
[0239] A first detection unit (not shown in the figure), used to detect a network configuration operation performed on a target application;
[0240] A third determining unit (not shown in the figure) is used to determine whether there is a historical record of successful network configuration of the target application when the network configuration operation is detected; and obtaining the operation duration of the first operation performed by the first user on the target application includes:
[0241] If the historical record exists, the operation duration of the first operation performed by the first user on the target application is obtained.
[0242] In a possible implementation manner, after determining whether there is a historical record of successful network configuration of the target application, the device further includes:
[0243] A second acquisition unit (not shown in the figure), configured to acquire location information of a first device on which the target application is installed when the historical record does not exist;
[0244] The third determining unit (not shown in the figure) is used to determine the first page data based on the position information.
[0245] In a possible implementation, determining the first page data based on the location information includes:
[0246] Determine a target area including the location indicated by the location information from a predetermined set of areas;
[0247] determining a second device located in the target area;
[0248] Determining second page data of the target page associated with a second user of the second device;
[0249] Based on the second page data, first page data is determined.
[0250] In a possible implementation manner, after generating the target page based on the first page data, the device further includes:
[0251] A second detection unit (not shown in the figure), configured to detect a second operation performed by the first user on the displayed target page;
[0252] a fourth determining unit (not shown in the figure), configured to determine operation information of the second operation when the second operation is detected;
[0253] a fifth determining unit (not shown in the figure), configured to determine third page data based on the operation information, wherein the third page is used to generate the new target page;
[0254] The second generating unit (not shown in the figure) is used to generate the new target page based on the third page data.
[0255] In a possible implementation manner, determining the third page data based on the operation information includes:
[0256] Based on the operation information, determining an operation control and operation time information of the second operation;
[0257] Based on the operation control and the operation time information, third page data is determined.
[0258] In a possible implementation manner, determining the first page data based on the age information includes:
[0259] Determine, based on the age information, control information of a target control of a target page, wherein the control information includes at least one of the following: a position of the target control, a style of the target control, and a usage frequency of the target control;
[0260] Based on the control information, first page data is determined.
[0261] The page generation device provided in this embodiment can be as follows Figure 4 The page generation device shown in can execute all the steps of the above-mentioned page generation methods, thereby achieving the technical effects of the above-mentioned page generation methods. Please refer to the above related description for details. For the sake of brevity, it will not be repeated here.
[0262] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application, Figure 5 The electronic device 500 shown includes: at least one processor 501, a memory 502, at least one network interface 504 and other user interfaces 503. The various components in the electronic device 500 are coupled together via a bus system 505. It is understood that the bus system 505 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 505 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 505 is not described in detail. Figure 5 Various buses are labeled as bus system 505 .
[0263] The user interface 503 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).
[0264] It can be understood that the memory 502 in the embodiment of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct RAM bus random access memory (DRRAM). The memory 502 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0265] In some implementations, the memory 502 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 5021 and an application program 5022 .
[0266] Among them, the operating system 5021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 5022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present application can be included in the application 5022.
[0267] In this embodiment, by calling the program or instruction stored in the memory 502, specifically, the program or instruction stored in the application 5022, the processor 501 is used to execute the method steps provided by each method embodiment, for example, including:
[0268] Acquire an operation duration of a first operation performed by a first user on a target application, wherein the operation duration indicates a duration for which the first user performs the first operation;
[0269] Determining age information of the first user based on the operation duration;
[0270] Based on the age information, determining first page data, wherein the first page data is used to generate a target page;
[0271] The target page is generated based on the first page data.
[0272] The method disclosed in the above embodiment of the present application can be applied to the processor 501, or implemented by the processor 501. The processor 501 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 501. The above processor 501 can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to execute, or the hardware and software units in the decoding processor can be executed. The software unit can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502 and completes the steps of the above method in combination with its hardware.
[0273] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPDevice, DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the above functions of the present application, or a combination thereof.
[0274] For software implementation, the technology described above in this article can be implemented by a unit that performs the functions described above in this article. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.
[0275] The electronic device provided in this embodiment may be Figure 5 The electronic device shown in can execute all the steps of the above-mentioned page generation methods, thereby achieving the technical effects of the above-mentioned page generation methods. Please refer to the above related description for details. For the sake of brevity, it will not be repeated here.
[0276] The embodiment of the present application also provides a storage medium (computer-readable storage medium). The storage medium here stores one or more programs. The storage medium may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above-mentioned types of memory.
[0277] When one or more programs in the storage medium can be executed by one or more processors, the page generation method executed on the electronic device side can be implemented.
[0278] The processor is used to execute the page generation program stored in the memory to implement the following steps of the page generation method executed on the electronic device side:
[0279] Acquire an operation duration of a first operation performed by a first user on a target application, wherein the operation duration indicates a duration for which the first user performs the first operation;
[0280] Determining age information of the first user based on the operation duration;
[0281] Based on the age information, determining first page data, wherein the first page data is used to generate a target page;
[0282] The target page is generated based on the first page data.
[0283] The professionals should also be further aware that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0284] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0285] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0286] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.
Claims
1. A page generation method, characterized in that: The method comprises: Acquire an operation duration of a first operation performed by a first user on a target application, wherein the operation duration indicates a duration for which the first user performs the first operation; Determining age information of the first user based on the operation duration; Based on the age information, determining first page data, wherein the first page data is used to generate a target page; The target page is generated based on the first page data.
2. The method according to claim 1, characterized in that Before obtaining the operation duration of the first operation performed by the first user on the target application, the method further includes: Detect network configuration operations performed on target applications; In the case where the network configuration operation is detected, determining whether there is a historical record of successful network configuration of the target application; and The obtaining the operation duration of the first operation performed by the first user on the target application includes: If the historical record exists, an operation duration of a first operation performed by the first user on the target application is obtained.
3. The method according to claim 2, characterized in that After determining whether there is a historical record of successful network configuration of the target application, the method further includes: In the absence of the historical record, obtaining location information of a first device on which the target application is installed; Based on the position information, first page data is determined.
4. The method according to claim 3, characterized in that The determining the first page data based on the position information includes: Determine a target area including the location indicated by the location information from a predetermined set of areas; determining a second device located in the target area; Determining second page data of the target page associated with a second user of the second device; Based on the second page data, first page data is determined.
5. The method according to any one of claims 1 to 4, characterized in that: After generating the target page based on the first page data, the method further includes: detecting a second operation performed by the first user on the displayed target page; In case the second operation is detected, determining operation information of the second operation; Based on the operation information, determine third page data, wherein the third page is used to generate the new target page; Based on the third page data, a new target page is generated.
6. The method according to claim 5, characterized in that The determining the third page data based on the operation information includes: Based on the operation information, determining an operation control and operation time information of the second operation; Based on the operation control and the operation time information, third page data is determined.
7. The method according to any one of claims 1 to 4, characterized in that: The determining of the first page data based on the age information includes: Determine, based on the age information, control information of a target control of a target page, wherein the control information includes at least one of the following: a position of the target control, a style of the target control, and a usage frequency of the target control; Based on the control information, first page data is determined.
8. A page generating device, characterized in that: The device comprises: A first acquisition unit, configured to acquire an operation duration of a first operation performed by a first user on a target application, wherein the operation duration indicates a duration for the first user to perform the first operation; a first determining unit, configured to determine age information of the first user based on the operation duration; A second determining unit, configured to determine first page data based on the age information, wherein the first page data is used to generate a target page; The first generating unit is configured to generate the target page based on the first page data.
9. An electronic device, characterized in that: include: Memory for storing computer programs; The processor is used to execute the computer program stored in the memory, and when the computer program is executed, the page generation method of any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the page generation method of any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Mobile equipment page adjusting method and device, equipment and medium
CN119829864A