[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2022089009A1 - Service card display method and device - Google Patents

Service card display method and device Download PDF

Info

Publication number
WO2022089009A1
WO2022089009A1 PCT/CN2021/116876 CN2021116876W WO2022089009A1 WO 2022089009 A1 WO2022089009 A1 WO 2022089009A1 CN 2021116876 W CN2021116876 W CN 2021116876W WO 2022089009 A1 WO2022089009 A1 WO 2022089009A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
card
flight
information
service card
Prior art date
Application number
PCT/CN2021/116876
Other languages
French (fr)
Chinese (zh)
Inventor
方荣杰
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022089009A1 publication Critical patent/WO2022089009A1/en

Links

Images

Classifications

    • 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
    • G06F3/0485Scrolling or panning
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • H04M1/72472User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons wherein the items are sorted according to specific criteria, e.g. frequency of use

Definitions

  • the embodiments of the present application relate to the field of terminal technologies, and in particular, to a service card display method and device.
  • electronic devices display application service information in the form of service cards, such as reminder services such as trains, flights, weather, or conferences, so that users can view these service information without entering the application.
  • service card can also carry operations related to the application, such as the jump connection to the direct service, so that the user can quickly access the service of the application through the service card.
  • the push method of applications is relatively fixed, and the order of service cards is also relatively fixed, resulting in the display position of multiple service cards corresponding to multiple applications on the interface of the electronic device is fixed. Therefore, the fixed service card display cannot meet the user's personalized service card display requirements.
  • Embodiments of the present application provide a service card display method and device, which are used to optimize the sorting and display of service cards.
  • a method for displaying a service card is provided, which can be applied to an electronic device or a device matched with the electronic device.
  • the method can be implemented by the following steps: determining the order of each service card in the plurality of service cards, the order of each service card is determined based on parameters related to the service information carried by the service card, and the related parameters include status parameter, the state parameter is used to represent the state of the service corresponding to the service information; in response to an instruction requesting to display the first interface, the plurality of service cards are displayed on the first interface according to the order of the plurality of service cards At least one of the service cards.
  • the ordering of each service card is determined based on the parameters related to the service information carried by the service card, and the application of the ordering of the service cards can take into account the changes of the business itself. Compared with the fixed ordering, this method can make the ordering and display of the service cards more convenient. flexible. Because each service card is valuable to the user, the fixed sorting scheme may not display lower priority service cards, this method can make every service card have the opportunity to be displayed. To sum up, the solution provided by the present application realizes the diversity of card sorting, so that the sorting of service cards is no longer fixed, and can adapt to sorting of cards in various scenarios, thus meeting the personalized service card display requirements of users.
  • the related parameters further include action parameters, where the action parameters represent the user's operation of the service corresponding to the service information, and the action parameters may also represent the user's corresponding response to the service information. operation of the service card. In this way, the user's operation on the service can be considered, so that the service card concerned by the user can be displayed.
  • the action parameters include one or more of the following: the browsing time of the service card, the service card click, the service card long-press, the service card removal, the service card top, the service card sharing or viewing the service Card details.
  • the service information is flight information
  • the action parameters include any one or more of the following: ticket reservation, ticket cancellation, subscription to the service card corresponding to the service information, unsubscribe from the A service card corresponding to the service information, or setting a lock screen to remind the service card corresponding to the service information.
  • the related parameters further include a time parameter, and the time parameter includes: the set event occurrence time and/or the current time of the service corresponding to the service information.
  • Q new is the ranking score
  • is the decay factor
  • ⁇ (0,1) Q old is the historical score of the card
  • C is the relevant parameter
  • R is the setting function
  • R(C) is The relevant parameter is based on the value obtained by the setting function.
  • the parameters related to the service information carried by the card are state parameters and action parameters
  • the state parameter is represented by s
  • the action parameter is represented by a
  • Q new ⁇ Q old +R(s, a).
  • the service information is flight information
  • the status parameters include any one or more of the following: flight waiting to take off, flight refunded, whether the flight is about to take off, flight departure, flight arrival, flight delay , flight return, or flight diversion.
  • the first interface is a negative one-screen interface
  • the instruction for requesting to display the first interface includes performing a sliding operation on the electronic device to instruct the electronic device to display the negative one command on the screen.
  • the first interface is a slide-down interface (or called a pull-down interface) or a slide-up interface (or called a pull-up interface), for example, on the home screen of the electronic device or other non-main interface
  • the interface presented by sliding down the top of the screen further may be the top left or the top right
  • the bottom of the home screen or other non-home screen of the electronic device further may be the bottom left or The interface presented by the bottom right slide).
  • an electronic device in a second aspect, is provided, and the device can be applied to an electronic device, or the device is an electronic device, or the device can be matched and used with the electronic device.
  • the device includes: a processing module configured to determine the order of each service card in the plurality of service cards, the order of each service card is determined based on parameters related to the service information carried by the service card, and the related parameters Including a state parameter, the state parameter is used to represent the state of the service corresponding to the service information; the display module is used to respond to an instruction to display the first interface, according to the order of the plurality of service cards in the first interface At least one service card among the plurality of service cards is displayed on the interface.
  • the related parameters further include action parameters, where the action parameters represent the user's operation of the service corresponding to the service information, and the action parameters may also represent the user's corresponding response to the service information. operation of the service card.
  • the action parameters include one or more of the following: the browsing time of the service card, the service card click, the service card long-press, the service card removal, the service card top, the service card sharing or viewing the service Card details.
  • the service information is flight information
  • the action parameters include any one or more of the following: ticket reservation, ticket cancellation, subscription to the service card corresponding to the service information, unsubscribe from the A service card corresponding to the service information, or setting a lock screen to remind the service card corresponding to the service information.
  • the related parameters further include a time parameter, and the time parameter includes: the set event occurrence time and/or the current time of the service corresponding to the service information.
  • Q new is the ranking score
  • is the decay factor
  • ⁇ (0,1) Q old is the historical score of the service card
  • C is the relevant parameter
  • R is the setting function
  • R(C) The value obtained for the relevant parameter is based on the set function.
  • the service information is flight information
  • the status parameters include any one or more of the following: flight waiting to take off, flight refunded, whether the flight is about to take off, flight departure, flight arrival, flight delay , flight return, or flight diversion.
  • the first interface is a negative one-screen interface
  • the instruction for requesting to display the first interface includes performing a sliding operation on the electronic device to instruct the electronic device to display the negative one command on the screen.
  • the first interface is a sliding interface or a sliding interface.
  • an electronic device in a third aspect, is provided, and the device can be applied to an electronic device, or the device is an electronic device, or the device can be matched and used with the electronic device.
  • the apparatus includes a processor and a memory, and the apparatus is configured to implement the method described in the first aspect above.
  • Memory is used to store program instructions and data.
  • the memory is coupled to the processor, and the processor invokes and executes program instructions stored in the memory, so as to implement the method described in the first aspect or any design of the first aspect.
  • the embodiments of the present application further provide a computer storage medium, where a software program is stored in the storage medium, and the software program can implement the first aspect or the first aspect when read and executed by one or more processors The method of any design of the aspect.
  • embodiments of the present application provide a computer program product containing instructions, which, when run on a computer, cause the computer to execute the method described in the first aspect or any design of the first aspect.
  • an embodiment of the present application provides a chip system, where the chip system includes a processor, and the processor includes a memory or the processor may include a memory, for implementing the above method.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • 1 is a schematic structural diagram of an electronic device in an embodiment of the application.
  • FIG. 2 is a schematic diagram of an electronic device displaying a card on a negative screen according to an embodiment of the application
  • FIG. 3 is a schematic flowchart of a method for displaying a service card in an embodiment of the present application
  • Fig. 4a is one of the schematic diagrams showing five cards in the embodiment of the application.
  • Fig. 4b is the second schematic diagram of the display of five cards in the embodiment of the application.
  • FIG. 5a is a schematic diagram of a scene 1 card display in an embodiment of the present application.
  • Fig. 5b is a schematic diagram showing the display of the second scene card in the embodiment of the application.
  • FIG. 5c is a schematic diagram of the display of a three-card scenario in an embodiment of the present application.
  • FIG. 6 is one of the schematic structural diagrams of the service card display device in the embodiment of the application.
  • FIG. 7 is the second schematic diagram of the structure of the service card display device according to the embodiment of the present application.
  • Service card also known as "card” in this article, is a service form that provides a finer-grained atomic service capability than an application (application, APP), and directly communicates users' most concerned about in the form of an interactive card. services or content displayed to users. Cards can be embedded in various APPs or interactive scenarios to better meet user needs.
  • a card is generally a page in an application or an APP corresponding to the application. The user can click the card to jump to the corresponding application or a service page in the APP.
  • the "application” referred to in the implementation of this application may be an application or an APP corresponding to the application.
  • the card generation process is as follows: the provider of the application service uploads the service content that needs to be pushed to the user on the server, the server generates the corresponding card according to the service content uploaded by the provider, and pushes the card to the user's electronic device for display. , so that the user's electronic device presents the service pushed by the provider of the application service to the user in the form of a card.
  • a card corresponds to a part of the service functions of the application.
  • the provider of the application can divide the service of the application into multiple service modules, each service module corresponds to a card, and then push different services to users according to different service scenarios. card.
  • the electronic devices can be any electronic devices that support a service card function.
  • the electronic device may be a portable electronic device including functions such as a personal digital assistant and/or a music player, such as a mobile phone, a tablet computer, a wearable device (eg, a smart watch) with wireless communication capabilities, and the like.
  • portable electronic devices include, but are not limited to, powered by Hongmeng Or portable electronic devices with other operating systems.
  • the portable electronic device described above may also be other portable electronic devices, such as a laptop or the like having a touch-sensitive surface (eg, a touch panel).
  • the above-mentioned electronic device may not be a portable electronic device, but a desktop computer having a touch-sensitive surface (eg, a touch panel).
  • electronic devices support multiple applications.
  • applications such as one or more of the following: travel apps, drawing apps, presentation apps, word processing apps, gaming apps, phone apps, video player apps, music player apps, email apps, shopping apps, instant messaging apps , photo management application, camera application, browser application, calendar application, clock application, payment application or health management application.
  • instant messaging applications such as SMS applications, MMS applications, various email applications, WeChat, Tencent chat software (QQ), WhatsApp Messenger, Link me (Line), photo sharing (instagram), Kakao Talk, or DingTalk, etc.
  • SMS applications SMS applications, MMS applications, various email applications, WeChat, Tencent chat software (QQ), WhatsApp Messenger, Link me (Line), photo sharing (instagram), Kakao Talk, or DingTalk, etc.
  • chat software QQ
  • WhatsApp Messenger WhatsApp Messenger
  • Link me Line
  • photo sharing instagram
  • Kakao Talk or DingTalk
  • the above-mentioned applications supported by the electronic device may be application programs.
  • the electronic device can also support service cards corresponding to these applications, such as cards corresponding to order logistics services in shopping applications, and cards corresponding to ticketing information in travel applications.
  • the electronic device can support service cards corresponding to applications that have not been installed, as well as service cards corresponding to applications that have not been installed.
  • the user when the electronic device displays any card, the user can view the push service information of the corresponding application carried by the card. Users can also quickly access the services of the corresponding application by interacting with the card. For example, clicking a card jumps to a service page associated with the card. For another example, click the operation button on the card to jump to a service page associated with the operation button.
  • the negative one screen also known as "-1 screen” may refer to sliding to the right on the main interface of the electronic device until it slides to the leftmost split-screen user interface.
  • the negative screen can be used to place some quick service functions and notification messages, such as global search, quick entry to a certain page of the application (payment code, WeChat, etc.), instant information and reminders (express information, expenditure information, commuting road conditions, taxi hailing, etc.) travel information, schedule information, etc.) and follow trends (football stands, basketball stands, stock information, etc.).
  • the mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, Antenna 1, Antenna 2, Mobile Communication Module 150, Wireless Communication Module 160, Audio Module 170, Speaker 170A, Receiver 170B, Microphone 170C, Headphone Interface 170D, Sensor Module 180, Key 190, Motor 191, Indicator 192, Camera 193, Display screen 194, and subscriber identification module (subscriber identification module, SIM) card interface 195 and so on.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light.
  • Display 194 may be a touch display.
  • the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the mobile phone 100 .
  • the mobile phone 100 may include more or less components than shown, or some components may be combined, or some components may be separated, or different component arrangements.
  • 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, for example, 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), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • the solutions provided by the embodiments of the present application may be completed by the processor 110 controlled by or by calling other components, such as calling the processing programs of the embodiments of the present application stored in the internal memory 121 , or calling the processing programs stored in the third-party device through the external memory interface 120 .
  • the processing program in this embodiment of the present application controls the mobile communication module 150 or the wireless communication module 160 to perform data communication with other electronic devices, so as to realize card sorting and display.
  • the controller may be the nerve center and command center of the mobile phone 100 .
  • the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • the mobile phone 100 realizes the display function through the GPU, the display screen 194, and the application processor.
  • Display screen 194 is used to display images, videos, and the like.
  • the display screen 194 displays the main interface of the mobile phone screen, or the lock screen interface, or the negative one-screen interface, or the user interface of the communication application built in the system, or the user interface of other third-party applications, etc., and on these display interfaces
  • the service cards described in the embodiments of the present application are displayed on the upper panel.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • the mobile communication module 150 of the mobile phone 100 receives the card template, card parameters, and card data from the first server 01, and transmits them to the GPU in the processor 110.
  • the GPU performs graphics rendering based on the card template, card parameters, card data, etc. to generate the required Display card.
  • Display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light).
  • LED organic light-emitting diode
  • AMOLED organic light-emitting diode
  • FLED flexible light-emitting diode
  • Miniled MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • the handset 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
  • the wireless communication function of the mobile phone 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in handset 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the mobile phone 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator 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 passed to the application processor.
  • the application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the mobile phone 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • frequency modulation frequency modulation, FM
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through the wireless charging coil of the mobile phone 100 . While the charging management module 140 charges the battery 142 , it can also supply power to the electronic device through the power management module 141 .
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the mobile phone 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.
  • Camera 193 is used to capture still images or video.
  • the object is projected through the lens to generate an optical image onto the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • cell phone 100 may include one or more cameras 193 .
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 100 .
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the processor 110 executes various functional applications and data processing of the mobile phone 100 by executing the instructions stored in the internal memory 121 .
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like.
  • the storage data area can store data (such as audio data, phone book, etc.) created during the use of the mobile phone 100 and the like.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the mobile phone 100 can implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, and an application processor. Such as music playback, recording, etc.
  • the keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key.
  • the cell phone 100 can receive key input and generate key signal input related to user settings and function control of the cell phone 100 .
  • Motor 191 can generate vibrating cues.
  • the motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback.
  • touch operations acting on different applications can correspond to different vibration feedback effects.
  • the motor 191 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
  • the SIM card interface 195 is used to connect a SIM card.
  • the SIM card can be contacted and separated from the mobile phone 100 by being inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 .
  • the mobile phone 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the mobile phone 100 interacts with the network through the SIM card to realize functions such as call and data communication.
  • the handset 100 employs an eSIM, ie an embedded SIM card.
  • the eSIM card can be embedded in the mobile phone 100 and cannot be separated from the mobile phone 100 .
  • the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the mobile phone 100 .
  • the mobile phone 100 may include more or less components than shown, or some components may be combined, or some components may be separated, or different component arrangements.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • FIG. 2 is an example of an electronic device displaying a card on a negative screen.
  • the weather information card pushed by the weather application the notification information card pushed by the hotel application
  • the conference information card pushed by the conference application the logistics information card pushed by the shopping application.
  • the number of cards may be relatively large.
  • all cards may not be displayed on the negative screen of the electronic device, but only a part of them may be displayed.
  • an upper limit value is set for the number of cards displayed on the negative screen of the electronic device, for example, only 4 cards or 5 cards are allowed to be displayed.
  • all cards cannot be displayed.
  • different priorities are set for different cards, so the card sorting in situational intelligence is always fixed according to the priority, and the cards displayed on the negative one-screen interface are also fixed.
  • different users have different perceptions of event priorities, and fixed sorting or fixed display cannot meet the user's personalized requirements.
  • the display method of the service card provided by the embodiment of the present application can optimize the sorting and display of the service card.
  • the method is applied to an electronic device, and the electronic device includes a first interface.
  • the flow of the service card display method provided by the embodiment of the present application is as follows.
  • the order of each service card is determined based on parameters related to the service information carried by the service card, and the related parameters include a state parameter, and the state parameter is used to represent the state of the service corresponding to the service information.
  • the first interface may be a negative one-screen interface, and the first interface may be briefly described as an interface, and the instruction requesting to display the first interface may include an instruction to instruct the electronic device to display the negative one-screen interface by performing a sliding operation on the electronic device. It can be understood that, the first interface may also be an interface of another screen, for example, a home screen interface.
  • the multiple service cards may refer to some or all of the service cards supported by the electronic device. According to the sorting of the multiple service cards, the top N cards are displayed on the first interface. N can be a set threshold, the threshold can refer to the number of cards allowed to be displayed, and N is a positive integer.
  • N can take a value of 5. It can be understood that the value of N is only an example, and N can take a value of any positive integer.
  • the number of the multiple service cards is greater than 5 or equal to 5, according to the sorting of the multiple service cards, the top five cards are displayed on the first interface. The five cards may be displayed in different positions on the interface according to the order of the five cards.
  • the relationship between the display of the 5 cards and the ordering of the 5 cards can be illustrated by the following examples. Among them, 5 cards can be represented by card 1, card 2, card 3, card 4 and card 5. Suppose the 5 cards are sorted from high to low as Card 1, Card 2, Card 3, Card 4 and Card 5.
  • the conspicuousness of the display positions of the five cards on the interface corresponds to the order of the five cards.
  • the cards in the top order are displayed in a prominent position on the interface, and the cards in the back order can be displayed in a less conspicuous position on the interface.
  • the five cards can be displayed in sequence from top to bottom on the interface according to the order of the five cards. Refer to Figure 4a or Figure 4b. Each card in Figure 4b has the same conspicuousness. different degrees.
  • the five cards can be displayed on the interface in order from left to right and top to bottom, that is, the five cards are displayed in a row from left to right first, and the display position in the current row After it is occupied, it will be displayed from left to right in the next row of the row until 5 cards are displayed, please refer to Figure 4a.
  • the conspicuousness of each card in Figure 4a is different. Cards have the same visibility.
  • the number of the plurality of service cards may also be less than five. Then, the plurality of service cards can be displayed on the interface, that is, the plurality of service cards can be displayed on the interface, and the display method can also refer to the description of the five cards above, which will not be repeated here.
  • the following takes the service information as flight information as an example to describe the possible implementation forms of the relevant parameters of the service information.
  • the service information is flight information
  • the application corresponding to the card is a travel application or a flight application.
  • the flight application is specifically China Eastern Airlines.
  • the card shows some service information corresponding to China Eastern Airlines flight MU5413, for example, the flight departure location: Shanghai, Pudong T2; the flight landing location: Beijing, Capital T2; the flight departure time: 18:30, February 10 Friday; the landing time of the flight is 21:00, Friday, February 10; check-in counters: B, C; boarding gate: A51.
  • the service corresponding to the service information is the flight-related service corresponding to the flight information.
  • the status or status parameters of the service can be any one or more of the following: flight pending, flight refunded, whether the flight is about to take off, flight departure, flight arrival, flight delay, flight return, or flight alternate.
  • the order of the cards bearing the flight information may be determined based on the state parameters related to the flight information, that is, the ordering positions of the cards bearing the flight information among the plurality of cards.
  • the state parameter represents the state of the service corresponding to the service information, and is related to the scene in which the service is located.
  • the scene sending change state parameters change accordingly.
  • the related parameters based on the service information carried by the card may further include action parameters.
  • the action parameter represents the user's operation on the service corresponding to the service information, and may also represent the user's operation on the service card corresponding to the service information.
  • the service information is flight information
  • the action parameters include any one or more of the following: ticket reservation, ticket cancellation, subscription to the service card corresponding to the service information, unsubscribe to the service card corresponding to the service information, or setting a lock screen The service card corresponding to the service information is reminded.
  • Action parameters can also only operate on cards.
  • action parameters include one or more of the following: service card browsing time, service card click, service card long press, service card removal, service card top, service card sharing or View service card details.
  • the time the service card is viewed can also be considered as exposure of the card.
  • the newly added cards are sorted in a higher order, which is beneficial to display the latest cards with reminders.
  • the card exposure can be differentiated between valid and invalid exposures according to the exposure time. When the card exposure is browsed for longer than a certain threshold, it is considered to be an effective exposure, otherwise it is considered an invalid exposure.
  • Action parameters are related to user input. User input for manipulation of card or service information can change action parameters.
  • the parameters related to the service information carried on the card may further include a time parameter.
  • the time parameter includes: the set event occurrence time and/or the current time of the service corresponding to the service information.
  • the service information is flight information
  • the set event may be flight departure
  • the time parameter may be the distance between the flight departure time and the current time.
  • the ordering of the cards may be determined based on a combination of one or more of a state parameter, an action parameter, and a time parameter.
  • the order of the card may also be determined in combination with the historical order of the card.
  • the sorting of the cards may be reflected by sorting scores.
  • the sorting score of the card is determined according to the parameters related to the service information carried by the card.
  • the multiple sorting scores of the multiple cards determine the sorting of the multiple cards, for example, the sorting of the multiple cards is determined in descending order of the sorting scores.
  • the parameters related to the service information carried by the card can be substituted into the preset function to obtain reward and punishment incentives; according to the reward and punishment incentives combined with the historical ranking score of the card, the ranking score of the card is determined.
  • Q new is the ranking score of the card
  • is the decay factor
  • ⁇ (0,1) Q old is the historical ranking score or historical score of the card
  • C is the parameter related to the service information carried by the card
  • R For the setting function
  • R(C) is the value obtained based on the setting function for the parameters related to the service information carried by the card.
  • R(C) can be called reward and punishment incentive or ranking gain.
  • the formula (1) is equivalent to the formula (2).
  • Formula (2) indicates that the ranking score of the card is obtained by iterative operation with the historical score of the card.
  • Q T is the ranking score of the card calculated this time. This calculation can be recorded as the T-th calculation.
  • R T-1 is the reward and punishment incentive calculated in the previous calculation (ie, the T-1th time)
  • R t-2 is the reward and punishment incentive calculated for the t-2th time
  • R T-2 is the reward and punishment incentive calculated for the T-3th time.
  • the parameters related to the service information carried by the card are state parameters and action parameters
  • the state parameter is represented by s
  • the action parameter is represented by a.
  • the sorting score corresponding to the sorting of the card conforms to formula (3), and formula (3) can be considered as a variant of formula (1) where C is replaced by s and a.
  • a card's historical ranking score can also be referred to as a decay term. Combined with the historical sorting score of the card, it is possible to learn all historical behaviors or historical events of the card. But the further away from the current time, the smaller the impact on sorting. ⁇ Q old is an optional form of a card's historical ranking score.
  • R(C) can be implemented by looking up a table. That is, by entering the parameters related to the service information carried by the card, and by looking up the table, the reward and punishment incentive R(C) can be obtained.
  • the parameters related to the service information carried by the card include status parameters, action parameters and time parameters.
  • the status parameters include flight pending departure, flight refunded, flight departure, flight arrival, flight return, and flight alternates
  • action parameters include ticket reservation, ticket cancellation, service card exposure (or service card browsing time), service card click, service card sharing, and viewing service card details.
  • the reward and punishment incentive is 5e -t .
  • the status parameter is the flight has been refunded and the action parameter is the service card click, the reward and punishment incentive is e -t .
  • NA means empty, there is no reward and punishment incentive.
  • e- t can represent the time decay term, and express the relationship between the importance of the card's corresponding business and time through a mathematical expression.
  • e -t is an expression of the time decay term, and the time decay term can be identified by other mathematical expressions.
  • Table 1 is just an example, for cards corresponding to other applications or cards carrying other service information, rewards and punishment incentives can also be determined in a similar manner, thereby determining the sorting score of the cards.
  • the electronic device supports two cards carrying flight information, denoted as card 1 and card 2 respectively.
  • the two cards can be two cards of the same application carrying different flight information, or cards of different applications carrying different flight information.
  • the parameters related to flight information carried by card 1 and card 2 respectively include dynamic parameters, state parameters and time parameters, and the reward and punishment incentives conform to the examples shown in Table 1.
  • the reward and punishment incentives (or ranking gains) of card 1 and card 2 in different scenarios are respectively shown.
  • the dynamic parameter of card 1 and card 2 is "ticket reservation", and the state parameter is "flight to take off”.
  • the reward and punishment incentive of card 2 is higher than that of card 1, the ranking score of card 2 is higher than that of card 1, and the ranking of card 2 is higher than that of card 1.
  • the display position of card 2 is higher than the display position of card 1 or is more prominent.
  • the departure time t is 3 days; for Card 2, the departure time t is 2 days.
  • the action parameters of card 1 include ticket reservation and service card click, and the state parameter is "flight to take off”. User clicks to view card 1. However, the exposure time of card 2 does not exceed a certain threshold, which is invalid exposure. As shown in Table 5, the action parameters of card 1 include ticket reservation and service card exposure, and the state parameter is "flight to take off”.
  • the reward and punishment incentive of card 1 is higher than that of card 2
  • the ranking score of card 1 is higher than that of card 2
  • the ranking of card 1 is higher than that of card 2.
  • Qold is the initial value of the sorting score.
  • the initial value of the sorting score is determined according to the predefined priority of each card.
  • the priority of cards can be determined according to different settings or definitions.
  • the way to obtain the priority can be obtained in a specified way. If there are multiple ways to obtain the priority, the way to obtain the priority can be selected in order. For example, when the card priority can be obtained through the three methods of user definition, user portrait and card exposure conversion rate, the card priority can be obtained by the user-defined method first, and the card priority can be obtained by the user portrait method secondly. , and finally select the card exposure conversion rate method to obtain the card priority. That is, the method of obtaining the card priority can be arranged in the following order from high to low: user-defined > user portrait > card exposure conversion rate.
  • n is the number of sorted cards
  • max (conversion rate) is the maximum value of n conversion rates of n cards. The higher the sorting factor of the card priority, the higher the ranking of the card priority.
  • Tables 6 and 7 illustrate different cards in 5.
  • the service information carried by the 5 cards is: flight information, hotel information, train information, conference information, and birthday reminder information.
  • the card exposure conversion rates of the five cards are 12%, 4%, 10%, 7% and 3%, respectively.
  • the prioritization factors for the 5 cards are According to the order of the sorting factor from large to small, determine the sorting priority of the 5 cards from front to back.
  • the priorities of the 5 cards are shown in Table 7. The priority is represented by 1, 2, 3, 4, and 5, with 1 being the highest priority and 5 being the lowest.
  • This embodiment of the present application designs the above scheme for the card display or event reminder business, and determines the order and display of cards based on parameters such as card interaction and event state changes. For example, the order can be changed by exposure penalty. The more exposure, the lower the card order.
  • the solution provided by the present application realizes the diversity of card sorting, so that the card sorting is no longer fixed, can adapt to the card sorting in various scenarios, and satisfies the user's personalized card display requirements.
  • the solutions provided in the embodiments of the present application can be used in the field of artificial intelligence (artificial intelligence, AI).
  • AI artificial intelligence
  • the solutions provided by the embodiments of the present application can be extended to some other decision-making scenarios with independent states, such as equipment decision-making, control decision-making, and the like.
  • the present application only considers the influence of the state of a single independent event on the importance of the event, and may also consider the influence of correlation between events.
  • the order of the cards displayed on the negative screen from high to bottom is: the flight information card (referred to as flight card) pushed by the travel application, and the weather information card (referred to as the flight card) pushed by the weather application. referred to as the weather card), the card of notification information pushed by the hotel application (referred to as the hotel card), the card of the conference information pushed by the conference application (referred to as the conference card), and the card of the logistics information pushed by the shopping application (referred to as the express card) .
  • the hotel application the hotel application
  • the conference information pushed by the conference application referred to as the conference card
  • the express card the card of the logistics information pushed by the shopping application
  • the order of the cards displayed on the negative screen has changed, from high to low: conference cards, express cards, flight cards, weather cards, and hotel cards.
  • the order of the cards displayed on the negative screen has changed, from high to bottom: video information cards, express cards, hotel cards, conference cards and weather cards pushed by multimedia applications.
  • the order of the multiple cards supported by the electronic device changes according to the parameters related to the service information carried by the cards.
  • an embodiment of the present application also provides a service card display device 600 , which may be the electronic device described above, or a device in an electronic device, or a device capable of and The electronic equipment is matched to the device used.
  • the electronic device includes a first interface.
  • the apparatus 600 may include modules corresponding to one-to-one execution of the methods/operations/steps/actions involved in the above method embodiments, and the modules may be hardware circuits, software, or a combination of hardware circuits.
  • Software Implementation In one design, the apparatus may include a processing module 601 and a display module 602 .
  • the processing module 601 is configured to determine the order of each service card in the plurality of service cards, the order of each service card is determined based on parameters related to the service information carried by the service card, and the relevant parameters include state parameters, and the state parameters are used for Indicates the status of the business corresponding to the service information;
  • the display module 602 is configured to display at least one service card among the plurality of service cards on the first interface according to the order of the plurality of service cards in response to an instruction for requesting to display the first interface.
  • the processing module 601 and the display module 602 may also be configured to perform other corresponding steps or operations in the foregoing method embodiments, which will not be repeated here.
  • the division of modules in the embodiments of the present application is schematic, and is only a logical function division. In actual implementation, there may be other division methods.
  • the functional modules in the various embodiments of the present application may be integrated into one processing unit. In the device, it can also exist physically alone, or two or more modules can be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.
  • an embodiment of the present application further provides a service card display device 700 for implementing the method described in the above method embodiment.
  • the apparatus 700 may be the electronic device described above, or may be a device in an electronic device, or a device that can be matched and used with the electronic device.
  • the device may be a chip system.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • the apparatus 700 includes a display screen 710 for displaying an interface.
  • the apparatus 700 includes one or more processors 720, configured to implement the methods provided by the embodiments of this application.
  • the apparatus 700 may also include at least one memory 730 for storing program instructions and/or data.
  • Memory 730 is coupled to processor 720 .
  • the coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units or modules, which may be in electrical, mechanical or other forms, and is used for information exchange between devices, units or modules.
  • Processor 720 may cooperate with memory 730 . At least one of the at least one memory may be included in the processor.
  • the processor 720 may execute program instructions stored in the memory 730 to perform the following operations: determine the ranking of each service card in the plurality of service cards, the ranking of each service card is determined based on parameters related to the service information carried by the service card , the relevant parameters include a state parameter, the state parameter is used to represent the state of the service corresponding to the service information; and an instruction used to display the first interface in response to the request, according to the order of the plurality of service cards on the first interface of the display screen 710 Display at least one service card among the plurality of service cards.
  • the specific connection medium between the display screen 710, the processor 720, and the memory 730 is not limited in the embodiments of the present application.
  • the memory 730, the processor 720, and the display screen 710 are connected through a bus 740 in FIG. 7.
  • the bus is represented by a thick line in FIG. 7, and the connection between other components is only for schematic illustration. , is not limited.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in FIG. 7, but it does not mean that there is only one bus or one type of bus.
  • the processor 720 may also be configured to perform other corresponding steps or operations in the foregoing method embodiments, which will not be repeated here.
  • the processor 720 may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA off-the-shelf programmable gate array
  • Programmable logic devices discrete gate or transistor logic devices, discrete hardware components.
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
  • Software modules can be located in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory or electrically erasable programmable memory, registers, etc. in the storage medium.
  • RAM random access memory
  • ROM read-only memory
  • the storage medium is located in the memory, and the processor reads the instructions in the memory, and completes the steps of the above method in combination with its hardware.
  • the memory 730 may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or a volatile memory (volatile memory), Such as random-access memory (random-access memory, RAM).
  • Memory 730 is, but is not limited to, any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
  • the memory 730 in this embodiment of the present application may also be a circuit or any other device capable of implementing a storage function, for storing program instructions and/or data.
  • an embodiment of the present application further provides a chip, which is coupled to a memory in a device, so that the chip invokes program instructions stored in the memory when running, so as to realize the above-mentioned services of the embodiment of the present application Card display method.
  • an embodiment of the present application further provides a computer storage medium, where the computer-readable storage medium includes a computer program, and when the computer program runs on an electronic device, the electronic device enables the electronic device to execute the above-mentioned embodiments of the present application.
  • Service card display method when the computer program runs on an electronic device, the electronic device enables the electronic device to execute the above-mentioned embodiments of the present application.
  • the embodiments of the present application also provide a computer program product, the computer program product includes instructions, when the instructions are executed, the above-mentioned service card display method according to the embodiments of the present application is executed.
  • the above-mentioned embodiments it may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • software it can be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media.
  • the usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state drives), and the like.

Landscapes

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

Abstract

Disclosed are a service card display method and a device, used for optimizing the order and display of service cards. The method is applied to an electronic device, the electronic device comprising a first interface. The method comprises the following steps: determining an order of each service card among multiple service cards, the ordering of each service card being determined on the basis of parameters related to service information carried by the service card, and the relevant parameters comprising a state parameter used to represent the state of the service corresponding to the service information; in response to a request to display a first interface, displaying at least one service card among the multiple service cards on the first interface according to the order of the service cards. The present method may be used in the field of artificial intelligence (AI) for intelligently ordering and displaying service cards.

Description

一种服务卡片显示方法及装置A service card display method and device
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求在2020年10月31日提交中国专利局、申请号为202011197221.4、申请名称为“一种服务卡片显示方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202011197221.4 and the application title "A service card display method and device" filed with the China Patent Office on October 31, 2020, the entire contents of which are incorporated into this application by reference middle.
技术领域technical field
本申请实施例涉及终端技术领域,尤其涉及一种服务卡片显示方法及装置。The embodiments of the present application relate to the field of terminal technologies, and in particular, to a service card display method and device.
背景技术Background technique
随着移动互联网技术的不断发展,电子设备的功能越来越强大。现有技术中,电子设备通过服务卡片的形式的展现应用的服务信息,例如,火车、航班、天气或会议等提醒服务,使得用户在不进入应用的情况下也能查看到这些服务信息。服务卡片还可以承载与应用相关的操作,比如直达服务的跳转连接,使得用户可以通过服务卡片快速访问应用的服务。With the continuous development of mobile Internet technology, the functions of electronic devices are becoming more and more powerful. In the prior art, electronic devices display application service information in the form of service cards, such as reminder services such as trains, flights, weather, or conferences, so that users can view these service information without entering the application. The service card can also carry operations related to the application, such as the jump connection to the direct service, so that the user can quickly access the service of the application through the service card.
目前应用的推送方式较为固定,服务卡片的排序也比较固定,导致多个应用对应的多个服务卡片在电子设备的界面上显示位置固定,然而不同用户对服务卡片对应服务的优先级认知是不同的,因此固定的服务卡片显示无法满足用户个性化的服务卡片显示需求。At present, the push method of applications is relatively fixed, and the order of service cards is also relatively fixed, resulting in the display position of multiple service cards corresponding to multiple applications on the interface of the electronic device is fixed. Therefore, the fixed service card display cannot meet the user's personalized service card display requirements.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种服务卡片显示方法及装置,用以优化服务卡片的排序和显示。Embodiments of the present application provide a service card display method and device, which are used to optimize the sorting and display of service cards.
第一方面,提供一种服务卡片显示方法,该方法可以应用于电子设备,也可以应用于与电子设备匹配的装置。该方法可以通过以下步骤实现:确定多个服务卡片中的每一个服务卡片的排序,所述每一个服务卡片的排序基于该服务卡片承载的服务信息相关的参数确定,所述相关的参数包括状态参数,所述状态参数用于表征所述服务信息对应的业务的状态;响应于请求显示第一界面的指令,根据所述多个服务卡片的排序在所述第一界面上显示所述多个服务卡片中的至少一个服务卡片。基于该服务卡片承载的服务信息相关的参数确定每一个服务卡片的排序,能够考虑到业务本身的变化对服务卡片排序的应用,相比固定的排序,该方法能够使得服务卡片的排序和显示更加灵活。因为每一个服务卡片对于用户来说都是有价值的,固定的排序方案可能不能显示优先级较低的服务卡片,该方法能够使得每一个服务卡片都有显示的机会。综上,本申请提供的方案实现卡片排序的多样性,使得服务卡片排序不再固定不变,能够适应多种情景下的卡片排序,满足了用户个性化的服务卡片显示需求。In a first aspect, a method for displaying a service card is provided, which can be applied to an electronic device or a device matched with the electronic device. The method can be implemented by the following steps: determining the order of each service card in the plurality of service cards, the order of each service card is determined based on parameters related to the service information carried by the service card, and the related parameters include status parameter, the state parameter is used to represent the state of the service corresponding to the service information; in response to an instruction requesting to display the first interface, the plurality of service cards are displayed on the first interface according to the order of the plurality of service cards At least one of the service cards. The ordering of each service card is determined based on the parameters related to the service information carried by the service card, and the application of the ordering of the service cards can take into account the changes of the business itself. Compared with the fixed ordering, this method can make the ordering and display of the service cards more convenient. flexible. Because each service card is valuable to the user, the fixed sorting scheme may not display lower priority service cards, this method can make every service card have the opportunity to be displayed. To sum up, the solution provided by the present application realizes the diversity of card sorting, so that the sorting of service cards is no longer fixed, and can adapt to sorting of cards in various scenarios, thus meeting the personalized service card display requirements of users.
在一种可能的设计中,所述相关的参数还包括动作参数,所述动作参数表征了用户对所述服务信息对应的业务的操作,所述动作参数也可以表征用户对所述服务信息对应的服务卡片的操作。这样能够考虑到用户对业务的操作,使得用户关注的服务卡片能够被显示。In a possible design, the related parameters further include action parameters, where the action parameters represent the user's operation of the service corresponding to the service information, and the action parameters may also represent the user's corresponding response to the service information. operation of the service card. In this way, the user's operation on the service can be considered, so that the service card concerned by the user can be displayed.
在一种可能的设计中,所述动作参数包括以下一项或多项:服务卡片被浏览时长、服 务卡片点击、服务卡片长按、服务卡片移除、服务卡片置顶、服务卡片分享或查看服务卡片详情。In a possible design, the action parameters include one or more of the following: the browsing time of the service card, the service card click, the service card long-press, the service card removal, the service card top, the service card sharing or viewing the service Card details.
在一种可能的设计中,所述服务信息为航班信息,所述动作参数包括以下任意一项或多项:机票预订、机票退订、订阅所述服务信息对应的服务卡片、取消订阅所述服务信息对应的服务卡片、或设置锁屏提醒所述服务信息对应的服务卡片。In a possible design, the service information is flight information, and the action parameters include any one or more of the following: ticket reservation, ticket cancellation, subscription to the service card corresponding to the service information, unsubscribe from the A service card corresponding to the service information, or setting a lock screen to remind the service card corresponding to the service information.
在一种可能的设计中,所述相关的参数还包括时间参数,所述时间参数包括:所述服务信息对应的业务的设定事件发生时间和/或当前时间。In a possible design, the related parameters further include a time parameter, and the time parameter includes: the set event occurrence time and/or the current time of the service corresponding to the service information.
在一种可能的设计中,所述排序的排序分数符合以下公式:Q new=αQ old+R(C);或者Q T=αR T-12R T-23R T-3+…。其中,Q new为所述排序分数,α为衰减因子,α∈(0,1),Q old为卡片的历史分数,C为所述相关的参数,R为设定函数,R(C)为所述相关的参数基于所述设定函数获得的值。该卡片承载的服务信息相关的参数为状态参数和动作参数时,状态参数用s表示,动作参数用a表示,Q new=αQ old+R(s,a)。通过结合卡片的历史分数,能够将所有历史行为引入到卡片排序分数的计算,能够学习所有历史行为,但是距离当前时间越久远,对排序的影响越小。 In one possible design, the ranking score of the ranking conforms to the following formula: Q new = αQ old +R(C); or Q T = αR T-12 R T-23 R T- 3 +…. Among them, Q new is the ranking score, α is the decay factor, α∈(0,1), Q old is the historical score of the card, C is the relevant parameter, R is the setting function, and R(C) is The relevant parameter is based on the value obtained by the setting function. When the parameters related to the service information carried by the card are state parameters and action parameters, the state parameter is represented by s, and the action parameter is represented by a, and Q new =αQ old +R(s, a). By combining the historical scores of cards, all historical behaviors can be introduced into the calculation of card sorting scores, and all historical behaviors can be learned, but the farther away from the current time, the smaller the impact on sorting.
在一种可能的设计中,所述服务信息为航班信息,所述状态参数包括以下任意一项或多项:航班待起飞、航班已退票、航班是否即将起飞、航班起飞、航班到达、航班延误、航班中途返航、或航班备降。In a possible design, the service information is flight information, and the status parameters include any one or more of the following: flight waiting to take off, flight refunded, whether the flight is about to take off, flight departure, flight arrival, flight delay , flight return, or flight diversion.
在一种可能的设计中,所述第一界面为负一屏界面,所述请求显示所述第一界面的指令包括通过在所述电子设备上进行滑动操作以指示所述电子设备显示负一屏界面的指令。在另一种可能的设计中,所述第一界面为下滑界面(或称为下拉界面)或上滑界面(或称为上拉界面),比如在所述电子设备的主屏幕或其他非主屏幕的顶部向下滑(进一步可能是顶部左边下滑或顶部右边下滑)所呈现的界面,或是在所述电子设备的主屏幕或其他非主屏幕的底部向上滑(进一步可能是底部左边上滑或底部右边上滑)所呈现的界面。In a possible design, the first interface is a negative one-screen interface, and the instruction for requesting to display the first interface includes performing a sliding operation on the electronic device to instruct the electronic device to display the negative one command on the screen. In another possible design, the first interface is a slide-down interface (or called a pull-down interface) or a slide-up interface (or called a pull-up interface), for example, on the home screen of the electronic device or other non-main interface The interface presented by sliding down the top of the screen (further may be the top left or the top right), or the bottom of the home screen or other non-home screen of the electronic device (further may be the bottom left or The interface presented by the bottom right slide).
第二方面,提供一种电子装置,所述装置可以应用于电子设备,或者所述装置是电子设备,或者所述装置是能够和电子设备匹配使用的装置。所述装置包括:处理模块,用于确定多个服务卡片中的每一个服务卡片的排序,所述每一个服务卡片的排序基于该服务卡片承载的服务信息相关的参数确定,所述相关的参数包括状态参数,所述状态参数用于表征所述服务信息对应的业务的状态;显示模块,用于响应于请求显示第一界面的指令,根据所述多个服务卡片的排序在所述第一界面上显示所述多个服务卡片中的至少一个服务卡片。In a second aspect, an electronic device is provided, and the device can be applied to an electronic device, or the device is an electronic device, or the device can be matched and used with the electronic device. The device includes: a processing module configured to determine the order of each service card in the plurality of service cards, the order of each service card is determined based on parameters related to the service information carried by the service card, and the related parameters Including a state parameter, the state parameter is used to represent the state of the service corresponding to the service information; the display module is used to respond to an instruction to display the first interface, according to the order of the plurality of service cards in the first interface At least one service card among the plurality of service cards is displayed on the interface.
在一种可能的设计中,所述相关的参数还包括动作参数,所述动作参数表征了用户对所述服务信息对应的业务的操作,所述动作参数也可以表征用户对所述服务信息对应的服务卡片的操作。In a possible design, the related parameters further include action parameters, where the action parameters represent the user's operation of the service corresponding to the service information, and the action parameters may also represent the user's corresponding response to the service information. operation of the service card.
在一种可能的设计中,所述动作参数包括以下一项或多项:服务卡片被浏览时长、服务卡片点击、服务卡片长按、服务卡片移除、服务卡片置顶、服务卡片分享或查看服务卡片详情。In a possible design, the action parameters include one or more of the following: the browsing time of the service card, the service card click, the service card long-press, the service card removal, the service card top, the service card sharing or viewing the service Card details.
在一种可能的设计中,所述服务信息为航班信息,所述动作参数包括以下任意一项或多项:机票预订、机票退订、订阅所述服务信息对应的服务卡片、取消订阅所述服务信息对应的服务卡片、或设置锁屏提醒所述服务信息对应的服务卡片。In a possible design, the service information is flight information, and the action parameters include any one or more of the following: ticket reservation, ticket cancellation, subscription to the service card corresponding to the service information, unsubscribe from the A service card corresponding to the service information, or setting a lock screen to remind the service card corresponding to the service information.
在一种可能的设计中,所述相关的参数还包括时间参数,所述时间参数包括:所述服 务信息对应的业务的设定事件发生时间和/或当前时间。In a possible design, the related parameters further include a time parameter, and the time parameter includes: the set event occurrence time and/or the current time of the service corresponding to the service information.
在一种可能的设计中,所述排序的排序分数符合以下公式:Q new=αQ old+R(C); In a possible design, the ranking score of the ranking conforms to the following formula: Q new =αQ old +R(C);
其中,Q new为所述排序分数,α为衰减因子,α∈(0,1),Q old为服务卡片的历史分数,C为所述相关的参数,R为设定函数,R(C)为所述相关的参数基于所述设定函数获得的值。 Among them, Q new is the ranking score, α is the decay factor, α∈(0,1), Q old is the historical score of the service card, C is the relevant parameter, R is the setting function, R(C) The value obtained for the relevant parameter is based on the set function.
在一种可能的设计中,所述服务信息为航班信息,所述状态参数包括以下任意一项或多项:航班待起飞、航班已退票、航班是否即将起飞、航班起飞、航班到达、航班延误、航班中途返航、或航班备降。In a possible design, the service information is flight information, and the status parameters include any one or more of the following: flight waiting to take off, flight refunded, whether the flight is about to take off, flight departure, flight arrival, flight delay , flight return, or flight diversion.
在一种可能的设计中,所述第一界面为负一屏界面,所述请求显示所述第一界面的指令包括通过在所述电子设备上进行滑动操作以指示所述电子设备显示负一屏界面的指令。在另一种可能的设计中,所述第一界面为下滑界面或上滑界面。In a possible design, the first interface is a negative one-screen interface, and the instruction for requesting to display the first interface includes performing a sliding operation on the electronic device to instruct the electronic device to display the negative one command on the screen. In another possible design, the first interface is a sliding interface or a sliding interface.
第二方面的有益效果可以参考第一方面的描述,在此不再赘述。For the beneficial effects of the second aspect, reference may be made to the description of the first aspect, which will not be repeated here.
第三方面,提供一种电子装置,所述装置可以应用于电子设备,或者所述装置是电子设备,或者所述装置是能够和电子设备匹配使用的装置。所述装置包括处理器和存储器,所述装置用于实现上述第一方面描述的方法。存储器用于存储程序指令和数据。所述存储器与所述处理器耦合,所述处理器调用并执行所述存储器中存储的程序指令,用于实现上述第一方面或者第一方面的任一设计所述的方法。In a third aspect, an electronic device is provided, and the device can be applied to an electronic device, or the device is an electronic device, or the device can be matched and used with the electronic device. The apparatus includes a processor and a memory, and the apparatus is configured to implement the method described in the first aspect above. Memory is used to store program instructions and data. The memory is coupled to the processor, and the processor invokes and executes program instructions stored in the memory, so as to implement the method described in the first aspect or any design of the first aspect.
第四方面,本申请实施例中还提供一种计算机存储介质,该存储介质中存储软件程序,该软件程序在被一个或多个处理器读取并执行时可实现上述第一方面或者第一方面的任一设计所述的方法。In a fourth aspect, the embodiments of the present application further provide a computer storage medium, where a software program is stored in the storage medium, and the software program can implement the first aspect or the first aspect when read and executed by one or more processors The method of any design of the aspect.
第五方面,本申请实施例提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面或者第一方面的任一设计所述的方法。In a fifth aspect, embodiments of the present application provide a computer program product containing instructions, which, when run on a computer, cause the computer to execute the method described in the first aspect or any design of the first aspect.
第六方面,本申请实施例提供了一种芯片系统,该芯片系统中包括处理器,处理器包括存储器或处理器可以包括存储器,用于实现上述方法。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。In a sixth aspect, an embodiment of the present application provides a chip system, where the chip system includes a processor, and the processor includes a memory or the processor may include a memory, for implementing the above method. The chip system can be composed of chips, and can also include chips and other discrete devices.
附图说明Description of drawings
图1为本申请实施例中电子设备的结构示意图;1 is a schematic structural diagram of an electronic device in an embodiment of the application;
图2为本申请实施例中电子设备在负一屏上显示卡片的示意图;2 is a schematic diagram of an electronic device displaying a card on a negative screen according to an embodiment of the application;
图3为本申请实施例中服务卡片显示方法的流程示意图;3 is a schematic flowchart of a method for displaying a service card in an embodiment of the present application;
图4a为本申请实施例中5个卡片的显示示意图之一;Fig. 4a is one of the schematic diagrams showing five cards in the embodiment of the application;
图4b为本申请实施例中5个卡片的显示示意图之二;Fig. 4b is the second schematic diagram of the display of five cards in the embodiment of the application;
图5a为本申请实施例中场景一卡片显示示意图;FIG. 5a is a schematic diagram of a scene 1 card display in an embodiment of the present application;
图5b为本申请实施例中场景二卡片显示示意图;Fig. 5b is a schematic diagram showing the display of the second scene card in the embodiment of the application;
图5c为本申请实施例中场景三卡片显示示意图;FIG. 5c is a schematic diagram of the display of a three-card scenario in an embodiment of the present application;
图6为本申请实施例中服务卡片显示装置结构示意图之一;FIG. 6 is one of the schematic structural diagrams of the service card display device in the embodiment of the application;
图7为本申请实施例中服务卡片显示装置结构示意图之二。FIG. 7 is the second schematic diagram of the structure of the service card display device according to the embodiment of the present application.
具体实施方式Detailed ways
为了使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图,对本申请实施例进行详细描述。In order to make the objectives, technical solutions and advantages of the embodiments of the present application more clear, the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
首先,对本申请中涉及的一些概念或术语进行解释说明,以便本领域技术人员理解。First, some concepts or terms involved in this application are explained so as to be understood by those skilled in the art.
1)服务卡片,本文中又称“卡片”,是一种服务形态,提供一种比应用程序(application,APP)更细粒度的原子化服务能力,以可交互的卡片形式直接将用户最关心的服务或内容展示给用户。卡片可以嵌入各种APP或交互场景中,更好的满足用户需求。卡片一般是应用或该应用对应的APP里的一个页(page)。用户点击卡片可跳转到对应的应用或者APP内的某个服务页面。除了有特别说明外,本申请实施中所指的“应用”,可以是应用,也可以是该应用对应的APP。1) Service card, also known as "card" in this article, is a service form that provides a finer-grained atomic service capability than an application (application, APP), and directly communicates users' most concerned about in the form of an interactive card. services or content displayed to users. Cards can be embedded in various APPs or interactive scenarios to better meet user needs. A card is generally a page in an application or an APP corresponding to the application. The user can click the card to jump to the corresponding application or a service page in the APP. Unless otherwise specified, the "application" referred to in the implementation of this application may be an application or an APP corresponding to the application.
卡片的生成过程为:应用服务的提供商通过在服务器上上传需要推送给用户的服务内容,服务器根据提供商上传的服务内容生成对应的卡片,并将该卡片推送到用户的电子设备上进行显示,使得用户的电子设备以卡片的形式将应用服务的提供商推送的服务呈现给用户。The card generation process is as follows: the provider of the application service uploads the service content that needs to be pushed to the user on the server, the server generates the corresponding card according to the service content uploaded by the provider, and pushes the card to the user's electronic device for display. , so that the user's electronic device presents the service pushed by the provider of the application service to the user in the form of a card.
一般来说,一张卡片对应应用的一部分服务功能,应用程序的提供商可以将应用的服务拆分成多个服务模块,每个服务模块对应一张卡片,然后根据不同服务场景向用户推送不同卡片。Generally speaking, a card corresponds to a part of the service functions of the application. The provider of the application can divide the service of the application into multiple service modules, each service module corresponds to a card, and then push different services to users according to different service scenarios. card.
本申请实施例中的技术方案可以应用于电子设备,电子设备可以是支持服务卡片功能的任何电子设备。例如,电子设备可以是包含诸如个人数字助理和/或音乐播放器等功能的便携式电子设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴设备(如智能手表)等。便携式电子设备的示例性实施例包括但不限于搭载鸿蒙
Figure PCTCN2021116876-appb-000001
Figure PCTCN2021116876-appb-000002
或者其它操作系统的便携式电子设备。上述便携式电子设备也可以是其它便携式电子设备,诸如具有触敏表面(例如触控面板)的膝上型计算机(laptop)等。还应当理解的是,在本申请一些实施例中,上述电子设备也可以不是便携式电子设备,而是具有触敏表面(例如触控面板)的台式计算机。
The technical solutions in the embodiments of the present application can be applied to electronic devices, and the electronic devices can be any electronic devices that support a service card function. For example, the electronic device may be a portable electronic device including functions such as a personal digital assistant and/or a music player, such as a mobile phone, a tablet computer, a wearable device (eg, a smart watch) with wireless communication capabilities, and the like. Exemplary embodiments of portable electronic devices include, but are not limited to, powered by Hongmeng
Figure PCTCN2021116876-appb-000001
Figure PCTCN2021116876-appb-000002
Or portable electronic devices with other operating systems. The portable electronic device described above may also be other portable electronic devices, such as a laptop or the like having a touch-sensitive surface (eg, a touch panel). It should also be understood that, in some embodiments of the present application, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer having a touch-sensitive surface (eg, a touch panel).
通常情况下,电子设备支持多种应用。比如以下应用中的一个或多个:出行应用、绘图应用、演示应用、字处理应用、游戏应用、电话应用、视频播放器应用、音乐播放器应用、电子邮件应用、购物应用、即时消息收发应用、照片管理应用、相机应用、浏览器应用、日历应用、时钟应用、支付应用或健康管理应用。其中,即时消息收发应用可以有多种。比如短信应用、彩信应用、各种邮箱应用、微信、腾讯聊天软件(QQ)、WhatsApp Messenger、连我(Line)、照片分享(instagram)、Kakao Talk、或钉钉等。用户通过即时消息收发应用,可以将文字、语音、图片、视频文件以及其他各种文件等信息发送给其他联系人。Typically, electronic devices support multiple applications. Such as one or more of the following: travel apps, drawing apps, presentation apps, word processing apps, gaming apps, phone apps, video player apps, music player apps, email apps, shopping apps, instant messaging apps , photo management application, camera application, browser application, calendar application, clock application, payment application or health management application. Among them, there may be many kinds of instant messaging applications. Such as SMS applications, MMS applications, various email applications, WeChat, Tencent chat software (QQ), WhatsApp Messenger, Link me (Line), photo sharing (instagram), Kakao Talk, or DingTalk, etc. Through instant messaging applications, users can send text, voice, pictures, video files, and various other files to other contacts.
电子设备支持的上述这些应用可以是应用程序app。电子设备同时可以支持这些应用对应的服务卡片,比如购物应用中的订单物流服务对应的卡片,又如出行应用中的票务信息对应的卡片。并且,电子设备除了可以支持已安装的应用对应的服务卡片外,也可以支持未被安装的应用对应的服务卡片。The above-mentioned applications supported by the electronic device may be application programs. The electronic device can also support service cards corresponding to these applications, such as cards corresponding to order logistics services in shopping applications, and cards corresponding to ticketing information in travel applications. In addition, the electronic device can support service cards corresponding to applications that have not been installed, as well as service cards corresponding to applications that have not been installed.
在本申请实施例中,当电子设备显示任意一个卡片时,用户可以查看到该卡片承载的对应应用的推送服务信息。用户还可以通过与卡片交互实现快速访问对应应用的服务。比如,点击卡片跳转至卡片关联的一个服务页面。又如,点击卡片上的操作按钮跳转至操作 按钮关联的一个服务页面。In the embodiment of the present application, when the electronic device displays any card, the user can view the push service information of the corresponding application carried by the card. Users can also quickly access the services of the corresponding application by interacting with the card. For example, clicking a card jumps to a service page associated with the card. For another example, click the operation button on the card to jump to a service page associated with the operation button.
2)负一屏,又可称为“-1屏”,可以是指在电子设备的主界面向右滑动,直至滑动至最左侧分屏的用户界面。负一屏可以用于放置一些快捷服务功能和通知消息,比如全局搜索、应用程序某个页面的快捷入口(付款码、微信等)、即时信息及提醒(快递信息、支出信息、通勤路况、打车出行信息、日程信息等)及关注动态(足球看台、篮球看台、股票信息等)。2) The negative one screen, also known as "-1 screen", may refer to sliding to the right on the main interface of the electronic device until it slides to the leftmost split-screen user interface. The negative screen can be used to place some quick service functions and notification messages, such as global search, quick entry to a certain page of the application (payment code, WeChat, etc.), instant information and reminders (express information, expenditure information, commuting road conditions, taxi hailing, etc.) travel information, schedule information, etc.) and follow trends (football stands, basketball stands, stock information, etc.).
下面以电子设备为手机为例,描述本申请实施所应用的一种电子设备的结构。The structure of an electronic device to which the implementation of the present application is applied is described below by taking the electronic device as a mobile phone as an example.
如图1所示,手机100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。显示屏194可以是触摸显示屏。As shown in FIG. 1 , the mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, Antenna 1, Antenna 2, Mobile Communication Module 150, Wireless Communication Module 160, Audio Module 170, Speaker 170A, Receiver 170B, Microphone 170C, Headphone Interface 170D, Sensor Module 180, Key 190, Motor 191, Indicator 192, Camera 193, Display screen 194, and subscriber identification module (subscriber identification module, SIM) card interface 195 and so on. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc. Display 194 may be a touch display.
可以理解的是,本发明实施例示意的结构并不构成对手机100的具体限定。在本申请另一些实施例中,手机100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the mobile phone 100 . In other embodiments of the present application, the mobile phone 100 may include more or less components than shown, or some components may be combined, or some components may be separated, or different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。本申请实施例提供的方案可以由处理器110来控制或调用其他部件来完成,比如调用内部存储器121中存储的本申请实施例的处理程序,或者通过外部存储器接口120调用第三方设备中存储的本申请实施例的处理程序,来控制移动通信模块150或无线通信模块160向其他电子设备进行数据通信,以实现卡片排序和显示。The processor 110 may include one or more processing units, for example, 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), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors. The solutions provided by the embodiments of the present application may be completed by the processor 110 controlled by or by calling other components, such as calling the processing programs of the embodiments of the present application stored in the internal memory 121 , or calling the processing programs stored in the third-party device through the external memory interface 120 . The processing program in this embodiment of the present application controls the mobile communication module 150 or the wireless communication module 160 to perform data communication with other electronic devices, so as to realize card sorting and display.
其中,控制器可以是手机100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller may be the nerve center and command center of the mobile phone 100 . The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
手机100通过GPU,显示屏194,以及应用处理器等实现显示功能。显示屏194用于显示图像,视频等。比如,在显示屏194上显示手机屏幕的主界面,或者锁屏界面,或者负一屏界面,或者系统自带的通讯应用的用户界面,或者其他三方应用的用户界面等,以及在这些显示界面上显示本申请实施例中所述的服务卡片。The mobile phone 100 realizes the display function through the GPU, the display screen 194, and the application processor. Display screen 194 is used to display images, videos, and the like. For example, the display screen 194 displays the main interface of the mobile phone screen, or the lock screen interface, or the negative one-screen interface, or the user interface of the communication application built in the system, or the user interface of other third-party applications, etc., and on these display interfaces The service cards described in the embodiments of the present application are displayed on the upper panel.
GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。比如,手机100的移动通信模块150从第一服务器01接收卡片模板、卡片参数、卡片数据,传递给处理器110中的GPU,GPU基于卡片模板、卡片参数、卡片数据等进行图形渲染,生成需要展示的卡片。The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information. For example, the mobile communication module 150 of the mobile phone 100 receives the card template, card parameters, and card data from the first server 01, and transmits them to the GPU in the processor 110. The GPU performs graphics rendering based on the card template, card parameters, card data, etc. to generate the required Display card.
显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,手机100可以包括1个或N个显示屏194,N为大于1的正整数。 Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light). emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on. In some embodiments, the handset 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
手机100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the mobile phone 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
天线1和天线2用于发射和接收电磁波信号。手机100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in handset 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
移动通信模块150可以提供应用在手机100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the mobile phone 100 . The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Wherein, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator 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 passed to the application processor. The application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos 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 independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在手机100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the mobile phone 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过手机100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is used to receive charging input from the charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from the wired charger through the USB interface 130 . In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through the wireless charging coil of the mobile phone 100 . While the charging management module 140 charges the battery 142 , it can also supply power to the electronic device through the power management module 141 .
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块 141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 . The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be provided in the processor 110 . In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
手机100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The mobile phone 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,手机100可以包括1个或多个摄像头193。 Camera 193 is used to capture still images or video. The object is projected through the lens to generate an optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some embodiments, cell phone 100 may include one or more cameras 193 .
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展手机100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 100 . The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行手机100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储手机100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。 Internal memory 121 may be used to store computer executable program code, which includes instructions. The processor 110 executes various functional applications and data processing of the mobile phone 100 by executing the instructions stored in the internal memory 121 . The internal memory 121 may include a storage program area and a storage data area. The storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like. The storage data area can store data (such as audio data, phone book, etc.) created during the use of the mobile phone 100 and the like. In addition, the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
手机100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The mobile phone 100 can implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, and an application processor. Such as music playback, recording, etc.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。手机100可以接收按键输入,产生与手机100的用户设置以及功能控制有关的键信号输入。The keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key. The cell phone 100 can receive key input and generate key signal input related to user settings and function control of the cell phone 100 .
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。 Motor 191 can generate vibrating cues. The motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects. The motor 191 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 194 . Different application scenarios (for example: time reminder, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和手机100的接触和分离。手机100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。手机100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中, 手机100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在手机100中,不能和手机100分离。The SIM card interface 195 is used to connect a SIM card. The SIM card can be contacted and separated from the mobile phone 100 by being inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 . The mobile phone 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The mobile phone 100 interacts with the network through the SIM card to realize functions such as call and data communication. In some embodiments, the handset 100 employs an eSIM, ie an embedded SIM card. The eSIM card can be embedded in the mobile phone 100 and cannot be separated from the mobile phone 100 .
可以理解的是,本申请实施例示意的结构并不构成对手机100的具体限定。在本申请另一些实施例中,手机100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the mobile phone 100 . In other embodiments of the present application, the mobile phone 100 may include more or less components than shown, or some components may be combined, or some components may be separated, or different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
为了更好地理解本申请实施例提供的技术方案,下面首先介绍本申请实施例的应用场景。In order to better understand the technical solutions provided by the embodiments of the present application, the following first introduces the application scenarios of the embodiments of the present application.
随着终端技术的不断发展,诸如手机、平板、个人电脑等电子设备上运行的应用越来越多,比如出行应用、即时通信应用、购物应用、社交网络应用、游戏应用、媒体流应用等。为了便于用户方便快速地查看和使用各类应用的服务信息,可以针对不同的应用生成不同的卡片,并在电子设备上负一屏进行显示该卡片。这些卡片承载有对应应用的服务信息(比如出行应用中的票务信息、购物应用中的物流信息等),使得用户在不进入应用的情况下也能查看到这些服务信息。并且,这些卡片还可以承载与应用相关的操作(比如直达服务的跳转链接),使得用户可以通过卡片快速访问到对应应用的服务。With the continuous development of terminal technology, there are more and more applications running on electronic devices such as mobile phones, tablets, and personal computers, such as travel applications, instant messaging applications, shopping applications, social networking applications, game applications, and media streaming applications. In order to facilitate the user to conveniently and quickly view and use the service information of various applications, different cards may be generated for different applications, and the cards may be displayed on a negative screen on the electronic device. These cards carry service information of corresponding applications (such as ticketing information in travel applications, logistics information in shopping applications, etc.), so that users can view these service information without entering the application. In addition, these cards can also carry operations related to the application (such as a jump link to a direct service), so that the user can quickly access the service of the corresponding application through the card.
图2为电子设备在负一屏上显示卡片的一种示例。例如图2所示,在电子设备的主屏幕向右滑动屏幕,直至滑动至最左侧分屏的用户界面即负一屏显示页面,该负一屏显示页面上显示有出行应用推送的航班信息的卡片、天气应用推送的天气信息的卡片、酒店应用推送的通知信息的卡片、会议应用推送的会议信息的卡片、以及购物应用推送的物流信息的卡片。FIG. 2 is an example of an electronic device displaying a card on a negative screen. For example, as shown in Figure 2, slide the screen to the right on the main screen of the electronic device until it reaches the user interface of the leftmost split screen, that is, the negative one-screen display page, on which the flight information pushed by the travel application is displayed. , the weather information card pushed by the weather application, the notification information card pushed by the hotel application, the conference information card pushed by the conference application, and the logistics information card pushed by the shopping application.
实际应用中,可能卡片的数量比较多。当卡片的数量较多时,可能在电子设备的负一屏不能显示所有的卡片,只会显示一部分。或者,电子设备在负一屏显示卡片的数量被设置上限值,例如,只允许显示4张卡片或5张卡片。或者,由于负一屏界面大小的限制,不能显示所有的卡片。在相关技术中,根据先验知识,给不同卡片设置了不同的优先级,因此情景智能中的卡片排序总是按照优先级确定的固定排序,在负一屏界面上显示的卡片也是固定的。但是不同用户对于事件优先级的认知是不同的,固定的排序或固定的显示无法满足用户个性化的要求。In practical applications, the number of cards may be relatively large. When the number of cards is large, all cards may not be displayed on the negative screen of the electronic device, but only a part of them may be displayed. Alternatively, an upper limit value is set for the number of cards displayed on the negative screen of the electronic device, for example, only 4 cards or 5 cards are allowed to be displayed. Or, due to the limitation of the size of the negative one-screen interface, all cards cannot be displayed. In the related art, according to prior knowledge, different priorities are set for different cards, so the card sorting in situational intelligence is always fixed according to the priority, and the cards displayed on the negative one-screen interface are also fixed. However, different users have different perceptions of event priorities, and fixed sorting or fixed display cannot meet the user's personalized requirements.
基于此,本申请实施例提供的服务卡片的显示方法,能够优化服务卡片的排序和显示。该方法应用于电子设备,电子设备包括第一界面。Based on this, the display method of the service card provided by the embodiment of the present application can optimize the sorting and display of the service card. The method is applied to an electronic device, and the electronic device includes a first interface.
如图3所示,本申请实施例提供的服务卡片的显示方法的流程如下所述。As shown in FIG. 3 , the flow of the service card display method provided by the embodiment of the present application is as follows.
S301、确定多个服务卡片中的每一个服务卡片的排序。S301. Determine the order of each service card in the plurality of service cards.
其中,每一个服务卡片的排序基于该服务卡片承载的服务信息相关的参数确定,该相关的参数包括状态参数,状态参数用于表征服务信息对应的业务的状态。Wherein, the order of each service card is determined based on parameters related to the service information carried by the service card, and the related parameters include a state parameter, and the state parameter is used to represent the state of the service corresponding to the service information.
302、响应于请求显示第一界面的指令,根据多个服务卡片的排序在第一界面上显示多个服务卡片中的至少一个服务卡片。302. In response to an instruction for requesting to display the first interface, display at least one service card among the plurality of service cards on the first interface according to the order of the plurality of service cards.
第一界面可以为负一屏界面,第一界面可以简述为界面,请求显示第一界面的指令可以包括通过在电子设备上进行滑动操作以指示电子设备显示负一屏界面的指令。可以理解的是,第一界面也可以是其它屏的界面,例如,主屏幕界面。The first interface may be a negative one-screen interface, and the first interface may be briefly described as an interface, and the instruction requesting to display the first interface may include an instruction to instruct the electronic device to display the negative one-screen interface by performing a sliding operation on the electronic device. It can be understood that, the first interface may also be an interface of another screen, for example, a home screen interface.
其中,该多个服务卡片可以是指电子设备支持的部分或全部服务卡片。根据多个服务卡片的排序,在第一界面上显示排序靠前的N个卡片。N可以是设定的阈值,该阈值可以 是指允许显示的卡片的数量,N为正整数。The multiple service cards may refer to some or all of the service cards supported by the electronic device. According to the sorting of the multiple service cards, the top N cards are displayed on the first interface. N can be a set threshold, the threshold can refer to the number of cards allowed to be displayed, and N is a positive integer.
例如N可以取值为5,可以理解的是N的取值为5只是一个举例,N可以取任意正整数的值。该多个服务卡片的数量大于5或等于5时,根据多个服务卡片的排序,在第一界面上显示排序靠前的5个卡片。其中,该5个卡片可以按照该5个卡片的排序在界面的不同位置显示。5个卡片的显示与该5个卡片的排序的关系可以通过以下几个例子说明。其中,5个卡片可以用卡片1、卡片2、卡片3、卡片4和卡片5表示。假设5个卡片的排序从高到低依次为卡片1、卡片2、卡片3、卡片4和卡片5。例如,该5个卡片在界面的显示位置的醒目度与该5个卡片的排序对应。如图4a所示,排序靠前的卡片在界面的醒目位置显示,排序靠后的卡片可以在界面的不太醒目的位置显示。又例如,可以按照该5个卡片的排序在界面从上到下的位置依次显示,可以参考图4a,也可以参考图4b,图4b每个卡片的醒目度相同,图4a每个卡片的醒目度不同。又例如,可以按照该5个卡片的排序在界面上按照从左到右以及从上到下的顺序依次显示,即该5个卡片在一行中先按照从左到右显示,在当前行显示位置被占用完之后,在该行的下一行再按照从左到右显示,直到显示完5张卡片,可以参考图4a,当然,图4a中每个卡片的醒目度不同,该方式也可以每个卡片的醒目度相同。For example, N can take a value of 5. It can be understood that the value of N is only an example, and N can take a value of any positive integer. When the number of the multiple service cards is greater than 5 or equal to 5, according to the sorting of the multiple service cards, the top five cards are displayed on the first interface. The five cards may be displayed in different positions on the interface according to the order of the five cards. The relationship between the display of the 5 cards and the ordering of the 5 cards can be illustrated by the following examples. Among them, 5 cards can be represented by card 1, card 2, card 3, card 4 and card 5. Suppose the 5 cards are sorted from high to low as Card 1, Card 2, Card 3, Card 4 and Card 5. For example, the conspicuousness of the display positions of the five cards on the interface corresponds to the order of the five cards. As shown in Fig. 4a, the cards in the top order are displayed in a prominent position on the interface, and the cards in the back order can be displayed in a less conspicuous position on the interface. For another example, the five cards can be displayed in sequence from top to bottom on the interface according to the order of the five cards. Refer to Figure 4a or Figure 4b. Each card in Figure 4b has the same conspicuousness. different degrees. For another example, the five cards can be displayed on the interface in order from left to right and top to bottom, that is, the five cards are displayed in a row from left to right first, and the display position in the current row After it is occupied, it will be displayed from left to right in the next row of the row until 5 cards are displayed, please refer to Figure 4a. Of course, the conspicuousness of each card in Figure 4a is different. Cards have the same visibility.
该多个服务卡片的数量也可以小于5。则可以在界面显示该多个服务卡片,即该多个服务卡片都可以在界面显示,显示的方式也可以参照上述对5张卡片的描述,在此不再一一赘述。The number of the plurality of service cards may also be less than five. Then, the plurality of service cards can be displayed on the interface, that is, the plurality of service cards can be displayed on the interface, and the display method can also refer to the description of the five cards above, which will not be repeated here.
下面以服务信息为航班信息为例,对服务信息的相关的参数的可能实现形式进行说明。The following takes the service information as flight information as an example to describe the possible implementation forms of the relevant parameters of the service information.
服务信息为航班信息,卡片对应的应用为出行应用或者航班应用。例如,如图2中负一屏上方显示的承载航班信息的卡片,该航班应用具体为中国东方航空。该卡片显示有中国东方航空MU5413航班对应的部分服务信息,例如,航班的起飞地点:上海,浦东T2;航班的落地地点:北京,首都T2;航班的起飞时间:18:30,2月10日星期五;航班的落地时间21:00,2月10日星期五;值机柜台:B,C;登机口:A51。该服务信息对应的业务即航班信息对应的航班相关的业务。业务的状态或者状态参数可以是以下任意一项或多项:航班待起飞、航班已退票、航班是否即将起飞、航班起飞、航班到达、航班延误、航班中途返航、或航班备降。The service information is flight information, and the application corresponding to the card is a travel application or a flight application. For example, as shown in the card carrying flight information shown at the top of the negative screen in Figure 2, the flight application is specifically China Eastern Airlines. The card shows some service information corresponding to China Eastern Airlines flight MU5413, for example, the flight departure location: Shanghai, Pudong T2; the flight landing location: Beijing, Capital T2; the flight departure time: 18:30, February 10 Friday; the landing time of the flight is 21:00, Friday, February 10; check-in counters: B, C; boarding gate: A51. The service corresponding to the service information is the flight-related service corresponding to the flight information. The status or status parameters of the service can be any one or more of the following: flight pending, flight refunded, whether the flight is about to take off, flight departure, flight arrival, flight delay, flight return, or flight alternate.
可以基于航班信息相关的状态参数确定承载该航班信息的卡片的排序,即承载该航班信息的卡片在多个卡片中的排序位置。The order of the cards bearing the flight information may be determined based on the state parameters related to the flight information, that is, the ordering positions of the cards bearing the flight information among the plurality of cards.
状态参数表征服务信息对应的业务的状态,与业务所处的场景有关。场景发送变化状态参数跟着变化。The state parameter represents the state of the service corresponding to the service information, and is related to the scene in which the service is located. The scene sending change state parameters change accordingly.
在一个可能的实现方式中,基于卡片承载的服务信息相关的参数还可以包括动作参数。动作参数表征了用户对服务信息对应的业务的操作,也可以表征用户对所述服务信息对应的服务卡片的操作。例如服务信息为航班信息,动作参数包括以下任意一项或多项:机票预订、机票退订、订阅所述服务信息对应的服务卡片、取消订阅所述服务信息对应的服务卡片、或设置锁屏提醒所述服务信息对应的服务卡片。In a possible implementation manner, the related parameters based on the service information carried by the card may further include action parameters. The action parameter represents the user's operation on the service corresponding to the service information, and may also represent the user's operation on the service card corresponding to the service information. For example, the service information is flight information, and the action parameters include any one or more of the following: ticket reservation, ticket cancellation, subscription to the service card corresponding to the service information, unsubscribe to the service card corresponding to the service information, or setting a lock screen The service card corresponding to the service information is reminded.
动作参数也可以只对卡片的操作,例如,动作参数包括以下一项或多项:服务卡片被浏览时长、服务卡片点击、服务卡片长按、服务卡片移除、服务卡片置顶、服务卡片分享或查看服务卡片详情。服务卡片被浏览时长也可以认为卡片曝光。卡片曝光越多,卡片排序越低,避免在界面显示的卡片比较固定,这样能够使得界面显示的卡片比较灵活。新增 的卡片排序较高,这样有利于显示提醒最新的卡片。其中,卡片曝光可以根据曝光的时长来区别有效或无效曝光。当卡片曝光被浏览时长超过一定阈值时,才认为是有效曝光,否则认为是无效曝光。Action parameters can also only operate on cards. For example, action parameters include one or more of the following: service card browsing time, service card click, service card long press, service card removal, service card top, service card sharing or View service card details. The time the service card is viewed can also be considered as exposure of the card. The more cards are exposed, the lower the card ordering is, so as to avoid the fixed cards displayed on the interface, which can make the cards displayed on the interface more flexible. The newly added cards are sorted in a higher order, which is beneficial to display the latest cards with reminders. Among them, the card exposure can be differentiated between valid and invalid exposures according to the exposure time. When the card exposure is browsed for longer than a certain threshold, it is considered to be an effective exposure, otherwise it is considered an invalid exposure.
动作参数与用户输入有关。用户针对卡片或服务信息的操作进行的输入能够改变动作参数。Action parameters are related to user input. User input for manipulation of card or service information can change action parameters.
在一个可能的实现方式中,基于卡片承载的服务信息相关的参数还可以包括时间参数。时间参数包括:服务信息对应的业务的设定事件发生时间和/或当前时间。例如,服务信息为航班信息,设定事件可以是航班起飞,时间参数可以是航班起飞的时间与当前时间的距离。该时间参数用t表示,则t可以符合以下公式:t=航班起飞的时间-当前时间。In a possible implementation manner, the parameters related to the service information carried on the card may further include a time parameter. The time parameter includes: the set event occurrence time and/or the current time of the service corresponding to the service information. For example, the service information is flight information, the set event may be flight departure, and the time parameter may be the distance between the flight departure time and the current time. The time parameter is represented by t, then t can conform to the following formula: t=time of flight departure-current time.
卡片的排序可以基于状态参数、动作参数和时间参数中的一项或多项的结合确定。卡片的排序还可以结合该卡片的历史排序来确定。The ordering of the cards may be determined based on a combination of one or more of a state parameter, an action parameter, and a time parameter. The order of the card may also be determined in combination with the historical order of the card.
在一个可选的实现方式中,卡片的排序可以通过排序分数体现。根据卡片承载的服务信息相关的参数确定卡片的排序分数。多个卡片的多个排序分数确定多个卡片的排序,例如按照排序分数从大到小的顺序确定多个卡片的排序。In an optional implementation manner, the sorting of the cards may be reflected by sorting scores. The sorting score of the card is determined according to the parameters related to the service information carried by the card. The multiple sorting scores of the multiple cards determine the sorting of the multiple cards, for example, the sorting of the multiple cards is determined in descending order of the sorting scores.
可以将卡片承载的服务信息相关的参数代入预设的函数,获得奖惩激励;根据该奖惩激励结合将卡片的历史排序分数,确定该卡片的排序分数。The parameters related to the service information carried by the card can be substituted into the preset function to obtain reward and punishment incentives; according to the reward and punishment incentives combined with the historical ranking score of the card, the ranking score of the card is determined.
该卡片的排序对应的排序分数符合以下公式(1)或公式(2):The sorting score corresponding to the sorting of the card conforms to the following formula (1) or formula (2):
Q new=αQ old+R(C)    公式(1); Q new =αQ old +R(C) formula (1);
Q T=αR T-12R T-23R T-3+…    公式(2)。 Q T =αR T-12 R T-23 R T-3 +... Formula (2).
其中,Q new为该卡片的排序分数,α为衰减因子,α∈(0,1),Q old为该卡片的历史排序分数或历史分数,C为该卡片承载的服务信息相关的参数,R为设定函数,R(C)为该卡片承载的服务信息相关的参数基于该设定函数获得的值。R(C)可以称为是奖惩激励或排序增益。 Among them, Q new is the ranking score of the card, α is the decay factor, α∈(0,1), Q old is the historical ranking score or historical score of the card, C is the parameter related to the service information carried by the card, R For the setting function, R(C) is the value obtained based on the setting function for the parameters related to the service information carried by the card. R(C) can be called reward and punishment incentive or ranking gain.
公式(1)与公式(2)等价。公式(2)表示该卡片的排序分数是与该卡片的历史分数的迭代运算获得。Q T为本次计算的该卡片的排序分数,本次计算可以记为第T次计算,R T-1为本次计算的上一次(即第T-1次)所计算的奖惩激励,R t-2为第t-2次所计算的奖惩激励,R T-2为第T-3次所计算的奖惩激励。 The formula (1) is equivalent to the formula (2). Formula (2) indicates that the ranking score of the card is obtained by iterative operation with the historical score of the card. Q T is the ranking score of the card calculated this time. This calculation can be recorded as the T-th calculation. R T-1 is the reward and punishment incentive calculated in the previous calculation (ie, the T-1th time), and R t-2 is the reward and punishment incentive calculated for the t-2th time, and R T-2 is the reward and punishment incentive calculated for the T-3th time.
该卡片承载的服务信息相关的参数为状态参数和动作参数时,状态参数用s表示,动作参数用a表示。该卡片的排序对应的排序分数符合公式(3),公式(3)可以认为是公式(1)中将C替换为s和a的变型。When the parameters related to the service information carried by the card are state parameters and action parameters, the state parameter is represented by s, and the action parameter is represented by a. The sorting score corresponding to the sorting of the card conforms to formula (3), and formula (3) can be considered as a variant of formula (1) where C is replaced by s and a.
Q new=αQ old+R(s,a)    公式(3)。 Q new =αQ old +R(s, a) Equation (3).
卡片的历史排序分数也可以称为衰减项。结合卡片的历史排序分数,能够学习卡片所有历史行为或历史事件。但是距离当前的时间越久远,对排序的影响越小。αQ old是卡片的历史排序分数的一种可选的形式。 A card's historical ranking score can also be referred to as a decay term. Combined with the historical sorting score of the card, it is possible to learn all historical behaviors or historical events of the card. But the further away from the current time, the smaller the impact on sorting. αQ old is an optional form of a card's historical ranking score.
在一个可能的实施例中,R(C)可以通过查表的方式实现。即输入该卡片承载的服务信息相关的参数,通过查表,就可以得到奖惩激励R(C)。In a possible embodiment, R(C) can be implemented by looking up a table. That is, by entering the parameters related to the service information carried by the card, and by looking up the table, the reward and punishment incentive R(C) can be obtained.
假设该卡片承载的服务信息相关的参数包括状态参数、动作参数和时间参数,以服务信息为航班信息为例,状态参数包括航班待起飞、航班已退票、航班起飞、航班到达、航班中途返航、和航班备降,动作参数包括机票预订、机票退订、服务卡片曝光(或服务卡片被浏览时长)、服务卡片点击、服务卡片分享和查看服务卡片详情。时间参数为t=航班 起飞的时间-当前时间,即t为距离起飞时间。举例来说,可以通过查询表1的方式得到奖惩激励。Assume that the parameters related to the service information carried by the card include status parameters, action parameters and time parameters. Taking the service information as flight information as an example, the status parameters include flight pending departure, flight refunded, flight departure, flight arrival, flight return, and flight alternates, action parameters include ticket reservation, ticket cancellation, service card exposure (or service card browsing time), service card click, service card sharing, and viewing service card details. The time parameter is t = flight departure time - current time, that is, t is the distance from departure time. For example, rewards and punishments can be obtained by querying Table 1.
表1Table 1
Figure PCTCN2021116876-appb-000003
Figure PCTCN2021116876-appb-000003
如表1所示,例如,当状态参数为航班待起飞、动作参数为机票预订时,奖惩激励为5e -t。当状态参数为航班已退票、动作参数为服务卡片点击时,奖惩激励为e -tAs shown in Table 1, for example, when the state parameter is the flight to take off and the action parameter is the ticket reservation, the reward and punishment incentive is 5e -t . When the status parameter is the flight has been refunded and the action parameter is the service card click, the reward and punishment incentive is e -t .
其中,NA表示空,不存在奖惩激励。e -t可以表示时间衰减项,通过数学表达式表达了卡片对应业务的重要性与时间的关系。e -t是一种时间衰减项的表达形式,可以通过其他的数学表达式标识时间衰减项。 Among them, NA means empty, there is no reward and punishment incentive. e- t can represent the time decay term, and express the relationship between the importance of the card's corresponding business and time through a mathematical expression. e -t is an expression of the time decay term, and the time decay term can be identified by other mathematical expressions.
表1只是一种举例,对应其它应用的卡片或者承载其它服务信息的卡片,也可以通过类似的方式确定奖惩激励,从而确定卡片的排序分数。Table 1 is just an example, for cards corresponding to other applications or cards carrying other service information, rewards and punishment incentives can also be determined in a similar manner, thereby determining the sorting score of the cards.
结合表1所示的奖惩激励,假设电子设备支持两个承载航班信息的卡片,分别记为卡片1和卡片2。这两个卡片可以是同一个应用的两个承载不同航班信息的卡片,也可以是不同应用的承载不同航班信息的卡片。时间参数为t=航班起飞的时间-当前时间,即t为距离起飞时间,假设t的单位为天。卡片1和卡片2分别承载的航班信息相关的参数都包括动态参数、状态参数和时间参数,奖惩激励符合表1所示的举例。Combined with the reward and punishment incentives shown in Table 1, it is assumed that the electronic device supports two cards carrying flight information, denoted as card 1 and card 2 respectively. The two cards can be two cards of the same application carrying different flight information, or cards of different applications carrying different flight information. The time parameter is t = flight departure time - current time, that is, t is the distance from departure time, and the unit of t is assumed to be days. The parameters related to flight information carried by card 1 and card 2 respectively include dynamic parameters, state parameters and time parameters, and the reward and punishment incentives conform to the examples shown in Table 1.
如表2和表3所示,分别示出了卡片1和卡片2在不同场景下的奖惩激励(或排序增益)。假设卡片1和卡片2的动态参数为“机票预订”,状态参数为“航班待起飞”。如表2所示,对于卡片1,距离起飞时间t为4天,R(s,a)=5e -t=5e -4。如表2所示,对于卡片3,距离起飞时间t为3天,R(s,a)=5e -3。卡片2的奖惩激励要高于卡片1的奖惩激励,卡片2的排序分数要高于卡片1的排序分数,卡片2的排序要比卡片1的排序的位置靠前。假设卡片1和卡片2都可以在第一界面显示,卡片2的显示位置要比卡片1的显示位置靠前或者醒目。 As shown in Table 2 and Table 3, the reward and punishment incentives (or ranking gains) of card 1 and card 2 in different scenarios are respectively shown. Suppose the dynamic parameter of card 1 and card 2 is "ticket reservation", and the state parameter is "flight to take off". As shown in Table 2, for card 1, the departure time t is 4 days, and R(s, a)=5e- t =5e -4 . As shown in Table 2, for card 3, the departure time t is 3 days, and R(s, a) = 5e -3 . The reward and punishment incentive of card 2 is higher than that of card 1, the ranking score of card 2 is higher than that of card 1, and the ranking of card 2 is higher than that of card 1. Assuming that both card 1 and card 2 can be displayed on the first interface, the display position of card 2 is higher than the display position of card 1 or is more prominent.
表2Table 2
Figure PCTCN2021116876-appb-000004
Figure PCTCN2021116876-appb-000004
表3table 3
Figure PCTCN2021116876-appb-000005
Figure PCTCN2021116876-appb-000005
表2和表3的场景经过一天之后,对于卡片1,距离起飞时间t为3天;对于卡片2,距离起飞时间t为2天。如表4所示,卡片1的动作参数包括机票预订和服务卡片点击,状态参数为“航班待起飞”。用户点击查看卡片1。但是卡片2曝光却被浏览时长未超过一定阈值,为无效曝光。如表5所示,卡片1的动作参数包括机票预订和服务卡片曝光,状态参数为“航班待起飞”。After one day has elapsed for the scenarios in Tables 2 and 3, for Card 1, the departure time t is 3 days; for Card 2, the departure time t is 2 days. As shown in Table 4, the action parameters of card 1 include ticket reservation and service card click, and the state parameter is "flight to take off". User clicks to view card 1. However, the exposure time of card 2 does not exceed a certain threshold, which is invalid exposure. As shown in Table 5, the action parameters of card 1 include ticket reservation and service card exposure, and the state parameter is "flight to take off".
表4Table 4
Figure PCTCN2021116876-appb-000006
Figure PCTCN2021116876-appb-000006
表5table 5
Figure PCTCN2021116876-appb-000007
Figure PCTCN2021116876-appb-000007
这样,卡片1的奖惩激励要高于卡片2的奖惩激励,卡片1的排序分数要高于卡片2的排序分数,卡片1的排序要比卡片2的排序的位置靠前。在卡片1和卡片2的排序都可以在第一界面显示时,卡片1的显示位置要比卡片2的显示位置靠前或者醒目。In this way, the reward and punishment incentive of card 1 is higher than that of card 2, the ranking score of card 1 is higher than that of card 2, and the ranking of card 1 is higher than that of card 2. When the sorting of card 1 and card 2 can be displayed on the first interface, the display position of card 1 is higher than the display position of card 2 or is more eye-catching.
在首次计算卡片的排序对应的排序分数时,Qold为排序分数的初始值。可选的,排序分数的初始值按照预定义的每个卡片的优先级确定。When calculating the sorting score corresponding to the sorting of the cards for the first time, Qold is the initial value of the sorting score. Optionally, the initial value of the sorting score is determined according to the predefined priority of each card.
卡片的优先级可以根据不同的设置或定义来确定。优先级的获取方式可以按照指定的方式获取,若有多种方式获取优先级,则可以按照次序选择获取优先级的方式。例如,当可以通过用户自定义、用户画像和卡片曝光转化率三种方式都能够获取卡片优先级时,可以优先按照用户自定义的方式获取卡片优先级,次要选择用户画像的方式获取卡片优先级,最后选择卡片曝光转化率的方式获取卡片优先级。即,获取卡片优先级的方式可以按照以下由高到低的次序排列:用户自定义>用户画像>卡片曝光转化率。The priority of cards can be determined according to different settings or definitions. The way to obtain the priority can be obtained in a specified way. If there are multiple ways to obtain the priority, the way to obtain the priority can be selected in order. For example, when the card priority can be obtained through the three methods of user definition, user portrait and card exposure conversion rate, the card priority can be obtained by the user-defined method first, and the card priority can be obtained by the user portrait method secondly. , and finally select the card exposure conversion rate method to obtain the card priority. That is, the method of obtaining the card priority can be arranged in the following order from high to low: user-defined > user portrait > card exposure conversion rate.
其中,卡片优先级的排序因子与卡片曝光转化率(简述为转化率)的关系可以符合公式(4):Among them, the relationship between the sorting factor of card priority and the card exposure conversion rate (abbreviated as conversion rate) can conform to formula (4):
Figure PCTCN2021116876-appb-000008
n为排序的卡片的数量,max (转化率)为n个卡片的n个转化率的最大值。卡片优先级的排序因子越大,卡片优先级的排序越靠前。
Figure PCTCN2021116876-appb-000008
n is the number of sorted cards, and max (conversion rate) is the maximum value of n conversion rates of n cards. The higher the sorting factor of the card priority, the higher the ranking of the card priority.
卡片曝光转化率转换为排序的一种示例如表6和表7所示。表6和表7举例了5中不同的卡片,5个卡片分别承载的服务信息为:航班信息、酒店信息、火车信息、会议信息、生日提醒信息。如表6所示,5个卡片的卡片曝光转化率分别为12%、4%、10%、7%和3%。An example of conversion of card exposure conversion to ranking is shown in Tables 6 and 7. Tables 6 and 7 illustrate different cards in 5. The service information carried by the 5 cards is: flight information, hotel information, train information, conference information, and birthday reminder information. As shown in Table 6, the card exposure conversion rates of the five cards are 12%, 4%, 10%, 7% and 3%, respectively.
表6Table 6
Figure PCTCN2021116876-appb-000009
Figure PCTCN2021116876-appb-000009
Figure PCTCN2021116876-appb-000010
Figure PCTCN2021116876-appb-000010
5个卡片的优先级排序因子分别为
Figure PCTCN2021116876-appb-000011
按照排序因子从大到小的顺序,确定5个卡片的从前到后的排序优先级。5个卡片的优先级如表7所示。优先级用1、2、3、4、5表示,1表示优先级最高,5表示优先级最低。
The prioritization factors for the 5 cards are
Figure PCTCN2021116876-appb-000011
According to the order of the sorting factor from large to small, determine the sorting priority of the 5 cards from front to back. The priorities of the 5 cards are shown in Table 7. The priority is represented by 1, 2, 3, 4, and 5, with 1 being the highest priority and 5 being the lowest.
表7Table 7
Figure PCTCN2021116876-appb-000012
Figure PCTCN2021116876-appb-000012
本申请实施例针对卡片显示或者事件提醒业务设计了如上方案,基于卡片交互和事件状态变化等参数确定卡片的排序和显示,例如可以通过曝光惩罚改变排序,曝光越多,卡片排序越低。本申请提供的方案实现卡片排序的多样性,使得卡片排序不再固定不变,能够适应多种情景下的卡片排序,满足了用户个性化的卡片显示需求。This embodiment of the present application designs the above scheme for the card display or event reminder business, and determines the order and display of cards based on parameters such as card interaction and event state changes. For example, the order can be changed by exposure penalty. The more exposure, the lower the card order. The solution provided by the present application realizes the diversity of card sorting, so that the card sorting is no longer fixed, can adapt to the card sorting in various scenarios, and satisfies the user's personalized card display requirements.
本申请实施例提供的方案可以用于人工智能(artificial intelligence,AI)领域。本申请实施例提供的方案可以拓展到一些其它具有独立状态的决策场景中,例如设备决策、控件决策等。The solutions provided in the embodiments of the present application can be used in the field of artificial intelligence (artificial intelligence, AI). The solutions provided by the embodiments of the present application can be extended to some other decision-making scenarios with independent states, such as equipment decision-making, control decision-making, and the like.
目前本申请仅考虑了单个独立事件的状态对事件重要性影响,还可以考虑事件之间的关联性影响。At present, the present application only considers the influence of the state of a single independent event on the importance of the event, and may also consider the influence of correlation between events.
以下通过图5a、图5b和图5c来示意卡片显示的几个场景。如图5a所示,在场景1下,在负一屏显示的卡片的排序由高到底依次为:出行应用推送的航班信息的卡片(简称为航班卡片)、天气应用推送的天气信息的卡片(简称为天气卡片)、酒店应用推送的通知信息的卡片(简称为酒店卡片)、会议应用推送的会议信息的卡片(简称为会议卡片)、以及购物应用推送的物流信息的卡片(简称快递卡片)。如图5b所示,在场景2下,在负一屏显示卡片的排序发生了变化,由高到底依次为:会议卡片、快递卡片、航班卡片、天气卡片、以及酒店卡片。如图5c所示,在场景3下,在负一屏显示卡片的排序发生了变化,由高到底依次为:多媒体应用推送的视频信息的卡片、快递卡片、酒店卡片、会议卡片以及天气卡片。从场景1到场景2再到场景2,电子设备支持的多个卡片根据卡片承载的服务信息相关的参数而发生排序的变化。Several scenarios of card display are illustrated below through Fig. 5a, Fig. 5b and Fig. 5c. As shown in Figure 5a, in scenario 1, the order of the cards displayed on the negative screen from high to bottom is: the flight information card (referred to as flight card) pushed by the travel application, and the weather information card (referred to as the flight card) pushed by the weather application. referred to as the weather card), the card of notification information pushed by the hotel application (referred to as the hotel card), the card of the conference information pushed by the conference application (referred to as the conference card), and the card of the logistics information pushed by the shopping application (referred to as the express card) . As shown in Figure 5b, in scenario 2, the order of the cards displayed on the negative screen has changed, from high to low: conference cards, express cards, flight cards, weather cards, and hotel cards. As shown in Figure 5c, in scenario 3, the order of the cards displayed on the negative screen has changed, from high to bottom: video information cards, express cards, hotel cards, conference cards and weather cards pushed by multimedia applications. From Scenario 1 to Scenario 2 to Scenario 2, the order of the multiple cards supported by the electronic device changes according to the parameters related to the service information carried by the cards.
如图6所示,基于同一技术构思,本申请实施例还提供了一种服务卡片显示装置600,该装置600可以是上文中的电子设备,也可以是电子设备中的装置,或者是能够和电子设 备匹配使用的装置。电子设备包括第一界面。一种设计中,该装置600可以包括执行上述方法实施例中所涉及的方法/操作/步骤/动作所一一对应的模块,该模块可以是硬件电路,也可是软件,也可以是硬件电路结合软件实现。一种设计中,该装置可以包括处理模块601和显示模块602。As shown in FIG. 6 , based on the same technical concept, an embodiment of the present application also provides a service card display device 600 , which may be the electronic device described above, or a device in an electronic device, or a device capable of and The electronic equipment is matched to the device used. The electronic device includes a first interface. In one design, the apparatus 600 may include modules corresponding to one-to-one execution of the methods/operations/steps/actions involved in the above method embodiments, and the modules may be hardware circuits, software, or a combination of hardware circuits. Software Implementation. In one design, the apparatus may include a processing module 601 and a display module 602 .
处理模块601,用于确定多个服务卡片中的每一个服务卡片的排序,每一个服务卡片的排序基于该服务卡片承载的服务信息相关的参数确定,相关的参数包括状态参数,状态参数用于表征服务信息对应的业务的状态;The processing module 601 is configured to determine the order of each service card in the plurality of service cards, the order of each service card is determined based on parameters related to the service information carried by the service card, and the relevant parameters include state parameters, and the state parameters are used for Indicates the status of the business corresponding to the service information;
显示模块602,用于响应于请求显示第一界面的指令,根据多个服务卡片的排序在第一界面上显示多个服务卡片中的至少一个服务卡片。The display module 602 is configured to display at least one service card among the plurality of service cards on the first interface according to the order of the plurality of service cards in response to an instruction for requesting to display the first interface.
处理模块601和显示模块602还可以用于执行上述方法实施例的其它对应的步骤或操作,在此不再一一赘述。The processing module 601 and the display module 602 may also be configured to perform other corresponding steps or operations in the foregoing method embodiments, which will not be repeated here.
本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,另外,在本申请各个实施例中的各功能模块可以集成在一个处理器中,也可以是单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。The division of modules in the embodiments of the present application is schematic, and is only a logical function division. In actual implementation, there may be other division methods. In addition, the functional modules in the various embodiments of the present application may be integrated into one processing unit. In the device, it can also exist physically alone, or two or more modules can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.
如图7所示,基于同一技术构思,本申请实施例还提供了一种服务卡片显示装置700,用于实现上述方法实施例所描述的方法。该装置700可以是上文中的电子设备,也可以是电子设备中的装置,或者是能够和电子设备匹配使用的装置。其中,该装置可以为芯片系统。本申请实施例中,芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。装置700包括显示屏710,用于显示界面。装置700包括一个或多个处理器720,用于实现本申请实施例提供的方法。装置700还可以包括至少一个存储器730,用于存储程序指令和/或数据。存储器730和处理器720耦合。本申请实施例中的耦合是装置、单元或模块之间的间接耦合或通信连接,可以是电性,机械或其它的形式,用于装置、单元或模块之间的信息交互。处理器720可能和存储器730协同操作。至少一个存储器中的至少一个可以包括于处理器中。处理器720可能执行存储器730中存储的程序指令,以执行以下操作:确定多个服务卡片中的每一个服务卡片的排序,每一个服务卡片的排序基于该服务卡片承载的服务信息相关的参数确定,相关的参数包括状态参数,状态参数用于表征服务信息对应的业务的状态;以及用于响应于请求显示第一界面的指令,根据多个服务卡片的排序在显示屏710的第一界面上显示多个服务卡片中的至少一个服务卡片。As shown in FIG. 7 , based on the same technical concept, an embodiment of the present application further provides a service card display device 700 for implementing the method described in the above method embodiment. The apparatus 700 may be the electronic device described above, or may be a device in an electronic device, or a device that can be matched and used with the electronic device. Wherein, the device may be a chip system. In this embodiment of the present application, the chip system may be composed of chips, or may include chips and other discrete devices. The apparatus 700 includes a display screen 710 for displaying an interface. The apparatus 700 includes one or more processors 720, configured to implement the methods provided by the embodiments of this application. The apparatus 700 may also include at least one memory 730 for storing program instructions and/or data. Memory 730 is coupled to processor 720 . The coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units or modules, which may be in electrical, mechanical or other forms, and is used for information exchange between devices, units or modules. Processor 720 may cooperate with memory 730 . At least one of the at least one memory may be included in the processor. The processor 720 may execute program instructions stored in the memory 730 to perform the following operations: determine the ranking of each service card in the plurality of service cards, the ranking of each service card is determined based on parameters related to the service information carried by the service card , the relevant parameters include a state parameter, the state parameter is used to represent the state of the service corresponding to the service information; and an instruction used to display the first interface in response to the request, according to the order of the plurality of service cards on the first interface of the display screen 710 Display at least one service card among the plurality of service cards.
本申请实施例中不限定上述显示屏710、处理器720以及存储器730之间的具体连接介质。本申请实施例在图7中以存储器730、处理器720以及显示屏710之间通过总线740连接,总线在图7中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图7中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The specific connection medium between the display screen 710, the processor 720, and the memory 730 is not limited in the embodiments of the present application. In the embodiment of the present application, the memory 730, the processor 720, and the display screen 710 are connected through a bus 740 in FIG. 7. The bus is represented by a thick line in FIG. 7, and the connection between other components is only for schematic illustration. , is not limited. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in FIG. 7, but it does not mean that there is only one bus or one type of bus.
处理器720还可以用于执行上述方法实施例的其它对应的步骤或操作,在此不再一一赘述。The processor 720 may also be configured to perform other corresponding steps or operations in the foregoing method embodiments, which will not be repeated here.
其中,处理器720可以是通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通 用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存取存储器(random access memory,RAM)、闪存、只读存储器(read-only memory,ROM)、可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的指令,结合其硬件完成上述方法的步骤。The processor 720 may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of this application can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. Software modules can be located in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory or electrically erasable programmable memory, registers, etc. in the storage medium. The storage medium is located in the memory, and the processor reads the instructions in the memory, and completes the steps of the above method in combination with its hardware.
在本申请实施例中,存储器730可以是非易失性存储器,比如硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD)等,还可以是易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM)。存储器730是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。本申请实施例中的存储器730还可以是电路或者其它任意能够实现存储功能的装置,用于存储程序指令和/或数据。In this embodiment of the present application, the memory 730 may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or a volatile memory (volatile memory), Such as random-access memory (random-access memory, RAM). Memory 730 is, but is not limited to, any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 730 in this embodiment of the present application may also be a circuit or any other device capable of implementing a storage function, for storing program instructions and/or data.
装置600和装置700的具体实现方式的相关特征可以参照上文的方法部分,此处不再赘述。For the relevant features of the specific implementations of the apparatus 600 and the apparatus 700, reference may be made to the method section above, which will not be repeated here.
基于相同的技术构思,本申请实施例还提供一种芯片,所述芯片与设备中的存储器耦合,使得所述芯片在运行时调用所述存储器中存储的程序指令,实现本申请实施例上述服务卡片显示方法。Based on the same technical concept, an embodiment of the present application further provides a chip, which is coupled to a memory in a device, so that the chip invokes program instructions stored in the memory when running, so as to realize the above-mentioned services of the embodiment of the present application Card display method.
基于相同的技术构思,本申请实施例还提供一种计算机存储介质,所述计算机可读存储介质包括计算机程序,当计算机程序在电子设备上运行时,使得所述电子设备执行本申请实施例上述服务卡片显示方法。Based on the same technical concept, an embodiment of the present application further provides a computer storage medium, where the computer-readable storage medium includes a computer program, and when the computer program runs on an electronic device, the electronic device enables the electronic device to execute the above-mentioned embodiments of the present application. Service card display method.
基于相同的技术构思,本申请实施例还提供一种计算机程序产品,所述计算机程序产品包括指令,当所述指令被执行时,使得如本申请实施例上述服务卡片显示方法被执行。Based on the same technical concept, the embodiments of the present application also provide a computer program product, the computer program product includes instructions, when the instructions are executed, the above-mentioned service card display method according to the embodiments of the present application is executed.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如DVD)、或者半导体介质(例如固态硬盘)等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state drives), and the like.
为了解释的目的,前面的描述是通过参考具体实施例来进行描述的。然而,上面的示例性的讨论并非意图是详尽的,也并非意图要将本申请限制到所公开的精确形式。根据以上教导内容,很多修改形式和变型形式都是可能的。选择和描述实施例是为了充分阐明本申请的原理及其实际应用,以由此使得本领域的其他技术人员能够充分利用具有适合于所构想的特定用途的各种修改的本申请以及各种实施例。For purposes of explanation, the foregoing description has been made with reference to specific embodiments. However, the exemplary discussion above is not intended to be exhaustive, nor to limit the application to the precise form disclosed. Many modifications and variations are possible in light of the above teachings. The embodiment was chosen and described in order to fully explain the principles of the application and its practical application, to thereby enable others skilled in the art to utilize the application and various implementations with various modifications as are suited to the particular use contemplated. example.

Claims (25)

  1. 一种服务卡片显示方法,其特征在于,应用于电子设备,所述方法包括:A service card display method, characterized in that, applied to an electronic device, the method comprising:
    确定多个服务卡片中的每一个服务卡片的排序,所述每一个服务卡片的排序基于该服务卡片承载的服务信息相关的参数确定,所述相关的参数包括状态参数,所述状态参数用于表征所述服务信息对应的业务的状态;Determine the order of each service card in the plurality of service cards, the order of each service card is determined based on parameters related to the service information carried by the service card, and the related parameters include state parameters, and the state parameters are used for representing the state of the service corresponding to the service information;
    响应于请求显示第一界面的指令,根据所述多个服务卡片的排序在所述第一界面上显示所述多个服务卡片中的至少一个服务卡片。In response to an instruction requesting to display a first interface, at least one service card of the plurality of service cards is displayed on the first interface according to the ordering of the plurality of service cards.
  2. 如权利要求1所述的方法,其特征在于,所述相关的参数还包括动作参数,所述动作参数表征了用户对所述服务信息对应的业务的操作和/或表征了用户对所述服务信息对应的服务卡片的操作。The method according to claim 1, wherein the related parameters further include action parameters, and the action parameters represent the user's operation of the service corresponding to the service information and/or the user's response to the service The operation of the service card corresponding to the information.
  3. 如权利要求2所述的方法,其特征在于,所述动作参数包括以下一项或多项:服务卡片被浏览时长、服务卡片点击、服务卡片长按、服务卡片移除、服务卡片置顶、服务卡片分享或查看服务卡片详情。The method according to claim 2, wherein the action parameters include one or more of the following: the browsing time of the service card, the click of the service card, the long press of the service card, the removal of the service card, the top of the service card, the service card Card sharing or viewing service card details.
  4. 如权利要求2或3所述的方法,其特征在于,所述服务信息为航班信息,所述动作参数包括以下任意一项或多项:机票预订、机票退订、订阅所述服务信息对应的服务卡片、取消订阅所述服务信息对应的服务卡片、或设置锁屏提醒所述服务信息对应的服务卡片。The method according to claim 2 or 3, wherein the service information is flight information, and the action parameters include any one or more of the following: ticket reservation, ticket cancellation, subscription corresponding to the service information service card, unsubscribe the service card corresponding to the service information, or set a lock screen to remind the service card corresponding to the service information.
  5. 如权利要求1~4任一项所述的方法,其特征在于,所述相关的参数还包括时间参数,所述时间参数包括:所述服务信息对应的业务的设定事件发生时间和/或当前时间。The method according to any one of claims 1 to 4, wherein the related parameters further include a time parameter, and the time parameter includes: a set event occurrence time of the service corresponding to the service information and/or current time.
  6. 如权利要求1~5任一项所述的方法,其特征在于,所述排序的排序分数符合以下公式:Q new=αQ old+R(C); The method according to any one of claims 1 to 5, wherein the ranking score of the ranking conforms to the following formula: Q new =αQ old +R(C);
    其中,Q new为所述排序分数,α为衰减因子,α∈(0,1),Q old为卡片的历史分数,C为所述相关的参数,R为设定函数,R(C)为所述相关的参数基于所述设定函数获得的值。 Among them, Q new is the ranking score, α is the decay factor, α∈(0,1), Q old is the historical score of the card, C is the relevant parameter, R is the setting function, and R(C) is The relevant parameter is based on the value obtained by the setting function.
  7. 如权利要求1~6任一项所述的方法,其特征在于,所述服务信息为航班信息,所述状态参数包括以下任意一项或多项:航班待起飞、航班已退票、航班是否即将起飞、航班起飞、航班到达、航班延误、航班中途返航、或航班备降。The method according to any one of claims 1 to 6, wherein the service information is flight information, and the status parameters include any one or more of the following: the flight is about to take off, the flight has been refunded, and whether the flight is about to take off. Takeoff, flight departure, flight arrival, flight delay, flight return, or flight alternate.
  8. 如权利要求1~7任一项所述的方法,其特征在于,所述第一界面为负一屏界面,所述请求显示所述第一界面的指令包括通过在所述电子设备上进行滑动操作以指示所述电子设备显示所述负一屏界面的指令。The method according to any one of claims 1 to 7, wherein the first interface is a negative one-screen interface, and the instruction for requesting to display the first interface comprises sliding on the electronic device An instruction operating to instruct the electronic device to display the negative one-screen interface.
  9. 一种电子装置,其特征在于,所述装置应用于电子设备,所述装置包括:An electronic device, characterized in that, the device is applied to electronic equipment, and the device comprises:
    处理模块,用于确定多个服务卡片中的每一个服务卡片的排序,所述每一个服务卡片的排序基于该服务卡片承载的服务信息相关的参数确定,所述相关的参数包括状态参数,所述状态参数用于表征所述服务信息对应的业务的状态;A processing module, configured to determine the order of each service card in the plurality of service cards, the order of each service card is determined based on parameters related to the service information carried by the service card, and the related parameters include status parameters, so The state parameter is used to represent the state of the service corresponding to the service information;
    显示模块,用于响应于请求显示第一界面的指令,根据所述多个服务卡片的排序在所述第一界面上显示所述多个服务卡片中的至少一个服务卡片。A display module, configured to display at least one service card among the plurality of service cards on the first interface according to the order of the plurality of service cards in response to an instruction for requesting to display a first interface.
  10. 如权利要求9所述的装置,其特征在于,所述相关的参数还包括动作参数,所述动作参数表征了用户对所述服务信息对应的业务的操作和/或表征了用户对所述服务信息对应的服务卡片的操作。The device according to claim 9, wherein the related parameters further include action parameters, and the action parameters represent the user's operation of the service corresponding to the service information and/or the user's response to the service The operation of the service card corresponding to the information.
  11. 如权利要求9或10所述的装置,其特征在于,所述动作参数包括以下一项或多项:服务卡片被浏览时长、服务卡片点击、服务卡片长按、服务卡片移除、服务卡片置顶、服 务卡片分享或查看服务卡片详情。The device according to claim 9 or 10, wherein the action parameters include one or more of the following: the browsing time of the service card, the click of the service card, the long press of the service card, the removal of the service card, and the top of the service card , service card share, or view service card details.
  12. 如权利要求11所述的装置,其特征在于,所述服务信息为航班信息,所述动作参数包括以下任意一项或多项:机票预订、机票退订、订阅所述服务信息对应的服务卡片、取消订阅所述服务信息对应的服务卡片、或设置锁屏提醒所述服务信息对应的服务卡片。The device according to claim 11, wherein the service information is flight information, and the action parameters include any one or more of the following: ticket reservation, ticket cancellation, subscription to a service card corresponding to the service information , unsubscribe the service card corresponding to the service information, or set a lock screen to remind the service card corresponding to the service information.
  13. 如权利要求9~12任一项所述的装置,其特征在于,所述相关的参数还包括时间参数,所述时间参数包括:所述服务信息对应的业务的设定事件发生时间和/或当前时间。The apparatus according to any one of claims 9 to 12, wherein the related parameters further include a time parameter, and the time parameter includes: a set event occurrence time of the service corresponding to the service information and/or current time.
  14. 如权利要求9~13任一项所述的装置,其特征在于,所述排序的排序分数符合以下公式:Q new=αQ old+R(C); The device according to any one of claims 9 to 13, wherein the ranking score of the ranking conforms to the following formula: Q new =αQ old +R(C);
    其中,Q new为所述排序分数,α为衰减因子,α∈(0,1),Q old为服务卡片的历史分数,C为所述相关的参数,R为设定函数,R(C)为所述相关的参数基于所述设定函数获得的值。 Among them, Q new is the ranking score, α is the decay factor, α∈(0,1), Q old is the historical score of the service card, C is the relevant parameter, R is the setting function, R(C) The value obtained for the relevant parameter is based on the set function.
  15. 如权利要求9~14任一项所述的装置,其特征在于,所述服务信息为航班信息,所述状态参数包括以下任意一项或多项:航班待起飞、航班已退票、航班是否即将起飞、航班起飞、航班到达、航班延误、航班中途返航、或航班备降。The device according to any one of claims 9 to 14, wherein the service information is flight information, and the status parameters include any one or more of the following: the flight is about to take off, the flight has been refunded, and whether the flight is about to take off. Takeoff, flight departure, flight arrival, flight delay, flight return, or flight alternate.
  16. 如权利要求9~15任一项所述的装置,其特征在于,所述第一界面为负一屏界面,所述请求显示所述第一界面的指令包括通过在所述电子设备上进行滑动操作以指示所述电子设备显示所述负一屏界面的指令。The apparatus according to any one of claims 9 to 15, wherein the first interface is a negative one-screen interface, and the instruction for requesting to display the first interface comprises sliding on the electronic device An instruction operating to instruct the electronic device to display the negative one-screen interface.
  17. 一种电子装置,其特征在于,所述装置包括处理器、存储器和显示屏,其中:An electronic device, characterized in that the device comprises a processor, a memory and a display screen, wherein:
    所述存储器,用于存储程序指令;the memory for storing program instructions;
    所述显示屏,用于显示界面;the display screen for displaying an interface;
    所述处理器,用于调用所述程序指令,以执行以下操作:确定多个服务卡片中的每一个服务卡片的排序,所述每一个服务卡片的排序基于该服务卡片承载的服务信息相关的参数确定,所述相关的参数包括状态参数,所述状态参数用于表征所述服务信息对应的业务的状态;以及用于响应于请求显示第一界面的指令,根据所述多个服务卡片的排序在所述显示屏的第一界面上显示所述多个服务卡片中的至少一个服务卡片。The processor is configured to invoke the program instructions to perform the following operations: determine the order of each service card in the plurality of service cards, and the order of each service card is based on the service information carried by the service card. Parameter determination, the related parameters include a state parameter, the state parameter is used to represent the state of the service corresponding to the service information; and an instruction used to display the first interface in response to the request, according to the multiple service cards. Sorting to display at least one service card of the plurality of service cards on the first interface of the display screen.
  18. 如权利要求17所述的装置,其特征在于,所述相关的参数还包括动作参数,所述动作参数表征了用户对所述服务信息对应的业务的操作和/或表征了用户对所述服务信息对应的服务卡片的操作。The apparatus according to claim 17, wherein the related parameters further include action parameters, and the action parameters represent the user's operation of the service corresponding to the service information and/or the user's response to the service The operation of the service card corresponding to the information.
  19. 如权利要求18所述的装置,其特征在于,所述动作参数包括以下一项或多项:服务卡片被浏览时长、服务卡片点击、服务卡片长按、服务卡片移除、服务卡片置顶、服务卡片分享或查看服务卡片详情。The device according to claim 18, wherein the action parameters include one or more of the following: the browsing time of the service card, the click of the service card, the long press of the service card, the removal of the service card, the top of the service card, the service card Card sharing or viewing service card details.
  20. 如权利要求18或19所述的装置,其特征在于,所述服务信息为航班信息,所述动作参数包括以下任意一项或多项:机票预订、机票退订、订阅所述服务信息对应的服务卡片、取消订阅所述服务信息对应的服务卡片、或设置锁屏提醒所述服务信息对应的服务卡片。The device according to claim 18 or 19, wherein the service information is flight information, and the action parameters include any one or more of the following: ticket reservation, ticket cancellation, subscription corresponding to the service information service card, unsubscribe the service card corresponding to the service information, or set a lock screen to remind the service card corresponding to the service information.
  21. 如权利要求17~20任一项所述的装置,其特征在于,所述相关的参数还包括时间参数,所述时间参数包括:所述服务信息对应的业务的设定事件发生时间和/或当前时间。The apparatus according to any one of claims 17 to 20, wherein the related parameters further include a time parameter, and the time parameter includes: a set event occurrence time of the service corresponding to the service information and/or current time.
  22. 如权利要求17~21任一项所述的装置,其特征在于,所述排序的排序分数符合以下公式:Q new=αQ old+R(C); The apparatus according to any one of claims 17 to 21, wherein the ranking score of the ranking conforms to the following formula: Q new =αQ old +R(C);
    其中,Q new为所述排序分数,α为衰减因子,α∈(0,1),Q old为卡片的历史分数,C 为所述相关的参数,R为设定函数,R(C)为所述相关的参数基于所述设定函数获得的值。 Among them, Q new is the ranking score, α is the decay factor, α∈(0,1), Q old is the historical score of the card, C is the relevant parameter, R is the setting function, and R(C) is The relevant parameter is based on the value obtained by the setting function.
  23. 如权利要求17~22任一项所述的装置,其特征在于,所述服务信息为航班信息,所述状态参数包括以下任意一项或多项:航班待起飞、航班已退票、航班是否即将起飞、航班起飞、航班到达、航班延误、航班中途返航、或航班备降。The device according to any one of claims 17 to 22, wherein the service information is flight information, and the status parameters include any one or more of the following: the flight is about to take off, the flight has been refunded, and whether the flight is about to take off. Takeoff, flight departure, flight arrival, flight delay, flight return, or flight alternate.
  24. 如权利要求17~23任一项所述的装置,其特征在于,所述第一界面为负一屏界面,所述请求显示所述第一界面的指令包括通过在所述显示屏上进行滑动操作以指示所述处理器显示所述负一屏界面的指令。The device according to any one of claims 17 to 23, wherein the first interface is a negative one-screen interface, and the instruction for requesting to display the first interface comprises sliding on the display screen Instructions operative to instruct the processor to display the negative one-screen interface.
  25. 一种计算机可读存储介质,其特征在于,存储有计算机指令,当所述计算机指令被计算机执行时,使得如权利要求1~8任一项所述的方法被执行。A computer-readable storage medium, characterized in that it stores computer instructions, which, when executed by a computer, cause the method according to any one of claims 1 to 8 to be performed.
PCT/CN2021/116876 2020-10-31 2021-09-07 Service card display method and device WO2022089009A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011197221.4 2020-10-31
CN202011197221.4A CN114531511A (en) 2020-10-31 2020-10-31 Service card display method and device

Publications (1)

Publication Number Publication Date
WO2022089009A1 true WO2022089009A1 (en) 2022-05-05

Family

ID=81383568

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/116876 WO2022089009A1 (en) 2020-10-31 2021-09-07 Service card display method and device

Country Status (2)

Country Link
CN (1) CN114531511A (en)
WO (1) WO2022089009A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116027934A (en) * 2022-08-11 2023-04-28 荣耀终端有限公司 Method and device for displaying card
CN117112087A (en) * 2023-02-24 2023-11-24 荣耀终端有限公司 Ordering method of desktop cards, electronic equipment and medium
WO2024037400A1 (en) * 2022-08-13 2024-02-22 华为技术有限公司 Service recommendation method and electronic device
CN118445498A (en) * 2023-11-27 2024-08-06 荣耀终端有限公司 Method, device, server and system for reporting service data of quick application card

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115097989B (en) * 2022-07-25 2023-01-24 荣耀终端有限公司 Service card display method, electronic device and storage medium
CN116048683B (en) * 2022-08-19 2023-10-20 荣耀终端有限公司 Card sorting method, electronic device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103744659A (en) * 2013-12-24 2014-04-23 北京百度网讯科技有限公司 Method and device for card type management of application entries
CN104572942A (en) * 2014-12-30 2015-04-29 小米科技有限责任公司 Push message display method and push message display device
CN106201533A (en) * 2016-07-15 2016-12-07 乐视控股(北京)有限公司 Application card sort method and device
CN106970797A (en) * 2017-03-30 2017-07-21 联想(北京)有限公司 Message prompt method, device and electronic equipment
CN107437165A (en) * 2016-05-29 2017-12-05 腾讯科技(深圳)有限公司 Smart machine event management method, device and system
CN109788136A (en) * 2019-01-29 2019-05-21 维沃移动通信有限公司 Information display method and mobile terminal
CN111625309A (en) * 2020-04-28 2020-09-04 深圳传音控股股份有限公司 Card management method, terminal equipment and computer readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108090142B (en) * 2017-12-04 2020-04-21 Oppo广东移动通信有限公司 Card sorting method, device, server and storage medium
US20200020051A1 (en) * 2018-07-11 2020-01-16 Capital One Services, Llc Systems and methods for operating a service to monitor and adjust a booked flight
CN115499533A (en) * 2020-01-19 2022-12-20 华为技术有限公司 Display method and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103744659A (en) * 2013-12-24 2014-04-23 北京百度网讯科技有限公司 Method and device for card type management of application entries
CN104572942A (en) * 2014-12-30 2015-04-29 小米科技有限责任公司 Push message display method and push message display device
CN107437165A (en) * 2016-05-29 2017-12-05 腾讯科技(深圳)有限公司 Smart machine event management method, device and system
CN106201533A (en) * 2016-07-15 2016-12-07 乐视控股(北京)有限公司 Application card sort method and device
CN106970797A (en) * 2017-03-30 2017-07-21 联想(北京)有限公司 Message prompt method, device and electronic equipment
CN109788136A (en) * 2019-01-29 2019-05-21 维沃移动通信有限公司 Information display method and mobile terminal
CN111625309A (en) * 2020-04-28 2020-09-04 深圳传音控股股份有限公司 Card management method, terminal equipment and computer readable storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116027934A (en) * 2022-08-11 2023-04-28 荣耀终端有限公司 Method and device for displaying card
CN116027934B (en) * 2022-08-11 2023-10-20 荣耀终端有限公司 Method and device for displaying card
WO2024037400A1 (en) * 2022-08-13 2024-02-22 华为技术有限公司 Service recommendation method and electronic device
CN117112087A (en) * 2023-02-24 2023-11-24 荣耀终端有限公司 Ordering method of desktop cards, electronic equipment and medium
CN117112087B (en) * 2023-02-24 2024-10-11 荣耀终端有限公司 Ordering method of desktop cards, electronic equipment and medium
CN118445498A (en) * 2023-11-27 2024-08-06 荣耀终端有限公司 Method, device, server and system for reporting service data of quick application card

Also Published As

Publication number Publication date
CN114531511A (en) 2022-05-24

Similar Documents

Publication Publication Date Title
WO2022089009A1 (en) Service card display method and device
US10630796B2 (en) Conserving battery and data usage
US20200249784A1 (en) Re-Ranking Story Content
WO2021017837A1 (en) Card sharing method, apparatus and system
CN112394895B (en) Picture cross-device display method and device and electronic device
EP2939078B1 (en) Conserving battery and data usage
EP2939090B1 (en) Social cover feed interface
CN110990075A (en) Starting method, device and equipment of fast application and storage medium
WO2021185235A1 (en) Application display continuation method and device
WO2023143299A1 (en) Message display method and apparatus, device, and storage medium
US20220294844A1 (en) Information Transmission Method And Electronic Device
WO2022142674A1 (en) Shortcut creation method and related device
CN117785340A (en) Card sharing method and device
WO2024046062A1 (en) Cross-device card interaction method and electronic device
WO2024060925A1 (en) Notification message processing system, method and apparatus
CN109981729A (en) Document handling method, device, electronic equipment and computer readable storage medium
WO2024230434A1 (en) Method for implementing media playback control, electronic device, system, and readable storage medium
CN116016418B (en) Information interaction method and electronic equipment
WO2023185967A1 (en) Rich media information processing method and system, and related apparatus
WO2024140757A1 (en) Cross-device screen splitting method and related apparatus
WO2023071718A1 (en) Floating window adjusting method and electronic device
JP7410636B2 (en) Information processing method, information processing device, and program
CN117991934A (en) Card using method and electronic equipment
CN117955950A (en) Method and equipment for joining multimedia activities
CN118632114A (en) Method and device for calling camera by application

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21884739

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21884739

Country of ref document: EP

Kind code of ref document: A1