CN117112087A - Ordering method of desktop cards, electronic equipment and medium - Google Patents

Ordering method of desktop cards, electronic equipment and medium Download PDF

Info

Publication number
CN117112087A
CN117112087A CN202310207511.XA CN202310207511A CN117112087A CN 117112087 A CN117112087 A CN 117112087A CN 202310207511 A CN202310207511 A CN 202310207511A CN 117112087 A CN117112087 A CN 117112087A
Authority
CN
China
Prior art keywords
desktop
card
cards
user
rewarding
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.)
Pending
Application number
CN202310207511.XA
Other languages
Chinese (zh)
Inventor
王亚猛
姚伟娜
李阳阳
李若愚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202310207511.XA priority Critical patent/CN117112087A/en
Publication of CN117112087A publication Critical patent/CN117112087A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

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

Abstract

The application provides a method for ordering desktop cards and electronic equipment, which relate to the technical field of electronics and comprise the following steps: acquiring operation behaviors of a user on desktop cards in a card stack, determining corresponding rewarding parameters of each desktop card according to the operation behaviors, further sequencing the desktop cards in the card stack from large to small according to the rewarding parameters to obtain a first sequence, and adjusting the original arrangement sequence of the desktop cards in the preset card stack according to the arrangement sequence of the desktop cards in the first sequence to finish sequencing the desktop cards. Therefore, the application can reflect the preference degree of the user on different desktop cards according to the different operations of the user on the different desktop cards, and further can adjust the arrangement sequence of the original desktop cards according to the preference degree of the user on the desktop cards, so that the user likes or commonly uses the desktop cards to be arranged on the card stack, and the experience of the user can be improved.

Description

Ordering method of desktop cards, electronic equipment and medium
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method for ordering desktop cards, an electronic device, and a medium.
Background
In recent years, the intelligence has become an important point of terminal manufacturers, and the desktop card serves as an important entrance for providing intelligent services for users, thereby playing an important role in improving user experience.
At present, a plurality of desktop cards, such as weather cards, subway cards, express cards and the like, are arranged in a stacking manner, and terminal manufacturers can configure default arrangement modes for the desktop cards of each terminal device in advance, but because the behavior habits of each user are different, the default arrangement modes cannot be applied to each different user, and users may need to find favorite or commonly used cards in a manner of sliding the desktop cards, so that time is wasted, and experience of the users is poor.
Disclosure of Invention
The application provides a method for ordering desktop cards and electronic equipment, and aims to adjust the arrangement of the desktop cards according to user behavior feedback so as to improve the experience of a user.
In order to achieve the above purpose, the application adopts the following technical scheme:
in a first aspect, the present application provides a method for ordering desktop cards, where the method may be applied to an electronic device including a camera, including:
Acquiring operation behaviors of a user on desktop cards in a card stack, determining corresponding rewarding parameters of each desktop card according to the operation behaviors, further sequencing the desktop cards in the card stack from large to small according to the rewarding parameters to obtain a first sequence, and adjusting the original arrangement sequence of the desktop cards in the preset card stack according to the arrangement sequence of the desktop cards in the first sequence to finish sequencing the desktop cards. Therefore, the application can reflect the preference degree of the user on different desktop cards according to the different operations of the user on the different desktop cards, and further can adjust the arrangement sequence of the original desktop cards according to the preference degree of the user on the desktop cards, so that the user likes or commonly uses the desktop cards to be arranged on the card stack, and the experience of the user can be improved.
In some possible implementations, because the desktop cards of different categories have different user behavior patterns, for example, some desktop cards need to be clicked by a user, and some desktop card users can acquire information in the desktop cards without clicking, so that classification processing is required for the desktop cards.
Specifically, before the operation behaviors of the user on the desktop cards in the card stack are obtained, the desktop cards in the card stack can be classified based on a preset rule, and then the rewarding parameters of each desktop card under the corresponding types are determined according to the operation behaviors.
In some possible implementations, the desktop cards in the card stack may be further classified based on the attributes of the cards, where the attributes of the desktop cards may be a click rate removal rate, a service frequency, and an expected exposure duration, and the desktop cards may be clustered by a clustering algorithm based on some or all of four card attributes including the click rate, the removal rate, the service frequency, and the expected exposure duration. And determining the rewarding parameters of each desktop card under the corresponding category according to the operation behaviors.
In some possible implementations, the operational behavior may include: clicking operation, removing operation and sliding the desktop card operation to the top.
Specifically, clicking reward parameters of the corresponding desktop card under the corresponding category can be determined according to clicking operation of the user on the single desktop card, removing reward parameters of the corresponding desktop card under the corresponding category can be determined according to removing operation of the user on the single desktop card, reward parameters of the corresponding desktop card under the corresponding category can be determined according to sliding top setting operation of the desktop card on the single desktop card, and then the reward parameters of the corresponding desktop card can be determined according to the sum of the clicking reward parameters, the removing reward parameters and the top setting reward parameters in each desktop card.
In some possible implementations, the user may click on the opposite top desktop card due to misoperation, so that the opposite top desktop card may be slid to be placed on the top and then clicked, and the preference of the user can be reflected more than that of direct designated clicking, and the removal is also the same, so that the three actions can be specifically divided, for example, clicking is divided into top-placing clicking and non-top-placing clicking, removing is divided into top-placing removing and non-top-placing removing, the sliding top-placing of the desktop card is divided into the exposure time period of sliding top-placing of the desktop card is smaller than a first threshold value, the exposure time period of sliding top-placing of the desktop card is larger than the first threshold value and smaller than a second threshold value, and the exposure time period of sliding top-placing of the desktop card is larger than the second threshold value, and is specifically thinned into 7 actions. The first threshold and the second threshold can be set according to requirements.
In some possible implementations, the exposure time period for sliding the desktop card on top is not the effective exposure time period for the user to read, and thus it is necessary to determine the interval of the effective exposure time period to determine whether the exposure time period after sliding the card on top is within the interval of the effective exposure time period for the user to read.
Specifically, a single exposure time length of a plurality of desktop cards and the number of desktop cards corresponding to each exposure time length can be obtained, and kernel density estimation is performed on the distribution of the exposure time lengths to obtain an estimated probability density curve f, as shown in fig. 7, the first image at the top is the estimated probability density distribution, the abscissa is the single exposure time length of the desktop cards, and the ordinate is the number of desktop cards corresponding to each exposure time length.
The effective exposure time length distribution for the user to read can be considered as the gamma distribution, that is, the probability density distribution of the third picture at the bottom in fig. 7, and the meaningless exposure time length distribution as the exponential distribution, that is, the second probability density distribution at the middle in fig. 7, the density curve f can be equal to the sum of the exponential distribution of a times and the gamma distribution of b times. The construction function is as follows:
in general, f (x) 'is f, but in some cases, there may be a deviation between the values of f (x)' and f, so that the wireless of f (x) 'approaches f to reduce the deviation, an optimization algorithm (for example, newton method, quasi-newton method, etc.) may be used to optimize the value of f (x)' and solve the parameters in the above equation to obtain:
according to the above equation, the effective exposure time period may be taken as follows: the interval of the gamma distribution accumulation distribution function >90% can be the exposure time length [0.55,2] seconds, and of course, the interval of the effective exposure time length is only one possible implementation, and can be set by a person skilled in the art according to requirements.
In some possible implementations, the reward parameter includes a reward score from which the card click intent p ' is determined, but in some cases there is a deviation Δ of the card's actual click intent p from the estimated click intent p '. The UCB algorithm always optimistically considers the willingness to click on a card to be p' +Δ.
Specifically, assuming that a card appears k times in total in the T-round ordering, p' can be calculated by the following formula:
wherein b i For operating action,r i For example, in 5 rounds of sorting, a certain desktop card appears together, namely, the top is set for 3 times, wherein the operation actions of two users are top-set clicks, and one non-top-set click operation can be used for multiplying the reward score under the corresponding card category by the top-set click operation, multiplying the reward score under the corresponding card category by the top-set click operation and multiplying the sum of the reward scores under the corresponding card category by the non-top-set click operation, and dividing the sum by the appearing 3 times. Of course, this is by way of example only and is not limiting.
The uncertainty delta calculation formula is as follows:
and then calculating the value of P by using P' +delta, and sequencing the corresponding desktop cards according to the sequence from the large value to the small value of P, wherein the desktop card with the largest value of P is set on top, and then the desktop card with the second largest value of P is sequenced in the sequence.
In some possible implementation manners, user data such as the top setting time length, the card attribute, the exposure time length and the like of each desktop card can be obtained, and the like of the user on the desktop card is presumably estimated according to the user data of the desktop card. And training a model suitable for each user through the user data of each desktop card, and sequencing the desktop cards based on the model to obtain the original arrangement sequence of the desktop cards in the preset card stack.
In a second aspect, the present application provides an electronic device comprising: a processor and a memory;
one or more computer programs are stored in the memory, the one or more computer programs comprising instructions; the instructions, when executed by the processor, cause the electronic device to perform the method of any of the first aspects.
In a third aspect, the present application provides a computer storage medium comprising computer instructions which, when run on a mobile terminal, cause the electronic device to perform the method of any of the first aspects.
According to the technical scheme, the application has the following beneficial effects:
the application provides a method for ordering desktop cards and electronic equipment, which relate to the technical field of electronics and comprise the following steps: the method comprises the steps of obtaining operation behaviors of a user on desktop cards in a card stack, determining corresponding rewarding parameters of each desktop card according to the operation behaviors, sequencing the desktop cards in the card stack from large to small according to the rewarding parameters to obtain a first sequence, and adjusting the original sequence of the desktop cards in the preset card stack according to the sequence of the desktop cards in the first sequence to finish sequencing the desktop cards. Therefore, the application can reflect the preference degree of the user on different desktop cards according to the different operations of the user on the different desktop cards, and further can adjust the arrangement sequence of the original desktop cards according to the preference degree of the user on the desktop cards, so that the user likes or commonly uses the desktop cards to be arranged on the card stack, and the experience of the user can be improved.
Drawings
Fig. 1 is a diagram illustrating a composition example of an electronic device according to an embodiment of the present application;
fig. 2 is a diagram illustrating a software structure of an electronic device according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a display card for a table according to an embodiment of the present application;
FIG. 4 is a diagram of a weather desktop card display information interface provided by an embodiment of the present application;
FIG. 5 is a schematic diagram of stacking a plurality of desktop cards according to an embodiment of the present application;
FIG. 6 is a flowchart of a method for ordering desktop cards according to an embodiment of the present application;
fig. 7 is a schematic diagram of a probability density curve according to an embodiment of the present application.
Detailed Description
The terms first, second, third and the like in the description and in the claims and in the drawings are used for distinguishing between different objects and not for limiting the specified order.
In embodiments of the application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
For clarity and conciseness in the description of the following embodiments, a brief description of the related art will be given first:
the desktop card, which can be called as a service card, is a new form of displaying page content by mobile phone application programs, and can be used for leading the content of the application page to the card so as to achieve the purposes of directly serving and reducing experience levels. The service cards can be placed at any position, and the user can customize the desktop style of the user.
Aiming at part of the system APP, such as music, calendars, weather, clocks, sports health, emails, memos, intelligent life, cameras, gallery, conversation, smoothness and the like, the system APP can be displayed in the form of service cards. The service card function is increased, the use convenience of the APP is greatly improved, a plurality of functions which can be realized by opening the APP originally can be realized by directly operating the service card, and the intelligent experience of a user is improved.
At present, a plurality of desktop cards, such as weather cards, subway cards, express cards and the like, are arranged in a stacking manner, and terminal manufacturers can configure default arrangement modes for the desktop cards of each terminal device in advance, but because the behavior habits of each user are different, the default arrangement modes cannot be applied to each different user, and users may need to find favorite or commonly used cards in a manner of sliding the desktop cards, so that time is wasted, and experience of the users is poor.
In view of the above, the application provides a method for ordering desktop cards and electronic equipment, which relate to the technical field of electronics and comprise the following steps: the method comprises the steps of obtaining operation behaviors of a user on desktop cards in a card stack, determining corresponding rewarding parameters of each desktop card according to the operation behaviors, sequencing the desktop cards in the card stack from large to small according to the rewarding parameters to obtain a first sequence, and adjusting the original sequence of the desktop cards in the preset card stack according to the sequence of the desktop cards in the first sequence to finish sequencing the desktop cards. Therefore, the application can reflect the preference degree of the user on different desktop cards according to the different operations of the user on the different desktop cards, and further can adjust the arrangement sequence of the original desktop cards according to the preference degree of the user on the desktop cards, so that the user likes or commonly uses the desktop cards to be arranged on the card stack, and the experience of the user can be improved.
In some embodiments, the electronic device may be a mobile phone, tablet, desktop, laptop, notebook, ultra mobile personal computer (Ultra-mobile Personal Computer, UMPC), handheld computer, netbook, personal digital assistant (Personal Digital Assistant, PDA), wearable electronic device, smart watch, etc., and the application is not limited in particular to the specific form of the above-described electronic device. In this embodiment, the structure of the electronic device may be shown in fig. 1, and fig. 1 is a schematic structural diagram of the electronic device according to the embodiment of the present application.
As shown in fig. 1, the electronic device may include a processor 110, an internal memory 121, a speaker 170A, a receiver 170B, a microphone 170C, a sensor module 180, a camera 193, a display 194, and the like. Wherein the sensor module 180 may include a gyro sensor 180B, a touch sensor 180K, etc.
It is to be understood that the configuration illustrated in this embodiment does not constitute a specific limitation on the electronic apparatus. In other embodiments, the electronic device may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors. For example, in the present application, the processor 110 may be an image signal processor.
The controller can be a neural center and a command center of the electronic device. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement a touch function of the electronic device.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as a display 194, a camera 193, and the like. The MIPI interfaces include camera serial interfaces (camera serial interface, CSI), display serial interfaces (display serial interface, DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the photographing function of the electronic device. The processor 110 and the display screen 194 communicate via a DSI interface to implement the display functionality of the electronic device.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, etc.
It should be understood that the connection relationship between the modules illustrated in this embodiment is only illustrative, and does not limit the structure of the electronic device. In other embodiments of the present application, the electronic device may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
A series of graphical user interfaces (graphical user interface, GUIs) may be displayed on the display 194 of the electronic device, all of which are home screens of the electronic device. Generally, the size of the display 194 of an electronic device is fixed and only limited controls can be displayed in the display 194 of the electronic device. A control is a GUI element that is a software component contained within an application program that controls all data processed by the application program and interactive operations on that data, and a user can interact with the control by direct manipulation (direct manipulation) to read or edit information about the application program. In general, controls may include visual interface elements such as icons, controls, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, and the like.
The electronic device may implement shooting functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
Generally, the image signal processor includes modules such as an Image Front End (IFE), a bayer process stage (bayer processing segment, BPS), an image front end (image processing engine, IPE), and an encoder. Alternatively, the encoder may encode based on the JPEG (joint photographic experts group) algorithm.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, the electronic device may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, and so on.
Video codecs are used to compress or decompress digital video. The electronic device may support one or more video codecs. In this way, the electronic device may play or record video in a variety of encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent cognition of electronic devices can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When the electronic device picks up a phone call or voice message, the voice can be picked up by placing the receiver 170B close to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The electronic device may be provided with at least one microphone 170C. In other embodiments, the electronic device may be provided with two microphones 170C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device may also be provided with three, four, or more microphones 170C to enable collection of sound signals, noise reduction, identification of sound sources, directional recording functions, etc.
The gyro sensor 180B may be used to determine a motion gesture of the electronic device. In some embodiments, the angular velocity of the electronic device about three axes (i.e., x, y, and z axes) may be determined by the gyro sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects the shake angle of the electronic device, calculates the distance to be compensated by the lens module according to the angle, and makes the lens counteract the shake of the electronic device through the reverse motion, thereby realizing anti-shake. The gyro sensor 180B may also be used for navigating, somatosensory game scenes.
The touch sensor 180K, also referred to as a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device at a different location than the display 194.
In addition, an operating system is run on the components. Such as the iOS operating system developed by apple corporation, the Android open source operating system developed by google corporation, the Windows operating system developed by microsoft corporation, etc. An operating application may be installed on the operating system.
The operating system of the electronic device may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In the embodiment of the application, an Android system with a layered architecture is taken as an example, and the software structure of the electronic equipment is illustrated.
Fig. 2 is a diagram showing an example of a software configuration of an electronic device according to an embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, a framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages. As shown in fig. 2, the application package may include applications for cameras, gallery, calendar, phone calls, maps, navigation, WLAN, bluetooth, music, video, short messages, etc.
The framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The framework layer includes some predefined functions. As shown in fig. 2, the framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is for providing communication functions of the electronic device. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the framework layer run in virtual machines. The virtual machine executes java files of the application layer and the framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
Although the Android system is taken as an example for explanation, the basic principle of the embodiment of the application is also applicable to electronic devices based on iOS, windows and other operating systems.
Fig. 3 illustrates that after the electronic device is turned on, the display screen 194 displays the desktop card, and on the display screen 194 display interface, when the user performs a touch operation on the touch sensor 180K, the touch sensor 180K may acquire the touch operation of the user and report the touch operation to the processor 110, and after receiving the touch operation sent by the touch sensor 180K, the processor 110 may respond to the touch operation and start the desktop card corresponding to the touch operation. Note that, in fig. 3, the desktop card 301 is located above the screen. Of course, desktop card 301 may be moved in place and the user may move desktop card 301 by dragging desktop card 301.
After the desktop card corresponding to the touch operation is started, the display screen 194 of the electronic device may display specific content of the corresponding desktop card, and taking the desktop card clicked by the touch operation as a weather card for example, as shown in fig. 4, after the user touches the weather desktop card, the display screen 194 shows a weather desktop card display information interface diagram, as can be seen from fig. 4, where the interface diagram may include: the position of the electronic equipment, the current weather condition and the air temperature of the position and the weather conditions and the air temperature of other time periods of the position can be displayed. Of course, weather cards are only described here as examples, and are not particularly limited.
With the increase of smart scenes, desktop cards displayed by electronic devices have also increased, for example, ticket purchase cards, information reminding cards, and the like. As shown in fig. 5, with the increase of desktop cards, in order to save desktop space of the electronic device, a plurality of desktop cards may be arranged together in a stacked manner and aggregated into a card stack. The terminal manufacturer can configure a default arrangement mode for desktop cards in each terminal device card stack in advance.
Further, the cloud side or the end side can acquire user data such as the top setting time, the card attribute, the exposure time and the like of each desktop card, and the like of the user on the desktop card is presumably estimated according to the user data of the desktop card. And training a model suitable for each user through the user data of each desktop card, and sequencing the desktop cards based on the model to obtain the original arrangement sequence of the desktop cards in the preset card stack. The training model can also be based on a certain user data, for example, the exposure time of each desktop card is obtained, and the like degree of the user on the desktop card can be estimated approximately according to the exposure time of the desktop card. And training a model suitable for each user through the exposure time of each desktop card, sorting the desktop cards based on the model, for example, 3 desktop cards, namely, desktop card 1, desktop card 2 and desktop card 3, wherein the acquired exposure time of each desktop card is respectively 60 minutes, 45 minutes and 30 minutes, then stacking 3 pieces of the cards according to the exposure time from long to short, wherein the exposure time of the desktop card 1 is 60 minutes, the longest exposure time of the 3 desktop cards is placed at the card stacking top position and then the desktop card 2, the exposure time of the desktop card 2 is 45 minutes, the exposure time of the desktop card 3 is 30 minutes, and the exposure time of the desktop card 3 is shortest in the 3 desktop cards, so that a default arrangement mode of the desktop cards in the card stack is formed.
However, since the operation behaviors of the users have certain regularity and different users have different behavior preferences, so that each different user is used to click on a different desktop card or a favorite desktop card, the default arrangement mode cannot be applied to each different user, and the user may need to slide the desktop card to find the favorite or commonly used desktop card, which wastes time and causes poor experience of the user.
In order to solve the above problems, the present application provides a method for ordering desktop cards and an electronic device, and in order to make the technical solution of the present application clearer and easier to understand, the method for ordering desktop cards provided by the embodiment of the present application is described below with reference to the accompanying drawings in terms of the electronic device. Fig. 6 is a flowchart of a method for ordering desktop cards according to an embodiment of the present application, where the method includes:
s601: and classifying the desktop cards.
Different service cards in the desktop card stack provide different services for the user, so the cards need to be classified.
Further, aiming at different types of desktop cards, the user behavior patterns are different, for example, some desktop cards need to be clicked by a user, and some desktop card users can acquire information in the desktop cards without clicking, so that the desktop cards need to be classified.
For example, the desktop cards are classified into a class a desktop card and a class B desktop card, wherein the class a desktop card can comprise a flight information card, a weather card or an express information card, and the like, and the desktop cards can acquire corresponding content information in the desktop card without clicking by a user, for example, the flight information card is taken as an example, the user purchases a certain flight, and the flight information card can display the starting time of the flight and the information of a terminal building, and at the moment, the user can acquire the information of the flight to be acquired without clicking the card as long as the card is displayed.
Another type of desktop card may include a subway information card, a concert information card, or a shopping card, where the desktop card generally needs to be clicked by a user to obtain corresponding content information in the desktop card, for example, the subway information card is taken as an example, the user needs to click on the card to query a subway line when the user wants to go to a subway station, and at this time, the card needs to be displayed, and the user needs to click on the card to obtain the subway information.
In some possible implementations, the desktop cards may be divided into three major categories, a task reminder category, an information presentation category, and a convenience service category, based on preset rules.
Each major class can be divided into several sub-classes as shown in table 1:
the travel reminding type may include, for example, a travel information card, for example, a high-speed rail ticket that the user has reserved for traveling, where the travel information card displays a starting time and a starting place of the high-speed rail. The event start reminding type can comprise a ticket buying time reminding card, for example, the ticket buying time reminding card can display information needed to remind a user when the ticket buying time reminding card is sold in four afternoon on a high-speed rail ticket to an A city. The object taking reminding category can comprise an express card, for example, a user can arrive at a post by an express, and the express card can display express information to remind the user to take the express. The information display card can be, for example, a weather card, and the corresponding weather information in the desktop card can be obtained without clicking by a user. The information progress display card can be used for, for example, a new energy automobile charging information card, and the new energy automobile charging progress can be displayed. The place service class can be, for example, a subway card, and when a user arrives at a subway station, the subway card can display a two-dimensional code of riding a subway. The habit service recommendation may be, for example, a habit recommendation card, for example, a habit of a user to read a book every nine hours per night, and the habit recommendation card may recommend a book for the user at every nine hours per day. The associated service recommendation class may include, for example, a hospital card that may display information such as an electronic medical insurance card when the user arrives at the hospital.
Thus, the desktop cards can be divided into three major categories, eleven minor categories.
In some possible implementations, desktop cards may also be clustered by a clustering algorithm.
Further, the desktop card may be categorized based on some or all of the four card attributes, such as click rate, removal rate, frequency of service, and expected exposure time. The click rate refers to the ratio of the corresponding desktop card to be clicked in all the desktop cards in a period of time, the removal rate refers to the ratio of the corresponding desktop card to be moved out of the points in all the desktop cards in a period of time, the service frequency refers to the number of times of setting the corresponding desktop card in a period of time, and the expected exposure time refers to the expected exposure time of the corresponding desktop card when the corresponding desktop card is on line, namely the set time. Of course, the card attribute is not limited to these four types, and may be set according to actual requirements.
Specifically, the desktop card is classified and introduced by taking all the four card attributes based on the click rate, the removal rate, the service frequency, the expected exposure time as an example, each card attribute of the click rate, the removal rate, the service frequency and the expected exposure time can be regarded as one dimension of the desktop card in space, so that the dimension is scored, the desktop card is represented in a vector form, a first deviation angle threshold value and a first spatial deviation threshold value can be preset, then the number k of categories to be clustered is selected, the sphere centers of k clustering sets are selected, and it is required that k can be selected according to requirements, and the sphere centers of the clustering sets can also be called as clustering sphere centers. For example, 3, although this is merely an example and is not intended to be limiting. For each vector, finding the nearest sphere center, clustering the sphere center with a distance smaller than a first spatial deviation threshold and meeting the deviation angle with the sphere center within a first deviation angle threshold range, for example, the first spatial deviation threshold can be set to be 5m, the first deviation angle threshold is 10 degrees, and for a certain sphere center, finding the representative vector with the sphere center with a distance smaller than 5m and the deviation angle with the sphere center is smaller than 10 degrees, and clustering the plurality of representative vectors based on the same principle to obtain a plurality of clustering sets. Wherein the representative vectors in each cluster set intersect at approximately the same point. Of course, this is by way of illustration only and is not intended to be limiting in any way.
Thus, the desktop cards can be classified based on the card attributes.
S602: user operation behavior is determined.
The user operation behavior can be classified into clicking operation, removing operation, sliding and setting the desktop card on top, in the actual operation process, the user operation behavior can be one or more of clicking, removing and sliding and setting the desktop card on top, wherein user behavior preferences represented by different operation behaviors have differences, for example, in the same situation, compared with the removed desktop card, the user prefers the clicked desktop card, and of course, other user operation behaviors can be set by those skilled in the art according to actual requirements.
Further, in some cases, the user may click on the opposite top desktop card due to misoperation, so the user may slide the card to place it on top and click again, and the preference of the user can be reflected more than that of direct designated clicking, and the removal is also the same, so the three actions may be specifically divided, for example, clicking is divided into top-placing clicking and non-top-placing clicking, removing is divided into top-placing removing and non-top-placing removing, the sliding top-placing of the desktop card is divided into the exposure time of sliding top-placing of the desktop card being less than a first threshold, the exposure time of sliding top-placing of the desktop card being greater than a first threshold and less than a second threshold, and the exposure time of sliding top-placing of the desktop card being greater than a second threshold, and the specific miniaturization is 7 actions. The first threshold and the second threshold can be set according to requirements.
In some cases, the exposure time period of sliding the desktop card to the top is not the effective exposure time period of user reading, for example, the desktop card currently positioned to the top in the electronic display screen is set as a weather card, the user holds the electronic device after sliding the date card to the top, at this time, the exposure time period of the date card may be up to the screen of the electronic device, but the effective exposure time period of user reading may only be a period of time when the date card is just positioned to the top, in this case, the exposure time period of the date card after sliding the top is greater than the effective exposure time period of user reading, so that it is necessary to determine the interval of the effective exposure time period to determine whether the exposure time period of the card after sliding the top is in the interval of the effective exposure time period of user reading.
Specifically, a single exposure time length of a plurality of desktop cards and the number of desktop cards corresponding to each exposure time length can be obtained, and kernel density estimation is performed on the distribution of the exposure time lengths to obtain an estimated probability density curve f, as shown in fig. 7, the first image at the top is the estimated probability density distribution, the abscissa is the single exposure time length of the desktop cards, and the ordinate is the number of desktop cards corresponding to each exposure time length.
The effective exposure time length distribution for the user to read can be considered as the gamma distribution, that is, the probability density distribution of the third picture at the bottom in fig. 7, and the meaningless exposure time length distribution as the exponential distribution, that is, the second probability density distribution at the middle in fig. 7, the density curve f can be equal to the sum of the exponential distribution of a times and the gamma distribution of b times. The construction function is as follows:
in general, f (x) 'is f, but in some cases, there may be a deviation between the values of f (x)' and f, so that the wireless of f (x) 'approaches f to reduce the deviation, an optimization algorithm (for example, newton method, quasi-newton method, etc.) may be used to optimize the value of f (x)' and solve the parameters in the above equation to obtain:
according to the above equation, the effective exposure time period may be taken as follows: the interval of the gamma distribution accumulation distribution function >90% can be the exposure time length [0.55,2] seconds, and of course, the interval of the effective exposure time length is only one possible implementation, and can be set by a person skilled in the art according to requirements.
Because, classifying the operation behaviors of the user to obtain an operation behavior set b= { B1, B2, B3 … bi }, for example, b= { top-click, non-top-click, top-removal, non-top-removal, the exposure time of the desktop card sliding top-set is less than 0.55, the exposure time of the desktop card sliding top-set is greater than 0.55 and less than 2, and the exposure time of the desktop card sliding top-set is greater than 2}
S603: rewards are set for each operational behavior.
Acquiring n service cards C= { C of card stack 1 ,c 2 ,...,c n K categories g= { G } are obtained 1 ,g 2 ,...,g k }. For any category g i I=1, 2,..k, for the operation behavior set b= { B 1 ,b 2 ,...,b i Assigning a corresponding prize value, for example, assigning a positive prize value to positive operation behavior and assigning a negative prize value to negative operation, to obtain a prize value vector r= { R 1 ,r 2 ,...,r i }。
In some possible implementations, the reward points set for the operation behaviors may be set according to the types of the desktop cards, for example, the same reward points may be set for the same operation behaviors of a desktop card in a certain of eleven types, for example, the reward points may be set to add 0.8 point to the desktop card in the travel reminding type, add 1 point to the non-vertex point-hitting operation, subtract 0.8 point to the vertex-setting removal, subtract 1 point to the non-vertex-setting removal, subtract 0.55 point to the vertex-setting exposure time of the desktop card sliding, subtract 1 point to the longer time of the exposure of the desktop card sliding, subtract 0.55 point to the shorter time of the exposure of the desktop card sliding, and subtract 0.8 point to the longer time of the exposure of the desktop card sliding. For example, the event is started to remind a desktop card, the vertex-setting hit operation is set to add 2 minutes, the non-vertex-setting hit operation is added 2.5 minutes, the vertex-setting removal is reduced by 2 minutes, the non-vertex-setting removal is reduced by 2.5 minutes, the exposure time of the sliding vertex-setting of the desktop card is less than 0.55 and reduced by 2 minutes, the exposure time of the sliding vertex-setting of the desktop card is greater than 0.55 and less than 2 and added 2.5 minutes, and the exposure time of the sliding vertex-setting of the desktop card is greater than 2 and reduced by 2 minutes. Of course, the foregoing is merely exemplary, and those skilled in the art may set the foregoing according to actual needs, and are not limited thereto, for example, the bonus points may be set to bonus points, and the bonus points may be collectively referred to as bonus parameters.
In some possible implementations, the set initial prize value may also be referred to on the acquired data set with the vertex hit rate set as an optimization target to obtain the most favorable prize value vector.
S604: the bonus points for each desktop card in the card stack are determined, and the desktop cards are ranked based on the bonus points.
The electronic device can sort the cards through the UCB algorithm in combination with the business scenario.
Further, in the UCB algorithm, the core problem is: and (3) estimating the actual click willingness p of the card, the click willingness p' of the card and the uncertainty delta. The real clicking willingness of the card can also be called the real clicking willingness of the user to the desktop card, and the clicking willingness of the card can also be called the clicking willingness of the user to the desktop card.
The electronic device may obtain the reward points of the desktop cards, in some possible implementation manners, may determine the click reward points of the corresponding desktop cards under the corresponding categories according to the click operation of the user on the single desktop card, determine the removal reward points of the corresponding desktop cards under the corresponding categories according to the removal operation of the user on the single desktop card, determine the reward points of the corresponding desktop cards under the corresponding categories according to the sliding top setting operation of the user on the single desktop card, and then determine the reward points of the corresponding desktop cards according to the sum of the click reward points, the removal reward points and the top setting reward points in each desktop card.
In some possible implementations, the click reward points of the corresponding desktop cards under the corresponding categories may be determined according to the vertex-setting and non-vertex-setting operations of the single desktop card by the user, the removal reward points of the corresponding desktop cards under the corresponding categories may be determined according to the vertex-setting and non-vertex-setting removal operations of the single desktop card by the user, the sliding-setting operation of the desktop cards by the user includes an operation of sliding the desktop cards to be exposed for a length of time less than a first threshold value, an operation of sliding the desktop cards to be exposed for a length of time greater than the first threshold value and less than a second threshold value, and an operation of sliding the desktop cards to be coveredAnd determining the reward points of the corresponding desktop cards in the corresponding categories through the operation that the exposure time is longer than the second threshold value, and determining the reward points of the corresponding desktop cards according to the sum of the click reward points, the removal reward points and the top reward points in each desktop card. I.e. in the process of solvingk is the number of times the card is set on top.
And then determining the card clicking willingness p 'according to the rewarding points of the desktop card, wherein in certain cases, the deviation delta exists between the actual clicking willingness p of the card and the estimated clicking willingness p'. The UCB algorithm always optimistically considers the willingness to click on a card to be p' +Δ.
Specifically, assuming that in the T-round ordering, a certain card appears K times altogether, p' can be calculated by the following formula:
wherein b i R is the operation behavior i For example, in 5 rounds of sorting, a certain desktop card appears together, namely, the top is set for 3 times, wherein the operation actions of two users are top-set clicks, and one non-top-set click operation can be used for multiplying the reward score under the corresponding card category by the top-set click operation, multiplying the reward score under the corresponding card category by the top-set click operation and multiplying the sum of the reward scores under the corresponding card category by the non-top-set click operation, and dividing the sum by the appearing 3 times. Of course, this is by way of example only and is not limiting.
The uncertainty delta calculation formula is as follows:
and then calculating the value of P by using P' +delta, and sequencing the corresponding desktop cards according to the sequence from the large value to the small value of P, wherein the desktop card with the largest value of P is set on top, and then the desktop card with the second largest value of P is sequenced in the sequence.
The application provides a method for classifying desktop cards in a card stack, which comprises the steps of classifying the desktop cards in the card stack, acquiring operation behaviors of a user on the desktop cards in the card stack, determining rewarding parameters, such as rewarding points, of each desktop card under corresponding categories according to the operation behaviors, further determining clicking willingness of the corresponding desktop card according to the rewarding points of each desktop card, sorting the desktop cards in the card stack from large to small according to the real clicking willingness according to the sum of the clicking willingness of each desktop card and the corresponding real deviation, acquiring a first sequence, and adjusting the original arranging sequence of the desktop cards in the preset card stack according to the arranging sequence of the desktop cards in the first sequence so as to finish the sorting of the desktop cards. Therefore, according to different operations of the user on the desktop cards in the same category or different categories, the preference degree of the user on the different desktop cards is reflected, and the arrangement sequence of the original desktop cards can be adjusted according to the preference degree of the user on the desktop cards, so that the user likes or commonly used desktop cards are ordered on the card stack, and the experience of the user can be improved.
The embodiment of the application also provides a computer storage medium comprising computer instructions which, when run on a mobile terminal, cause the electronic device to perform the method according to any of the above embodiments.
The embodiment of the application also provides a computer program product, which comprises instructions; the instructions, when executed by an electronic device, cause the electronic device to perform the method of any of the above embodiments.
The technical solution of the present embodiment may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method described in the respective embodiments. And the aforementioned storage medium includes: flash memory, removable hard disk, read-only memory, random access memory, magnetic or optical disk, and the like.
The foregoing is merely illustrative of specific embodiments of the present application, and the scope of the present application is not limited thereto, but any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. The method for ordering the desktop cards is applied to the electronic equipment and is characterized by comprising the following steps:
acquiring the operation behaviors of a user on desktop cards in a card stack;
determining the rewarding parameters corresponding to each desktop card according to the operation behaviors; the rewarding parameter characterizes the preference degree of the user to the desktop card;
ordering the desktop cards in the card stack from large to small according to the rewarding parameters to obtain a first sequence;
and adjusting the original arrangement sequence of the desktop cards in the preset card stack according to the arrangement sequence of the desktop cards in the first sequence so as to finish the ordering of the desktop cards.
2. The method of claim 1, prior to acquiring user operational activity on desktop cards in the stack of cards, the method further comprising:
classifying desktop cards in the card stack based on preset rules;
determining the rewarding parameters corresponding to each desktop card according to the operation behaviors, wherein the rewarding parameters comprise:
and determining the rewarding parameters of each desktop card under the corresponding category according to the operation behaviors.
3. The method of claim 1, wherein prior to acquiring the user's operational activity with the desktop cards in the card stack, the method further comprises:
Classifying desktop cards in the card stack based on the attributes of the cards;
determining the rewarding parameters corresponding to each desktop card according to the operation behaviors, wherein the rewarding parameters comprise:
and determining the rewarding parameters of each desktop card under the corresponding category according to the operation behaviors.
4. A method according to any one of claims 2 or 3, wherein the operational behaviour comprises: clicking operation, removing operation and sliding the desktop card operation to the top. Determining the rewarding parameters corresponding to each desktop card according to the operation behaviors, wherein the rewarding parameters comprise:
determining clicking rewarding parameters of the corresponding desktop card under the corresponding category according to clicking operation of the user on the single desktop card, determining removing rewarding parameters of the corresponding desktop card under the corresponding category according to removing operation of the user on the single desktop card, and determining rewarding parameters of the corresponding desktop card under the corresponding category according to sliding top setting operation of the user on the single desktop card;
determining the rewarding parameters of the corresponding desktop cards according to the sum of the clicking rewarding parameters, the removing rewarding parameters and the top-setting rewarding parameters in each desktop card.
5. The method of claim 4, wherein the clicking operation comprises a zenith clicking operation and a non-zenith clicking operation, the removing operation comprises a zenith removing operation and a non-zenith removing operation, the sliding the desktop card on top operation comprises a sliding the desktop card on top of an exposure time period less than a first threshold operation, a sliding the desktop card on top of an exposure time period greater than a first threshold less than a second threshold operation, and a sliding the desktop card on top of an exposure time period greater than a second threshold operation.
6. The method of claim 5, wherein the method further comprises:
acquiring exposure time lengths of a plurality of desktop cards in a card stack, performing nuclear density estimation on the exposure time lengths, and constructing a probability density curve;
constructing a function of gamma distribution and exponential distribution based on the probability density curve;
solving the function to determine an effective exposure time interval;
the operation of sliding the desktop card to the top comprises the operation of sliding the desktop card to the top for an exposure time shorter than the lower limit of the effective exposure time interval, the operation of sliding the desktop card to the top for the exposure time longer than the upper limit of the effective exposure time interval.
7. The method of any of claims 1-6, wherein the bonus parameter comprises a bonus score, the method further comprising:
acquiring the times of test sequencing and the times of top placement of each desktop card;
determining the real deviation of each desktop card according to the test ordering times and the top-setting times of each card;
the ordering the desktop cards in the card stack according to the rewarding parameters from big to small comprises the following steps:
Determining clicking willingness of the corresponding desktop card according to the rewarding points of each desktop card;
determining the real click willingness of each desktop card according to the sum of the click willingness of each desktop card and the corresponding real deviation;
and ordering the desktop cards in the card stack from large to small according to the actual click will.
8. The method according to any one of claims 1-7, further comprising:
acquiring exposure time lengths of a plurality of desktop cards;
training a card ordering model according to the exposure time of the desktop card;
and ordering the desktop cards based on the card ordering model to obtain the original arrangement sequence of the desktop cards in the preset card stack.
9. An electronic device, comprising: a processor and a memory;
wherein one or more computer programs are stored in the memory, the one or more computer programs comprising instructions; the instructions, when executed by the processor, cause the electronic device to perform the method of any of claims 1-8.
10. A computer storage medium comprising computer instructions which, when run on an electronic device, perform the method of any of claims 1-8.
CN202310207511.XA 2023-02-24 2023-02-24 Ordering method of desktop cards, electronic equipment and medium Pending CN117112087A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310207511.XA CN117112087A (en) 2023-02-24 2023-02-24 Ordering method of desktop cards, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310207511.XA CN117112087A (en) 2023-02-24 2023-02-24 Ordering method of desktop cards, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN117112087A true CN117112087A (en) 2023-11-24

Family

ID=88795391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310207511.XA Pending CN117112087A (en) 2023-02-24 2023-02-24 Ordering method of desktop cards, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN117112087A (en)

Similar Documents

Publication Publication Date Title
WO2020238356A1 (en) Interface display method and apparatus, terminal, and storage medium
WO2021027725A1 (en) Method for displaying page elements and electronic device
US11263254B2 (en) Video generation system to render frames on demand using a fleet of servers
CN113453040B (en) Short video generation method and device, related equipment and medium
WO2021000841A1 (en) Method for generating user profile photo, and electronic device
WO2021013132A1 (en) Input method and electronic device
CN110163066B (en) Multimedia data recommendation method, device and storage medium
CN109784351B (en) Behavior data classification method and device and classification model training method and device
EP3410258B1 (en) Method for pushing picture, mobile terminal and storage medium
CN113364971A (en) Image processing method and device
CN115689963B (en) Image processing method and electronic equipment
US20230410376A1 (en) Compressing image-to-image models with average smoothing
US20230224574A1 (en) Photographing method and apparatus
CN110929159A (en) Resource delivery method, device, equipment and medium
CN110909184A (en) Multimedia resource display method, device, equipment and medium
WO2021254113A1 (en) Control method for three-dimensional interface and terminal
CN115113751A (en) Method and device for adjusting numerical range of recognition parameter of touch gesture
WO2023179490A1 (en) Application recommendation method and an electronic device
KR20240027047A (en) User interface to present functions applicable to the camera
WO2021196980A1 (en) Multi-screen interaction method, electronic device, and computer-readable storage medium
CN117112087A (en) Ordering method of desktop cards, electronic equipment and medium
CN115083424A (en) Person analysis system, method and related device
WO2024099206A1 (en) Graphical interface processing method and apparatus
CN117389745B (en) Data processing method, electronic equipment and storage medium
WO2022194084A1 (en) Video playing method, terminal device, apparatus, system 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