Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide a method, a system, a medium and a device for generating a calendar based on user photos, which are used to solve the problem of how to facilitate users to select photos for calendar production by themselves in the prior art.
To achieve the above and other related objects, the present invention provides a calendar generation method based on user photos, comprising the steps of: receiving a photo of a user, and generating a calendar template by the photo based on a format template; displaying the calendar template to the user, and determining a calendar template to be generated based on the selection of the user; and generating the order of the calendar template to be generated, and sending the order to a preset manufacturer after the user pays the order.
In an embodiment of the present invention, the displaying the calendar template to the user includes: and displaying the calendar template and simultaneously carrying out comparison display on the reference object.
In an embodiment of the present invention, the generating the calendar template based on the photo format template includes the following steps: presetting the position and effect of each format template for placing the photo; and setting the photo according to the position and the effect to generate the calendar template.
In an embodiment of the present invention, the positions include: the middle part, the upper part and the lower part are placed; the effects include: black and white, color and desalination.
In an embodiment of the present invention, the format template includes: a wall calendar template or a desk calendar template.
In an embodiment of the present invention, the generating the order of the calendar template to be generated includes: and receiving address information and contact information of a user to generate the order of the calendar template to be generated.
In an embodiment of the present invention, a keyword required by a user for a format template is received, and the format template is selected based on the keyword.
In order to achieve the above object, the present invention further provides a calendar generating system based on user photos, including: the system comprises a receiving module, a display module and an order generation module; the receiving module is used for receiving a photo of a user and generating a calendar template based on the photo and the format template; the display module is used for displaying the calendar template to the user and determining the calendar template to be generated based on the selection of the user; the order generating module is used for generating the order of the calendar template to be generated and sending the order to a preset manufacturer after the user pays the order.
To achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements any of the above-described user-photo-based calendar generation methods.
In order to achieve the above object, the present invention further provides a calendar generating apparatus based on user's photos, comprising: a processor and a memory; the memory is used for storing a computer program; the processor is connected with the memory and is used for executing the computer program stored in the memory so as to enable the user photo-based calendar generation device to execute any one of the above-mentioned user photo-based calendar generation methods.
As described above, the calendar generation method, system, medium, and apparatus based on user photos according to the present invention have the following advantageous effects: the user can conveniently customize the calendar based on own preference at any time and any place.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, so that the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, the type, quantity and proportion of the components in actual implementation can be changed freely, and the layout of the components can be more complicated.
The calendar generation method, the system, the medium and the device based on the user photo are convenient for users to customize the calendar based on own preference at any time and any place.
As shown in fig. 1a, the method, system, medium, and apparatus for generating a calendar based on user photos according to the present invention are applied to an application scenario constructed by a calendar generating apparatus based on user photos and user interaction. The user photo-based calendar generation device includes but is not limited to a smart phone, a smart tablet, and a smart computer. After the user photo-based calendar generation device obtains the photo selected by the user, the calendar template can be displayed based on the selection or the requirement of the user, the calendar template to be generated is determined based on the selection of the user, so that an order of the calendar template to be generated is generated, and the calendar to be generated is supported to be made by placing the order, so that the convenience, the interactivity and the humanization of the user and the photo in the user photo-based calendar generation device for calendar generation can be improved.
As shown in fig. 1b, in an embodiment, the method for generating a calendar based on user photos of the present invention includes the following steps:
and step S11, receiving the photo of the user, and generating a calendar template by the photo based on the format template.
Specifically, in the case of how many format templates of the first preset number, calendar templates of the same first preset number may be generated accordingly.
Specifically, a keyword required by a user for a format template is received, and the format template is selected based on the keyword. For example, the keywords of the format template include, but are not limited to, the following categories: sweet wind, dark black wind and environmental protection wind. The format template of the sweet and graceful wind is a calendar with pink font. The format template of the dark black wind is a calendar with black fonts. The format template of the environmental protection wind is a calendar with green fonts. And when the keyword required by the user for the format template is sweet wind, selecting the format template of the sweet wind based on the keyword sweet wind.
Specifically, a certain format template is selected based on the selection of the user, and the photo is generated into a calendar template based on the certain format template.
Specifically, generating the calendar template from the photo based on the format template as described in fig. 1c includes the following two steps:
1) presetting the position and effect of each format template for placing the photo;
specifically, the positions include: middle, upper and lower. The effects include: black and white, color and desalination. The centering refers to displaying the photos in the middle flat display of each calendar page; the upper placement refers to displaying the photos on the upper half part of each calendar page in a tiled mode; the lower placement means that the photos are displayed in a tile in the lower half of each calendar page. The black and white means that the photo is changed into a black and white photo and displayed on the calendar; the color is that the photo is converted into a color photo and displayed on the calendar; the fade is to display the photo with the transparency of the photo set to the original 50% transparency as a semi-transparent photo on the calendar. Therefore, the method can be conveniently adapted to the tastes of different users according to different preferences of the users.
2) And setting the photo according to the position and the effect to generate the calendar template.
Specifically, the preset position and effect of each format template for placing the photo may be that the photo generates a calendar template based on the format template after being selected by the user, for example, if the position and effect of the photo selected by the user are black and white and centered, the photo is converted into a black and white photo and is centrally displayed on the format template, so as to generate the calendar template.
Specifically, the generating of the calendar template based on the photo format template further includes generating the calendar template of the same preset number of types based on the photo format template of the preset number of types if the preset number of types of format templates exists in the photo format template.
Specifically, the format template includes: a wall calendar template or a desk calendar template. Generating a calendar template of the wall calendar based on the format template of the wall calendar template; and generating a calendar template for the calendar based on the format template for the calendar template. Therefore, the user can conveniently determine the calendar template specifically based on different requirements.
And step S12, displaying the calendar template to the user, and determining the calendar template to be generated based on the selection of the user.
Specifically, the format template includes: a wall calendar template or a desk calendar template. Generating a calendar template of the wall calendar based on the format template of the wall calendar template; and generating a calendar template for the calendar based on the format template for the calendar template. And displaying the calendar template of the wall calendar and the calendar template of the desk calendar to the user. And determining whether the calendar template to be generated is a calendar template of a wall calendar or a calendar template of a desk calendar based on the selection of the user.
Specifically, the displaying the calendar template to the user includes: and displaying the calendar template and simultaneously carrying out comparison display on the reference object. For example, an iPad with a preset specification is displayed beside the calendar template, so that the user can visually know the size of the calendar template.
Specifically, for example, the keywords of the format template include: and displaying a calendar template with the keywords of sweet wind, a calendar template with dark wind and a calendar template with environment-friendly wind to the user, and determining whether the calendar template to be generated is the calendar template with sweet wind, the calendar template with dark wind or the calendar template with environment-friendly wind based on the selection of the user.
And step S13, generating the order of the calendar template to be generated, and sending the order to a preset manufacturer after the user pays the order.
Specifically, the generating the order of the calendar template to be generated includes: and receiving address information and contact information of a user to generate the order of the calendar template to be generated. The order payment performed by the user refers to the order payment performed based on the modes of WeChat, Payment treasured, Internet banking and the like. Sending the order to a preset manufacturer refers to sending address information, contact information, the calendar template to be generated and other information of the user to the preset manufacturer. The preset factory is a factory for manufacturing the calendar. And paying a preset amount of money to the preset manufacturer. Therefore, the user can conveniently and quickly place the order and order the calendar as desired at any time and any place.
Specifically, as shown in FIG. 1d, the following example performs a summary explanation of all steps. And step S111, receiving the photo of the user. Step S112, presetting the position and effect of each format template for placing the photo; specifically, the positions include: middle, upper and lower. The effects include: black and white, color and desalination. And S113, setting the photo according to the position and the effect to generate the calendar template. The user selects the position: centering; the effect is as follows: black and white, therefore, centering the photograph and setting black and white generates the calendar template. And step S12, displaying the calendar template to the user, and determining the calendar template to be generated based on the selection of the user. Specifically, the black-and-white photo is presented to the user and the generated calendar template is centrally set. And step S13, generating the order of the calendar template to be generated, and sending the order to a preset manufacturer after the user pays the order.
As shown in fig. 2, in an embodiment, the calendar generating system based on user's photos of the present invention includes a receiving module 21, a displaying module 22 and an order generating module 23.
The receiving module 21 is configured to receive a photo of a user, and generate a calendar template from the photo based on a format template.
Specifically, in the case of how many format templates of the first preset number, calendar templates of the same first preset number may be generated accordingly.
Specifically, a keyword required by a user for a format template is received, and the format template is selected based on the keyword. For example, the keywords of the format template include, but are not limited to, the following categories: sweet wind, dark black wind and environmental protection wind. The format template of the sweet and graceful wind is a calendar with pink font. The format template of the dark black wind is a calendar with black fonts. The format template of the environmental protection wind is a calendar with green fonts. And when the keyword required by the user for the format template is sweet wind, selecting the format template of the sweet wind based on the keyword sweet wind.
Specifically, a certain format template is selected based on the selection of the user, and the photo is generated into a calendar template based on the certain format template.
The display module 22 is configured to display the calendar template to the user, and determine a calendar template to be generated based on a selection of the user.
Specifically, the format template includes: a wall calendar template or a desk calendar template. Generating a calendar template of the wall calendar based on the format template of the wall calendar template; and generating a calendar template for the calendar based on the format template for the calendar template. And displaying the calendar template of the wall calendar and the calendar template of the desk calendar to the user. And determining whether the calendar template to be generated is a calendar template of a wall calendar or a calendar template of a desk calendar based on the selection of the user.
Specifically, the displaying the calendar template to the user includes: and displaying the calendar template and simultaneously carrying out comparison display on the reference object. For example, an iPad with a preset specification is displayed beside the calendar template, so that the user can visually know the size of the calendar template.
Specifically, for example, the keywords of the format template include: and displaying a calendar template with the keywords of sweet wind, a calendar template with dark wind and a calendar template with environment-friendly wind to the user, and determining whether the calendar template to be generated is the calendar template with sweet wind, the calendar template with dark wind or the calendar template with environment-friendly wind based on the selection of the user.
The order generating module 23 is configured to generate an order of the calendar template to be generated, and send the order to a preset manufacturer after the user pays the order.
Specifically, the generating the order of the calendar template to be generated includes: and receiving address information and contact information of a user to generate the order of the calendar template to be generated. The order payment performed by the user refers to the order payment performed based on the modes of WeChat, Payment treasured, Internet banking and the like. Sending the order to a preset manufacturer refers to sending address information, contact information, the calendar template to be generated and other information of the user to the preset manufacturer. The preset factory is a factory for manufacturing the calendar. And paying a preset amount of money to the preset manufacturer. Therefore, the user can conveniently and quickly place the order and order the calendar as desired at any time and any place.
It should be noted that the structures and principles of the receiving module 21, the displaying module 22 and the order generating module 23 correspond to the steps in the calendar generating method based on user photos one by one, and therefore, the description is omitted here.
It should be noted that the division of the modules of the above system is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the x module may be a processing element that is set up separately, or may be implemented by being integrated in a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program code, and the function of the x module may be called and executed by a processing element of the apparatus. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
In an embodiment of the present invention, the present invention further includes a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements any one of the above-mentioned calendar generation methods based on user photos.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the above method embodiments may be performed by hardware associated with a computer program. The aforementioned computer program may be stored in a computer readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
As shown in fig. 3, in an embodiment, the calendar generation device based on user's photos of the present invention includes: a processor 31 and a memory 32; the memory 32 is for storing a computer program; the processor 31 is connected to the memory 32, and is configured to execute a computer program stored in the memory 32, so as to enable the user photo based calendar generating device to execute any one of the user photo based calendar generating methods.
Specifically, the memory 32 includes: various media that can store program codes, such as ROM, RAM, magnetic disk, U-disk, memory card, or optical disk.
Preferably, the Processor 31 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; the integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components.
In summary, the calendar generation method, system, medium and apparatus based on user photos of the present invention are used for facilitating users to customize calendars based on their own preferences at any time and any place. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.