CN114443204B - Interface content generation method, device, storage medium and computer equipment - Google Patents
Interface content generation method, device, storage medium and computer equipment Download PDFInfo
- Publication number
- CN114443204B CN114443204B CN202210131502.2A CN202210131502A CN114443204B CN 114443204 B CN114443204 B CN 114443204B CN 202210131502 A CN202210131502 A CN 202210131502A CN 114443204 B CN114443204 B CN 114443204B
- Authority
- CN
- China
- Prior art keywords
- memory
- application service
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The specification discloses an interface content generation method, an apparatus, a storage medium and a computer device, wherein the method comprises the following steps: and acquiring a trigger instruction aiming at the target application service, generating operation characterization data corresponding to the target application service based on the trigger instruction, and 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 further generating interface content of the interface to be displayed based on the content parameters.
Description
Technical Field
The present disclosure relates to the field of data processing, and in particular, to an interface content generating method, an apparatus, a storage medium, and a computer device.
Background
When a user opens an application program or triggers a target service in the application program, the application program can generate interface content, then the 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 application program can generate the interface content based on related content set by the service provider in advance, or can randomly grab hot spot content related to the interface function, and then generate the interface content based on the grabbed hot spot content.
Disclosure of Invention
The specification provides a method, a device, a storage medium and a computer device for generating interface content, which can solve the technical problem of how to improve the accuracy of the interface content.
In a first aspect, the present specification provides an interface content generating method, the method including:
acquiring a trigger instruction aiming at a target application service, and generating operation characterization 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 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 method.
In a fourth aspect, embodiments of the present description provide a computer device comprising 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 described above when the program is executed.
In the embodiment of the specification, the trigger instruction for the target application service is obtained, and then the operation characterization data corresponding to the target application service is generated based on the trigger instruction, so that the to-be-displayed interface content parameters of the target application service are obtained based on the memory characterization data and the operation characterization data corresponding to the target application service, wherein the memory characterization data are characterization data generated by historical memory information associated with the target application service, namely, the content parameters of the interface content corresponding to the target application service, which need to be displayed, are determined based on the interaction action and the historical memory information between the user and the target application service, and further the interface content corresponding to the user and the target application service is generated based on the content parameters, namely, the interface content of the to-be-displayed interface corresponding to the user and the target application service is deduced based on the trigger instruction and the historical memory information, so that the repetition rate of the interface content corresponding to the target application service is reduced, and the accuracy of the interface content is improved by obtaining more accurate interface content.
Drawings
In order to more clearly illustrate the technical solutions of the present specification or the prior art, the following description will briefly introduce the drawings that are required to be used in the embodiments or the prior art descriptions, it is obvious that the drawings in the following description are only some embodiments of the present specification, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a system architecture diagram of an interface content generating system according to an embodiment of the present disclosure;
fig. 2 is a flow chart of an interface content generating method according to an embodiment of the present disclosure;
fig. 3 is a flow chart of an interface content generating method according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram illustrating an example of a memory iso-pattern according to an embodiment of the present disclosure;
Fig. 5 is a schematic structural diagram of an interface content generating device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an interface content generating device according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
FIG. 8 is a schematic diagram of the architecture of an operating system and user space provided by embodiments of the present description;
FIG. 9 is an architecture 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 specification more comprehensible, the technical solutions in the embodiments of the present specification are described in detail below with reference to the accompanying drawings in the embodiments of the present specification, and it is apparent that the described embodiments are only some embodiments but not all embodiments of the present specification. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the embodiments herein.
When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the embodiments of the present specification. Rather, they are merely examples of apparatus and methods consistent with aspects of the embodiments of the present description as detailed in the accompanying claims. The flow diagrams depicted in the figures are exemplary only and are not necessarily to be taken in the order shown. For example, some steps are juxtaposed and there is no strict order of logic, so the actual order of execution is variable. In addition, the terms "first," "second," "third," "fourth," "fifth," "sixth," "seventh," "eighth" are used for distinguishing purposes only and should not be taken as a limitation of the present disclosure.
Whether 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 randomly captured, when a user triggers any application service in the application program for a plurality of times in a short time, the interface content seen by the application program 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 pushing can not be performed for the user.
In order to better improve the accuracy 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 generation system 1 may include: an interface content generating device 10, an interface content display device 20, an internal memory storage device 30, and an external memory storage device 40.
The interface content generating device 10 may be a variety of electronic devices including, but not limited to, smart phones, tablet computers, laptop portable computers, desktop computers, and the like, and is not specifically limited 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 computer, a desktop computer, etc., or may be a display device externally connected to a display screen, a projector, etc., or may be a display device in the interface content generating device 10, which is not particularly limited herein. The internal memory storage device 30 may be various electronic devices including a storage medium, including but not limited to a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., an external storage device such as a floppy disk, a hard disk, a flash memory, etc., or a storage device in the interface content generating device 10, which is not particularly limited herein. The external memory storage device 40 may be various electronic devices including a storage medium, including but not limited to a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., an external storage device such as a floppy disk, a hard disk, a flash memory, etc., or a storage device in the interface content generating device 10, which is not particularly limited herein.
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; the external memory storage device 40 is used for storing external history information generated based on other application services associated with the target application service, and the other application services may be application services other than the target application service in the interface content generating device 10 or application services in other devices associated with the target application service, and the external memory storage device 40 may be a storage device in the interface content generating device 10 or a storage device other than the interface content generating device 10. Wherein the history memory information includes internal history memory information and external history memory information.
The interface content generating device 10 is configured to obtain a trigger instruction for a target application service, and generate operation characterization data corresponding to the target application service based on the obtained trigger instruction.
The interface content generating device 10 is further configured to, when a trigger instruction for a target application service is acquired, request internal history memory information corresponding to the target application service from the internal memory storage device 30 and request external history memory information corresponding to the target application service from the external memory storage device 40.
The internal memory storage device 30 is used for transmitting the internal history memory information corresponding to the target application service to the interface content generating device 10.
The external memory storage device 40 is used for transmitting 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 information corresponding to the target application service sent by the internal memory storage device 30 and the external history information corresponding to the target application service sent by the external memory storage device 40, and then generate the memory characterization data corresponding to the target application service based on the received internal history information and external history information. And acquiring 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, and finally generating display content of the interface to be displayed based on the content parameters.
The interface content generation device 10 is also configured to send 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 generating device 10, and display the received interface content.
It should be understood that the number of interface content generating devices 10, interface content display devices 20, internal memory storage devices 30, and external memory storage devices 40 in fig. 1 is merely illustrative, and any number of interface content generating devices 10, interface content display devices 20, internal memory storage devices 30, and external memory storage devices 40 may be used as desired.
The interface content generating method provided in the embodiment of the present disclosure will be described in detail below with reference to fig. 2 to 4.
Referring to fig. 2, a flowchart of an interface content generating method is provided in an embodiment of the present disclosure. As shown in fig. 2, the method may include the following steps.
S102, acquiring a trigger instruction aiming at a target application service, and generating operation characterization 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 application program in the interface content generating device, or may be any selected application service in any application program. It should be noted that, the application service refers to a service product that meets the user's requirements through text, pictures, interactive cards, and the like. It is understood that in the current application scenario, an application is a service set comprising a plurality of application services. The trigger instruction is a control instruction of opening, selecting, inputting, interacting and the like of the target application service by the pointer. For example, if the target application service is 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 an opening 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 characterization data refers to feature data obtained by performing data processing operations such as vectorization and feature extraction on the trigger instruction, and is used for representing operations performed on the target application service by a user. The trigger instruction may be obtained through an input device of the interface content generating device, or may directly receive a trigger instruction sent by another device to the interface content generating device.
When the interface content generating device acquires the trigger instruction of the target application service, the trigger instruction is subjected to data processing so as to extract operation characteristics based on the trigger instruction and generate operation characterization data corresponding to the target application service.
S104, obtaining 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 memory characterization data is characterization data generated based on historic memory information associated with the target application service, wherein the historic 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. The memory data generated based on the target application service may be, for example, 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 data for representing a history interaction situation between the user and the target application service; the memory data generated based on the other application service may be a history trigger instruction for the other application service, each service data generated by the other application service, application data received based on the other application service, etc., and data representing a history interaction situation between the user and the other application service. The memory characterization data refers to feature data obtained by carrying out data processing operations such as vectorization, feature extraction and the like on the history memory information, and is used for representing interaction features of a user related to a target application service. After the interface to be displayed is the interface to be displayed corresponding to the target application service after the interface content generating device executes the trigger instruction. The content parameter refers to a related parameter of the interface content to be displayed on the interface to be displayed, such as at least one of a content type, a content size, a content source, a detailed content, and the like.
The interface content generating device firstly acquires the history memory information corresponding to the target application service, and then generates memory characterization data corresponding to the target application service based on the acquired history memory information. After the interface content generating device acquires the operation characterization data corresponding to the target application service, the content parameters of the interface to be displayed, which need to be presented to the user, are presumed based on the operation characterization data and the memory characterization data.
And S106, generating interface content of the interface to be displayed based on the content parameters.
In one implementation, an interface content generation device obtains interface content that satisfies content parameters. For example, the interface content satisfying the content parameter may be directly generated by the interface content generating device, or may be requested from a server connected to the interface content generating device.
In the embodiment of the specification, the trigger instruction for the target application service is obtained, and then the operation characterization data corresponding to the target application service is generated based on the trigger instruction, so that the to-be-displayed interface content parameters of the target application service are obtained based on the memory characterization data and the operation characterization data corresponding to the target application service, wherein the memory characterization data are characterization data generated by historical memory information associated with the target application service, namely, the content parameters of the interface content corresponding to the target application service, which need to be displayed, are determined based on the interaction action and the historical memory information between the user and the target application service, and further the interface content corresponding to the user and the target application service is generated based on the content parameters, namely, the interface content of the to-be-displayed interface corresponding to the user and the target application service is deduced based on the trigger instruction and the historical memory information, so that the repetition rate of the interface content corresponding to the target application service is reduced, and the accuracy of the interface content is improved by obtaining more accurate interface content.
Referring to fig. 3, a flowchart of an interface content generating method is provided in an embodiment of the present disclosure. As shown in fig. 3, the method may include the following steps.
S202, acquiring first historical memory information generated for the target application service and second historical 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 data for representing a history interaction situation between the user and the target application service; the second history information may be a history trigger instruction for other application services, respective service data generated by other application services, application data received based on other application services, etc., for 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 the 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 other than the interface content generating apparatus, which is not limited herein. The other application service is not limited to the application service in the interface content generating device, that is, the application service of the network service provider, the application service of the financial service provider, and the application service of other operators, and the second history memory information corresponding to the target application service may be updated by at least one method of timing update and external trigger update, where the external trigger update refers to when the other application service generates new memory information, directly transmitting the memory information to the interface content generating device, or transmitting an update prompt to the interface content generating device, 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 means first determines a plurality of other application services related to the target application service, and then acquires first history memory information generated by the target application service and second history memory information generated by the other application services. In some implementations, in order to improve accuracy of the interface content, the historical memory information associated with the current user may be further screened out from the first historical memory information, and similarly, the historical memory information associated with the current user may be screened out from the second historical information, so as to perform content parameter estimation based on the screened first historical memory information and the screened second historical memory information.
S204, based on the first historical memory information and the second historical memory information, memory characterization data corresponding to the target application service are generated.
In one implementation, the interface content generating device classifies, sorts, generalizes, digitizes, vectorizes, calculates weight, calculates feature values and other feature extraction operations on the first historical memory information and the second historical memory information, and generates memory characterization data corresponding to the target application service.
By acquiring various types of history memory information corresponding to the 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 the feature data for acquiring the content parameters is increased, and the accuracy of the content parameters is improved by increasing the features.
In one implementation manner, when the interface content generating device generates the memory characterization data, the memory heterograph corresponding to the target application service can be generated based on the first historical memory information and the second historical memory information; and generating memory characterization data corresponding to the target application service based on the memory heterograph.
The memory heterogeneous graph includes multiple types of nodes and edges between the nodes, wherein each edge has its corresponding weight value, and wherein the edges between the nodes may also be referred to as relationships between the nodes. As shown in fig. 4, fig. 4 shows an exemplary schematic diagram of a memory iso-pattern.
For example, if the first historical memory information is question 1 displayed by the target application service, answer a selected based on the question 1, question 2, text B input based on the question 2, and the like, the second historical memory information is the starting times of the target application service in a set time interval, financial information of the user, credit information of the user, use information of other application services, and the like, the input and output nodes may be two, namely, question 1-answer a and question 2-text B, the number of times nodes are the starting times in the set time interval, the financial node and the branch thereof are generated based on the financial information of the user, the credit node and the branch thereof are generated based on the credit information of the user, and the plurality of relevant service nodes and the branch thereof are generated based on the use information of other application services.
The interface content generating device performs heterogeneous graph generating operations such as classification, arrangement 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 abnormal graph corresponding to the target application service, and then generates memory characterization data corresponding to the target application service based on a plurality of nodes in the memory abnormal graph and weights among the nodes. It will be appreciated that the node content of each node in the memory profile is in a digitized representation, i.e., a numerical value.
And by generating the memory abnormal pattern corresponding to the target application service, the processing efficiency of the history memory information is improved, and the acquisition efficiency of the interface content is further improved.
In one implementation, when the memory characterization data is generated, a third number of target nodes may be selected in the memory profile; and generating memory characterization data corresponding to the target application service based on each target node and a relation chain corresponding to each target node.
The interface content generating device counts the total number of nodes in the memory heterograms. If the total number of nodes is greater than the threshold number of nodes, randomly selecting a third number of target nodes in the memory heterogram, wherein the target nodes are limited to the next level node of the user node. Illustratively, if the current memory profile is the memory profile as shown in fig. 4, and the third number is 2, the next level node of the user node is a financial node, a service recording node, a related service B node, a related service a node, and the like, and the target node is at least two of the next level nodes of the user node.
And then acquiring the selected target nodes and the corresponding relation chains of the target nodes, wherein if the selected nodes are the financial nodes and the service record nodes, the corresponding relation chains of the financial nodes are branch structures taking the financial nodes as root nodes, and the branch structures comprise balance nodes, relation weights between the balance nodes and the financial nodes, … …, relation weights between the foundation manager nodes, the foundation nodes and the foundation manager nodes, and similarly, the corresponding relation chains of the service record nodes are branch structures taking the service record nodes as root nodes.
And finally, based on the selected target nodes and the corresponding relation chains of the target nodes, memory characterization data corresponding to the target application service are generated. For example, taking fig. 4 as an example, if the selected target node is a relevant service a node and a service record node, the value of the user node is denoted as X, the value of the relevant service a node is denoted as Y1, the relation weight with the user node is denoted as 3, the value of the frequency a node is denoted as Y2, the relation weight with the relevant service a node is denoted as 2, the value of the preference a node is denoted as Y3, the relation weight with the relevant service a node is denoted as 1, the value of the service record node is denoted as Z1, the relation weight with the user node is denoted as9, the value of the number of times node is denoted as Z2, the relation weight with the service record node is denoted as 7, the value of the interface content node is denoted as Z3, the relation weight with the service record node is denoted as 6, the value of the input/output information node is denoted as Z4, the relation weight with the interface node is denoted as 6,D node is denoted as D, and the relation weight with the service record node is denoted as D, the memory characterization parameter is x+3 (y1+2+y2+1+y3) + (z1+6d6+6d4). It should be emphasized that the foregoing examples are merely for convenience in illustrating one way of obtaining the memory characterization parameters, and are not limited to the memory characterization parameters being calculated based on the way.
It can be understood that when the total number of nodes in the memory architecture diagram is less than or equal to the threshold number of nodes, the memory characterization data corresponding to the target application service is calculated directly based on the plurality of nodes in the memory profile diagram and the relation weights among the nodes.
By randomly selecting the third number of target nodes, when the memory abnormal pattern is too large, the huge calculation amount caused by traversing all the nodes in the memory abnormal pattern is reduced, and the generation efficiency of interface content is improved.
S206, acquiring a trigger instruction aiming at a target application service, and generating operation characterization 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 application program in the interface content generating device, or may be any selected application service in any application program. It should be noted that, the application service refers to a service product that meets the user's requirements through text, pictures, interactive cards, and the like. It is understood that in the current application scenario, an application is a service set comprising a plurality of application services. The trigger instruction is a control instruction of opening, selecting, inputting, interacting and the like of the target application service by the pointer. For example, if the target application service is 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 an opening 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 characterization data refers to feature data obtained by performing data processing operations such as vectorization and feature extraction on the trigger instruction, and is used for representing operations performed on the target application service by a user. The trigger instruction may be obtained through an input device of the interface content generating device, or may directly receive a trigger instruction sent by another device to the interface content generating device.
When the interface content generating device acquires the trigger instruction of the target application service, the trigger instruction is subjected to data processing so as to extract operation characteristics based on the trigger instruction and generate operation characterization 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 includes individual attribute features of the user, such as ID, sex, years, profession, location, discretionary preferences, and the like; the user operation context comprises first historical interaction information between the user and the target application service, namely the interaction information generated by the user based on the target application service after the user starts the target application service; the user may be a user who is currently using the target application service. In another embodiment, the user operation context may further include second historical interaction information between the target application services of the user, that is, interaction information generated by the user based on each application service in the target application after the target application to which the target application service belongs is started.
The interface content generating device acquires the user portrait and the user operation context corresponding to the current user of the target application service, and then performs characteristic extraction operations such as classification, arrangement induction, digitization, vectorization and the like on the acquired user portrait and the acquired user operation context to generate user characterization data corresponding to the target application service.
S210, 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, the interface content generating device inputs the user characterization data, the memory characterization data, and the operation characterization data into the content parameter decision model, so that the content parameter decision model decides the content parameters of the interface to be displayed based on the user characterization data, the memory characterization data, and the operation characterization data. It can be appreciated 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 characterization data, the decision basis of the user in the decision process is increased, so that the content parameter decision model decision is more suitable for the content parameters of the user, and the accuracy of the content parameters for the user is improved.
In one embodiment, when obtaining the content parameter of the interface to be displayed, the content parameter decision may be performed according to the type of the trigger instruction, where if the trigger instruction is a first instruction, based on the user characterization data and the memory characterization data corresponding to the target application service, the memory recovery degree corresponding to the target application service is obtained, and the first instruction is used to open the 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, namely 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 after the user exits/stops the target application service, the target application service is restarted, and it can be understood that the first interaction between the user and the target application service is also the first instruction. The memory recovery degree at least comprises three memory recovery degrees of complete recovery, partial recovery and complete elimination. Wherein, the complete restoration means that the interface content of the interface which is being displayed by the target application service is displayed completely before the user logs out of the target application service last time; the local restoration is to select part of interface contents to display in the interface contents of the interface which the target application service is displaying before the user logs out of the target application service last time; complete clearing means that the interface content of the interface to be displayed is irrelevant to the interface content of the interface being displayed by the target application service before the user logs out of the target application service last time.
The interface content generating device firstly determines the instruction type of the trigger instruction, so that when the trigger instruction is a first instruction, the user characterization data and the memory characterization data are input into a recovery degree reasoning model, and the recovery degree reasoning model reasoning the memory recovery degree of the interface to be displayed based on the user characterization data and the memory characterization data. It is understood that the recovery degree reasoning model is trained based on a large amount of characterization data and the corresponding memory recovery degree. 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 restoration 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 restoration degree and the characterization data.
For example, assuming that the memory characterization data includes the number of times of opening the target application service within a set time interval, when the number of times of opening is greater than or equal to a first time threshold, determining that the memory recovery degree is completely cleared; when the opening times are larger than or equal to the second time threshold and smaller than the first time threshold, judging that the memory recovery degree is local recovery; and when the opening times are smaller than the second times threshold, judging that the memory recovery degree is complete recovery. Such as because the user repeatedly opens the target application service a plurality of times in a short time, possibly because the user does not want to see or feel the interface content, so that the recommended output of the interface content can be reduced when the interface content is generated; the user only opens the target application service twice and three times in a short time, possibly because of careless exit caused by misoperation, and the interface content of the previous display interface can be directly displayed when the interface content is generated.
The memory recovery degree of the interface content of the interface to be displayed can be deduced when the target application service is started by determining the instruction type of the trigger instruction, so that the accuracy of the content parameters is further accurate based on the memory recovery degree, and the accuracy of the interface content is further improved.
In one embodiment, when obtaining the content parameters of the interface to be displayed, a content parameter decision may be made according to the memory recovery degree, where if the memory recovery degree is complete recovery, the historical content parameters corresponding to the target application service are obtained, and the historical content parameters are used as the content parameters of the interface to be displayed of the target application service; if the 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 the content parameters of the interface to be displayed of the target application service; and if the memory recovery degree is completely cleared, generating 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.
When the memory recovery degree is full recovery, the content parameter decision model of the interface content generating device directly acquires the historical content parameters corresponding to the target application service, takes the acquired historical content parameters as the content parameters of the interface to be displayed, and outputs the historical content parameters, wherein the historical content parameters are the content parameters of the interface which the target application service is displaying before the user exits the target application service last time; if the memory recovery degree is a local reply, acquiring historical content parameters corresponding to the target application service, selecting a first number of the historical content parameters from the acquired historical content parameters, deciding a target content parameter based on user characterization data, memory characterization data and operation characterization data, selecting a second number of the target content parameters from the decided target content parameters, integrating the selected first number of the historical content parameters and the second number of the target content parameters into content parameters of an interface to be displayed, and outputting the content parameters; if the memory recovery degree is completely cleared, the memory parameters of the interface to be displayed are determined directly based on the user characterization data, the memory characterization data and the operation characterization data and are output.
The content parameters of different interfaces to be displayed are obtained by obtaining the content parameters corresponding to the memory recovery degree and then combining with the content parameters determined at present in another quantity, so that different content parameters are output aiming at different possible conditions (such as repeated exit, start, misoperation and the like), and the accuracy of the content parameters in different application scenes is improved.
In one embodiment, the obtaining, based on the user characterization data, the memory characterization data, and the operation characterization data, content parameters of an interface to be displayed of the target application service 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 in a started state, and then based on a triggering instruction triggered by the current display interface of the target application service, such as a sub-application service of the target application service is started/triggered/controlled.
When the triggering instruction is a second instruction, the interface content generating device judges that the display content of the interface which is displayed by the target application service before the user exits the target application service last time is not required to be restored at present, and then the memory restoration degree, the user characterization data, the memory characterization data and the operation characterization data can be directly input into a content decision model, and the content decision model decides out content parameters based on the memory restoration degree and the characterization data.
By determining the instruction type of the trigger instruction, the content parameters meeting the requirements can be directly obtained without executing other processes in the process of continuously using the target application service, and the generation efficiency of the interface content is improved.
S212, generating interface content of the interface to be displayed based on the content parameters.
In one implementation, an interface content generation device obtains interface content that satisfies content parameters. For example, the interface content satisfying the content parameter may be directly generated by the interface content generating device, or may be requested from a server connected to the interface content generating device.
In the embodiment of the specification, the trigger instruction for the target application service is obtained, then operation characterization data corresponding to the target application service is generated based on the trigger instruction, so that the to-be-displayed interface content parameters of the target application service are obtained based on the memory characterization data and the operation characterization data corresponding to the target application service, wherein the memory characterization data are characterization data generated by historical memory information associated with the target application service, namely, the content parameters of the interface content corresponding to the target application service, which need to be displayed, are determined based on the interaction action and the historical memory information between the user and the target application service, and further the interface content corresponding to the user and the target application service is generated based on the content parameters, namely, the interface content of the interface to be displayed corresponding to the user and the target application service is deduced based on the trigger instruction and the historical memory information, so that the repetition rate of the interface content corresponding to the target application service is reduced, and the accuracy of the interface content is improved by obtaining more accurate interface content; the method comprises the steps of obtaining various types of history memory information corresponding to target application services, improving the information type and information quantity of the history memory information corresponding to the target application services, and improving the information quantity of memory characterization data obtained based on the history memory information, so that feature data for obtaining content parameters are increased, and the accuracy of the content parameters is improved by increasing features; the processing efficiency of the historical memory information is improved by generating the memory heterogram corresponding to the target application service, so that the acquisition efficiency of the interface content is improved; by randomly selecting a third number of target nodes, when the memory abnormal pattern is too large, the huge calculation amount caused by traversing all the nodes in the memory abnormal pattern is reduced, and the generation efficiency of interface content is improved; by acquiring user characterization data, adding decision basis about the user in the decision process, so that the content parameter decision model makes decisions more suitable for the content parameters of the user, and the accuracy of the content parameters for the user is improved; the memory recovery degree of the interface content of the interface to be displayed can be deduced when the target application service is started by determining the instruction type of the trigger instruction, so that the accuracy of the content parameters is further accurate based on the memory recovery degree, and the accuracy of the interface content is further improved; obtaining content parameters of different interfaces to be displayed by obtaining content parameters corresponding to the memory recovery degree and combining with other content parameters determined currently, so as to output different content parameters aiming at different possible conditions (such as repeated exit, start, misoperation and the like) and improve the accuracy of the content parameters in different application scenes; by determining the instruction type of the trigger instruction, the content parameters meeting the requirements can be directly obtained without executing other processes in the process of continuously using the target application service, and the generation efficiency of the interface content is improved.
The interface content generating device according to the embodiment of the present disclosure will be described in detail with reference to fig. 5 to 6. It should be noted that, the interface content generating device of fig. 5 to fig. 6 is used to execute the method of the embodiment of fig. 2 to fig. 4 in the embodiment of the present specification, for convenience of explanation, only the portion relevant to the embodiment of the present specification is shown, and specific technical details are not disclosed, please refer to the embodiment of fig. 2 to fig. 4 in the embodiment of the present specification.
Referring to fig. 5, a schematic structural diagram of an interface content generating device is provided in an embodiment of the present disclosure. As shown in fig. 5, the interface content generating apparatus 1 of the embodiment of the present specification may include: the operation characterization acquisition module 11, the parameter acquisition module 12, and the content generation module 13.
An operation representation acquisition module 11, configured to acquire a trigger instruction for a target application service, and generate operation representation data corresponding to the target application service based on the trigger instruction;
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 history memory information associated with the target application service;
and the content generation module 13 is used for generating the interface content of the interface to be displayed based on the content parameters.
In the embodiment of the specification, the trigger instruction for the target application service is obtained, and then the operation characterization data corresponding to the target application service is generated based on the trigger instruction, so that the to-be-displayed interface content parameters of the target application service are obtained based on the memory characterization data and the operation characterization data corresponding to the target application service, wherein the memory characterization data are characterization data generated by historical memory information associated with the target application service, namely, the content parameters of the interface content corresponding to the target application service, which need to be displayed, are determined based on the interaction action and the historical memory information between the user and the target application service, and further the interface content corresponding to the user and the target application service is generated based on the content parameters, namely, the interface content of the to-be-displayed interface corresponding to the user and the target application service is deduced based on the trigger instruction and the historical memory information, so that the repetition rate of the interface content corresponding to the target application service is reduced, and the accuracy of the interface content is improved by obtaining more accurate interface content.
In one 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 specification, the user characterization data is obtained, so that the decision basis of the user in the decision process is increased, the content parameter decision model is more suitable for the content parameters of the user, and the accuracy of the content parameters for the user is improved.
In one 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 specification, the memory recovery degree of the interface content of the interface to be displayed can be deduced when the target application service is started by determining the instruction type of the trigger instruction, so that the accuracy of the content parameters is further accurate based on the memory recovery degree, and the accuracy of the interface content is further improved.
In one 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 the content parameters of the interface to be displayed of the target application service;
And if the memory recovery degree is completely cleared, generating 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 specification, the content parameters of different interfaces to be displayed are obtained by acquiring the content parameters corresponding to the memory recovery degree and then combining with the content parameters determined at present in another quantity, so that different content parameters are output aiming at different possible conditions (such as repeated exit, start, misoperation and the like), and the accuracy of the content parameters in different application scenes is improved.
In one 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 specification, the instruction type of the trigger instruction is determined, so that the content parameters meeting the requirements can be directly obtained without executing other processes in the process of continuously using the target application service, and the generation efficiency of the interface content is improved.
In another embodiment, referring to fig. 6, a schematic structural diagram of an interface content generating device is provided in an embodiment of the present disclosure. As shown in fig. 6, the interface content generating apparatus 1 of the embodiment of the present specification may further include: a memory characterization acquisition module 14.
The memory representation acquisition module 14 is specifically configured to:
acquiring first historical memory information generated for the target application service and second historical 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 characterization 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 disclosure, by acquiring a plurality of 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 for acquiring content parameters is increased, and the accuracy of the content parameters is improved by increasing features.
In one embodiment, the memory characterization acquisition module 14 is specifically configured to:
Generating a memory heterogram corresponding to the target application service based on the first history memory information and the second history memory information;
And generating memory characterization data corresponding to the target application service based on the memory heterograph.
In the embodiment of the specification, the processing efficiency of the historical memory information is improved by generating the memory iso-composition corresponding to the target application service, so that the acquisition efficiency of the interface content is improved.
In one embodiment, the memory characterization acquisition module 14 is specifically configured to:
selecting a third number of target nodes in the memory abnormal pattern;
And generating memory characterization data corresponding to the target application service based on each target node and a relation chain corresponding to each target node.
In the embodiment of the specification, by randomly selecting the third number of target nodes, when the memory abnormal pattern is too large, the huge calculation amount caused by traversing all the nodes in the calculation memory abnormal pattern is reduced, and the generation efficiency of interface content is improved.
The embodiments of the present disclosure further provide a storage medium, where a plurality of program instructions may be stored, where the program instructions are adapted to be loaded and executed by a processor, where the specific implementation procedure may refer to the specific description of the embodiments shown in fig. 2-4, and are not described herein.
The embodiment of the present disclosure further provides a computer program product, where at least one instruction is stored in the computer program product, where the at least one instruction is loaded by the processor and executed by the processor to perform the method for generating interface content according to the embodiment shown in fig. 2 to fig. 4, and the specific execution process may refer to the specific description of the embodiment shown in fig. 2 to fig. 4, which is not repeated herein.
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 embodiment of the present specification may include the following components: processor 110, memory 120, input device 130, output device 140, and bus 150. The processor 110, the memory 120, the input device 130, and the output device 140 may be connected by a bus 150.
Processor 110 may include one or more processing cores. The processor 110 utilizes various interfaces and lines to connect various portions of the overall electronic device, perform various functions of the electronic device 100, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120, and invoking data stored in the memory 120. Alternatively, the processor 110 may be implemented in at least one hardware form of Digital Signal Processing (DSP), field-programmable gate array (FPGA), programmable logic array (programmable logic Array, PLA). The processor 110 may integrate one or a combination of several of a processor (central processing unit, CPU), an image processor (graphics processing unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing of display content; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 110 and may be implemented solely by a single communication chip.
The memory 120 may include a random access memory (random Access Memory, RAM) or a read-only memory (ROM). Optionally, the memory 120 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). Memory 120 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, which may be an Android (Android) system, including an Android system-based deep development system, an IOS system developed by apple corporation, including an IOS system-based deep development system, or other systems, 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. The storage data area may also store data created by the electronic device in use, such as phonebooks, audiovisual data, chat log data, and the like.
Referring to FIG. 8, the memory 120 may be divided into an operating system space in which the operating system is running and a user space in which native and third party applications are running. In order to ensure that different third party application programs can achieve better operation effects, 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, under the local resource loading scenario, the third party application program has higher requirement on the disk reading speed; in the animation rendering scene, the third party application program has higher requirements on the GPU performance. The operating system and the third party application program are mutually independent, and the operating system often cannot timely sense the current application scene of the third party application program, 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 specific application scenes of the third-party application program, data communication between the third-party application program and the operating system needs to be communicated, so that the operating system can acquire current scene information of the third-party application program at any time, and targeted system resource adaptation is performed based on the current scene.
Taking an operating system as an Android system as an example, as shown in fig. 9, a program and data stored in the memory 120 may be stored in the memory 120 with a Linux kernel layer 320, a system runtime library layer 340, an application framework layer 360 and an application layer 380, 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 the underlying drivers for various hardware of the electronic device, such as display drivers, audio drivers, camera drivers, bluetooth drivers, wi-Fi drivers, power management, and the like. The system runtime layer 340 provides the main feature support for the Android system through some C/c++ libraries. For example, the SQLite library provides support for databases, the OpenGL/ES library provides support for 3D graphics, the Webkit library provides support for browser kernels, and the like. Also provided in the system runtime library layer 340 is An Zhuoyun runtime library (Android runtime), which primarily 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 applications, which developers can also build their own applications by using, for example, campaign management, window management, view management, notification management, content provider, package management, call management, resource management, location management. At least one application program is running in the application layer 380, and these application programs may be native application programs of the operating system, such as a contact program, a short message program, a clock program, a camera application, etc.; and may also be a third party application developed by a third party developer, such as a game-like application, instant messaging program, photo beautification program, wallpaper setting program, etc.
Taking an operating system as an IOS system as an example, the programs and data stored in the memory 120 are shown in fig. 10, the IOS system includes: core operating system layer 420 (Core OS layer), core services layer 440 (Core SERVICES LAYER), media layer 460 (MEDIA LAYER), and touchable layer 480 (Cocoa Touch Layer). The core operating system layer 420 includes an operating system kernel, drivers, and underlying program frameworks that provide more hardware-like functionality for use by the program frameworks at the core services layer 440. The core services layer 440 provides system services and/or program frameworks required by the application, such as a Foundation (Foundation) framework, an account framework, an advertisement framework, a data storage framework, a network connection framework, a geographic location framework, a sports framework, and the like. The media layer 460 provides an interface for applications related to audiovisual aspects, such as a graphics-image related interface, an audio technology related interface, a video technology related interface, an audio video transmission technology wireless play (AirPlay) interface, and so forth. The touchable layer 480 provides various commonly used interface-related frameworks for application development, with the touchable layer 480 being responsible for user touch interactions on the electronic device. Such as a local notification service, a remote push service, an advertisement framework, a game tool framework, a message User Interface (UI) framework, a User Interface UIKit framework, a map framework, and so forth.
Among the frameworks illustrated in fig. 10, frameworks related to most applications include, but are not limited to: a base framework in core services layer 440 and UIKit frameworks in touchable layer 480. The infrastructure provides many basic object classes and data types, providing the most basic system services for all applications, independent of the UI. While the class provided by the UIKit framework is a base UI class library for creating touch-based user interfaces, iOS applications can provide UIs based on the UIKit framework, so it provides the application's infrastructure for building user interfaces, drawing, handling and user interaction events, responding to gestures, and so on.
The manner and principle of implementing data communication between the third party application program and the operating system in the IOS system may refer to the Android system, and the embodiments of the present disclosure are not described herein again.
The input device 130 is configured to receive input instructions or data, and the input device 130 includes, but is not limited to, a keyboard, a mouse, a camera, a microphone, or a touch device. The output device 140 is used to output instructions or data, and the output device 140 includes, but is not limited to, a display device, 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 a touch display screen for receiving a touch operation thereon or thereabout by a user using a finger, a touch pen, or any other suitable object, and displaying a user interface of each application program. Touch display screens are typically provided on the front panel of an electronic device. The touch display screen may be designed as a full screen, a curved screen, or a contoured screen. The touch display screen may also be designed as a combination of a full screen and a curved screen, a combination of a special-shaped screen and a curved screen, and the embodiments of the present disclosure are not limited thereto.
In addition, those skilled in the art will appreciate that the configuration of the electronic device shown in the above-described figures does not constitute a limitation of the electronic device, and the electronic device may include more or less components than illustrated, or may combine certain components, or may have a different arrangement of components. For example, the electronic device further includes components such as a radio frequency circuit, an input unit, a sensor, an audio circuit, a Wi-Fi module, a power supply, and a bluetooth module, which are not described herein.
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 other operating systems, which embodiments of the present specification are not limited to.
The electronic device of the embodiment of the present specification may further have a display device mounted thereon, and the display device may be various devices capable of realizing a display function, for example: cathode ray tube displays (cathode ray tubedisplay, CR), light-emitting diode displays (light-emitting diode display, LED), electronic ink screens, liquid Crystal Displays (LCD), plasma display panels (PLASMA DISPLAY PANEL, PDP), and the like. A user may utilize a display device on electronic device 101 to view displayed text, images, video, etc. The electronic device may be a smart phone, a tablet computer, a gaming device, an AR (Augmented Reality ) device, an automobile, a data storage, an audio playing device, a video playing device, a notebook, a desktop computing device, a wearable device such as an electronic watch, electronic glasses, an electronic helmet, an electronic bracelet, an electronic necklace, an electronic article of clothing, etc.
In the electronic device shown in fig. 7, the processor 110 may be configured to call the interface content generation program stored in the memory 120, and specifically perform the following operations:
acquiring a trigger instruction aiming at a target application service, and generating operation characterization 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 interface content of the interface to be displayed based on the content parameters.
In one embodiment, when executing the memory characterization data and the operation characterization data corresponding to the target application service, the processor 110 obtains the content parameters 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 executing the obtaining the 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, the processor 110 specifically performs 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 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 one embodiment, when the content parameters of the interface to be displayed of the target application service are obtained based on the user characterization data, the memory characterization data and the operation characterization data by adopting the memory recovery degree, the following operations are specifically executed:
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 the content parameters of the interface to be displayed of the target application service;
And if the memory recovery degree is completely cleared, generating 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 executing the obtaining the 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, the processor 110 specifically performs 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 includes the first history memory information and the second history memory information, the processor 110 obtains a trigger instruction for the target application service, and generates operation characterization data corresponding to the target application service based on the trigger instruction, the processor further executes the following operations:
acquiring first historical memory information generated for the target application service and second historical 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 characterization data corresponding to the target application service based on the first historical memory information and the second historical memory information.
In one embodiment, when executing the generation of the memory characterization data corresponding to the target application service based on the first historical memory information and the second historical memory information, the processor 110 specifically performs the following operations:
Generating a memory heterogram corresponding to the target application service based on the first history memory information and the second history memory information;
And generating memory characterization data corresponding to the target application service based on the memory heterograph.
In one embodiment, when executing the memory heterogeneous graph includes a plurality of memory nodes and a relationship between each of the plurality of memory nodes, the processor 110 specifically executes the following operations when generating the memory characterization data corresponding to the target application service based on the memory heterogeneous graph:
selecting a third number of target nodes in the memory abnormal pattern;
And generating memory characterization data corresponding to the target application service based on each target node and a relation chain corresponding to each target node.
In the embodiment of the specification, the trigger instruction for the target application service is obtained, then operation characterization data corresponding to the target application service is generated based on the trigger instruction, so that the to-be-displayed interface content parameters of the target application service are obtained based on the memory characterization data and the operation characterization data corresponding to the target application service, wherein the memory characterization data are characterization data generated by historical memory information associated with the target application service, namely, the content parameters of the interface content corresponding to the target application service, which need to be displayed, are determined based on the interaction action and the historical memory information between the user and the target application service, and further the interface content corresponding to the user and the target application service is generated based on the content parameters, namely, the interface content of the interface to be displayed corresponding to the user and the target application service is deduced based on the trigger instruction and the historical memory information, so that the repetition rate of the interface content corresponding to the target application service is reduced, and the accuracy of the interface content is improved by obtaining more accurate interface content; the method comprises the steps of obtaining various types of history memory information corresponding to target application services, improving the information type and information quantity of the history memory information corresponding to the target application services, and improving the information quantity of memory characterization data obtained based on the history memory information, so that feature data for obtaining content parameters are increased, and the accuracy of the content parameters is improved by increasing features; the processing efficiency of the historical memory information is improved by generating the memory heterogram corresponding to the target application service, so that the acquisition efficiency of the interface content is improved; by randomly selecting a third number of target nodes, when the memory abnormal pattern is too large, the huge calculation amount caused by traversing all the nodes in the memory abnormal pattern is reduced, and the generation efficiency of interface content is improved; by acquiring user characterization data, adding decision basis about the user in the decision process, so that the content parameter decision model makes decisions more suitable for the content parameters of the user, and the accuracy of the content parameters for the user is improved; the memory recovery degree of the interface content of the interface to be displayed can be deduced when the target application service is started by determining the instruction type of the trigger instruction, so that the accuracy of the content parameters is further accurate based on the memory recovery degree, and the accuracy of the interface content is further improved; obtaining content parameters of different interfaces to be displayed by obtaining content parameters corresponding to the memory recovery degree and combining with other content parameters determined currently, so as to output different content parameters aiming at different possible conditions (such as repeated exit, start, misoperation and the like) and improve the accuracy of the content parameters in different application scenes; by determining the instruction type of the trigger instruction, the content parameters meeting the requirements can be directly obtained without executing other processes in the process of continuously using the target application service, and the generation efficiency of the interface content is improved.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of combinations of actions, but it should be understood by those skilled in the art that the embodiments are not limited by the order of actions described, as some steps may be performed in other order or simultaneously according to the embodiments of the present disclosure. Further, those skilled in the art will appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily all required for the embodiments described in the specification.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
The foregoing is a description of a method, an apparatus, a storage medium, and a device for generating interface content provided in the embodiments of the present disclosure, where those skilled in the art may change the specific implementation and application scope according to the concepts of the embodiments of the present disclosure, and in summary, the disclosure should not be construed as limiting one or embodiments of the present disclosure.
Claims (10)
1. A method of interface content generation, the method comprising:
acquiring user characterization data corresponding to a target application service, wherein the user characterization data is generated based on a user portrait and a user operation context;
If the trigger instruction is a first instruction, inputting user characterization data and memory characterization data into a recovery degree reasoning model, and reasoning the memory recovery degree of an interface to be displayed based on the user characterization data and the memory characterization data by the recovery degree reasoning model, wherein the recovery degree reasoning model is obtained by training based on the user characterization data and the memory recovery degree corresponding to the user characterization data, the first instruction is used for starting a service interface of the target application service, and the memory recovery degree comprises three memory recovery degrees of complete recovery, partial recovery and complete clearing, wherein the complete recovery refers to that the interface content of the interface which is displayed by the target application service before the user exits from the target application service last time is displayed; the local restoration is to select part of interface contents to display in the interface contents of the interface which the target application service is displaying before the user logs out of the target application service last time; completely clearing means that the interface content of the interface to be displayed is irrelevant to the interface content of the interface which is being displayed by the target application service before the user logs out of the target application service last time;
Inputting memory restoration degree, user characterization data, memory characterization data and operation characterization data into a content decision model to decide out content parameters, wherein the operation characterization data is characteristic data obtained by performing data processing operation on the trigger instruction and is used for representing operation on a target application service by a user, the content decision model is trained based on the user characterization data and corresponding parameter labels, the memory characterization data is characterization data generated based on historical memory information associated with the target application service, and the memory characterization data is characteristic data obtained by performing data processing operation on the historical memory information and is used for representing interaction characteristics related to the target application service by the user;
and generating interface content of the interface to be displayed based on the content parameters.
2. The method of claim 1, the inputting the memory restoration degree, the user characterization data, the memory characterization data, and the operation characterization data into a content decision model to decide the content parameters, comprising:
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 the content parameters of the interface to be displayed of the target application service;
And if the memory recovery degree is completely cleared, generating 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 1, 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, comprising:
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.
4. 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 the acquiring the trigger instruction for the target application service further includes, before generating the operation characterization data corresponding to the target application service based on the trigger instruction:
acquiring first historical memory information generated for the target application service and second historical 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 characterization data corresponding to the target application service based on the first historical memory information and the second historical memory information.
5. The method of claim 4, the generating memory characterization data corresponding to the target application service based on the first historic memory information and the second historic memory information, comprising:
Generating a memorization abnormal pattern corresponding to the target application service based on the first historical memory information and the second historical memory information, wherein the memorization abnormal pattern comprises a plurality of nodes and relations among the nodes, and the nodes are used for indicating different types of information in the first historical memory information and the second historical memory information;
And generating memory characterization data corresponding to the target application service based on the memory heterograph.
6. The method of claim 5, the generating memory characterization data corresponding to the target application service based on the memory profile, comprising:
selecting a third number of target nodes in the memory abnormal pattern;
And generating memory characterization data corresponding to the target application service based on each target node and a relation chain corresponding to each target node.
7. An interface content generating apparatus comprising:
The operation characterization acquisition module is used for acquiring 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;
If the trigger instruction is a first instruction, inputting user characterization data and memory characterization data into a recovery degree reasoning model, and reasoning the memory recovery degree of an interface to be displayed based on the user characterization data and the memory characterization data by the recovery degree reasoning model, wherein the recovery degree reasoning model is obtained by training based on the user characterization data and the memory recovery degree corresponding to the user characterization data, the first instruction is used for starting a service interface of the target application service, and the memory recovery degree comprises three memory recovery degrees of complete recovery, partial recovery and complete clearing, wherein the complete recovery refers to that the interface content of the interface which is displayed by the target application service before the user exits from the target application service last time is displayed; the local restoration is to select part of interface contents to display in the interface contents of the interface which the target application service is displaying before the user logs out of the target application service last time; completely clearing means that the interface content of the interface to be displayed is irrelevant to the interface content of the interface which is being displayed by the target application service before the user logs out of the target application service last time;
Inputting memory restoration degree, user characterization data, memory characterization data and operation characterization data into a content decision model to decide out content parameters, wherein the operation characterization data is characteristic data obtained by performing data processing operation on the trigger instruction and is used for representing operation on a target application service by a user, the content decision model is trained based on the user characterization data and corresponding parameter labels, the memory characterization data is characterization data generated based on historical memory information associated with the target application service, and the memory characterization data is characteristic data obtained by performing data processing operation on the historical memory information and is used for representing interaction characteristics related to the target application service by the user;
and the content generation module is used for generating the interface content of the interface to be displayed based on the content parameters.
8. A storage medium having stored thereon a computer program which, when executed by a processor, implements the interface content generation method of any of claims 1-6.
9. A computer program product comprising instructions which, when run on a computer or processor, cause the computer or processor to perform the interface content generation method of any of claims 1-6.
10. 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-6.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210131502.2A CN114443204B (en) | 2022-02-11 | 2022-02-11 | Interface content generation method, device, storage medium and computer equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210131502.2A CN114443204B (en) | 2022-02-11 | 2022-02-11 | Interface content generation method, device, storage medium and computer equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114443204A CN114443204A (en) | 2022-05-06 |
| CN114443204B true CN114443204B (en) | 2024-10-18 |
Family
ID=81371965
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210131502.2A Active CN114443204B (en) | 2022-02-11 | 2022-02-11 | Interface content generation method, device, storage medium and computer equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114443204B (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108537644A (en) * | 2018-04-23 | 2018-09-14 | 吉林亿联银行股份有限公司 | A kind of method and apparatus of customer service recommended products |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8712971B2 (en) * | 2012-07-13 | 2014-04-29 | Symantec Corporation | Restore software with aggregated view of content databases |
| CN109413477A (en) * | 2018-09-21 | 2019-03-01 | 青岛海信电器股份有限公司 | Display methods and device for historical content service in display terminal |
| CN112748969B (en) * | 2019-10-31 | 2024-12-13 | 阿里巴巴集团控股有限公司 | Information processing method, information display method and device |
-
2022
- 2022-02-11 CN CN202210131502.2A patent/CN114443204B/en active Active
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108537644A (en) * | 2018-04-23 | 2018-09-14 | 吉林亿联银行股份有限公司 | A kind of method and apparatus of customer service recommended products |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114443204A (en) | 2022-05-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111459586B (en) | Remote assistance method, device, storage medium and terminal | |
| CN111767554A (en) | Screen sharing method and device, storage medium and electronic equipment | |
| CN112116212B (en) | Application evaluation methods, devices, storage media and electronic equipment | |
| CN111124668B (en) | Memory release method, device, storage medium and terminal | |
| CN112653670A (en) | Service logic vulnerability detection method, device, storage medium and terminal | |
| CN111127469A (en) | Thumbnail display method, device, storage medium and terminal | |
| CN110702346B (en) | Vibration testing method and device, storage medium and terminal | |
| CN113126859A (en) | Contextual model control method, contextual model control device, storage medium and terminal | |
| CN112218130A (en) | Control method and device for interactive video, storage medium and terminal | |
| CN112256354B (en) | Application starting method and device, storage medium and electronic equipment | |
| CN114443204B (en) | Interface content generation method, device, storage medium and computer equipment | |
| CN113268221A (en) | File matching method and device, storage medium and computer equipment | |
| CN112328339A (en) | Notification message display method and device, storage medium and electronic equipment | |
| CN113268414B (en) | Experimental version distribution method, device, storage medium and computer equipment | |
| CN113825022B (en) | Method and device for detecting play control state, storage medium and electronic equipment | |
| CN117354416A (en) | A message processing method, device, storage medium and electronic equipment | |
| CN113918350B (en) | Garbage collection method, garbage collection device, storage medium and electronic equipment | |
| CN115328725A (en) | State monitoring method and device, storage medium and electronic equipment | |
| CN108415746A (en) | Application interface display method and device, storage medium and electronic equipment | |
| CN113934501A (en) | Translation method, translation device, storage medium and electronic equipment | |
| CN112612633A (en) | Inter-process communication method, device, storage medium and terminal | |
| CN112187879A (en) | Notification message control method and device, storage medium and terminal | |
| CN111008006A (en) | RFC file modification method and device, storage medium and terminal | |
| CN117591488B (en) | File detection method, device, storage medium and electronic equipment | |
| CN113485778B (en) | Page data processing method and device, storage medium and electronic device |
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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |