CN114443204A - Interface content generation method and device, storage medium and computer equipment - Google Patents

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

Info

Publication number
CN114443204A
CN114443204A CN202210131502.2A CN202210131502A CN114443204A CN 114443204 A CN114443204 A CN 114443204A CN 202210131502 A CN202210131502 A CN 202210131502A CN 114443204 A CN114443204 A CN 114443204A
Authority
CN
China
Prior art keywords
application service
memory
target application
characterization data
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210131502.2A
Other languages
Chinese (zh)
Inventor
李大乾
董扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ant Fortune Shanghai Financial Information Service Co ltd
Original Assignee
Ant Fortune Shanghai Financial Information Service Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ant Fortune Shanghai Financial Information Service Co ltd filed Critical Ant Fortune Shanghai Financial Information Service Co ltd
Priority to CN202210131502.2A priority Critical patent/CN114443204A/en
Publication of CN114443204A publication Critical patent/CN114443204A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]

Abstract

The specification discloses an interface content generation method, an interface content generation device, a storage medium and computer equipment, wherein the method comprises the following steps: the method comprises the steps of obtaining a trigger instruction aiming at a target application service, then generating operation representation data corresponding to the target application service based on the trigger instruction, 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 are representation data generated based on historical memory information associated with the target application service, and further generating interface content of the interface to be displayed based on the content parameters.

Description

Interface content generation method and device, storage medium and computer equipment
Technical Field
The present specification relates to the field of data processing, and in particular, to an interface content generation method, apparatus, storage medium, and computer device.
Background
When a user starts an application program or triggers a target service in the application program, the application program can generate interface content, then an interface is displayed based on the interface content generation method, and the interface is displayed in a display window of the application program.
When the application program generates the interface content, the interface content can be generated based on related content set by a service provider in advance, or hot content related to the interface function can be randomly captured, and then the interface content can be generated based on the captured hot content.
Disclosure of Invention
The present specification provides an interface content generation method, an interface content generation apparatus, a storage medium, and a computer device, which can solve the technical problem of how to improve the accuracy of interface content.
In a first aspect, the present specification provides a method for generating interface content, the method comprising:
acquiring a trigger instruction for a target application service, and generating operation representation data corresponding to the target application service based on the trigger instruction;
acquiring content parameters of an interface to be displayed of the target application service based on memory characterization data and operation characterization data corresponding to the target application service, wherein the memory characterization data is characterization data generated based on historical memory information associated with the target application service;
and generating the interface content of the interface to be displayed based on the content parameters.
In a second aspect, the present specification provides an interface content generating apparatus comprising:
the operation representation acquisition module is used for acquiring a trigger instruction aiming at a target application service and generating operation representation data corresponding to the target application service based on the trigger instruction;
the parameter acquisition module is used for acquiring content parameters of an interface to be displayed of the target application service based on memory characterization data and operation characterization data corresponding to the target application service, wherein the memory characterization data is characterization data generated based on historical memory information associated with the target application service;
and the content generation module is used for generating the interface content of the interface to be displayed based on the content parameters.
In a third aspect, the present description provides a storage medium storing a computer program adapted to be loaded by a processor and to perform the steps of the above-described method.
In a fourth aspect, embodiments of the present specification provide a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method when executing the program.
In the embodiment of the specification, a trigger instruction for a target application service is acquired, and then operation characterization data corresponding to the target application service is generated based on the trigger instruction, so as to acquire interface content parameters to be displayed of the target application service based on memory characterization data and operation characterization data corresponding to the target application service, where the memory characterization data is characterization data generated from historical memory information associated with the target application service, that is, based on an interaction between a user and the target application service and historical memory information, content parameters of 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, interface content to be displayed corresponding to the user and the target application service is estimated, the repetition rate of the interface content corresponding to the target application service is reduced, and the accuracy rate of the interface content is improved by acquiring more accurate interface content.
Drawings
In order to more clearly illustrate the technical solutions in the present specification or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present specification, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a system architecture diagram of an interface content generation system provided in an embodiment of the present specification;
fig. 2 is a schematic flowchart of an interface content generating method provided in an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of an interface content generating method provided in an embodiment of the present specification;
FIG. 4 is a diagram illustrating an example of a memory map according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an interface content generating apparatus provided in an embodiment of the present specification;
fig. 6 is a schematic structural diagram of an interface content generating apparatus provided in an embodiment of the present specification;
fig. 7 is a schematic structural diagram of an electronic device provided in an embodiment of the present specification;
FIG. 8 is a block diagram of an operating system and a user space provided in an embodiment of the present disclosure;
FIG. 9 is an architectural diagram of the android operating system of FIG. 7;
FIG. 10 is an architecture diagram of the IOS operating system of FIG. 7.
Detailed Description
In order to make the features and advantages of the embodiments of the present disclosure more obvious and understandable, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are only a part of the embodiments of the present disclosure, but not all the embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification without any inventive step are within the scope of the protection of the embodiments in the present specification.
The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the examples of this specification. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the embodiments of the specification, as detailed in the appended claims. The flow diagrams depicted in the figures are merely exemplary and need not be performed in the order of the steps shown. For example, some steps are parallel, and there is no strict sequence relationship in logic, so the actual execution sequence is variable. In addition, the terms "first", "second", "third", "fourth", "fifth", "sixth", "seventh", "eighth" are for the purpose of distinction only and should not be construed as limiting the present disclosure.
No matter the interface content displayed by the application program is related content set by a service provider in advance or hot content related to the interface function is captured randomly, when a user triggers any application service in the application program for multiple times in a short time, the interface content viewed based on the same triggered application service is almost consistent, especially when the user executes the same interaction action based on the application program, the interface content presented by the application program is the same, the repetition rate is extremely high, and personalized push cannot be performed for the user.
In order to better improve the precision of the interface content, please refer to fig. 1, which is a system architecture diagram of an interface content generating system provided in an embodiment of the present disclosure.
As shown in fig. 1, the system architecture of the interface content generating system 1 may include: an interface content generating device 10, an interface content display device 20, an internal storage device 30, and an external storage device 40.
The interface content generating apparatus 10 may be various electronic devices including, but not limited to, a smart phone, a tablet computer, a laptop portable computer, a desktop computer, and the like, and is not limited in particular herein. The interface content display device 20 may be various electronic devices including a display device, including but not limited to a smart phone, a tablet computer, a laptop portable computer, a desktop computer, and the like, an external display device such as a display screen, a projector, and the like, and a display device in the interface content generating device 10, and is not limited in particular. The internal memory storage device 30 may be various electronic devices including storage media, including but not limited to a smart phone, a tablet computer, a laptop portable computer, a desktop computer, and the like, an external storage device such as a floppy disk, a hard disk, a flash memory, and the like, and a storage device in the interface content generating device 10, and is not limited in particular. The external memory storage device 40 may be various electronic devices including storage media, including but not limited to a smart phone, a tablet computer, a laptop portable computer, a desktop computer, etc., an external storage device such as a floppy disk, a hard disk, a flash memory, etc., and a storage device in the interface content generating apparatus 10, and is not limited in particular.
It should be noted that the internal memory storage device 30 is used for storing internal history memory information generated based on a target application service, which is an application service in the interface content generating device 10; and the external memory storage device 40 is used for storing external history memory information generated based on other application services associated with the target application service, and the other application services may be application services in the interface content generation device 10 except for the target application service, or may be application services in other devices associated with the target application service, and correspondingly, the external memory storage device 40 may be a storage device in the interface content generation device 10, or may be a storage device in the interface content generation device 10. The history memory information comprises internal history memory information and external history memory information.
The interface content generating device 10 is configured to acquire a trigger instruction for a target application service, and generate operation characterization data corresponding to the target application service based on the acquired trigger instruction.
The interface content generating device 10 is further configured to, when acquiring the trigger instruction for the target application service, request the internal history storage device 30 for the internal history storage information corresponding to the target application service, and request the external history storage device 40 for the external history storage information corresponding to the target application service.
The internal memory storage device 30 is used to transmit the internal history information corresponding to the target application service to the interface content generating device 10.
The external memory storage device 40 is used to transmit the external history memory information corresponding to the target application service to the interface content generating device 10.
The interface content generating device 10 is configured to receive the internal history memory information corresponding to the target application service sent by the internal memory storage device 30 and the external history memory information corresponding to the target application service sent by the external memory storage device 40, and then generate memory representation data corresponding to the target application service based on the received internal history memory information and the received external history memory information. And finally, based on the content parameters, generating the display content of the interface to be displayed.
The interface content generating device 10 is also configured to transmit the generated interface content to the interface content display device 20.
The interface content display device 20 is configured to receive the interface content sent by the interface content generation device 10 and display the received interface content.
It should be understood that the number of the interface content generating device 10, the interface content display device 20, the internal memory storage device 30, and the external memory storage device 40 in fig. 1 is only illustrative, and any number of the interface content generating device 10, the interface content display device 20, the internal memory storage device 30, and the external memory storage device 40 may be used according to implementation needs.
The interface content generating method provided in the embodiments of the present disclosure will be described in detail below with reference to fig. 2 to 4.
Referring to fig. 2, a flow chart of an interface content generating method is provided for the embodiment of the present specification. As shown in fig. 2, the method may include the following steps.
S102, a trigger instruction for a target application service is obtained, and operation representation data corresponding to the target application service is generated based on the trigger instruction.
In one implementation, the target application service may be each application service in any one of the application programs in the interface content generation apparatus, or may be an application service arbitrarily selected from any one of the application programs. It should be noted that the application service refers to a service product that meets the user's needs through text, pictures, interactive cards, and the like. It will be appreciated that in the current application scenario, an application is a service collection comprising a plurality of application services. The trigger instruction refers to control instructions for starting, selecting, inputting, interacting and the like of the target application service. For example, if the target application service is an application service a, where the application service includes a plurality of sub-application services a, the trigger instruction for the target application service may be a start instruction of the application service a, a selection instruction of the sub-application service a, an input instruction triggered based on the sub-application service a, an interaction instruction with the sub-application service a, and the like, which are all trigger instructions for the target application service. The operation representation data is feature data obtained by performing data processing operations such as vectorization, feature extraction and the like on the trigger instruction, and is used for representing operations performed on the target application service by the user. The trigger command may be acquired by an input device of the interface content generation device, or may be directly received from a trigger command transmitted from another device to the interface content generation device.
And when the interface content generation device acquires the trigger instruction of the target application service, performing data processing on the trigger instruction to extract operation characteristics based on the trigger instruction and generate operation representation data corresponding to the target application service.
S104, acquiring content parameters of an interface to be displayed of the target application service based on memory characterization data and operation characterization data corresponding to the target application service, wherein the memory characterization data is characterization data generated based on historical memory information associated with the target application service.
In one implementation, the remembered characterizing data is characterizing 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. Illustratively, 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, and the like, and is used for representing historical interaction situations between the user and the target application service; the memory data generated by the other application service may be historical trigger instructions for the other application service, service data generated by the other application service, application data received by the other application service, and the like, and is used for representing historical interaction situations between the user and the other application service. The memory characterization data is feature data obtained by performing data processing operations such as vectorization, feature extraction and the like on historical memory information and is used for representing interactive features related to the target application service. And after the interface to be displayed is the interface which is corresponding to the target application service and is to be displayed after the interface content generation device executes the trigger instruction. The content parameter refers to a relevant parameter of interface content required to be displayed on the interface to be displayed, such as at least one of parameters of content type, content size, content source, detailed content and the like.
The interface content generation device firstly acquires historical memory information corresponding to the target application service, and then generates memory representation data corresponding to the target application service based on the acquired historical memory information. After the interface content generation device acquires the operation representation data corresponding to the target application service, content parameters of an interface to be displayed, which need to be presented to a user, are inferred based on the operation representation data and the memory representation data.
And S106, generating the interface content of the interface to be displayed based on the content parameters.
In one implementation, the interface content generating device obtains the interface content meeting the content parameter. For example, the interface content generating device may directly generate the interface content satisfying the content parameter, or may request the server connected to the interface content generating device for the interface content satisfying the content parameter.
In the embodiment of the specification, a trigger instruction for a target application service is acquired, and then operation characterization data corresponding to the target application service is generated based on the trigger instruction, so as to acquire interface content parameters to be displayed of the target application service based on memory characterization data and operation characterization data corresponding to the target application service, where the memory characterization data is characterization data generated from historical memory information associated with the target application service, that is, based on an interaction between a user and the target application service and historical memory information, content parameters of 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, interface content to be displayed corresponding to the user and the target application service is estimated, the repetition rate of the interface content corresponding to the target application service is reduced, and the accuracy rate of the interface content is improved by acquiring more accurate interface content.
Referring to fig. 3, a flow chart of an interface content generating method is provided for the embodiment of the present specification. As shown in fig. 3, the method may include the following steps.
S202, acquiring first history memory information generated aiming at the target application service and second history memory information generated based on other application services, wherein the other application services are application services except the target application service in a plurality of application services related to the target application service.
In one implementation manner, the memory information corresponding to the target application service includes first history memory information and second history memory information, where the first history memory information may be a history trigger instruction for the target application service, service data generated by the target application service, application data received based on the target application service, and the like, and is used to represent data of a history interaction situation between a user and the target application service; the second history memory information may be history trigger instructions for other application services, service data generated by other application services, application data received based on other application services, and the like, and is data representing a history of interaction between the user and other application services. Wherein the other application service is an application service other than the target application service among a plurality of application services related to the target application service; it is to be understood that the other application services may be a plurality of application services related to the target application service in the interface content generating apparatus, or may be a plurality of application services related to the target application service outside the interface content generating apparatus, and are not limited herein. It should be noted that the other application services are not limited to the application services in the interface content generating device, that is, the application services of the network service provider, the application services of the financial service provider, and the application services of the other operators, and the second history memory information corresponding to the target application service may be updated by at least one of a timing update method and an external trigger update method, where the external trigger update is to directly send the memory information to the interface content generating device or send an update prompt to the interface content generating device when the other application services generate new memory information, so that the interface content generating device determines the update time of the second history memory information based on the update prompt.
The interface content generating device firstly determines a plurality of other application services related to the target application service, and then acquires first historical memory information generated by the target application service and second historical memory information generated by the other application services. In some implementations, in order to improve the accuracy of the interface content, historical memory information associated with the current user may be further filtered out from the first historical memory information, and similarly, historical memory information associated with the current user may be filtered out from the second historical information, so that content parameter inference is performed based on the filtered first historical memory information and the filtered second historical memory information.
S204, based on the first historical memory information and the second historical memory information, memory representation data corresponding to the target application service is generated.
In one implementation, the interface content generating device performs feature extraction operations such as classification, sorting and induction, digitization, vectorization, weight calculation, feature value calculation and the like on the first history memory information and the second history memory information to generate memory representation data corresponding to the target application service.
By acquiring various historical memory information corresponding to the target application service, the information type and the information amount of the historical memory information corresponding to the target application service are improved, and the information amount of memory representation data obtained based on the historical memory information is improved, so that the characteristic data for acquiring the content parameters is increased, and the accuracy of the content parameters is improved by increasing the characteristics.
In one implementation manner, when the interface content generating device generates the memory representation data, the interface content generating device may generate a memory heteromorphic graph corresponding to the target application service based on the first historical memory information and the second historical memory information; and generating memory representation data corresponding to the target application service based on the memory abnormal graph.
The memory heterogeneous graph comprises various types of nodes and edges among the nodes, wherein each edge has a corresponding weight value, and the edges among the nodes can also be called as the relationship among the nodes. As shown in fig. 4, fig. 4 shows an exemplary diagram of a memory map.
Illustratively, if the first history memory information is question 1 displayed by the target application service, answer a selected based on question 1, question 2, text B input based on question 2, etc., and the second history memory information is the number of times the target application service is opened within a set time interval, financial information of the user, credit information of the user, usage information of other application services, etc., there may be two input and output nodes, which are question 1-answer a and question 2-text B, respectively, and the number of times node is the number of times the target application service is opened within the set time interval, a financial node and its branch are generated based on the financial information of the user, a credit node and its branch are generated based on the credit information of the user, and a plurality of related service nodes and their branches are generated based on the usage information of other application services.
The interface content generation device carries out heterogeneous graph generation operations such as classification, sorting and induction, digitalization, vectorization, weight calculation and the like 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 memory representation data corresponding to the target application service is generated based on the weight between a plurality of nodes and each node in the memory heterogeneous graph. It can be understood that the node contents of each node in the memory heteromorphic graph are all in a digital representation form, namely, a numerical value.
By generating the memory abnormal graph corresponding to the target application service, the processing efficiency of the historical memory information is improved, and the acquisition efficiency of the interface content is further improved.
In one implementation, when generating the memory characterization data, a third number of target nodes may be selected from the memory anomaly map; and generating memory representation data corresponding to the target application service based on each target node and the relation chain corresponding to each target node.
The interface content generating device firstly counts the total number of nodes in the memory abnormal graph. If the total number of the nodes is greater than the threshold of the number of the nodes, randomly selecting a third number of target nodes in the memory heterogeneous graph, wherein the target nodes are limited to be nodes at the next stage of the user nodes. For example, if the current memory map is the memory map as shown in fig. 4, and the third number is 2, the next-level nodes of the user nodes are financial nodes, service record nodes, related service B nodes, related service a nodes, and the like, and the target nodes are at least two of the next-level nodes of the user nodes.
And then obtaining the selected target nodes and the corresponding relationship chains of the target nodes, wherein for example, if the selected nodes are the financial nodes and the service record nodes, the corresponding relationship chains of the financial nodes are branch structures with the financial nodes as root nodes, and include balance nodes, relationship weights between the balance nodes and the financial nodes, … …, fund manager nodes, relationship weights between the fund nodes and the fund manager nodes, and similarly, the corresponding relationship chains of the service record nodes are also branch structures with the service record nodes as root nodes.
And finally, based on the selected target nodes and the corresponding relationship chains of the target nodes, generating memory representation data corresponding to the target application service. Illustratively, taking fig. 4 as an example, if the selected target nodes are the related service a node and the service record node, the value of the user node is represented by X, the value of the related service a node is represented by Y1, the relationship weight with the user node is 3, the value of the frequency a node is represented by Y2, the relationship weight with the related service a node is 2, the value of the preference a node is represented by Y3, the relationship weight with the related service a node is 1, the value of the service record node is represented by Z1, the relationship weight with the user node is 9, the value of the time node is represented by Z2, the relationship weight with the service record node is 7, the value of the interface content node is represented by Z3, the relationship weight with the service record node is 6, the value of the input/output information node is represented by Z4, the relationship weight with the interface node is 6, the value of the D node is represented by D, b, c, and the relation weight with the service record node is d, and the memory characterization parameter is a vectorized expression form of X +3 (Y1+ 2Y 2+ 1Y 3) +9 (Z1+ 7Z 2+6 (Z3+ 6Z 4) + dD). It should be emphasized that the foregoing examples are merely for convenience of illustrating a manner of obtaining the memory characterization parameters, and are not limited to the memory characterization parameters being calculated based on the manner.
It can be understood that when the total number of nodes of the memory organization graph is less than or equal to the threshold number of nodes, the memory representation data corresponding to the target application service is directly calculated based on the relationship weights between the plurality of nodes and each node in the memory organization graph.
By randomly selecting the third number of target nodes, when the memory abnormal configuration diagram is overlarge, the huge calculation amount caused by traversing and calculating all the nodes in the memory abnormal configuration diagram is reduced, and the generation efficiency of the interface content is improved.
S206, acquiring a trigger instruction aiming at the target application service, and generating operation representation data corresponding to the target application service based on the trigger instruction.
In one implementation, the target application service may be each application service in any one of the application programs in the interface content generation apparatus, or may be an application service arbitrarily selected from any one of the application programs. It should be noted that the application service refers to a service product that meets the user's needs through text, pictures, interactive cards, and the like. It is understood that in the current application scenario, an application is a service set that includes a plurality of application services. The trigger instruction refers to control instructions for starting, selecting, inputting, interacting and the like of the target application service. For example, if the target application service is an application service a, where the application service includes a plurality of sub-application services a, the trigger instruction for the target application service may be a start instruction of the application service a, a selection instruction of the sub-application service a, an input instruction triggered based on the sub-application service a, an interaction instruction with the sub-application service a, and the like, which are all trigger instructions for the target application service. The operation representation data is feature data obtained by performing data processing operations such as vectorization, feature extraction and the like on the trigger instruction, and is used for representing operations performed on the target application service by the user. The trigger instruction may be acquired by an input device of the interface content generation device, or may be directly received from another device to the interface content generation device.
And when the interface content generation device acquires the trigger instruction of the target application service, performing data processing on the trigger instruction to extract operation characteristics based on the trigger instruction and generate operation representation data corresponding to the target application service.
S208, obtaining user characterization data corresponding to the target application service, wherein the user characterization data is generated based on the user portrait and the user operation context.
In one embodiment, the user characterization data is characterization data generated based on a user representation and a user operation context, wherein the user representation comprises individual attribute features of the user, such as ID, sexual characteristics, age, occupation, location, self-selection preference and the like; the user operation context comprises first historical interaction information between the user and the target application service, namely interaction information generated based on the target application service after the user starts the target application service; the user may be a user currently using the target application service. In another embodiment, the user operation context may further include second historical interaction information between the user target application services, that is, interaction information generated by the user based on each application service in the target application program after the target application program to which the target application service belongs is opened.
The interface content generation device acquires a user portrait and a user operation context corresponding to a current user of the target application service, and then performs feature extraction operations such as classification, sorting induction, digitalization, vectorization and the like on the acquired user portrait and the user operation context to generate user characterization data corresponding to the target application service.
S210, based on the user characterization data, the memory characterization data and the operation characterization data, obtaining content parameters of an interface to be displayed of the target application service.
In one embodiment, the interface content generating device inputs the user representation data, the memory representation data and the operation representation data into the content parameter decision model, so that the content parameter decision model decides the content parameter of the interface to be displayed based on the user representation data, the memory representation data and the operation representation data. It is understood that the content parameter decision model is trained based on a large amount of characterization data and its corresponding parameter labels.
By acquiring the user representation data, the decision basis about the user in the decision process is increased, so that the content parameter decision model makes a decision on the content parameters more suitable for the user, and the content parameter accuracy rate for the user is improved.
In one embodiment, when content parameters of an interface to be displayed are obtained, content parameter decision can be made according to the type of a trigger instruction, wherein if the trigger instruction is a first instruction, a memory recovery degree corresponding to a target application service is obtained based on user characterization data and memory characterization data corresponding to the target application service, and the first instruction is used for starting a service interface of the target application service; and acquiring content parameters of an interface to be displayed of the target application service based on the user characterization data, the memory characterization data and the operation characterization data by adopting the memory recovery degree.
The first instruction is used for starting a service interface of the target application service, that is, the first instruction is a trigger instruction generated by first interaction between the user and the target application service, and it can be understood that when the user exits/stops the target application service, the target application service is restarted, or the first interaction between the user and the target application service is understood, and the corresponding trigger instruction is also the first instruction. The memory recovery degree at least comprises three memory recovery degrees of complete recovery, partial recovery and complete elimination. The complete recovery means that the interface content of the interface which is displayed by the target application service is completely displayed before the user exits the target application service for the last time; the local recovery is to select part of interface contents to display in the interface contents of the interface displayed by the target application service before the user exits the target application service for the last time; the complete clearing means that the interface content of the interface to be displayed is irrelevant to the interface content of the interface which is displayed by the target application service before the user exits the target application service last time.
The interface content generation device firstly determines the instruction type of the trigger instruction, so that when the trigger instruction is the first instruction, the user characterization data and the memory characterization data are input into the recovery degree reasoning model, and the recovery degree reasoning model infers the memory recovery degree of the interface to be displayed based on the user characterization data and the memory characterization data. It can be understood that the degree of recovery reasoning model is trained based on a large amount of characterization data and their corresponding degrees of memory recovery. For example, the interface content generating device may directly identify the instruction type of the trigger instruction when the trigger instruction is acquired, or may identify the instruction type of the trigger instruction based on the operation characterization data. And then inputting the memory recovery degree, the user characterization data, the memory characterization data and the operation characterization data into a content decision model, and deciding content parameters by the content decision model based on the memory recovery degree and the plurality of characterization data.
For example, assuming that the memory representation data represents the number of times of starting the target application service within a set time interval, when the number of times of starting is greater than or equal to a first time threshold, it is determined that the memory recovery degree is completely cleared; when the opening times are greater than or equal to the second time threshold and less than the first time threshold, judging the memory recovery degree to be local recovery; and when the opening times are smaller than the second time threshold value, judging that the memory recovery degree is complete recovery. For example, the user repeatedly starts the target application service for multiple times in a short time, probably because the user does not want to see the interface content or feels nothing about the interface content, so that the recommended output of the interface content can be reduced when the interface content is generated; the user only starts the target application service for two or three times in a short time, and the user can directly display the interface content of the previous display interface when generating the interface content, probably because of careless exit caused by misoperation.
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 parameter is further accurate based on the memory recovery degree, and the accuracy of the interface content is further improved.
In one embodiment, when content parameters of an interface to be displayed are obtained, content parameter decision can be made according to a memory recovery degree, wherein if the memory recovery degree is full recovery, 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 memory recovery degree is local recovery, selecting a first number of 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 characterization data, the memory characterization data and the operation characterization data, and taking the first number of historical content parameters and the second number of target content parameters as content parameters of an interface to be displayed of the target application service; and if the memory recovery degree is completely eliminated, generating content parameters of the interface to be displayed of the target application service based on the user characterization data, the memory characterization data and the operation characterization data.
When the memory recovery degree is full recovery, a content parameter decision model of the interface content generation device directly obtains a historical content parameter corresponding to the target application service, the obtained historical content parameter is used as a content parameter of an interface to be displayed and is output, and the historical content parameter is the content parameter of the interface which is displayed by the target application service before the user exits the target application service last time; if the memory recovery degree is local recovery, historical content parameters corresponding to the target application service are also obtained, then a first number of historical content parameters are selected from the obtained historical content parameters, meanwhile, the target content parameters are decided based on the user characterization data, the memory characterization data and the operation characterization data, 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 selected second number of target content parameters are integrated into content parameters of an interface to be displayed and output; and if the memory recovery degree is completely eliminated, determining the memory parameters of the interface to be displayed directly based on the user characterization data, the memory characterization data and the operation characterization data, and outputting the memory parameters.
The content parameters of different interfaces to be displayed are obtained by acquiring the content parameters with the number corresponding to the memory recovery degree and then combining the content parameters with the other number and the currently decided content parameters, so that different content parameters are output aiming at different possible situations (such as repeated exit from starting, misoperation exit and the like), and the accuracy of the content parameters under different application scenes is improved.
In one embodiment, the obtaining content parameters of an interface to be displayed of the target application service based on the user characterization data, the memory characterization data, and the operation characterization data includes:
and if the trigger instruction is a second instruction, acquiring content parameters of an interface to be displayed of the target application service based on user characterization data, memory characterization data and operation characterization data corresponding to the target application service, wherein the second instruction is used for starting a functional interface of any function in a service interface of the target application service.
The second instruction is used for starting a functional interface of any function in the service interface of the target application service, namely the target application service is already in a starting state, and then based on a trigger instruction triggered by the current display interface of the target application service, the trigger instruction is used for starting/triggering/controlling a sub-application service of the target application service.
When the trigger instruction is a second instruction, the interface content generation device judges that the display content of the interface displayed by the target application service before the user exits the target application service last time does not need to be restored at present, and can directly input the memory restoration degree, the user characterization data, the memory characterization data and the operation characterization data into the content decision model, and the content decision model decides content parameters based on the memory restoration degree and the plurality of characterization data.
By determining the instruction type of the trigger instruction, in the process of continuously using the target application service, the content parameters meeting the requirements can be directly acquired without executing other processes, and the generation efficiency of the interface content is improved.
S212, generating the interface content of the interface to be displayed based on the content parameters.
In one implementation, the interface content generating device obtains the interface content meeting the content parameter. For example, the interface content generating device may directly generate the interface content satisfying the content parameter, or may request the server connected to the interface content generating device for the interface content satisfying the content parameter.
In the embodiment of the specification, a trigger instruction for a target application service is acquired, and then operation characterization data corresponding to the target application service is generated based on the trigger instruction, so as to acquire interface content parameters to be displayed of the target application service based on memory characterization data and operation characterization data corresponding to the target application service, where the memory characterization data is characterization data generated from historical memory information associated with the target application service, that is, based on an interaction between a user and the target application service and historical memory information, content parameters of 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, interface content to be displayed corresponding to the user and the target application service is estimated, the repetition rate of the interface content corresponding to the target application service is reduced, and the accuracy rate of the interface content is improved by acquiring more accurate interface content; the method comprises the steps of improving the information type and the information amount of historical memory information corresponding to a target application service by obtaining various historical memory information corresponding to the target application service, and improving the information amount of memory representation data obtained based on the historical memory information, so that the feature data for obtaining content parameters is increased, and the accuracy of the content parameters is improved by increasing the features; by generating a memory abnormal graph corresponding to the target application service, the processing efficiency of historical memory information is improved, and the acquisition efficiency of interface content is further improved; by randomly selecting a third number of target nodes, when the memory map is too large, the huge calculation amount caused by traversing and calculating all the nodes in the memory map is reduced, and the generation efficiency of interface content is improved; by acquiring the user representation data, the decision basis about the user in the decision process is increased, so that the content parameter decision model decides content parameters more suitable for the user, and the content parameter accuracy rate for the user is improved; the method comprises the steps that the instruction type of a trigger instruction is determined, so that the memory recovery degree of the interface content of the interface to be displayed can be inferred when the target application service is started, the accuracy of content parameters is further accurate based on the memory recovery degree, and the accuracy of the interface content is further improved; the content parameters of different interfaces to be displayed are obtained by acquiring the content parameters with the number corresponding to the memory recovery degree and then combining the content parameters with the other number and the currently decided content parameters, so that different content parameters are output aiming at different possible situations (such as repeated exit from starting, misoperation exit and the like), and the accuracy of the content parameters under different application scenes is improved; by determining the instruction type of the trigger instruction, in the process of continuously using the target application service, the content parameters meeting the requirements can be directly acquired without executing other processes, and the generation efficiency of the interface content is improved.
The following describes in detail the interface content generating apparatus provided in the embodiments of the present specification with reference to fig. 5 to 6. It should be noted that, the interface content generating apparatus shown in fig. 5-6 is used for executing the method of the embodiment shown in fig. 2-4 in the embodiment of the present specification, for convenience of description, only the portion related to the embodiment of the present specification is shown, and specific technical details are not disclosed, please refer to the embodiment shown in fig. 2-4 in the embodiment of the present specification.
Please refer to fig. 5, which provides a schematic structural diagram of an interface content generating apparatus according to an embodiment of the present disclosure. As shown in fig. 5, the interface content generating apparatus 1 according to the embodiment of the present specification may include: an operational representation acquisition module 11, a parameter acquisition module 12 and a content generation module 13.
An operation representation obtaining module 11, configured to obtain a trigger instruction for a target application service, and generate operation representation data corresponding to the target application service based on the trigger instruction;
a parameter obtaining module 12, configured to obtain content parameters of an interface to be displayed of the target application service based on memory characterization data and operation characterization data corresponding to the target application service, where the memory characterization data is characterization data generated based on historical memory information associated with the target application service;
and a content generating module 13, configured to generate interface content of the interface to be displayed based on the content parameter.
In the embodiment of the specification, a trigger instruction for a target application service is acquired, and then operation characterization data corresponding to the target application service is generated based on the trigger instruction, so as to acquire interface content parameters to be displayed of the target application service based on memory characterization data and operation characterization data corresponding to the target application service, where the memory characterization data is characterization data generated from historical memory information associated with the target application service, that is, based on an interaction between a user and the target application service and historical memory information, content parameters of 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, interface content to be displayed corresponding to the user and the target application service is estimated, the repetition rate of the interface content corresponding to the target application service is reduced, and the accuracy rate of the interface content is improved by acquiring more accurate interface content.
In an embodiment, the parameter obtaining module 13 is specifically configured to:
acquiring 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;
and acquiring content parameters of an interface to be displayed of the target application service based on the user characterization data, the memory characterization data and the operation characterization data.
In the embodiment of the description, by acquiring the user representation data, the decision basis about the user in the decision process is increased, so that the content parameter decision model decides the content parameter more suitable for the user, and the accuracy of the content parameter for the user is improved.
In an embodiment, the parameter obtaining module 13 is specifically configured to:
if the trigger instruction is a first instruction, acquiring a memory recovery degree corresponding to the target application service based on user characterization data and memory characterization data corresponding to the target application service, wherein the first instruction is used for starting a service interface of the target application service;
and acquiring content parameters of an interface to be displayed of the target application service based on the user characterization data, the memory characterization data and the operation characterization data by adopting the memory recovery degree.
In the embodiment of the description, the memory recovery degree of the interface content of the interface to be displayed can be inferred when the target application service is started by determining the instruction type of the trigger instruction, so that the accuracy of the content parameter is further accurate based on the memory recovery degree, and the accuracy of the interface content is further improved.
In an embodiment, the parameter obtaining module 13 is specifically configured to:
if the memory recovery degree is complete recovery, acquiring a historical content parameter corresponding to the target application service, and taking the historical content parameter as a content parameter of an interface to be displayed of the target application service;
if the memory recovery degree is local recovery, selecting a first number of 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 characterization data, the memory characterization data and the operation characterization data, and taking the first number of historical content parameters and the second number of target content parameters as content parameters of an interface to be displayed of the target application service;
and if the memory recovery degree is completely eliminated, generating content parameters of the interface to be displayed of the target application service based on the user characterization data, the memory characterization data and the operation characterization data.
In the embodiment of the present specification, by obtaining a number of content parameters corresponding to the memory recovery degree and then combining another number of currently decided content parameters, different content parameters of the interface to be displayed are obtained, so that different content parameters are output for different possible situations (such as repeated exit from starting, incorrect operation exit, and the like), and the accuracy of the content parameters in different application scenarios is improved.
In an embodiment, the parameter obtaining module 13 is specifically configured to:
and if the trigger instruction is a second instruction, acquiring content parameters of an interface to be displayed of the target application service based on user characterization data, memory characterization data and operation characterization data corresponding to the target application service, wherein the second instruction is used for starting a functional interface of any function in a service interface of the target application service.
In the embodiment of the present specification, by determining the instruction type of the trigger instruction, in the process of continuously using the target application service, content parameters meeting the requirements are directly acquired without executing other processes, and the generation efficiency of the interface content is improved.
In another implementation, referring to fig. 6, a schematic structural diagram of an interface content generating device is provided for an embodiment of this specification. As shown in fig. 6, the interface content generating apparatus 1 according to the embodiment of the present specification may further include: a memory representation acquisition module 14.
The memory representation obtaining module 14 is specifically configured to:
acquiring first history memory information generated aiming at the target application service and second history memory information generated based on other application services, wherein the other application services are application services except the target application service in a plurality of application services related to the target application service;
and generating memory representation data corresponding to the target application service based on the first historical memory information and the second historical memory information.
In the embodiment of the present specification, by acquiring multiple types of history memory information corresponding to a target application service, the information type and the information amount of the history memory information corresponding to the target application service are improved, and the information amount of memory characterization data obtained based on the history memory information is improved, so that feature data used for acquiring content parameters is increased, and the accuracy of the content parameters is improved by increasing features.
In one embodiment, the memory representation obtaining module 14 is specifically configured to:
generating a memory abnormal graph corresponding to the target application service based on the first historical memory information and the second historical memory information;
and generating memory representation data corresponding to the target application service based on the memory abnormal graph.
In the embodiment of the specification, the processing efficiency of historical memory information is improved by generating the memory abnormal graph corresponding to the target application service, and the acquisition efficiency of interface content is further improved.
In one embodiment, the memory representation obtaining module 14 is specifically configured to:
selecting a third number of target nodes in the memory abnormal image;
and generating memory representation data corresponding to the target application service based on each target node and the relation chain corresponding to each target node.
In the embodiment of the description, by randomly selecting the third number of target nodes, when the memory abnormal configuration diagram is too large, the huge calculation amount caused by traversing and calculating all nodes in the memory abnormal configuration diagram is reduced, and the generation efficiency of the interface content is improved.
The embodiments of this specification further provide a storage medium, where the storage medium may store a plurality of program instructions, where the program instructions are suitable for being loaded by a processor and executing the method steps in the embodiments shown in fig. 2 to fig. 4, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 2 to fig. 4, which are not described herein again.
An embodiment of the present specification further provides a computer program product, where at least one instruction is stored in the computer program product, and the at least one instruction is loaded by the processor and executes the interface content generating method according to the embodiment shown in fig. 2 to 4, where a specific execution process may refer to specific descriptions of the embodiment shown in fig. 2 to 4, and is not described herein again.
Referring to fig. 7, a block diagram of an electronic device according to an exemplary embodiment of the present disclosure is shown. The electronic device in the embodiments 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, memory 120, input device 130, and output device 140 may be connected by a bus 150.
Processor 110 may include one or more processing cores. The processor 110 connects various parts within the overall electronic device using various interfaces and lines, and performs various functions of the electronic device 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), field-programmable gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a communication chip.
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 medium. The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like, and the operating system may be an Android (Android) system, including a system based on Android system depth development, an IOS system developed by apple, including a system based on IOS system depth development, or other systems. The data storage area may also store data created by the electronic device during use, such as a phonebook, audio-visual data, chat log data, and the like.
Referring to fig. 8, the memory 120 may be divided into an operating system space, where an operating system is run, and a user space, where native and third-party applications are run. In order to ensure that different third-party application programs can achieve a better operation effect, the operating system allocates corresponding system resources for the different third-party application programs. However, the requirements of different application scenarios in the same third-party application program on system resources are different, for example, in a local resource loading scenario, the third-party application program has a higher requirement on the disk reading speed; in the animation rendering scene, the third-party application program has a high requirement on the performance of the GPU. The operating system and the third-party application program are independent from each other, and the operating system cannot sense the current application scene of the third-party application program in time, so that the operating system cannot perform targeted system resource adaptation according to the specific application scene of the third-party application program.
In order to enable the operating system to distinguish a specific application scenario of the third-party application program, data communication between the third-party application program and the operating system needs to be opened, so that the operating system can acquire current scenario information of the third-party application program at any time, and further perform targeted system resource adaptation based on the current scenario.
Taking an operating system as an Android system as an example, programs and data stored in the memory 120 are as shown in fig. 9, and a Linux kernel layer 320, a system runtime library layer 340, an application framework layer 360, and an application layer 380 may be stored in the memory 120, where the Linux kernel layer 320, the system runtime library layer 340, and the application framework layer 360 belong to an operating system space, and the application layer 380 belongs to a user space. The Linux kernel layer 320 provides underlying drivers for various hardware of the electronic device, such as a display driver, an audio driver, a camera driver, a bluetooth driver, a Wi-Fi driver, power management, and the like. The system runtime library layer 340 provides a main feature support for the Android system through some C/C + + libraries. For example, the SQLite library provides support for a database, the OpenGL/ES library provides support for 3D drawing, the Webkit library provides support for a browser kernel, and the like. Also provided in the system runtime library layer 340 is an Android runtime library (Android runtime), which mainly provides some core libraries that can allow developers to write Android applications using the Java language. The application framework layer 360 provides various APIs that may be used in building an application, and developers may build their own applications by using these APIs, such as activity management, window management, view management, notification management, content provider, package management, session management, resource management, and location management. At least one application program runs in the application layer 380, and the application programs may be native application programs carried by the operating system, such as a contact program, a short message program, a clock program, a camera application, and the like; or a third-party application developed by a third-party developer, such as a game application, an instant messaging program, a photo beautification program, a wallpaper setting program, and the like.
Taking an operating system as an IOS system as an example, programs and data stored in the memory 120 are shown in fig. 10, and the IOS system includes: a Core operating system Layer 420(Core OS Layer), a Core Services Layer 440(Core Services Layer), a Media Layer 460(Media Layer), and a touchable Layer 480(Cocoa Touch Layer). The kernel operating system layer 420 includes an operating system kernel, drivers, and underlying program frameworks that provide functionality closer to hardware for use by program frameworks located in the core services layer 440. The core services layer 440 provides system services and/or program frameworks, such as a Foundation framework, an account framework, an advertisement framework, a data storage framework, a network connection framework, a geographic location framework, a motion framework, and so forth, as required by the application. The media layer 460 provides audiovisual related interfaces for applications, such as graphics image related interfaces, audio technology related interfaces, video technology related interfaces, audio video transmission technology wireless playback (AirPlay) interfaces, and the like. Touchable layer 480 provides various common interface-related frameworks for application development, and touchable layer 480 is responsible for user touch interaction operations on the electronic device. Such as a local notification service, a remote push service, an advertising framework, a game tool framework, a messaging User Interface (UI) framework, a User Interface UIKit framework, a map framework, and so forth.
In the framework illustrated in FIG. 10, the framework associated with most applications includes, but is not limited to: a base framework in the core services layer 440 and a UIKit framework in the touchable layer 480. The base framework provides many basic object classes and data types, provides the most basic system services for all applications, and is UI independent. While the class provided by the UIKit framework is a basic library of UI classes for creating touch-based user interfaces, iOS applications can provide UIs based on the UIKit framework, so it provides an infrastructure for applications for building user interfaces, drawing, processing and user interaction events, responding to gestures, and the like.
The Android system may be referred to as a manner and principle for implementing data communication between the third-party application program and the operating system in the IOS system, and the embodiments of the present specification are not described herein again.
The input device 130 is used for receiving 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 for outputting instructions or data, and the output device 140 includes, but is not limited to, a display device, a speaker, and the like. In one example, the input device 130 and the output device 140 may be combined, and the input device 130 and the output device 140 are touch display screens for receiving touch operations of a user on or near the touch display screens by using any suitable object such as a finger, a touch pen, and the like, and displaying user interfaces of various applications. Touch displays are typically provided on the front panel of an electronic device. The touch display screen may be designed as a full-face screen, a curved screen, or a profiled screen. The touch display screen can also be designed as a combination of a full-face screen and a curved-face screen, and a combination of a special-shaped screen and a curved-face screen, which is not limited in this specification.
In addition, those skilled in the art will appreciate that the configurations of the electronic devices illustrated in the above-described figures do not constitute limitations on the electronic devices, which may include more or fewer components than illustrated, or some components may be combined, or a different arrangement of components. For example, the electronic device further includes a radio frequency circuit, an input unit, a sensor, an audio circuit, a Wi-Fi module, a power supply, a bluetooth module, and other components, which are not described herein again.
In the embodiment of the present specification, the execution subject of each step may be the electronic device described above. Optionally, the execution subject of each step is an operating system of the electronic device. The operating system may be an android system, an IOS system, or another operating system, which is not limited in this specification.
The electronic device in the embodiments of the present specification may further have a display device mounted thereon, and the display device may be various devices capable of implementing a display function, for example: a cathode ray tube display (CR), a light-emitting diode display (LED), an electronic ink panel, a Liquid Crystal Display (LCD), a Plasma Display Panel (PDP), and the like. A user may utilize a display device on the electronic device 101 to view information such as displayed text, images, video, and the like. The electronic device may be a smartphone, a tablet computer, a gaming device, an AR (Augmented Reality) device, an automobile, 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, an electronic garment, or the like.
In the electronic device shown in fig. 7, the processor 110 may be configured to call the interface content generating program stored in the memory 120, and specifically perform the following operations:
acquiring a trigger instruction for a target application service, and generating operation representation data corresponding to the target application service based on the trigger instruction;
acquiring content parameters of an interface to be displayed of the target application service based on memory characterization data and operation characterization data corresponding to the target application service, wherein the memory characterization data is characterization data generated based on historical memory information associated with the target application service;
and generating the interface content of the interface to be displayed based on the content parameters.
In an embodiment, when the processor 110 executes the memory representation data and the operation representation data corresponding to the target application service to obtain the content parameter of the interface to be displayed of the target application service, the following operations are specifically executed:
acquiring 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;
and acquiring content parameters of an interface to be displayed of the target application service based on the user characterization data, the memory characterization data and the operation characterization data.
In one embodiment, when the processor 110 executes the step of obtaining content parameters of the interface to be displayed of the target application service based on the user characterization data, the memory characterization data and the operation characterization data, specifically execute the following operations:
if the trigger instruction is a first instruction, acquiring a memory recovery degree corresponding to the target application service based on user characterization data and memory characterization data corresponding to the target application service, wherein the first instruction is used for opening a service interface of the target application service;
and acquiring content parameters of an interface to be displayed of the target application service based on the user characterization data, the memory characterization data and the operation characterization data by adopting the memory recovery degree.
In an embodiment, when the content parameter of the interface to be displayed of the target application service is acquired based on the user characterization data, the memory characterization data, and the operation characterization data by using the memory recovery degree, the following operations are specifically performed:
if the memory recovery degree is complete recovery, acquiring a historical content parameter corresponding to the target application service, and taking the historical content parameter as a content parameter of an interface to be displayed of the target application service;
if the memory recovery degree is local recovery, selecting a first number of 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 characterization data, the memory characterization data and the operation characterization data, and taking the first number of historical content parameters and the second number of target content parameters as content parameters of an interface to be displayed of the target application service;
and if the memory recovery degree is completely eliminated, generating content parameters of the interface to be displayed of the target application service based on the user characterization data, the memory characterization data and the operation characterization data.
In an embodiment, when the processor 110 executes the obtaining of the content parameter of the interface to be displayed of the target application service based on the user characterization data, the memory characterization data, and the operation characterization data, specifically execute the following operations:
and if the trigger instruction is a second instruction, acquiring content parameters of an interface to be displayed of the target application service based on user characterization data, memory characterization data and operation characterization data corresponding to the target application service, wherein the second instruction is used for starting a functional interface of any function in a service interface of the target application service.
In one embodiment, before executing the memory information corresponding to the target application service, including the first historical memory information and the second historical memory information, the processor 110 obtains a 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:
acquiring first history memory information generated aiming at the target application service and second history memory information generated based on other application services, wherein the other application services are application services except the target application service in a plurality of application services related to the target application service;
and generating memory representation data corresponding to the target application service based on the first historical memory information and the second historical memory information.
In an embodiment, when the processor 110 executes the memory representation data corresponding to the target application service generated based on the first historical memory information and the second historical memory information, the following operations are specifically executed:
generating a memory abnormal graph corresponding to the target application service based on the first historical memory information and the second historical memory information;
and generating memory representation data corresponding to the target application service based on the memory abnormal graph.
In an embodiment, when the memory heterogeneous graph includes a plurality of memory nodes and a relationship between each of the memory nodes, and the memory characterization data corresponding to the target application service is generated based on the memory heterogeneous graph, the processor 110 specifically performs the following operations:
selecting a third number of target nodes in the memory abnormal image;
and generating memory representation data corresponding to the target application service based on each target node and the relation chain corresponding to each target node.
In the embodiment of the specification, a trigger instruction for a target application service is acquired, and then operation characterization data corresponding to the target application service is generated based on the trigger instruction, so as to acquire interface content parameters to be displayed of the target application service based on memory characterization data and operation characterization data corresponding to the target application service, where the memory characterization data is characterization data generated from historical memory information associated with the target application service, that is, based on an interaction between a user and the target application service and historical memory information, content parameters of 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, interface content to be displayed corresponding to the user and the target application service is estimated, the repetition rate of the interface content corresponding to the target application service is reduced, and the accuracy rate of the interface content is improved by acquiring more accurate interface content; the method comprises the steps of improving the information type and the information amount of historical memory information corresponding to a target application service by obtaining various historical memory information corresponding to the target application service, and improving the information amount of memory representation data obtained based on the historical memory information, so that the feature data for obtaining content parameters is increased, and the accuracy of the content parameters is improved by increasing the features; by generating a memory abnormal graph corresponding to the target application service, the processing efficiency of historical memory information is improved, and the acquisition efficiency of interface content is further improved; by randomly selecting a third number of target nodes, when the memory map is too large, the huge calculation amount caused by traversing and calculating all the nodes in the memory map is reduced, and the generation efficiency of interface content is improved; by acquiring the user representation data, the decision basis about the user in the decision process is increased, so that the content parameter decision model decides content parameters more suitable for the user, and the content parameter accuracy rate for the user is improved; the method comprises the steps that the instruction type of a trigger instruction is determined, so that the memory recovery degree of the interface content of the interface to be displayed can be inferred when the target application service is started, the accuracy of content parameters is further accurate based on the memory recovery degree, and the accuracy of the interface content is further improved; the content parameters of different interfaces to be displayed are obtained by acquiring the content parameters with the number corresponding to the memory recovery degree and then combining the content parameters with the other number and the currently decided content parameters, so that different content parameters are output aiming at different possible situations (such as repeated exit from starting, misoperation exit and the like), and the accuracy of the content parameters under different application scenes is improved; by determining the instruction type of the trigger instruction, in the process of continuously using the target application service, the content parameters meeting the requirements can be directly acquired without executing other processes, and the generation efficiency of the interface content is improved.
It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of acts, but those skilled in the art should understand that the present embodiment is not limited by the described acts, because some steps may be performed in other sequences or simultaneously according to the present embodiment. Furthermore, those skilled in the art will appreciate that the embodiments described in this specification are presently preferred and that no acts or modules are required in the implementations of the disclosure.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the above description of the interface content generating method, the interface content generating apparatus, the storage medium and the device provided in the embodiments of the present specification, for those skilled in the art, there may be variations in the specific implementation and application scope according to the ideas of the embodiments of the present specification, and in summary, the contents of the present specification should not be construed as limiting one or more of the embodiments of the present specification.

Claims (11)

1. A method of interface content generation, the method comprising:
acquiring a trigger instruction for a target application service, and generating operation representation data corresponding to the target application service based on the trigger instruction;
acquiring content parameters of an interface to be displayed of the target application service based on memory characterization data and operation characterization data corresponding to the target application service, wherein the memory characterization data is characterization data generated based on historical memory information associated with the target application service;
and generating the interface content of the interface to be displayed based on the content parameters.
2. The method according to claim 1, wherein the obtaining content parameters of the interface to be displayed of the target application service based on the memory characterization data and the operation characterization data corresponding to the target application service comprises:
acquiring 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;
and acquiring content parameters of an interface to be displayed of the target application service based on the user characterization data, the memory characterization data and the operation characterization data.
3. The method of claim 2, wherein the obtaining content parameters of the interface to be displayed of the target application service based on the user characterization data, the memory characterization data, and the operation characterization data comprises:
if the trigger instruction is a first instruction, acquiring a memory recovery degree corresponding to the target application service based on user characterization data and memory characterization data corresponding to the target application service, wherein the first instruction is used for starting a service interface of the target application service;
and acquiring content parameters of an interface to be displayed of the target application service based on the user characterization data, the memory characterization data and the operation characterization data by adopting the memory recovery degree.
4. The method according to claim 3, wherein the obtaining, by using the memory recovery degree, content parameters of an interface to be displayed of the target application service based on the user characterization data, the memory characterization data, and the operation characterization data includes:
if the memory recovery degree is complete recovery, acquiring a historical content parameter corresponding to the target application service, and taking the historical content parameter as a content parameter of an interface to be displayed of the target application service;
if the memory recovery degree is local recovery, selecting a first number of 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 characterization data, the memory characterization data and the operation characterization data, and taking the first number of historical content parameters and the second number of target content parameters as content parameters of an interface to be displayed of the target application service;
and if the memory recovery degree is completely eliminated, generating content parameters of the interface to be displayed of the target application service based on the user characterization data, the memory characterization data and the operation characterization data.
5. The method of claim 2, wherein the obtaining content parameters of the interface to be displayed of the target application service based on the user characterization data, the memory characterization data, and the operation characterization data comprises:
and if the trigger instruction is a second instruction, acquiring content parameters of an interface to be displayed of the target application service based on user characterization data, memory characterization data and operation characterization data corresponding to the target application service, wherein the second instruction is used for starting a functional interface of any function in a service interface of the target application service.
6. The method of claim 1, wherein the memory information corresponding to the target application service includes first history memory information and second history memory information, and before the obtaining the trigger instruction for the target application service and generating the operation characterization data corresponding to the target application service based on the trigger instruction, the method further includes:
acquiring first history memory information generated aiming at the target application service and second history memory information generated based on other application services, wherein the other application services are application services except the target application service in a plurality of application services related to the target application service;
and generating memory representation data corresponding to the target application service based on the first historical memory information and the second historical memory information.
7. The method of claim 6, wherein generating memory characterization data corresponding to the target application service based on the first historical memory information and the second historical memory information comprises:
generating a memory abnormal graph corresponding to the target application service based on the first historical memory information and the second historical memory information;
and generating memory representation data corresponding to the target application service based on the memory abnormal graph.
8. The method of claim 7, wherein the memory heterogeneous graph comprises a plurality of memory nodes and relationships between the memory nodes in the plurality of memory nodes, and the generating memory characterization data corresponding to the target application service based on the memory heterogeneous graph comprises:
selecting a third number of target nodes in the memory abnormal image;
and generating memory representation data corresponding to the target application service based on each target node and the relation chain corresponding to each target node.
9. An interface content generating apparatus, comprising:
the operation representation acquisition module is used for acquiring a trigger instruction aiming at a target application service and generating operation representation data corresponding to the target application service based on the trigger instruction;
the parameter acquisition module is used for acquiring content parameters of an interface to be displayed of the target application service based on memory characterization data and operation characterization data corresponding to the target application service, wherein the memory characterization data is characterization data generated based on historical memory information associated with the target application service;
and the content generation module is used for generating the interface content of the interface to be displayed based on the content parameters.
10. A storage medium having stored thereon a computer program which, when executed by a processor, implements the interface content generating method of any one of claims 1-8.
11. A computer device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the steps of the interface content generation method according to any of claims 1-8.
CN202210131502.2A 2022-02-11 2022-02-11 Interface content generation method and device, storage medium and computer equipment Pending CN114443204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210131502.2A CN114443204A (en) 2022-02-11 2022-02-11 Interface content generation method and device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210131502.2A CN114443204A (en) 2022-02-11 2022-02-11 Interface content generation method and device, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN114443204A true CN114443204A (en) 2022-05-06

Family

ID=81371965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210131502.2A Pending CN114443204A (en) 2022-02-11 2022-02-11 Interface content generation method and device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN114443204A (en)

Similar Documents

Publication Publication Date Title
CN109766053B (en) User interface display method, device, terminal and storage medium
CN111459586B (en) Remote assistance method, device, storage medium and terminal
CN111767554B (en) Screen sharing method and device, storage medium and electronic equipment
CN110413347B (en) Advertisement processing method and device in application program, storage medium and terminal
CN111124668B (en) Memory release method, memory release device, storage medium and terminal
CN113268212A (en) Screen projection method and device, storage medium and electronic equipment
CN112116212B (en) Application evaluation method and device, storage medium and electronic equipment
CN110702346B (en) Vibration testing method and device, storage medium and terminal
CN111127469A (en) Thumbnail display method, device, storage medium and terminal
CN115049068A (en) Model processing method and device, storage medium and electronic equipment
CN111913614B (en) Multi-picture display control method and device, storage medium and display
CN117555459A (en) Application group processing method and device, storage medium and electronic equipment
CN113825022B (en) Method and device for detecting play control state, storage medium and electronic equipment
CN115328725A (en) State monitoring method and device, storage medium and electronic equipment
CN114443204A (en) Interface content generation method and device, storage medium and computer equipment
CN114186526A (en) Automatic punching method and device for integrated circuit based on R tree MBR algorithm
CN111859999A (en) Message translation method, device, storage medium and electronic equipment
CN113419650A (en) Data moving method and device, storage medium and electronic equipment
CN113114849A (en) Alarm clock reminding method and device, storage medium and terminal
CN112256354A (en) Application starting method and device, storage medium and electronic equipment
CN112612633A (en) Inter-process communication method, device, storage medium and terminal
CN111538997A (en) Image processing method, image processing device, storage medium and terminal
CN113126859A (en) Contextual model control method, contextual model control device, storage medium and terminal
CN113691676B (en) Equipment state prompting method and device, storage medium and electronic equipment
WO2024067319A1 (en) Method and system for creating stickers from user-generated content

Legal Events

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