WO2024131329A1 - Widget display method and device, storage medium and electronic device - Google Patents

Widget display method and device, storage medium and electronic device Download PDF

Info

Publication number
WO2024131329A1
WO2024131329A1 PCT/CN2023/129097 CN2023129097W WO2024131329A1 WO 2024131329 A1 WO2024131329 A1 WO 2024131329A1 CN 2023129097 W CN2023129097 W CN 2023129097W WO 2024131329 A1 WO2024131329 A1 WO 2024131329A1
Authority
WO
WIPO (PCT)
Prior art keywords
card
scenario
interface
data
target recommendation
Prior art date
Application number
PCT/CN2023/129097
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 WO2024131329A1 publication Critical patent/WO2024131329A1/en

Links

Definitions

  • the present application relates to the field of computer technology, and in particular to a card display method, device, storage medium and electronic device.
  • terminal devices such as smartphones have become indispensable tools in daily life.
  • engineers are constantly enriching the service capabilities of terminal devices.
  • terminal devices can perform more and more operations.
  • cards are used to display information as reminders.
  • the present application provides a card display method, device, storage medium and device, which improves the generation efficiency of recommended cards based on a card interface pre-stored locally during the card generation process, thereby shortening the generation time of recommended cards and improving the display efficiency of recommended cards.
  • an embodiment of the present application provides a card display method, applied to a terminal device, the method comprising:
  • a recommended card corresponding to the target recommendation scenario is obtained based on the card interface and the card data rendering, and the recommended card is displayed.
  • an embodiment of the present application provides a card display device, including:
  • a scenario determination unit configured to obtain current business scenario information and determine a target recommendation scenario based on the business scenario information
  • a data acquisition unit used to acquire card data corresponding to the target recommendation scene and a card interface preloaded locally;
  • a card display unit is used to render a recommended card corresponding to the target recommendation scenario based on the card interface and the card data, and display the recommended card.
  • an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the steps of the above-mentioned method.
  • an embodiment of the present application provides an electronic device, comprising: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the steps of the above method.
  • the target recommendation scenario is determined by acquiring the current business scenario information, and after acquiring the card data corresponding to the target recommendation scenario and the card interface stored locally, the recommended card corresponding to the target recommendation scenario is rendered based on the card data and the card interface, and then the recommended card is displayed in a determined display method.
  • the generation efficiency of the recommended cards can be improved based on the card interface pre-stored locally, thereby shortening the generation time of the recommended cards and improving the display efficiency of the recommended cards.
  • FIG1 is a system architecture diagram of a card display method provided in an embodiment of the present application.
  • FIG2 is a schematic diagram of a flow chart of a card display method provided in an embodiment of the present application.
  • FIG3 is a schematic diagram showing an example of a permission setting interface provided in an embodiment of the present application.
  • FIG4 is a schematic diagram showing an example of updating card data provided in an embodiment of the present application.
  • FIG5 is a schematic diagram showing an example of a card display method provided in an embodiment of the present application.
  • FIG6 is a schematic diagram of an example of a card display mode setting interface provided in an embodiment of the present application.
  • FIG7 is a schematic diagram of a process of generating a card interface provided in an embodiment of the present application.
  • FIG8 is a schematic diagram showing another example of a permission setting interface provided in an embodiment of the present application.
  • FIG9 is a schematic diagram showing another example of a directed graph display provided in an embodiment of the present application.
  • FIG10 is a schematic diagram of the structure of a card display device provided in an embodiment of the present application.
  • FIG11 is a schematic diagram of the structure of a card display device provided in an embodiment of the present application.
  • FIG12 is a schematic diagram of the structure of an interface storage unit provided in an embodiment of the present application.
  • FIG13 is a schematic diagram of the structure of an acquisition mode determination unit provided in an embodiment of the present application.
  • FIG14 is a schematic diagram of the structure of a scene determination unit provided in an embodiment of the present application.
  • FIG15 is a schematic diagram of the structure of a data acquisition unit provided in an embodiment of the present application.
  • FIG16 is a schematic diagram of the structure of a card display unit provided in an embodiment of the present application.
  • FIG. 17 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
  • an embodiment of the present application provides a card display method, which determines the target recommendation scenario by acquiring the current business scenario information, and after acquiring the card data corresponding to the target recommendation scenario and the card interface stored locally, renders based on the card data and the card interface to obtain the recommended card corresponding to the target recommendation scenario, and then displays the recommended card in a determined display manner.
  • the generation efficiency of the recommended cards can be improved based on the card interface pre-stored locally, thereby shortening the generation time of the recommended cards and improving the display efficiency of the recommended cards.
  • Figure 1 is a system structure diagram of a card display provided in an embodiment of the present application.
  • the card display method provided in the embodiment of the present application can be applied to a terminal device 10 to implement the process of displaying a recommended card on the terminal device.
  • the system structure provided in the embodiment of the present application mainly includes a terminal device 10 and a business party server 20.
  • the terminal device 10 may include but is not limited to a mobile phone, a personal computer, a laptop computer, smart furniture, a vehicle-mounted device, a wearable device, and other terminal devices with terminal application installation, operation, and other functions.
  • the business party server 20 may be a server of the business party, storing data related to various services provided by the business party.
  • the terminal device 10 obtains the current business scenario information, determines the target recommendation scenario based on the business scenario information, obtains the card data corresponding to the target recommendation scenario from the business party server 20, and then determines the target recommendation scenario based on the business scenario information preloaded in the terminal device 10.
  • the local keyboard interface of the terminal device 10 generates a recommendation card corresponding to the target recommendation scenario and displays the recommendation card, so as to improve the generation efficiency of the recommendation card and further improve the display efficiency of the recommendation card.
  • the target recommendation scenario is determined by acquiring the current business scenario information, and after acquiring the card data corresponding to the target recommendation scenario and the card interface stored locally, the recommended card corresponding to the target recommendation scenario is rendered based on the card data and the card interface, and then the recommended card is displayed in a determined display method.
  • the generation efficiency of the recommended cards can be improved based on the card interface pre-stored locally, thereby shortening the generation time of the recommended cards and improving the display efficiency of the recommended cards.
  • Figure 2 is a flowchart of a card display method provided in an embodiment of the present application. As shown in Figure 2, the method may include the following steps S101-S103.
  • the terminal device after obtaining user authorization, obtains current business scenario information and analyzes the business scenario information. If the business scenario information meets the pre-set trigger rules, the preset recommended scenario corresponding to the trigger rules is obtained, and the preset recommended scenario is determined as the target recommended scenario corresponding to the business scenario information.
  • the business scenario information may be the current geographical location of the terminal device, or the current time, etc.
  • the target recommendation scenario corresponding to the business scenario is determined according to the situation in which the business scenario information satisfies the triggering rules.
  • the terminal device obtains that the current geographical location is the destination airport in the purchased ticket, and the current time is the arrival time in the purchased ticket.
  • the current geographical location and the current time it can be considered that the user holding the terminal device has arrived at a certain place by plane, and therefore may need to take a ride to leave the airport.
  • the corresponding target recommendation scenario is the need to take a ride, and then a business party that can support rides is selected to obtain ride services.
  • the triggering rules may be rules obtained in advance from the business side, or rules generated based on the daily usage habits of the terminal device, etc.
  • the business side may determine a preset recommendation scenario with the terminal device in advance, or estimate the user's commuting time and commuting method based on the user's commuting time and commuting method, and the estimated commuting time and method is the corresponding triggering rule.
  • the preset recommendation scenario may be a preset recommended application scenario. For example, based on the estimated commuting time and commuting method, the preset recommendation scenario may be determined to be taking the bus at 8:00 am from Monday to Friday.
  • the target recommendation scenario can be a recommendation scenario determined based on the acquired business scenario information. For example, if the current time is 8:00 a.m. on Monday and the current geographical location is the user's home, then based on the business scenario information and the preset recommendation scenario, the target recommendation scenario is determined to be taking the bus to the company, and then a bus stop near the user's home that can take them to the company is recommended.
  • the interface data and the card data acquisition method sent by the business party are also executed, so as to generate a card interface corresponding to the target recommendation scenario according to the interface data, and to obtain the required card data based on the card data acquisition method when generating the card.
  • the interface data and the card data acquisition method are stored locally, so that when generating the recommended card corresponding to the target recommendation scenario, the local data can be directly called.
  • the interface data may be data required to generate an interface for a recommendation card, and may include background images, button options, interface content distribution methods, etc.
  • a card interface corresponding to the target recommendation scenario is generated based on the interface data, and the card interface is managed locally.
  • the method for locally managing the card interface may be: storing it in a card management cloud server, or in a file directory corresponding to the business party's application, and in a card management file of a terminal device, which may be set according to actual conditions.
  • the card management cloud server may be a system server of a terminal device
  • the card management file may be a file in a terminal device for managing card data.
  • the card data acquisition method can be determined according to whether there is an application of the business party in the terminal device. If there is an application corresponding to the business party in the terminal device, a data acquisition request is obtained from the business party to obtain the business party's application. The service party obtains the path of the card data based on the data acquisition request returned; if the application corresponding to the service party does not exist in the terminal device, the logic code data corresponding to the card interface is generated, and the logic code data is used as the method for obtaining the card data, and the logic code data is stored in the card management server or the card management file of the terminal device.
  • the recommendation card can be a card generated for the target recommendation scenario, and the services corresponding to the target recommendation scenario are displayed through the recommendation card for the user to select or obtain information. It should be noted that the recommendation card corresponding to a target recommendation scenario can be one or more recommendation cards, and the specific data of the recommendation card is associated with the services that the terminal device can provide.
  • the permission setting corresponding to the target recommendation scenario is obtained; if the permission setting indicates that generation of a recommended card corresponding to the target recommendation scenario is allowed, the card data corresponding to the target recommendation scenario and the card interface preloaded locally are obtained.
  • the permission setting corresponding to the target recommendation scenario can be the permission management set by the user according to his/her own usage habits, or can be the permission control caused by the business party's requirements. For example, as shown in FIG3 , based on the business scenario information, the target recommendation scenario is determined to be the need to call a private car, but because the user has previously set the permission for calling a private car service as shown in FIG3 , the permission setting indicates that the generation of the recommendation card corresponding to the target recommendation scenario is not allowed, and therefore the subsequent steps of obtaining the card data and card interface corresponding to the target recommendation scenario are not performed.
  • the method for obtaining the card data corresponding to the target recommendation scenario can be to obtain the card data based on the pre-acquired card data acquisition method, and if the terminal device has the corresponding application of the business party, send a card data acquisition request to the business party based on the acquisition path for implementing the acquisition, and obtain the card data returned by the business party based on the acquisition request; if the terminal device does not have the application, obtain the card data corresponding to the target recommendation based on the running logic code data.
  • the logic code data is data generated in advance and saved locally, and the terminal device can directly call it to obtain the corresponding card data from the business party.
  • the rendering engine corresponding to the target recommendation scene is determined, the card interface and card data are rendered based on the rendering engine to obtain the recommended card corresponding to the target recommendation scene, the current usage status of the terminal device is obtained, the display mode of the recommended card is determined based on the usage status, and the recommended card is displayed using this display mode.
  • the method for determining the rendering engine corresponding to the target recommendation scenario can be determined according to the requirements of the business party. It should be noted that for the rendering engine corresponding to each rendering method, the business party needs to write code. Therefore, in order to save the resources required for development and maintenance, some business parties only provide data corresponding to one rendering engine. Therefore, it is necessary to determine the rendering engine corresponding to the target recommendation scenario for different business parties.
  • the card rendering method may be, based on the acquired card interface as the card interface of the recommended card, supplementing the acquired card data with the logical data part in the corresponding recommended card, thereby obtaining the recommended card.
  • the target recommendation scenario is ordering takeout
  • the card data may be the real-time delivery situation of the takeout in FIG4 , and as the delivery situation changes in real time, the card data is also updated accordingly, so that the countdown in FIG4 changes from "4 minutes" to "2 minutes” over time.
  • the card data is updated based on the data obtained by the business party, so if there is an error in the network connection that causes the card data to be updated untimely, the recommended card will display a prompt message to remind the user that the current network signal is poor, so that the network connection can be restored in time, thereby ensuring the timeliness of the card data update.
  • the usage state may be the state presented by the terminal device currently executing a function, such as a screen-off display state, a desktop standby state, a full-screen video viewing state, etc.
  • the display mode of the recommendation card is determined based on the usage state of the terminal device, thereby avoiding adverse effects on the user's experience caused by displaying the recommendation card at the appropriate time.
  • the display mode may include when the terminal device is in the state of off-screen display, lock screen standby, desktop standby or display
  • the recommended card can be displayed in the form of a card when the notification center is displayed, or it can be displayed in the form of a capsule when the terminal device is watching a video or the user is operating the terminal device.
  • Figure 5 shows the card display methods of the five states of "A: lock screen standby state", "B: display notification center state”, “C: off screen display state”, “D: watch video state” and "E: operation state”. It should be noted that since Figure 5D is in the state of watching a video, in order to avoid affecting the user's experience of watching the video, it is only displayed when the content of the card data changes significantly.
  • Figure 5D shows “Going to the merchant for 4 minutes” and the display time is 3 seconds. After 3 seconds, the recommended card will be hidden until the card data is modified to "arrived at the merchant” or "delivering", etc., and the recommended card will be displayed again.
  • the specific display mode can be modified by the user according to actual needs, such as the specific style of the card or the application scenario of the capsule mode, etc.
  • Figure 6 is a user setting interface for the card display mode, and the user can set it according to actual needs.
  • the initial state of the terminal device is to turn on the "default setting”. If the user needs to make separate settings for different usage states, the "personalized setting" can be turned on to make separate settings for each usage scenario.
  • the target recommendation scenario is determined by acquiring the current business scenario information, and after acquiring the card data corresponding to the target recommendation scenario and the card interface stored locally, the recommended card corresponding to the target recommendation scenario is rendered based on the card data and the card interface, and then the recommended card is displayed in a determined display method.
  • the generation efficiency of the recommended cards can be improved based on the card interface pre-stored locally, thereby shortening the generation time of the recommended cards and improving the display efficiency of the recommended cards.
  • Figure 7 is a flowchart of a card display method provided in an embodiment of the present application. As shown in Figure 7, the method may include the following steps S201-S212.
  • the terminal device pre-acquires interface data sent by the business party, and generates a card interface corresponding to the target recommendation scenario based on the interface data, so that it can be directly called when the recommendation card rendering is needed later, thereby shortening the rendering time of the recommendation card.
  • the business party may be a provider that has established a business transaction agreement with the terminal device in advance. For example, if the terminal device downloads the business party's application and agrees to the business party's agreement after launching the application, it can be considered that the two parties have established a business transaction agreement.
  • the interface data may be data required for generating an interface for a recommendation card, and may include background images, button options, interface content distribution methods, etc.
  • a corresponding keyboard interface can be generated based on the interface data.
  • FIG8 is a card interface generated based on interface data. Since the card interface is generated based only on interface data, the specific card data content is partially missing. The missing card data is displayed in the form of blocks in FIG8 , and the form of the missing card data may also be set according to actual conditions.
  • the target recommendation scenario can be one of the pre-set recommendation scenarios. For example, if the current time is 8:00 am on Monday and the current geographical location is the user's home, the target recommendation scenario can be determined as taking the bus to the company, and then a bus stop near the user's home that can take people to the company is recommended.
  • the interface data of each business party is obtained and a corresponding card interface is generated based on the interface data.
  • the recommendation card can be a card generated for the target recommendation scenario, and the services corresponding to the target recommendation scenario are displayed through the recommendation card for the user to select or obtain information. It should be noted that the recommendation card corresponding to a target recommendation scenario can be one or more recommendation cards, and the specific data of the recommendation card is associated with the services that the terminal device can provide.
  • S202 Locally store the card interface based on the interface storage method of the business party, and save the card interface.
  • the card interface is generated based on the interface data, the requirements or information related to the interface storage method of the business party are determined, the card interface is locally stored based on the interface storage method of the business party, and the storage address of the card interface is saved.
  • the interface storage method may include storing it in a card management cloud server, or storing it in a file directory corresponding to the business party's application, or storing it in a card management file of a terminal device, which may be set according to actual conditions.
  • the card management cloud server may be a system server of the terminal device
  • the card management file may be a file used to manage card data in the terminal device
  • the file directory corresponding to the application may be an Assets directory in a common APP file, etc., which may be set according to actual conditions.
  • the method of obtaining card data in order to improve not only the efficiency of the card interface but also the speed of obtaining card data when generating recommended cards, can be determined based on the business type of the business party so that the card data can be quickly obtained later.
  • the business type can be determined based on whether there is an application of the business party in the terminal device. If there is an application corresponding to the business party in the terminal device, a data acquisition request is obtained from the business party to obtain the acquisition path of the card data returned by the business party based on the data acquisition request; if there is no application corresponding to the business party in the terminal device, logical code data corresponding to the card interface is generated, and the logical code data is used as a method for obtaining card data, and the logical code data is stored in the card management server or the card management file of the terminal device.
  • the method for generating logic code data can be that the card management system in the terminal device calculates the steps required for execution based on the card interface, writes corresponding logic code data based on the steps, and after obtaining the logic code data, stores the logic code data in the card management server or the card management file of the terminal device, that is, the logic code data and the card interface are stored in the same file, so that they can be directly called when generating recommended cards later, thereby shortening the time required to generate recommended cards.
  • the business scenario information may be the current geographical location of the terminal device, or the current time, etc.
  • the target recommendation scenario corresponding to the business scenario is determined according to the situation in which the business scenario information satisfies the triggering rules. For example, the terminal device obtains that the current geographical location is the destination airport in the purchased ticket, and the current time is the arrival time in the purchased ticket. According to the current geographical location and the current time, it can be considered that the user holding the terminal device has arrived at a certain place by plane, and therefore may need to take a ride to leave the airport.
  • the corresponding target recommendation scenario is the need to take a ride, and then a business party that can support rides is selected to obtain ride services.
  • the acquired business scenario information is analyzed, and if the business scenario information satisfies a preset trigger rule, a preset recommended scenario corresponding to the trigger rule is acquired, and the preset recommended scenario is determined as a target recommended scenario corresponding to the business scenario information.
  • the triggering rules may be rules obtained in advance from the business side, or rules generated based on the daily usage habits of the terminal device, etc.
  • the business side may determine a preset recommendation scenario with the terminal device in advance, or estimate the user's commuting time and commuting method based on the user's commuting time and commuting method, and the estimated commuting time and method is the corresponding triggering rule.
  • the preset recommendation scenario may be a preset recommended application scenario, for example, based on the estimated commuting time and commuting method, the preset recommendation scenario may be determined to be taking the bus at 8:00 am from Monday to Friday.
  • the target recommendation scenario can be a recommendation scenario determined based on the acquired business scenario information. For example, if the current time is 8:00 a.m. on Monday and the current geographical location is the user's home, then based on the business scenario information and the preset recommendation scenario, the target recommendation scenario is determined to be taking the bus to the company, and then a bus stop near the user's home that can take them to the company is recommended.
  • the storage address of the card interface corresponding to the target recommendation scene is stored. If the storage address of the card interface is stored, it is determined that the card interface is stored, and then the permission setting corresponding to the target recommendation scene is further obtained.
  • the permission setting can be permission management set by the user according to his own usage habits, or it can be permission control caused by the requirements of the business party.
  • the interface shown in Figure 3 is an interface for setting permissions. The user can decide whether to allow the generation of recommendation cards corresponding to the target recommendation scenario by selecting the switch. If the user chooses to turn on "Run Recommendation", all applications are allowed to perform the recommendation function by default. The user can further set it for each application on the display interface shown in Figure 9 as shown in Figure 9.
  • the recommendation permissions for business scenarios can also be set separately.
  • the setting method is similar to the setting for applications.
  • the setting method for business scenarios can refer to the setting method for applications, which will not be repeated here.
  • a method for obtaining the card interface is determined based on the storage address of the card interface. If the card interface preloaded locally is stored in a file directory corresponding to the business party's application or in a card management file of the terminal device, the card interface corresponding to the target recommendation scenario is directly called; if it is stored in a card management cloud server, a request is sent to the server to obtain the card interface.
  • the card data of the target recommendation scene is acquired based on the acquisition method.
  • the method for obtaining the card data corresponding to the target recommendation scenario can be to obtain the card data based on the pre-acquired card data acquisition method, and if the terminal device has the corresponding application of the business party, send a card data acquisition request to the business party based on the acquisition path for implementing the acquisition, and obtain the card data returned by the business party based on the acquisition request; if the terminal device does not have the application, obtain the card data corresponding to the target recommendation based on the running logic code data.
  • the logic code data is data generated in advance and saved locally, and the terminal device can directly call it to obtain the corresponding card data from the business party.
  • the rendering engine corresponding to the target recommendation scene is obtained for the business party corresponding to the target recommendation scene, and the card interface and card data are rendered based on the rendering engine to obtain a recommended card corresponding to the target recommendation scene.
  • the method for obtaining the rendering engine corresponding to the target recommendation scene can be determined according to the requirements of the business party. It should be noted that for the rendering engine corresponding to each rendering method, the business party needs to write code. Therefore, in order to save the resources required for development and maintenance, some business parties only provide data corresponding to one rendering engine. Therefore, it is necessary to determine the rendering engine corresponding to the target recommendation scene for different business parties.
  • the rendering engine is a rendering method preset for the target recommendation scene.
  • the card rendering method may be to use the acquired card interface as the card interface of the recommended card, and to supplement the acquired card data with the logical data part in the recommended card, thereby obtaining a recommended card.
  • the target recommendation scenario is ordering takeout, as shown in FIG4
  • the card data may be the real-time delivery situation of the takeout in FIG4 , and as the delivery situation changes in real time, the card data is also updated accordingly, so that the countdown in FIG4 changes from "4 minutes" to "2 minutes” over time.
  • the card data is updated based on the data obtained by the business party, so if an error occurs in the network connection and the card data is not updated in time, the recommended card will display a prompt message to remind the user that the current network signal is poor, so that the network connection can be restored in time, thereby ensuring Timeliness of card data update.
  • the recommendation card is generated based on the rendering engine, in order to avoid adverse effects on the user's use of the terminal device due to the display of the recommendation card, it is necessary to obtain the use status of the terminal device and determine the display method of the recommendation card based on the use status.
  • the usage state may be the state presented by the terminal device currently executing a function, such as a screen-off display state, a desktop standby state, a full-screen video viewing state, etc.
  • the display mode of the recommendation card is determined based on the usage state of the terminal device, thereby avoiding adverse effects on the user's experience caused by displaying the recommendation card at the appropriate time.
  • a feasible method for determining the display mode of the recommendation card based on the usage status may be to determine the busyness of the terminal device based on the usage status indication. If the terminal device is in a standby state, a more obvious display mode may be used; if the terminal device is in a busy state such as full-screen display, the recommendation card may be displayed in a small card or other display mode without causing any interference to the user as much as possible.
  • the recommendation card may be displayed in the form of a card when the terminal device is in the off-screen display, lock screen standby, desktop standby, or notification center display mode; or the recommendation card may be displayed in the form of a capsule when the terminal device is watching a video or the user is operating the terminal device.
  • the recommended card is displayed in the display mode.
  • Figure 5D shows the card display modes of the five states of "A: lock screen standby state", "B: display notification center state”, “C: screen off display state”, "D: video watching state” and "E: operation state”.
  • Figure 5D shows "Going to the merchant for 4 minutes”, and the display time is 3 seconds. After 3 seconds, the recommended card will be hidden until the card data is modified to "arrived at the merchant” or "delivering", etc., and the recommended card will be displayed again.
  • the specific display mode can be modified by the user according to actual needs, such as the specific style of the card or the application scenario of the capsule mode, etc.
  • Figure 6 is a user setting interface for the card display mode, and the user can set it according to actual needs.
  • the initial state of the terminal device is to turn on the "default setting”. If the user needs to make separate settings for different usage states, the "personalized setting" can be turned on to make separate settings for each usage scenario.
  • card display to display recommended cards
  • voice to display recommended cards
  • the card data corresponding to the recommended card can be obtained through headphones or the speaker of the terminal device.
  • the card data is obtained based on the card data acquisition method, and the card interface stored locally is obtained, and the recommended card is generated based on the rendering engine corresponding to the target recommended scenario.
  • the recommended card is displayed using the display mode, so that the terminal device can determine the target recommendation scenario based on the obtained business scenario information, and then generate the recommended card corresponding to the target recommendation scenario, thereby achieving the effect of adaptively generating recommended cards based on demand, and by determining the permission setting and the display mode, the effect of avoiding interference with user use is achieved; by obtaining the card data acquisition method and the interface data for generating the card interface in advance, the card interface is generated based on the interface data and then stored locally, so that in the process of card generation, based on the card interface pre-stored locally, the generation efficiency of the recommended card can be improved, thereby shortening the generation time of the recommended card and improving the display efficiency of the recommended card.
  • the card display provided in the embodiment of the present application will be described in conjunction with FIG. 10 to FIG. 16 .
  • the card display device in Figures 10 to 16 is used to execute the method of the embodiment shown in Figures 2 to 9 of this application.
  • the part related to the embodiment of this application is shown.
  • Fig. 10 is a schematic diagram of the structure of a card display device according to an embodiment of the present application.
  • the card display device 1 may include: a scene determination unit 11, a data acquisition unit 12 and a card display unit 13.
  • a scenario determination unit 11 is used to obtain current business scenario information and determine a target recommendation scenario based on the business scenario information
  • a data acquisition unit 12 used to acquire card data corresponding to the target recommendation scene and a card interface preloaded locally;
  • the card display unit 13 is used to render a recommended card corresponding to the target recommendation scenario based on the card interface and the card data, and display the recommended card.
  • the card display device 1 further includes:
  • the interface acquisition unit 14 is used to acquire the interface data sent by the business party, and generate a card interface corresponding to the target recommendation scenario based on the interface data;
  • An interface storage unit 15 used to locally store the card interface based on the interface storage method of the business party, and save the storage address of the card interface;
  • the acquisition method determining unit 16 is used to determine the acquisition method of the card data based on the business type of the business party.
  • the interface storage unit 15 includes:
  • the server storage subunit 151 is used to store the card interface in the card management cloud server; or,
  • the directory storage subunit 152 is used to store the card interface in the file directory corresponding to the application of the business party; or,
  • the file storage subunit 153 is used to store the card interface in the card management file of the terminal device.
  • the acquisition mode determination unit 16 includes:
  • the path acquisition subunit 161 is used to send a data acquisition request to the business party if there is an application corresponding to the business party, and obtain the acquisition path of the card data returned by the business party based on the data acquisition request;
  • the code storage subunit 162 is used to generate logic code data corresponding to the card interface if there is no application corresponding to the business party, use the logic code data as a way to obtain the card data, and store the logic code data in the card management cloud server or the card management file of the terminal device.
  • the scene determination unit 11 includes:
  • the information acquisition subunit 111 is used to acquire current business scenario information
  • the scenario determination subunit 112 is configured to obtain a preset recommended scenario corresponding to the trigger rule if the business scenario information satisfies the trigger rule, and determine the preset recommended scenario as a target recommended scenario corresponding to the business scenario information.
  • the card display device 1 further includes:
  • a setting acquisition unit 17 configured to acquire the permission setting corresponding to the target recommendation scenario if the card interface is stored;
  • the data acquisition execution unit 18 is configured to execute acquisition of card data corresponding to the target recommendation scenario and a card interface preloaded locally if the permission setting indicates that generation of a recommendation card corresponding to the target recommendation scenario is allowed.
  • the data acquisition unit 12 includes:
  • the interface acquisition subunit 121 is used to acquire the pre-loaded local card interface corresponding to the target recommendation scene based on the storage address of the card interface;
  • the data acquisition subunit 122 is used to acquire the card data corresponding to the target recommendation scene based on the acquisition method.
  • the data acquisition unit 12 is further used for:
  • the card data corresponding to the target recommendation scenario is obtained based on running the logic code data.
  • the card display unit 13 includes:
  • the card generation subunit 131 is used to obtain a rendering engine corresponding to the target recommendation scene, render the card interface and the card data based on the rendering engine, and obtain a recommendation card corresponding to the target recommendation scene, wherein the rendering engine is a rendering method preset for the target recommendation scene;
  • a display mode determination subunit 132 configured to obtain a usage status of the terminal device and determine a display mode of the recommendation card based on the usage status;
  • the card display subunit 133 is used to display the recommended card in the display mode.
  • the card data is obtained based on the card data acquisition method, and the card interface stored locally is obtained, and the recommended card is generated based on the rendering engine corresponding to the target recommended scenario.
  • the recommended card is displayed using the display mode, so that the terminal device can determine the target recommendation scenario based on the obtained business scenario information, and then generate the recommended card corresponding to the target recommendation scenario, thereby achieving the effect of adaptively generating recommended cards based on demand, and by determining the permission setting and the display mode, the effect of avoiding interference with user use is achieved; by obtaining the card data acquisition method and the interface data for generating the card interface in advance, the card interface is generated based on the interface data and then stored locally, so that in the process of card generation, based on the card interface pre-stored locally, the generation efficiency of the recommended card can be improved, thereby shortening the generation time of the recommended card and improving the display efficiency of the recommended card.
  • An embodiment of the present application also provides a computer storage medium, which can store multiple program instructions, and the program instructions are suitable for being loaded by a processor and executing the method steps of the embodiments shown in Figures 2 to 9 above.
  • the specific execution process can be found in the specific description of the embodiments shown in Figures 2 to 9, and will not be repeated here.
  • the electronic device 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, an input/output interface 1003, a memory 1005, and at least one communication bus 1002.
  • the communication bus 1002 is used to realize the connection and communication between these components.
  • the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory.
  • the memory 1005 may also be at least one storage device located away from the aforementioned processor 1001.
  • the memory 1005 as a computer storage medium may include an operating system, a network communication module, an input/output interface module, and a card display application.
  • the input-output interface 1003 is mainly used to provide an input interface for the user and obtain data input by the user.
  • the processor 1001 may be used to call a card display application stored in the memory 1005, and specifically perform the following operations:
  • a recommended card corresponding to the target recommendation scenario is obtained based on the card interface and the card data rendering, and the recommended card is displayed.
  • the processor 1001 before executing the process of obtaining the card data corresponding to the target recommendation scene and the card interface preloaded locally, the processor 1001 further performs the following operations:
  • the card interface is locally stored and saved The storage address of
  • the method for obtaining the card data is determined based on the business type of the business party.
  • the processor 1001 when executing the interface storage method based on the business party to locally store the card interface, the processor 1001 specifically performs the following operations:
  • the card interface is stored in a card management file of the terminal device.
  • the processor 1001 when determining the method for obtaining card data based on the business type, the processor 1001 specifically performs the following operations:
  • logical code data corresponding to the card interface is generated, and the logical code data is used as a method for obtaining the card data, and the logical code data is stored in the card management cloud server or the card management file of the terminal device.
  • the processor 1001 when the processor 1001 acquires the current business scenario information and determines the target recommendation scenario based on the business scenario information, the processor 1001 specifically performs the following operations:
  • a preset recommended scenario corresponding to the triggering rule is obtained, and the preset recommended scenario is determined as a target recommended scenario corresponding to the business scenario information.
  • the processor 1001 before executing the process of obtaining the card data corresponding to the target recommendation scene and the card interface preloaded locally, the processor 1001 further performs the following operations:
  • the permission setting indicates that generation of a recommendation card corresponding to the target recommendation scenario is allowed, obtaining card data corresponding to the target recommendation scenario and a card interface preloaded locally are executed.
  • the processor 1001 when executing the process of acquiring the card data corresponding to the target recommendation scene and the card interface preloaded locally corresponding to the card data, the processor 1001 specifically performs the following operations:
  • the card data corresponding to the target recommendation scene is acquired based on the acquisition method.
  • the processor 1001 when the processor 1001 acquires the card data corresponding to the target recommendation scene based on the acquisition method, the processor 1001 specifically performs the following operations:
  • the card data corresponding to the target recommendation scenario is obtained based on running the logic code data.
  • the processor 1001 when the processor 1001 obtains the recommended card corresponding to the target recommendation scene based on the card interface and the card data rendering and displays the recommended card, the processor 1001 specifically performs the following operations:
  • the recommended card is displayed in the display mode.
  • the card data is obtained based on the card data acquisition method, and the card interface stored locally is obtained, and the recommended card is generated based on the rendering engine corresponding to the target recommendation scenario.
  • the recommended card is displayed using the display mode, so that the terminal device can determine the target recommendation scenario based on the acquired business scenario information, and then generate the recommended card corresponding to the target recommendation scenario, thereby achieving the effect of adaptively generating the recommended card based on the demand, and by determining the permission setting and the display mode, the effect of avoiding interference with the user's use is achieved; by obtaining the acquisition method of the card data and the interface data for generating the card interface in advance, the card interface is generated based on the interface data and then stored locally, so that in the process of card generation, based on the card interface pre-stored locally, the generation efficiency of the recommended card can be improved, thereby shortening the generation time of the recommended card and improving the display efficiency of the recommended card.
  • the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The present application discloses a widget display method and device, a storage medium and an electronic device. The method comprises: acquiring current service scenario information, and determining a target recommended scenario on the basis of the service scenario information; acquiring widget data corresponding to the target recommended scenario and a locally pre-loaded widget interface; and on the basis of the widget interface and the widget data, performing rendering to obtain a recommended widget corresponding to the target recommended scenario, and displaying the recommended widget. By using the present application, in a widget generation process, the generation efficiency of a recommended widget is improved on the basis of a locally pre-stored widget interface, thereby shortening the generation duration of the recommended widget, and improving the display efficiency of the recommended widget.

Description

一种卡片显示方法、设备、存储介质及电子设备Card display method, device, storage medium and electronic device
本申请要求于2022年12月23日提交中国专利局,申请号为202211671621.3、发明名称为“一种卡片显示方法、设备、存储介质及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the China Patent Office on December 23, 2022, with application number 202211671621.3 and invention name “A card display method, device, storage medium and electronic device”, the entire contents of which are incorporated by reference in this application.
技术领域Technical Field
本申请涉及计算机技术领域,尤其涉及一种卡片显示方法、设备、存储介质及电子设备。The present application relates to the field of computer technology, and in particular to a card display method, device, storage medium and electronic device.
背景技术Background technique
现如今,智能手机等终端设备已经成为日常生活中必不可少的工具,为了能够得到更好的使用体验,工程师们不断地丰富着终端设备的各项服务能力,加上各大应用程序的出现,使得终端设备能够实现的操作越来越多,为了能够便于对关注的信息进行处理,使用卡片对信息进行显示提醒。Nowadays, terminal devices such as smartphones have become indispensable tools in daily life. In order to provide a better user experience, engineers are constantly enriching the service capabilities of terminal devices. With the emergence of major applications, terminal devices can perform more and more operations. In order to facilitate the processing of information of concern, cards are used to display information as reminders.
发明内容Summary of the invention
本申请提供一种卡片显示方法、设备、存储介质及设备,通过在进行卡片生成的过程中,基于预先存储于本地的卡片界面,提高推荐卡片的生成效率,进而缩短推荐卡片的生成时长,提高推荐卡片的显示效率。The present application provides a card display method, device, storage medium and device, which improves the generation efficiency of recommended cards based on a card interface pre-stored locally during the card generation process, thereby shortening the generation time of recommended cards and improving the display efficiency of recommended cards.
第一方面,本申请实施例提供一种卡片显示方法,应用于终端设备,该方法包括:In a first aspect, an embodiment of the present application provides a card display method, applied to a terminal device, the method comprising:
获取当前的业务场景信息,基于所述业务场景信息确定目标推荐场景;Acquire current business scenario information, and determine a target recommendation scenario based on the business scenario information;
获取所述目标推荐场景对应的卡片数据和预加载于本地的卡片界面;Obtain card data corresponding to the target recommendation scenario and a card interface preloaded locally;
基于所述卡片界面和所述卡片数据渲染得到所述目标推荐场景对应的推荐卡片,显示所述推荐卡片。A recommended card corresponding to the target recommendation scenario is obtained based on the card interface and the card data rendering, and the recommended card is displayed.
第二方面,本申请实施例提供一种卡片显示设备,包括:In a second aspect, an embodiment of the present application provides a card display device, including:
场景确定单元,用于获取当前的业务场景信息,基于所述业务场景信息确定目标推荐场景;A scenario determination unit, configured to obtain current business scenario information and determine a target recommendation scenario based on the business scenario information;
数据获取单元,用于获取所述目标推荐场景对应的卡片数据和预加载于本地的卡片界面;A data acquisition unit, used to acquire card data corresponding to the target recommendation scene and a card interface preloaded locally;
卡片显示单元,用于基于所述卡片界面和所述卡片数据渲染得到所述目标推荐场景对应的推荐卡片,显示所述推荐卡片。A card display unit is used to render a recommended card corresponding to the target recommendation scenario based on the card interface and the card data, and display the recommended card.
第三方面,本申请实施例提供一种计算机存储介质,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行上述的方法的步骤。In a third aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the steps of the above-mentioned method.
第四方面,本申请实施例提供一种电子设备,包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行上述的方法的步骤。In a fourth aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the steps of the above method.
在本申请实施例中,通过获取当前的业务场景信息确定目标推荐场景,获取目标推荐场景对应的卡片数据和存储于本地的卡片界面后,基于卡片数据和卡片界面进行渲染得到目标推荐场景对应的推荐卡片,再采用确定的显示方式对推荐卡片进行显示,从而能够在进行卡片生成的过程中,基于预先存储于本地的卡片界面,提高推荐卡片的生成效率,进而缩短推荐卡片的生成时长,提高推荐卡片的显示效率。In an embodiment of the present application, the target recommendation scenario is determined by acquiring the current business scenario information, and after acquiring the card data corresponding to the target recommendation scenario and the card interface stored locally, the recommended card corresponding to the target recommendation scenario is rendered based on the card data and the card interface, and then the recommended card is displayed in a determined display method. In this way, during the card generation process, the generation efficiency of the recommended cards can be improved based on the card interface pre-stored locally, thereby shortening the generation time of the recommended cards and improving the display efficiency of the recommended cards.
附图说明 BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
图1为本申请实施例提供的一种卡片显示方法的系统架构图;FIG1 is a system architecture diagram of a card display method provided in an embodiment of the present application;
图2为本申请实施例提供的一种卡片显示方法的流程示意图;FIG2 is a schematic diagram of a flow chart of a card display method provided in an embodiment of the present application;
图3为本申请实施例提供的一种权限设置界面的举例示意图;FIG3 is a schematic diagram showing an example of a permission setting interface provided in an embodiment of the present application;
图4为本申请实施例提供的一种卡片数据更新的举例示意图;FIG4 is a schematic diagram showing an example of updating card data provided in an embodiment of the present application;
图5为本申请实施例提供的一种卡片显示方式的举例示意图;FIG5 is a schematic diagram showing an example of a card display method provided in an embodiment of the present application;
图6为本申请实施例提供的一种卡片显示方式的设置界面的举例示意图;FIG6 is a schematic diagram of an example of a card display mode setting interface provided in an embodiment of the present application;
图7为本申请实施例提供的一种生成卡片界面的流程示意图;FIG7 is a schematic diagram of a process of generating a card interface provided in an embodiment of the present application;
图8为本申请实施例提供的另一种权限设置界面的举例示意图;FIG8 is a schematic diagram showing another example of a permission setting interface provided in an embodiment of the present application;
图9为本申请实施例提供的另一种有向图显示的举例示意图;FIG9 is a schematic diagram showing another example of a directed graph display provided in an embodiment of the present application;
图10为本申请实施例提供的一种卡片显示设备的结构示意图;FIG10 is a schematic diagram of the structure of a card display device provided in an embodiment of the present application;
图11为本申请实施例提供的一种卡片显示设备的结构示意图;FIG11 is a schematic diagram of the structure of a card display device provided in an embodiment of the present application;
图12为本申请实施例提供的一种界面存储单元的结构示意图;FIG12 is a schematic diagram of the structure of an interface storage unit provided in an embodiment of the present application;
图13为本申请实施例提供的一种获取方式确定单元的结构示意图;FIG13 is a schematic diagram of the structure of an acquisition mode determination unit provided in an embodiment of the present application;
图14为本申请实施例提供的一种场景确定单元的结构示意图;FIG14 is a schematic diagram of the structure of a scene determination unit provided in an embodiment of the present application;
图15为本申请实施例提供的一种数据获取单元的结构示意图;FIG15 is a schematic diagram of the structure of a data acquisition unit provided in an embodiment of the present application;
图16为本申请实施例提供的一种卡片显示单元的结构示意图;FIG16 is a schematic diagram of the structure of a card display unit provided in an embodiment of the present application;
图17为本申请实施例提供的一种电子设备的结构示意图。FIG. 17 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
具体实施方式Detailed ways
为使得本申请的特征和优点能够更加的明显和易懂,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而非全部实施例。基于本申请中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the features and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
现有技术中,为了采用卡片的形式提供信息,需要针对信息生成对应的卡片,在生成卡片的过程中,需要获取卡片对应的卡片界面数据以及卡片逻辑数据,存在卡片生成效率低下的情况,影响卡片的显示速度,导致卡片的实用性降低。In the prior art, in order to provide information in the form of cards, it is necessary to generate corresponding cards for the information. In the process of generating the cards, it is necessary to obtain the card interface data and card logic data corresponding to the cards. The card generation efficiency is low, which affects the display speed of the cards and reduces the practicality of the cards.
基于此,本申请实施例提供了一种卡片显示方法,通过获取当前的业务场景信息确定目标推荐场景,获取目标推荐场景对应的卡片数据和存储于本地的卡片界面后,基于卡片数据和卡片界面进行渲染得到目标推荐场景对应的推荐卡片,再采用确定的显示方式对推荐卡片进行显示,从而能够在进行卡片生成的过程中,基于预先存储于本地的卡片界面,提高推荐卡片的生成效率,进而缩短推荐卡片的生成时长,提高推荐卡片的显示效率。Based on this, an embodiment of the present application provides a card display method, which determines the target recommendation scenario by acquiring the current business scenario information, and after acquiring the card data corresponding to the target recommendation scenario and the card interface stored locally, renders based on the card data and the card interface to obtain the recommended card corresponding to the target recommendation scenario, and then displays the recommended card in a determined display manner. In this way, during the card generation process, the generation efficiency of the recommended cards can be improved based on the card interface pre-stored locally, thereby shortening the generation time of the recommended cards and improving the display efficiency of the recommended cards.
请参见图1,为本申请实施例提供了一种卡片显示的系统结构图。如图1所示,本申请实施例提供的卡片显示方法可以应用于终端设备10,以实现终端设备显示推荐卡片的过程,本申请实施例提供的系统结构主要包括终端设备10以及业务方服务器20。其中,终端设备10可以包括但不限于手机、个人电脑、笔记本电脑、智能家具、车载设备、可穿戴设备等具备终端应用安装、运行等功能在内的终端设备,业务方服务器20可以为业务方的服务器,存储有业务方提供各项服务相关的数据。Please refer to Figure 1, which is a system structure diagram of a card display provided in an embodiment of the present application. As shown in Figure 1, the card display method provided in the embodiment of the present application can be applied to a terminal device 10 to implement the process of displaying a recommended card on the terminal device. The system structure provided in the embodiment of the present application mainly includes a terminal device 10 and a business party server 20. Among them, the terminal device 10 may include but is not limited to a mobile phone, a personal computer, a laptop computer, smart furniture, a vehicle-mounted device, a wearable device, and other terminal devices with terminal application installation, operation, and other functions. The business party server 20 may be a server of the business party, storing data related to various services provided by the business party.
在本申请实施例中,终端设备10获取当前的业务场景信息,基于业务场景信息确定目标推荐场景,向业务方服务器20获取目标推荐场景对应的卡片数据,再基于预加载于 终端设备10本地的键盘界面生成目标推荐场景对应的推荐卡片,显示推荐卡片,以便于提高推荐卡片的生成效率,进而提高推荐卡片的显示效率。In the embodiment of the present application, the terminal device 10 obtains the current business scenario information, determines the target recommendation scenario based on the business scenario information, obtains the card data corresponding to the target recommendation scenario from the business party server 20, and then determines the target recommendation scenario based on the business scenario information preloaded in the terminal device 10. The local keyboard interface of the terminal device 10 generates a recommendation card corresponding to the target recommendation scenario and displays the recommendation card, so as to improve the generation efficiency of the recommendation card and further improve the display efficiency of the recommendation card.
在本申请实施例中,通过获取当前的业务场景信息确定目标推荐场景,获取目标推荐场景对应的卡片数据和存储于本地的卡片界面后,基于卡片数据和卡片界面进行渲染得到目标推荐场景对应的推荐卡片,再采用确定的显示方式对推荐卡片进行显示,从而能够在进行卡片生成的过程中,基于预先存储于本地的卡片界面,提高推荐卡片的生成效率,进而缩短推荐卡片的生成时长,提高推荐卡片的显示效率。In an embodiment of the present application, the target recommendation scenario is determined by acquiring the current business scenario information, and after acquiring the card data corresponding to the target recommendation scenario and the card interface stored locally, the recommended card corresponding to the target recommendation scenario is rendered based on the card data and the card interface, and then the recommended card is displayed in a determined display method. In this way, during the card generation process, the generation efficiency of the recommended cards can be improved based on the card interface pre-stored locally, thereby shortening the generation time of the recommended cards and improving the display efficiency of the recommended cards.
基于图1所示的系统架构,下面将结合图2-图6,对本申请实施例提供的卡片显示方法进行详细介绍。Based on the system architecture shown in FIG1 , the card display method provided in the embodiment of the present application will be described in detail below in combination with FIGS. 2 to 6 .
请参见图2,为本申请实施例提供了一种卡片显示方法的流程示意图。如图2所示,所述方法可以包括以下步骤S101-步骤S103。Please refer to Figure 2, which is a flowchart of a card display method provided in an embodiment of the present application. As shown in Figure 2, the method may include the following steps S101-S103.
S101,获取当前的业务场景信息,基于所述业务场景信息确定目标推荐场景;S101, obtaining current business scenario information, and determining a target recommendation scenario based on the business scenario information;
在一个实施例中,在获取用户授权的情况下,终端设备获取当前的业务场景信息,对业务场景信息进行分析,若业务场景信息满足预先设置的触发规则,则获取触发规则对应的预设推荐场景,将预设推荐场景确定为业务场景信息对应的目标推荐场景。In one embodiment, after obtaining user authorization, the terminal device obtains current business scenario information and analyzes the business scenario information. If the business scenario information meets the pre-set trigger rules, the preset recommended scenario corresponding to the trigger rules is obtained, and the preset recommended scenario is determined as the target recommended scenario corresponding to the business scenario information.
进一步的,业务场景信息可以为终端设备当前所处的地理位置,也可以为当前时间等,根据业务场景信息满足触发规则的情况,确定业务场景对应的目标推荐场景。例如,终端设备获取到当前所处的地理位置为购买的机票中的目的地机场,当前时间为购买的机票中的到达时间,根据当前地理位置和当前时间,可以认为持有该终端设备的用户为乘坐飞机到达了某地,因此可能需要搭车离开机场,则对应的目标推荐场景为需要进行搭车,进而选择能够支持搭车的业务方以得到搭车服务。Furthermore, the business scenario information may be the current geographical location of the terminal device, or the current time, etc., and the target recommendation scenario corresponding to the business scenario is determined according to the situation in which the business scenario information satisfies the triggering rules. For example, the terminal device obtains that the current geographical location is the destination airport in the purchased ticket, and the current time is the arrival time in the purchased ticket. According to the current geographical location and the current time, it can be considered that the user holding the terminal device has arrived at a certain place by plane, and therefore may need to take a ride to leave the airport. The corresponding target recommendation scenario is the need to take a ride, and then a business party that can support rides is selected to obtain ride services.
进一步的,触发规则可以为事先从业务方获取的规则,也可以为根据终端设备的日常使用习惯生成的规则等。例如,业务方事先跟终端设备确定好的预设推荐场景,或者基于用户的上下班时间和上班方式,预估用户上班时间和所采用的方式,预估的上班时间和方式即为对应的触发规则。Furthermore, the triggering rules may be rules obtained in advance from the business side, or rules generated based on the daily usage habits of the terminal device, etc. For example, the business side may determine a preset recommendation scenario with the terminal device in advance, or estimate the user's commuting time and commuting method based on the user's commuting time and commuting method, and the estimated commuting time and method is the corresponding triggering rule.
进一步的,预设推荐场景可以为预先设置的推荐应用场景,例如基于预估的上班时间和上班方式,确定预设推荐场景为于周一至周五的早上8:00搭乘公交车。Furthermore, the preset recommendation scenario may be a preset recommended application scenario. For example, based on the estimated commuting time and commuting method, the preset recommendation scenario may be determined to be taking the bus at 8:00 am from Monday to Friday.
进一步的,目标推荐场景可以为根据获取的业务场景信息确定的推荐场景,例如当前时间为周一早上8:00,当前所处地理位置为用户的家中,则根据业务场景信息和预设推荐场景,确定目标推荐场景为要搭乘公交车前往公司,进而推荐用户的家附近能够前往公司的公交车站。Furthermore, the target recommendation scenario can be a recommendation scenario determined based on the acquired business scenario information. For example, if the current time is 8:00 a.m. on Monday and the current geographical location is the user's home, then based on the business scenario information and the preset recommendation scenario, the target recommendation scenario is determined to be taking the bus to the company, and then a bus stop near the user's home that can take them to the company is recommended.
进一步的,在获取终端设备当前的业务场景信息之前,还执行获取业务方发送的界面数据和卡片数据的获取方式,以便于根据界面数据生成目标推荐场景对应的卡片界面,以及在生成卡片时基于卡片数据的获取方式获取所需的卡片数据。在获取到界面数据和卡片数据的获取方式后,将界面数据和卡片数据的获取方式存储在本地中,从而使得在生成目标推荐场景对应的推荐卡片时,能够直接调用本地的数据。Furthermore, before obtaining the current business scenario information of the terminal device, the interface data and the card data acquisition method sent by the business party are also executed, so as to generate a card interface corresponding to the target recommendation scenario according to the interface data, and to obtain the required card data based on the card data acquisition method when generating the card. After obtaining the interface data and the card data acquisition method, the interface data and the card data acquisition method are stored locally, so that when generating the recommended card corresponding to the target recommendation scenario, the local data can be directly called.
进一步的,界面数据可以为生成推荐卡片的界面所需要的数据,可以为包括背景图片、按键选项、界面内容分布方式等。根据界面数据生成目标推荐场景对应的卡片界面,并将卡片界面进行本地管理。需要说明的是,将卡片界面进行本地管理的方法可以为:将存储于卡片管理云端服务器中,或存储于业务方的应用程序对应的文件目录中以及可以存储于终端设备的卡片管理文件中,可根据实际情况进行设置。其中,卡片管理云端服务器可以为终端设备的系统服务器,卡片管理文件可以为终端设备中用于管理卡片数据的文件。Furthermore, the interface data may be data required to generate an interface for a recommendation card, and may include background images, button options, interface content distribution methods, etc. A card interface corresponding to the target recommendation scenario is generated based on the interface data, and the card interface is managed locally. It should be noted that the method for locally managing the card interface may be: storing it in a card management cloud server, or in a file directory corresponding to the business party's application, and in a card management file of a terminal device, which may be set according to actual conditions. Among them, the card management cloud server may be a system server of a terminal device, and the card management file may be a file in a terminal device for managing card data.
进一步的,卡片数据的获取方式可以为根据终端设备中是否存在业务方的应用程序来确定,若终端设备中存在业务方对应的应用程序,则向业务方获取数据获取请求,获取业 务方基于数据获取请求返回的卡片数据的获取路径;若终端设备中不存在业务方对应的应用程序,则生成卡片界面对应的逻辑代码数据,将该逻辑代码数据作为卡片数据的获取方式,将逻辑代码数据存储于卡片管理服务器中或者终端设备的卡片管理文件中。Furthermore, the card data acquisition method can be determined according to whether there is an application of the business party in the terminal device. If there is an application corresponding to the business party in the terminal device, a data acquisition request is obtained from the business party to obtain the business party's application. The service party obtains the path of the card data based on the data acquisition request returned; if the application corresponding to the service party does not exist in the terminal device, the logic code data corresponding to the card interface is generated, and the logic code data is used as the method for obtaining the card data, and the logic code data is stored in the card management server or the card management file of the terminal device.
进一步的,推荐卡片可以为针对目标推荐场景生成的卡片,通过推荐卡片显示目标推荐场景对应的业务,以供用户进行选择或信息获取。需要说明的是,一个目标推荐场景对应的推荐卡片可以为一种或多种推荐卡片,推荐卡片的具体数据与终端设备能提供的业务相关联。Furthermore, the recommendation card can be a card generated for the target recommendation scenario, and the services corresponding to the target recommendation scenario are displayed through the recommendation card for the user to select or obtain information. It should be noted that the recommendation card corresponding to a target recommendation scenario can be one or more recommendation cards, and the specific data of the recommendation card is associated with the services that the terminal device can provide.
S102,获取所述目标推荐场景对应的卡片数据和预加载于本地的卡片界面;S102, obtaining card data corresponding to the target recommendation scene and a card interface preloaded locally;
在一个实施例中,在基于业务场景信息确定目标推荐场景后,若终端设备中存储有推荐卡片对应的卡片界面,则获取目标推荐场景对应的权限设置,若权限设置指示允许生成目标推荐场景对应的推荐卡片,则获取目标推荐场景对应的卡片数据和预加载于本地的卡片界面。In one embodiment, after determining the target recommendation scenario based on the business scenario information, if a card interface corresponding to the recommended card is stored in the terminal device, the permission setting corresponding to the target recommendation scenario is obtained; if the permission setting indicates that generation of a recommended card corresponding to the target recommendation scenario is allowed, the card data corresponding to the target recommendation scenario and the card interface preloaded locally are obtained.
进一步的,目标推荐场景对应的权限设置可以为用户根据自身使用习惯设置的权限管理,也可以为业务方要求所导致的权限控制。例如,如图3所示,基于业务场景信息确定目标推荐场景为需要呼叫私家车搭乘,但由于用户事先进行了如图3中关于呼叫私家车服务的权限设置,该权限设置指示不允许生成目标推荐场景对应的推荐卡片,因此不执行后续获取目标推荐场景对应的卡片数据和卡片界面的步骤。Furthermore, the permission setting corresponding to the target recommendation scenario can be the permission management set by the user according to his/her own usage habits, or can be the permission control caused by the business party's requirements. For example, as shown in FIG3 , based on the business scenario information, the target recommendation scenario is determined to be the need to call a private car, but because the user has previously set the permission for calling a private car service as shown in FIG3 , the permission setting indicates that the generation of the recommendation card corresponding to the target recommendation scenario is not allowed, and therefore the subsequent steps of obtaining the card data and card interface corresponding to the target recommendation scenario are not performed.
进一步的,获取目标推荐场景对应的卡片数据的方法可以为,基于预先获取的卡片数据获取方式获取该卡片数据,若终端设备中存在业务方对应的应用程序,则基于实现获取的获取路径向业务方发送卡片数据获取请求,并获取业务方基于获取请求返回的卡片数据;若终端设备中不存在应用程序,则基于运行逻辑代码数据获取目标推荐出现对应的卡片数据。其中,逻辑代码数据为事先生成并保存在本地的数据,终端设备直接调用即可向业务方获取对应的卡片数据。Furthermore, the method for obtaining the card data corresponding to the target recommendation scenario can be to obtain the card data based on the pre-acquired card data acquisition method, and if the terminal device has the corresponding application of the business party, send a card data acquisition request to the business party based on the acquisition path for implementing the acquisition, and obtain the card data returned by the business party based on the acquisition request; if the terminal device does not have the application, obtain the card data corresponding to the target recommendation based on the running logic code data. The logic code data is data generated in advance and saved locally, and the terminal device can directly call it to obtain the corresponding card data from the business party.
S103,基于所述卡片界面和所述卡片数据渲染得到所述目标推荐场景对应的推荐卡片,显示所述推荐卡片;S103, obtaining a recommendation card corresponding to the target recommendation scenario based on the card interface and the card data rendering, and displaying the recommendation card;
在一个实施例中,在获取到目标推荐场景对应的卡片界面和卡片数据后,确定目标推荐场景对应的渲染引擎,基于渲染引擎对卡片界面和卡片数据进行渲染,得到目标推荐场景对应的推荐卡片,获取终端设备当前的使用状态,基于使用状态确定推荐卡片的显示方式,采用该显示方式显示推荐卡片。In one embodiment, after obtaining the card interface and card data corresponding to the target recommendation scene, the rendering engine corresponding to the target recommendation scene is determined, the card interface and card data are rendered based on the rendering engine to obtain the recommended card corresponding to the target recommendation scene, the current usage status of the terminal device is obtained, the display mode of the recommended card is determined based on the usage status, and the recommended card is displayed using this display mode.
进一步的,目标推荐场景对应的渲染引擎的确定方法可以为,根据业务方的要求进行确定。需要说明的是,针对每一种渲染方式对应的渲染引擎,业务方都需要进行代码的编写,因此为了节省开发和维护所需要的资源,部分业务方仅提供一种渲染引擎对应的数据,因此需要针对不同的业务方确定目标推荐场景对应的渲染引擎。Furthermore, the method for determining the rendering engine corresponding to the target recommendation scenario can be determined according to the requirements of the business party. It should be noted that for the rendering engine corresponding to each rendering method, the business party needs to write code. Therefore, in order to save the resources required for development and maintenance, some business parties only provide data corresponding to one rendering engine. Therefore, it is necessary to determine the rendering engine corresponding to the target recommendation scenario for different business parties.
进一步的,卡片的渲染方法可以为,基于获取到的卡片界面作为推荐卡片的卡片界面,将获取到的卡片数据对应推荐卡片中的逻辑数据部分进行补充,从而得到推荐卡片。例如,目标推荐场景为点外卖,如图4所示,卡片数据可以为图4中的外卖的实时配送情况,且随着配送情况的实时变化,卡片数据也相应地进行更新,得到图4中的倒计时随着时间的推移,由“4分钟”变为“2分钟”的效果。需要说明的是,卡片数据为基于由业务方获取到的数据进行更新的,因此若网络连接出现错误导致卡片数据更新不及时,推荐卡片会显示提示信息用于提示用户当前网络信号不佳,以便于能够及时恢复网络连接,进而保证卡片数据更新的及时性。Furthermore, the card rendering method may be, based on the acquired card interface as the card interface of the recommended card, supplementing the acquired card data with the logical data part in the corresponding recommended card, thereby obtaining the recommended card. For example, the target recommendation scenario is ordering takeout, as shown in FIG4 , the card data may be the real-time delivery situation of the takeout in FIG4 , and as the delivery situation changes in real time, the card data is also updated accordingly, so that the countdown in FIG4 changes from "4 minutes" to "2 minutes" over time. It should be noted that the card data is updated based on the data obtained by the business party, so if there is an error in the network connection that causes the card data to be updated untimely, the recommended card will display a prompt message to remind the user that the current network signal is poor, so that the network connection can be restored in time, thereby ensuring the timeliness of the card data update.
进一步的,使用状态可以为终端设备当前执行功能所呈现的状态,例如可以为熄屏显示状态,桌面待机状态、全屏观看视频状态等。基于终端设备的使用状态确定推荐卡片的显示方式,从而避免由于在恰当的时间显示推荐卡片对用户的使用体验造成不良影响。Furthermore, the usage state may be the state presented by the terminal device currently executing a function, such as a screen-off display state, a desktop standby state, a full-screen video viewing state, etc. The display mode of the recommendation card is determined based on the usage state of the terminal device, thereby avoiding adverse effects on the user's experience caused by displaying the recommendation card at the appropriate time.
进一步的,显示方式可以为包括在终端设备处于熄屏显示、锁屏待机、桌面待机或显 示通知中心的情况下以卡片形式显示推荐推荐卡片,也可以为在终端设备处于观看视频或用户对终端设备进行操作的情况下以胶囊的形式显示推荐卡片。例如,如图5所示,图5中分别显示了“A:锁屏待机状态”、“B:显示通知中心状态”、“C:熄屏显示状态”、“D:观看视频状态”以及“E:操作状态”这五个状态的卡片显示方式。需要说明的是,图5D由于是处于观看视频状态,为了避免影响用户观看视频的体验,只有在卡片数据的内容发生较为重要的变化时才进行显示,例如图5D中为“正在前往商家4分钟”,显示时间为3秒,3秒后推荐卡片会隐藏,直至卡片数据修改为“抵达商家”或者“正在配送”等,才再次显示推荐卡片。Furthermore, the display mode may include when the terminal device is in the state of off-screen display, lock screen standby, desktop standby or display The recommended card can be displayed in the form of a card when the notification center is displayed, or it can be displayed in the form of a capsule when the terminal device is watching a video or the user is operating the terminal device. For example, as shown in Figure 5, Figure 5 shows the card display methods of the five states of "A: lock screen standby state", "B: display notification center state", "C: off screen display state", "D: watch video state" and "E: operation state". It should be noted that since Figure 5D is in the state of watching a video, in order to avoid affecting the user's experience of watching the video, it is only displayed when the content of the card data changes significantly. For example, Figure 5D shows "Going to the merchant for 4 minutes" and the display time is 3 seconds. After 3 seconds, the recommended card will be hidden until the card data is modified to "arrived at the merchant" or "delivering", etc., and the recommended card will be displayed again.
需要说明的是,显示方式的具体显示用户可以根据的实际需要进行修改,例如卡片的具体样式或者胶囊方式的应用场景等。如图6所示,图6为用户对卡片显示方式的设置界面,用户可根据实际需求进行设置,终端设备的初始状态为开启“默认设置”,若用户需要针对不同的使用状态进行单独的设置,则可以开启“个性化设置”以针对各个使用场景单独进行设置。It should be noted that the specific display mode can be modified by the user according to actual needs, such as the specific style of the card or the application scenario of the capsule mode, etc. As shown in Figure 6, Figure 6 is a user setting interface for the card display mode, and the user can set it according to actual needs. The initial state of the terminal device is to turn on the "default setting". If the user needs to make separate settings for different usage states, the "personalized setting" can be turned on to make separate settings for each usage scenario.
在本申请实施例中,通过获取当前的业务场景信息确定目标推荐场景,获取目标推荐场景对应的卡片数据和存储于本地的卡片界面后,基于卡片数据和卡片界面进行渲染得到目标推荐场景对应的推荐卡片,再采用确定的显示方式对推荐卡片进行显示,从而能够在进行卡片生成的过程中,基于预先存储于本地的卡片界面,提高推荐卡片的生成效率,进而缩短推荐卡片的生成时长,提高推荐卡片的显示效率。In an embodiment of the present application, the target recommendation scenario is determined by acquiring the current business scenario information, and after acquiring the card data corresponding to the target recommendation scenario and the card interface stored locally, the recommended card corresponding to the target recommendation scenario is rendered based on the card data and the card interface, and then the recommended card is displayed in a determined display method. In this way, during the card generation process, the generation efficiency of the recommended cards can be improved based on the card interface pre-stored locally, thereby shortening the generation time of the recommended cards and improving the display efficiency of the recommended cards.
请参见图7,为本申请实施例提供了一种卡片显示方法的流程示意图。如图7所示,所述方法可以包括以下步骤S201-步骤S212。Please refer to Figure 7, which is a flowchart of a card display method provided in an embodiment of the present application. As shown in Figure 7, the method may include the following steps S201-S212.
S201,获取业务方发送的界面数据,基于所述界面数据生成目标推荐场景对应的卡片界面;S201, acquiring interface data sent by the business party, and generating a card interface corresponding to the target recommendation scenario based on the interface data;
在一个实施例中,在获取用户授权的情况下,终端设备预先获取业务方发送的界面数据,基于界面数据生成目标推荐场景对应的卡片界面,以便于后续需要进行推荐卡片渲染时能够直接进行调用,从而缩短推荐卡片的渲染时间。In one embodiment, with user authorization, the terminal device pre-acquires interface data sent by the business party, and generates a card interface corresponding to the target recommendation scenario based on the interface data, so that it can be directly called when the recommendation card rendering is needed later, thereby shortening the rendering time of the recommendation card.
进一步的,业务方可以为与终端设备事先建立业务往来约定的提供者,例如终端设备下载了业务方的应用程序,并在启动应用程序后同意业务方的协议后,则可以认为双方建立了业务往来约定。Furthermore, the business party may be a provider that has established a business transaction agreement with the terminal device in advance. For example, if the terminal device downloads the business party's application and agrees to the business party's agreement after launching the application, it can be considered that the two parties have established a business transaction agreement.
进一步的,界面数据可以为生成推荐卡片的界面所需要的数据,可以为包括背景图片、按键选项、界面内容分布方式等,基于界面数据能够生成对应的键盘界面。例如,如图8所示,图8中为基于界面数据生成的一种卡片界面,由于仅基于界面数据生成卡片界面,因此具体的卡片数据内容部分处于缺失状态,缺失的卡片数据在图8中以方块等形式展现,也可根据实际情况对缺失的卡片数据形式进行设置。Furthermore, the interface data may be data required for generating an interface for a recommendation card, and may include background images, button options, interface content distribution methods, etc. A corresponding keyboard interface can be generated based on the interface data. For example, as shown in FIG8 , FIG8 is a card interface generated based on interface data. Since the card interface is generated based only on interface data, the specific card data content is partially missing. The missing card data is displayed in the form of blocks in FIG8 , and the form of the missing card data may also be set according to actual conditions.
进一步的,目标推荐场景可以为预先设置的推荐场景中其中一种场景,例如当前时间为周一早上8:00,当前所处地理位置为用户的家中,则可以确定目标推荐场景为要搭乘公交车前往公司,进而推荐用户的家附近能够前往公司的公交车站。Furthermore, the target recommendation scenario can be one of the pre-set recommendation scenarios. For example, if the current time is 8:00 am on Monday and the current geographical location is the user's home, the target recommendation scenario can be determined as taking the bus to the company, and then a bus stop near the user's home that can take people to the company is recommended.
需要说明的是,针对同一目标推荐场景,存在多个不同的业务方能够提供目标推荐场景对应的业务,则每一个业务方的界面数据均执行获取操作,并基于界面数据生成对应的卡片界面。It should be noted that for the same target recommendation scenario, there are multiple different business parties that can provide services corresponding to the target recommendation scenario. In this case, the interface data of each business party is obtained and a corresponding card interface is generated based on the interface data.
进一步的,推荐卡片可以为针对目标推荐场景生成的卡片,通过推荐卡片显示目标推荐场景对应的业务,以供用户进行选择或信息获取。需要说明的是,一个目标推荐场景对应的推荐卡片可以为一种或多种推荐卡片,推荐卡片的具体数据与终端设备能提供的业务相关联。Furthermore, the recommendation card can be a card generated for the target recommendation scenario, and the services corresponding to the target recommendation scenario are displayed through the recommendation card for the user to select or obtain information. It should be noted that the recommendation card corresponding to a target recommendation scenario can be one or more recommendation cards, and the specific data of the recommendation card is associated with the services that the terminal device can provide.
S202,基于所述业务方的界面存储方式将所述卡片界面进行本地存储,并保存所述卡 片界面的存储地址;S202: Locally store the card interface based on the interface storage method of the business party, and save the card interface. The storage address of the chip interface;
在一个实施例中,在基于界面数据生成卡片界面后,确定业务方的界面存储方式相关的要求或者信息,基于业务方的界面存储方式将卡片界面进行本地存储,并保存卡片界面的存储地址。In one embodiment, after the card interface is generated based on the interface data, the requirements or information related to the interface storage method of the business party are determined, the card interface is locally stored based on the interface storage method of the business party, and the storage address of the card interface is saved.
进一步的,界面存储方式可以为包括有将存储于卡片管理云端服务器中,或存储于业务方的应用程序对应的文件目录中以及可以存储于终端设备的卡片管理文件中,可根据实际情况进行设置。其中,卡片管理云端服务器可以为终端设备的系统服务器,卡片管理文件可以为终端设备中用于管理卡片数据的文件,应用程序对应的文件目录可以为常见的APP文件中的Assets目录等,具体可根据实际情况进行设置。Furthermore, the interface storage method may include storing it in a card management cloud server, or storing it in a file directory corresponding to the business party's application, or storing it in a card management file of a terminal device, which may be set according to actual conditions. Among them, the card management cloud server may be a system server of the terminal device, the card management file may be a file used to manage card data in the terminal device, and the file directory corresponding to the application may be an Assets directory in a common APP file, etc., which may be set according to actual conditions.
S203,基于所述业务方的业务类型确定卡片数据的获取方式;S203, determining a method for acquiring card data based on the business type of the business party;
在一个实施例中,为了能够在生成推荐卡片时不仅在卡片界面方面提高效率,还在卡片数据的获取方面提高速度,可以基于业务方的业务类型确定卡片数据的获取方式,以便于后续能够快速获取卡片数据。In one embodiment, in order to improve not only the efficiency of the card interface but also the speed of obtaining card data when generating recommended cards, the method of obtaining card data can be determined based on the business type of the business party so that the card data can be quickly obtained later.
进一步的,业务类型可以为根据终端设备中是否存在业务方的应用程序来确定,若终端设备中存在业务方对应的应用程序,则向业务方获取数据获取请求,获取业务方基于数据获取请求返回的卡片数据的获取路径;若终端设备中不存在业务方对应的应用程序,则生成卡片界面对应的逻辑代码数据,将该逻辑代码数据作为卡片数据的获取方式,将逻辑代码数据存储于卡片管理服务器中或者终端设备的卡片管理文件中。Furthermore, the business type can be determined based on whether there is an application of the business party in the terminal device. If there is an application corresponding to the business party in the terminal device, a data acquisition request is obtained from the business party to obtain the acquisition path of the card data returned by the business party based on the data acquisition request; if there is no application corresponding to the business party in the terminal device, logical code data corresponding to the card interface is generated, and the logical code data is used as a method for obtaining card data, and the logical code data is stored in the card management server or the card management file of the terminal device.
进一步的,逻辑代码数据的生成方法可以为,终端设备中的卡片管理系统基于卡片界面计算所需要的执行的步骤,基于该步骤编写对应的逻辑代码数据,得到逻辑代码数据后,将该逻辑代码数据存储于卡片管理服务器中或终端设备的卡片管理文件中,即将该逻辑代码数据和卡片界面存储于同一文件中,以便于后续生成推荐卡片时能够直接调用,缩短生成推荐卡片的所需时间。Furthermore, the method for generating logic code data can be that the card management system in the terminal device calculates the steps required for execution based on the card interface, writes corresponding logic code data based on the steps, and after obtaining the logic code data, stores the logic code data in the card management server or the card management file of the terminal device, that is, the logic code data and the card interface are stored in the same file, so that they can be directly called when generating recommended cards later, thereby shortening the time required to generate recommended cards.
S204,获取当前的业务场景信息;S204, obtaining current business scenario information;
在一个实施例中,业务场景信息可以为终端设备当前所处的地理位置,也可以为当前时间等,根据业务场景信息满足触发规则的情况,确定业务场景对应的目标推荐场景。例如,终端设备获取到当前所处的地理位置为购买的机票中的目的地机场,当前时间为购买的机票中的到达时间,根据当前地理位置和当前时间,可以认为持有该终端设备的用户为乘坐飞机到达了某地,因此可能需要搭车离开机场,则对应的目标推荐场景为需要进行搭车,进而选择能够支持搭车的业务方以得到搭车服务。In one embodiment, the business scenario information may be the current geographical location of the terminal device, or the current time, etc. The target recommendation scenario corresponding to the business scenario is determined according to the situation in which the business scenario information satisfies the triggering rules. For example, the terminal device obtains that the current geographical location is the destination airport in the purchased ticket, and the current time is the arrival time in the purchased ticket. According to the current geographical location and the current time, it can be considered that the user holding the terminal device has arrived at a certain place by plane, and therefore may need to take a ride to leave the airport. The corresponding target recommendation scenario is the need to take a ride, and then a business party that can support rides is selected to obtain ride services.
S205,若所述业务场景信息满足触发规则,则获取所述触发规则对应的预设推荐场景,将所述预设推荐场景确定为所述业务场景信息对应的目标推荐场景;S205, if the business scenario information satisfies the triggering rule, obtaining a preset recommended scenario corresponding to the triggering rule, and determining the preset recommended scenario as a target recommended scenario corresponding to the business scenario information;
在一个实施例中,对获取到的业务场景信息进行分析,若业务场景信息满足预先设置的触发规则,则获取触发规则对应的预设推荐场景,将预设推荐场景确定为业务场景信息对应的目标推荐场景。In one embodiment, the acquired business scenario information is analyzed, and if the business scenario information satisfies a preset trigger rule, a preset recommended scenario corresponding to the trigger rule is acquired, and the preset recommended scenario is determined as a target recommended scenario corresponding to the business scenario information.
进一步的,触发规则可以为事先从业务方获取的规则,也可以为根据终端设备的日常使用习惯生成的规则等。例如,业务方事先跟终端设备确定好的预设推荐场景,或者基于用户的上下班时间和上班方式,预估用户上班时间和所采用的方式,预估的上班时间和方式即为对应的触发规则。Furthermore, the triggering rules may be rules obtained in advance from the business side, or rules generated based on the daily usage habits of the terminal device, etc. For example, the business side may determine a preset recommendation scenario with the terminal device in advance, or estimate the user's commuting time and commuting method based on the user's commuting time and commuting method, and the estimated commuting time and method is the corresponding triggering rule.
进一步的,预设推荐场景可以为预先设置的推荐应用场景,例如基于预估的上班时间和上班方式,确定预设推荐场景为于周一至周五的早上8:00搭乘公交车等。Furthermore, the preset recommendation scenario may be a preset recommended application scenario, for example, based on the estimated commuting time and commuting method, the preset recommendation scenario may be determined to be taking the bus at 8:00 am from Monday to Friday.
进一步的,目标推荐场景可以为根据获取的业务场景信息确定的推荐场景,例如当前时间为周一早上8:00,当前所处地理位置为用户的家中,则根据业务场景信息和预设推荐场景,确定目标推荐场景为要搭乘公交车前往公司,进而推荐用户的家附近能够前往公司的公交车站。 Furthermore, the target recommendation scenario can be a recommendation scenario determined based on the acquired business scenario information. For example, if the current time is 8:00 a.m. on Monday and the current geographical location is the user's home, then based on the business scenario information and the preset recommendation scenario, the target recommendation scenario is determined to be taking the bus to the company, and then a bus stop near the user's home that can take them to the company is recommended.
S206,若存储有所述卡片界面,则获取所述目标推荐场景对应的权限设置;S206, if the card interface is stored, obtaining the permission setting corresponding to the target recommendation scene;
在一个实施例中,在确定目标推荐场景后,根据确定是否存储有目标推荐场景对应的卡片界面的存储地址,若存储有卡片界面的存储地址,则确定存储有卡片界面,再进一步地获取目标推荐场景对应的权限设置。In one embodiment, after determining the target recommendation scene, it is determined whether the storage address of the card interface corresponding to the target recommendation scene is stored. If the storage address of the card interface is stored, it is determined that the card interface is stored, and then the permission setting corresponding to the target recommendation scene is further obtained.
进一步的,权限设置可以为用户根据自身使用习惯设置的权限管理,也可以为业务方要求所导致的权限控制。如图3所示,图3中所显示的界面为对权限进行设置的界面,用户能够通过开关的选择来决定是否允许生成目标推荐场景对应的推荐卡片,若用户选择开启“运行推荐”,则默认允许所有应用执行推荐功能,用户可以如图9所示,在图9中展示的显示界面上进一步针对各个应用分别进行设置。与之对应的,也能够分别对业务场景的推荐权限分别进行设置,设置方式与针对应用的设置相似,针对业务场景的设置方式可参考针对应用的设置方式,此处不进行赘述。Furthermore, the permission setting can be permission management set by the user according to his own usage habits, or it can be permission control caused by the requirements of the business party. As shown in Figure 3, the interface shown in Figure 3 is an interface for setting permissions. The user can decide whether to allow the generation of recommendation cards corresponding to the target recommendation scenario by selecting the switch. If the user chooses to turn on "Run Recommendation", all applications are allowed to perform the recommendation function by default. The user can further set it for each application on the display interface shown in Figure 9 as shown in Figure 9. Correspondingly, the recommendation permissions for business scenarios can also be set separately. The setting method is similar to the setting for applications. The setting method for business scenarios can refer to the setting method for applications, which will not be repeated here.
S207,若所述权限设置指示允许生成所述目标推荐场景对应的推荐卡片,则执行获取所述目标推荐场景对应的卡片数据和预加载于本地的卡片界面;S207, if the permission setting indicates that generation of a recommendation card corresponding to the target recommendation scenario is allowed, obtaining card data corresponding to the target recommendation scenario and a card interface preloaded locally;
S208,基于所述卡片界面的存储地址获取所述目标推荐场景对应的预加载于本地的卡片界面;S208, acquiring a preloaded local card interface corresponding to the target recommendation scene based on the storage address of the card interface;
在一个实施例中,基于卡片界面的存储地址,确定卡片界面的获取方式,若预加载于本地的卡片界面为存储于业务方的应用程序对应的文件目录中或终端设备的卡片管理文件中,则直接调用目标推荐场景对应的卡片界面;若存储于卡片管理云端服务器中,则向服务器发送获取请求,以得到该卡片界面。In one embodiment, a method for obtaining the card interface is determined based on the storage address of the card interface. If the card interface preloaded locally is stored in a file directory corresponding to the business party's application or in a card management file of the terminal device, the card interface corresponding to the target recommendation scenario is directly called; if it is stored in a card management cloud server, a request is sent to the server to obtain the card interface.
S209,基于所述获取方式获取所述目标推荐场景对应的卡片数据;S209, acquiring card data corresponding to the target recommendation scene based on the acquisition method;
在一个实施例中,获取卡片数据的获取方式后,基于该获取方式进行目标推荐场景的卡片数据的获取。In one embodiment, after the acquisition method of the card data is acquired, the card data of the target recommendation scene is acquired based on the acquisition method.
进一步的,获取目标推荐场景对应的卡片数据的方法可以为,基于预先获取的卡片数据获取方式获取该卡片数据,若终端设备中存在业务方对应的应用程序,则基于实现获取的获取路径向业务方发送卡片数据获取请求,并获取业务方基于获取请求返回的卡片数据;若终端设备中不存在应用程序,则基于运行逻辑代码数据获取目标推荐出现对应的卡片数据。其中,逻辑代码数据为事先生成并保存在本地的数据,终端设备直接调用即可向业务方获取对应的卡片数据。Furthermore, the method for obtaining the card data corresponding to the target recommendation scenario can be to obtain the card data based on the pre-acquired card data acquisition method, and if the terminal device has the corresponding application of the business party, send a card data acquisition request to the business party based on the acquisition path for implementing the acquisition, and obtain the card data returned by the business party based on the acquisition request; if the terminal device does not have the application, obtain the card data corresponding to the target recommendation based on the running logic code data. The logic code data is data generated in advance and saved locally, and the terminal device can directly call it to obtain the corresponding card data from the business party.
S210,获取所述目标推荐场景对应的渲染引擎,基于所述渲染引擎对所述卡片界面和所述卡片数据进行渲染,得到所述目标推荐场景对应的推荐卡片S210, obtaining a rendering engine corresponding to the target recommendation scene, rendering the card interface and the card data based on the rendering engine, and obtaining a recommended card corresponding to the target recommendation scene
在一个实施例中,在获取到目标推荐场景的卡片界面和卡片数据后,针对目标推荐场景对应的业务方获取目标推荐场景对应的渲染引擎,基于该渲染引擎对卡片界面和卡片数据进行渲染,以得到目标推荐场景对应的推荐卡片。In one embodiment, after obtaining the card interface and card data of the target recommendation scene, the rendering engine corresponding to the target recommendation scene is obtained for the business party corresponding to the target recommendation scene, and the card interface and card data are rendered based on the rendering engine to obtain a recommended card corresponding to the target recommendation scene.
进一步的,目标推荐场景对应的渲染引擎的获取方法可以为,根据业务方的要求进行确定。需要说明的是,针对每一种渲染方式对应的渲染引擎,业务方都需要进行代码的编写,因此为了节省开发和维护所需要的资源,部分业务方仅提供一种渲染引擎对应的数据,因此需要针对不同的业务方确定目标推荐场景对应的渲染引擎。其中,渲染引擎为针对目标推荐场景预先设置的渲染方式。Furthermore, the method for obtaining the rendering engine corresponding to the target recommendation scene can be determined according to the requirements of the business party. It should be noted that for the rendering engine corresponding to each rendering method, the business party needs to write code. Therefore, in order to save the resources required for development and maintenance, some business parties only provide data corresponding to one rendering engine. Therefore, it is necessary to determine the rendering engine corresponding to the target recommendation scene for different business parties. Among them, the rendering engine is a rendering method preset for the target recommendation scene.
进一步的,卡片的渲染方法可以为,基于获取到的卡片界面作为推荐卡片的卡片界面,将获取到的卡片数据对应推荐卡片中的逻辑数据部分进行补充,从而得到推荐卡片。例如,目标推荐场景为点外卖,如图4所示,卡片数据可以为图4中的外卖的实时配送情况,且随着配送情况的实时变化,卡片数据也相应地进行更新,得到图4中的倒计时随着时间的推移,由“4分钟”变为“2分钟”的效果。需要说明的是,卡片数据为基于由业务方获取到的数据进行更新的,因此若网络连接出现错误导致卡片数据更新不及时,推荐卡片会显示提示信息用于提示用户当前网络信号不佳,以便于能够及时恢复网络连接,进而保证 卡片数据更新的及时性。Furthermore, the card rendering method may be to use the acquired card interface as the card interface of the recommended card, and to supplement the acquired card data with the logical data part in the recommended card, thereby obtaining a recommended card. For example, the target recommendation scenario is ordering takeout, as shown in FIG4 , and the card data may be the real-time delivery situation of the takeout in FIG4 , and as the delivery situation changes in real time, the card data is also updated accordingly, so that the countdown in FIG4 changes from "4 minutes" to "2 minutes" over time. It should be noted that the card data is updated based on the data obtained by the business party, so if an error occurs in the network connection and the card data is not updated in time, the recommended card will display a prompt message to remind the user that the current network signal is poor, so that the network connection can be restored in time, thereby ensuring Timeliness of card data update.
S211,获取所述终端设备的使用状态,基于所述使用状态确定所述推荐卡片的显示方式;S211, obtaining a usage status of the terminal device, and determining a display mode of the recommendation card based on the usage status;
在一个实施例中,在将推荐卡片基于渲染引擎生成完成后,为了避免对用户使用终端设备的过程中由于显示推荐卡片而造成不良影响,需要获取终端设备的使用状态,基于使用状态确定推荐卡片的显示方式。In one embodiment, after the recommendation card is generated based on the rendering engine, in order to avoid adverse effects on the user's use of the terminal device due to the display of the recommendation card, it is necessary to obtain the use status of the terminal device and determine the display method of the recommendation card based on the use status.
进一步的,使用状态可以为终端设备当前执行功能所呈现的状态,例如可以为熄屏显示状态,桌面待机状态、全屏观看视频状态等。基于终端设备的使用状态确定推荐卡片的显示方式,从而避免由于在恰当的时间显示推荐卡片对用户的使用体验造成不良影响。Furthermore, the usage state may be the state presented by the terminal device currently executing a function, such as a screen-off display state, a desktop standby state, a full-screen video viewing state, etc. The display mode of the recommendation card is determined based on the usage state of the terminal device, thereby avoiding adverse effects on the user's experience caused by displaying the recommendation card at the appropriate time.
进一步的,一种可行的基于使用状态确定推荐卡片的显示方式的方法可以为,基于使用状态指示的终端设备忙碌程度进行确定,若终端设备处于待机状态,则可以采用较为明显的显示方式;若终端设备处于全屏显示等忙碌状态,则以小型卡片等显示方式,在尽可能不造成干扰用户使用的情况下显示推荐卡片。例如,在终端设备处于熄屏显示、锁屏待机、桌面待机或显示通知中心的情况下以卡片形式显示推荐推荐卡片,也可以为在终端设备处于观看视频或用户对终端设备进行操作的情况下以胶囊的形式显示推荐卡片等。Furthermore, a feasible method for determining the display mode of the recommendation card based on the usage status may be to determine the busyness of the terminal device based on the usage status indication. If the terminal device is in a standby state, a more obvious display mode may be used; if the terminal device is in a busy state such as full-screen display, the recommendation card may be displayed in a small card or other display mode without causing any interference to the user as much as possible. For example, the recommendation card may be displayed in the form of a card when the terminal device is in the off-screen display, lock screen standby, desktop standby, or notification center display mode; or the recommendation card may be displayed in the form of a capsule when the terminal device is watching a video or the user is operating the terminal device.
S212,采用所述显示方式显示所述推荐卡片;S212, displaying the recommended card in the display mode;
在一个实施例中,在基于终端设备的使用状态确定了推荐卡片的显示方式后,采用该显示方式显示推荐卡片,In one embodiment, after the display mode of the recommended card is determined based on the usage status of the terminal device, the recommended card is displayed in the display mode.
进一步的,采用显示方式显示推荐卡片的显示效果可参见如图5所示的内容,图5中分别显示了“A:锁屏待机状态”、“B:显示通知中心状态”、“C:熄屏显示状态”、“D:观看视频状态”以及“E:操作状态”这五个状态的卡片显示方式。需要说明的是,图5D由于是处于观看视频状态,为了避免影响用户观看视频的体验,只有在卡片数据的内容发生较为重要的变化时才进行显示,例如图5D中为“正在前往商家4分钟”,显示时间为3秒,3秒后推荐卡片会隐藏,直至卡片数据修改为“抵达商家”或者“正在配送”等,才再次显示推荐卡片。Furthermore, the display effect of displaying the recommended card in the display mode can be seen in the content shown in Figure 5, which respectively shows the card display modes of the five states of "A: lock screen standby state", "B: display notification center state", "C: screen off display state", "D: video watching state" and "E: operation state". It should be noted that since Figure 5D is in the video watching state, in order to avoid affecting the user's video watching experience, it is only displayed when the content of the card data has a more important change. For example, Figure 5D shows "Going to the merchant for 4 minutes", and the display time is 3 seconds. After 3 seconds, the recommended card will be hidden until the card data is modified to "arrived at the merchant" or "delivering", etc., and the recommended card will be displayed again.
需要说明的是,显示方式的具体显示用户可以根据的实际需要进行修改,例如卡片的具体样式或者胶囊方式的应用场景等。如图6所示,图6为用户对卡片显示方式的设置界面,用户可根据实际需求进行设置,终端设备的初始状态为开启“默认设置”,若用户需要针对不同的使用状态进行单独的设置,则可以开启“个性化设置”以针对各个使用场景单独进行设置。It should be noted that the specific display mode can be modified by the user according to actual needs, such as the specific style of the card or the application scenario of the capsule mode, etc. As shown in Figure 6, Figure 6 is a user setting interface for the card display mode, and the user can set it according to actual needs. The initial state of the terminal device is to turn on the "default setting". If the user needs to make separate settings for different usage states, the "personalized setting" can be turned on to make separate settings for each usage scenario.
需要说明的是,除了采用卡片显示方式进行推荐卡片的显示,另一种可行的方法可以为,采用语音方式进行推荐卡片的显示,从而能够在用户不便于查看终端设备时,通过耳机或终端设备的声筒等方式获取推荐卡片对应的卡片数据。It should be noted that in addition to using card display to display recommended cards, another feasible method is to use voice to display recommended cards, so that when it is inconvenient for the user to view the terminal device, the card data corresponding to the recommended card can be obtained through headphones or the speaker of the terminal device.
在本申请实施例中,通过在获取到当前的业务场景信息确定满足触发规则,且权限设置指示允许生成推荐卡片后,基于卡片数据获取方式获取卡片数据,并获取存储于本地的卡片界面,基于目标推荐场景对应的渲染引擎生成推荐卡片,在获取终端设备的使用状态确定显示方式后,采用该显示方式显示推荐卡片,以便于终端设备能够基于获取到的业务场景信息确定目标推荐场景,进而生成目标推荐场景对应的推荐卡片,达到基于需求自适应生成推荐卡片的效果,且通过对权限设置的确定和显示方式的确定,达到避免对用户的使用造成干扰的效果;通过事先获取卡片数据的获取方式和用于生成卡片界面的界面数据,基于界面数据生成卡片界面后将卡片界面存储于本地,从而能够在进行卡片生成的过程中,基于预先存储于本地的卡片界面,提高推荐卡片的生成效率,进而缩短推荐卡片的生成时长,提高推荐卡片的显示效率。In an embodiment of the present application, after obtaining the current business scenario information to determine that the trigger rules are met and the permission setting indicates that the generation of recommended cards is allowed, the card data is obtained based on the card data acquisition method, and the card interface stored locally is obtained, and the recommended card is generated based on the rendering engine corresponding to the target recommended scenario. After obtaining the usage status of the terminal device to determine the display mode, the recommended card is displayed using the display mode, so that the terminal device can determine the target recommendation scenario based on the obtained business scenario information, and then generate the recommended card corresponding to the target recommendation scenario, thereby achieving the effect of adaptively generating recommended cards based on demand, and by determining the permission setting and the display mode, the effect of avoiding interference with user use is achieved; by obtaining the card data acquisition method and the interface data for generating the card interface in advance, the card interface is generated based on the interface data and then stored locally, so that in the process of card generation, based on the card interface pre-stored locally, the generation efficiency of the recommended card can be improved, thereby shortening the generation time of the recommended card and improving the display efficiency of the recommended card.
基于图1所示的系统架构,下面将结合图10-图16,对本申请实施例提供的卡片显示 设备进行详细介绍。需要说明的是,图10-图16中的卡片显示设备,用于执行本申请图2-图9所示实施例的方法,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请图2-图9所示的实施例。Based on the system architecture shown in FIG. 1 , the card display provided in the embodiment of the present application will be described in conjunction with FIG. 10 to FIG. 16 . It should be noted that the card display device in Figures 10 to 16 is used to execute the method of the embodiment shown in Figures 2 to 9 of this application. For the convenience of explanation, only the part related to the embodiment of this application is shown. For the specific technical details not disclosed, please refer to the embodiment shown in Figures 2 to 9 of this application.
请参见图10,为本申请实施例提供了一种卡片显示设备的结构示意图。如图10所示,本申请实施例的所述卡片显示设备1可以包括:场景确定单元11、数据获取单元12和卡片显示单元13。Please refer to Fig. 10, which is a schematic diagram of the structure of a card display device according to an embodiment of the present application. As shown in Fig. 10, the card display device 1 according to the embodiment of the present application may include: a scene determination unit 11, a data acquisition unit 12 and a card display unit 13.
场景确定单元11,用于获取当前的业务场景信息,基于所述业务场景信息确定目标推荐场景;A scenario determination unit 11 is used to obtain current business scenario information and determine a target recommendation scenario based on the business scenario information;
数据获取单元12,用于获取所述目标推荐场景对应的卡片数据和预加载于本地的卡片界面;A data acquisition unit 12, used to acquire card data corresponding to the target recommendation scene and a card interface preloaded locally;
卡片显示单元13,用于基于所述卡片界面和所述卡片数据渲染得到所述目标推荐场景对应的推荐卡片,显示所述推荐卡片。The card display unit 13 is used to render a recommended card corresponding to the target recommendation scenario based on the card interface and the card data, and display the recommended card.
可选的,如图11所示,所述卡片显示设备1,还包括:Optionally, as shown in FIG11 , the card display device 1 further includes:
界面获取单元14,用于获取业务方发送的界面数据,基于所述界面数据生成目标推荐场景对应的卡片界面;The interface acquisition unit 14 is used to acquire the interface data sent by the business party, and generate a card interface corresponding to the target recommendation scenario based on the interface data;
界面存储单元15,用于基于所述业务方的界面存储方式将所述卡片界面进行本地存储,并保存所述卡片界面的存储地址;An interface storage unit 15, used to locally store the card interface based on the interface storage method of the business party, and save the storage address of the card interface;
获取方式确定单元16,用于基于所述业务方的业务类型确定卡片数据的获取方式。The acquisition method determining unit 16 is used to determine the acquisition method of the card data based on the business type of the business party.
可选的,如图12所示,所述界面存储单元15,包括:Optionally, as shown in FIG12 , the interface storage unit 15 includes:
服务器存储子单元151,用于将所述卡片界面存储于卡片管理云端服务器中;或者,The server storage subunit 151 is used to store the card interface in the card management cloud server; or,
目录存储子单元152,用于将所述卡片界面存储于所述业务方的应用程序对应的文件目录中;或者,The directory storage subunit 152 is used to store the card interface in the file directory corresponding to the application of the business party; or,
文件存储子单元153,用于将所述卡片界面存储于所述终端设备的卡片管理文件中。The file storage subunit 153 is used to store the card interface in the card management file of the terminal device.
可选的,如图13所示,所述获取方式确定单元16,包括:Optionally, as shown in FIG13 , the acquisition mode determination unit 16 includes:
路径获取子单元161,用于若存在所述业务方对应的应用程序,则向所述业务方发送数据获取请求,获取所述业务方基于所述数据获取请求返回的卡片数据的获取路径;The path acquisition subunit 161 is used to send a data acquisition request to the business party if there is an application corresponding to the business party, and obtain the acquisition path of the card data returned by the business party based on the data acquisition request;
代码存储子单元162,用于若不存在所述业务方对应的应用程序,则生成所述卡片界面对应的逻辑代码数据,将所述逻辑代码数据作为所述卡片数据的获取方式,将所述逻辑代码数据存储于卡片管理云端服务器中或者所述终端设备的卡片管理文件中。The code storage subunit 162 is used to generate logic code data corresponding to the card interface if there is no application corresponding to the business party, use the logic code data as a way to obtain the card data, and store the logic code data in the card management cloud server or the card management file of the terminal device.
可选的,如图14所示,所述场景确定单元11,包括:Optionally, as shown in FIG14 , the scene determination unit 11 includes:
信息获取子单元111,用于获取当前的业务场景信息;The information acquisition subunit 111 is used to acquire current business scenario information;
场景确定子单元112,用于若所述业务场景信息满足触发规则,则获取所述触发规则对应的预设推荐场景,将所述预设推荐场景确定为所述业务场景信息对应的目标推荐场景。The scenario determination subunit 112 is configured to obtain a preset recommended scenario corresponding to the trigger rule if the business scenario information satisfies the trigger rule, and determine the preset recommended scenario as a target recommended scenario corresponding to the business scenario information.
可选的,如图11所示,所述卡片显示设备1,还包括:Optionally, as shown in FIG11 , the card display device 1 further includes:
设置获取单元17,用于若存储有所述卡片界面,则获取所述目标推荐场景对应的权限设置;A setting acquisition unit 17, configured to acquire the permission setting corresponding to the target recommendation scenario if the card interface is stored;
数据获取执行单元18,用于若所述权限设置指示允许生成所述目标推荐场景对应的推荐卡片,则执行获取所述目标推荐场景对应的卡片数据和预加载于本地的卡片界面。The data acquisition execution unit 18 is configured to execute acquisition of card data corresponding to the target recommendation scenario and a card interface preloaded locally if the permission setting indicates that generation of a recommendation card corresponding to the target recommendation scenario is allowed.
可选的,如图15所示,所述数据获取单元12,包括:Optionally, as shown in FIG15 , the data acquisition unit 12 includes:
界面获取子单元121,用于基于所述卡片界面的存储地址获取所述目标推荐场景对应的预加载于本地的卡片界面;The interface acquisition subunit 121 is used to acquire the pre-loaded local card interface corresponding to the target recommendation scene based on the storage address of the card interface;
数据获取子单元122,用于基于所述获取方式获取所述目标推荐场景对应的卡片数据。The data acquisition subunit 122 is used to acquire the card data corresponding to the target recommendation scene based on the acquisition method.
可选的,所述数据获取单元12,还用于:Optionally, the data acquisition unit 12 is further used for:
若存在所述业务方对应的应用程序,则基于所述获取路径向所述业务方发送数据获取请求,并获取所述业务方基于所述获取请求返回的卡片数据; If there is an application corresponding to the business party, sending a data acquisition request to the business party based on the acquisition path, and acquiring the card data returned by the business party based on the acquisition request;
若不存在所述业务方对应的应用程序,则基于运行所述逻辑代码数据获取所述目标推荐场景对应的卡片数据。If there is no application corresponding to the business party, the card data corresponding to the target recommendation scenario is obtained based on running the logic code data.
可选的,如图16所示,所述卡片显示单元13,包括:Optionally, as shown in FIG16 , the card display unit 13 includes:
卡片生成子单元131,用于获取所述目标推荐场景对应的渲染引擎,基于所述渲染引擎对所述卡片界面和所述卡片数据进行渲染,得到所述目标推荐场景对应的推荐卡片,所述渲染引擎为针对所述目标推荐场景预先设置的渲染方式;The card generation subunit 131 is used to obtain a rendering engine corresponding to the target recommendation scene, render the card interface and the card data based on the rendering engine, and obtain a recommendation card corresponding to the target recommendation scene, wherein the rendering engine is a rendering method preset for the target recommendation scene;
显示方式确定子单元132,用于获取所述终端设备的使用状态,基于所述使用状态确定所述推荐卡片的显示方式;A display mode determination subunit 132, configured to obtain a usage status of the terminal device and determine a display mode of the recommendation card based on the usage status;
卡片显示子单元133,用于采用所述显示方式显示所述推荐卡片。The card display subunit 133 is used to display the recommended card in the display mode.
在本申请实施例中,通过在获取到当前的业务场景信息确定满足触发规则,且权限设置指示允许生成推荐卡片后,基于卡片数据获取方式获取卡片数据,并获取存储于本地的卡片界面,基于目标推荐场景对应的渲染引擎生成推荐卡片,在获取终端设备的使用状态确定显示方式后,采用该显示方式显示推荐卡片,以便于终端设备能够基于获取到的业务场景信息确定目标推荐场景,进而生成目标推荐场景对应的推荐卡片,达到基于需求自适应生成推荐卡片的效果,且通过对权限设置的确定和显示方式的确定,达到避免对用户的使用造成干扰的效果;通过事先获取卡片数据的获取方式和用于生成卡片界面的界面数据,基于界面数据生成卡片界面后将卡片界面存储于本地,从而能够在进行卡片生成的过程中,基于预先存储于本地的卡片界面,提高推荐卡片的生成效率,进而缩短推荐卡片的生成时长,提高推荐卡片的显示效率。In an embodiment of the present application, after obtaining the current business scenario information to determine that the trigger rules are met and the permission setting indicates that the generation of recommended cards is allowed, the card data is obtained based on the card data acquisition method, and the card interface stored locally is obtained, and the recommended card is generated based on the rendering engine corresponding to the target recommended scenario. After obtaining the usage status of the terminal device to determine the display mode, the recommended card is displayed using the display mode, so that the terminal device can determine the target recommendation scenario based on the obtained business scenario information, and then generate the recommended card corresponding to the target recommendation scenario, thereby achieving the effect of adaptively generating recommended cards based on demand, and by determining the permission setting and the display mode, the effect of avoiding interference with user use is achieved; by obtaining the card data acquisition method and the interface data for generating the card interface in advance, the card interface is generated based on the interface data and then stored locally, so that in the process of card generation, based on the card interface pre-stored locally, the generation efficiency of the recommended card can be improved, thereby shortening the generation time of the recommended card and improving the display efficiency of the recommended card.
本申请实施例还提供了一种计算机存储介质,所述计算机存储介质可以存储有多条程序指令,所述程序指令适于由处理器加载并执行如上述图2-图9所示实施例的方法步骤,具体执行过程可以参见图2-图9所示实施例的具体说明,在此不进行赘述。An embodiment of the present application also provides a computer storage medium, which can store multiple program instructions, and the program instructions are suitable for being loaded by a processor and executing the method steps of the embodiments shown in Figures 2 to 9 above. The specific execution process can be found in the specific description of the embodiments shown in Figures 2 to 9, and will not be repeated here.
请参见图17,为本申请实施例提供了一种电子设备的结构示意图。如图17所示,所述电子设备1000可以包括:至少一个处理器1001,例如CPU,至少一个网络接口1004,输入输出接口1003,存储器1005,至少一个通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。其中,网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器1005可选的还可以是至少一个位于远离前述处理器1001的存储装置。如图17所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、输入输出接口模块以及卡片显示应用程序。Please refer to Figure 17, which provides a structural schematic diagram of an electronic device for an embodiment of the present application. As shown in Figure 17, the electronic device 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, an input/output interface 1003, a memory 1005, and at least one communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. Among them, the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 1005 may also be at least one storage device located away from the aforementioned processor 1001. As shown in Figure 17, the memory 1005 as a computer storage medium may include an operating system, a network communication module, an input/output interface module, and a card display application.
在图17所示的电子设备1000中,输入输出接口1003主要用于为用户提供输入的接口,获取用户输入的数据。In the electronic device 1000 shown in FIG. 17 , the input-output interface 1003 is mainly used to provide an input interface for the user and obtain data input by the user.
在一个实施例中,处理器1001可以用于调用存储器1005中存储的卡片显示应用程序,并具体执行以下操作:In one embodiment, the processor 1001 may be used to call a card display application stored in the memory 1005, and specifically perform the following operations:
获取当前的业务场景信息,基于所述业务场景信息确定目标推荐场景;Acquire current business scenario information, and determine a target recommendation scenario based on the business scenario information;
获取所述目标推荐场景对应的卡片数据和预加载于本地的卡片界面;Obtain card data corresponding to the target recommendation scenario and a card interface preloaded locally;
基于所述卡片界面和所述卡片数据渲染得到所述目标推荐场景对应的推荐卡片,显示所述推荐卡片。A recommended card corresponding to the target recommendation scenario is obtained based on the card interface and the card data rendering, and the recommended card is displayed.
可选的,所述处理器1001在执行取所述目标推荐场景对应的卡片数据和预加载于本地的卡片界面之前,还执行以下操作:Optionally, before executing the process of obtaining the card data corresponding to the target recommendation scene and the card interface preloaded locally, the processor 1001 further performs the following operations:
获取业务方发送的界面数据,基于所述界面数据生成目标推荐场景对应的卡片界面;Acquire the interface data sent by the business party, and generate a card interface corresponding to the target recommendation scenario based on the interface data;
基于所述业务方的界面存储方式将所述卡片界面进行本地存储,并保存所述卡片界面 的存储地址;Based on the interface storage method of the business party, the card interface is locally stored and saved The storage address of
基于所述业务方的业务类型确定卡片数据的获取方式。The method for obtaining the card data is determined based on the business type of the business party.
可选的,所述处理器1001在执行基于所述业务方的界面存储方式将所述卡片界面进行本地存储时,具体执行以下操作:Optionally, when executing the interface storage method based on the business party to locally store the card interface, the processor 1001 specifically performs the following operations:
将所述卡片界面存储于卡片管理云端服务器中;或者,storing the card interface in a card management cloud server; or,
将所述卡片界面存储于所述业务方的应用程序对应的文件目录中;或者,storing the card interface in a file directory corresponding to the application of the business party; or,
将所述卡片界面存储于所述终端设备的卡片管理文件中。The card interface is stored in a card management file of the terminal device.
可选的,所述处理器1001在执行基于所述业务类型确定卡片数据的获取方式时,具体执行以下操作:Optionally, when determining the method for obtaining card data based on the business type, the processor 1001 specifically performs the following operations:
若存在所述业务方对应的应用程序,则向所述业务方发送数据获取请求,获取所述业务方基于所述数据获取请求返回的卡片数据的获取路径;If there is an application corresponding to the business party, sending a data acquisition request to the business party to obtain the acquisition path of the card data returned by the business party based on the data acquisition request;
若不存在所述业务方对应的应用程序,则生成所述卡片界面对应的逻辑代码数据,将所述逻辑代码数据作为所述卡片数据的获取方式,将所述逻辑代码数据存储于卡片管理云端服务器中或者所述终端设备的卡片管理文件中。If there is no application corresponding to the business party, logical code data corresponding to the card interface is generated, and the logical code data is used as a method for obtaining the card data, and the logical code data is stored in the card management cloud server or the card management file of the terminal device.
可选的,所述处理器1001在执行获取当前的业务场景信息,基于所述业务场景信息确定目标推荐场景时,具体执行以下操作:Optionally, when the processor 1001 acquires the current business scenario information and determines the target recommendation scenario based on the business scenario information, the processor 1001 specifically performs the following operations:
获取当前的业务场景信息;Get the current business scenario information;
若所述业务场景信息满足触发规则,则获取所述触发规则对应的预设推荐场景,将所述预设推荐场景确定为所述业务场景信息对应的目标推荐场景。If the business scenario information satisfies the triggering rule, a preset recommended scenario corresponding to the triggering rule is obtained, and the preset recommended scenario is determined as a target recommended scenario corresponding to the business scenario information.
可选的,所述处理器1001在执行取所述目标推荐场景对应的卡片数据和预加载于本地的卡片界面之前,还执行以下操作:Optionally, before executing the process of obtaining the card data corresponding to the target recommendation scene and the card interface preloaded locally, the processor 1001 further performs the following operations:
若存储有所述卡片界面,则获取所述目标推荐场景对应的权限设置;If the card interface is stored, obtaining the permission setting corresponding to the target recommendation scene;
若所述权限设置指示允许生成所述目标推荐场景对应的推荐卡片,则执行获取所述目标推荐场景对应的卡片数据和预加载于本地的卡片界面。If the permission setting indicates that generation of a recommendation card corresponding to the target recommendation scenario is allowed, obtaining card data corresponding to the target recommendation scenario and a card interface preloaded locally are executed.
可选的,所述处理器1001在执行获取所述目标推荐场景对应的卡片数据和所述卡片数据对应的预加载于本地的卡片界面时,具体执行以下操作:Optionally, when executing the process of acquiring the card data corresponding to the target recommendation scene and the card interface preloaded locally corresponding to the card data, the processor 1001 specifically performs the following operations:
基于所述卡片界面的存储地址获取所述目标推荐场景对应的预加载于本地的卡片界面;Acquire a preloaded local card interface corresponding to the target recommendation scene based on the storage address of the card interface;
基于所述获取方式获取所述目标推荐场景对应的卡片数据。The card data corresponding to the target recommendation scene is acquired based on the acquisition method.
可选的,所述处理器1001在执行基于所述获取方式获取所述目标推荐场景对应的卡片数据时,具体执行以下操作:Optionally, when the processor 1001 acquires the card data corresponding to the target recommendation scene based on the acquisition method, the processor 1001 specifically performs the following operations:
若存在所述业务方对应的应用程序,则基于所述获取路径向所述业务方发送数据获取请求,并获取所述业务方基于所述获取请求返回的卡片数据;If there is an application corresponding to the business party, sending a data acquisition request to the business party based on the acquisition path, and acquiring the card data returned by the business party based on the acquisition request;
若不存在所述业务方对应的应用程序,则基于运行所述逻辑代码数据获取所述目标推荐场景对应的卡片数据。If there is no application corresponding to the business party, the card data corresponding to the target recommendation scenario is obtained based on running the logic code data.
可选的,所述处理器1001在执行基于所述卡片界面和所述卡片数据渲染得到所述目标推荐场景对应的推荐卡片,显示所述推荐卡片时,具体执行以下操作:Optionally, when the processor 1001 obtains the recommended card corresponding to the target recommendation scene based on the card interface and the card data rendering and displays the recommended card, the processor 1001 specifically performs the following operations:
获取所述目标推荐场景对应的渲染引擎,基于所述渲染引擎对所述卡片界面和所述卡片数据进行渲染,得到所述目标推荐场景对应的推荐卡片,所述渲染引擎为针对所述目标推荐场景预先设置的渲染方式;Obtaining a rendering engine corresponding to the target recommendation scene, rendering the card interface and the card data based on the rendering engine to obtain a recommendation card corresponding to the target recommendation scene, wherein the rendering engine is a rendering method preset for the target recommendation scene;
获取所述终端设备的使用状态,基于所述使用状态确定所述推荐卡片的显示方式;Acquiring a usage status of the terminal device, and determining a display mode of the recommendation card based on the usage status;
采用所述显示方式显示所述推荐卡片。The recommended card is displayed in the display mode.
在本申请实施例中,通过在获取到当前的业务场景信息确定满足触发规则,且权限设置指示允许生成推荐卡片后,基于卡片数据获取方式获取卡片数据,并获取存储于本地的卡片界面,基于目标推荐场景对应的渲染引擎生成推荐卡片,在获取终端设备的使用状态 确定显示方式后,采用该显示方式显示推荐卡片,以便于终端设备能够基于获取到的业务场景信息确定目标推荐场景,进而生成目标推荐场景对应的推荐卡片,达到基于需求自适应生成推荐卡片的效果,且通过对权限设置的确定和显示方式的确定,达到避免对用户的使用造成干扰的效果;通过事先获取卡片数据的获取方式和用于生成卡片界面的界面数据,基于界面数据生成卡片界面后将卡片界面存储于本地,从而能够在进行卡片生成的过程中,基于预先存储于本地的卡片界面,提高推荐卡片的生成效率,进而缩短推荐卡片的生成时长,提高推荐卡片的显示效率。In the embodiment of the present application, after obtaining the current business scenario information to determine that the trigger rules are met, and the permission setting indicates that the recommended card is allowed to be generated, the card data is obtained based on the card data acquisition method, and the card interface stored locally is obtained, and the recommended card is generated based on the rendering engine corresponding to the target recommendation scenario. After determining the display mode, the recommended card is displayed using the display mode, so that the terminal device can determine the target recommendation scenario based on the acquired business scenario information, and then generate the recommended card corresponding to the target recommendation scenario, thereby achieving the effect of adaptively generating the recommended card based on the demand, and by determining the permission setting and the display mode, the effect of avoiding interference with the user's use is achieved; by obtaining the acquisition method of the card data and the interface data for generating the card interface in advance, the card interface is generated based on the interface data and then stored locally, so that in the process of card generation, based on the card interface pre-stored locally, the generation efficiency of the recommended card can be improved, thereby shortening the generation time of the recommended card and improving the display efficiency of the recommended card.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围,因此依本申请权利要求所作的等同变化,仍属本申请所涵盖的范围。 The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims (12)

  1. 一种卡片显示方法,其特征在于,应用于终端设备,所述方法包括:A card display method, characterized in that it is applied to a terminal device, and the method comprises:
    获取当前的业务场景信息,基于所述业务场景信息确定目标推荐场景;Acquire current business scenario information, and determine a target recommendation scenario based on the business scenario information;
    获取所述目标推荐场景对应的卡片数据和预加载于本地的卡片界面;Obtain card data corresponding to the target recommendation scenario and a card interface preloaded locally;
    基于所述卡片界面和所述卡片数据渲染得到所述目标推荐场景对应的推荐卡片,显示所述推荐卡片。A recommended card corresponding to the target recommendation scenario is obtained based on the card interface and the card data rendering, and the recommended card is displayed.
  2. 根据权利要求1所述的方法,其特征在于,所述获取所述目标推荐场景对应的卡片数据和预加载于本地的卡片界面之前,还包括:The method according to claim 1, characterized in that before obtaining the card data corresponding to the target recommendation scene and preloading the card interface locally, it also includes:
    获取业务方发送的界面数据,基于所述界面数据生成目标推荐场景对应的卡片界面;Acquire the interface data sent by the business party, and generate a card interface corresponding to the target recommendation scenario based on the interface data;
    基于所述业务方的界面存储方式将所述卡片界面进行本地存储,并保存所述卡片界面的存储地址;Based on the interface storage method of the business party, the card interface is locally stored, and the storage address of the card interface is saved;
    基于所述业务方的业务类型确定卡片数据的获取方式。The method for obtaining the card data is determined based on the business type of the business party.
  3. 根据权利要求2所述的方法,其特征在于,所述基于所述业务方的界面存储方式将所述卡片界面进行本地存储,包括:The method according to claim 2, characterized in that the locally storing the card interface based on the interface storage method of the business party comprises:
    将所述卡片界面存储于卡片管理云端服务器中;或者,storing the card interface in a card management cloud server; or,
    将所述卡片界面存储于所述业务方的应用程序对应的文件目录中;或者,storing the card interface in a file directory corresponding to the application of the business party; or,
    将所述卡片界面存储于所述终端设备的卡片管理文件中。The card interface is stored in a card management file of the terminal device.
  4. 根据权利要求2所述的方法,其特征在于,所述基于所述业务类型确定卡片数据的获取方式,包括:The method according to claim 2, characterized in that the determining the method for obtaining the card data based on the business type comprises:
    若存在所述业务方对应的应用程序,则向所述业务方发送数据获取请求,获取所述业务方基于所述数据获取请求返回的卡片数据的获取路径;If there is an application corresponding to the business party, sending a data acquisition request to the business party to obtain the acquisition path of the card data returned by the business party based on the data acquisition request;
    若不存在所述业务方对应的应用程序,则生成所述卡片界面对应的逻辑代码数据,将所述逻辑代码数据作为所述卡片数据的获取方式,将所述逻辑代码数据存储于卡片管理云端服务器中或者所述终端设备的卡片管理文件中。If there is no application corresponding to the business party, logical code data corresponding to the card interface is generated, and the logical code data is used as a method for obtaining the card data, and the logical code data is stored in the card management cloud server or the card management file of the terminal device.
  5. 根据权利要求1所述的方法,其特征在于,所述获取当前的业务场景信息,基于所述业务场景信息确定目标推荐场景,包括:The method according to claim 1, characterized in that the obtaining of current business scenario information and determining a target recommendation scenario based on the business scenario information comprises:
    获取当前的业务场景信息;Get the current business scenario information;
    若所述业务场景信息满足触发规则,则获取所述触发规则对应的预设推荐场景,将所述预设推荐场景确定为所述业务场景信息对应的目标推荐场景。If the business scenario information satisfies the triggering rule, a preset recommended scenario corresponding to the triggering rule is obtained, and the preset recommended scenario is determined as a target recommended scenario corresponding to the business scenario information.
  6. 根据权利要求1所述的方法,其特征在于,所述获取所述目标推荐场景对应的卡片数据和预加载于本地的卡片界面之前,还包括:The method according to claim 1, characterized in that before obtaining the card data corresponding to the target recommendation scene and preloading the card interface locally, it also includes:
    若存储有所述卡片界面,则获取所述目标推荐场景对应的权限设置;If the card interface is stored, obtaining the permission setting corresponding to the target recommendation scene;
    若所述权限设置指示允许生成所述目标推荐场景对应的推荐卡片,则执行获取所述目标推荐场景对应的卡片数据和预加载于本地的卡片界面。If the permission setting indicates that generation of a recommendation card corresponding to the target recommendation scenario is allowed, obtaining card data corresponding to the target recommendation scenario and a card interface preloaded locally are executed.
  7. 根据权利要求4所述的方法,其特征在于,所述获取所述目标推荐场景对应的卡片数据和所述卡片数据对应的预加载于本地的卡片界面,包括:The method according to claim 4, characterized in that the obtaining of the card data corresponding to the target recommendation scene and the pre-loaded local card interface corresponding to the card data comprises:
    基于所述卡片界面的存储地址获取所述目标推荐场景对应的预加载于本地的卡片界 面;Based on the storage address of the card interface, obtain the card interface preloaded locally corresponding to the target recommendation scene. noodle;
    基于所述获取方式获取所述目标推荐场景对应的卡片数据。The card data corresponding to the target recommendation scene is acquired based on the acquisition method.
  8. 根据权利要求7所述的方法,其特征在于,所述基于所述获取方式获取所述目标推荐场景对应的卡片数据,包括:The method according to claim 7, characterized in that the acquiring the card data corresponding to the target recommendation scene based on the acquisition method comprises:
    若存在所述业务方对应的应用程序,则基于所述获取路径向所述业务方发送数据获取请求,并获取所述业务方基于所述获取请求返回的卡片数据;If there is an application corresponding to the business party, sending a data acquisition request to the business party based on the acquisition path, and acquiring the card data returned by the business party based on the acquisition request;
    若不存在所述业务方对应的应用程序,则基于运行所述逻辑代码数据获取所述目标推荐场景对应的卡片数据。If there is no application corresponding to the business party, the card data corresponding to the target recommendation scenario is obtained based on running the logic code data.
  9. 根据权利要求7所述的方法,其特征在于,所述基于所述卡片界面和所述卡片数据渲染得到所述目标推荐场景对应的推荐卡片,显示所述推荐卡片,包括:The method according to claim 7, characterized in that the rendering of obtaining a recommended card corresponding to the target recommendation scenario based on the card interface and the card data, and displaying the recommended card, comprises:
    获取所述目标推荐场景对应的渲染引擎,基于所述渲染引擎对所述卡片界面和所述卡片数据进行渲染,得到所述目标推荐场景对应的推荐卡片,所述渲染引擎为针对所述目标推荐场景预先设置的渲染方式;Obtaining a rendering engine corresponding to the target recommendation scene, rendering the card interface and the card data based on the rendering engine to obtain a recommendation card corresponding to the target recommendation scene, wherein the rendering engine is a rendering method preset for the target recommendation scene;
    获取所述终端设备的使用状态,基于所述使用状态确定所述推荐卡片的显示方式;Acquiring a usage status of the terminal device, and determining a display mode of the recommendation card based on the usage status;
    采用所述显示方式显示所述推荐卡片。The recommended card is displayed in the display mode.
  10. 一种卡片显示设备,其特征在于,所述设备包括:A card display device, characterized in that the device comprises:
    场景确定单元,用于获取当前的业务场景信息,基于所述业务场景信息确定目标推荐场景;A scenario determination unit, configured to obtain current business scenario information and determine a target recommendation scenario based on the business scenario information;
    数据获取单元,用于获取所述目标推荐场景对应的卡片数据和预加载于本地的卡片界面;A data acquisition unit, used to acquire card data corresponding to the target recommendation scene and a card interface preloaded locally;
    卡片显示单元,用于基于所述卡片界面和所述卡片数据渲染得到所述目标推荐场景对应的推荐卡片,显示所述推荐卡片。A card display unit is used to render a recommended card corresponding to the target recommendation scenario based on the card interface and the card data, and display the recommended card.
  11. 一种计算机存储介质,其特征在于,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行如权利要求1~9任意一项所述方法的步骤。A computer storage medium, characterized in that the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the steps of the method as claimed in any one of claims 1 to 9.
  12. 一种电子设备,其特征在于,包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行如权利要求1~9任意一项所述方法的步骤。 An electronic device, characterized in that it comprises: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the steps of the method as claimed in any one of claims 1 to 9.
PCT/CN2023/129097 2022-12-23 2023-11-01 Widget display method and device, storage medium and electronic device WO2024131329A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211671621.3 2022-12-23
CN202211671621.3A CN118245146A (en) 2022-12-23 2022-12-23 Card display method, device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
WO2024131329A1 true WO2024131329A1 (en) 2024-06-27

Family

ID=91556216

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/129097 WO2024131329A1 (en) 2022-12-23 2023-11-01 Widget display method and device, storage medium and electronic device

Country Status (2)

Country Link
CN (1) CN118245146A (en)
WO (1) WO2024131329A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657649A (en) * 2016-12-28 2017-05-10 北京金山安全软件有限公司 Information recommendation method and device and electronic equipment
CN113569089A (en) * 2021-07-21 2021-10-29 北京达佳互联信息技术有限公司 Information processing method, device, server, equipment, system and storage medium
CN115062013A (en) * 2022-05-27 2022-09-16 平安银行股份有限公司 Information recommendation method, device, equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657649A (en) * 2016-12-28 2017-05-10 北京金山安全软件有限公司 Information recommendation method and device and electronic equipment
CN113569089A (en) * 2021-07-21 2021-10-29 北京达佳互联信息技术有限公司 Information processing method, device, server, equipment, system and storage medium
CN115062013A (en) * 2022-05-27 2022-09-16 平安银行股份有限公司 Information recommendation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN118245146A (en) 2024-06-25

Similar Documents

Publication Publication Date Title
US20210334856A1 (en) Telecommunications call augmentation system
US11722860B2 (en) Messaging system interacting with dynamic extension app
US9973506B2 (en) Method and apparatus for clearing notification icon, and storage medium
US9049478B2 (en) System and method for implementing a dynamic media link
KR20170055971A (en) Task completion across devices using a shared work space
US11582340B2 (en) Mobile computing device notification mode determination
US20210026688A1 (en) Method and Apparatus for Scheduling Processor Core, and Storage Medium
CN110070592B (en) Generation method and device of special effect package and hardware device
CN111445331A (en) Transaction matching method and device
CN106815501A (en) The application management method and device of mobile terminal
CN112953908A (en) Network isolation configuration method, device and system
CN108293197B (en) Resource statistical method, device and terminal
CN115022269A (en) Message processing method, device, equipment and medium
WO2024109786A1 (en) Instant messaging session information processing method and apparatus, and electronic device
JP2024091733A (en) PROGRAM, INFORMATION PROCESSING METHOD, AND INFORMATION PROCESSING APPARATUS
WO2024099275A1 (en) Media content processing method and apparatus, device, readable storage medium, and product
WO2024131329A1 (en) Widget display method and device, storage medium and electronic device
US11188396B2 (en) Pending notification deletion through autonomous removal triggering
CN112632184A (en) Data processing method and device, electronic equipment and storage medium
WO2016079539A1 (en) Telecommunications call augmentation system
WO2024131568A1 (en) Session information processing method and related device
US20230267819A1 (en) Adaptive alert messaging
WO2023216730A1 (en) Privacy protection method and apparatus for social network, electronic device, computer readable storage medium, and computer program product
CN114237694A (en) Data change method and device, terminal equipment and storage medium
US20130060865A1 (en) Synchronization operation based on a filter tag