CN115951993A - Data processing method, data processing apparatus, electronic device, storage medium, and program product - Google Patents

Data processing method, data processing apparatus, electronic device, storage medium, and program product Download PDF

Info

Publication number
CN115951993A
CN115951993A CN202211586988.5A CN202211586988A CN115951993A CN 115951993 A CN115951993 A CN 115951993A CN 202211586988 A CN202211586988 A CN 202211586988A CN 115951993 A CN115951993 A CN 115951993A
Authority
CN
China
Prior art keywords
content
list component
target
processing
processing function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211586988.5A
Other languages
Chinese (zh)
Inventor
段南西
孙灿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Taoyoutianxia Technology Co ltd
Original Assignee
Beijing Taoyoutianxia Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Taoyoutianxia Technology Co ltd filed Critical Beijing Taoyoutianxia Technology Co ltd
Priority to CN202211586988.5A priority Critical patent/CN115951993A/en
Publication of CN115951993A publication Critical patent/CN115951993A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the application provides a data processing method and device, electronic equipment, a storage medium and a program product, and relates to the technical field of computers. The method comprises the following steps: the method comprises the steps of obtaining a preset list component of an application program, screening out at least one first processing function from a plurality of candidate processing functions of the preset list component based on the category of a target content channel, generating the target list component, obtaining at least one first content card corresponding to the target list component in the application program, and rendering and displaying the first content card through the target list component. The data processing method provided by the application is used for customizing the list component capable of processing the corresponding content cards according to different content channel types, and timely modifying and updating the functions and methods in the list component according to the card contents and the required processing mode, so that the processing requirements of the current contents are better matched, the data processing efficiency can be effectively improved, and the system processing performance is improved.

Description

Data processing method, data processing device, electronic equipment, storage medium and program product
Technical Field
The present application relates to the field of internet application technologies, and in particular, to a data processing method, an apparatus, an electronic device, a storage medium, and a computer program product.
Background
With the development of information technology, card-type layouts in lists are increasingly applied to various applications, and a page in an application may have multiple lists, and one list may display multiple content cards, where the content cards may include message content, publisher information, and related controls for a user to operate.
In the prior art, different lists comprise a plurality of content cards, each content card has a respective processing method, and the plurality of content cards are respectively processed by using corresponding processing functions; processing processes corresponding to a plurality of content cards can appear in one list, and when the content cards in the other list need to be processed, the content cards are processed by using respective processing functions; the more functions are processed, the more processing processes are established, the large load is imposed on the server, and the data processing efficiency is low.
Disclosure of Invention
The embodiment of the application aims to solve the problems that the processing events are disordered and the processing efficiency is reduced due to the fact that the processing of the content cards of the application programs is separated respectively. The technical scheme is as follows:
in a first aspect, the present application provides a data processing method, which is applied to an application program that needs to perform rendering and processing of a content card, and includes:
acquiring a preset list component of an application program; the preset list component comprises a plurality of candidate processing functions for content cards of the application program;
acquiring a target content channel category, screening at least one first processing function from a plurality of candidate processing functions of the preset list component based on the target content channel category, and generating a target list component;
and acquiring at least one first content card corresponding to the target list component in the application program, and rendering and displaying the first content card through the target list component.
In an optional embodiment of the first aspect, the filtering out at least one first processing function from a plurality of candidate processing functions of the preset list component based on the target content channel category to generate a target list component comprises:
based on the target content channel category, screening at least one target processing function from a plurality of candidate processing functions of the preset list component;
receiving a new processing function input by a user and aiming at the target content channel category;
and generating the target list component based on the target processing function and the newly added processing function.
In an optional embodiment of the first aspect, the obtaining at least one first content card corresponding to the target list component in the application program includes:
acquiring a plurality of candidate content cards of an application program, and determining a first data identifier corresponding to the target list component;
at least one of the first content cards is screened out of the candidate content cards based on the first data identification.
In an optional embodiment of the first aspect, the filtering out at least one first content card from the candidate content cards based on the first data identification comprises:
acquiring a second data identifier corresponding to the candidate content card;
and matching the second data identification with the first data identification, and taking the candidate content card corresponding to the second data identification matched with the first data identification as the first content card.
In an optional embodiment of the first aspect, the method further comprises:
receiving operation information aiming at target content in the first content card;
determining a target processing function corresponding to the operation information from the first processing function;
and calling the target processing function to process the operation information.
In an optional embodiment of the first aspect, before the obtaining the preset list component of the application program, the method further includes:
acquiring a historical operation record and a historical content card aiming at the application program;
and determining the candidate processing function from a plurality of processing functions in the preset list component according to the historical operation records and the historical content cards.
In an optional embodiment of the first aspect, before the obtaining the preset list component of the application program, the method further includes:
receiving a new processing function input by a user;
and updating the new processing function to the candidate processing function, and updating the preset list component.
In an optional embodiment of the first aspect, the method further comprises:
acquiring a plurality of content channel categories, and determining the mapping relation between each content channel category and the corresponding processing function;
said filtering out at least one first processing function from a plurality of candidate processing functions of said preset list component based on said target content channel category comprises:
determining at least one first processing function conforming to the mapping relationship from a plurality of candidate processing functions of the preset list component based on the target content channel category and the corresponding mapping relationship.
In a second aspect, the present application provides a data processing apparatus comprising:
the acquisition module is used for acquiring a preset list component of the application program; the preset list component comprises a plurality of candidate processing functions for the content cards of the application program;
the screening module is used for acquiring a target content channel category, screening at least one first processing function from a plurality of candidate processing functions of the preset list component based on the target content channel category, and generating a target list component;
and the rendering module is used for acquiring at least one first content card corresponding to the target list component in the application program, and rendering and displaying the first content card through the target list component.
In a third aspect, the present application provides an electronic device comprising a memory, a processor and a computer program stored on the memory, wherein the processor executes the computer program to implement the steps of the data processing method.
In a fourth aspect, the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the data processing method described above.
In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of the data processing method described above.
The technical scheme provided by the embodiment of the application has the following beneficial effects:
according to the data processing method, the preset general list component and the target content channel category are obtained, the processing functions needed to be used are screened out from the preset multiple processing functions according to the content cards and the channel categories needing to be processed in the list, the target list component capable of processing the corresponding content cards is customized according to different content channel categories, the corresponding functions are called by the target list component to render and process the content cards in the list, then the processed cards are rendered and displayed again, and the functions and methods in the list component can be timely modified and updated according to the content of the cards and the needed processing modes, so that the processing requirements of the current content are better matched, the data processing efficiency can be effectively improved, and the system processing performance is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 is a schematic flowchart of a data processing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a data processing method according to an embodiment of the present application for acquiring a first content card;
fig. 3 is a schematic flowchart of an example of a data processing method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device to which a data processing method according to an embodiment of the present application is applied.
Detailed Description
Embodiments of the present application are described below in conjunction with the drawings in the present application. It should be understood that the embodiments set forth below in connection with the drawings are exemplary descriptions for explaining technical solutions of the embodiments of the present application, and do not limit the technical solutions of the embodiments of the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should be further understood that the terms "comprises" and "comprising," when used in this specification, specify the presence of stated features, information, data, steps, operations, and components, but do not preclude the presence or addition of other features, information, data, steps, operations, components, and/or groups thereof that may be present in other features, information, data, steps, operations, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein indicates at least one of the items defined by the term, e.g., "a and/or B" may be implemented as "a", or as "B", or as "a and B". When describing a plurality of (two or more) items, if the relationship between the plurality of items is not explicitly defined, the plurality of items may refer to one, more or all of the plurality of items, for example, for the description that "parameter a includes A1, A2, A3", parameter a may include A1, A2 or A3, and parameter a may include at least two of the three items of parameters A1, A2, A3.
To make the objects, technical solutions and advantages of the present application more clear, the following detailed description of the embodiments of the present application will be made with reference to the accompanying drawings.
The terms referred to in this application will first be introduced and explained:
list: the list is a very easy-to-understand display form, the application of the list layout mode is common, a plurality of pieces of information can be displayed in a small screen, and a user can obtain a large amount of information feedback through a gesture of sliding up and down.
Content card: the cards are in a special list form, and the content and the form of each card can be independent and do not interfere with each other, so that different cards bearing different contents can appear in the same page. And because each card exists independently, the information amount can be richer relative to the list. The card design can contain elements such as text, media, and buttons, and can accommodate different devices, screen sizes, balancing the relationship between user interface and user experience. It is clean enough, has good sense of participation, can organize the content better, easily expands and is very flexible.
The existing data processing method is that content cards in a list are processed respectively, after all the content cards are rendered, corresponding cards are displayed according to requirements, each card is processed by selecting a corresponding processing function according to the type and the content, different cards are rendered and processed respectively, a plurality of content cards in a plurality of lists have unique processing methods and management modes, the management process is large in system load, and data processing efficiency is reduced.
The present application provides a data processing method, an apparatus, an electronic device, a storage medium, and a program product, which are intended to solve the above technical problems in the prior art.
The technical solutions of the embodiments of the present application and the technical effects produced by the technical solutions of the present application will be described below through descriptions of several exemplary embodiments. It should be noted that the following embodiments may be referred to, referred to or combined with each other, and the description of the same terms, similar features, similar implementation steps, etc. in different embodiments is not repeated.
In some possible implementations, an embodiment of the present application provides a data processing method, which is applied to an application program with a content card processing requirement, and as shown in fig. 1, the method may include the following steps:
s101, acquiring a preset list component of an application program; the preset list component includes a plurality of candidate processing functions for content cards of an application.
The content card may be a presentation form of different data of the application program, and the content card may include a real name sticker, a posters sticker, an article sticker, an advertisement, and the like.
The preset list component may include a plurality of candidate processing functions, data used for rendering content cards, content cards to be rendered and displayed, corresponding first data identifiers, and the like.
Specifically, the preset list component includes basic functions and data common to each list, and when content cards in the current list are to be rendered or processed, the preset list component is only required to be added or modified according to actual requirements of the list, so that the preset list component conforms to the current application list.
S102, acquiring a target content channel category, screening at least one first processing function from a plurality of candidate processing functions of the preset list component based on the target content channel category, and generating a target list component.
The target content channel category may be classified according to data content of the application program, or according to a presentation form of data of the application program, for example, the target content channel category may include: all dynamic, professional, doorway and industry, etc.
Specifically, a target content channel category of a current list is obtained, processing functions which accord with corresponding relations are obtained from a plurality of preset processing functions based on mapping relations between the content channel category and the corresponding processing functions, and the processing functions are added to a preset list component to generate a target list component; the mapping relationship may be preset, or may be obtained from historical data.
Specifically, after obtaining at least one first processing function, it is further required to obtain identification data of a content card to be displayed, rendering data corresponding to the content card to be rendered, basic function data, data for management, and the like, and according to the various data and functions, a target list component is generated after modifying a preset list component according to actual application requirements.
In a specific implementation process, the service types in the application program may be acquired, the preset list component is set according to different service types, and processing functions and general rendering data related to the corresponding service types are added to the preset list component, for example, a caption list, and then data of basic functions such as likes and dislikes, comments, collections, and forwarding and functions for managing and processing the basic functions may be configured in the preset list component, and data of functions such as references and pictures and related processing functions may also be added.
S103, at least one first content card corresponding to the target list component in the application program is obtained, and the first content card is rendered and displayed through the target list component.
The first content card may include data of the first content card and corresponding identification information, and the identification information and the content card correspond to each other and are unique.
Specifically, the application program has data of a plurality of candidate content cards, the target list component writes identifiers of the content cards to be rendered and displayed according to actual needs, relevant data of the content cards to be displayed are found in the candidate content cards according to the identifiers of the content cards, the content cards and the data are transmitted into the list, and the obtained first content card is rendered and displayed in the list by using functions and data in the list.
In the embodiment, by acquiring the preset general list component and the target content channel category, according to the content cards and the channel categories to be processed in the list, the processing functions to be used are screened out from the preset multiple processing functions, the target list component capable of processing the corresponding content cards is customized according to different content channel categories, the target list component calls the corresponding functions to render and process the content cards in the list, then the processed cards are rendered and displayed again, and the functions and methods in the list component can be modified and updated in time according to the content of the cards and the required processing modes, so that the processing requirements of the current content are better matched, the data processing efficiency can be effectively improved, and the system processing performance is improved.
In some possible embodiments, the step S102 of filtering out at least one first processing function from a plurality of candidate processing functions of the preset list component based on the category of the target content channel to generate the target list component includes:
(1) Based on the target content channel category, screening at least one target processing function from a plurality of candidate processing functions of the preset list component;
(2) Receiving a new processing function input by a user and aiming at the target content channel category;
(3) And generating the target list component based on the target processing function and the newly added processing function.
The new processing function may be a new function defined by the user, added to the target processing function, or modified to replace the original target processing function with the obtained new processing function.
Specifically, the trigger time for receiving the new processing function input by the user may be immediately received when the user uploads, may be received before a new list starts to be processed, or may be received every fixed event.
Specifically, the target list component includes, but is not limited to, a target processing function and an obtained new processing function, and in practical applications, the target list component is generated according to the target processing function, the new processing function, and the basic functions and data, and the target list component can be flexibly modified.
In some possible embodiments, the acquiring at least one first content card corresponding to the target list component in the application program in step S103 includes:
(1) Acquiring a plurality of candidate content cards of an application program, and determining a first data identifier corresponding to the target list component;
(2) At least one of the first content cards is screened out of the candidate content cards based on the first data identification.
The first data identifier may be included in the content card data, or may be additionally set according to the content card display requirement. The first data identification corresponding to the target list component is set according to the requirement of the content card, and the target list component is used for identifying the data identification instead of the whole content card data.
In the specific implementation process, the identification of the candidate content card is obtained, the first data identification and the data identification of the candidate content card are compared, if the two data identifications are the same, the candidate content card is considered to be a required card, and the content card data is placed into a target list component for processing.
In some possible embodiments, the step (2) of screening out at least one first content card from the candidate content cards based on the first data identification, as shown in fig. 2, includes:
s201, acquiring a second data identifier corresponding to the candidate content card.
And the second data identification corresponds to the content cards in the application program one by one. The second data identifier may be set separately and have a preset corresponding relationship with the content card, or may be data or a mark included in the data of the content card, which can distinguish the content card from each other.
Specifically, the related information of the candidate content card is obtained from the data stream transmitted from the server, and the related information may include content card data, data required to be used for rendering the card, and a second data identifier.
S202, matching the second data identification with the first data identification, and taking the candidate content card corresponding to the second data identification matched with the first data identification as the first content card.
The second data identifier may be a number or a segment of a character, and a comparison method between the first data identifier and the second data identifier may be set in the target list component, for example, for a number, a subtraction method or a division method may be used to determine that two numbers are the same, and for a segment of a character, a judgment may be made according to the character comparison method in the target list component.
In the specific implementation process, the first data identifier and the second data identifier are compared, if the two data identifiers are the same, the candidate content card is considered to be the required card, and the data of the content card is placed into the target list component for processing.
In some possible embodiments, the data processing method further includes:
(1) Receiving operation information aiming at target content in the first content card;
(2) Determining a target processing function corresponding to the operation information from the first processing function;
(3) And calling the target processing function to process the operation information.
The operation information may be an operation of the user of the application program on the first content card, including but not limited to: like, attention, collection, forwarding, saving, reminder, and reference; or the modification operation of the update information aiming at the target content transmitted by the application program or the server side.
Specifically, when the operation of the user or the application and the server is detected, the type and the attribute of the operation may be analyzed, a function capable of processing the current operation is screened from at least one target processing function according to the type and the attribute of the operation, and the function is called by the target list component for processing.
Specifically, the corresponding function may be matched from at least one target processing function according to a mapping relationship between a preset operation and a processing function, when the corresponding function is not matched, the target list component may be requested to be updated, then the corresponding function may be selected from a plurality of candidate processing functions according to the mapping relationship, and if the candidate processing function does not respond to the processing function, the application program background may be prompted to newly add the function, and the newly added processing function may be received in time.
In some possible embodiments, before the obtaining the preset list component of the application program in step S101, the method further includes:
(1) Acquiring a historical operation record and a historical content card aiming at the application program;
(2) And determining the candidate processing function from a plurality of processing functions in the preset list component according to the historical operation record and the historical content card.
The historical operation record and the historical content card are processing information of an application program before the current processing is acquired, and may include: newly added processing functions corresponding to the content cards, lists of the same type or at least one target processing function screened out from the content cards, newly added or screened target processing functions corresponding to historical operations, calling processes corresponding to the historical operations and exceptions occurring in the processing processes and solutions.
Specifically, the historical operation records and the historical content cards are obtained, the corresponding relation between the channel types, the card contents and the operation and the processing functions is analyzed, the candidate processing functions are determined from the plurality of processing functions according to the corresponding relation, the preliminary screening of the processing functions is realized, and the accurate selection of the processing functions is facilitated.
Specifically, by analyzing the historical content card, the historical operation records and the corresponding relationship between the historical content card and the historical operation records, some mapping relationships and existing exception handling methods can be obtained, and through the process of historical data, the processing process of the current list can be more accurate, time can be saved, and the processing efficiency can be improved.
In some possible embodiments, before the obtaining the preset list component of the application program in step S101, the method further includes:
(1) Receiving a new processing function input by a user;
(2) And updating the new processing function to the candidate processing function, and updating the preset list component.
The new processing function of the user may be a processing function for the same type of content obtained from the server data stream, or a processing function for the current content input by the user may be directly obtained.
Specifically, when a processing function newly added by a user is received, whether a processing function which is the same as the newly added processing function or part of the processing function has the same content in the current candidate processing function is judged, if yes, the original processing function is covered, and if not, the newly added processing function is updated into the candidate processing function.
In some possible embodiments, the data processing method further includes:
(1) Acquiring a plurality of content channel categories, and determining the mapping relation between each content channel category and the corresponding processing function;
said filtering out at least one first processing function from a plurality of candidate processing functions of said preset list component based on said target content channel category comprises:
(2) Determining at least one first processing function conforming to the mapping relationship from a plurality of candidate processing functions of the preset list component based on the target content channel category and the corresponding mapping relationship.
The mapping relationship may be preset or obtained according to a history operation record, and may be one-to-one or one-to-many.
Specifically, the target content channel category of the current list is obtained, based on the mapping relationship between the content channel category and the corresponding processing function, the processing function which meets the corresponding relationship is obtained from a plurality of preset processing functions, and the processing function is added to the preset list component to generate the target list component.
In the embodiment, by acquiring the preset general list component and the target content channel category, according to the content cards and the channel categories to be processed in the list, the processing functions to be used are screened out from the preset multiple processing functions, the target list component capable of processing the corresponding content cards is customized according to different content channel categories, the target list component calls the corresponding functions to render and process the content cards in the list, then the processed cards are rendered and displayed again, and the functions and methods in the list component can be modified and updated in time according to the content of the cards and the required processing modes, so that the processing requirements of the current content are better matched, the data processing efficiency can be effectively improved, and the system processing performance is improved.
In order to more clearly understand the data processing method described in the embodiments of the present application, the following description will be made in further detail with reference to examples.
In one example, as shown in fig. 3, the data processing method of the present application may include:
acquiring a preset list component (namely, a universal list component shown in the figure) of the application program; the preset list component includes a plurality of candidate processing functions for the content card of the application (i.e., feedStore, gosspstore shown in the figure); acquiring a target content channel category (namely a dynamic list, a postscript list, an industry list and the like shown in the figure), and screening at least one target processing function from a plurality of candidate processing functions of the preset list component based on the target content channel category; receiving a new processing function input by a user and aiming at the target content channel category; generating the target list component (including card exposure, animation loading and the like shown in the figure) based on the target processing function and the newly added processing function; acquiring a plurality of candidate content cards of an application program, and determining a first data identifier corresponding to the target list component; acquiring a second data identifier corresponding to the candidate content card; and matching the second data identifier with the first data identifier, taking the candidate content card corresponding to the second data identifier matched with the first data identifier as the first content card (i.e. style1 card in the figure), and rendering and displaying the first content card through the target list component. Receiving operation information aiming at target content in the first content card; determining a target processing function corresponding to the operation information from the first processing function; and calling the target processing function to process the operation information (namely, data processing shown in the figure).
In the process, the preset general list component and the target content channel category are obtained, the processing functions required to be used are screened out from the preset multiple processing functions according to the content cards and the channel categories required to be processed in the list, the target list component capable of processing the corresponding content cards is customized according to different content channel categories, the corresponding functions are called by the target list component to render and process the content cards in the list, then the processed cards are rendered and displayed again, and the functions and methods in the list component can be modified and updated in time according to the content of the cards and the required processing modes, so that the processing requirements of the current content are matched, the data processing efficiency can be effectively improved, and the system processing performance is improved.
An embodiment of the present application provides a data processing apparatus, and as shown in fig. 4, the apparatus 40 may include: an acquisition module 401, a screening module 402, and a rendering module 403, wherein,
an obtaining module 401, configured to obtain a preset list component of an application; the preset list component comprises a plurality of candidate processing functions for the content cards of the application program;
a screening module 402, configured to obtain a target content channel category, screen at least one first processing function from a plurality of candidate processing functions of the preset list component based on the target content channel category, and generate a target list component;
a rendering module 403, configured to obtain at least one first content card corresponding to the target list component in the application program, and render and display the first content card through the target list component.
In some possible embodiments, the data processing apparatus further includes a data processing module 404, configured to:
receiving operation information aiming at target content in the first content card;
determining a target processing function corresponding to the operation information from the first processing function;
and calling the target processing function to process the operation information.
In some possible embodiments, the obtaining module 401 is further configured to determine a candidate processing function according to the history information, and the method includes:
acquiring a historical operation record and a historical content card aiming at the application program;
and determining the candidate processing function from a plurality of processing functions in the preset list component according to the historical operation records and the historical content cards.
In some possible embodiments, the obtaining module 401 is further configured to update the preset list component, where the method includes:
receiving a new processing function input by a user;
and updating the new processing function to the candidate processing function, and updating the preset list component.
In the data processing device provided by the application, by acquiring the preset general list component and the target content channel category, according to the content cards and the channel categories needing to be processed in the list, processing functions needing to be used are screened out from the preset multiple processing functions, the target list component capable of processing the corresponding content cards is customized according to different content channel categories, the corresponding functions are called by the target list component to render and process the content cards in the list, then the processed cards are rendered and displayed again, and functions and methods in the list component can be modified and updated in time according to the content of the cards and the needed processing modes, so that the processing requirements of the current content are matched, the data processing efficiency can be effectively improved, and the system processing performance is improved.
In an embodiment of the present application, there is provided an electronic device, including a memory, a processor, and a computer program stored in the memory, where the processor executes the computer program to implement the steps of the data processing method, and compared with the related art, the steps of: the functions and methods in the list component are screened and updated according to the channel types, the card contents and the required processing modes, so that the processing requirements of different contents can be met in time, the data processing efficiency can be effectively improved, and the system processing performance is improved.
In an alternative embodiment, an electronic device is provided, as shown in fig. 5, the electronic device 5000 shown in fig. 5 includes: a processor 5001 and a memory 5003. The processor 5001 and the memory 5003 are coupled, such as via a bus 5002. Optionally, the electronic device 5000 may further include a transceiver 5004, and the transceiver 5004 may be used for data interaction between the electronic device and other electronic devices, such as transmission of data and/or reception of data. It should be noted that the transceiver 5004 is not limited to one in practical application, and the structure of the electronic device 5000 does not limit the embodiments of the present application.
The Processor 5001 may be a CPU (Central Processing Unit), general-purpose Processor, DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), FPGA (Field Programmable Gate Array), or other Programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or execute the various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein. The processor 5001 may also be a combination of computing functions, e.g., comprising one or more microprocessors, a combination of a DSP and a microprocessor, or the like.
Bus 5002 can include a path that conveys information between the aforementioned components. The bus 5002 may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus 5002 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
The Memory 5003 may be a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory) or other type of dynamic storage device that can store information and instructions, an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), a magnetic disk storage medium, other magnetic storage devices, or any other medium that can be used to carry or store computer programs and that can be Read by a computer, without limitation.
The memory 5003 is used for storing computer programs for executing the embodiments of the present application, and is controlled by the processor 5001 for execution. The processor 5001 is adapted to execute computer programs stored in the memory 5003 to implement the steps illustrated in the foregoing method embodiments.
Among them, electronic devices include but are not limited to: and terminal equipment such as mobile phones and computers.
Embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, and when being executed by a processor, the computer program may implement the steps and corresponding contents of the foregoing method embodiments.
Embodiments of the present application further provide a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps and corresponding contents of the foregoing method embodiments can be implemented.
The terms "first," "second," "third," "fourth," "1," "2," and the like in the description and claims of this application and in the preceding drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in other sequences than illustrated or otherwise described herein.
It should be understood that, although each operation step is indicated by an arrow in the flowchart of the embodiment of the present application, the implementation order of the steps is not limited to the order indicated by the arrow. In some implementation scenarios of the embodiments of the present application, the implementation steps in the flowcharts may be performed in other sequences as desired, unless explicitly stated otherwise herein. In addition, some or all of the steps in each flowchart may include multiple sub-steps or multiple stages based on an actual implementation scenario. Some or all of these sub-steps or stages may be performed at the same time, or each of these sub-steps or stages may be performed at different times, respectively. In a scenario where execution times are different, an execution sequence of the sub-steps or the phases may be flexibly configured according to requirements, which is not limited in the embodiment of the present application.
The foregoing is only an optional implementation manner of a part of implementation scenarios in this application, and it should be noted that, for those skilled in the art, other similar implementation means based on the technical idea of this application are also within the protection scope of the embodiments of this application without departing from the technical idea of this application.

Claims (12)

1. A data processing method, comprising:
acquiring a preset list component of an application program; the preset list component comprises a plurality of candidate processing functions for content cards of the application program;
acquiring a target content channel category, screening at least one first processing function from a plurality of candidate processing functions of the preset list component based on the target content channel category, and generating a target list component;
and acquiring at least one first content card corresponding to the target list component in the application program, and rendering and displaying the first content card through the target list component.
2. The data processing method of claim 1, wherein the filtering out at least one first processing function from a plurality of candidate processing functions of the preset list component based on the target content channel category to generate a target list component comprises:
filtering out at least one target processing function from a plurality of candidate processing functions of the preset list component based on the target content channel category;
receiving a new processing function input by a user and aiming at the target content channel category;
and generating the target list component based on the target processing function and the newly added processing function.
3. The data processing method of claim 1, wherein the obtaining at least one first content card corresponding to the target list component in the application program comprises:
acquiring a plurality of candidate content cards of an application program, and determining a first data identifier corresponding to the target list component;
at least one of the first content cards is screened out of the candidate content cards based on the first data identification.
4. The data processing method of claim 3, wherein the filtering out at least one first content card from the candidate content cards based on the first data identification comprises:
acquiring a second data identifier corresponding to the candidate content card;
and matching the second data identification with the first data identification, and taking the candidate content card corresponding to the second data identification matched with the first data identification as the first content card.
5. The data processing method of claim 1, wherein the method further comprises:
receiving operation information aiming at target content in the first content card;
determining a target processing function corresponding to the operation information from the first processing function;
and calling the target processing function to process the operation information.
6. The data processing method of claim 1, further comprising, prior to said obtaining the preset list component of the application program:
acquiring a historical operation record and a historical content card aiming at the application program;
and determining the candidate processing function from a plurality of processing functions in the preset list component according to the historical operation records and the historical content cards.
7. The data processing method of claim 1, further comprising, prior to the obtaining the preset list component of the application program:
receiving a new processing function input by a user;
and updating the new processing function to the candidate processing function, and updating the preset list component.
8. The data processing method of claim 1, wherein the method further comprises:
acquiring a plurality of content channel categories, and determining the mapping relation between each content channel category and the corresponding processing function;
said filtering out at least one first processing function from a plurality of candidate processing functions of said preset list component based on said target content channel category comprises:
determining at least one first processing function conforming to the mapping relationship from a plurality of candidate processing functions of the preset list component based on the target content channel category and the corresponding mapping relationship.
9. A data processing apparatus, characterized by comprising:
the acquisition module is used for acquiring a preset list component of the application program; the preset list component comprises a plurality of candidate processing functions for the content cards of the application program;
the screening module is used for acquiring a target content channel category, screening at least one first processing function from a plurality of candidate processing functions of the preset list component based on the target content channel category, and generating a target list component;
and the rendering module is used for acquiring at least one first content card corresponding to the target list component in the application program, and rendering and displaying the first content card through the target list component.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory, characterized in that the processor executes the computer program to implement the steps of the method of any of claims 1 to 8.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the data processing method of any one of claims 1 to 8.
12. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 8 when executed by a processor.
CN202211586988.5A 2022-12-09 2022-12-09 Data processing method, data processing apparatus, electronic device, storage medium, and program product Pending CN115951993A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211586988.5A CN115951993A (en) 2022-12-09 2022-12-09 Data processing method, data processing apparatus, electronic device, storage medium, and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211586988.5A CN115951993A (en) 2022-12-09 2022-12-09 Data processing method, data processing apparatus, electronic device, storage medium, and program product

Publications (1)

Publication Number Publication Date
CN115951993A true CN115951993A (en) 2023-04-11

Family

ID=87289986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211586988.5A Pending CN115951993A (en) 2022-12-09 2022-12-09 Data processing method, data processing apparatus, electronic device, storage medium, and program product

Country Status (1)

Country Link
CN (1) CN115951993A (en)

Similar Documents

Publication Publication Date Title
CN104395882A (en) Creation and context-aware presentation of customized emoticon item sets
CN111831176B (en) Application program management method and device
CN103853548A (en) Method and system for deep links in application contexts
CN101968735B (en) Information processing apparatus and control method thereof
CN110909009B (en) Track accompanying behavior analysis method based on ticket, terminal equipment and storage medium
CN110392155B (en) Notification message display and processing method, device and equipment
CN114860699A (en) Data quality detection method, device, equipment and storage medium
CN113741860A (en) Data processing method and device based on RPA robot
CN111736825B (en) Information display method, device, equipment and storage medium
CN115951993A (en) Data processing method, data processing apparatus, electronic device, storage medium, and program product
CN115793911A (en) Data processing method and device, electronic equipment and storage medium
CN114911479A (en) Interface generation method, device, equipment and storage medium based on configuration
JP2019106137A (en) Display program, display method, display device, comment display control program, comment display control method, and comment display control device
CN110673910B (en) Control method and control device for controlling popup window display in app system
CN109948251B (en) CAD-based data processing method, device, equipment and storage medium
CN108460159B (en) Information reply method, terminal equipment and computer readable storage medium
CN112988810A (en) Information searching method, device and equipment
CN112417259A (en) Media resource processing method, device, equipment and storage medium
CN112307723A (en) Method and device for generating code document and electronic equipment
CN111709210A (en) Method and device for generating component list, terminal equipment and storage medium
CN111694627A (en) Desktop editing method and device
CN112204527A (en) Method and system for processing engineering data in a multi-engineering system environment
US10614104B2 (en) Processing of data relating to entities
JP7334920B1 (en) Information processing system, information processing method and program
CN114840743B (en) Model recommendation method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination