CN111796990B - Resource display method, device, terminal and storage medium - Google Patents
Resource display method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN111796990B CN111796990B CN202010627535.7A CN202010627535A CN111796990B CN 111796990 B CN111796990 B CN 111796990B CN 202010627535 A CN202010627535 A CN 202010627535A CN 111796990 B CN111796990 B CN 111796990B
- Authority
- CN
- China
- Prior art keywords
- resource
- display area
- user
- screen
- information
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000005192 partition Methods 0.000 claims abstract description 56
- 230000001960 triggered effect Effects 0.000 claims abstract description 27
- 230000006399 behavior Effects 0.000 claims description 39
- 230000002452 interceptive effect Effects 0.000 claims description 29
- 230000015654 memory Effects 0.000 claims description 14
- 238000012163 sequencing technique Methods 0.000 claims description 8
- 230000000694 effects Effects 0.000 abstract description 7
- 230000009471 action Effects 0.000 abstract description 5
- 210000003811 finger Anatomy 0.000 description 10
- 230000002093 peripheral effect Effects 0.000 description 10
- 230000001133 acceleration Effects 0.000 description 9
- 238000012545 processing Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000003993 interaction Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 238000007654 immersion Methods 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 2
- 239000000919 ceramic Substances 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
- 210000003813 thumb Anatomy 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/328—Computer systems status display
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The disclosure relates to a resource display method, a device, a terminal and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: acquiring at least one resource to be displayed and a target parameter of the at least one resource, wherein the target parameter is used for indicating the possibility that the resource is triggered by a user to perform target action; determining display areas corresponding to the at least one resource respectively from at least one display area of a screen of the terminal according to screen partition information of the terminal and target parameters of the at least one resource, wherein the screen partition information is used for indicating the position of the at least one display area and the operation degree of the user on the at least one display area; and displaying the at least one resource in the display area corresponding to each of the at least one resource. The method and the device can improve the effect of resource display and the convenience of resource operation.
Description
Technical Field
The disclosure relates to the technical field of computers, and in particular relates to a resource display method, a device, a terminal and a storage medium.
Background
As the screen of the terminal becomes larger, the terminal can display a plurality of resources on the screen at a time, and a user can select resources of interest to the user to operate. For example, the terminal may display a plurality of videos on a screen, and the user may click on any one of the videos for viewing.
In the related art, for a plurality of resources to be displayed, the terminal sequentially arranges and displays the plurality of resources on a screen, or randomly arranges and displays the plurality of resources, when a user wants to click on a certain resource, the user needs to find a display area of the resource from the screen and operate the resource, if the screen of the terminal is larger and the resource is more, the user cannot operate the interested resource conveniently, so that a resource display method is needed, and the effect of displaying the resource and the convenience of operating the resource are improved.
Disclosure of Invention
The disclosure provides a resource display method, a device, a terminal and a storage medium, which can improve the effect of resource display and the convenience of resource operation. The technical scheme of the present disclosure is as follows:
According to a first aspect of an embodiment of the present disclosure, there is provided a resource display method, including:
acquiring at least one resource to be displayed and a target parameter of the at least one resource, wherein the target parameter is used for indicating the possibility that the resource is triggered by a user to perform target action;
Determining display areas corresponding to the at least one resource respectively from at least one display area of a screen of the terminal according to screen partition information of the terminal and target parameters of the at least one resource, wherein the screen partition information is used for indicating the position of the at least one display area and the operation degree of the user on the at least one display area;
and displaying the at least one resource in the display area corresponding to each of the at least one resource.
In one possible implementation manner, the screen partition information is obtained through the following steps:
Dividing the screen into at least one display area according to the operation habit information of the user, and obtaining the position information and the type of the at least one display area, wherein the operation habit information is used for indicating the historical operation habit of the user on the screen, and the type is used for indicating the operation degree of the user on the display area;
the screen partition information is generated based on the location information and the type of the at least one display area.
In one possible implementation manner, the screen partition information is obtained through the following steps:
Dividing the screen into at least one display area according to the size information of the screen and the target number, and obtaining the position information of the at least one display area, wherein the number of the at least one display area is the target number;
Determining the type of the at least one display area according to the operation habit information of the user, wherein the operation habit information is used for indicating the historical operation habit of the user on the screen, and the type is used for indicating the operation degree of the user on the display area;
the screen partition information is generated based on the location information and the type of the at least one display area.
In one possible implementation manner, the operation habit information of the user includes at least one of the following:
fingerprint information of the user operating on the screen in a historical time period, wherein the fingerprint information is used for indicating left hand operation or right hand operation and operating fingers;
and the operation times of the user on at least one position of the screen in the historical time period.
In one possible implementation, the at least one display area includes a first display area and at least one second display area, and the first display area is operated to a higher degree than the at least one second display area;
the determining, according to the screen partition information of the terminal and the target parameter of the at least one resource, a display area corresponding to each of the at least one resource from at least one display area of a screen of the terminal includes:
According to the screen partition information of the terminal and the target parameter of the at least one resource, determining the first display area as a display area corresponding to a first resource, wherein the first resource is a resource of which the target parameter meets a first condition in the at least one resource;
and respectively determining the at least one second display area as a display area corresponding to each of at least one second resource, wherein the at least one second resource is a resource except the first resource in the at least one resource.
In one possible implementation manner, the at least one second display area includes a third display area, a fourth display area and a fifth display area, which are sequentially reduced in operation degree;
The determining the at least one second display area as the display area corresponding to the at least one second resource respectively includes:
determining the third display area as a display area corresponding to a third resource, wherein the third resource is a resource of which the target parameter accords with a second condition in the at least one second resource;
And determining the fourth display area as a display area corresponding to a fourth resource, wherein the fourth resource is a resource except the third resource in the at least one second resource.
In one possible implementation manner, the displaying the at least one resource in the display area corresponding to each of the at least one resource includes any one of the following:
Displaying a part of pictures of the first resource and interactive elements corresponding to the first resource in the first display area, and displaying pictures except the part of pictures in all pictures of the first resource in the fifth display area;
And displaying a part of pictures of the third resource and the interactive elements corresponding to the third resource in the third display area, and displaying pictures except the part of pictures in all pictures of the third resource in the fifth display area.
And displaying a part of pictures of the fourth resource and interactive elements corresponding to the fourth resource in the fourth display area, and displaying pictures except the part of pictures in all pictures of the fourth resource in the fifth display area.
In one possible implementation manner, the displaying the at least one resource in the display area corresponding to each of the at least one resource includes:
and displaying the at least one resource and the interactive element corresponding to the at least one resource in the display area corresponding to each of the at least one resource.
In one possible implementation manner, the obtaining at least one resource to be displayed and the target parameter of the at least one resource includes:
receiving the at least one resource sent by a server, wherein the at least one resource comprises sequencing information, the sequencing information is determined according to at least one of the characteristics of the user or the characteristics of the at least one resource, and the characteristics of the at least one resource are determined according to the degree to which the at least one resource is triggered by each user to trigger the target behavior;
and determining target parameters of the at least one resource according to the ordering information.
According to a second aspect of the embodiments of the present disclosure, there is provided a resource display device including:
an acquisition unit configured to perform acquisition of at least one resource to be displayed and a target parameter of the at least one resource, the target parameter being used to indicate a likelihood that the resource is triggered by a user to a target behavior;
A determining unit configured to perform determining display areas corresponding to the at least one resource from among at least one display area of a screen of the terminal according to screen partition information of the terminal for indicating a position of the at least one display area and a degree of operation of the at least one display area by the user and a target parameter of the at least one resource;
and a display unit configured to perform display of the at least one resource in a display area corresponding to each of the at least one resource.
In one possible implementation, the acquisition unit is further configured to perform:
Dividing the screen into at least one display area according to the operation habit information of the user, and obtaining the position information and the type of the at least one display area, wherein the operation habit information is used for indicating the historical operation habit of the user on the screen, and the type is used for indicating the operation degree of the user on the display area;
the screen partition information is generated based on the location information and the type of the at least one display area.
In one possible implementation, the acquisition unit is further configured to perform:
Dividing the screen into at least one display area according to the size information of the screen and the target number, and obtaining the position information of the at least one display area, wherein the number of the at least one display area is the target number;
Determining the type of the at least one display area according to the operation habit information of the user, wherein the operation habit information is used for indicating the historical operation habit of the user on the screen, and the type is used for indicating the operation degree of the user on the display area;
the screen partition information is generated based on the location information and the type of the at least one display area.
In one possible implementation manner, the operation habit information of the user includes at least one of the following:
fingerprint information of the user operating on the screen in a historical time period, wherein the fingerprint information is used for indicating left hand operation or right hand operation and operating fingers;
and the operation times of the user on at least one position of the screen in the historical time period.
In one possible implementation, the at least one display area includes a first display area and at least one second display area, and the first display area is operated to a higher degree than the at least one second display area;
the determining unit is configured to perform:
According to the screen partition information of the terminal and the target parameter of the at least one resource, determining the first display area as a display area corresponding to a first resource, wherein the first resource is a resource of which the target parameter meets a first condition in the at least one resource;
and respectively determining the at least one second display area as a display area corresponding to each of at least one second resource, wherein the at least one second resource is a resource except the first resource in the at least one resource.
In one possible implementation manner, the at least one second display area includes a third display area, a fourth display area and a fifth display area, which are sequentially reduced in operation degree;
the determining unit is configured to perform:
determining the third display area as a display area corresponding to a third resource, wherein the third resource is a resource of which the target parameter accords with a second condition in the at least one second resource;
And determining the fourth display area as a display area corresponding to a fourth resource, wherein the fourth resource is a resource except the third resource in the at least one second resource.
In one possible implementation, the display unit is configured to perform any one of the following:
Displaying a part of pictures of the first resource and interactive elements corresponding to the first resource in the first display area, and displaying pictures except the part of pictures in all pictures of the first resource in the fifth display area;
And displaying a part of pictures of the third resource and the interactive elements corresponding to the third resource in the third display area, and displaying pictures except the part of pictures in all pictures of the third resource in the fifth display area.
And displaying a part of pictures of the fourth resource and interactive elements corresponding to the fourth resource in the fourth display area, and displaying pictures except the part of pictures in all pictures of the fourth resource in the fifth display area.
In one possible implementation, the display unit is configured to perform:
and displaying the at least one resource and the interactive element corresponding to the at least one resource in the display area corresponding to each of the at least one resource.
In one possible implementation, the acquisition unit is configured to perform:
receiving the at least one resource sent by a server, wherein the at least one resource comprises sequencing information, the sequencing information is determined according to at least one of the characteristics of the user or the characteristics of the at least one resource, and the characteristics of the at least one resource are determined according to the degree to which the at least one resource is triggered by each user to trigger the target behavior;
and determining target parameters of the at least one resource according to the ordering information.
According to a third aspect of embodiments of the present disclosure, there is provided a terminal comprising:
One or more processors;
one or more memories for storing the one or more processor-executable instructions;
Wherein the one or more processors are configured to execute the instructions to implement the resource display method as described in the first aspect or any one of the possible implementations of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium, which when executed by a processor of a terminal, enables the terminal to perform the resource display method according to the first aspect or any one of the possible implementations of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product, which when executed by a processor of a terminal, enables the terminal to perform the resource display method according to the first aspect or any one of the possible implementations of the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
The target parameter of at least one resource to be displayed is obtained, and because the target parameter is used for indicating the possibility that the resource is triggered by the user to trigger the target behavior, the screen partition information of the terminal is used for indicating the operation degree of the user on at least one display area, so that when the display area corresponding to each at least one resource is determined according to the screen partition information and the target parameter of the at least one resource, the area with the highest operation degree of the user can be determined as the display area of the resource most likely to trigger the target behavior, thereby displaying the resource most likely to trigger the target behavior by the user in the area with the highest operation degree of the user, and the area with the highest operation degree of the user is the area most convenient to operate by the user, and the display effect of the resource and the convenience of the operation of the resource can be 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 disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
FIG. 1 is a schematic diagram of an implementation environment of a resource display method, according to an exemplary embodiment;
FIG. 2 is a flowchart illustrating a method of resource display, according to an example embodiment;
FIG. 3 is a flowchart illustrating a method of resource display, according to an example embodiment;
FIG. 4 is a block diagram of a resource display device, according to an example embodiment;
Fig. 5 is a block diagram of a terminal according to an exemplary embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
Fig. 1 is a schematic diagram of an implementation environment of a resource display method according to an exemplary embodiment, and referring to fig. 1, the implementation environment includes a terminal 101 and a server 102.
The terminal 101 is a terminal where a user is located, and the terminal 101 may be a smart phone, a tablet computer, a portable computer, a desktop computer, or the like. The terminal 101 may be provided with a target application, which may be an application running independently or an applet running in dependence on the independent application, and may provide a function of displaying resources. In one example, the target application may be a video application and the resource may be video. In the process of running the target application, the terminal 101 may trigger the terminal 101 to send a resource acquisition request to the server 102 through operation, receive a resource returned by the server 102 based on the resource acquisition request, and the terminal 101 may display the resource returned by the server 102.
The server 102 may be one server, a server cluster formed by a plurality of servers, a cloud computing platform, a virtualization center, or the like. The server 102 is used to provide background services for the target application.
The terminal 101 may be connected to the server 102 through a wireless network or a wired network, so that data interaction between the terminal 101 and the server 102 is possible.
The terminal 101 may refer broadly to one of a plurality of terminals, and those skilled in the art will recognize that the number of terminals may be greater or lesser. For example, the number of the terminals may be only one, or the number of the terminals may be tens or hundreds, or more, where other terminals are also included in the implementation environment. The number and type of terminals are not limited in the embodiments of the present disclosure.
Fig. 2 is a flowchart illustrating a resource display method according to an exemplary embodiment, and as shown in fig. 2, the resource display method is used in a terminal, and includes the following steps.
In step S21, at least one resource to be displayed and a target parameter of the at least one resource for indicating a likelihood that the resource is triggered by a user are acquired.
In step S22, according to the screen partition information of the terminal and the target parameter of the at least one resource, determining the display area corresponding to each of the at least one resource from at least one display area of the screen of the terminal, where the screen partition information is used to indicate the position of the at least one display area and the operation degree of the user on the at least one display area.
In step S23, the at least one resource is displayed in the display area to which the at least one resource corresponds, respectively.
According to the method provided by the embodiment of the disclosure, the target parameter of at least one resource to be displayed is obtained, and because the target parameter is used for indicating the possibility that the resource is triggered by the user to the target behavior, the screen partition information of the terminal is used for indicating the operation degree of the user on at least one display area, so that when the display area corresponding to each at least one resource is determined according to the screen partition information and the target parameter of the at least one resource, the area with the highest operation degree of the user can be determined as the display area of the resource most likely to trigger the target behavior by the user, and the area with the highest operation degree of the user, namely the area most convenient to operate by the user, can be displayed, and the effect of resource display and the convenience of resource operation can be improved.
In one possible implementation, the screen partition information is obtained by:
Dividing the screen into at least one display area according to operation habit information of the user, and obtaining position information and type of the at least one display area, wherein the operation habit information is used for indicating historical operation habits of the user on the screen, and the type is used for indicating the operation degree of the user on the display area;
the screen partition information is generated based on the location information and the type of the at least one display area.
In one possible implementation, the screen partition information is obtained by:
Dividing the screen into at least one display area according to the size information of the screen and the target number, and obtaining the position information of the at least one display area, wherein the number of the at least one display area is the target number;
Determining the type of the at least one display area according to the operation habit information of the user, wherein the operation habit information is used for indicating the historical operation habit of the user on the screen, and the type is used for indicating the operation degree of the user on the display area;
the screen partition information is generated based on the location information and the type of the at least one display area.
In one possible implementation, the operation habit information of the user includes at least one of the following:
Fingerprint information of the user operating on the screen during the history period, the fingerprint information being used to indicate left-hand operation or right-hand operation and the finger operating;
the number of operations of the user on at least one location of the screen over a historical period of time.
In one possible implementation, the at least one display area includes a first display area and at least one second display area, the first display area being operated to a higher degree than the at least one second display area;
the determining, according to the screen partition information of the terminal and the target parameter of the at least one resource, a display area corresponding to each of the at least one resource from at least one display area of a screen of the terminal includes:
According to the screen partition information of the terminal and the target parameter of the at least one resource, determining the first display area as a display area corresponding to a first resource, wherein the first resource is a resource of which the target parameter meets a first condition in the at least one resource;
And respectively determining the at least one second display area as a display area corresponding to each of at least one second resource, wherein the at least one second resource is a resource except the first resource in the at least one resource.
In one possible implementation manner, the at least one second display area includes a third display area, a fourth display area and a fifth display area, which are sequentially reduced in operation degree;
the determining the at least one second display area as the display area corresponding to the at least one second resource respectively includes:
Determining the third display area as a display area corresponding to a third resource, wherein the third resource is a resource of which the target parameter accords with a second condition in the at least one second resource;
and determining the fourth display area as a display area corresponding to a fourth resource, wherein the fourth resource is a resource except the third resource in the at least one second resource.
In one possible implementation manner, the displaying the at least one resource in the display area corresponding to each of the at least one resource includes any one of the following:
Displaying a part of pictures of the first resource and interactive elements corresponding to the first resource in the first display area, and displaying pictures except the part of pictures in all pictures of the first resource in the fifth display area;
And displaying a part of pictures of the third resource and interactive elements corresponding to the third resource in the third display area, and displaying pictures except the part of pictures in all pictures of the third resource in the fifth display area.
And displaying a part of pictures of the fourth resource and interactive elements corresponding to the fourth resource in the fourth display area, and displaying pictures except the part of pictures in all pictures of the fourth resource in the fifth display area.
In one possible implementation, the displaying the at least one resource in the display area corresponding to each of the at least one resource includes:
And displaying the at least one resource and the interaction element corresponding to the at least one resource in the display area corresponding to each of the at least one resource.
In one possible implementation, the obtaining at least one resource to be displayed and the target parameter of the at least one resource includes:
Receiving the at least one resource sent by the server, wherein the at least one resource comprises ordering information, the ordering information is determined according to at least one of characteristics of the user or characteristics of the at least one resource, and the characteristics of the at least one resource are determined according to the degree to which the at least one resource is triggered by each user to the target behavior;
and determining the target parameters of the at least one resource according to the ordering information.
Any combination of the above-mentioned optional solutions may be adopted to form an optional embodiment of the present disclosure, which is not described herein in detail.
The flow shown in fig. 2 is a basic flow of the embodiment of the present disclosure, and a detailed flow of the embodiment of the present disclosure will be described based on the basic flow.
Fig. 3 is a flowchart illustrating a resource display method according to an exemplary embodiment, which is used in a terminal as shown in fig. 3, the method including the following steps.
In step S31, the terminal acquires screen division information for indicating a position of at least one display area of the screen and a degree of operation of the at least one display area by the user.
The position of the display area refers to the position of the display area on the terminal screen. The higher the user's operation level on a certain display area, the more easily the display area is indicated to be the area that the user covers, that is, the more easily the user operates the area, the more convenient the user operates the display area.
In one possible implementation, the screen partition information is obtained by: dividing the screen into at least one display area according to operation habit information of the user, and obtaining position information and type of the at least one display area, wherein the operation habit information is used for indicating historical operation habits of the user on the screen, and the type is used for indicating the operation degree of the user on the display area; the screen partition information is generated based on the location information and the type of the at least one display area. The operation habit of the user can reflect the operation degree of the user on each position on the screen, namely the position which is convenient for the user to operate, so that the screen is partitioned according to the operation habit of the user, the position information of at least one display area and the operation degree of the user on the display area can be accurately obtained, and the accuracy of the generated screen partition information is higher.
Wherein, the operation habit information of the user can comprise at least one of the following: fingerprint information of the user operating on the screen during the history period, the fingerprint information being used to indicate left-hand operation or right-hand operation and the finger operating; the number of operations of the user on at least one location of the screen over a historical period of time. The fingerprint information during user operation and the operation times of the user on different positions on the screen can reflect the operation habits of the user, so that at least one of the fingerprint information and the operation times of the user on different positions can be used as the operation habit information of the user to divide the screen, the flexibility of the screen partition can be improved, and the accuracy of the screen partition can be improved.
The terminal may acquire at least one fingerprint information of the user operating on the screen during the history period, analyze the operation habit of the user according to the at least one fingerprint information, such as analyzing the direction of the fingerprint, and determine whether the user operates with the left hand or the right hand and with which finger, such as with the index finger or the thumb. The terminal can also acquire the operation record of the user on the screen in the historical time period, and count the operation times of the user on at least one position of the screen in the historical time period, so that the operation habit of the user, such as the position of the screen clicked most frequently by the user, is analyzed.
For the case that the operation habit information includes fingerprint information of the user operating on the screen in a history period, if the terminal determines that the user is a finger operation of the left hand according to the fingerprint information, the terminal may use an operable region of the finger of the left hand as a region with the highest operation degree in the at least one region, use a region on the screen away from the operable region as other regions in the at least one region, and use the other regions away from the operable region with a lower operation degree. For the operable area, the operable area can be set by a technician, or the operable area of the user can be obtained through testing of the operable area test page by the terminal. If the terminal determines that the user is a finger operation of the right hand according to the fingerprint information, the terminal may perform screen division by using a similar method, which is not described herein.
For the case that the operation habit information includes the number of operations of the user on at least one position of the screen in the history period, the terminal may divide the screen into at least one region according to the number of operations of the user on at least one position of the screen, taking a region composed of positions having the number of operations greater than the first threshold as a region having the highest degree of operation in the at least one region, taking a region composed of positions having the number of operations not greater than the first threshold and greater than the second threshold as a region having the higher degree of operation in the at least one region, and so on.
For the case that the operation habit information includes fingerprint information of the user operating on the screen and the number of times of the user operating on at least one position of the screen in a history period, the terminal may integrate the regions with the highest operation degree determined according to the fingerprint information and the number of times of the operation, respectively, for example, take an intersection of the fingerprint information and the operation number as the region with the highest operation degree in the at least one region, or take a union of the fingerprint information and the operation number of times of the user operating on the at least one region as the region with the highest operation degree in the at least one region, and may use a similar method for other regions to process, and finally divide the screen into at least one region.
The realization mode is that the terminal divides the screen into at least one display area directly according to the operation habit information of the user, and the position information and the type of the at least one display area are obtained.
In another possible implementation, the screen partition information is obtained by: dividing the screen into at least one display area according to the size information of the screen and the target number, and obtaining the position information of the at least one display area, wherein the number of the at least one display area is the target number; determining the type of the at least one display area according to the operation habit information of the user, wherein the operation habit information is used for indicating the operation habit of the user on the screen, and the type is used for indicating the operation degree of the user on the display area; the screen partition information is generated based on the location information of the at least one display area and the type of the at least one display area. The screen can be rapidly partitioned according to the size of the screen and the number of the display areas to be partitioned, at least one display area is obtained, and then the operation degree of the user on each display area is determined according to the operation habit of the user.
The terminal can carry out transverse division and longitudinal division on the screen according to the size information and the target number of the screen to obtain at least one display area, then the terminal can determine the operation degree of the user on the at least one display area according to the operation habit information of the user, and the type of the at least one display area is determined according to the operation degree.
The step S31 is an optional step, and in one possible embodiment, the terminal may acquire the screen partition information in advance and store it in the local storage, and when the screen partition information needs to be used, directly read the screen partition information from the local storage.
In step S32, the terminal acquires at least one resource to be displayed and a target parameter of the at least one resource, where the target parameter is used to indicate a possibility that the resource is triggered by the user to target a behavior.
The at least one resource may include any form of video, audio, picture, and the like, and the target behavior may include click behavior, praise behavior, attention behavior, forwarding behavior, collection behavior, comment behavior, and the like.
In one possible implementation, the obtaining at least one resource to be displayed and the target parameter of the at least one resource includes: receiving the at least one resource sent by the server, wherein the at least one resource comprises ordering information, the ordering information is determined according to at least one of characteristics of the user or characteristics of the at least one resource, and the characteristics of the at least one resource are determined according to the degree to which the at least one resource is triggered by each user to the target behavior; and determining the target parameters of the at least one resource according to the ordering information. By receiving at least one resource comprising ordering information from the server, the likelihood that the at least one resource is triggered by the user can be accurately determined according to the ordering information, and the accuracy of target parameters is further ensured, because the ordering information is determined according to at least one of characteristics of the user or characteristics of the resource, the characteristics of the user can reflect preference of the user to the resource, and the characteristics of the resource can reflect the degree to which each user triggers target behavior to the resource.
The server may acquire the at least one resource and send the at least one resource to the terminal when detecting that the user logs in on the terminal, or may acquire the at least one resource and send the at least one resource to the terminal when receiving a resource acquisition request sent by the terminal. For example, the server may obtain the at least one resource from a resource database, and determine ranking information for the at least one resource based on at least one of the characteristics of the user or the characteristics of the at least one resource. Wherein the characteristics of the user may include age, gender, city, registration time, etc. of the user, and the characteristics of the at least one resource may include click-through rate, praise rate, attention rate, etc. For the situation that the server determines the ordering information of the at least one resource according to the characteristics of the at least one resource, for each resource, the server can perform weighted summation according to each characteristic of the resource to obtain a comprehensive score of the resource, taking the characteristics of the resource including click rate, praise rate and attention rate as an example, and the server can perform weighted summation according to the click rate, praise rate and attention rate of the resource to obtain the comprehensive score of the resource. For example, the click rate is represented by ctr, the praise rate is represented by ltr, the attention rate is represented by ftr, and the server can pass through the following formula: score=a ctr+b ltr+c ftr, where score represents the composite score of the resource, and a, b, c represent weights of click rate, praise rate, and attention rate, respectively, as an example, a=1, b=30, c=100. The comprehensive score of the resource may represent importance of the resource, and the terminal may rank the at least one resource according to the magnitude of the comprehensive score of the at least one resource, that is, rank the at least one resource according to the importance, to obtain ranking information of the at least one resource, where the higher the comprehensive score (the higher the importance) the higher the resource ranking is.
The terminal may determine, according to the ranking information of the at least one resource, whether the at least one resource is likely to be triggered by the user to trigger the target behavior, for example, the earlier the ranking resource is likely to be triggered by the user to trigger the target behavior, and further the terminal may determine the target parameter of the at least one resource, where in an example, the target parameter may be a numerical value, and the earlier the ranking resource is likely to be triggered by the user, that is, the higher the likelihood of being triggered by the user to trigger the target behavior is, the greater the target parameter may be.
In step S33, the terminal determines, from at least one display area of a screen of the terminal, a display area corresponding to each of the at least one resource according to the screen partition information of the terminal and the target parameter of the at least one resource.
The terminal may allocate a corresponding display area for the at least one resource according to the type of the at least one display area included in the screen partition information and the target parameter of the at least one resource, for example, the terminal may allocate a display area with a higher operation degree to a resource with a higher possibility of triggering the target behavior by the user.
In one possible implementation, the at least one display area includes a first display area and at least one second display area, the first display area being operated to a higher degree than the at least one second display area; accordingly, this step S33 includes: according to the screen partition information of the terminal and the target parameter of the at least one resource, determining the first display area as a display area corresponding to a first resource, wherein the first resource is a resource of which the target parameter meets a first condition in the at least one resource; and respectively determining the at least one second display area as a display area corresponding to each of at least one second resource, wherein the at least one second resource is a resource except the first resource in the at least one resource. The display area with the highest operation degree is allocated to the resource with the target parameter meeting the first condition, so that the display area with the highest operation degree can be allocated to the resource with the highest possibility of triggering the target behavior by the user, namely, the display area with the most convenient operation of the user is allocated to the resource with the most interesting possibility of the user, and further, when the resource is displayed, the user can click well, and the viscosity and immersion of the user are improved.
The terminal may determine, as the first resource, a resource in the at least one resource, where the target parameter meets a first condition, according to the target parameter of the at least one resource, where in an example, the first condition may be that the target parameter is the largest, so that the first resource is a resource in the at least one resource, where the probability of triggering the target behavior by the user is the largest. In another example, the first condition may also be that the target parameter is greater than a target threshold, such that the first resource is a resource of the at least one resource that has a likelihood of being triggered by the user by a target behavior greater than the target threshold. The first display area is the display area with the highest operation degree in at least one display area of the screen, and can be called a frequently clicked area. By taking the area which is most easily covered by the user as the most important area, the important resources which are most likely to be clicked by the user are placed, so that the operation of the user is greatly facilitated, and the clicking desire of the user is improved.
For at least one second resource other than the first resource in the at least one resource, the terminal may determine a display area corresponding to each of the at least one second resource from at least one second display area. In one possible implementation manner, the at least one second display area includes a third display area, a fourth display area and a fifth display area, which are sequentially reduced in operation degree; correspondingly, the determining the at least one second display area as the display area corresponding to the at least one second resource respectively includes: determining the third display area as a display area corresponding to a third resource, wherein the third resource is a resource of which the target parameter accords with a second condition in the at least one second resource; and determining the fourth display area as a display area corresponding to a fourth resource, wherein the fourth resource is a resource except the third resource in the at least one second resource. The display area with higher operation degree is allocated to the resource with the target parameter meeting the second condition, so that the display area with higher operation degree can be allocated to the resource with higher possibility of triggering the target behavior by the user, namely, the display area which is more convenient to operate by the user is allocated to the resource with possibly more interested by the user, and further, when the resource is displayed, the user can click well, and the viscosity and immersion of the user are improved.
The third display region is a display region having the highest operation degree among regions other than the first display region, the third display region may be referred to as a sub-click region, the fourth display region has an operation degree lower than the third display region and higher than the fifth display region, the fourth display region may be referred to as an unusual click region, the fifth display region is a display region having the lowest operation degree, and the fifth display region may be referred to as a blind region.
The terminal may determine, as the third resource, a resource in the at least one second resource, where the target parameter meets a second condition, according to the target parameter of the at least one second resource, where in an example, the second condition may be that the target parameter is the largest, so that the third resource is a resource in the at least one second resource, where the probability of triggering the target behavior by the user is the largest. In another example, the second condition may also be that the target parameter is greater than a target threshold, such that the third resource is a resource of the at least one second resource that has a likelihood of being triggered by the user by a target behavior greater than the target threshold.
In step S34, the terminal displays the at least one resource in the display area corresponding to each of the at least one resource.
The terminal may display the corresponding resource in the display area of the resource determined in step S33, such as the resource having the largest target parameter in the first display area (frequently clicked area), the resource having the larger target parameter in the third display area (frequently clicked area), and the resource having the smaller target parameter in the fourth display area (frequently clicked area).
In one possible implementation, the step S34 includes: and displaying the at least one resource and the interaction element corresponding to the at least one resource in the display area corresponding to each of the at least one resource. By displaying the corresponding interactive elements in the display area corresponding to the resource, the display area corresponding to the resource is determined according to the possibility that the resource is triggered by the user to act as a target and the operation degree of the display area, and the interactive elements are objects operated by the user, so that the convenience of the user operation can be improved by displaying the interactive elements of the resource in the determined display area.
The interaction element may be any element that may interact with the resource, such as a button, a link, or an option. The terminal may display, in addition to the at least one resource in the display area corresponding to the at least one resource, a corresponding interaction element through which the user may perform a corresponding operation on the resource.
The at least one second display region includes a third display region, a fourth display region, and a fifth display region, which are sequentially reduced in operation degree, and the fifth display region is a display region having the lowest operation degree. In one possible implementation manner, the at least one resource is displayed in the display area corresponding to each of the at least one resource, including any one of the following: displaying a part of pictures of the first resource and interactive elements corresponding to the first resource in the first display area, and displaying pictures except the part of pictures in all pictures of the first resource in the fifth display area; and displaying a part of pictures of the third resource and interactive elements corresponding to the third resource in the third display area, and displaying pictures except the part of pictures in all pictures of the third resource in the fifth display area. And displaying a part of pictures of the fourth resource and interactive elements corresponding to the fourth resource in the fourth display area, and displaying pictures except the part of pictures in all pictures of the fourth resource in the fifth display area. The fifth display area with the lowest operation degree is used as the extension of other areas and used for displaying resource pictures which are not completely displayed in other areas, so that interactive elements corresponding to the resources are prevented from being displayed, and the display area of the screen can be fully utilized while the operation of a user is facilitated.
Because the fifth display area is the display area with the lowest operation degree, the user is not likely to operate in the display area, and the interactive elements of the resource are the objects operated by the user, so that the terminal can avoid displaying the interactive elements of the resource in the fifth display area, and the terminal can use the fifth display area as the extension of other display areas to display the resource picture which is not completely displayed in other display areas in consideration of the possible large picture of the resource.
According to the technical scheme, the screen is partitioned through the acquired operation habits of the user, different display areas are treated differently, resources with different target parameters are placed, the resources which are possibly most interesting for the user are displayed in the area which is most convenient for the user to operate, convenience in resource operation for the user can be greatly improved, the user can click well, and accordingly viscosity and immersion feeling of the user are improved. Therefore, the user can obtain the highest click rate through the least operation, and the user experience is greatly improved.
According to the method provided by the embodiment of the disclosure, the target parameter of at least one resource to be displayed is obtained, and because the target parameter is used for indicating the possibility that the resource is triggered by the user to the target behavior, the screen partition information of the terminal is used for indicating the operation degree of the user on at least one display area, so that when the display area corresponding to each at least one resource is determined according to the screen partition information and the target parameter of the at least one resource, the area with the highest operation degree of the user can be determined as the display area of the resource most likely to trigger the target behavior by the user, and the area with the highest operation degree of the user, namely the area most convenient to operate by the user, can be displayed, and the effect of resource display and the convenience of resource operation can be improved.
Fig. 4 is a block diagram of a resource display device, according to an example embodiment. Referring to fig. 4, the apparatus includes an acquisition unit 401, a determination unit 402, and a display unit 403.
The obtaining unit 401 is configured to perform obtaining at least one resource to be displayed and a target parameter of the at least one resource, the target parameter being used to indicate a likelihood that the resource is triggered by a user to a target behavior;
The determining unit 402 is configured to perform determining, from at least one display area of a screen of the terminal, a display area to which the at least one resource corresponds, based on screen partition information of the terminal for indicating a position of the at least one display area and a degree of operation of the at least one display area by the user, and a target parameter of the at least one resource;
The display unit 403 is configured to perform displaying the at least one resource in a display area corresponding to each of the at least one resource.
In one possible implementation, the obtaining unit 401 is further configured to perform:
Dividing the screen into at least one display area according to operation habit information of the user, and obtaining position information and type of the at least one display area, wherein the operation habit information is used for indicating historical operation habits of the user on the screen, and the type is used for indicating the operation degree of the user on the display area;
the screen partition information is generated based on the location information and the type of the at least one display area.
In one possible implementation, the obtaining unit 401 is further configured to perform:
Dividing the screen into at least one display area according to the size information of the screen and the target number, and obtaining the position information of the at least one display area, wherein the number of the at least one display area is the target number;
Determining the type of the at least one display area according to the operation habit information of the user, wherein the operation habit information is used for indicating the historical operation habit of the user on the screen, and the type is used for indicating the operation degree of the user on the display area;
the screen partition information is generated based on the location information and the type of the at least one display area.
In one possible implementation, the operation habit information of the user includes at least one of the following:
Fingerprint information of the user operating on the screen during the history period, the fingerprint information being used to indicate left-hand operation or right-hand operation and the finger operating;
the number of operations of the user on at least one location of the screen over a historical period of time.
In one possible implementation, the at least one display area includes a first display area and at least one second display area, the first display area being operated to a higher degree than the at least one second display area;
The determining unit 402 is configured to perform:
According to the screen partition information of the terminal and the target parameter of the at least one resource, determining the first display area as a display area corresponding to a first resource, wherein the first resource is a resource of which the target parameter meets a first condition in the at least one resource;
And respectively determining the at least one second display area as a display area corresponding to each of at least one second resource, wherein the at least one second resource is a resource except the first resource in the at least one resource.
In one possible implementation manner, the at least one second display area includes a third display area, a fourth display area and a fifth display area, which are sequentially reduced in operation degree;
The determining unit 402 is configured to perform:
Determining the third display area as a display area corresponding to a third resource, wherein the third resource is a resource of which the target parameter accords with a second condition in the at least one second resource;
and determining the fourth display area as a display area corresponding to a fourth resource, wherein the fourth resource is a resource except the third resource in the at least one second resource.
In one possible implementation, the display unit 403 is configured to perform any of the following:
Displaying a part of pictures of the first resource and interactive elements corresponding to the first resource in the first display area, and displaying pictures except the part of pictures in all pictures of the first resource in the fifth display area;
And displaying a part of pictures of the third resource and interactive elements corresponding to the third resource in the third display area, and displaying pictures except the part of pictures in all pictures of the third resource in the fifth display area.
And displaying a part of pictures of the fourth resource and interactive elements corresponding to the fourth resource in the fourth display area, and displaying pictures except the part of pictures in all pictures of the fourth resource in the fifth display area.
In one possible implementation, the display unit 403 is configured to perform:
And displaying the at least one resource and the interaction element corresponding to the at least one resource in the display area corresponding to each of the at least one resource.
In one possible implementation, the obtaining unit 401 is configured to perform:
Receiving the at least one resource sent by the server, wherein the at least one resource comprises ordering information, the ordering information is determined according to at least one of characteristics of the user or characteristics of the at least one resource, and the characteristics of the at least one resource are determined according to the degree to which the at least one resource is triggered by each user to the target behavior;
and determining the target parameters of the at least one resource according to the ordering information.
In the embodiment of the disclosure, the target parameter of at least one resource to be displayed is obtained, and because the target parameter is used for indicating the possibility that the resource is triggered by the user to perform the target action, the screen partition information of the terminal is used for indicating the operation degree of the user on at least one display area, and therefore, when the display area corresponding to each of the at least one resource is determined according to the screen partition information and the target parameter of the at least one resource, the area with the highest operation degree of the user can be determined as the display area of the resource most likely to trigger the target action by the user, so that the resource most likely to trigger the target action by the user is displayed in the area with the highest operation degree of the user, and the area with the highest operation degree of the user is the area most convenient to operate by the user, so that the display effect of the resource and the convenience of the resource operation can be improved.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 5 is a block diagram of a terminal according to an exemplary embodiment. The terminal 500 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion picture expert compression standard audio plane 3), an MP4 (Moving Picture Experts Group Audio Layer IV, motion picture expert compression standard audio plane 4) player, a notebook computer, or a desktop computer. The terminal 500 may also be referred to by other names of user devices, portable terminals, laptop terminals, desktop terminals, etc.
In general, the terminal 500 includes: one or more processors 501 and one or more memories 502.
Processor 501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 501 may be implemented in at least one hardware form of DSP (DIGITAL SIGNAL Processing), FPGA (Field-Programmable gate array), PLA (Programmable Logic Array ). The processor 501 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a CPU (Central Processing Unit ); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 501 may be integrated with a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 501 may also include an AI (ARTIFICIAL INTELLIGENCE ) processor for processing computing operations related to machine learning.
Memory 502 may include one or more computer-readable storage media, which may be non-transitory. Memory 502 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 502 is used to store at least one instruction for execution by processor 501 to implement the resource display method provided by the method embodiments in the present disclosure.
In some embodiments, the terminal 500 may further optionally include: a peripheral interface 503 and at least one peripheral. The processor 501, memory 502, and peripheral interface 503 may be connected by buses or signal lines. The individual peripheral devices may be connected to the peripheral device interface 503 by buses, signal lines or circuit boards. Specifically, the peripheral device includes: at least one of radio frequency circuitry 504, a display 505, a camera assembly 506, audio circuitry 507, a positioning assembly 508, and a power supply 509.
Peripheral interface 503 may be used to connect at least one Input/Output (I/O) related peripheral to processor 501 and memory 502. In some embodiments, processor 501, memory 502, and peripheral interface 503 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 501, memory 502, and peripheral interface 503 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 504 is configured to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuitry 504 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 504 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 504 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuitry 504 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (WIRELESS FIDELITY ) networks. In some embodiments, the radio frequency circuitry 504 may also include NFC (NEAR FIELD Communication) related circuitry, which is not limited by the present disclosure.
The display 505 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 505 is a touch display, the display 505 also has the ability to collect touch signals at or above the surface of the display 505. The touch signal may be input as a control signal to the processor 501 for processing. At this time, the display 505 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, the display 505 may be one, and disposed on the front panel of the terminal 500; in other embodiments, the display 505 may be at least two, respectively disposed on different surfaces of the terminal 500 or in a folded design; in other embodiments, the display 505 may be a flexible display disposed on a curved surface or a folded surface of the terminal 500. Even more, the display 505 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The display 505 may be made of LCD (Liquid CRYSTAL DISPLAY), OLED (Organic Light-Emitting Diode), or other materials.
The camera assembly 506 is used to capture images or video. Optionally, the camera assembly 506 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal and the rear camera is disposed on the rear surface of the terminal. In some embodiments, the at least two rear cameras are any one of a main camera, a depth camera, a wide-angle camera and a tele camera, so as to realize that the main camera and the depth camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting and Virtual Reality (VR) shooting function or other fusion shooting functions. In some embodiments, camera assembly 506 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
The audio circuitry 507 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and environments, converting the sound waves into electric signals, and inputting the electric signals to the processor 501 for processing, or inputting the electric signals to the radio frequency circuit 504 for voice communication. For the purpose of stereo acquisition or noise reduction, a plurality of microphones may be respectively disposed at different portions of the terminal 500. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is used to convert electrical signals from the processor 501 or the radio frequency circuit 504 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, audio circuitry 507 may also include a headphone jack.
The location component 508 is used to locate the current geographic location of the terminal 500 to enable navigation or LBS (Location Based Service, location-based services). The positioning component 508 may be a positioning component based on the United states GPS (Global Positioning System ), the Beidou system of China, the Granati system of Russia, or the Galileo system of the European Union.
A power supply 509 is used to power the various components in the terminal 500. The power supply 509 may be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 509 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal 500 further includes one or more sensors 510. The one or more sensors 510 include, but are not limited to: an acceleration sensor 511, a gyro sensor 512, a pressure sensor 513, a fingerprint sensor 514, an optical sensor 515, and a proximity sensor 516.
The acceleration sensor 511 can detect the magnitudes of accelerations on three coordinate axes of the coordinate system established with the terminal 500. For example, the acceleration sensor 511 may be used to detect components of gravitational acceleration on three coordinate axes. The processor 501 may control the display 505 to display a user interface in a landscape view or a portrait view according to a gravitational acceleration signal acquired by the acceleration sensor 511. The acceleration sensor 511 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 512 may detect a body direction and a rotation angle of the terminal 500, and the gyro sensor 512 may collect a 3D motion of the user to the terminal 500 in cooperation with the acceleration sensor 511. The processor 501 may implement the following functions based on the data collected by the gyro sensor 512: motion sensing (e.g., changing UI according to a tilting operation by a user), image stabilization at shooting, game control, and inertial navigation.
The pressure sensor 513 may be disposed at a side frame of the terminal 500 and/or at a lower layer of the display 505. When the pressure sensor 513 is disposed at a side frame of the terminal 500, a grip signal of the user to the terminal 500 may be detected, and the processor 501 performs left-right hand recognition or quick operation according to the grip signal collected by the pressure sensor 513. When the pressure sensor 513 is disposed at the lower layer of the display screen 505, the processor 501 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 505. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
The fingerprint sensor 514 is used for collecting the fingerprint of the user, and the processor 501 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 514 or the fingerprint sensor 514 identifies the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the user is authorized by the processor 501 to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, etc. The fingerprint sensor 514 may be provided at the front, rear or side of the terminal 500. When a physical key or a vendor Logo is provided on the terminal 500, the fingerprint sensor 514 may be integrated with the physical key or the vendor Logo.
The optical sensor 515 is used to collect the ambient light intensity. In one embodiment, the processor 501 may control the display brightness of the display screen 505 based on the intensity of ambient light collected by the optical sensor 515. Specifically, when the intensity of the ambient light is high, the display brightness of the display screen 505 is turned up; when the ambient light intensity is low, the display brightness of the display screen 505 is turned down. In another embodiment, the processor 501 may also dynamically adjust the shooting parameters of the camera assembly 506 based on the ambient light intensity collected by the optical sensor 515.
A proximity sensor 516, also referred to as a distance sensor, is typically provided on the front panel of the terminal 500. The proximity sensor 516 serves to collect a distance between the user and the front surface of the terminal 500. In one embodiment, when the proximity sensor 516 detects that the distance between the user and the front of the terminal 500 gradually decreases, the processor 501 controls the display 505 to switch from the bright screen state to the off screen state; when the proximity sensor 516 detects that the distance between the user and the front surface of the terminal 500 gradually increases, the processor 501 controls the display 505 to switch from the off-screen state to the on-screen state.
Those skilled in the art will appreciate that the structure shown in fig. 5 is not limiting and that more or fewer components than shown may be included or certain components may be combined or a different arrangement of components may be employed.
In an exemplary embodiment, a storage medium is also provided, such as a memory 502 including instructions executable by the processor 501 of the terminal 500 to perform the above-described method. Alternatively, the storage medium may be a non-transitory computer-readable storage medium, which may be, for example, a ROM (Read-Only Memory), a RAM (Random Access Memory ), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided, the instructions in which are executable by the processor 501 of the terminal 500 to perform the above-described method.
The user information referred to in the present disclosure may be information authorized by the user or sufficiently authorized by each party.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (8)
1. A resource display method, characterized in that the resource display method comprises:
dividing a screen of a terminal into at least one display area according to operation habit information of a user to obtain position information and types of the at least one display area, wherein the at least one display area comprises a first display area, a third display area, a fourth display area and a fifth display area, the operation degree of the first display area in the at least one display area is highest, the operation degrees of the third display area, the fourth display area and the fifth display area are sequentially reduced, the operation habit information is used for indicating historical operation habits of the user on the screen, and the operation habit information of the user comprises: fingerprint information of the user operating on the screen in a history period, wherein the fingerprint information is used for indicating left hand operation or right hand operation and finger operated, and the operation times of the user on at least one position of the screen in the history period, the type is used for indicating the operation degree of the user on a display area, and the higher the operation degree of the user on the display area is, the more convenient the user is; the fifth display area is an extension of other display areas in the screen, and is used for displaying resource pictures which are not completely displayed by the other display areas;
Generating screen partition information based on the location information and the type of the at least one display area; the screen partition information is used for indicating the position of the at least one display area and the operation degree of the user on the at least one display area;
Acquiring at least one resource to be displayed and target parameters of the at least one resource, wherein the target parameters are used for indicating the possibility that the resource is triggered by the user to trigger target behaviors, the target parameters of the resource are larger, the possibility that the resource is triggered by the user to trigger target behaviors is higher, the target parameters of the at least one resource are determined according to the characteristics of the user and the characteristics of the at least one resource, the characteristics of the user are used for reflecting the preference of the user to the resource, and the characteristics of the resource are used for reflecting the degree of triggering the target behaviors by each user to the resource;
According to the screen partition information and the target parameters of the at least one resource, determining the first display area as a display area corresponding to the first resource, determining the third display area as a display area corresponding to the third resource, and determining the fourth display area as a display area corresponding to the fourth resource; the target parameters of the first resource, the third resource and the fourth resource are sequentially reduced; displaying a part of pictures of the first resource and interactive elements corresponding to the first resource in the first display area, and displaying pictures except the part of pictures in all pictures of the first resource in the fifth display area; displaying a part of pictures of the third resource and interactive elements corresponding to the third resource in the third display area, and displaying pictures except the part of pictures in all pictures of the third resource in the fifth display area; displaying a part of pictures of the fourth resource and interactive elements corresponding to the fourth resource in the fourth display area, and displaying pictures except the part of pictures in all pictures of the fourth resource in the fifth display area;
the first resource is a resource of which the target parameter accords with a first condition in the at least one resource, and the third resource is a resource of which the target parameter accords with a second condition in the at least one second resource; the fourth resource is a resource other than the third resource in the at least one second resource; wherein the at least one second resource is a resource other than the first resource in the at least one resource.
2. The resource display method according to claim 1, wherein the screen partition information is further obtained by:
Dividing the screen into at least one display area according to the size information of the screen and the target number, and obtaining the position information of the at least one display area, wherein the number of the at least one display area is the target number;
Determining the type of the at least one display area according to the operation habit information of the user, wherein the type is used for indicating the operation degree of the user on the display area;
the screen partition information is generated based on the location information and the type of the at least one display area.
3. The method for displaying resources according to claim 1, wherein the obtaining at least one resource to be displayed and the target parameter of the at least one resource includes:
Receiving the at least one resource sent by a server, wherein the at least one resource comprises sequencing information, and the sequencing information is determined according to at least one of the characteristics of the user or the characteristics of the at least one resource;
and determining target parameters of the at least one resource according to the ordering information.
4. A resource display device, characterized in that the resource display device comprises:
an obtaining unit, configured to perform dividing a screen of a terminal into at least one display area according to operation habit information of a user, to obtain position information and type of the at least one display area, where the at least one display area includes a first display area, a third display area, a fourth display area, and a fifth display area, the operation degree of the first display area in the at least one display area is highest, the operation degrees of the third display area, the fourth display area, and the fifth display area are sequentially reduced, the operation habit information is used to indicate historical operation habits of the user on the screen, and the operation habit information of the user includes: fingerprint information of the user operating on the screen in a history period, wherein the fingerprint information is used for indicating left hand operation or right hand operation and finger operated, and the operation times of the user on at least one position of the screen in the history period, the type is used for indicating the operation degree of the user on a display area, and the higher the operation degree of the user on the display area is, the more convenient the user is; the fifth display area is an extension of other display areas in the screen, and is used for displaying resource pictures which are not completely displayed by the other display areas; generating screen partition information based on the location information and the type of the at least one display area; the screen partition information is used for indicating the position of the at least one display area and the operation degree of the user on the at least one display area;
The obtaining unit is further configured to obtain at least one resource to be displayed and target parameters of the at least one resource, the target parameters are used for indicating the possibility that the resource is triggered by the user to trigger target behaviors, the target parameters of the resource are larger, the possibility that the resource is triggered by the user to trigger target behaviors is higher, the target parameters of the at least one resource are determined according to the characteristics of the user and the characteristics of the at least one resource, the characteristics of the user are used for reflecting preference of the user to the resource, and the characteristics of the resource are used for reflecting the degree of triggering the target behaviors by the resource by each user;
A determining unit configured to perform determining, according to the screen partition information and the target parameter of the at least one resource, a first display area of at least one display area of a screen of the terminal as a display area corresponding to the first resource, determining the third display area as a display area corresponding to the third resource, and determining the fourth display area as a display area corresponding to the fourth resource; the target parameters of the first resource, the third resource and the fourth resource are sequentially reduced;
A display unit configured to execute display of a partial screen of the first resource and an interactive element corresponding to the first resource in the first display area, and display of screens other than the partial screen in all screens of the first resource in the fifth display area; displaying a part of pictures of the third resource and interactive elements corresponding to the third resource in the third display area, and displaying pictures except the part of pictures in all pictures of the third resource in the fifth display area; displaying a part of pictures of the fourth resource and interactive elements corresponding to the fourth resource in the fourth display area, and displaying pictures except the part of pictures in all pictures of the fourth resource in the fifth display area;
the first resource is a resource of which the target parameter accords with a first condition in the at least one resource, and the third resource is a resource of which the target parameter accords with a second condition in the at least one second resource; the fourth resource is a resource other than the third resource in the at least one second resource; wherein the at least one second resource is a resource other than the first resource in the at least one resource.
5. The resource display device according to claim 4, wherein the acquisition unit is further configured to perform:
Dividing the screen into at least one display area according to the size information of the screen and the target number, and obtaining the position information of the at least one display area, wherein the number of the at least one display area is the target number;
Determining the type of the at least one display area according to the operation habit information of the user, wherein the type is used for indicating the operation degree of the user on the display area;
the screen partition information is generated based on the location information and the type of the at least one display area.
6. The resource display device according to claim 4, wherein the acquisition unit is configured to perform:
Receiving the at least one resource sent by a server, wherein the at least one resource comprises sequencing information, and the sequencing information is determined according to at least one of the characteristics of the user or the characteristics of the at least one resource;
and determining target parameters of the at least one resource according to the ordering information.
7. A terminal, comprising:
One or more processors;
one or more memories for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to execute the instructions to implement the resource display method of any one of claims 1 to 3.
8. A storage medium, which when executed by a processor of a terminal, causes the terminal to perform the resource display method of any of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010627535.7A CN111796990B (en) | 2020-07-02 | 2020-07-02 | Resource display method, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010627535.7A CN111796990B (en) | 2020-07-02 | 2020-07-02 | Resource display method, device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111796990A CN111796990A (en) | 2020-10-20 |
CN111796990B true CN111796990B (en) | 2024-09-20 |
Family
ID=72810101
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010627535.7A Active CN111796990B (en) | 2020-07-02 | 2020-07-02 | Resource display method, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111796990B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113821145B (en) * | 2021-09-22 | 2025-07-15 | 北京搜狗科技发展有限公司 | Page processing method, device and medium |
CN114296847A (en) * | 2021-12-13 | 2022-04-08 | 亿咖通(湖北)技术有限公司 | Layer-based display method and device |
CN114363533A (en) * | 2022-01-10 | 2022-04-15 | 京东方科技集团股份有限公司 | Display control method and device, display equipment and computer readable medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108055387A (en) * | 2017-11-02 | 2018-05-18 | 北京金山安全软件有限公司 | Recommendation information display method and device, electronic equipment and readable storage medium |
CN109213413A (en) * | 2017-07-07 | 2019-01-15 | 阿里巴巴集团控股有限公司 | A kind of recommended method, device, equipment and storage medium |
CN110045907A (en) * | 2019-03-05 | 2019-07-23 | 北京三快在线科技有限公司 | Information display method and device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103729051B (en) * | 2013-12-19 | 2016-05-25 | 深圳市金立通信设备有限公司 | A kind of display control method and terminal |
CN109697000B (en) * | 2017-10-24 | 2022-09-16 | 阿里巴巴集团控股有限公司 | Resource allocation method and related equipment, display method and related equipment |
CN107943446A (en) * | 2017-11-09 | 2018-04-20 | 深圳市金立通信设备有限公司 | Display screen area determines method, terminal and computer-readable medium |
CN109670456A (en) * | 2018-12-21 | 2019-04-23 | 北京七鑫易维信息技术有限公司 | A kind of content delivery method, device, terminal and storage medium |
-
2020
- 2020-07-02 CN CN202010627535.7A patent/CN111796990B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109213413A (en) * | 2017-07-07 | 2019-01-15 | 阿里巴巴集团控股有限公司 | A kind of recommended method, device, equipment and storage medium |
CN108055387A (en) * | 2017-11-02 | 2018-05-18 | 北京金山安全软件有限公司 | Recommendation information display method and device, electronic equipment and readable storage medium |
CN110045907A (en) * | 2019-03-05 | 2019-07-23 | 北京三快在线科技有限公司 | Information display method and device |
Also Published As
Publication number | Publication date |
---|---|
CN111796990A (en) | 2020-10-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111079012A (en) | Live broadcast room recommendation method and device, storage medium and terminal | |
CN109284445B (en) | Network resource recommendation method and device, server and storage medium | |
CN111782950B (en) | Sample data set acquisition method, device, equipment and storage medium | |
CN109327608B (en) | Song sharing method, terminal, server and system | |
CN111291200B (en) | Multimedia resource display method and device, computer equipment and storage medium | |
CN111836069A (en) | Virtual gift presenting method, device, terminal, server and storage medium | |
CN111368114B (en) | Information display method, device, equipment and storage medium | |
CN112256181B (en) | Interaction processing method and device, computer equipment and storage medium | |
CN111796990B (en) | Resource display method, device, terminal and storage medium | |
CN112990509B (en) | Reservation code display method, device, equipment and storage medium | |
CN116304355B (en) | Object-based information recommendation method and device, electronic equipment and storage medium | |
CN112131473B (en) | Information recommendation method, device, equipment and storage medium | |
CN116033219B (en) | Picture-based video playing method and device, electronic equipment and storage medium | |
CN110968815B (en) | Page refreshing method, device, terminal and storage medium | |
CN112989198B (en) | Push content determination method, device, equipment and computer-readable storage medium | |
CN111159551B (en) | User-generated content display method and device and computer equipment | |
CN111523876B (en) | Payment mode display method, device and system and storage medium | |
CN111898048B (en) | Data adjustment method and device for display information, electronic equipment and storage medium | |
CN111563201A (en) | Content pushing method, device, server and storage medium | |
CN109388732B (en) | Music map generating and displaying method, device and storage medium | |
CN112000900A (en) | Method and device for recommending scenic spot information, electronic equipment and storage medium | |
CN112100528A (en) | Method, device, equipment and medium for training search result scoring model | |
CN111949341A (en) | Method, device and equipment for displaying information and storage medium | |
CN113420172B (en) | Picture sharing method and device, computer equipment and medium | |
CN111953767B (en) | Content sharing method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |