Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
A method, an apparatus, a terminal device, and a medium for recommending a photographic material according to embodiments of the present invention are described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a recommendation method of a photographed material according to an embodiment of the present invention.
As shown in fig. 1, the method for recommending a photographed material includes:
s101, obtaining the current environment information of the target object.
Currently, users mainly select suitable or favorite materials by taking pictures from a material list provided by the APP. However, with the gradual increase of the materials, not only the performance of the terminal is affected, but also the difficulty is brought to the user to select the materials, and the user is difficult to quickly select the materials meeting the self-demand from a plurality of materials, so that the use experience of the user is reduced. Therefore, the recommendation method for the photographing materials is provided, the problem that a large amount of materials are loaded and the time consumption is long is solved, the materials meeting personalized requirements can be intelligently provided for the user, and the user can be helped to quickly select the favorite materials.
In one embodiment of the present invention, the environmental information of the target object currently located may be obtained. The target object may be a photographing user, and the environment information may include current time, current position coordinates, event information, photographing background information, and the like.
And S102, acquiring personalized feature information of the target object.
In one embodiment of the present invention, in order to meet the personalized requirements of the user, personalized feature information of the photographing user can be acquired. The personalized feature information may include physiological feature information of the photographing user, registered countries, language information, hobbies and interests, historical use records of materials, and the like. The above information may be previously input by the photographing user. For example: when a photo user uses a photo APP of a certain type, the photo user usually registers account information, and at the time of registration, some physiological characteristic information such as height and age, native language or idiomatic language is chinese, registered country is china, interest and hobbies are music and travel, and the like are filled in.
Of course, the material history use record is generated by recording the history operation of selecting the material by the photographing user. Which may also be understood as previously entered by the photographing user.
And S103, screening the individualized shooting materials meeting the conditions by taking the environment information and the individualized characteristic information as screening conditions.
After the information is obtained, the environment information and the personalized feature information can be used as screening conditions to screen out personalized photographing materials meeting the conditions.
In an embodiment of the present invention, since the environment information and the personalized feature information each include various information, these information can be arbitrarily combined to form a screening condition to screen out the photographic material.
Example one: the current time is at night, the current position coordinates are near the Lugou bridge, the interest and hobbies of the photographing user are photographing, and the screened personalized photographing materials can be background pictures related to the Lugou moon of the scenic spot.
Example two: the current time is 9 months and 18 days, the current position coordinate is Beijing, the event information is a marathon match, the interest and hobbies of the photographing user are sports, and the screened personalized photographing materials can be materials related to the Beijing marathon match, such as running and oiling dynamic GIF and the like.
Example three: through the information input during user registration, it can be known that the user is 22 years old, the registered country when the user registers to use the photographing APP is Spanish, and the native language is English. And the user can know that the frequency of the materials of the rose family and the lovely style is more through the historical record of the photographing APP used by the user. And the current place of using the photo APP is at noon of 5 months and 10 days in university campus in the united states. Based on the information, the situation that the user is a student, a Spanish can speak English, the location is in the graduation season, the materials are preferred to be in the rose family and the lovely style, and the screened materials are mainly preferred to be in the rose family and the lovely style, and materials related to graduation or students can be calculated. Certainly, still can be intelligently with the automatic spanish language that converts into of the APP's of shooing language, accord with user's use habit more.
And S104, providing the personalized photographing materials for the target object.
Because the environment information and the personalized feature information are diversified, the screened personalized photographing materials are also richer, and therefore the personalized photographing materials need to be sequenced, and the user can be helped to quickly select the favorite materials.
In an embodiment of the present invention, the environment information of the target object and the personalized feature information of the target object have respective corresponding weight values, and the score of the personalized photo material may be calculated according to the first weight value corresponding to the environment information and the second weight value corresponding to the personalized feature information, and then the personalized photo material may be provided to the target object in the order from high to low according to the score. The weight value may be preset, or of course, may be adaptively adjusted according to factors such as the usage habit of the user taking a picture, or the weight value corresponding to each piece of information is learned by using a machine learning model.
According to the recommendation method of the photographing material, the environment information of the current position of the target object is obtained, the personalized feature information of the target object is obtained, the environment information and the personalized feature information are used as the screening conditions, the personalized photographing material meeting the conditions is screened out, the personalized photographing material is provided for the target object, the problem that a large amount of material is loaded, time is consumed is long is avoided, a user can be helped to quickly obtain the photographing material meeting the self-demand, and the method is more intelligent and personalized.
In order to implement the above embodiment, the present invention further provides a recommendation apparatus for photo materials, and fig. 2 is a block diagram illustrating a structure of a recommendation apparatus for photo materials according to an embodiment of the present invention, as shown in fig. 2, the recommendation apparatus includes a first obtaining module 210, a second obtaining module 220, a filtering module 230, and a providing module 240.
The first obtaining module 210 is configured to obtain environment information where the target object is currently located.
Optionally, the environment information includes at least one of current time, current position coordinates, event information, and photographing background information.
The second obtaining module 220 is configured to obtain personalized feature information of the target object.
Optionally, the personalized feature information includes at least one of physiological feature information, registered country, language information, hobbies and material history records of the target object.
Optionally, the personalized feature information is input in advance for the target object.
And the screening module 230 is configured to screen out the personalized photographing material meeting the condition by using the environment information and the personalized feature information as a screening condition.
A providing module 240 is used for providing the personalized photographing materials to the target object.
Optionally, the environment information where the target object is currently located and the personalized feature information of the target object have respective corresponding weight values, and the providing module 240 is configured to: acquiring a first weight value corresponding to the current environment information of the target object and a second weight value corresponding to the personalized feature information of the target object, and then calculating the score of the personalized photographing material according to the first weight value and the second weight value; personalized photo materials are provided to the target subject in the order of scores from high to low.
It should be noted that the explanation of the recommendation method for the photo-taken material is also applicable to the recommendation apparatus for the photo-taken material in the embodiment of the present invention, and details not disclosed in the embodiment of the present invention are not repeated herein.
According to the recommendation device for the photographing material, which is disclosed by the embodiment of the invention, the environment information of the current position of the target object is obtained, the personalized feature information of the target object is obtained, then the environment information and the personalized feature information are used as the screening conditions, the personalized photographing material meeting the conditions is screened out, and the personalized photographing material is provided for the target object, so that the problem that a large amount of material is loaded, the time consumption is long is avoided, a user can be helped to quickly obtain the photographing material meeting the self-demand, and the recommendation device is more intelligent and personalized.
In order to implement the above embodiments, the present invention further provides a terminal device.
As shown in fig. 3, the terminal device 300 includes at least one processor 310; and a memory 320 communicatively coupled to the at least one processor 310; the memory 320 stores instructions executable by the at least one processor 310, and the instructions are executed by the at least one processor 310 to enable the at least one processor 310 to execute the method for recommending photographed materials according to the embodiment of the first aspect.
For example, the computer program can be executed by the processor 310 to perform the method of recommending photographic material by:
s101', obtaining the current environment information of the target object.
In one embodiment of the present invention, the environmental information of the target object currently located may be obtained. The target object may be a photographing user, and the environment information may include current time, current position coordinates, event information, photographing background information, and the like.
S102', obtaining the personalized feature information of the target object.
In one embodiment of the present invention, in order to meet the personalized requirements of the user, personalized feature information of the photographing user can be acquired. The personalized feature information may include physiological feature information of the photographing user, registered countries, language information, hobbies and interests, historical use records of materials, and the like. The above information may be previously input by the photographing user. For example: when a photo user uses a photo APP of a certain type, the photo user usually registers account information, and at the time of registration, some physiological characteristic information such as height and age, native language or idiomatic language is chinese, registered country is china, interest and hobbies are music and travel, and the like are filled in.
Of course, the material history use record is generated by recording the history operation of selecting the material by the photographing user. Which may also be understood as previously entered by the photographing user.
And S103', screening the individualized shooting materials meeting the conditions by taking the environment information and the individualized characteristic information as screening conditions.
After the information is obtained, the environment information and the personalized feature information can be used as screening conditions to screen out personalized photographing materials meeting the conditions.
In an embodiment of the present invention, since the environment information and the personalized feature information each include various information, these information can be arbitrarily combined to form a screening condition to screen out the photographic material.
Example one: the current time is at night, the current position coordinates are near the Lugou bridge, the interest and hobbies of the photographing user are photographing, and the screened personalized photographing materials can be background pictures related to the Lugou moon of the scenic spot.
Example two: the current time is 9 months and 18 days, the current position coordinate is Beijing, the event information is a marathon match, the interest and hobbies of the photographing user are sports, and the screened personalized photographing materials can be materials related to the Beijing marathon match, such as running and oiling dynamic GIF and the like.
Example three: through the information input during user registration, it can be known that the user is 22 years old, the registered country when the user registers to use the photographing APP is Spanish, and the native language is English. And the user can know that the frequency of the materials of the rose family and the lovely style is more through the historical record of the photographing APP used by the user. And the current place of using the photo APP is at noon of 5 months and 10 days in university campus in the united states. Based on the information, the situation that the user is a student, a Spanish can speak English, the location is in the graduation season, the materials are preferred to be in the rose family and the lovely style, and the screened materials are mainly preferred to be in the rose family and the lovely style, and materials related to graduation or students can be calculated. Certainly, still can be intelligently with the automatic spanish language that converts into of the APP's of shooing language, accord with user's use habit more.
And S104', providing the personalized photographing materials for the target object.
Because the environment information and the personalized feature information are diversified, the screened personalized photographing materials are also richer, and therefore the personalized photographing materials need to be sequenced, and the user can be helped to quickly select the favorite materials.
In an embodiment of the present invention, the environment information of the target object and the personalized feature information of the target object have respective corresponding weight values, and the score of the personalized photo material may be calculated according to the first weight value corresponding to the environment information and the second weight value corresponding to the personalized feature information, and then the personalized photo material may be provided to the target object in the order from high to low according to the score. The weight value may be preset, or of course, may be adaptively adjusted according to factors such as the usage habit of the user taking a picture, or the weight value corresponding to each piece of information is learned by using a machine learning model.
In order to achieve the above embodiments, a further embodiment of the present invention provides a nonvolatile computer storage medium, which is characterized in that the nonvolatile computer storage medium stores computer-executable commands for causing a computer to execute the recommendation method for photographic material according to the first aspect of the present invention.
Specifically, the recommendation method of the photographing material executed by the computer comprises the following steps:
s101', obtaining the current environment information of the target object.
In one embodiment of the present invention, the environmental information of the target object currently located may be obtained. The target object may be a photographing user, and the environment information may include current time, current position coordinates, event information, photographing background information, and the like.
S102', obtaining the personalized feature information of the target object.
In one embodiment of the present invention, in order to meet the personalized requirements of the user, personalized feature information of the photographing user can be acquired. The personalized feature information may include physiological feature information of the photographing user, registered countries, language information, hobbies and interests, historical use records of materials, and the like. The above information may be previously input by the photographing user. For example: when a photo user uses a photo APP of a certain type, the photo user usually registers account information, and at the time of registration, some physiological characteristic information such as height and age, native language or idiomatic language is chinese, registered country is china, interest and hobbies are music and travel, and the like are filled in.
Of course, the material history use record is generated by recording the history operation of selecting the material by the photographing user. Which may also be understood as previously entered by the photographing user.
And S103', screening the individualized shooting materials meeting the conditions by taking the environment information and the individualized characteristic information as screening conditions.
After the information is obtained, the environment information and the personalized feature information can be used as screening conditions to screen out personalized photographing materials meeting the conditions.
In an embodiment of the present invention, since the environment information and the personalized feature information each include various information, these information can be arbitrarily combined to form a screening condition to screen out the photographic material.
Example one: the current time is at night, the current position coordinates are near the Lugou bridge, the interest and hobbies of the photographing user are photographing, and the screened personalized photographing materials can be background pictures related to the Lugou moon of the scenic spot.
Example two: the current time is 9 months and 18 days, the current position coordinate is Beijing, the event information is a marathon match, the interest and hobbies of the photographing user are sports, and the screened personalized photographing materials can be materials related to the Beijing marathon match, such as running and oiling dynamic GIF and the like.
Example three: through the information input during user registration, it can be known that the user is 22 years old, the registered country when the user registers to use the photographing APP is Spanish, and the native language is English. And the user can know that the frequency of the materials of the rose family and the lovely style is more through the historical record of the photographing APP used by the user. And the current place of using the photo APP is at noon of 5 months and 10 days in university campus in the united states. Based on the information, the situation that the user is a student, a Spanish can speak English, the location is in the graduation season, the materials are preferred to be in the rose family and the lovely style, and the screened materials are mainly preferred to be in the rose family and the lovely style, and materials related to graduation or students can be calculated. Certainly, still can be intelligently with the automatic spanish language that converts into of the APP's of shooing language, accord with user's use habit more.
And S104', providing the personalized photographing materials for the target object.
Because the environment information and the personalized feature information are diversified, the screened personalized photographing materials are also richer, and therefore the personalized photographing materials need to be sequenced, and the user can be helped to quickly select the favorite materials.
In an embodiment of the present invention, the environment information of the target object and the personalized feature information of the target object have respective corresponding weight values, and the score of the personalized photo material may be calculated according to the first weight value corresponding to the environment information and the second weight value corresponding to the personalized feature information, and then the personalized photo material may be provided to the target object in the order from high to low according to the score. The weight value may be preset, or of course, may be adaptively adjusted according to factors such as the usage habit of the user taking a picture, or the weight value corresponding to each piece of information is learned by using a machine learning model.
In order to achieve the above embodiments, a further embodiment of the present invention provides an application program, when instructions in the application program are executed by a processor, the method for recommending photographed materials according to the embodiment of the first aspect of the present invention is executed.
Specifically, the recommendation method of the photographed material executed by the processor comprises the following steps:
s101', obtaining the current environment information of the target object.
In one embodiment of the present invention, the environmental information of the target object currently located may be obtained. The target object may be a photographing user, and the environment information may include current time, current position coordinates, event information, photographing background information, and the like.
S102', obtaining the personalized feature information of the target object.
In one embodiment of the present invention, in order to meet the personalized requirements of the user, personalized feature information of the photographing user can be acquired. The personalized feature information may include physiological feature information of the photographing user, registered countries, language information, hobbies and interests, historical use records of materials, and the like. The above information may be previously input by the photographing user. For example: when a photo user uses a photo APP of a certain type, the photo user usually registers account information, and at the time of registration, some physiological characteristic information such as height and age, native language or idiomatic language is chinese, registered country is china, interest and hobbies are music and travel, and the like are filled in.
Of course, the material history use record is generated by recording the history operation of selecting the material by the photographing user. Which may also be understood as previously entered by the photographing user.
And S103', screening the individualized shooting materials meeting the conditions by taking the environment information and the individualized characteristic information as screening conditions.
After the information is obtained, the environment information and the personalized feature information can be used as screening conditions to screen out personalized photographing materials meeting the conditions.
In an embodiment of the present invention, since the environment information and the personalized feature information each include various information, these information can be arbitrarily combined to form a screening condition to screen out the photographic material.
Example one: the current time is at night, the current position coordinates are near the Lugou bridge, the interest and hobbies of the photographing user are photographing, and the screened personalized photographing materials can be background pictures related to the Lugou moon of the scenic spot.
Example two: the current time is 9 months and 18 days, the current position coordinate is Beijing, the event information is a marathon match, the interest and hobbies of the photographing user are sports, and the screened personalized photographing materials can be materials related to the Beijing marathon match, such as running and oiling dynamic GIF and the like.
Example three: through the information input during user registration, it can be known that the user is 22 years old, the registered country when the user registers to use the photographing APP is Spanish, and the native language is English. And the user can know that the frequency of the materials of the rose family and the lovely style is more through the historical record of the photographing APP used by the user. And the current place of using the photo APP is at noon of 5 months and 10 days in university campus in the united states. Based on the information, the situation that the user is a student, a Spanish can speak English, the location is in the graduation season, the materials are preferred to be in the rose family and the lovely style, and the screened materials are mainly preferred to be in the rose family and the lovely style, and materials related to graduation or students can be calculated. Certainly, still can be intelligently with the automatic spanish language that converts into of the APP's of shooing language, accord with user's use habit more.
And S104', providing the personalized photographing materials for the target object.
Because the environment information and the personalized feature information are diversified, the screened personalized photographing materials are also richer, and therefore the personalized photographing materials need to be sequenced, and the user can be helped to quickly select the favorite materials.
In an embodiment of the present invention, the environment information of the target object and the personalized feature information of the target object have respective corresponding weight values, and the score of the personalized photo material may be calculated according to the first weight value corresponding to the environment information and the second weight value corresponding to the personalized feature information, and then the personalized photo material may be provided to the target object in the order from high to low according to the score. The weight value may be preset, or of course, may be adaptively adjusted according to factors such as the usage habit of the user taking a picture, or the weight value corresponding to each piece of information is learned by using a machine learning model.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware that is related to instructions of a program, and the program may be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.