Interface content generation method, device, storage medium and computer equipment

By obtaining the trigger instructions and historical memory information of the application service, the operation and memory representation data are generated, and the interface content parameters are inferred, which solves the problem of high interface content repetition rate and improves the accuracy of the interface content and the personalized push capability.

CN114443204BActive Publication Date: 2024-10-18ANT WEALTH (SHANGHAI) FINANCIAL INFORMATION SERVICES CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210131502.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-11
Publication Date
2024-10-18
Estimated Expiration
2042-02-11

AI Technical Summary

Technical Problem

In the existing technology, the interface content generated by the application has a high repetition rate, cannot be personalized to the user, and cannot accurately obtain the user's interaction data to improve the accuracy of the interface content.

Method used

By obtaining the trigger instructions for the target application service, the operation representation data is generated, and the memory representation data is generated by combining the historical memory information to infer the content parameters of the interface to be displayed, reduce the repetition rate of the interface content, and improve the accuracy of the interface content.

Benefits of technology

By obtaining more accurate interface content, the duplication rate of interface content is reduced, the accuracy of interface content is improved, the ability to personalized push to users is enhanced, and the efficiency of generating interface content is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114443204B_ABST
    Figure CN114443204B_ABST
Patent Text Reader

Abstract

The present specification discloses an interface content generation method, apparatus, storage medium and computer device, wherein the method comprises: obtaining a trigger instruction for a target application service, and then generating operation representation data corresponding to the target application service based on the trigger instruction, and obtaining content parameters of an interface to be displayed of the target application service based on memory representation data and operation representation data corresponding to the target application service, wherein the memory representation data is representation data generated based on historical memory information associated with the target application service, and then generating interface content of the interface to be displayed based on the content parameters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and more specifically, to a method, device, storage medium and computer equipment for generating interface content. Background Art

[0002] When a user starts an application or triggers a target service in the application, the application generates interface content, then displays the interface based on the interface content generation method, and displays it in the display window of the application.

[0003] When generating interface content, the application may generate interface content based on relevant content set in advance by the service provider, or may randomly capture hot content related to the interface function and then generate interface content based on the captured hot content. Summary of the invention

[0004] This specification provides an interface content generation method, device, storage medium and computer equipment, which can solve the technical problem of how to improve the accuracy of interface content.

[0005] In a first aspect, this specification provides a method for generating interface content, the method comprising:

[0006] Obtaining a trigger instruction for a target application service, and generating operation representation data corresponding to the target application service based on the trigger instruction;

[0007] Based on the memory representation data and operation representation data corresponding to the target application service, obtaining content parameters of the to-be-displayed interface of the target application service, wherein the memory representation data is representation data generated based on historical memory information associated with the target application service;

[0008] Based on the content parameters, the interface content of the interface to be displayed is generated.

[0009] In a second aspect, this specification provides an interface content generating device, including:

[0010] An operation representation acquisition module, used to acquire a trigger instruction for a target application service, and generate operation representation data corresponding to the target application service based on the trigger instruction;

[0011] A parameter acquisition module, configured to acquire content parameters of the to-be-displayed interface of the target application service based on memory representation data and operation representation data corresponding to the target application service, wherein the memory representation data is representation data generated based on historical memory information associated with the target application service;

[0012] The content generation module is used to generate the interface content of the interface to be displayed based on the content parameters.

[0013] In a third aspect, the present specification provides a storage medium storing a computer program, wherein the computer program is suitable for being loaded by a processor and executing the steps of the above method.

[0014] In a fourth aspect, an embodiment of the present specification provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the program.

[0015] In an embodiment of the present specification, a trigger instruction for a target application service is obtained, and then operation representation data corresponding to the target application service is generated based on the trigger instruction, thereby obtaining content parameters of the interface to be displayed of the target application service based on the memory representation data and operation representation data corresponding to the target application service, wherein the memory representation data is representation data generated from historical memory information associated with the target application service, that is, based on the interaction actions and historical memory information between the user and the target application service, content parameters of the interface content corresponding to the target application service to be displayed are determined, and then interface content for the user and the target application service is generated based on the content parameters, that is, based on the trigger instruction and the historical memory information, the interface content of the interface to be displayed corresponding to the user and the target application service is inferred, thereby reducing the repetition rate of the interface content corresponding to the target application service, and improving the accuracy of the interface content by obtaining more accurate interface content. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in this specification or 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 this specification. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0017] Figure 1 A system architecture diagram of an interface content generation system provided in an embodiment of this specification;

[0018] Figure 2 A flowchart of a method for generating interface content provided in an embodiment of this specification;

[0019] Figure 3 A flowchart of a method for generating interface content provided in an embodiment of this specification;

[0020] Figure 4 An example schematic diagram of a memory heterogeneous graph provided in an embodiment of this specification;

[0021] Figure 5A schematic diagram of the structure of an interface content generating device provided in an embodiment of this specification;

[0022] Figure 6 A schematic diagram of the structure of an interface content generating device provided in an embodiment of this specification;

[0023] Figure 7 It is a structural schematic diagram of an electronic device provided in an embodiment of this specification;

[0024] Figure 8 It is a schematic diagram of the structure of the operating system and user space provided in the embodiments of this specification;

[0025] Fig. 9 yes Figure 7 The architecture diagram of the Android operating system;

[0026] Fig.10 yes Figure 7 Architecture diagram of the IOS operating system. DETAILED DESCRIPTION

[0027] In order to make the features and advantages of the embodiments of this specification more obvious and easy to understand, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the embodiments of this specification.

[0028] When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of this specification. On the contrary, they are only examples of devices and methods consistent with some aspects of the embodiments of this specification as detailed in the attached claims. The flowcharts shown in the accompanying drawings are only exemplary and do not have to be executed according to the steps shown. For example, some steps are parallel and there is no strict logical order, so the actual execution order is variable. In addition, the terms "first", "second", "third", "fourth", "fifth", "sixth", "seventh", and "eighth" are only for the purpose of distinction and should not be used as limitations of the present disclosure.

[0029] Regardless of whether the interface content displayed by the application is relevant content set in advance by the service provider, or randomly captured hot content related to the interface function, when the user triggers any application service in the application multiple times in a short period of time, the interface content seen based on the same triggered application service is almost the same, especially when the user performs the same interactive action based on the application, the interface content presented by the application is the same, the repetition rate is extremely high, and it is impossible to perform personalized push for users.

[0030] In order to better improve the accuracy of the interface content, please refer to Figure 1 , is a system architecture diagram of an interface content generation system provided in an embodiment of this specification.

[0031] like Figure 1 As shown, the system architecture of the interface content generation system 1 may include: an interface content generation device 10 , an interface content display device 20 , an internal memory storage device 30 and an external memory storage device 40 .

[0032] The interface content generating device 10 can be various electronic devices, including but not limited to smart phones, tablet computers, laptop portable computers and desktop computers, etc., which are not specifically limited here. The interface content display device 20 can be various electronic devices including display devices, including but not limited to smart phones, tablet computers, laptop portable computers and desktop computers, etc., and can also be external display devices such as display screens and projectors, and can also be display devices in the interface content generating device 10, which are not specifically limited here. The internal memory storage device 30 can be various electronic devices including storage media, including but not limited to smart phones, tablet computers, laptop portable computers and desktop computers, etc., and can also be external storage devices such as floppy disks, hard disks, flash memory, etc., and can also be storage devices in the interface content generating device 10, which are not specifically limited here. The external memory storage device 40 can be various electronic devices including storage media, including but not limited to smart phones, tablet computers, laptop portable computers and desktop computers, etc., and can also be external storage devices such as floppy disks, hard disks, flash memory, etc., and can also be storage devices in the interface content generating device 10, which are not specifically limited here.

[0033] It should be noted that the internal memory storage device 30 is used to store internal historical memory information generated based on the target application service, which is the application service in the interface content generation device 10; and the external memory storage device 40 is used to store external historical memory information generated based on other application services associated with the target application service, and the other application service can be an application service other than the target application service in the interface content generation device 10, or an application service in other devices associated with the target application service, and correspondingly, the external memory storage device 40 can be a storage device in the interface content generation device 10, or a storage device outside the interface content generation device 10. The historical memory information includes internal historical memory information and external historical memory information.

[0034] The interface content generating device 10 is used to obtain a trigger instruction for a target application service, and generate operation representation data corresponding to the target application service based on the obtained trigger instruction.

[0035] The interface content generating device 10 is also used to store internal historical memory information corresponding to the target application service to the internal memory storage device 30 and request external historical memory information corresponding to the target application service from the external memory storage device 40 when a trigger instruction for the target application service is obtained.

[0036] The internal memory storage device 30 is used to send the internal historical memory information corresponding to the target application service to the interface content generating device 10 .

[0037] The external memory storage device 40 is used to send the external historical memory information corresponding to the target application service to the interface content generating device 10 .

[0038] The interface content generating device 10 is used to receive the internal historical memory information corresponding to the target application service sent by the internal memory storage device 30, and the external historical memory information corresponding to the target application service sent by the external memory storage device 40, and then generate the memory representation data corresponding to the target application service based on the received internal historical memory information and external historical memory information. Then, based on the memory representation data and operation representation data corresponding to the target application service, the content parameters of the target application service's display interface are obtained, and finally, based on the content parameters, the display content of the interface to be displayed is generated.

[0039] The interface content generating device 10 is further configured to send the generated interface content to the interface content display device 20 .

[0040] The interface content display device 20 is used to receive the interface content sent by the interface content generating device 10 and display the received interface content.

[0041] It should be understood that Figure 1The number of interface content generating devices 10, interface content display devices 20, internal memory storage devices 30 and external memory storage devices 40 is only illustrative, and can be any number of interface content generating devices 10, interface content display devices 20, internal memory storage devices 30 and external memory storage devices 40 according to implementation requirements.

[0042] The following will be combined Figure 2-Figure 4 , the interface content generation method provided in the embodiment of this specification is introduced in detail.

[0043] See also Figure 2 , is a flow chart of a method for generating interface content according to an embodiment of this specification. Figure 2 As shown, the method may include the following steps.

[0044] S102: Acquire a trigger instruction for a target application service, and generate operation representation data corresponding to the target application service based on the trigger instruction.

[0045] In one implementation, the target application service may be any application service in any application in the interface content generating device, or any application service selected in any application. It should be noted that the application service refers to a service product that meets user needs through text, pictures, interactive cards, etc. It can be understood that in the current application scenario, the application is a service set including multiple application services. The trigger instruction is a control instruction for the opening, selection, input, interaction, etc. of the target application service. Exemplarily, if the target application service is application service A, and the application service includes multiple sub-application services a, the trigger instruction for the target application service may be the opening instruction of application service A, the selection instruction of sub-application service a, the input instruction triggered by sub-application service a, and the interaction instruction between sub-application service a, etc., all of which are trigger instructions for the target application service. The operation representation data refers to the feature data obtained by performing data processing operations such as vectorization and feature extraction on the trigger instruction, which is used to represent the operation performed by the user on the target application service. The trigger instruction can be obtained through the input device of the interface content generating device, or the trigger instruction sent to the interface content generating device by other devices can be directly received.

[0046] When the interface content generating device obtains the trigger instruction of the target application service, it processes the trigger instruction to extract the operation feature based on the trigger instruction and generates the operation representation data corresponding to the target application service.

[0047] S104, acquiring content parameters of the to-be-displayed interface of the target application service based on the memory representation data and the operation representation data corresponding to the target application service, wherein the memory representation data is representation data generated based on historical memory information associated with the target application service.

[0048] In one implementation, the memory representation data is representation data generated based on historical memory information associated with the target application service, wherein the historical memory information associated with the target application service includes: memory data generated based on the target application service and memory data generated based on other application services associated with the target application service. Exemplarily, the memory data generated based on the target application service may be historical trigger instructions for the target application service, service data generated by the target application service, application data received based on the target application service, etc., which are data used to represent the historical interaction between the user and the target application service; the memory data generated based on other application services may be historical trigger instructions for other application services, service data generated by other application services, application data received based on other application services, etc., which are data used to represent the historical interaction between the user and other application services. The memory representation data refers to feature data obtained by performing data processing operations such as vectorization and feature extraction on the historical memory information, which is used to represent the interaction features related to the user and the target application service. The interface to be displayed is the interface to be displayed corresponding to the target application service after the interface content generation device executes the trigger instruction. Content parameters refer to parameters related to the interface content that needs to be displayed on the interface to be displayed, such as at least one of the parameters such as content type, content size, content source, and detailed content.

[0049] The interface content generation device first obtains the historical memory information corresponding to the target application service, and then generates the memory representation data corresponding to the target application service based on the obtained historical memory information. After obtaining the operation representation data corresponding to the target application service, the interface content generation device infers the content parameters of the to-be-displayed interface that needs to be presented to the user based on the operation representation data and the memory representation data.

[0050] S106: Generate interface content of the interface to be displayed based on the content parameters.

[0051] In one implementation, the interface content generating device obtains the interface content that meets the content parameters. Exemplarily, the interface content generating device can directly generate the interface content that meets the content parameters, or request the interface content that meets the content parameters from a server connected to the interface content generating device.

[0052] In an embodiment of the present specification, a trigger instruction for a target application service is obtained, and then operation representation data corresponding to the target application service is generated based on the trigger instruction, thereby obtaining content parameters of the interface to be displayed of the target application service based on the memory representation data and operation representation data corresponding to the target application service, wherein the memory representation data is representation data generated from historical memory information associated with the target application service, that is, based on the interaction actions and historical memory information between the user and the target application service, content parameters of the interface content corresponding to the target application service to be displayed are determined, and then interface content for the user and the target application service is generated based on the content parameters, that is, based on the trigger instruction and the historical memory information, the interface content of the interface to be displayed corresponding to the user and the target application service is inferred, thereby reducing the repetition rate of the interface content corresponding to the target application service, and improving the accuracy of the interface content by obtaining more accurate interface content.

[0053] See also Figure 3 , is a flow chart of a method for generating interface content according to an embodiment of this specification. Figure 3 As shown, the method may include the following steps.

[0054] S202: Acquire first historical memory information generated for the target application service and second historical memory information generated based on other application services, where the other application services are application services other than the target application service among multiple application services related to the target application service.

[0055] In one implementation, the memory information corresponding to the target application service includes first historical memory information and second historical memory information. The first historical memory information may be historical trigger instructions for the target application service, service data generated by the target application service, application data received based on the target application service, etc., which are data used to represent the historical interaction between the user and the target application service; the second historical memory information may be historical trigger instructions for other application services, service data generated by other application services, application data received based on other application services, etc., which are data used to represent the historical interaction between the user and other application services. Among them, other application services are application services other than the target application service among multiple application services related to the target application service; it is understandable that other application services may be multiple application services related to the target application service in the interface content generation device, or multiple application services related to the target application service outside the interface content generation device, which are not limited here. It should be noted that other application services are not limited to application services in the interface content generating device, that is, they can be application services of network service providers, application services of financial service providers, and application services of other operators. The second historical memory information corresponding to the target application service can be updated by at least one method of scheduled update and external trigger update, wherein the external trigger update means that when other application services generate new memory information, the memory information is sent directly to the interface content generating device, or an update prompt is sent to the interface content generating device, so that the interface content generating device determines the update time of the second historical memory information based on the update prompt.

[0056] The interface content generating device first determines a plurality of other application services related to the target application service, and then obtains the first historical memory information generated by the target application service, and the second historical memory information generated by the other application services. In some implementations, in order to improve the accuracy of the interface content, the historical memory information associated with the current user can be screened out from the first historical memory information, and similarly, the historical memory information associated with the current user can be screened out from the second historical information, so as to perform content parameter inference based on the screened first historical memory information and the screened second historical memory information.

[0057] S204: Generate memory representation data corresponding to the target application service based on the first historical memory information and the second historical memory information.

[0058] In one implementation, the interface content generation device performs feature extraction operations such as classification, organization, digitization, vectorization, weight calculation, and eigenvalue calculation on the first historical memory information and the second historical memory information to generate memory representation data corresponding to the target application service.

[0059] By acquiring multiple types of historical memory information corresponding to the target application service, the information type and amount of the historical memory information corresponding to the target application service are improved, and the amount of information of the memory representation data obtained based on the historical memory information is increased, thereby increasing the feature data used to obtain content parameters, so as to improve the accuracy of content parameters by increasing features.

[0060] In one implementation, when generating memory representation data, the interface content generating device may generate a memory heterogeneous graph corresponding to the target application service based on the first historical memory information and the second historical memory information; and generate memory representation data corresponding to the target application service based on the memory heterogeneous graph.

[0061] The memory heterogeneous graph includes multiple types of nodes and edges between nodes, where each edge has its corresponding weight value, and the edges between nodes can also be called the relationship between nodes. Figure 4 As shown, Figure 4 An example schematic diagram of a memory heterogeneous graph is shown.

[0062] Exemplarily, if the first historical memory information is question 1 displayed by the target application service, answer A selected based on question 1, question 2, text B entered based on question 2, etc., and the second historical memory information is the number of times the target application service is opened within a set time interval, the user's financial information, the user's credit information, usage information of other application services, etc., then there can be two input and output nodes, namely question 1-answer A and question 2-text B. The number node is the number of times the service is opened within the set time interval, a financial node and its branches are generated based on the user's financial information, a credit node and its branches are generated based on the user's credit information, and multiple related service nodes and their branches are generated based on the usage information of other application services.

[0063] The interface content generation device performs heterogeneous graph generation operations such as classification, sorting, digitization, vectorization, and weight calculation on the first historical memory information and the second historical memory information to generate a memory heterogeneous graph corresponding to the target application service, and then generates memory representation data corresponding to the target application service based on multiple nodes in the memory heterogeneous graph and the weights between each node. It can be understood that the node content of each node in the memory heterogeneous graph is a digital representation, that is, a numerical value.

[0064] By generating a memory heterogeneous graph corresponding to the target application service, the processing efficiency of historical memory information is improved, thereby improving the efficiency of obtaining interface content.

[0065] In one implementation, when generating memory representation data, a third number of target nodes may be selected in the memory heterogeneous graph; and based on each target node and the relationship chain corresponding to each target node, memory representation data corresponding to the target application service may be generated.

[0066] The interface content generating device first counts the total number of nodes in the memory heterogeneous graph. If the total number of nodes is greater than the node number threshold, a third number of target nodes are randomly selected from the memory heterogeneous graph. It should be noted that the target node is limited to the next level node of the user node. For example, if the current memory heterogeneous graph is as follows Figure 4 In the memory heterogeneous graph shown, the third number is 2, and the next-level nodes of the user node are financial nodes, service record nodes, related service B nodes, related service A nodes, etc., and the target node is at least two of the next-level nodes of the user node.

[0067] Then, the selected target nodes and the relationship chains corresponding to the target nodes are obtained. For example, if the selected nodes are financial nodes and service record nodes, the relationship chain corresponding to the financial nodes is a branch structure with the financial nodes as the root nodes, including balance nodes, relationship weights between balance nodes and financial nodes, ..., fund manager nodes, and relationship weights between fund nodes and fund manager nodes. Similarly, the relationship chain corresponding to the service record nodes is also a branch structure with the service record nodes as the root nodes.

[0068] Finally, based on the selected target nodes and the relationship chains corresponding to the target nodes, memory representation data corresponding to the target application service is generated. Figure 4 For example, if the selected target nodes are the related service A node and the service record node, the value of the user node is expressed as X, the value of the related service A node is expressed as Y1, and the relationship weight with the user node is 3, the value of the frequency A node is expressed as Y2, and the relationship weight with the related service A node is 2, the value of the preference A node is expressed as Y3, and the relationship weight with the related service A node is 1, the value of the service record node is expressed as Z1, and the relationship weight with the user node is 9, the value of the number node is expressed as Z2, and the relationship weight with the service record node is 7, the value of the interface content node is expressed as Z3, and the relationship weight with the service record node is 6, the value of the input and output information node is expressed as Z4, and the relationship weight with the interface node is 6, the value of the D node is expressed as D, and the relationship weight with the service record node is d, then the memory representation parameter is a vectorized expression of X+3*(Y1+2*Y2+1*Y3)+9*(Z1+7*Z2+6*(Z3+6*Z4)+dD). It should be emphasized that the above example is only for the purpose of illustrating a method for obtaining the memory representation parameter, and is not limited to the memory representation parameter being calculated based on this method.

[0069] It can be understood that when the total number of nodes in the memory structure graph is less than or equal to the node number threshold, the memory representation data corresponding to the target application service is calculated directly based on multiple nodes in the memory heterogeneous graph and the relationship weights between each node.

[0070] By randomly selecting a third number of target nodes, when the memory heterogeneous graph is too large, the huge amount of calculation caused by traversing and calculating all nodes in the memory heterogeneous graph is reduced, thereby improving the efficiency of generating interface content.

[0071] S206: Acquire a trigger instruction for a target application service, and generate operation representation data corresponding to the target application service based on the trigger instruction.

[0072] In one implementation, the target application service may be any application service in any application in the interface content generating device, or any application service selected in any application. It should be noted that the application service refers to a service product that meets user needs through text, pictures, interactive cards, etc. It can be understood that in the current application scenario, the application is a service set including multiple application services. The trigger instruction is a control instruction for the opening, selection, input, interaction, etc. of the target application service. Exemplarily, if the target application service is application service A, and the application service includes multiple sub-application services a, the trigger instruction for the target application service may be the opening instruction of application service A, the selection instruction of sub-application service a, the input instruction triggered by sub-application service a, and the interaction instruction between sub-application service a, etc., all of which are trigger instructions for the target application service. The operation representation data refers to the feature data obtained by performing data processing operations such as vectorization and feature extraction on the trigger instruction, which is used to represent the operation performed by the user on the target application service. The trigger instruction can be obtained through the input device of the interface content generating device, or the trigger instruction sent to the interface content generating device by other devices can be directly received.

[0073] When the interface content generating device obtains the trigger instruction of the target application service, it processes the trigger instruction to extract the operation feature based on the trigger instruction and generates the operation representation data corresponding to the target application service.

[0074] S208: Acquire user characterization data corresponding to the target application service, where the user characterization data is characterization data generated based on the user portrait and the user operation context.

[0075] In one embodiment, the user characterization data is characterization data generated based on the user portrait and the user operation context, wherein the user portrait includes the user's individual attribute characteristics, such as ID, sex, age, occupation, location, self-selected preferences, etc.; the user operation context includes the first historical interaction information between the user and the target application service, that is, the interaction information generated by the target application service after the user opens the target application service; the user may be the user who is currently using the target application service. In another embodiment, the user operation context may also include the second historical interaction information between the user and the target application service, that is, the interaction information generated by each application service in the target application after the user opens the target application service to which the target application service belongs.

[0076] The interface content generation device obtains the user portrait and user operation context corresponding to the current user of the target application service, and then performs feature extraction operations such as classification, organization, digitization, and vectorization on the obtained user portrait and user operation context to generate user representation data corresponding to the target application service.

[0077] S210: Acquire content parameters of the to-be-displayed interface of the target application service based on the user representation data, the memory representation data, and the operation representation data.

[0078] In one embodiment, the interface content generation device inputs the user representation data, memory representation data, and operation representation data into the content parameter decision model, so that the content parameter decision model decides the content parameters of the interface to be displayed based on the user representation data, memory representation data, and operation representation data. It can be understood that the content parameter decision model is trained based on a large amount of representation data and its corresponding parameter labels.

[0079] By acquiring user characterization data, the decision basis about the user is increased in the decision-making process, so that the content parameter decision model can decide content parameters that are more suitable for the user, thereby improving the accuracy of content parameters for the user.

[0080] In one embodiment, when obtaining the content parameters of the interface to be displayed, a content parameter decision can be made based on the type of trigger instruction, wherein if the trigger instruction is a first instruction, the memory recovery degree corresponding to the target application service is obtained based on the user representation data and memory representation data corresponding to the target application service, and the first instruction is used to open the service interface of the target application service; using the memory recovery degree, the content parameters of the interface to be displayed of the target application service are obtained based on the user representation data, the memory representation data and the operation representation data.

[0081] The first instruction is used to open the service interface of the target application service, that is, the first instruction is a trigger instruction generated by the first interaction between the user and the target application service. It can be understood that when the user exits / stops the target application service, reopening the target application service can also be understood as the first interaction between the user and the target application service, and the corresponding trigger instruction is also the first instruction. The degree of memory recovery includes at least three levels of memory recovery: full recovery, partial recovery, and complete clearing. Among them, full recovery means that all interface contents of the interface that the target application service was displaying before the user last exited the target application service are displayed; partial recovery is to select part of the interface content from the interface content of the interface that the target application service was displaying before the user last exited the target application service, and display it; complete clearing means that the interface content of the interface to be displayed is irrelevant to the interface content of the interface that the target application service was displaying before the user last exited the target application service.

[0082] The interface content generation device first determines the instruction type of the trigger instruction, so that when the trigger instruction is the first instruction, the user representation data and the memory representation data are input into the recovery degree reasoning model. The recovery degree reasoning model infers the memory recovery degree of the interface to be displayed based on the user representation data and the memory representation data. It can be understood that the recovery degree reasoning model is trained based on a large amount of representation data and its corresponding memory recovery degree. Exemplarily, the interface content generation device can directly identify the instruction type of the trigger instruction when the trigger instruction is obtained, or it can identify the instruction type of the trigger instruction based on the operation representation data. Then the memory recovery degree, user representation data, memory representation data and operation representation data are input into the content decision model, and the content decision model decides the content parameters based on the memory recovery degree and multiple representation data.

[0083] For example, assuming that the memory representation data reflects the number of times the target application service is turned on within a set time interval, when the number of times the target application service is turned on is greater than or equal to the first number threshold, the memory recovery degree is determined to be completely cleared; when the number of times the target application service is turned on is greater than or equal to the second number threshold, and less than the first number threshold, the memory recovery degree is determined to be partially recovered; when the number of times the target application service is turned on is less than the second number threshold, the memory recovery degree is determined to be fully recovered. For example, if the user turns on the target application service repeatedly in a short period of time, it may be because he does not want to see the interface content or is not interested in the interface content, so the recommended output of the interface content can be reduced when generating the interface content; if the user has only turned on the target application service two or three times in a short period of time, it may be because he accidentally exited due to a misoperation, so the interface content of the previous display interface can be directly displayed when generating the interface content.

[0084] By determining the instruction type of the trigger instruction, the memory recovery degree of the interface content of the to-be-displayed interface can be inferred when the target application service is started, thereby further refining the accuracy of the content parameters based on the memory recovery degree, thereby improving the accuracy of the interface content.

[0085] In one embodiment, when obtaining the content parameters of the interface to be displayed, the content parameter decision can be made according to the degree of memory recovery, wherein if the degree of memory recovery is complete recovery, the historical content parameters corresponding to the target application service are obtained, and the historical content parameters are used as the content parameters of the interface to be displayed of the target application service; if the degree of memory recovery is partial recovery, a first number of historical content parameters are selected from the historical content parameters corresponding to the target application service, and a second number of target content parameters are generated based on the user representation data, the memory representation data, and the operation representation data, and the first number of historical content parameters and the second number of target content parameters are used as the content parameters of the interface to be displayed of the target application service; if the degree of memory recovery is completely cleared, the content parameters of the interface to be displayed of the target application service are generated based on the user representation data, the memory representation data, and the operation representation data.

[0086] When the memory recovery degree is fully recovered, the content parameter decision model of the interface content generating device directly obtains the historical content parameters corresponding to the target application service, uses the obtained historical content parameters as the content parameters of the interface to be displayed, and outputs them. The historical content parameters are the content parameters of the interface being displayed by the target application service before the user last exited the target application service; if the memory recovery degree is partially restored, the historical content parameters corresponding to the target application service are also obtained, and then a first number of historical content parameters are selected from the obtained historical content parameters, and target content parameters are decided based on user representation data, memory representation data, and operation representation data, and then a second number of target content parameters are selected from the decided target content parameters, and finally the selected first number of historical content parameters and the second number of target content parameters are integrated into the content parameters of the interface to be displayed, and output them; if the memory recovery degree is completely cleared, the memory parameters of the interface to be displayed are directly decided based on the user representation data, memory representation data, and operation representation data, and output them.

[0087] By obtaining a number of content parameters corresponding to the degree of memory recovery, and then combining them with another number of currently decided content parameters, different content parameters of the interface to be displayed are obtained, so that different content parameters can be output for different possible situations (such as repeated exit and start, exit due to erroneous operation, etc.), thereby improving the accuracy of content parameters in different application scenarios.

[0088] In one implementation, the acquiring, based on the user representation data, the memory representation data, and the operation representation data, content parameters of the to-be-displayed interface of the target application service includes:

[0089] If the trigger instruction is a second instruction, the content parameters of the interface to be displayed of the target application service are obtained based on the user representation data, memory representation data and operation representation data corresponding to the target application service, and the second instruction is used to start the functional interface of any function in the service interface of the target application service.

[0090] The second instruction is used to start the function interface of any function in the service interface of the target application service, that is, the target application service is already in the started state, and then a trigger instruction is triggered based on the current display interface of the target application service, such as starting / triggering / controlling the sub-application service of the target application service.

[0091] When the trigger instruction is the second instruction, the interface content generating device determines that there is no need to restore the display content of the interface that was being displayed by the target application service before the user last exited the target application service. The memory recovery degree, user characterization data, memory characterization data, and operation characterization data can be directly input into the content decision model. The content decision model decides the content parameters based on the memory recovery degree and multiple characterization data.

[0092] By determining the instruction type of the trigger instruction, content parameters that meet the requirements can be directly obtained without executing other processes during the continuous use of the target application service, thereby improving the efficiency of generating interface content.

[0093] S212: Generate interface content of the interface to be displayed based on the content parameters.

[0094] In one implementation, the interface content generating device obtains the interface content that meets the content parameters. Exemplarily, the interface content generating device can directly generate the interface content that meets the content parameters, or request the interface content that meets the content parameters from a server connected to the interface content generating device.

[0095] In an embodiment of the present specification, by obtaining a trigger instruction for a target application service, and then generating operation representation data corresponding to the target application service based on the trigger instruction, the content parameters of the interface to be displayed of the target application service are obtained based on the memory representation data and the operation representation data corresponding to the target application service, wherein the memory representation data is representation data generated by historical memory information associated with the target application service, that is, based on the interaction actions and historical memory information between the user and the target application service, the content parameters of the interface content corresponding to the target application service to be displayed are determined, and then the interface content for the user and the target application service is generated based on the content parameters, that is, based on the trigger instruction and the historical memory information, the interface content of the interface to be displayed corresponding to the user and the target application service is inferred, the repetition rate of the interface content corresponding to the target application service is reduced, and the accuracy of the interface content is improved by obtaining more accurate interface content; by obtaining a variety of historical memory information corresponding to the target application service, the information type and information amount of the historical memory information corresponding to the target application service are increased, and the information amount of the memory representation data obtained based on the historical memory information is increased, thereby increasing the feature data used to obtain the content parameters, so as to improve the accuracy of the content parameters by increasing the features; by generating the memory corresponding to the target application service Heterogeneous graph, improves the processing efficiency of historical memory information, and thus improves the efficiency of obtaining interface content; by randomly selecting a third number of target nodes, when the memory heterogeneous graph is too large, reduces the huge amount of calculation caused by traversing and calculating all nodes in the memory heterogeneous graph, and improves the efficiency of generating interface content; by obtaining user representation data, increases the decision basis for users in the decision-making process, so that the content parameter decision model decides content parameters that are more suitable for users, and improves the accuracy of content parameters for users; by determining the instruction type of the trigger instruction, the memory recovery degree of the interface content to be displayed can be inferred when the target application service is opened, so as to The degree of memory recovery further refines the accuracy of content parameters, thereby improving the accuracy of interface content; by obtaining a number of content parameters corresponding to the degree of memory recovery, and then combining another number of currently decided content parameters, different content parameters of the interface to be displayed are obtained, so that different possible situations (such as repeated exit and start, exit due to erroneous operation, etc.) are output, thereby improving the accuracy of content parameters in different application scenarios; by determining the instruction type of the trigger instruction, in the process of continuously using the target application service, content parameters that meet the requirements can be directly obtained without executing other processes, thereby improving the efficiency of interface content generation.

[0096] The following will be combined with the attached Figure 5 -Attached Figure 6 The interface content generation device provided in the embodiments of this specification is described in detail. Figure 5 -Attached Figure 6Interface content generation device, used to execute the embodiments of this specification Figure 2-Figure 4 For the convenience of explanation, only the part related to the embodiment of this specification is shown. For the specific technical details not disclosed, please refer to the embodiment of this specification. Figure 2-Figure 4 The embodiment shown.

[0097] See also Figure 5 , is a schematic diagram of the structure of an interface content generation device provided in the embodiment of this specification. Figure 5 As shown, the interface content generating device 1 of the embodiment of this specification may include: an operation representation acquiring module 11 , a parameter acquiring module 12 and a content generating module 13 .

[0098] The operation representation acquisition module 11 is used to acquire a trigger instruction for a target application service and generate operation representation data corresponding to the target application service based on the trigger instruction;

[0099] A parameter acquisition module 12, configured to acquire content parameters of the to-be-displayed interface of the target application service based on memory representation data and operation representation data corresponding to the target application service, wherein the memory representation data is representation data generated based on historical memory information associated with the target application service;

[0100] The content generation module 13 is used to generate the interface content of the interface to be displayed based on the content parameters.

[0101] In an embodiment of the present specification, a trigger instruction for a target application service is obtained, and then operation representation data corresponding to the target application service is generated based on the trigger instruction, thereby obtaining content parameters of the interface to be displayed of the target application service based on the memory representation data and operation representation data corresponding to the target application service, wherein the memory representation data is representation data generated from historical memory information associated with the target application service, that is, based on the interaction actions and historical memory information between the user and the target application service, content parameters of the interface content corresponding to the target application service to be displayed are determined, and then interface content for the user and the target application service is generated based on the content parameters, that is, based on the trigger instruction and the historical memory information, the interface content of the interface to be displayed corresponding to the user and the target application service is inferred, thereby reducing the repetition rate of the interface content corresponding to the target application service, and improving the accuracy of the interface content by obtaining more accurate interface content.

[0102] In one implementation, the parameter acquisition module 13 is specifically used to:

[0103] Acquire user characterization data corresponding to the target application service, wherein the user characterization data is generated based on a user portrait and a user operation context;

[0104] Based on the user representation data, the memory representation data and the operation representation data, content parameters of the to-be-displayed interface of the target application service are acquired.

[0105] In the embodiments of this specification, by acquiring user characterization data, the decision basis about the user is increased in the decision-making process, so that the content parameter decision model can decide content parameters that are more suitable for the user, thereby improving the accuracy of content parameters for the user.

[0106] In one implementation, the parameter acquisition module 13 is specifically used to:

[0107] If the trigger instruction is a first instruction, obtaining the memory recovery degree corresponding to the target application service based on the user representation data and memory representation data corresponding to the target application service, the first instruction being used to open the service interface of the target application service;

[0108] The memory recovery degree is used to obtain content parameters of the to-be-displayed interface of the target application service based on the user representation data, the memory representation data and the operation representation data.

[0109] In the embodiments of the present specification, by determining the instruction type of the trigger instruction, the memory recovery degree of the interface content of the interface to be displayed can be inferred when the target application service is started, so that the accuracy of the content parameters can be further refined based on the memory recovery degree, thereby improving the accuracy of the interface content.

[0110] In one implementation, the parameter acquisition module 13 is specifically used to:

[0111] If the memory recovery degree is complete recovery, obtaining the historical content parameters corresponding to the target application service, and using the historical content parameters as the content parameters of the interface to be displayed of the target application service;

[0112] If the memory recovery degree is partial recovery, selecting a first number of the historical content parameters from the historical content parameters corresponding to the target application service, generating a second number of target content parameters based on the user representation data, the memory representation data, and the operation representation data, and using the first number of the historical content parameters and the second number of the target content parameters as content parameters of the to-be-displayed interface of the target application service;

[0113] If the memory recovery degree is completely cleared, content parameters of the to-be-displayed interface of the target application service are generated based on the user representation data, the memory representation data and the operation representation data.

[0114] In the embodiments of the present specification, by obtaining a number of content parameters corresponding to the degree of memory recovery, and then combining them with another number of currently determined content parameters, different content parameters of the interface to be displayed are obtained, thereby outputting different content parameters for different possible situations (such as repeated exit and start, exit due to erroneous operation, etc.), thereby improving the accuracy of content parameters in different application scenarios.

[0115] In one implementation, the parameter acquisition module 13 is specifically used to:

[0116] If the trigger instruction is a second instruction, the content parameters of the interface to be displayed of the target application service are obtained based on the user representation data, memory representation data and operation representation data corresponding to the target application service, and the second instruction is used to start the functional interface of any function in the service interface of the target application service.

[0117] In the embodiment of the present specification, by determining the instruction type of the trigger instruction, content parameters that meet the requirements can be directly obtained without executing other processes during the continuous use of the target application service, thereby improving the efficiency of generating interface content.

[0118] In another embodiment, please refer to Figure 6 , is a schematic diagram of the structure of an interface content generation device provided in the embodiment of this specification. Figure 6 As shown, the interface content generating device 1 of the embodiment of this specification may further include: a memory representation acquiring module 14 .

[0119] The memory representation acquisition module 14 is specifically used for:

[0120] Acquire first historical memory information generated for the target application service, and second historical memory information generated based on other application services, where the other application services are application services other than the target application service among multiple application services related to the target application service;

[0121] Based on the first historical memory information and the second historical memory information, memory representation data corresponding to the target application service is generated.

[0122] In the embodiments of the present specification, by acquiring multiple types of historical memory information corresponding to the target application service, the information type and amount of the historical memory information corresponding to the target application service are improved, and the amount of information of the memory representation data obtained based on the historical memory information is increased, thereby increasing the feature data used to obtain the content parameters, so as to improve the accuracy of the content parameters by increasing the number of features.

[0123] In one embodiment, the memory representation acquisition module 14 is specifically used to:

[0124] Based on the first historical memory information and the second historical memory information, generating a memory heterogeneous graph corresponding to the target application service;

[0125] Based on the memory heterogeneous graph, memory representation data corresponding to the target application service is generated.

[0126] In the embodiments of the present specification, by generating a memory heterogeneous graph corresponding to the target application service, the processing efficiency of the historical memory information is improved, thereby improving the efficiency of obtaining the interface content.

[0127] In one embodiment, the memory representation acquisition module 14 is specifically used to:

[0128] In the memory heterogeneous graph, selecting a third number of target nodes;

[0129] Based on each target node and the relationship chain corresponding to each target node, memory representation data corresponding to the target application service is generated.

[0130] In the embodiment of the present specification, by randomly selecting a third number of target nodes, when the memory heterogeneous graph is too large, the huge amount of calculation caused by traversing and calculating all nodes in the memory heterogeneous graph is reduced, thereby improving the efficiency of generating interface content.

[0131] The present specification also provides a storage medium, which can store multiple program instructions, which are suitable for being loaded and executed by a processor as described above. Figure 2-Figure 4 The method steps of the embodiment shown in the figure can be found in the specific implementation process. Figure 2-Figure 4 The specific description of the illustrated embodiment will not be repeated here.

[0132] The embodiment of the present specification also provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by the processor as described above. Figure 2-Figure 4 The interface content generation method of the embodiment shown in the figure can be specifically executed by referring to Figure 2-Figure 4 The specific description of the illustrated embodiment will not be repeated here.

[0133] Please refer to Figure 7 , which shows a block diagram of the structure of an electronic device provided by an exemplary embodiment of the present specification. The electronic device in the embodiment of the present specification may include the following components: a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, the memory 120, the input device 130, and the output device 140 may be connected via the bus 150.

[0134] The processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions and processes data of the electronic device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 110 can integrate one or a combination of a processor (central processing unit, CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.

[0135] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 120 includes a non-transitory computer-readable storage medium. The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 may include a storage program area and a storage data area, wherein the storage program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The operating system may be an Android system, including a system deeply developed based on an Android system, an IOS system developed by Apple, including a system deeply developed based on an IOS system or other systems. The storage data area may also store data created by the electronic device during use, such as a phone book, audio and video data, chat record data, etc.

[0136] See also Figure 8As shown, the memory 120 can be divided into an operating system space and a user space. The operating system runs in the operating system space, and native and third-party applications run in the user space. In order to ensure that different third-party applications can achieve good operating results, the operating system allocates corresponding system resources to different third-party applications. However, different application scenarios in the same third-party application also have different requirements for system resources. For example, in the local resource loading scenario, the third-party application has higher requirements for disk reading speed; in the animation rendering scenario, the third-party application has higher requirements for GPU performance. The operating system and third-party applications are independent of each other, and the operating system often cannot perceive the current application scenario of the third-party application in a timely manner, resulting in the operating system being unable to perform targeted system resource adaptation according to the specific application scenario of the third-party application.

[0137] In order for the operating system to distinguish the specific application scenarios of third-party applications, it is necessary to open up data communication between third-party applications and the operating system so that the operating system can obtain the current scenario information of third-party applications at any time, and then perform targeted system resource adaptation based on the current scenario.

[0138] Taking the Android operating system as an example, the programs and data stored in the memory 120 are as follows: Fig. 9As shown, the memory 120 may store a Linux kernel layer 320, a system runtime library layer 340, an application framework layer 360 and an application layer 380, wherein the Linux kernel layer 320, the system runtime library layer 340 and the application framework layer 360 belong to the operating system space, and the application layer 380 belongs to the user space. The Linux kernel layer 320 provides underlying drivers for various hardware of electronic devices, such as display drivers, audio drivers, camera drivers, Bluetooth drivers, Wi-Fi drivers, power management, etc. The system runtime library layer 340 provides the main feature support for the Android system through some C / C++ libraries. For example, the SQLite library provides database support, the OpenGL / ES library provides 3D drawing support, and the Webkit library provides browser kernel support, etc. The Android runtime library (Android runtime) is also provided in the system runtime library layer 340, which mainly provides some core libraries that allow developers to use the Java language to write Android applications. The application framework layer 360 provides various APIs that may be used when building applications. Developers can also use these APIs to build their own applications, such as activity management, window management, view management, notification management, content provider, package management, call management, resource management, and location management. At least one application runs in the application layer 380. These applications can be native applications that come with the operating system, such as contact applications, text messaging applications, clock applications, camera applications, etc.; they can also be third-party applications developed by third-party developers, such as game applications, instant messaging applications, photo beautification applications, wallpaper setting applications, etc.

[0139] Taking the operating system as an IOS system as an example, the programs and data stored in the memory 120 are as follows: Fig.10As shown, the IOS system includes: a core operating system layer 420 (Core OS layer), a core service layer 440 (Core Services layer), a media layer 460 (Media layer), and a touchable layer 480 (Cocoa Touch Layer). The core operating system layer 420 includes the operating system kernel, drivers, and underlying program frameworks, which provide functions closer to the hardware for use by the program framework located in the core service layer 440. The core service layer 440 provides system services and / or program frameworks required by the application, such as the foundation framework, account framework, advertising framework, data storage framework, network connection framework, geographic location framework, motion framework, etc. The media layer 460 provides audio-visual interfaces for the application, such as graphics and image related interfaces, audio technology related interfaces, video technology related interfaces, and wireless playback (AirPlay) interfaces for audio and video transmission technologies. The touchable layer 480 provides various commonly used interface-related frameworks for application development, and the touchable layer 480 is responsible for the user's touch interaction operations on the electronic device. For example, local notification service, remote push service, advertising framework, game tool framework, message user interface (UI) framework, user interface UIKit framework, map framework, etc.

[0140] exist Fig.10 Among the frameworks shown, the frameworks related to most applications include but are not limited to: the basic framework in the core service layer 440 and the UIKit framework in the touchable layer 480. The basic framework provides many basic object classes and data types, provides the most basic system services for all applications, and has nothing to do with UI. The classes provided by the UIKit framework are basic UI class libraries for creating touch-based user interfaces. iOS applications can provide UIs based on the UIKit framework, so it provides the basic architecture of applications for building user interfaces, drawing, processing and user interaction events, responding to gestures, etc.

[0141] Among them, the method and principle of implementing data communication between third-party applications and the operating system in the IOS system can be referred to the Android system, and the embodiments of this specification will not be repeated here.

[0142] Among them, the input device 130 is used to receive input instructions or data, and the input device 130 includes but is not limited to a keyboard, a mouse, a camera, a microphone or a touch device. The output device 140 is used to output instructions or data, and the output device 140 includes but is not limited to a display device and a speaker. In one example, the input device 130 and the output device 140 can be combined, and the input device 130 and the output device 140 are touch screen displays, which are used to receive touch operations on or near the user using any suitable object such as a finger or a touch pen, and to display the user interface of each application. The touch screen display is usually set on the front panel of the electronic device. The touch screen display can be designed as a full screen, a curved screen or a special-shaped screen. The touch screen display can also be designed as a combination of a full screen and a curved screen, or a combination of a special-shaped screen and a curved screen, which is not limited in the embodiments of this specification.

[0143] In addition, those skilled in the art can understand that the structure of the electronic device shown in the above drawings does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange the components differently. For example, the electronic device also includes components such as a radio frequency circuit, an input unit, a sensor, an audio circuit, a Wi-Fi module, a power supply, and a Bluetooth module, which will not be described in detail here.

[0144] In the embodiments of this specification, the execution subject of each step may be the electronic device described above. Optionally, the execution subject of each step is the operating system of the electronic device. The operating system may be an Android system, an IOS system, or other operating systems, which is not limited in the embodiments of this specification.

[0145] The electronic device of the embodiment of this specification may also be equipped with a display device, which may be various devices capable of realizing display functions, such as cathode ray tube display (CR), light-emitting diode display (LED), electronic ink screen, liquid crystal display (LCD), plasma display panel (PDP), etc. The user may use the display device on the electronic device 101 to view displayed text, images, videos and other information. The electronic device may be a smart phone, a tablet computer, a gaming device, an AR (Augmented Reality) device, a car, a data storage device, an audio playback device, a video playback device, a notebook, a desktop computing device, a wearable device such as an electronic watch, an electronic glasses, an electronic helmet, an electronic bracelet, an electronic necklace, electronic clothing and other devices.

[0146] exist Figure 7 In the electronic device shown, the processor 110 may be used to call the interface content generation program stored in the memory 120, and specifically perform the following operations:

[0147] Obtaining a trigger instruction for a target application service, and generating operation representation data corresponding to the target application service based on the trigger instruction;

[0148] Based on the memory representation data and operation representation data corresponding to the target application service, obtaining content parameters of the to-be-displayed interface of the target application service, wherein the memory representation data is representation data generated based on historical memory information associated with the target application service;

[0149] Based on the content parameters, the interface content of the interface to be displayed is generated.

[0150] In one implementation, when the processor 110 executes the memory representation data and the operation representation data corresponding to the target application service to obtain the content parameters of the to-be-displayed interface of the target application service, the processor 110 specifically performs the following operations:

[0151] Acquire user characterization data corresponding to the target application service, wherein the user characterization data is generated based on a user portrait and a user operation context;

[0152] Based on the user representation data, the memory representation data and the operation representation data, content parameters of the to-be-displayed interface of the target application service are acquired.

[0153] In one implementation, when the processor 110 executes the acquisition of the content parameters of the to-be-displayed interface of the target application service based on the user representation data, the memory representation data, and the operation representation data, the processor 110 specifically performs the following operations:

[0154] If the trigger instruction is a first instruction, obtaining the memory recovery degree corresponding to the target application service based on the user representation data and memory representation data corresponding to the target application service, the first instruction being used to open the service interface of the target application service;

[0155] The memory recovery degree is used to obtain content parameters of the to-be-displayed interface of the target application service based on the user representation data, the memory representation data and the operation representation data.

[0156] In one implementation, when the memory recovery degree is used to obtain the content parameters of the to-be-displayed interface of the target application service based on the user representation data, the memory representation data, and the operation representation data, the following operations are specifically performed:

[0157] If the memory recovery degree is complete recovery, obtaining the historical content parameters corresponding to the target application service, and using the historical content parameters as the content parameters of the interface to be displayed of the target application service;

[0158] If the memory recovery degree is partial recovery, selecting a first number of the historical content parameters from the historical content parameters corresponding to the target application service, generating a second number of target content parameters based on the user representation data, the memory representation data, and the operation representation data, and using the first number of the historical content parameters and the second number of the target content parameters as content parameters of the to-be-displayed interface of the target application service;

[0159] If the memory recovery degree is completely cleared, content parameters of the to-be-displayed interface of the target application service are generated based on the user representation data, the memory representation data and the operation representation data.

[0160] In one implementation, when the processor 110 executes the acquisition of the content parameters of the to-be-displayed interface of the target application service based on the user representation data, the memory representation data, and the operation representation data, the processor 110 specifically performs the following operations:

[0161] If the trigger instruction is a second instruction, the content parameters of the interface to be displayed of the target application service are obtained based on the user representation data, memory representation data and operation representation data corresponding to the target application service, and the second instruction is used to start the functional interface of any function in the service interface of the target application service.

[0162] In one implementation, the processor 110, when executing the memory information corresponding to the target application service, includes the first historical memory information and the second historical memory information, obtains the trigger instruction for the target application service, and generates the operation representation data corresponding to the target application service based on the trigger instruction, further performs the following operations:

[0163] Acquire first historical memory information generated for the target application service, and second historical memory information generated based on other application services, where the other application services are application services other than the target application service among multiple application services related to the target application service;

[0164] Based on the first historical memory information and the second historical memory information, memory representation data corresponding to the target application service is generated.

[0165] In one implementation, when the processor 110 generates the memory representation data corresponding to the target application service based on the first historical memory information and the second historical memory information, the processor 110 specifically performs the following operations:

[0166] Based on the first historical memory information and the second historical memory information, generating a memory heterogeneous graph corresponding to the target application service;

[0167] Based on the memory heterogeneous graph, memory representation data corresponding to the target application service is generated.

[0168] In one implementation, the processor 110 executes the memory heterogeneous graph including multiple memory nodes and the relationship between each memory node in the multiple memory nodes, and generates the memory representation data corresponding to the target application service based on the memory heterogeneous graph, and specifically performs the following operations:

[0169] In the memory heterogeneous graph, selecting a third number of target nodes;

[0170] Based on each target node and the relationship chain corresponding to each target node, memory representation data corresponding to the target application service is generated.

[0171] In an embodiment of the present specification, by obtaining a trigger instruction for a target application service, and then generating operation representation data corresponding to the target application service based on the trigger instruction, the content parameters of the interface to be displayed of the target application service are obtained based on the memory representation data and the operation representation data corresponding to the target application service, wherein the memory representation data is representation data generated by historical memory information associated with the target application service, that is, based on the interaction actions and historical memory information between the user and the target application service, the content parameters of the interface content corresponding to the target application service to be displayed are determined, and then the interface content for the user and the target application service is generated based on the content parameters, that is, based on the trigger instruction and the historical memory information, the interface content of the interface to be displayed corresponding to the user and the target application service is inferred, the repetition rate of the interface content corresponding to the target application service is reduced, and the accuracy of the interface content is improved by obtaining more accurate interface content; by obtaining a variety of historical memory information corresponding to the target application service, the information type and information amount of the historical memory information corresponding to the target application service are increased, and the information amount of the memory representation data obtained based on the historical memory information is increased, thereby increasing the feature data used to obtain the content parameters, so as to improve the accuracy of the content parameters by increasing the features; by generating the memory corresponding to the target application service Heterogeneous graph, improves the processing efficiency of historical memory information, and thus improves the efficiency of obtaining interface content; by randomly selecting a third number of target nodes, when the memory heterogeneous graph is too large, reduces the huge amount of calculation caused by traversing and calculating all nodes in the memory heterogeneous graph, and improves the efficiency of generating interface content; by obtaining user representation data, increases the decision basis for users in the decision-making process, so that the content parameter decision model decides content parameters that are more suitable for users, and improves the accuracy of content parameters for users; by determining the instruction type of the trigger instruction, the memory recovery degree of the interface content to be displayed can be inferred when the target application service is opened, so as to The degree of memory recovery further refines the accuracy of content parameters, thereby improving the accuracy of interface content; by obtaining a number of content parameters corresponding to the degree of memory recovery, and then combining another number of currently decided content parameters, different content parameters of the interface to be displayed are obtained, so that different possible situations (such as repeated exit and start, exit due to erroneous operation, etc.) are output, thereby improving the accuracy of content parameters in different application scenarios; by determining the instruction type of the trigger instruction, in the process of continuously using the target application service, content parameters that meet the requirements can be directly obtained without executing other processes, thereby improving the efficiency of interface content generation.

[0172] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of this specification are not limited by the order of the actions described, because according to the embodiments of this specification, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of this specification.

[0173] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0174] The above is a description of an interface content generation method, an interface content generation device, a storage medium and a device provided in the embodiments of this specification. For technicians in this field, according to the ideas of the embodiments of this specification, there may be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on one or embodiments of this specification.

Claims

1. A method for generating interface content, the method include: Acquire user representation data corresponding to the target application service, wherein the user representation data is generated based on the user portrait and the user operation context; If the trigger instruction is the first instruction, the user representation data and the memory representation data are input into the recovery degree reasoning model. The recovery degree reasoning model infers the memory recovery degree of the interface to be displayed based on the user representation data and the memory representation data. The recovery degree reasoning model is trained based on the user representation data and its corresponding memory recovery degree. The first instruction is used to open the service interface of the target application service. The memory recovery degree includes three memory recovery degrees: full recovery, partial recovery and complete clearing. Among them, full recovery means that the interface content of the interface that the target application service is displaying before the user last exits the target application service is fully displayed; partial recovery is to select part of the interface content of the interface that the target application service is displaying before the user last exits the target application service, and display it; complete clearing means that the interface content of the interface to be displayed is irrelevant to the interface content of the interface that the target application service is displaying before the user last exits the target application service; Input the memory recovery degree, user characterization data, memory characterization data and operation characterization data into the content decision model to determine the content parameters, wherein the operation characterization data is feature data obtained by performing data processing operations on the trigger instruction, and is used to represent the operation performed by the user on the target application service, the content decision model is trained based on the user characterization data and its corresponding parameter labels, the memory characterization data is feature data generated based on the historical memory information associated with the target application service, and the memory characterization data is feature data obtained by performing data processing operations on the historical memory information, and is used to represent the interaction characteristics related to the user and the target application service; Based on the content parameters, the interface content of the interface to be displayed is generated.

2. The method according to claim 1, wherein the memory recovery degree, user characterization data, memory characterization data and operation characterization data are input into a content decision model to determine content parameters, include: If the memory recovery degree is complete recovery, obtaining the historical content parameters corresponding to the target application service, and using the historical content parameters as the content parameters of the interface to be displayed of the target application service; If the memory recovery degree is partial recovery, selecting a first number of the historical content parameters from the historical content parameters corresponding to the target application service, generating a second number of target content parameters based on the user representation data, the memory representation data, and the operation representation data, and using the first number of the historical content parameters and the second number of the target content parameters as content parameters of the to-be-displayed interface of the target application service; If the memory recovery degree is completely cleared, content parameters of the to-be-displayed interface of the target application service are generated based on the user representation data, the memory representation data and the operation representation data.

3. The method according to claim 1, wherein the content parameters of the to-be-displayed interface of the target application service are obtained based on the user representation data, the memory representation data and the operation representation data. include: If the trigger instruction is a second instruction, the content parameters of the interface to be displayed of the target application service are obtained based on the user representation data, memory representation data and operation representation data corresponding to the target application service, and the second instruction is used to start the functional interface of any function in the service interface of the target application service.

4. According to the method of claim 1, the memory information corresponding to the target application service includes first historical memory information and second historical memory information, and before obtaining the trigger instruction for the target application service and generating the operation representation data corresponding to the target application service based on the trigger instruction, further include: Acquire first historical memory information generated for the target application service, and second historical memory information generated based on other application services, where the other application services are application services other than the target application service among multiple application services related to the target application service; Based on the first historical memory information and the second historical memory information, memory representation data corresponding to the target application service is generated.

5. The method according to claim 4, wherein the memory representation data corresponding to the target application service is generated based on the first historical memory information and the second historical memory information, include: Based on the first historical memory information and the second historical memory information, generating a memory heterogeneous graph corresponding to the target application service, the memory heterogeneous graph including a plurality of nodes and a relationship between each of the plurality of nodes, the nodes being used to indicate different types of information in the first historical memory information and the second historical memory information; Based on the memory heterogeneous graph, memory representation data corresponding to the target application service is generated.

6. The method according to claim 5, wherein the memory representation data corresponding to the target application service is generated based on the memory heterogeneous graph. include: In the memory heterogeneous graph, selecting a third number of target nodes; Based on each target node and the relationship chain corresponding to each target node, memory representation data corresponding to the target application service is generated.

7. An interface content generating device, include: An operation representation acquisition module is used to acquire user representation data corresponding to a target application service, wherein the user representation data is generated based on a user portrait and a user operation context; If the trigger instruction is the first instruction, the user representation data and the memory representation data are input into the recovery degree reasoning model. The recovery degree reasoning model infers the memory recovery degree of the interface to be displayed based on the user representation data and the memory representation data. The recovery degree reasoning model is trained based on the user representation data and its corresponding memory recovery degree. The first instruction is used to open the service interface of the target application service. The memory recovery degree includes three memory recovery degrees: full recovery, partial recovery and complete clearing. Among them, full recovery means that the interface content of the interface that the target application service is displaying before the user last exits the target application service is fully displayed; partial recovery is to select part of the interface content of the interface that the target application service is displaying before the user last exits the target application service, and display it; complete clearing means that the interface content of the interface to be displayed is irrelevant to the interface content of the interface that the target application service is displaying before the user last exits the target application service; Input the memory recovery degree, user characterization data, memory characterization data and operation characterization data into the content decision model to determine the content parameters, wherein the operation characterization data is feature data obtained by performing data processing operations on the trigger instruction, and is used to represent the operation performed by the user on the target application service, the content decision model is trained based on the user characterization data and its corresponding parameter labels, the memory characterization data is feature data generated based on the historical memory information associated with the target application service, and the memory characterization data is feature data obtained by performing data processing operations on the historical memory information, and is used to represent the interaction characteristics related to the user and the target application service; The content generation module is used to generate the interface content of the interface to be displayed based on the content parameters.

8. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the interface content generating method according to any one of claims 1 to 6.

9. A computer program product comprising instructions, which, when executed on a computer or a processor, enables the computer or the processor to execute the method for generating interface content according to any one of claims 1 to 6.

10. A computer device, include: 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 interface content generation method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Method and device for recommending products by customer service

    CN108537644A