Puzzle generation method and apparatus, electronic device, and storage medium

By generating puzzle component information and using the combination type, quantity and position of the pieces, the problem of fixed pictures and high cost of the puzzle is solved, a variety of pattern displays and high utilization are achieved, and the market prospects are expanded.

WO2024188238A1PCT designated stage expired Publication Date: 2024-09-19DU SHUN
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/081197
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-15
Filing Date
2024-03-12
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

The display screen of existing puzzle products is fixed after assembly, resulting in low utilization rate, and the production cost of double-sided pixel puzzles is high, which limits its market prospects.

Method used

By selecting two images to generate puzzle component information, and using the combination type, quantity and position information of the first and second pieces to form a variety of patterns, users can complete the assembly based on the generated information without having to imagine out of thin air, improving the puzzle fun and utilization.

Benefits of technology

It realizes the display of multiple patterns of puzzles, improves user experience and utilization of puzzles, reduces the production cost of double-sided pixel puzzles, and expands market prospects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024081197_19092024_PF_FP_ABST
    Figure CN2024081197_19092024_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of puzzles, and provides a puzzle generation method and apparatus, an electronic device, and a storage medium. The key point of the technical solution is: comprising: selecting two images, namely a first image and a second image; and generating puzzle assembly information according to the first image and the second image, wherein a puzzle assembly is formed by splicing a first puzzle piece for displaying the first image and a second puzzle piece for displaying the second image, and the puzzle assembly information comprises first type information and first quantity information of puzzle assemblies and first position information of each type of puzzle assemblies. The puzzle generation method and apparatus, the electronic device, and the storage medium provided by the present application have the advantages of improving puzzle utilization and facilitating users to assemble puzzles.
Need to check novelty before this filing date? Find Prior Art

Description

A puzzle generation method, device, electronic device and storage medium Technical Field

[0001] The present application relates to the technical field of puzzles, and in particular to a puzzle generation method, device, electronic device and storage medium. Background Art

[0002] Jigsaw puzzles are a type of toy that is very suitable for intellectual development. Currently, common puzzle products have pre-set patterns, which are then printed on a complete puzzle board. The puzzle board is then cut and divided into multiple puzzle pieces, which are then shuffled. The user then assembles the shuffled puzzle pieces to restore the original pattern.

[0003] That is, after the traditional jigsaw puzzle is assembled, the picture it displays is usually fixed, that is, when the jigsaw puzzle is assembled, it loses the meaning of being assembled again, which undoubtedly causes huge waste.

[0004] In this regard, the prior art has also proposed some solutions to this problem, such as the Chinese utility model patent with publication number CN214913284U, which discloses a double-sided puzzle device. Specifically, the puzzle piece has different lines on at least two opposite sides. All the cut puzzle pieces are flipped, rotated, and arranged and combined. According to the combination of these puzzle pieces, a suitable animal pattern can be formed. Due to the use of a double-sided line pattern, the puzzle pieces can be reused to form more puzzle patterns.

[0005] The above-mentioned prior art provides a technical solution for forming different patterns on a puzzle product. However, the patterns that can be formed are still limited, and the formed patterns are still limited by the line patterns on the puzzle pieces. The production process requires the design of the pattern on each puzzle piece, so there are still problems such as high production and design costs.

[0006] Improvements are needed to address the above issues. Summary of the Invention

[0007] The purpose of the present application is to provide a puzzle generation method, device, electronic device and storage medium, which have the advantages of improving puzzle utilization and facilitating users to assemble puzzles.

[0008] In the first aspect, the present application provides a method for generating a puzzle, and the technical solution is as follows:

[0009] include:

[0010] Two images are selected, namely the first image and the second image;

[0011] generating puzzle component information according to the first image and the second image;

[0012] The puzzle component is composed of a first puzzle piece for displaying the first image and a second puzzle piece for displaying the second image. The puzzle component information includes first type information, first quantity information and first position information of each type of puzzle component.

[0013] Among them, the puzzle component is a structure formed by splicing and combining a first puzzle block and a second puzzle block. The first puzzle block has a first image display surface, and the second puzzle block has a second image display surface. The first image display surface and the second image display surface are usually arranged back to back, and are used to display the first image and the second image on the front and back sides respectively.

[0014] The puzzle component information includes first category information, first quantity information and first location information.

[0015] The first category information refers to the combination type of the first puzzle piece and the second puzzle piece, that is, the type of puzzle component. Specifically, it may refer to the combination type required for the puzzle work, or may refer to all combination types.

[0016] The first quantity information refers to the quantity corresponding to each combination type of the first puzzle pieces and the second puzzle pieces required to complete the puzzle work.

[0017] The first position information refers to the arrangement position of each type of puzzle component required to complete the puzzle work, that is, the distribution area on the installation frame of the puzzle work.

[0018] By selecting two images, puzzle component information is generated based on the two images, that is, by selecting different images, different puzzle component information can be generated, and different patterns can be pieced together according to different puzzle component information. In addition, the user can complete the assembly of the puzzle according to the generated puzzle component information without having to imagine the picture he wants. Therefore, the solution provided by the present application has the beneficial effect of improving the utilization rate of the puzzle and facilitating the user to assemble the puzzle.

[0019] Furthermore, this application also includes:

[0020] Generate a first pixel map and a second pixel map according to the first image and the second image respectively;

[0021] The first pixel map includes a plurality of first pixel units corresponding to the first mosaic block, each of the first pixel units having a single first pattern feature, and the second pixel map includes a plurality of second pixel units corresponding to the second mosaic block, each of the second pixel units having a single second pattern feature.

[0022] By generating the first pixel image and the second pixel image, the user can preview the completed puzzle appearance first. If the user is not satisfied, the first image and / or the second image can be replaced in time, thereby improving the user experience.

[0023] Furthermore, in the present application, the step of generating a first pixel map and a second pixel map according to the first image and the second image respectively includes:

[0024] A plurality of first pixel images and second pixel images of different preset styles are generated respectively according to the first image and the second image.

[0025] It can give users more choices and thus improve the user experience.

[0026] Furthermore, in the present application, the step of generating a first pixel map and a second pixel map according to the first image and the second image respectively includes:

[0027] The first pixel map and the second pixel map are generated according to the first image and the second image, respectively, in which the number of the first pixel units is equal to the number of the second pixel units.

[0028] Furthermore, in the present application, the step of generating the first pixel map and the second pixel map respectively, in which the number of the first pixel units is equal to the number of the second pixel units, according to the first image and the second image, includes:

[0029] performing a first matching process on the first image and / or the second image, where the first matching process includes at least one operation of moving, stretching, scaling, rotating, cropping, and filling;

[0030] The first pixel map and the second pixel map are respectively generated according to the first image and / or the second image after the first matching process, and the first pixel map and the second pixel map have the same size and the same number of the first pixel units as the second pixel units.

[0031] Furthermore, in the present application, the first category information is all combination types of the first block and the second block, and the first quantity information is quantity information corresponding to all combination types.

[0032] Furthermore, in the present application, the first type of information includes symbol information and / or shape information for displaying and distinguishing the first mosaic block and / or the second mosaic block.

[0033] Furthermore, in the present application, the step of generating puzzle component information according to the first image and the second image includes:

[0034] Acquire second type information and second quantity information of the existing puzzle components;

[0035] The puzzle component information not exceeding the second category information and the second quantity information is generated based on the first image and the second image.

[0036] Furthermore, in the present application, the step of generating the puzzle component information not exceeding the second category information and the second quantity information according to the first image and the second image includes:

[0037] selecting, by default, a first generation specification corresponding to the second quantity information from a plurality of preset specification information according to the second category information and the second quantity information;

[0038] The puzzle component information not exceeding the second type information and the second quantity information is generated according to the first generation specification.

[0039] Furthermore, this application also includes:

[0040] Obtaining change request information for the first generation specification;

[0041] The first generation specification is changed from the specification information according to the change request information.

[0042] Furthermore, in the present application, the step of obtaining the second type information and the second quantity information of the existing puzzle components includes:

[0043] generating an input interface, the input interface including at least the second type of information and the second quantity information to be input;

[0044] The second type information and the second quantity information of the existing puzzle components are obtained according to the information inputted in the input interface.

[0045] Furthermore, in the present application, the step of obtaining the second type information and the second quantity information of the existing puzzle components includes:

[0046] Obtaining a commodity identification code pre-included with the second category information and the second quantity information;

[0047] The second category information and the second quantity information are acquired according to the product identification code.

[0048] Furthermore, in the present application, the step of obtaining the second type information and the second quantity information of the existing puzzle components includes:

[0049] Generate task instructions;

[0050] After completing the task instruction, the second type information and the second quantity information of the existing puzzle components are obtained.

[0051] Furthermore, in the present application, the step of generating the puzzle component information not exceeding the second category information and the second quantity information according to the first image and the second image includes:

[0052] Generate task instructions;

[0053] After completing the task instruction, the puzzle component information that does not exceed the second type information and the second quantity information is generated according to the first image and the second image.

[0054] Furthermore, in the present application, after the step of generating puzzle component information according to the first image and the second image, the step further includes:

[0055] An identification code is generated, wherein the identification code includes a link for jumping to an interface having the puzzle component information.

[0056] In a second aspect, the present application further provides a puzzle generation device, comprising:

[0057] A selection module, used for selecting two images, namely a first image and a second image;

[0058] a generating module, configured to generate puzzle component information according to the first image and the second image;

[0059] The puzzle component is composed of a first puzzle piece for displaying the first image and a second puzzle piece for displaying the second image. The puzzle component information includes first type information, first quantity information and first position information of each type of puzzle component.

[0060] In a third aspect, the present application further provides an electronic device comprising a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the above method are executed.

[0061] In a fourth aspect, the present application further provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the above method are executed.

[0062] As can be seen from the above, the present application provides a puzzle generation method, device, electronic device and storage medium, which generates puzzle component information based on two images by selecting two images. That is, by selecting different images, different puzzle component information can be generated, and different patterns can be pieced together according to different puzzle component information. In addition, the user can complete the assembly of the puzzle according to the generated puzzle component information without having to imagine the picture he wants. Therefore, the solution provided by the present application has the beneficial effect of improving the utilization rate of the puzzle and facilitating the user to assemble the puzzle. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] FIG1 is a flow chart of a puzzle generation method provided in this application.

[0064] FIG2 is a schematic structural diagram of a puzzle generation device provided in this application.

[0065] FIG3 is a schematic structural diagram of an electronic device provided in this application.

[0066] FIG4 is a display interface of one type of puzzle component information provided in this application.

[0067] FIG5 is a display interface of one type of puzzle component information provided in this application.

[0068] FIG6 is a display interface of the first location information provided by this application.

[0069] In the figure: 210, selection module; 220, generation module; 310, processor; 320, memory. DETAILED DESCRIPTION

[0070] The technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all of the embodiments. The components of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application for which protection is claimed, but merely represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of this application.

[0071] It should be noted that similar reference numerals and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined or explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and should not be understood as indicating or implying relative importance.

[0072] There are many types of jigsaw puzzles available today. Among them, traditional jigsaw puzzles often have pieces that have a part of a set pattern. That is, after laying the set pattern on a complete board, the board is cut into a specified number of pieces to obtain puzzle pieces that contain various parts of the set pattern. Usually, such puzzle pieces have multiple pattern features. Pattern features refer to features such as color and lines used to form a pattern. A small number of puzzle pieces may have a single pattern feature. Since one puzzle piece has multiple pattern features, the number of puzzle pieces required to form the entire set pattern is relatively small. Moreover, since one puzzle piece has multiple pattern features, users can more easily imagine or try out the corresponding placement of each puzzle piece. Therefore, this type of puzzle does not require special instructions, and users can also piece together a complete pattern, which is suitable for children's intellectual development.

[0073] Pixel puzzles, on the other hand, are typically composed of a large number of pieces with a single pattern. In pixel puzzles, a single pattern typically refers to a single color, but can also be other pattern features, such as a concave or convex 3D feature. Because the pieces in a pixel puzzle only have a single pattern feature, the number of pieces required to create the entire set pattern is large, and it is difficult for users to rely on their imagination to imagine the corresponding positions of all the pieces based on the single pattern feature. Therefore, this type of puzzle usually requires special instructions that record the position information of each piece, and users can follow the instructions to complete the pattern. Due to the characteristics of pixel puzzles, they are usually not used as toys for intellectual development, but rather as handicrafts for display and decoration, or given as gifts.

[0074] Generally speaking, whether it's a traditional puzzle or a pixel puzzle, users are essentially limited to creating a pre-set pattern. This is because traditional puzzle pieces often have multiple pattern features, which can only be formed through specific combinations and arrangements. Pixel puzzles, on the other hand, typically have a single pattern feature, and given the limited number of pieces corresponding to different pattern features, most users are unable to create patterns beyond the instructions using their imagination. Therefore, whether it's a traditional puzzle or a pixel puzzle, users are essentially limited to creating a pre-set pattern.

[0075] This leads to the problem of low utilization of existing puzzle products. In fact, compared with traditional puzzles, pixel puzzles have the feature of being able to form non-fixed patterns. However, the pieces of pixel puzzles have a single pattern feature, which leads to a large number of pieces. When the number of pieces corresponding to different pattern features is limited, users cannot form patterns other than the instructions.

[0076] Based on this, the present application proposes a method for improving the utilization rate of puzzles, more specifically, a solution for improving the utilization rate of double-sided pixel puzzles. Compared with single-sided puzzles, double-sided puzzles are more interesting, especially for pixel puzzles. Usually, pixel puzzles are composed of a large number of puzzle pieces of the same size and shape. It is difficult for users to identify pre-set patterns based on scattered puzzle pieces. When the user completes the splicing of scattered puzzle pieces by himself or according to instructions, he will realize that the spliced ​​puzzle has two patterns, which brings surprise to the user, thereby greatly improving the fun.

[0077] In the prior art, double-sided pixel puzzles have the problem of high production costs. The applicant has recorded in other patent applications a technical solution on how to solve the problem of high production costs of double-sided pixel puzzles. Therefore, it will be possible to produce double-sided pixel puzzles at low cost. Since double-sided pixel puzzles are more interesting, they have broader market prospects. Therefore, this application proposes a solution to improve the utilization rate of double-sided pixel puzzles and facilitate user assembly.

[0078] Specifically, referring to FIG. 1 , the present application may provide a method for generating a puzzle based on a software program, and the technical solution specifically includes:

[0079] S110, selecting two images, namely a first image and a second image;

[0080] S120, generating puzzle component information according to the first image and the second image;

[0081] The puzzle component is composed of a first puzzle piece for displaying a first image and a second puzzle piece for displaying a second image. The puzzle component information includes first type information, first quantity information and first position information of each type of puzzle component.

[0082] It is worth noting that the method provided in this application is aimed at a double-sided pixel puzzle, and the puzzle pieces of the double-sided pixel puzzle include a first puzzle piece and a second puzzle piece that can be detachably connected. Each first puzzle piece has a single pattern feature, and multiple first puzzle pieces are used to display a first image after being spliced ​​together. Each second puzzle piece also has a single pattern feature, and multiple second puzzle pieces are used to display a second image after being spliced ​​together. The first puzzle pieces and the second puzzle pieces constitute a puzzle piece assembly. The specific structure of the puzzle piece assembly can refer to the Chinese utility model patent with application number 202320143554.1. The present application generates first type information, first quantity information and first position information of each type of puzzle component based on the first image and the second image. According to the above information, the user can first assemble the first puzzle piece and the second puzzle piece to obtain the puzzle component, and then assemble the puzzle component and place it in the specified position to obtain a puzzle with patterns on two sides. In addition, the user can generate different puzzle component information by selecting two different images. According to different puzzle component information, puzzles showing different patterns can be pieced together. The puzzle component information can guide the user to complete the puzzle assembly.

[0083] Among them, the first type information of the puzzle component refers to the combination type of the first puzzle block and the second puzzle block, and the first quantity information is the quantity corresponding to each combination type. For example, the pattern feature on the first puzzle block is color, and there are a total of 5 colors of first puzzle blocks. Then, there are 5 types of first puzzle blocks. The pattern feature on the second puzzle block is also color, and there are a total of 5 colors of second puzzle blocks. Then, there are 5 types of second puzzle blocks. The maximum number of combination types of the first puzzle block and the second puzzle block is 25. Assuming that the types of the first puzzle block are A, B, C, D, and E, and the types of the second puzzle block are a, b, c, d, and e, then all the combination types of the first puzzle block and the second puzzle block are Aa, Ab, Ac, Ad, Ae, Ba, Bb, Bc, Bd, Be, Ca, Cb, Cc, Cd, Ce, Da, Db, Dc, Dd, De, Ea, Eb, Ec, Ed, and Ee.

[0084] Specifically, the first category information and the first quantity information may be shown in the following table:

[0085] The above table shows the first type information and the first quantity information in the puzzle component information generated according to the first image and the second image. Among them, there are a total of 12 puzzle components required to puzzle the first image and the second image, namely Aa, Ac, Ba, Bb, Bc, Bd, Cc, Da, Dc, Dd, Eb and Ec, and the required quantities are 100, 200, 100, 100, 50, 50, 150, 50, 50, 50, 50, 50, respectively.

[0086] It is worth noting that the first category information can refer to all the combination types of the first block and the second block, taking the above embodiment as an example, it includes 25 types, or it can refer to the combination types of the first block and the second block in actual use, taking the above embodiment as an example, it includes 12 types.

[0087] In the solution of the present application, the generated puzzle component information includes first category information of the puzzle component, and the puzzle component is composed of a first puzzle piece and a second puzzle piece, that is, the first category information is the combination type of the first puzzle piece and the second puzzle piece. It is worth noting that for a double-sided pixel puzzle, puzzle information of the first puzzle piece and puzzle information of the second puzzle piece can be generated separately. The user can first assemble all the first puzzle pieces according to the puzzle information of the first puzzle piece to obtain a puzzle for displaying the first image, and then assemble all the second puzzle pieces according to the puzzle information of the second puzzle piece to obtain a puzzle for displaying the second image, that is, assemble the first puzzle piece and the second puzzle piece separately. However, in the solution proposed in the present application, the puzzle information of the first puzzle piece and the puzzle information of the second puzzle piece are not generated according to the first image and the second image respectively, but the puzzle component information is generated according to the first image and the second image, and the puzzle component is formed by splicing the first puzzle piece and the second puzzle piece, that is, the user needs to first splice the first puzzle piece and the second puzzle piece together to obtain the puzzle component, and then place the puzzle component at the designated position according to the first position information. When the user splices the first side, a double-sided pattern can be obtained. It is suitable for the first user to input two images to generate puzzle component information, and then give the puzzle product to another second user, and send the puzzle component information to the second user. The second user completes the assembly of the puzzle according to the puzzle component information. Before the puzzle is completed, it is difficult for the second user to find the picture that the puzzle wants to show. It is very suitable for gift giving between friends or lovers, and it is easy to create a great sense of surprise.

[0088] Among them, the first position information refers to the position where each puzzle component needs to be placed. Specifically, when the puzzle as a whole is a square, a grid-shaped box can be set, and various types of puzzle components can be filled in the grid. Taking the above embodiment as an example, Aa, Ac, Ba, Bb, Bc, Bd, Cc, Da, Dc, Dd, Eb and Ec can be filled in the corresponding grid, and the letters A, B, C, D, and E are used to represent the type of the first puzzle piece, and the letters a, b, c, d, and e are used to represent the type of the second puzzle piece. In addition, other letters, numbers or symbols can also be used to replace the first puzzle piece and the second puzzle piece.

[0089] In some specific embodiments, a partition table can be generated, each partition has a corresponding number, and then the first position information of the puzzle component on each partition is displayed. For example, a 5×5 partition table is generated, which means there are 25 partitions. The 25 partitions can be numbered in the order of rows and columns, namely 1-1, 1-2, 1-3, 1-4, 1-5, 2-1, 2-2, 2-3, 2-4, 2-5, 3-1, 3-2, 3-3, 3-4, 3-5, 4-1, 4-2, 4-3, 4-4, 4-5, 5-1, 5-2, 5-3, 5-4, 5-5, and then the first position information of the puzzle component on each numbered partition is displayed. Specifically, each partition can be a 10×10 grid table, that is, each partition has 100 grids, and each grid is filled with The type of puzzle components should be selected. Specifically, the first puzzle piece can be represented by uppercase letters, and the second puzzle piece can be represented by lowercase letters, that is, each grid will be filled with an uppercase letter and a lowercase letter, so that the first position information of the double-sided puzzle can be displayed in a plane, and the first puzzle piece and the second puzzle piece are expressed in the form of symbols or numbers, so that the user will not be aware of what the displayed pattern looks like before the assembly is completed. It is suitable for the first user to input two images to generate puzzle component information, and then give the puzzle product to another second user, and send the puzzle component information to the second user. The second user completes the assembly of the puzzle according to the puzzle component information. Before the puzzle is completed, it is difficult for the second user to find the picture that the puzzle wants to display. It is very suitable for giving gifts between friends or lovers, and it is easy to create a great sense of surprise.

[0090] By selecting two images, puzzle component information is generated based on the two images, that is, by selecting different images, different puzzle component information can be generated, and different patterns can be pieced together according to different puzzle component information. In addition, the user can complete the assembly of the puzzle according to the generated puzzle component information without having to imagine the picture he wants. Therefore, the solution provided by the present application has the beneficial effect of improving the utilization rate of the puzzle and facilitating the user to assemble the puzzle.

[0091] Through the solution of the present application, when purchasing pixel puzzle products, users do not need to select a set pattern, but only need to select the type and quantity of puzzle components. Then, by inputting two images, puzzle component information is generated based on the first image and the second image, and the puzzle components are assembled according to the puzzle component information to obtain a double-sided pixel puzzle with the first image and the second image.

[0092] Furthermore, in some embodiments, the method further comprises:

[0093] Generate a first pixel map and a second pixel map according to the first image and the second image respectively;

[0094] The first pixel map includes a plurality of first pixel units corresponding to the first mosaic block, each first pixel unit having a single first pattern feature, and the second pixel map includes a plurality of second pixel units corresponding to the second mosaic block, each second pixel unit having a single second pattern feature.

[0095] By generating the first pixel image and the second pixel image, the user can preview the completed puzzle appearance first. If the user is not satisfied, the first image and / or the second image can be replaced in time, thereby improving the user experience.

[0096] Furthermore, in some embodiments, the step of generating the first pixel map and the second pixel map according to the first image and the second image respectively includes:

[0097] A plurality of first pixel images and second pixel images of different preset styles are generated respectively according to the first image and the second image.

[0098] Typically, in a pixel image, each pixel unit usually has only one color. Pixel units of different colors construct the outline of a pattern, thereby displaying the pattern. Suppose a pixel image contains three colors: red, green, and blue. In the default pixel image, the area distributed with red is the X area, the area distributed with green is the Y area, and the area distributed with blue is the Z area. At this time, you can change the colors in each area, or change the areas corresponding to each color to obtain pixel images of different styles.

[0099] For example, a default pixel map includes three colors: red, green, and blue. In the default pixel map, the area where red is distributed is the X area, the area where green is distributed is the Y area, and the area where blue is distributed is the Z area.

[0100] At this point, you can get pixel images of different styles by changing one, two, or three of the three colors.

[0101] Specifically, red can be replaced by black, green by white, and blue by yellow. In this case, the generated pixel map contains black, white, and yellow, with black distributed in the X region, white in the Y region, and yellow in the Z region.

[0102] In addition, pixel images of different styles can be obtained by changing the areas corresponding to each color.

[0103] Specifically, the red in the X region can be replaced by the green in the Y region, the green in the Y region can be replaced by the blue in the Z region, and the blue in the Z region can be replaced by the red in the X region. That is, the resulting pixel image still contains red, green, and blue. In this pixel image, the red is distributed in the Z region, the green is distributed in the X region, and the blue is distributed in the Y region.

[0104] In addition, pixel images of different styles can be obtained by changing one, two, or three of the three colors and then changing the areas corresponding to each color.

[0105] In addition, you can add new colors to get pixel images of different styles.

[0106] Generating a plurality of first pixel images and second pixel images of different preset styles respectively according to the first image and the second image can provide users with more choices, thereby improving user experience.

[0107] Furthermore, in some embodiments, the step of generating the first pixel map and the second pixel map according to the first image and the second image respectively includes:

[0108] A first pixel map and a second pixel map are generated according to the first image and the second image, each of which has the same number of first pixel units as that of second pixel units.

[0109] Among them, the first pixel unit corresponds to the first puzzle piece, and the second pixel unit corresponds to the second puzzle piece. Usually, for a puzzle, the puzzle pieces need to be fixed in the installation frame. Therefore, the total number of first puzzle pieces and the total number of second puzzle pieces should be kept equal to form a better puzzle. Correspondingly, the number of first pixel units and the number of second pixel units should be kept equal to ensure the quality of the final puzzle.

[0110] Specifically, the steps of generating a first pixel map and a second pixel map in which the number of first pixel units is equal to the number of second pixel units according to the first image and the second image respectively include:

[0111] Performing a first matching process on the first image and / or the second image, where the first matching process includes at least one operation of moving, stretching, scaling, rotating, cropping, and filling;

[0112] A first pixel map and a second pixel map having the same size and the same number of first pixel units as the number of second pixel units are respectively generated according to the first image and / or the second image after the first matching process.

[0113] Since the generated puzzle component information corresponds to the first image and the second image, the user needs to input two images to generate the puzzle component information. However, the specifications of the two images input by the user are not necessarily completely consistent. Based on the first image and the second image, a first pixel map and a second pixel map with equal numbers of first pixel units and second pixel units need to be generated. The aspect ratio of the first pixel map and the second pixel map also needs to be consistent and maintain the same aspect ratio as the installation frame. For this purpose, a first matching process needs to be performed on the first image and the second image.

[0114] For example, a cropping frame of a preset size can be used to select the cropped images of the first and second images. When the image of the first or second image is larger than the size of the cropping frame, the specific image within the cropping frame can be selected by shrinking, translating left and right, and translating up and down, and then a pixel map is generated based on the selected specific image. When the image of the first or second image is smaller than the size of the cropping frame, the specific image within the cropping frame can be selected by enlarging, filling, etc., and then a pixel map is generated based on the selected specific image. In addition, the first or second image can be rotated, for example, the first and second images can be reversed, and after the puzzle is completed, two images can be pieced together upside down.

[0115] The above operations can be completed automatically or performed by the user.

[0116] Furthermore, in some embodiments, the first category information is all combination types of the first block and the second block, and the first quantity information is quantity information corresponding to all combination types.

[0117] In some of the above embodiments, the first category information may refer to either all possible combinations of the first and second pieces or to the actual combinations of the first and second pieces. In a preferred embodiment, the first category information refers to all possible combinations of the first and second pieces, i.e., all possible combinations of the first and second pieces and the corresponding quantity information are displayed based on the puzzle component information. This configuration is intended to encourage users to purchase more first and second pieces.

[0118] Based on the solution of this application, users can generate puzzle component information by inputting the first image and the second image. This means that when purchasing a puzzle product, users do not need to select a set pattern at the purchase stage. They only need to purchase first and second puzzle pieces of different specifications. If the user purchases a small number of first and second puzzle pieces, the final puzzle size will be smaller and the picture quality will be lower. If the user purchases a large number of first and second puzzle pieces, the final puzzle size will be larger and the picture quality will be better.

[0119] During this process, by displaying all the combination types of the first and second puzzle pieces and the corresponding quantity information, the user will find that the quantity information corresponding to many combination types is 0, as shown in the tables shown in some of the above embodiments. This is because in a pixel image, only a small amount of color is needed to display the outline of the image. Displaying all the combination types of the first and second puzzle pieces and the corresponding quantity information to the user allows the user to intuitively realize that there are many more combination types and that larger puzzle pieces with more detailed images can be pieced together. This may encourage the user to purchase more first and second puzzle pieces.

[0120] Furthermore, in some embodiments, the first type of information includes symbol information and / or shape information for displaying and distinguishing the first tile and / or the second tile.

[0121] The symbol information may specifically include numbers, words, letters, specific symbols, etc.

[0122] For example, uppercase letters are used to represent the first puzzle piece, and lowercase letters are used to represent the second puzzle piece. For example, A, B, C, D, and E are used to represent different first puzzle pieces, and a, b, c, d, and e are used to represent different second puzzle pieces. Aa, Ab, Ac, Ad, Ae, Ba, Bb, Bc, Bd, Be, Ca, Cb, Cc, Cd, Ce, Da, Db, Dc, Dd, De, Ea, Eb, Ec, Ed, and Ee represent all types of combinations of the first and second puzzle pieces.

[0123] In addition, the shapes of the first block and the second block can be added near the symbol information of the first block and the second block, such as the first block is convex and the second block is concave. For example, a convex shape and a concave shape are added near Aa. Specifically, the convex shape is set on one side of A and the concave shape is set on one side of a.

[0124] Through the above settings, the user can simply and intuitively distinguish the required first puzzle piece, the second puzzle piece and the puzzle assembly that needs to be assembled, which is more conducive to the user completing the puzzle assembly.

[0125] Furthermore, in some embodiments, the step of generating puzzle component information based on the first image and the second image includes:

[0126] Obtain second category information and second quantity information of existing puzzle components;

[0127] Puzzle component information not exceeding second category information and second quantity information is generated based on the first image and the second image.

[0128] Based on the solution of the present application, users can generate puzzle component information by inputting a first image and a second image. This means that when purchasing a puzzle product, users do not need to select a set pattern at the purchase stage, but only need to purchase different quantities of first and second puzzle pieces. When generating puzzle component information based on the first and second images, in order to ultimately complete the puzzle assembly normally, the generated puzzle component information must correspond to the first and second puzzle pieces purchased by the user.

[0129] Specifically, the second category information refers to all types of the first puzzle blocks and the second puzzle blocks. For example, the user purchased 1,000 first puzzle blocks and 1,000 second puzzle blocks, of which the 1,000 first puzzle blocks included 300 A, 200 B, 200 C, 150 D, and 150 E, and the 1,000 second puzzle blocks included 200 a, 200 b, 300 c, 200 d, and 100 e. The second category information includes A, B, C, D, E, a, b, c, d, e, a total of 10 types, and the second quantity information is the quantity information corresponding to various types of puzzle blocks.

[0130] Among them, the puzzle component information includes first type information and first quantity information of the puzzle component, and the puzzle component is composed of a first puzzle piece and a second puzzle piece, that is, the first type information and the first quantity information also reflect the type information and corresponding quantity information of the first puzzle piece, the type information and the corresponding quantity information of the second puzzle piece, and generating puzzle component information that does not exceed the second type information and the second quantity information means that in the generated puzzle component information, the type of the first puzzle piece contained therein cannot exceed the type of the existing first puzzle piece; in the generated puzzle component information, the quantity corresponding to the type of the first puzzle piece contained therein cannot exceed the number of the corresponding first puzzle pieces; in the generated puzzle component information, the type of the second puzzle piece contained therein cannot exceed the type of the existing second puzzle piece; in the generated puzzle component information, the quantity corresponding to the type of the second puzzle piece contained therein cannot exceed the number of the corresponding second puzzle pieces.

[0131] Furthermore, in some embodiments, the step of generating puzzle component information not exceeding a second type of information and a second quantity of information based on the first image and the second image includes:

[0132] Selecting by default a first generation specification corresponding to the second quantity information from a plurality of preset specification information according to the second category information and the second quantity information;

[0133] The puzzle component information not exceeding the second type information and the second quantity information is generated according to the first generation specification.

[0134] For ease of description, it is assumed that the user purchases 5 types of first puzzle pieces and 5 types of second puzzle pieces. When generating puzzle component information, these 5 types of first puzzle pieces and 5 types of second puzzle pieces are also generated by default.

[0135] That is, specification information of multiple sizes can be prepared in advance, such as 10×10, 50×50, 100×100, 200×200, 500×500, etc. After obtaining the second type information and second quantity information of the existing puzzle components, the quantity information of the first puzzle pieces and the second puzzle pieces is obtained, that is, the quantity information of the puzzle components. For example, if the user purchases 2500 first puzzle pieces and 2500 second puzzle pieces, then the 2500 first puzzle pieces and 2500 second puzzle pieces can be assembled into 2500 puzzle components. According to the quantity information, one is selected by default from the multiple preset specification information as the first generation specification. For example, if the user purchases 2500 first puzzle pieces and 2500 second puzzle pieces, 50×50 is selected by default as the first generation specification, that is, the total number of puzzle components contained in the generated puzzle component information is also 2500.

[0136] Furthermore, it also includes:

[0137] Obtaining change request information for a first build specification;

[0138] The first generation specification is changed from the specification information according to the change request information.

[0139] After selecting one of the multiple specifications as the first generation specification by default, the user can also change the first generation specification according to actual circumstances. Taking the above embodiment as an example, after selecting 50×50 as the first generation specification by default, the user can also manually select other specifications as the first generation specification, such as selecting 10×10 as the first generation specification. In this case, since the number of first and second puzzle pieces purchased by the user is greater than 10×10, even if the puzzle is generated using 10×10 as the first generation specification, the user can still complete the puzzle normally based on the first and second puzzle pieces purchased. If the user manually selects 100×100 as the first generation specification, the total number of puzzle components included in the generated puzzle component information will exceed the total number of puzzle components purchased by the user, and the user will not be able to complete the puzzle normally.

[0140] Specifically, in some embodiments, when the first generation specification manually selected by the user exceeds the number of puzzle components purchased by the user, an alarm message may be issued. The alarm message may specifically prompt the user that the puzzle component information generated according to the first generation specification cannot complete the puzzle assembly normally.

[0141] Specifically, in some embodiments, when the first generation specification selected by the user multiple times exceeds the number of puzzle components purchased by the user, a key can be generated, through which the user's purchase information can be queried, and the specific number of puzzle components purchased can be obtained based on the purchase information.

[0142] It is worth noting that, for ease of description, it is assumed that the user purchases five first and five second puzzle pieces. When generating puzzle component information, these five first and five second puzzle pieces are also used by default. However, in actual use, the user may purchase three, four, or six different types of first and second puzzle pieces, and different types of first and second puzzle pieces may also be used when generating puzzle component information. That is, the types of first and second puzzle pieces may also be included in the specification information and the first generation specification.

[0143] Taking the above embodiment as an example, after selecting the specification information of 50×50, 50×50 represents the number of puzzle pieces, that is, 2500 puzzle pieces are required. However, under this selection, the types of first and second puzzle pieces to be used can also be specifically selected, for example, 3 first puzzle pieces and 3 second puzzle pieces are selected, or 3 first puzzle pieces and 5 second puzzle pieces are selected, or 5 first puzzle pieces and 5 second puzzle pieces are selected, etc. Generally speaking, different types of first and second puzzle pieces represent different colors. For example, when 3 first puzzle pieces and 3 second puzzle pieces are selected, it means that 3 colors of first puzzle pieces and 3 colors of second puzzle pieces are used to generate the puzzle component information. That is, in some of the above embodiments, a first pixel map and a second pixel map will be generated, and the generated first pixel map has only 3 colors, and the generated second pixel map also has only 3 colors. When 5 types of first puzzle pieces and 5 types of second puzzle pieces are selected, there are 5 colors in the generated first pixel map, and there are also 5 colors in the generated second pixel map.

[0144] In some embodiments, the step of obtaining the second type information and the second quantity information of the existing puzzle components includes:

[0145] generating an input interface, the input interface including at least the second type of information and the second quantity information to be input;

[0146] The second type information and the second quantity information of the existing puzzle components are obtained according to the information inputted in the input interface.

[0147] That is, when obtaining the second category information and the second quantity information of the existing puzzle components, the user may input the second category information and the second quantity information by himself.

[0148] Furthermore, in some other embodiments, the step of obtaining the second type information and the second quantity information of the existing puzzle components includes:

[0149] Obtaining a commodity identification code pre-included with second category information and second quantity information;

[0150] The second category information and the second quantity information are obtained according to the product identification code.

[0151] When it is necessary to generate puzzle component information, it is necessary to first obtain the second category information and second quantity information of the existing puzzle components. When obtaining the second category information and second quantity information, the user can manually input the information or automatically obtain the information. A product identification code can be printed on the packaging or installation frame of the puzzle product. The product identification code includes the second category information and the second quantity information. The second category information and the second quantity information can be obtained by scanning the product identification code. This has the advantage that the user does not need to remember or query the second category information and the second quantity information.

[0152] Specifically, the method of the present application can be implemented based on a software program, such as a software program installed on a smart phone. After opening the software program, the first image and the second image are input. Before generating the puzzle component information, the camera permission of the smart phone can be obtained, and then the camera is opened to scan the product identification code, wherein the product identification code can specifically be a QR code. After obtaining the second category information and the second quantity information by scanning the product identification code, puzzle component information that does not exceed the second category information and the second quantity information is generated according to the first image and the second image.

[0153] In addition to automatic acquisition, manual input can also be used. In some of the above embodiments, it is proposed that the second category information and the second quantity information can be automatically obtained by scanning the product identification code. However, the product identification code may be lost. Moreover, since the puzzle product can be given to others as a gift, it is difficult for the user who receives the gift to obtain the product order information. Therefore, once the product identification code is lost, or part of the puzzle components are lost during use, there will be many inconveniences in subsequent use. In response to this, the present application also provides a manual input method. The user can manually input the information of the puzzle components they own by counting them, thereby obtaining the second category information and the second quantity information, and then generating puzzle component information that does not exceed the second category information and the second quantity information based on the first image and the second image.

[0154] Furthermore, in some embodiments, the step of obtaining the second type information and the second quantity information of the existing puzzle components includes:

[0155] Generate task instructions;

[0156] After completing the task instruction, the second type information and the second quantity information of the existing puzzle components are obtained.

[0157] In some of the above-mentioned embodiments, when generating puzzle component information based on the first image and the second image, the second type information and the second quantity information of the existing puzzle components must also be obtained, so as to ensure that subsequent puzzles can be assembled normally. When obtaining the second type information and the second quantity information, a task instruction can be generated. Only after the user completes the task instruction can the second type information and the second quantity information be obtained.

[0158] Specifically, taking some of the above-mentioned embodiments as an example, the method of the present application can be implemented based on a software program, such as a software program installed on a smart phone. After opening the software program, the first image and the second image are input. Before generating the puzzle component information, the camera permission of the smart phone can be obtained, and then the camera is opened to scan the product identification code. Before opening the camera to scan the product identification code, a task instruction can be generated first. After completing the task instruction, the camera will be opened to scan the product identification code. The task instruction can specifically be a sharing link. Specifically, a link can be generated to jump to an advertising page. The task instruction can be sharing the link to a circle of friends or other designated software platform. That is, after the user shares the link to the circle of friends, the camera will be opened to scan the product identification code, and then puzzle component information not exceeding the second category information and the second quantity information will be generated based on the first image and the second image.

[0159] Through the above settings, the publicity effect can be improved, thereby allowing more people to purchase the puzzle product.

[0160] Furthermore, in some embodiments, the step of generating puzzle component information not exceeding a second type of information and a second quantity of information based on the first image and the second image includes:

[0161] Generate task instructions;

[0162] After completing the task instruction, puzzle component information not exceeding the second type of information and the second quantity of information is generated according to the first image and the second image.

[0163] In some of the aforementioned embodiments, it is described that the task instructions are generated before obtaining the second category information and the second quantity information, and the second category information and the second quantity information are obtained after the task instructions are completed. This is intended to improve the promotional effect and thereby attract more people to purchase the puzzle product. Alternatively, the second category information and the second quantity information may be obtained first, and then the task instructions are generated after obtaining the second category information and the second quantity information. Only after the task instructions are completed will puzzle component information not exceeding the second category information and the second quantity information be generated based on the first image and the second image.

[0164] Specifically, taking some of the above-mentioned embodiments as an example, the method of the present application can be implemented based on a software program, such as a software program installed on a smart phone. After opening the software program, the first image and the second image are input. Before generating the puzzle component information, the camera permission of the smart phone can be obtained, and then the camera is opened to scan the product identification code. After scanning the product identification code, a task instruction is generated. The task instruction can specifically be a sharing link. Specifically, a link can be generated to jump to an advertising page. The task instruction can be sharing the link to a circle of friends or other designated software platform. That is, after the user shares the link to the circle of friends, puzzle component information not exceeding the second type of information and the second quantity information is generated based on the first image and the second image.

[0165] Furthermore, in some embodiments, after the step of generating puzzle component information based on the first image and the second image, the step further includes:

[0166] An identification code is generated, the identification code including a link for jumping to an interface having puzzle component information.

[0167] Through the above scheme, after the puzzle component information is generated, an identification code is generated, where the identification code can specifically be a QR code, which can include the puzzle component information and can also include a link, which is used to jump to an interface with the puzzle component information. Specifically, the puzzle component information can be presented in the form of a PDF document, and the user can download, save, screenshot, etc. to complete the puzzle assembly according to the first category information, the first quantity information and the first location information.

[0168] 4 , which is a display interface for puzzle component information. After inputting a first image and a second image, a first pixel map and a second pixel map are generated. The first pixel map and the second pixel map are used for previewing by the user so that the first image and the second image can be replaced to generate different puzzle display surfaces. The puzzle component information includes first category information, first quantity information, and first position information. The first category information is Aa, Ab, Ac, Ba, Bb, Bc, Ca, Cb, and Cc, that is, there are a total of 9 combination types of first and second puzzle pieces. The first puzzle piece is convex and represented by capital letters, specifically types A, B, and C. The three types A, B, and C can represent different colors, for example, red, yellow, and blue. The second puzzle piece is concave and represented by lowercase letters, specifically types a, b, and c. The three types a, b, and c can represent different colors, for example, black, white, and gray. The first quantity information indicates the number corresponding to various combination types. A quantity of 0 indicates that no puzzle components of this combination are used. The first position information shows the corresponding positions of each puzzle component. Figure 4 shows a partition table with a total of 9 areas. The position distribution of various puzzle components is displayed separately in each area.

[0169] By selecting two images, puzzle component information is generated based on the two images, that is, by selecting different images, different puzzle component information can be generated, and different patterns can be pieced together according to different puzzle component information. In addition, the user can complete the assembly of the puzzle according to the generated puzzle component information without having to imagine the picture he wants. Therefore, the solution provided by the present application has the beneficial effect of improving the utilization rate of the puzzle and facilitating the user to assemble the puzzle.

[0170] In addition, reference can be made to Figures 5 and 6 , which illustrate another display interface for puzzle component information. After inputting a first image and a second image, a first pixel map and a second pixel map are generated. The first pixel map and the second pixel map are used for previewing by the user, allowing the user to easily swap between the first and second images to generate different puzzle display surfaces. The puzzle component information includes first category information, first quantity information, and first position information. The first category information is Aa, Ab, Ba, and Bb, meaning there are four possible combinations of first and second puzzle pieces. The first puzzle piece is convex and represented by capital letters, specifically types A and B. These two types A and B can represent different colors, such as black and white. The second puzzle piece is concave and represented by lowercase letters, specifically types a and b. These two types a and b can represent different colors, such as black and white. Each combination is provided with a shape diagram of the first and second puzzle pieces in the first category information. The shape diagrams can also include fill colors, making it easier for the user to distinguish between them. The first quantity information indicates the quantity corresponding to various combination types, and the first position information shows the corresponding position of each puzzle component. FIG5 shows a partition table, which contains a total of 16 areas. The position distribution of various puzzle components is displayed separately in each area. Referring to FIG6 , FIG6 is a schematic diagram of the position distribution of the specific puzzle component numbered 1-1 in the partition table in FIG5 .

[0171] The puzzle component information shown in FIG. 4 , FIG. 5 and FIG. 6 is merely for illustration and does not represent the actual puzzle component information of the first image and the second image in the above example.

[0172] In a second aspect, referring to FIG2 , the present application further provides a puzzle generation device, comprising:

[0173] A selection module 210 is used to select two images, namely a first image and a second image;

[0174] A generating module 220, configured to generate puzzle component information according to the first image and the second image;

[0175] The puzzle component is composed of a first puzzle piece for displaying a first image and a second puzzle piece for displaying a second image. The puzzle component information includes first type information, first quantity information and first position information of each type of puzzle component.

[0176] By selecting two images, puzzle component information is generated based on the two images, that is, by selecting different images, different puzzle component information can be generated, and different patterns can be pieced together according to different puzzle component information. In addition, the user can complete the assembly of the puzzle according to the generated puzzle component information without having to imagine the picture he wants. Therefore, the solution provided by the present application has the beneficial effect of improving the utilization rate of the puzzle and facilitating the user to assemble the puzzle.

[0177] In some other preferred embodiments, the puzzle generation device provided in the present application can perform any one of the steps in the above method.

[0178] In a third aspect, referring to FIG3 , the present application further provides an electronic device, comprising a processor 310 and a memory 320 , wherein the memory 320 stores computer-readable instructions. When the computer-readable instructions are executed by the processor 310 , the steps in any of the above methods are executed.

[0179] Through the above technical solution, the processor 310 and the memory 320 are interconnected and communicate with each other through a communication bus and / or other forms of connection mechanisms (not shown). The memory 320 stores computer-readable instructions executable by the processor 310. When the electronic device is running, the processor 310 executes the computer-readable instructions to perform the method in any optional implementation of the above embodiment to achieve the following functions: selecting two images, namely the first image and the second image; generating puzzle component information based on the first image and the second image; the puzzle component is composed of a first puzzle piece for displaying the first image and a second puzzle piece for displaying the second image, and the puzzle component information includes first type information, first quantity information and first position information of each type of puzzle component.

[0180] In a fourth aspect, the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in any of the above methods are executed.

[0181] Through the above technical solution, when the computer program is executed by the processor, the method in any optional implementation method of the above embodiment is executed to achieve the following functions: two images are selected, namely the first image and the second image; puzzle component information is generated based on the first image and the second image; the puzzle component is composed of a first puzzle piece for displaying the first image and a second puzzle piece for displaying the second image, and the puzzle component information includes first type information, first quantity information and first position information of each type of puzzle component.

[0182] Among them, the computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0183] In the embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interface, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0184] In addition, the units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, and may be located in one place or distributed across multiple network units. Some or all of these units may be selected based on actual needs to achieve the purpose of the solution of this embodiment.

[0185] Furthermore, the functional modules in each embodiment of the present application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0186] The foregoing is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. Persons skilled in the art will readily appreciate that the present application may be modified and altered in various ways. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present application shall be included within the scope of protection of the present application.

Claims

1. A method for generating a puzzle, It is characterized in that include: Select two images, namely the first image and the second image; generating puzzle component information according to the first image and the second image; The puzzle component is composed of a first puzzle piece for displaying the first image and a second puzzle piece for displaying the second image. The puzzle component information includes first category information, first quantity information and first position information of each category of the puzzle component.

2. A method for generating a jigsaw puzzle according to claim 1, It is characterized in that Also includes: Generate a first pixel map and a second pixel map according to the first image and the second image respectively; The first pixel map includes a plurality of first pixel units corresponding to the first mosaic block, each of the first pixel units having a single first pattern feature, and the second pixel map includes a plurality of second pixel units corresponding to the second mosaic block, each of the second pixel units having a single second pattern feature.

3. A method for generating a jigsaw puzzle according to claim 2, It is characterized in that The step of generating a first pixel map and a second pixel map according to the first image and the second image respectively comprises: A plurality of the first pixel images and the second pixel images of different preset styles are generated respectively according to the first image and the second image.

4. A method for generating a jigsaw puzzle according to claim 2, It is characterized in that The step of generating a first pixel map and a second pixel map according to the first image and the second image respectively comprises: The first pixel map and the second pixel map in which the number of the first pixel units is equal to the number of the second pixel units are generated respectively according to the first image and the second image.

5. A method for generating a jigsaw puzzle according to claim 4, It is characterized in that The step of generating the first pixel map and the second pixel map in which the number of the first pixel units is equal to the number of the second pixel units according to the first image and the second image respectively comprises: Performing a first matching process on the first image and / or the second image, wherein the first matching process includes at least one operation of moving, stretching, scaling, rotating, cropping, and filling; The first pixel map and the second pixel map having the same size and the same number of the first pixel units as the second pixel units are respectively generated according to the first image and / or the second image after the first matching process.

6. A method for generating a jigsaw puzzle according to claim 1, It is characterized in that The first category information is all combination types of the first block and the second block, and the first quantity information is quantity information corresponding to all combination types.

7. A method for generating a jigsaw puzzle according to claim 1, It is characterized in that The first type of information includes symbol information and / or shape information for displaying and distinguishing the first mosaic block and / or the second mosaic block.

8. A method for generating a jigsaw puzzle according to claim 1, It is characterized in that The step of generating puzzle component information according to the first image and the second image comprises: Acquire second type information and second quantity information of the existing puzzle components; The puzzle component information not exceeding the second category information and the second quantity information is generated according to the first image and the second image.

9. A method for generating a jigsaw puzzle according to claim 8, It is characterized in that The step of generating puzzle component information that does not exceed the second type of information and the second quantity information according to the first image and the second image comprises: Selecting by default a first generation specification corresponding to the second quantity information from a plurality of preset specification information according to the second category information and the second quantity information; The puzzle component information not exceeding the second type information and the second quantity information is generated according to the first generation specification.

10. A method for generating a jigsaw puzzle according to claim 9, It is characterized in that Also includes: Obtaining change request information of the first generation specification; The first generation specification is changed from the specification information according to the change request information.

11. A method for generating a jigsaw puzzle according to claim 8, It is characterized in that The step of obtaining the second type information and the second quantity information of the existing puzzle components comprises: generating an input interface, wherein the input interface at least includes the second type of information and the second quantity information to be input; The second type information and the second quantity information of the existing puzzle components are obtained according to the information inputted in the input interface.

12. A method for generating a jigsaw puzzle according to claim 8, It is characterized in that The step of obtaining the second type information and the second quantity information of the existing puzzle components comprises: Acquire a commodity identification code pre-included with the second category information and the second quantity information; The second category information and the second quantity information are acquired according to the product identification code.

13. A method for generating a jigsaw puzzle according to claim 8, It is characterized in that The step of obtaining the second type information and the second quantity information of the existing puzzle components comprises: Generate task instructions; After completing the task instruction, the second type information and the second quantity information of the existing puzzle components are obtained.

14. A method for generating a jigsaw puzzle according to claim 8, It is characterized in that The step of generating puzzle component information that does not exceed the second type of information and the second quantity information according to the first image and the second image comprises: Generate task instructions; After completing the task instruction, the puzzle component information not exceeding the second type information and the second quantity information is generated according to the first image and the second image.

15. A method for generating a jigsaw puzzle according to claim 1, It is characterized in that After the step of generating puzzle component information according to the first image and the second image, the following step further comprises: An identification code is generated, wherein the identification code includes a link for jumping to an interface having the puzzle component information.

16. A jigsaw puzzle generating device, It is characterized in that include: A selection module, used for selecting two images, namely a first image and a second image; A generating module, configured to generate puzzle component information according to the first image and the second image; The puzzle component is composed of a first puzzle piece for displaying the first image and a second puzzle piece for displaying the second image. The puzzle component information includes first type information, first quantity information and first position information of each type of the puzzle component.

17. An electronic device, It is characterized in that The method comprises a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the method according to any one of claims 1 to 15 are executed.

18. A storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 15 are executed.

Citation Information

Patent Citations

  • Double-sided jigsaw puzzle device

    CN214913284U

  • Splicing block, splicing block assembly and jigsaw puzzle

    CN219963904U

  • Synthesis method of picture mosaic pattern and system therefor

    CN101739697A

  • Establishment method of digital jigsaw module database, jigsaw method and storage medium

    CN111598783A

  • Puzzle generation method and device, electronic equipment and storage medium

    CN116385262A