CN110134902B - Data information generating method, device and storage medium - Google Patents

Data information generating method, device and storage medium Download PDF

Info

Publication number
CN110134902B
CN110134902B CN201910398129.5A CN201910398129A CN110134902B CN 110134902 B CN110134902 B CN 110134902B CN 201910398129 A CN201910398129 A CN 201910398129A CN 110134902 B CN110134902 B CN 110134902B
Authority
CN
China
Prior art keywords
data information
target user
historical operation
terminal
user identifier
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
Application number
CN201910398129.5A
Other languages
Chinese (zh)
Other versions
CN110134902A (en
Inventor
马坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Tangzhi Cosmos Technology Co ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201910398129.5A priority Critical patent/CN110134902B/en
Publication of CN110134902A publication Critical patent/CN110134902A/en
Application granted granted Critical
Publication of CN110134902B publication Critical patent/CN110134902B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking

Abstract

The disclosure relates to a method and a device for generating data information and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: acquiring a historical operation record of a target user identifier, wherein the historical operation record is used for recording the operation executed by a target user corresponding to the target user identifier in the social application; acquiring a data information generation model, wherein the data information generation model is used for generating data information of any user according to the historical operation record of any user; the historical operation records are input into the data information generation model to generate the data information of the target user identification, a more intelligent generation mode is provided, the data information can be automatically generated without manual editing operation of a user, the operation is simplified, the efficiency is improved, the data information generated by the data information generation model can be updated according to the operation behavior of the user, the timeliness is better, the target user can be helped to dig out own preference or mood and the like, and the information quantity is improved.

Description

Data information generating method, device and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for generating data information, and a storage medium.
Background
With the rapid development of computer technology and the wide popularization of social applications, communication through social applications has become the most common way of communication among users. In order to improve the communication efficiency, the social application provides a function of generating the data information, and the user can generate the data information of the user and display the data information to other users, so that the other users can know the user conveniently.
In the related technology, a terminal used by a user logs in a social application based on a user identifier, a data information display interface is displayed through the social application, the data information display interface comprises at least one setting column of data information, such as name, gender, age, occupation and the like, the user can edit any setting column, so that own data information is generated, other subsequent users can view the generated data information through the data information display interface, and the user is deeply known. However, the above scheme for generating the data information requires the user to manually perform an editing operation to generate the data information, which is tedious in operation and low in efficiency.
Disclosure of Invention
The present disclosure provides a data information generating method, apparatus and storage medium, which can overcome the problems in the related art.
According to a first aspect of the embodiments of the present disclosure, there is provided a material information generating method, the method including:
acquiring a historical operation record of a target user identifier, wherein the historical operation record is used for recording the operation executed by a target user corresponding to the target user identifier in a social application;
acquiring a data information generation model, wherein the data information generation model is used for generating data information of any user according to the historical operation record of any user;
and inputting the historical operation record into the material information generation model to generate the material information of the target user identifier.
In one possible implementation manner, the obtaining the historical operation record of the target user identifier includes:
acquiring a plurality of historical operation records of the target user identifier, wherein each historical operation record comprises an operation moment;
and extracting historical operation records of which the operation time is within a preset time length before the current time from the plurality of historical operation records.
In another possible implementation manner, the obtaining the historical operation record of the target user identifier includes:
when a data information generation instruction carrying the target user identification is received, acquiring the historical operation record;
or acquiring the historical operation records every other preset time length;
or, every time when a preset number of historical operation records of the target user identifier are generated, acquiring the preset number of historical operation records.
In another possible implementation, the method is applied to a social application server;
the material information generation instruction is sent by any terminal when the triggering operation of the head portrait of the target user identification is detected; alternatively, the first and second electrodes may be,
and the data information generation instruction is sent when a target terminal logging in the target user identifier detects data information refreshing operation.
In another possible implementation manner, the method is applied to a terminal, and the method further includes:
displaying a first material information display interface of the target user identification through the social application, wherein the first material information display interface comprises material information and a material information expansion button set by the target user;
and when the triggering operation of the data information expansion button is detected, displaying a second data information display interface, wherein the second data information display interface comprises data information generated for the target user identifier by the data information generation model.
In another possible implementation manner, before the obtaining the profile information generation model, the method further includes:
obtaining at least one group of sample data, wherein each group of sample data comprises a historical operation record of a sample user identifier and data information;
and training the data information generation model according to the at least one group of sample data.
In another possible implementation manner, the material information generation model includes a plurality of submodels corresponding to a plurality of preset types, and each submodel is used for generating material information belonging to a corresponding preset type according to a historical operation record belonging to the corresponding preset type; inputting the historical operation record into the profile information generation model to generate the profile information of the target user identifier, wherein the generating of the profile information of the target user identifier comprises:
determining a preset type of the historical operation record;
and inputting the historical operation records into a sub-model corresponding to the preset type to generate the material information belonging to the preset type.
In another possible implementation manner, before the obtaining the profile information generation model, the method further includes:
acquiring at least one group of sample data and a preset type of each group of sample data, wherein each group of sample data comprises a historical operation record of a sample user identifier and data information;
and for each preset type, training the sub-model corresponding to the preset type according to the sample data belonging to the preset type.
According to a second aspect of the embodiments of the present disclosure, there is provided a profile information generating apparatus, the apparatus including:
the record acquisition unit is configured to acquire a historical operation record of a target user identifier, wherein the historical operation record is used for recording an operation executed in a social application by a target user corresponding to the target user identifier;
a model acquisition unit configured to acquire a profile information generation model for generating profile information of any user according to a history operation record of the any user;
and the generating unit is configured to input the historical operation record into the material information generating model and generate material information of the target user identification.
In one possible implementation manner, the record obtaining unit includes:
an obtaining subunit, configured to obtain a plurality of historical operation records of the target user identifier, each historical operation record including an operation time;
and the extracting subunit is configured to extract the historical operation records of which the operation time is within a preset time length before the current time from the plurality of historical operation records.
In another possible implementation manner, the record obtaining unit is further configured to:
when a data information generation instruction carrying the target user identification is received, acquiring the historical operation record;
or acquiring the historical operation records every other preset time length;
or, every time when a preset number of historical operation records of the target user identifier are generated, acquiring the preset number of historical operation records.
In another possible implementation manner, the device is applied to a social application server;
the material information generation instruction is sent by any terminal when the triggering operation of the head portrait of the target user identification is detected; alternatively, the first and second electrodes may be,
and the data information generation instruction is sent when a target terminal logging in the target user identifier detects data information refreshing operation.
In another possible implementation manner, the apparatus is applied in a terminal, and the apparatus further includes:
a first display unit configured to display a first profile information presentation interface of the target user identifier through the social application, the first profile information presentation interface including profile information and a profile information extension button set by the target user;
a second display unit configured to display a second material information presentation interface including material information generated for the target user identification by the material information generation model when a trigger operation on the material information expansion button is detected.
In another possible implementation manner, the apparatus further includes:
the data acquisition unit is configured to acquire at least one group of sample data, wherein each group of sample data comprises historical operation records and material information of a sample user identifier;
and the training unit is configured to train the data information generation model according to the at least one group of sample data.
In another possible implementation manner, the material information generation model includes a plurality of submodels corresponding to a plurality of preset types, and each submodel is used for generating material information belonging to a corresponding preset type according to a historical operation record belonging to the corresponding preset type; the generation unit includes:
a determining subunit, configured to determine a preset type to which the historical operation record belongs;
and the generating subunit is configured to input the historical operation record into a sub-model corresponding to the preset type, and generate the material information belonging to the preset type.
In another possible implementation manner, the apparatus further includes:
the data acquisition unit is configured to acquire at least one group of sample data and a preset type of each group of sample data, wherein each group of sample data comprises a historical operation record of a sample user identifier and data information;
and the training unit is configured to train the sub-models corresponding to the preset types according to the sample data belonging to the preset types for each preset type.
According to a third aspect of the embodiments of the present disclosure, there is provided a profile information generating apparatus, the apparatus including:
one or more processors;
volatile or non-volatile memory for storing the one or more processor-executable commands;
wherein the one or more processors are configured to perform the profile information generation method of the first aspect.
According to a fourth aspect provided by an embodiment of the present disclosure, there is provided a non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of a material information generation apparatus, enable the material information generation apparatus to perform the material information generation method according to the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product, wherein instructions that, when executed by a processor of a profile information generation apparatus, enable the profile information generation apparatus to perform the profile information generation method according to the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the method comprises the steps of obtaining a historical operation record of a target user identification, wherein the historical operation record is used for recording the operation executed by a target user in a social application corresponding to the target user identification, obtaining a material information generation model, and the material information generation model is used for generating material information of any user according to the historical operation record of any user, inputting the historical operation record into the material information generation model, and generating the material information of the target user identification. The intelligent generation mode is provided, the data information can be automatically generated without manual editing operation of a user, the operation is simplified, and the efficiency is improved.
In addition, because the frequency of setting the material information by the target user is low, the material information set by the target user is limited, and the timeliness is poor. The data information generated by the data information generation model can be updated according to the operation behaviors of the user, so that the timeliness is good, the target user can be helped to dig out own preference or mood and the like, and the information quantity is improved.
And the social application server can generate the data information of the target user identifier every preset time or every time a preset number of historical operation records are generated, when the social application server receives a data information generation instruction sent by the terminal, the newly generated data information of the target user identifier can be obtained and sent to the terminal, and the data information of the target user identifier does not need to be generated at the current moment, so that the waiting time is saved, the time for the terminal to obtain the data information is shortened, and the rate for the terminal to obtain the data information is improved.
And moreover, the user can check the data information of the target user identification through the terminal, so that the user can know the target user more, and when the social contact application is applied to the target user for communication, the user can communicate with the target user more pertinently by checking the data information of the target user, so that the distance between the user and the target user is shortened. .
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic diagram illustrating a communication system according to an exemplary embodiment.
FIG. 2 is a flow chart illustrating a method of profile information generation according to an example embodiment.
FIG. 3 is a flow chart illustrating a method of profile information generation according to an example embodiment.
FIG. 4 is a flow chart illustrating a method of profile information generation according to an example embodiment.
FIG. 5 is a flow chart illustrating a profile information generation method according to an example embodiment.
Fig. 6 is a block diagram illustrating a profile information generation apparatus according to an example embodiment.
Fig. 7 is a block diagram illustrating another profile information generation apparatus according to an example embodiment.
Fig. 8 is a block diagram illustrating a terminal according to an example embodiment.
Fig. 9 is a schematic diagram illustrating a configuration of a server according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a schematic structural diagram illustrating a communication system according to an exemplary embodiment, and as shown in fig. 1, the communication system includes a plurality of terminals 101 and a social application server 102.
The terminal can be various terminals such as a mobile phone, a tablet computer and a computer, and the social application server can be a server, or a server cluster consisting of a plurality of servers, or a cloud computing server center.
The plurality of terminals 101 are all connected with the social application server 102 through a communication network, and the plurality of terminals 101 are all installed with social applications associated with the social application server 102, log in the social applications based on corresponding user identifications, and interact with the social application server 102 through the social applications.
Taking the first terminal 101 and the second terminal 101 as an example, the first terminal 101 displays an interaction interface with the second user identifier based on the first user identifier, obtains interaction information through the interaction interface, and sends the interaction information to the social application server 102, so that the social application server 102 forwards the interaction information to the second terminal 101 corresponding to the second user identifier, thereby implementing interaction between the two terminals 101.
The social application server 102 may obtain a history operation record of the terminal 101 through the social application, and generate profile information according to the history operation record, where the profile information is profile information of a user identifier logged in by the terminal 101. And the social application server 102 may also publish profile information identified by any user so that any user can view the profile information.
Fig. 2 is a flowchart illustrating a profile information generating method according to an exemplary embodiment, and as shown in fig. 2, the method is applied to a social application server or a terminal, and includes the following steps:
in step 201, a historical operation record of the target user identifier is obtained, where the historical operation record is used to record an operation performed by a target user corresponding to the target user identifier in the social application.
In step 202, a profile information generation model is obtained, and the profile information generation model is used for generating profile information of any user according to the historical operation records of any user.
In step 203, the history operation record is input to the profile information generation model, and profile information of the target user identifier is generated.
The method provided by the embodiment of the disclosure includes acquiring a historical operation record of a target user identifier, wherein the historical operation record is used for recording an operation executed by a target user corresponding to the target user identifier in a social application, acquiring a material information generation model, wherein the material information generation model is used for generating material information of any user according to the historical operation record of any user, and inputting the historical operation record into the material information generation model to generate the material information of the target user identifier. The intelligent generation mode is provided, the data information can be automatically generated without manual editing operation of a user, the operation is simplified, and the efficiency is improved.
In one possible implementation manner, obtaining a history operation record of the target user identifier includes:
acquiring a plurality of historical operation records of a target user identifier, wherein each historical operation record comprises an operation moment;
and extracting historical operation records of which the operation time is within a preset time length before the current time from the plurality of historical operation records.
In another possible implementation manner, obtaining the historical operation record of the target user identifier includes:
when a data information generation instruction carrying a target user identifier is received, acquiring a historical operation record;
or acquiring historical operation records every other preset time length;
or, every time a preset number of historical operation records of the target user identification are generated, acquiring the preset number of historical operation records.
In another possible implementation, the method is applied in a social application server;
the data information generation instruction is sent by any terminal when the triggering operation of the head portrait of the target user identification is detected; alternatively, the first and second electrodes may be,
the data information generation command is sent when the target terminal of the login target user identification detects the data information refreshing operation.
In another possible implementation manner, the method is applied to a terminal, and the method further includes:
displaying a first data information display interface of a target user identifier through a social application, wherein the first data information display interface comprises data information and a data information expansion button set by a target user;
and when the triggering operation of the data information expansion button is detected, displaying a second data information display interface, wherein the second data information display interface comprises data information generated by the data information generation model for the target user identification.
In another possible implementation manner, before obtaining the material information generation model, the method further includes:
obtaining at least one group of sample data, wherein each group of sample data comprises a historical operation record of a sample user identifier and data information;
and training the data information generation model according to at least one group of sample data.
In another possible implementation manner, the material information generation model includes a plurality of submodels corresponding to a plurality of preset types, and each submodel is used for generating material information belonging to a corresponding preset type according to a historical operation record belonging to the corresponding preset type; inputting the historical operation record into a material information generation model to generate material information of a target user identifier, wherein the method comprises the following steps:
determining a preset type of a historical operation record;
and inputting the historical operation records into the sub-model corresponding to the preset type to generate the data information belonging to the preset type.
In another possible implementation manner, before obtaining the material information generation model, the method further includes:
acquiring at least one group of sample data and a preset type of each group of sample data, wherein each group of sample data comprises a historical operation record of a sample user identifier and data information;
and for each preset type, training the sub-model corresponding to the preset type according to the sample data belonging to the preset type.
Fig. 3 is a flowchart illustrating a profile information generation method according to an exemplary embodiment, where the profile information generation method is used in a social application server, as shown in fig. 3, and the method includes the following steps:
in step 301, at least one set of sample data is obtained.
In consideration of the fact that the operation is complicated when the material information is generated by manually performing the editing operation by the user, the embodiment of the disclosure provides a generation method, which can automatically generate the material information of the user by using a material information generation model according to the historical operation record of the user. Before using the data information generation model, the data information generation model meeting the requirements needs to be trained.
In the embodiment of the present disclosure, for example, the social application server performs training, the social application server first obtains at least one set of sample data, where each set of sample data includes a historical operation record of a sample user identifier and profile information.
The historical operation record is used for recording operations executed by the sample user corresponding to the sample user identification in the social application, such as operations of playing games, sharing information, watching videos, watching information shared by other users and the like. The history operation record may include an operation type, an operation object, an operation time, and the like corresponding to the executed operation. The data information is manually edited by the sample user in the data information display interface corresponding to the sample user identifier, is used for describing the sample user, can comprise various types of data information such as name, gender, age, hobbies, habits, moods and the like of the sample user, and can be used for further understanding the sample user.
Regarding the obtaining manner of the historical operation record of any user identifier, in a possible implementation manner, a user operates in a social application of the terminal, the terminal generates the historical operation record according to the operation of the user, and if the user views information shared by other users in the social application, the terminal may generate the historical operation record for viewing the shared information. And the terminal uploads the generated historical operation record to a social application server, and the social application server correspondingly stores the user identification and the historical operation record.
Or, in another possible implementation manner, the user triggers an operation request in a social application of the terminal, the terminal sends the operation request to the social application server when receiving the operation request, and the social application server responds to the operation request when receiving the operation request, and also generates an operation record according to the operation request, and correspondingly stores the user identifier and the operation record. For example, a user triggers an operation request for sharing information in a social application, the operation request is forwarded to a social application server through a terminal, the social application server shares the information of the user, an operation record of the shared information is generated, and the user identifier and the operation record of the shared information are correspondingly stored.
In a possible implementation manner, a user manually edits profile information in a social application, and when the terminal acquires the profile information, the profile information is uploaded to a social application server, and the social application server correspondingly stores the user identifier and the profile information.
In step 302, a data information generation model is trained according to at least one set of sample data.
In order to facilitate training, the social application server may first create an initialized material information generation model, and train the material information generation model according to at least one set of acquired sample data, so that a trained material information generation model may be obtained.
For each set of sample data, the historical operation record in the sample data is used as the input of a material information generation model, the material information of the sample data is used as the output of the material information generation model, the material information generation model is trained, the material information generation model learns the influence of the historical operation record on the material information and the incidence relation between the historical operation record and the material information, and the ability of generating the material information according to the historical operation record is provided.
In a possible implementation manner, the data information in the sample data is actual data information corresponding to the historical operation record in the sample data, the historical operation record is used as an input of a data information generation model and is input into the data information generation model, and predicted data information corresponding to the sample user identifier is generated, at this time, a difference may exist between the predicted data information and the actual data information, the larger the difference is, the larger the error of the data information generation model is, the lower the accuracy is, and the smaller the difference is, the smaller the error of the data information generation model is, the higher the accuracy is. Therefore, the social application server can correct the data information generating model according to the difference between the actual data information and the predicted data information so as to improve the accuracy of the data information generating model.
By adopting the method, after the data information generation model is corrected for one time or more times, the data information generation model can be converged, the accuracy rate meets the requirement, and the training of the data information generation model is finished at the moment.
After the training of the data information generation model is completed, the social application server can obtain the historical operation record of any user identifier, and generate data information corresponding to any user identifier according to the historical operation record of any user identifier and the data information generation model.
In another possible implementation manner, the historical operation records may include multiple types, and each type of historical operation record has a different association relationship with the corresponding type of profile information of the user. Therefore, in order to enable the material information generation model to learn the influence of each type of historical operation records on the material information, and improve the accuracy, the material information generation model in the embodiment of the disclosure includes a plurality of sub-models corresponding to a plurality of preset types, and each sub-model is used for generating the material information belonging to the corresponding preset type according to the historical operation records belonging to the corresponding preset type.
Accordingly, the above step 301 may be replaced by the following steps: at least one group of sample data and a preset type of each group of sample data are obtained, wherein each group of sample data comprises a historical operation record of a sample user identifier and data information.
The preset type can be preset by the social application server, and can include types of playing games, sharing information, watching videos, watching information shared by other users and the like.
The above step 302 may be replaced by the following steps: and for each preset type, training the sub-model corresponding to the preset type according to the sample data belonging to the preset type. The method comprises the steps of determining a submodel corresponding to a preset type to which sample data belongs for each group of sample data, taking a historical operation record in the sample data as the input of the submodel, taking data information of the sample data as the output of the submodel, training the submodel, enabling the submodel to learn the influence of the historical operation record of the preset type on the data information and the incidence relation between the historical operation record of the preset type and the data information, and having the capability of generating the data information according to the historical operation record of the preset type.
The first point to be noted is that the data information generation model may be a deep learning network model, a full convolution neural network model, a markov model, or the like.
The second point to be described is that, in the embodiment of the present disclosure, the social application server only performs training as an example, and the social application function server performs training to obtain the profile information generation model and then stores the profile information generation model. In another embodiment, the profile information generation model may be further sent to the social application server after being trained by the training device, and received and stored by the social application server.
In step 303, a plurality of historical operation records of the target user identifier are obtained, each historical operation record including an operation time.
In step 304, from the plurality of historical operation records, a historical operation record of which the operation time is within a preset time period before the current time is extracted.
The embodiment of the present disclosure takes the example of generating the profile information of the target user identifier, where the target user identifier may be any user identifier registered in the social application.
Since the social application server stores the historical operation records of each user identifier, multiple historical operation records of the target user identifier can be obtained from the stored historical operation records, each historical operation record comprises an operation type, an operation object, an operation time and the like corresponding to the executed operation, the historical operation records of which the operation time is within a preset time length before the current time are extracted from the multiple historical operation records, and the material information of the target user identifier is generated according to the extracted historical operation records.
For example, the current time is 6 pm, the preset time duration is 12 hours, and the historical operation record of the operation time between 6 am and 6 pm is obtained.
Historical operation record in the preset duration before the current moment is the historical operation record closer to the current moment, can embody the recent operation behavior of the user, through extracting these historical operation records, both can reduce the quantity of historical operation record, reduce the calculated amount, improve the calculating speed, but also can guarantee that the generated data information can accurately reflect the recent operation behavior of the user, guarantee ageing, improve the accuracy.
The preset time length can be set by the social application server or set on the social application server by maintenance personnel, and the preset time length can be determined after the calculated amount and the timeliness are comprehensively considered.
In a possible implementation manner, this step 303 and 304 are optional, and the social application server may also directly obtain all the historical operation records of the target user identifier, or extract the historical operation records meeting the requirement in other manners.
In another possible implementation manner, the timing for the social application server to obtain the historical operation record of the target user identification may include at least one of the following cases:
1. and the social application server acquires the historical operation record of the target user identification every other preset time.
The social application server is provided with a preset time length, and when the preset time length passes, the social application server acquires a historical operation record of the target user identifier generated in the preset time length, and subsequently generates material information according to the acquired historical operation record. And when the preset time length passes again, the social application server can acquire the historical operation record of the target user identifier newly generated in the preset time length again, and then the data information is generated again according to the newly acquired historical operation record. That is, the social application server generates profile information for the target user identifier once every preset time.
The preset time period may be 24 hours, 48 hours, 240 hours, etc. The preset duration can be set by the social application server, or set by a maintainer of the social application server on the social application server.
2. The social application server acquires a preset number of historical operation records of the target user identification every time the preset number of historical operation records are generated.
The social application server is provided with a preset number, and the number of the generated historical operation records of each user identification is counted. And when the preset number of historical operation records of the target user identification are generated, the social application server acquires the preset number of historical operation records of the target user identification, and then generates the material information according to the acquired historical operation records. When the preset number of new historical operation records of the target user identification are generated again, the social application server can obtain the newly generated historical operation records again, and then the data information is generated again according to the obtained historical operation records again. That is, the social application server generates profile information for the target user id once every time the historical operation record of the preset number of target user ids is generated.
Wherein, the preset number may be 100, 1000, 5000, etc. The preset number can be set by the social application server, or can be set on the social application server by a maintenance person of the social application server.
3. And when the social application server receives a data information generation instruction carrying a target user identifier, acquiring a historical operation record of the target user identifier.
The profile information generation instruction is used for instructing the social application server to obtain the historical operation record of the target user identifier so as to generate the profile information of the target user identifier. When the social application server receives a material information generation instruction carrying a target user identifier, a historical operation record of the target user identifier is obtained, and the historical operation record of the target user identifier can be generated according to the historical operation record.
The triggering mode of the material information generating instruction may include various modes.
In a possible implementation manner, the profile information generation instruction is sent by any terminal when a triggering operation on the avatar of the target user identifier is detected, that is, any terminal can display the avatar of the target user identifier through a social application, when the triggering operation on the avatar by the user operating the terminal is detected, the user wishes to view the profile information of the target user identifier, the profile information generation instruction is sent to a social application server, the profile information generation instruction carries the target user identifier, and the social application server can receive the profile information generation instruction.
And after the subsequent social application server generates the material information according to the material information generation instruction, the subsequent social application server also sends the material information to the terminal sending the material information generation instruction, and the material information is displayed by the terminal.
The trigger operation may be a click operation, a double click operation, a long press operation, or the like.
In another possible implementation manner, the material information generation instruction is sent when a target terminal of the login target user identification detects a material information refreshing operation.
The target terminal logs in the social application based on the target user identifier, the target terminal can display the data information of the target user identifier through the social application, a target user operating the target terminal can trigger data information refreshing operation, when the target terminal detects the data information refreshing operation, the target user indicates that the target user wants to regenerate the data information, a data information generating instruction is sent to the social application server, the data information generating instruction carries the target user identifier, and the social application server can receive the data information generating instruction.
And the subsequent social application server generates the material information according to the material information generation instruction, and then sends the material information to the target terminal for displaying.
The data information refreshing operation may be an operation of sliding down the current interface, an operation of clicking a data information refreshing button, or the like.
In step 305, a trained data information generation model is obtained.
In step 306, the historical operation record is input into the profile information generation model, and profile information of the target user identifier is generated.
The data information generation model is used for generating data information of any user according to historical operation records of any user. After the historical operation record of the target user identifier and the material information generation model are obtained through the steps, the historical operation record of the target user identifier is input into the material information generation model, and the historical operation record of the target user identifier is processed on the basis of the material information generation model to generate the material information of the target user identifier.
After the social application server generates the profile information of the target user identifier, the target user identifier and the profile information can be correspondingly stored. And the subsequent social application server can display the data information of the target user identification on any terminal.
In a possible implementation manner, the data information generation model includes a plurality of submodels corresponding to a plurality of preset types, each submodel is configured to generate data information belonging to a corresponding preset type according to a historical operation record belonging to the corresponding preset type, when a historical operation record of the target user identifier is obtained, the preset type to which the historical operation record belongs is determined, and the historical operation record of the preset type is input into the submodel corresponding to the preset type to generate the data information belonging to the preset type.
If a plurality of historical operation records of the target user identification are obtained, determining the preset type of each historical operation record, respectively inputting each historical operation record into the corresponding sub-model, generating material information corresponding to each historical operation record, and combining the material information generated by each sub-model to obtain the material information of the target user identification.
The first point to be described is that, if the social application server generates the profile information of the target user identifier every preset time or every time when the preset number of historical operation records of the target user identifier are generated, the previously generated profile information of the target user identifier may be deleted, and the newly generated profile information may be stored.
The second point to be described is that the embodiment of the present disclosure is only described by taking the profile information of the target user identifier generated by the social application server as an example, but in another embodiment, the profile information generating method may also be used in the target terminal, and the profile information of the target user identifier may also be generated by the target terminal, in a manner similar to the generating manner of the social application server. If the social application server obtains the trained data information generation model and then sends the trained data information generation model to the target terminal, the target terminal obtains the historical operation record of the target user identification, data information is generated according to the historical operation record and the data information generation model, the data information is stored, the target terminal can also send the data information to the social application server, and the target user identification and the data information are correspondingly stored by the social application server.
According to the method provided by the embodiment of the disclosure, at least one group of sample data is acquired, the sample data comprises the historical operation record and the data information of a sample user identifier, the data information generation model is trained according to the acquired at least one group of sample data to obtain the trained data information generation model, the historical operation record of the target user identifier is acquired, and the data information is generated according to the historical operation record and the trained data information generation model, so that a more intelligent generation mode is provided, the data information can be automatically generated without manual editing operation of a user, the operation is simplified, and the efficiency is improved.
In addition, because the frequency of setting the material information by the target user is low, the material information set by the target user is limited, and the timeliness is poor. The data information generated by the data information generation model can be updated according to the operation behaviors of the user, so that the timeliness is good, the target user can be helped to dig out own preference or mood and the like, and the information quantity is improved.
And the social application server can generate the data information of the target user identifier every preset time or every time a preset number of historical operation records are generated, when the social application server receives a data information generation instruction sent by the terminal, the newly generated data information of the target user identifier can be obtained and sent to the terminal, and the data information of the target user identifier does not need to be generated at the current moment, so that the waiting time is saved, the time for the terminal to obtain the data information is shortened, and the rate for the terminal to obtain the data information is improved.
And moreover, the user can check the data information of the target user identification through the terminal, so that the user can know the target user more, and when the social contact application is applied to the target user for communication, the user can communicate with the target user more pertinently by checking the data information of the target user, so that the distance between the user and the target user is shortened.
Fig. 4 is a flowchart illustrating a profile information generating method according to an exemplary embodiment, where as shown in fig. 4, an interaction subject of the profile information generating method is a terminal and a social application server, and the terminal may be a terminal that logs in a social application based on any user identifier, and the method includes the following steps:
in step 401, the terminal displays a first profile information display interface of the target user identifier through the social application.
The terminal logs in a social application based on the user identification, and a first material information display interface of the target user identification can be displayed through the social application, wherein the first material information display interface comprises material information and a material information expansion button set by a target user.
The data information set by the target user is data information generated by the target user through manual editing operation, and the data information is data information set by the target user according to the actual situation of the target user, can be regarded as basic data information of the target user, and can include name, gender, age, preference and the like.
The data information expansion button is used for indicating to acquire data information generated according to the historical operation record of the target user, namely expanding the data information, so that the data information of the target user can be expanded to obtain more data information.
In one possible implementation manner, the terminal may display a main interface of the social application based on the logged-in user identifier, where the main interface includes an avatar of at least one user identifier, the at least one user identifier includes a target user identifier, and when a trigger operation on the avatar of the target user identifier is detected in the main interface, the first profile information presentation interface of the target user identifier is displayed.
In another possible implementation manner, the terminal displays a main interface of the social application based on the logged-in user identifier, when the terminal detects a trigger operation on any user identifier, displays a session interface corresponding to the user identifier, where the session interface includes an avatar of the user identifier, and when the terminal detects the trigger operation on the avatar of the user identifier through the session interface, displays a first material information display interface of the user identifier.
The triggering operation on the avatar can be a click operation, a double-click operation, a long-press operation, and the like.
In step 402, when the terminal detects a trigger operation on the profile information extension button, a profile information generation instruction is sent to the social application server.
The terminal displays a first data information display interface of a target user identifier through the social application, when a user wants to check the extended data information of the target user, a data information extension button in a first data information display page is triggered, the terminal detects the triggering operation of the data information extension button, and sends a data information generation instruction to the social application server, wherein the data information generation instruction carries the target user identifier.
In step 403, the social application server receives a profile information generation instruction sent by the terminal, and obtains a history operation record of the target user identifier.
In a possible implementation manner, after receiving a profile information generation instruction sent by a terminal, a social application server obtains a target user identifier carried in the profile information generation instruction, and determines whether a user identifier logged in by the terminal has an authority to view extended profile information, when it is determined that the user identifier has the authority to view the extended profile information, the social application server continues to execute subsequent steps, and when it is determined that the user identifier does not have the authority to view the extended profile information, the social application server sends a query failure notification to the terminal to inform a user that the authority to view the extended profile information is not provided.
In step 404, the social application server obtains a profile information generation model.
In step 405, the social application server inputs the history operation record into the profile information generation model, and generates profile information of the target user identifier.
The process of step 403 + 405 is similar to the process of step 303 + 306, and is not described herein again.
It should be noted that the profile information set by the target user may include name, gender, age, preference, etc., and the profile information generated by the profile information generation model for the target user identifier may also include preference, mood, etc., and the two types of profile information may include the same type of profile information or different types of profile information.
In addition, because the frequency of setting the material information by the target user is low, the material information set by the target user is limited, and the timeliness is poor. The data information generated by the data information generation model can be updated according to the operation behaviors of the user, so that the timeliness is good, the target user can be helped to dig out own preference or mood and the like, and the information quantity is improved.
In step 406, the social application server sends profile information of the target user identification to the terminal.
It should be noted that, in the embodiment of the present disclosure, the generation of the profile information when the social application server receives the profile information generation instruction sent by the terminal is taken as an example for description, and in another embodiment, the social application server may further generate the profile information of the target user identifier every preset time length or every time a preset number of historical operation records are generated, and store the profile information in the social application server. And when the social application server receives the material information generation instruction sent by the terminal, the newly generated material information of the target user identifier can be obtained and sent to the terminal.
Therefore, the social application server does not need to generate the data information of the target user identifier at the current moment, waiting time is saved, time for the terminal to acquire the data information is shortened, and the rate for the terminal to acquire the data information is improved.
In step 407, the terminal receives the data information and displays a second data information display interface.
And after receiving the data information of the target user identification sent by the social application server, the terminal displays the data information in a second data information display interface, namely the second data information display interface comprises the data information generated for the target user identification by the data information generation model.
In a possible implementation manner, a first material information display interface displayed by the terminal is used for displaying material information and material information expansion buttons set by a target user, when the terminal receives material information of a target user identifier sent by the social application server, the terminal is switched from displaying the first material information display interface to displaying a second material information display interface, and material information generated by a material information generation model for the target user identifier is displayed in the second material information display interface.
In another possible implementation manner, the second material information display interface can display both the material information generated by the material information generation model for the target user identifier and the material information set by the target user.
For example, the first material information display interface includes a first area and a second area, the first area displays material information set by a target user, the second area displays a material information expansion button, when the terminal receives material information generated by the material information generation model for a target user identifier, the second material information display interface is displayed, the second material information display interface includes a third area and a fourth area, the third area displays material information set by the target user, and the fourth area displays material information generated by the material information generation model for the target user identifier.
According to the method provided by the embodiment of the disclosure, a first material information display interface of a target user identifier is displayed in a terminal, when the terminal detects a trigger operation on a material information expansion button, a material information generation instruction is sent to a social application server, the social application server generates material information of the target user identifier according to the material information generation instruction and sends the material information to the terminal, and the terminal displays the material information of the target user identifier in a second material information display interface. The social application server is instructed to generate the profile information of the target user identification by triggering the profile information extension button, so that the profile information is extended, and the information quantity is increased.
Fig. 5 is a flowchart illustrating a profile information generating method according to an exemplary embodiment, where as shown in fig. 5, an interaction subject of the profile information generating method is a first terminal, a target terminal, and a social application server, the first terminal is another terminal different from the target terminal, and the method includes the following steps:
in step 501, a first terminal displays a first profile information presentation interface of a target user identifier through a social application.
The first material information display interface comprises material information and a material information expansion button set by a target user.
In step 502, when the first terminal detects a trigger operation on the profile information extension button, a profile information generation instruction is sent to the social application server.
In step 503, the social application server sends a profile information generation instruction to the target terminal logged in the target user identifier.
In step 504, the target terminal receives the profile information generation command, and generates the profile information of the target user identifier according to the historical operation record of the target user identifier and the profile information generation model.
In step 505, the target terminal sends the profile information to the social application server.
In step 506, the social application server sends the profile information to the first terminal.
In step 507, the first terminal receives the data information and displays a second data information display interface, where the second data information display interface includes data information generated by the data information generation model.
It should be noted that, in the embodiment of the present disclosure, the data information of the target user identifier is generated only when the target terminal receives the data information generation instruction triggered by the first terminal, in another embodiment, the target terminal may further generate the data information of the target user identifier every preset time or every time a preset number of historical operation records of the target user identifier are obtained, and when the first terminal triggers the data information generation instruction, the target terminal may directly forward the latest generated data information to the first terminal through the social application server, so as to shorten the waiting time of the first terminal.
According to the method provided by the embodiment of the disclosure, a first material information display interface of a target user identifier is displayed in a first terminal, when the first terminal detects a trigger operation on a material information expansion button, a material information generation instruction is sent to a social application server, the social application server forwards the material information generation instruction to the target terminal, the target terminal generates material information of the target user identifier according to the material information generation instruction, the social application server forwards the material information to the first terminal, and the first terminal displays the material information of the target user identifier in a second material information display interface. The data information expansion button is triggered to indicate the target terminal to generate the data information of the target user identifier, so that the data information is expanded, and the information quantity is increased.
Fig. 6 is a block diagram illustrating a profile information generation apparatus according to an example embodiment. Referring to fig. 6, the apparatus includes a record acquisition unit 601, a model acquisition unit 602, and a generation unit 603.
A record obtaining unit 601 configured to obtain a historical operation record of the target user identifier, where the historical operation record is used to record an operation performed by a target user corresponding to the target user identifier in the social application;
a model obtaining unit 602 configured to obtain a profile information generation model for generating profile information of any user according to a history operation record of any user;
a generating unit 603 configured to input the history operation record into the profile information generation model, and generate profile information of the target user identifier.
The device provided by the embodiment of the disclosure acquires a historical operation record of a target user identifier, the historical operation record is used for recording an operation executed by a target user corresponding to the target user identifier in a social application, acquires a profile information generation model, the profile information generation model is used for generating profile information of any user according to the historical operation record of any user, and inputs the historical operation record into the profile information generation model to generate the profile information of the target user identifier. The intelligent generation mode is provided, the data information can be automatically generated without manual editing operation of a user, the operation is simplified, and the efficiency is improved.
In one possible implementation manner, referring to fig. 7, the record obtaining unit 601 includes:
an obtaining subunit 6011 configured to obtain a plurality of historical operation records of the target user identifier, where each historical operation record includes an operation time;
an extracting subunit 6012 configured to extract, from the plurality of history operation records, a history operation record of which the operation time is within a preset time period before the current time.
In another possible implementation manner, the record obtaining unit 601 is further configured to:
when a data information generation instruction carrying a target user identifier is received, acquiring a historical operation record;
or acquiring historical operation records every other preset time length;
or, every time a preset number of historical operation records of the target user identification are generated, acquiring the preset number of historical operation records.
In another possible implementation manner, the device is applied to a social application server;
the data information generation instruction is sent by any terminal when the triggering operation of the head portrait of the target user identification is detected; alternatively, the first and second electrodes may be,
the data information generation command is sent when the target terminal of the login target user identification detects the data information refreshing operation.
In another possible implementation manner, the apparatus is applied in a terminal, and referring to fig. 7, the apparatus further includes:
a first display unit 604 configured to display a first profile information presentation interface of a target user identifier through the social application, the first profile information presentation interface including profile information and a profile information extension button set by the target user;
a second display unit 605 configured to display a second material information presentation interface including material information generated for the target user identification by the material information generation model when the trigger operation of the material information expansion button is detected.
In another possible implementation manner, referring to fig. 7, the apparatus further includes:
a data obtaining unit 606 configured to obtain at least one set of sample data, where each set of sample data includes a historical operation record of a sample user identifier and profile information;
a training unit 607 configured to train the material information generation model according to at least one set of sample data.
In another possible implementation manner, the material information generation model includes a plurality of submodels corresponding to a plurality of preset types, and each submodel is used for generating material information belonging to a corresponding preset type according to a historical operation record belonging to the corresponding preset type; referring to fig. 7, the generating unit 603 includes:
a determination subunit 6031 configured to determine a preset type to which the history operation record belongs;
a generating sub-unit 6032 configured to input the history operation record into a sub-model corresponding to a preset type, generating material information belonging to the preset type.
In another possible implementation manner, referring to fig. 7, the apparatus further includes:
the data acquisition unit 606 is configured to acquire at least one group of sample data and a preset type of each group of sample data, where each group of sample data includes a historical operation record of a sample user identifier and data information;
the training unit 607 is configured to, for each preset type, train a submodel corresponding to the preset type according to sample data belonging to the preset type.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 8 is a block diagram illustrating a terminal according to an example embodiment. The terminal 800 may be a portable mobile terminal such as: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. The terminal 800 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
In general, the terminal 800 includes: one or more processors 801 and one or more memories 802.
The processor 801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 801 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 801 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 801 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 801 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 802 may include one or more computer-readable storage media, which may be non-transitory. The memory 802 may also include volatile memory or non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 802 is used to store at least one instruction for being possessed by processor 801 to implement the profile information generation methods provided by the method embodiments of the present application.
In some embodiments, the terminal 800 may further include: a peripheral interface 803 and at least one peripheral. The processor 801, memory 802 and peripheral interface 803 may be connected by bus or signal lines. Various peripheral devices may be connected to peripheral interface 803 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 804, a touch screen display 805, a camera 806, an audio circuit 807, a positioning component 808, and a power supply 809.
The peripheral interface 803 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 801 and the memory 802. In some embodiments, the processor 801, memory 802, and peripheral interface 803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 801, the memory 802, and the peripheral interface 803 may be implemented on separate chips or circuit boards, which are not limited by this embodiment.
The Radio Frequency circuit 804 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 804 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 804 converts an electrical signal into an electromagnetic signal to be transmitted, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 804 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 804 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 13G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 804 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 805 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 805 is a touch display, the display 805 also has the ability to capture touch signals on or above the surface of the display 805. The touch signal may be input to the processor 801 as a control signal for processing. At this point, the display 805 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 805 may be one, providing the front panel of the terminal 800; in other embodiments, the display 805 may be at least two, respectively disposed on different surfaces of the terminal 800 or in a folded design; in still other embodiments, the display 805 may be a flexible display disposed on a curved surface or a folded surface of the terminal 800. Even further, the display 805 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The Display 805 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 806 is used to capture images or video. Optionally, camera assembly 806 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 806 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 807 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 801 for processing or inputting the electric signals to the radio frequency circuit 804 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 800. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 801 or the radio frequency circuit 804 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 807 may also include a headphone jack.
The positioning component 808 is used to locate the current geographic position of the terminal 800 for navigation or LBS (Location Based Service). The Positioning component 808 may be a Positioning component based on the GPS (Global Positioning System) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
Power supply 809 is used to provide power to various components in terminal 800. The power supply 809 can be ac, dc, disposable or rechargeable. When the power source 809 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 800 also includes one or more sensors 810. The one or more sensors 810 include, but are not limited to: acceleration sensor 811, gyro sensor 812, pressure sensor 813, fingerprint sensor 814, optical sensor 815 and proximity sensor 816.
The acceleration sensor 811 may detect the magnitude of acceleration in three coordinate axes of the coordinate system established with the terminal 800. For example, the acceleration sensor 811 may be used to detect the components of the gravitational acceleration in three coordinate axes. The processor 801 may control the touch screen 805 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 811. The acceleration sensor 811 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 812 may detect a body direction and a rotation angle of the terminal 800, and the gyro sensor 812 may cooperate with the acceleration sensor 811 to acquire a 3D motion of the user with respect to the terminal 800. From the data collected by the gyro sensor 812, the processor 801 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 813 may be disposed on the side bezel of terminal 800 and/or underneath touch display 805. When the pressure sensor 813 is disposed on the side frame of the terminal 800, the holding signal of the user to the terminal 800 can be detected, and the processor 801 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 813. When the pressure sensor 813 is disposed at a lower layer of the touch display screen 805, the processor 801 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 805. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 814 is used for collecting a fingerprint of the user, and the processor 801 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 814, or the fingerprint sensor 814 identifies the identity of the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the user is authorized by the processor 801 to have associated sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, etc. Fingerprint sensor 814 may be disposed on the front, back, or side of terminal 800. When a physical button or a vendor Logo is provided on the terminal 800, the fingerprint sensor 814 may be integrated with the physical button or the vendor Logo.
The optical sensor 815 is used to collect the ambient light intensity. In one embodiment, the processor 801 may control the display brightness of the touch screen 805 based on the ambient light intensity collected by the optical sensor 815. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 805 is increased; when the ambient light intensity is low, the display brightness of the touch display 805 is turned down. In another embodiment, the processor 801 may also dynamically adjust the shooting parameters of the camera assembly 806 based on the ambient light intensity collected by the optical sensor 815.
A proximity sensor 816, also known as a distance sensor, is typically provided on the front panel of the terminal 800. The proximity sensor 816 is used to collect the distance between the user and the front surface of the terminal 800. In one embodiment, when the proximity sensor 816 detects that the distance between the user and the front surface of the terminal 800 gradually decreases, the processor 801 controls the touch display 805 to switch from the bright screen state to the dark screen state; when the proximity sensor 816 detects that the distance between the user and the front surface of the terminal 800 becomes gradually larger, the processor 801 controls the touch display 805 to switch from the screen-on state to the screen-on state.
Those skilled in the art will appreciate that the configuration shown in fig. 8 is not intended to be limiting of terminal 800 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
Fig. 9 is a schematic structural diagram of a server according to an exemplary embodiment, where the server 900 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 901 and one or more memories 902, where the memory 902 stores at least one instruction, and the at least one instruction is loaded and executed by the processors 901 to implement the methods provided by the above method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
The server 900 may be configured to execute the steps executed by the material information generating apparatus in the material information generating method.
In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium, which when executed by a processor of a material information generation apparatus, enables the material information generation apparatus to perform the steps performed by the material information generation apparatus in the above material information generation method.
In an exemplary embodiment, there is also provided a computer program product, which when executed by a processor of a material information generating apparatus, enables the material information generating apparatus to perform the steps performed by the material information generating apparatus in the above-mentioned material information generating method.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. A method for generating profile information, the method comprising:
receiving a data information generation instruction sent by a terminal; the information display method comprises the steps that a data information generation instruction is sent by a terminal when the terminal detects a trigger operation on a data information expansion button, the data information expansion button is displayed in a first area of a first data information display interface of a target user identifier, the first data information display interface further comprises a second area, and the second area is used for displaying data information set by a target user indicated by the target user identifier;
acquiring the target user identification carried in the material information generating instruction; under the condition that the user identification logged in by the terminal does not have the authority of viewing the extended data information according to the target user identification, sending a query failure notification to the terminal;
under the condition that the user identifier logged in by the terminal is determined to have the authority of viewing the extended data information according to the target user identifier, acquiring a historical operation record of the target user identifier, wherein the historical operation record is used for recording the operation executed by the target user in social application; the method comprises the steps of obtaining a data information generation model, wherein the data information generation model is used for generating data information of any user according to historical operation records of the user, the data information generation model comprises a plurality of sub-models corresponding to a plurality of preset types, and each sub-model is used for generating data information belonging to the corresponding preset type according to the historical operation records belonging to the corresponding preset type;
determining a preset type to which the historical operation record belongs, wherein the preset type comprises game playing, information sharing, video watching and information shared by other users; inputting the historical operation records into a sub-model corresponding to the preset type, and generating data information belonging to the preset type, wherein the data information of the preset type comprises at least one of the preference or mood of the target user;
and sending all the generated information to the terminal, wherein the terminal is used for displaying all the generated information through a fourth area of a second information display interface identified by the target user, the second information display interface further comprises a third area, and the third area is used for displaying the information set by the target user.
2. The method of claim 1, wherein obtaining the historical operating record of the target user identifier comprises:
acquiring a plurality of historical operation records of the target user identifier, wherein each historical operation record comprises an operation moment;
and extracting historical operation records of which the operation time is within a preset time length before the current time from the plurality of historical operation records.
3. The method of claim 1, wherein obtaining the historical operating record of the target user identifier comprises:
when a data information generation instruction carrying the target user identification is received, acquiring the historical operation record;
or acquiring the historical operation records every other preset time length;
or, every time when a preset number of historical operation records of the target user identifier are generated, acquiring the preset number of historical operation records.
4. The method according to claim 3, wherein the method is applied to a social application server;
the material information generation instruction is sent by any terminal when the triggering operation of the head portrait of the target user identification is detected; alternatively, the first and second electrodes may be,
and the data information generation instruction is sent when a target terminal logging in the target user identifier detects data information refreshing operation.
5. The method of claim 1, wherein prior to obtaining the profile information generation model, the method further comprises:
obtaining at least one group of sample data, wherein each group of sample data comprises a historical operation record of a sample user identifier and data information;
and training the data information generation model according to the at least one group of sample data.
6. The method of claim 1, wherein prior to obtaining the profile information generation model, the method further comprises:
acquiring at least one group of sample data and a preset type of each group of sample data, wherein each group of sample data comprises a historical operation record of a sample user identifier and data information;
and for each preset type, training the sub-model corresponding to the preset type according to the sample data belonging to the preset type.
7. A profile information generating apparatus, characterized in that the apparatus comprises:
means for performing the steps of: receiving a data information generation instruction sent by a terminal; the information display method comprises the steps that a data information generation instruction is sent by a terminal when the terminal detects a trigger operation on a data information expansion button, the data information expansion button is displayed in a first area of a first data information display interface of a target user identifier, the first data information display interface further comprises a second area, and the second area is used for displaying data information set by a target user indicated by the target user identifier;
means for performing the steps of: acquiring the target user identification carried in the material information generating instruction; under the condition that the user identification logged in by the terminal does not have the authority of viewing the extended data information according to the target user identification, sending a query failure notification to the terminal;
the record acquisition unit is configured to acquire a historical operation record of the target user identifier under the condition that the user identifier logged in by the terminal is determined to have the authority of viewing the extended data information according to the target user identifier, wherein the historical operation record is used for recording the operation executed by the target user in the social application;
the information processing device comprises a model acquisition unit, a data information generation unit and a data information generation unit, wherein the model acquisition unit is configured to acquire a data information generation model which is used for generating data information of any user according to historical operation records of the user, the data information generation model comprises a plurality of sub-models corresponding to a plurality of preset types, and each sub-model is used for generating data information belonging to the corresponding preset type according to the historical operation records belonging to the corresponding preset type;
the generating unit is configured to determine a preset type to which the historical operation record belongs, wherein the preset type comprises game playing, information sharing, video watching and information shared by other users; inputting the historical operation records into a sub-model corresponding to the preset type, and generating data information belonging to the preset type, wherein the data information of the preset type comprises at least one of the preference or mood of the target user;
means for performing the steps of: and sending all the generated information to the terminal, wherein the terminal is used for displaying all the generated information through a fourth area of a second information display interface identified by the target user, the second information display interface further comprises a third area, and the third area is used for displaying the information set by the target user.
8. The apparatus of claim 7, wherein the record obtaining unit comprises:
an obtaining subunit, configured to obtain a plurality of historical operation records of the target user identifier, each historical operation record including an operation time;
and the extracting subunit is configured to extract the historical operation records of which the operation time is within a preset time length before the current time from the plurality of historical operation records.
9. The apparatus of claim 7, wherein the record obtaining unit is further configured to:
when a data information generation instruction carrying the target user identification is received, acquiring the historical operation record;
or acquiring the historical operation records every other preset time length;
or, every time when a preset number of historical operation records of the target user identifier are generated, acquiring the preset number of historical operation records.
10. The apparatus according to claim 9, wherein the apparatus is applied in a social application server;
the material information generation instruction is sent by any terminal when the triggering operation of the head portrait of the target user identification is detected; alternatively, the first and second electrodes may be,
and the data information generation instruction is sent when a target terminal logging in the target user identifier detects data information refreshing operation.
11. The apparatus of claim 7, further comprising:
the data acquisition unit is configured to acquire at least one group of sample data, wherein each group of sample data comprises historical operation records and material information of a sample user identifier;
and the training unit is configured to train the data information generation model according to the at least one group of sample data.
12. The apparatus of claim 7, further comprising:
the data acquisition unit is configured to acquire at least one group of sample data and a preset type of each group of sample data, wherein each group of sample data comprises a historical operation record of a sample user identifier and data information;
and the training unit is configured to train the sub-models corresponding to the preset types according to the sample data belonging to the preset types for each preset type.
13. A profile information generating apparatus, characterized in that the apparatus comprises:
one or more processors;
volatile or non-volatile memory for storing the one or more processor-executable commands;
wherein the one or more processors are configured to perform the profile information generation method of any one of claims 1-6.
14. A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of a profile information generation apparatus, enable the profile information generation apparatus to perform the profile information generation method of any one of claims 1 to 6.
CN201910398129.5A 2019-05-14 2019-05-14 Data information generating method, device and storage medium Active CN110134902B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910398129.5A CN110134902B (en) 2019-05-14 2019-05-14 Data information generating method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910398129.5A CN110134902B (en) 2019-05-14 2019-05-14 Data information generating method, device and storage medium

Publications (2)

Publication Number Publication Date
CN110134902A CN110134902A (en) 2019-08-16
CN110134902B true CN110134902B (en) 2022-03-25

Family

ID=67573687

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910398129.5A Active CN110134902B (en) 2019-05-14 2019-05-14 Data information generating method, device and storage medium

Country Status (1)

Country Link
CN (1) CN110134902B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111178973A (en) * 2019-12-31 2020-05-19 北京每日优鲜电子商务有限公司 Loss user identification recognition method and device, computer equipment and storage medium
CN112597417B (en) * 2020-12-18 2024-03-12 北京达佳互联信息技术有限公司 Page updating method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294800A (en) * 2013-05-27 2013-09-11 华为技术有限公司 Method and device for pushing information
CN104933075A (en) * 2014-03-20 2015-09-23 百度在线网络技术(北京)有限公司 User attribute predicting platform and method
CN105681155A (en) * 2014-11-18 2016-06-15 阿里巴巴集团控股有限公司 User information processing method and apparatus in instant messaging
US10336602B2 (en) * 2012-09-28 2019-07-02 Franklin Fueling Systems, Llc Fuel delivery management system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4944510B2 (en) * 2006-06-23 2012-06-06 キヤノン株式会社 Information processing apparatus, control method therefor, and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10336602B2 (en) * 2012-09-28 2019-07-02 Franklin Fueling Systems, Llc Fuel delivery management system
CN103294800A (en) * 2013-05-27 2013-09-11 华为技术有限公司 Method and device for pushing information
CN104933075A (en) * 2014-03-20 2015-09-23 百度在线网络技术(北京)有限公司 User attribute predicting platform and method
CN105681155A (en) * 2014-11-18 2016-06-15 阿里巴巴集团控股有限公司 User information processing method and apparatus in instant messaging

Also Published As

Publication number Publication date
CN110134902A (en) 2019-08-16

Similar Documents

Publication Publication Date Title
CN109600678B (en) Information display method, device and system, server, terminal and storage medium
CN109982102B (en) Interface display method and system for live broadcast room, live broadcast server and anchor terminal
CN111147878B (en) Stream pushing method and device in live broadcast and computer storage medium
CN110868626B (en) Method and device for preloading content data
CN109327608B (en) Song sharing method, terminal, server and system
CN110278464B (en) Method and device for displaying list
CN108881286B (en) Multimedia playing control method, terminal, sound box equipment and system
CN110248236B (en) Video playing method, device, terminal and storage medium
CN110533585B (en) Image face changing method, device, system, equipment and storage medium
CN108831513B (en) Method, terminal, server and system for recording audio data
CN110769313B (en) Video processing method and device and storage medium
CN110147503B (en) Information issuing method and device, computer equipment and storage medium
CN109618192B (en) Method, device, system and storage medium for playing video
CN112256181B (en) Interaction processing method and device, computer equipment and storage medium
CN112104648A (en) Data processing method, device, terminal, server and storage medium
CN112612439A (en) Bullet screen display method and device, electronic equipment and storage medium
CN111858382A (en) Application program testing method, device, server, system and storage medium
CN111031391A (en) Video dubbing method, device, server, terminal and storage medium
CN111402844B (en) Song chorus method, device and system
CN111818358A (en) Audio file playing method and device, terminal and storage medium
CN111818367A (en) Audio file playing method, device, terminal, server and storage medium
CN111565338A (en) Method, device, system, equipment and storage medium for playing video
CN111628925A (en) Song interaction method and device, terminal and storage medium
CN110134902B (en) Data information generating method, device and storage medium
CN109547847B (en) Method and device for adding video information and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230110

Address after: Room 1101, Room 1001, Room 901, No. 163, Pingyun Road, Tianhe District, Guangzhou, Guangdong 510065

Patentee after: Guangzhou Tangzhi Cosmos Technology Co.,Ltd.

Address before: 101d1-7, 1st floor, building 1, No. 6, Shangdi West Road, Haidian District, Beijing 100085

Patentee before: Beijing Dajia Internet Information Technology Co.,Ltd.

TR01 Transfer of patent right