Poster generation method and system based on diversified data

By creating a check-in layer in the poster generation system and allowing user interaction, the problem of lack of flexibility and interactivity in traditional physical poster check-in methods is solved, and the efficient, intelligent and personalized generation of posters is achieved.

CN119648865AActive Publication Date: 2025-03-18SHANGHAI BAYANTU INFORMATION TECH CO LTD
View PDF 13 Cites 0 Cited by

Patent Information

Application Number
CN202510173997.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-18
Publication Date
2025-03-18
Estimated Expiration
2045-02-18

AI Technical Summary

Technical Problem

The traditional physical poster check-in method lacks flexibility and interactivity, and cannot meet people's needs for digital and personalized services.

Method used

By obtaining the poster base map uploaded by the management side, determining the check-in area and the logo display area, creating a check-in layer, generating a check-in logo, and allowing the user to interact to generate a personalized poster check-in picture.

Benefits of technology

It realizes efficient, intelligent and personalized generation of posters, improves user interaction experience, and overcomes the problems of insufficient flexibility and interactivity of physical posters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119648865A_ABST
    Figure CN119648865A_ABST
Patent Text Reader

Abstract

The invention provides a poster generation method and system based on diversified data, relates to the technical field of data processing, and aims to utilize diversified data resources to realize automatic and personalized design of a poster, collect and analyze multi-dimensional information such as user behavior data, a visual element library and the like, and improve the poster generation efficiency. Advanced machine learning and artificial intelligence algorithms are applied to intelligently match and fuse most suitable design elements such as graphs, colors, characters and the like; a built-in design template library of the system supports high customization, and a user can select or customize templates according to requirements; besides, the system also has real-time rendering and preview functions, so that the user can instantly see the design effect and adjust the design effect, the poster creation efficiency and individuation level are improved, and the system is not only suitable for scenes such as commercial propaganda and activity promotion, but also can be expanded to multiple fields such as personal creative expression and social media content creation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to data processing technology, and in particular to a poster generation method and system based on diversified data. Background Art

[0002] In the current field of event management and sign-in technology application, traditional sign-in methods still dominate, especially physical poster sign-in. Although physical posters are widely used in various conferences, exhibitions, lectures and other occasions due to their intuitiveness and ease of production, their inherent limitations are becoming increasingly prominent.

[0003] On the one hand, once the physical poster is produced and posted, the check-in location, information content, etc. on it cannot be flexibly adjusted; on the other hand, the physical poster check-in method lacks the necessary interactivity, and participants can only passively mark at the designated location and cannot enjoy the convenience and fun brought by technology.

[0004] At present, with the popularization of mobile Internet and smart terminal devices, people's demand for digital and personalized services is growing, and traditional physical poster sign-in can no longer meet this trend. Therefore, it is urgent to explore a new sign-in method that can overcome the limitations of physical poster sign-in and make full use of the advantages of electronic media, and develop a method and system that can make full use of diversified data to achieve efficient, intelligent and personalized poster generation. Summary of the invention

[0005] Based on the above problems, the present invention is proposed to provide a poster generation method and system based on diversified data that overcomes the above problems or at least partially solves the above problems.

[0006] According to one aspect of the present invention, a poster generation method based on diversified data is provided, comprising the following steps: Obtain the poster base map uploaded by the management end, and determine the check-in area and the identification code display area located in the poster base map; Creating a sign-in layer corresponding to the sign-in area, wherein the sign-in layer includes an element acquisition sublayer and an element arrangement sublayer; Controlling the identification code generating terminal to generate a sign-in identification code corresponding to the poster base image in the identification code display area, and in response to any user terminal scanning the sign-in identification code, displaying the sign-in layer to the user terminal; In response to the user terminal interacting with the element acquisition sublayer in the sign-in layer, a sign-in element corresponding to the user terminal is acquired, and an element sub-image corresponding to the sign-in element is generated in the element arrangement sublayer; In response to the element arrangement sublayer including any element sub-image in a dispersed state, adjusting the image position of the element sub-image based on a preset adjustment strategy to convert the element sub-image from a dispersed state to a closed state; The element arrangement sublayer is added to the sign-in area to update the poster base image to obtain a poster sign-in image.

[0007] Optionally, in the method according to the present invention, obtaining the poster base map uploaded by the management terminal, and determining the check-in area and the identification code display area located in the poster base map, includes: Acquire the poster base image uploaded by the management terminal, and determine each promotional area corresponding to each promotional element in the poster base image; Generating an identification code display area and a sign-in area at a first preset position and a second preset position located on the poster base map respectively; In response to the management terminal's mobile interaction with any one of the identification code display area or the sign-in area, the area is determined as a mobile target area, and the mobile target area is moved from a corresponding preset position along the interaction direction of the management terminal to an area update position, so as to complete an update operation based on the position dimension of the mobile target area; and / or In response to a drag interaction performed by the management end on any area positioning angle included in any one of the identification code display area or the sign-in area, the area is determined as a drag target area, a drag line segment corresponding to the drag interaction is acquired, and a size of the drag target area is scaled based on the drag line segment to complete an update operation on the drag target area based on a size dimension; Compare the target area obtained based on the update operation with each of the promotional areas to obtain the overlap between the areas; In response to the overlap degree of any area being greater than the retrieved preset overlap degree, the update operation corresponding to the target area is deleted.

[0008] Optionally, in the method according to the present invention, in response to any user terminal scanning the sign-in identification code, displaying the sign-in layer to the user terminal includes: Retrieving a preset sign-in list for traversal, wherein the preset sign-in list contains various device identification codes and various terminal permissions corresponding to the various device identification codes; Arranging the elements in the sign-in layer based on the terminal permissions in the preset sign-in list to form permission areas corresponding to different terminal permissions; In response to any user terminal scanning the sign-in identification code, obtaining a device identification code and terminal authority corresponding to the user terminal; In response to the device identification code corresponding to the user terminal being located in the preset sign-in list, determining the permission area corresponding to the terminal permission of the user terminal as the target area in the element arrangement sublayer; In response to the device identification code corresponding to the user terminal not being in the preset sign-in list, determining the terminal authority corresponding to the user terminal as the comparison authority, and determining the terminal authority with the maximum authority corresponding to each device identification code in the preset sign-in list as the maximum authority; Comparing the comparison authority with the maximum authority, and in response to the comparison authority being greater than the maximum authority, determining the authority area corresponding to the maximum authority as the target area in the element arrangement sublayer; All other permission areas except the target area in the element arrangement sublayer are masked, and the masked sign-in layer is sent to the user terminal.

[0009] Optionally, in the method according to the present invention, in response to the user terminal interacting with the element acquisition sublayer in the check-in layer, acquiring the check-in element corresponding to the user terminal, and generating an element sub-image corresponding to the check-in element in the element arrangement sublayer, comprises: In response to the user terminal performing writing interaction on the element acquisition sublayer located in the sign-in layer, a sign-in element corresponding to the user terminal is acquired, and an element sub-image corresponding to the sign-in element is generated in any blank area in the target area; In response to the user terminal's movement interaction on the element sub-image, the element sub-image is moved from a current position of the element along an interaction direction of the user terminal to a first update position located in the target area; In response to the user terminal performing a stay interaction on the first update position for a preset time, fixing the element sub-image to the first update position, and determining each element sub-image corresponding to other user terminals in the target area as another element group; In response to determining that the element sub-image overlaps with at least one element sub-image in the other element group, determining a collision distance and a collision direction corresponding to the element sub-image based on the acquired overlapping portion; The element sub-image corresponding to the user terminal is subjected to collision movement corresponding to the collision distance based on the collision direction to obtain the element sub-image located at a second update position.

[0010] Optionally, in the method according to the present invention, in response to the user terminal performing writing interaction on the element acquisition sublayer located in the sign-in layer, acquiring the sign-in element corresponding to the user terminal, and generating an element sub-image corresponding to the sign-in element in any blank area in the target area, includes: In response to the user terminal performing writing interaction on the element acquisition sub-layer located in the sign-in layer, acquiring the sign-in element formed on the element acquisition sub-image based on the writing interaction; Performing pixel processing on the element acquisition sublayer to obtain each writing pixel point constituting the sign-in element; Coordinate processing is performed on the element acquisition sublayer to obtain writing coordinate points corresponding to the writing pixel points, and the writing coordinate points corresponding to the maximum horizontal coordinate value, the minimum horizontal coordinate value, the maximum vertical coordinate value and the minimum vertical coordinate value are determined as the maximum horizontal coordinate point, the minimum horizontal coordinate point, the maximum vertical coordinate point and the minimum vertical coordinate point respectively; Taking the maximum horizontal coordinate point and the minimum horizontal coordinate point as starting points, respectively, a first longitudinal line segment and a second longitudinal line segment extending in the vertical direction are constructed, and taking the maximum vertical coordinate point and the minimum vertical coordinate point as starting points, respectively, a first horizontal line segment and a second horizontal line segment extending in the horizontal direction are constructed; Controlling the first longitudinal line segment, the second longitudinal line segment, the first transverse line segment and the second transverse line segment to extend to form an initial rectangular area respectively, and obtaining corner points corresponding to the initial rectangular area; Respectively obtain the distances between each writing pixel and each corner point, and in response to any point distance being greater than a preset point threshold, call a preset area optimization strategy to perform area optimization on the initial rectangular area to obtain a current rectangular area; The current rectangular area is mapped to any blank area in the target area to obtain an element sub-image corresponding to the sign-in element.

[0011] Optionally, in the method according to the present invention, calling a preset region optimization strategy to perform region optimization on the initial rectangular region to obtain a current rectangular region includes: Determine the center point of the rectangle corresponding to the initial rectangular area, and obtain the connecting lines between each corner point and the center point of the rectangle; Taking each corner point as a starting point, establishing each corner extension line perpendicular to each point connection line, and moving each corner extension line positively along the corresponding point connection line toward the center point of the rectangle; In response to any corner extension line contacting any writing pixel point, controlling the corner extension line to move in the opposite direction away from the center point of the rectangle by a corresponding preset distance; In response to each corner extension line completing the reverse movement, each corner extension line is controlled to extend to form a current rectangular area.

[0012] Optionally, in the method according to the present invention, determining the collision distance and collision direction corresponding to the element sub-image based on the acquired overlapping portion includes: Acquire each image frame line located at the edge of the element sub-image, and determine the extension direction of any image frame line as a first image direction, and determine the direction perpendicular to the first image direction as a second image direction; Controlling the element sub-image to be translated in sequence along the first image direction and the second image direction until the overlapping portion does not exist, and obtaining a first translation distance corresponding to the first image direction and a second translation distance corresponding to the second image direction; The translation distance with the smallest corresponding distance from the first translation distance and the second translation distance is summed with the retrieved preset spacing threshold, and the obtained sum value is determined as the collision distance, and the image direction corresponding to the translation distance is determined as the collision direction.

[0013] Optionally, in the method according to the present invention, in response to the element arrangement sublayer including any element sub-image in a dispersed state, adjusting the image position of the element sub-image based on a preset adjustment strategy to convert the element sub-image from a dispersed state to a closed state includes: Obtain the center points of each image corresponding to all element sub-images located in the element arrangement sub-layer, and connect the center points of each image to obtain the connection lines of each image; Determine the connection lengths corresponding to all image connection lines corresponding to the same element sub-image, and compare the corresponding minimum connection length with a preset dispersion threshold; In response to the connection length being greater than or equal to the preset dispersion threshold, determining that the element sub-image is in a dispersed state, and controlling the element sub-image to translate along the corresponding image connection line; In response to the element sub-image colliding with any other element sub-image, the element sub-image is controlled to stop translating, and the element sub-image is determined to be transformed from the scattered state to the closed state.

[0014] Optionally, in the method according to the present invention, the method further comprises: Determine the areas of each sub-image respectively corresponding to each element sub-image in the element arrangement sub-layer, and perform sum calculation based on the areas of each sub-image to obtain a total value of the sub-image; Calculate the ratio of the total value of the sub-image to the layer area corresponding to the element arrangement sub-layer to obtain the element ratio corresponding to each element sub-image; Retrieving a preset proportion threshold, and comparing the element proportion with the preset proportion threshold; In response to the comparison result being that the element proportion is greater than or equal to the preset proportion threshold, determining an element region surrounding all element sub-images in the element arrangement sublayer; Obtaining an element center point corresponding to the element region, and connecting the element center point with a layer center point corresponding to the element arrangement sublayer to obtain a layer connection line; The region intersection point between the layer connection line and the element region is obtained, and the region intersection point is used as a reduction reference point to reduce the element region until the element proportion is less than the preset proportion threshold.

[0015] According to another aspect of the present invention, there is provided a poster generation system based on diversified data, comprising: A determination module is configured to obtain a poster base map uploaded by the management terminal, and determine a check-in area and an identification code display area located in the poster base map; A creation module, configured to create a sign-in layer corresponding to the sign-in area, wherein the sign-in layer includes an element acquisition sublayer and an element arrangement sublayer; A display module is configured to control the identification code generating terminal to generate a check-in identification code corresponding to the poster base image in the identification code display area, and in response to any user terminal scanning the check-in identification code, display the check-in layer to the user terminal; an interaction module, configured to, in response to the user terminal interacting with the element acquisition sublayer in the check-in layer, acquire the check-in element corresponding to the user terminal, and generate an element sub-image corresponding to the check-in element in the element arrangement sublayer; an adjustment module, configured to, in response to the element arrangement sublayer including any element sub-image in a dispersed state, adjust the image position of the element sub-image based on a preset adjustment strategy, so as to convert the element sub-image from a dispersed state to a closed state; The updating module is configured to add an element arrangement sublayer to the sign-in area to update the poster base image to obtain a poster sign-in image.

[0016] According to the solution of the present invention, the server can obtain the poster base map uploaded by the management end, determine the check-in area and the identification code display area in the poster base map, and then create a check-in layer corresponding to the check-in area, in which the check-in layer includes an element acquisition sublayer and an element arrangement sublayer. Then, the server controls the identification code generation end to generate a check-in identification code corresponding to the poster base map in the identification code display area, so that when a user terminal scans the check-in identification code, the server will display the check-in layer to the user terminal. Then, when the user terminal interacts with the element acquisition sublayer in the check-in layer, the server will obtain the check-in element corresponding to the user terminal, and then generate an element sub-image corresponding to the check-in element in the element arrangement sublayer. When there is any element sub-image in a dispersed state in the element arrangement sublayer, it means that the spacing between some element sub-images is too large. The server will adjust the image position of the element sub-image based on the preset adjustment strategy to convert the element sub-image from a dispersed state to a closed state, which can improve a certain space utilization rate. Finally, the server will add the sign-in layer to the sign-in area to update the poster base map, thereby obtaining a poster sign-in map. The present invention can enhance the user's interactive experience and has certain feasibility. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A flowchart of a poster generation method based on diversified data according to an embodiment of the present invention is shown; Figure 2 A schematic diagram showing an initial rectangular area according to an embodiment of the present invention is shown; Figure 3 A schematic diagram of a corner extension line according to an embodiment of the present invention is shown; Figure 4 A structural block diagram of a poster generation method based on diversified data according to another embodiment of the present invention is shown. DETAILED DESCRIPTION

[0018] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0019] In the current field of event management and sign-in technology application, traditional sign-in methods still dominate, especially physical poster sign-in. Although physical posters are widely used in various conferences, exhibitions, lectures and other occasions due to their intuitiveness and ease of production, their inherent limitations are becoming increasingly prominent.

[0020] On the one hand, once the physical poster is produced and posted, the check-in location, information content, etc. on it cannot be flexibly adjusted; on the other hand, the physical poster check-in method lacks the necessary interactivity, and participants can only passively mark at the designated location and cannot enjoy the convenience and fun brought by technology.

[0021] At present, with the popularization of mobile Internet and smart terminal devices, people's demand for digital and personalized services is growing, and traditional physical poster sign-in can no longer meet this trend. Therefore, it is urgent to explore a new sign-in method that can overcome the limitations of physical poster sign-in and make full use of the advantages of electronic media, and develop a method and system that can make full use of diversified data to achieve efficient, intelligent and personalized poster generation.

[0022] In order to solve the above problems in the prior art, the inventor proposes the solution of the present invention. An embodiment of the present invention provides a poster generation method based on diversified data, which can be executed in a computing device.

[0023] Figure 1 The flowchart of a poster generation method based on diversified data according to an embodiment of the present invention is shown. The method is suitable for being executed in a computing device.

[0024] like Figure 1 As shown, the poster generation method based on diversified data proposed in this embodiment begins with step S102. In step S102, the following contents are included: The poster base map uploaded by the management terminal is obtained, and the check-in area and the identification code display area located in the poster base map are determined.

[0025] For example, in this embodiment, the server will first obtain the poster image uploaded by the management terminal, that is, obtain the poster base image, so as to determine the check-in area and the identification code display area located in the poster base image.

[0026] Furthermore, the above-mentioned “obtaining the poster base map uploaded by the management end, and determining the check-in area and the identification code display area located in the poster base map” further includes the following steps: Acquire the poster base image uploaded by the management terminal, and determine each promotional area corresponding to each promotional element in the poster base image; Generating an identification code display area and a sign-in area at a first preset position and a second preset position located on the poster base map respectively; In response to the management terminal's mobile interaction with any one of the identification code display area or the sign-in area, the area is determined as a mobile target area, and the mobile target area is moved from a corresponding preset position along the interaction direction of the management terminal to an area update position, so as to complete an update operation based on the position dimension of the mobile target area; and / or In response to a drag interaction performed by the management end on any area positioning angle included in any one of the identification code display area or the sign-in area, the area is determined as a drag target area, a drag line segment corresponding to the drag interaction is acquired, and a size of the drag target area is scaled based on the drag line segment to complete an update operation on the drag target area based on a size dimension; Compare the target area obtained based on the update operation with each of the promotional areas to obtain the overlap between the areas; In response to the overlap degree of any area being greater than the retrieved preset overlap degree, the update operation corresponding to the target area is deleted.

[0027] For example, in this embodiment, the server obtains the poster base image uploaded by the management terminal, thereby determining each promotional area corresponding to each promotional element in the poster base image. For example, the promotional element may be a company's trademark.

[0028] Then, the server generates an identification code display area and a sign-in area at the first preset position and the second preset position of the poster base map, respectively. For example, the identification code display area is usually placed in a corner of the poster base map, so the first preset position can be in the lower right corner of the poster base map. For another example, the sign-in area is usually set in a relatively central position, so the second preset position can be in the center of the poster base map.

[0029] After the server generates the identification code display area and the check-in area at the first preset position and the second preset position of the poster base map respectively, the management end can also adjust the position and size of the identification code display area and the check-in area according to actual needs in the following way.

[0030] When the management terminal performs a mobile interaction with either the identification code display area or the check-in area, the server will determine the area as the mobile target area, and move the mobile target area from the corresponding preset position along the interaction direction of the management terminal to the area update position to complete the location-based update operation of the mobile target area.

[0031] When the management terminal drags and interacts with any area positioning angle included in the identification code display area or the check-in area, the server will determine the area as the drag target area. The area positioning angle can be understood as the area angle of the identification code display area or the check-in area.

[0032] Then, the server will obtain the drag line segment formed corresponding to the drag interaction of the management end, and scale the drag target area according to the drag line segment to complete the update operation of the drag target area based on the size dimension.

[0033] In order to avoid the updated target area from blocking a large area of ​​the promotional area in the poster base image as much as possible, the server will compare the target area obtained by the update operation with each promotional area to obtain the overlap degree of each area.

[0034] When the overlap degree of any area is greater than the preset overlap degree, it means that there is a large overlap between the target area and the promotion area, so the server will delete the update operation corresponding to the target area.

[0035] In step S104, the following contents are included: A sign-in layer corresponding to the sign-in area is created, wherein the sign-in layer includes an element acquisition sublayer and an element arrangement sublayer.

[0036] For example, in this embodiment, the server creates a sign-in layer corresponding to the sign-in area, and the sign-in layer includes an element acquisition sublayer and an element arrangement sublayer.

[0037] In step S106, the following contents are included: The identification code generating end is controlled to generate a sign-in identification code corresponding to the poster base image in the identification code display area, and in response to any user end scanning the sign-in identification code, the sign-in layer is displayed to the user end.

[0038] For example, in this embodiment, the server will control the identification code generation end to generate a check-in identification code corresponding to the poster base image in the identification code display area, so that when any user end scans the check-in identification code, the server will display the check-in layer to the user end.

[0039] Furthermore, the above-mentioned “in response to any user terminal scanning the sign-in identification code, displaying the sign-in layer to the user terminal” further includes the following steps: Retrieving a preset sign-in list for traversal, wherein the preset sign-in list contains various device identification codes and various terminal permissions corresponding to the various device identification codes; Arranging the elements in the sign-in layer based on the terminal permissions in the preset sign-in list to form permission areas corresponding to different terminal permissions; In response to any user terminal scanning the sign-in identification code, obtaining a device identification code and terminal authority corresponding to the user terminal; In response to the device identification code corresponding to the user terminal being located in the preset sign-in list, determining the permission area corresponding to the terminal permission of the user terminal as the target area in the element arrangement sublayer; In response to the device identification code corresponding to the user terminal not being in the preset sign-in list, determining the terminal authority corresponding to the user terminal as the comparison authority, and determining the terminal authority with the maximum authority corresponding to each device identification code in the preset sign-in list as the maximum authority; Comparing the comparison authority with the maximum authority, and in response to the comparison authority being greater than the maximum authority, determining the authority area corresponding to the maximum authority as the target area in the element arrangement sublayer; All other permission areas except the target area in the element arrangement sublayer are masked, and the masked sign-in layer is sent to the user terminal.

[0040] For example, in this embodiment, usually the corresponding list of participants for each meeting can be determined in advance, so a preset sign-in list is set in the server.

[0041] Since there may be participants of different levels in a meeting, the preset sign-in list contains different device identification codes and terminal permissions corresponding to the different device identification codes.

[0042] The server will retrieve the preset sign-in list and traverse it, thereby forming various permission areas corresponding to different terminal permissions in the element arrangement sublayer located in the sign-in layer according to the various terminal permissions in the preset sign-in list.

[0043] When any user terminal scans the sign-in identification code, the server will obtain the device identification code and terminal authority corresponding to the user terminal. When the device identification code corresponding to the user terminal is in the preset sign-in list, the server will determine the permission area corresponding to the terminal authority of the user terminal as the target area in the element arrangement sublayer.

[0044] When the device identification code corresponding to the user terminal is not on the preset sign-in list, the server will determine the terminal authority corresponding to the user terminal as the comparison authority, and thereby determine the terminal authority corresponding to the maximum authority among the device identification codes on the preset sign-in list as the maximum authority, and then compare the comparison authority with the maximum authority.

[0045] When the comparison permission is greater than the maximum permission, it means that the terminal permission of the user terminal corresponding to the comparison permission is too high, that is, even if the terminal permission corresponding to the user terminal is not in the preset sign-in list, it can participate in the meeting and sign in at any time. Therefore, the server will determine the permission area corresponding to the maximum permission as the target area in the element arrangement sublayer.

[0046] After determining the corresponding target area, the server will mask all permission areas except the target area in the element arrangement sublayer, and send the masked sign-in layer to the user end, so that the user end can quickly identify the corresponding sign-in area.

[0047] In step S108, the following contents are included: In response to the user terminal interacting with the element acquisition sublayer in the sign-in layer, a sign-in element corresponding to the user terminal is acquired, and an element sub-image corresponding to the sign-in element is generated in the element arrangement sublayer.

[0048] For example, in this embodiment, when the user terminal interacts with the element acquisition sublayer located in the check-in layer, the server will obtain the signature generated by the user terminal through the interaction with the element acquisition sublayer, that is, obtain the check-in element corresponding to the user terminal, and then generate an element sub-image corresponding to the check-in element in the element arrangement sublayer.

[0049] Furthermore, the above-mentioned “in response to the user terminal interacting with the element acquisition sublayer in the sign-in layer, acquiring the sign-in element corresponding to the user terminal, and generating an element sub-image corresponding to the sign-in element in the element arrangement sublayer” also includes the following steps: In response to the user terminal performing writing interaction on the element acquisition sublayer located in the sign-in layer, a sign-in element corresponding to the user terminal is acquired, and an element sub-image corresponding to the sign-in element is generated in any blank area in the target area; In response to the user terminal's movement interaction on the element sub-image, the element sub-image is moved from a current position of the element along an interaction direction of the user terminal to a first update position located in the target area; In response to the user terminal performing a stay interaction on the first update position for a preset time, fixing the element sub-image to the first update position, and determining each element sub-image corresponding to other user terminals in the target area as another element group; In response to determining that the element sub-image overlaps with at least one element sub-image in the other element group, determining a collision distance and a collision direction corresponding to the element sub-image based on the acquired overlapping portion; The element sub-image corresponding to the user terminal is subjected to collision movement corresponding to the collision distance based on the collision direction to obtain the element sub-image located at a second update position.

[0050] For example, in this embodiment, when the user terminal performs writing interaction on the element acquisition sublayer located in the check-in layer, the server will obtain the check-in element corresponding to the user terminal, and thus generate an element sub-image corresponding to the check-in element in any blank area in the target area.

[0051] The user end can move and interact with the element sub-image as needed. At this time, the server will move the element sub-image from the current position of the element along the interaction direction of the user end to the first update position in the target area. When the user end stays and interacts with the first update position for a preset time, the server will fix the element sub-image to the first update position.

[0052] In order to avoid overlap between element sub-images and the inability to fully display each element sub-image, the server will determine each element sub-image corresponding to other user terminals in the target area as other element groups, and determine whether the element sub-image overlaps with at least one element sub-image in other element groups.

[0053] When the server determines that an element sub-image overlaps with at least one element sub-image in other element groups, it determines the collision distance and collision direction corresponding to the element sub-image based on the acquired overlapping part, and thus moves the element sub-image corresponding to the user end by the corresponding collision distance in the collision direction to obtain the element sub-image located at the second update position.

[0054] Furthermore, the above-mentioned “in response to the user terminal performing writing interaction on the element acquisition sublayer located in the sign-in layer, acquiring the sign-in element corresponding to the user terminal, and generating an element sub-image corresponding to the sign-in element in any blank area in the target area” also includes the following steps: In response to the user terminal performing writing interaction on the element acquisition sub-layer located in the sign-in layer, acquiring the sign-in element formed on the element acquisition sub-image based on the writing interaction; Performing pixel processing on the element acquisition sublayer to obtain each writing pixel point constituting the sign-in element; Coordinate processing is performed on the element acquisition sublayer to obtain writing coordinate points corresponding to the writing pixel points, and the writing coordinate points corresponding to the maximum horizontal coordinate value, the minimum horizontal coordinate value, the maximum vertical coordinate value and the minimum vertical coordinate value are determined as the maximum horizontal coordinate point, the minimum horizontal coordinate point, the maximum vertical coordinate point and the minimum vertical coordinate point respectively; Taking the maximum horizontal coordinate point and the minimum horizontal coordinate point as starting points, respectively, a first longitudinal line segment and a second longitudinal line segment extending in the vertical direction are constructed, and taking the maximum vertical coordinate point and the minimum vertical coordinate point as starting points, respectively, a first horizontal line segment and a second horizontal line segment extending in the horizontal direction are constructed; Controlling the first longitudinal line segment, the second longitudinal line segment, the first transverse line segment and the second transverse line segment to extend to form an initial rectangular area respectively, and obtaining corner points corresponding to the initial rectangular area; Respectively obtain the distances between each writing pixel and each corner point, and in response to any point distance being greater than a preset point threshold, call a preset area optimization strategy to perform area optimization on the initial rectangular area to obtain a current rectangular area; The current rectangular area is mapped to any blank area in the target area to obtain an element sub-image corresponding to the sign-in element.

[0055] For example, in this embodiment, when the user terminal performs writing interaction on the element acquisition sublayer located in the check-in layer, the server will acquire the check-in element formed on the element acquisition subimage based on the writing interaction, and then pixelate the element acquisition sublayer to obtain the individual writing pixel points that make up the check-in element.

[0056] Then, the server will coordinate the element acquisition sublayer to obtain the writing coordinate points corresponding to each writing pixel point, and then determine the writing coordinate points corresponding to the maximum horizontal coordinate value, the minimum horizontal coordinate value, the maximum vertical coordinate value and the minimum vertical coordinate value as the maximum horizontal coordinate point, the minimum horizontal coordinate point, the maximum vertical coordinate point and the minimum vertical coordinate point.

[0057] Due to different writing habits, some sign-in elements may be horizontal, while others may be tilted. In order to improve the space utilization, that is, to ensure that there is not too much blank space in the element sub-image of each corresponding sign-in element, the server will construct the first longitudinal line segment and the second longitudinal line segment extending in the vertical direction with the maximum transverse coordinate point and the minimum transverse coordinate point as the starting point, and construct the first transverse line segment and the second transverse line segment extending in the horizontal direction with the maximum transverse coordinate point and the minimum transverse coordinate point as the starting point.

[0058] Then, the server controls the first longitudinal line segment, the second longitudinal line segment, the first transverse line segment, and the second transverse line segment to extend to form an initial rectangular area, such as Figure 2 And obtain each corner point corresponding to the initial rectangular area, and then obtain each point distance between each writing pixel point and each corner point.

[0059] When any point distance is greater than the preset point threshold, it means that the point distance between the writing pixel point corresponding to the point distance and the corner point is too large. Therefore, the server will call the preset area optimization strategy to optimize the initial rectangular area to obtain the current rectangular area.

[0060] Finally, the server maps the current rectangular area to any blank area in the target area, thereby obtaining an element sub-image corresponding to the check-in element.

[0061] Furthermore, the above-mentioned “calling a preset area optimization strategy to perform area optimization on the initial rectangular area to obtain a current rectangular area” further includes the following steps: Determine the center point of the rectangle corresponding to the initial rectangular area, and obtain the connecting lines between each corner point and the center point of the rectangle; Taking each corner point as a starting point, establishing each corner extension line perpendicular to each point connection line, and moving each corner extension line positively along the corresponding point connection line toward the center point of the rectangle; In response to any corner extension line contacting any writing pixel point, controlling the corner extension line to move in the opposite direction away from the center point of the rectangle by a corresponding preset distance; In response to each corner extension line completing the reverse movement, each corner extension line is controlled to extend to form a current rectangular area.

[0062] For example, in this embodiment, the server first determines the center point of the rectangle corresponding to the initial rectangular area, and then obtains the connection lines between each corner point and the center point of the rectangle. Thus, each corner extension line perpendicular to each point connection line is established with each corner point as the starting point, such as Figure 3 shown.

[0063] Then, the server will move each corner extension line along the corresponding point connection line toward the center of the rectangle. When any corner extension line touches any writing pixel point, it means that the corner extension line has overlapped with the writing pixel point that constitutes the sign-in element. In order to ensure that the sign-in element can be fully displayed later, the server will control the corner extension line to move in the opposite direction away from the center of the rectangle by a preset distance.

[0064] After each corner extension line has completed the reverse movement, the server controls each corner extension line to extend until the current rectangular area is formed.

[0065] Furthermore, the above-mentioned “determining the collision distance and collision direction corresponding to the element sub-image based on the acquired overlapping portion” further includes the following steps: Acquire each image frame line located at the edge of the element sub-image, and determine the extension direction of any image frame line as a first image direction, and determine the direction perpendicular to the first image direction as a second image direction; Controlling the element sub-image to be translated in sequence along the first image direction and the second image direction until the overlapping portion does not exist, and obtaining a first translation distance corresponding to the first image direction and a second translation distance corresponding to the second image direction; The translation distance with the smallest corresponding distance from the first translation distance and the second translation distance is summed with the retrieved preset spacing threshold, and the obtained sum value is determined as the collision distance, and the image direction corresponding to the translation distance is determined as the collision direction.

[0066] For example, in this embodiment, the server first obtains each image frame line located at the edge of the element sub-image, and determines the extension direction of any image frame line as the first image direction, and then determines the direction perpendicular to one image direction as the second image direction.

[0067] Then, the server controls the element sub-image to translate in turn along the first image direction and the second image direction to an area without overlapping parts, and obtains a first translation distance corresponding to the first image direction and a second translation distance corresponding to the second image direction respectively.

[0068] Next, the server will sum the translation distance with the smallest corresponding distance from the first translation distance and the second translation distance with the retrieved preset spacing threshold, thereby determining the summed value as the collision distance, and then determining the image direction corresponding to the translation distance as the collision direction.

[0069] This embodiment can determine the collision distance according to the first translation distance and the second translation distance with the smallest corresponding distance, so as to make the distance between the second updated position of the element sub-image after the collision and the first updated position before the collision as close as possible.

[0070] In step S110, the following contents are included: In response to the element arrangement sublayer including any element sub-image in a dispersed state, the image position of the element sub-image is adjusted based on a preset adjustment strategy to convert the element sub-image from a dispersed state to a closed state.

[0071] For example, in this embodiment, when any element sub-image in the element arrangement sub-layer is in a dispersed state, it indicates that the spacing between some element sub-images is too large, which may cause other subsequent element sub-images to have no suitable positions.

[0072] In order to leave sufficient placement space for subsequent element sub-images and improve aesthetics, the server adjusts the image position of the element sub-image based on a preset adjustment strategy to transform the element sub-image from a scattered state to a closed state.

[0073] Furthermore, the above-mentioned “in response to the element arrangement sublayer including any element sub-image in a dispersed state, adjusting the image position of the element sub-image based on a preset adjustment strategy to convert the element sub-image from a dispersed state to a closed state” also includes the following steps: Obtain the center points of each image corresponding to all element sub-images located in the element arrangement sub-layer, and connect the center points of each image to obtain the connection lines of each image; Determine the connection lengths corresponding to all image connection lines corresponding to the same element sub-image, and compare the corresponding minimum connection length with a preset dispersion threshold; In response to the connection length being greater than or equal to the preset dispersion threshold, determining that the element sub-image is in a dispersed state, and controlling the element sub-image to translate along the corresponding image connection line; In response to the element sub-image colliding with any other element sub-image, the element sub-image is controlled to stop translating, and the element sub-image is determined to be transformed from the scattered state to the closed state.

[0074] For example, in this embodiment, the server obtains the image center points of all element sub-images in the element arrangement sub-layer, and connects the image center points respectively, thereby obtaining image connection lines.

[0075] Then, the server will determine the connection lengths of all image connection lines corresponding to the same element sub-image, and then compare the corresponding minimum connection length with the preset dispersion threshold. When the connection length is greater than or equal to the preset dispersion threshold, it means that the element sub-image is too far away from other element sub-images, so the server will determine that the element sub-image is in a dispersed state, thereby controlling the element sub-image to translate along the corresponding image connection line.

[0076] When an element sub-image collides with any other element sub-image, the server controls the element sub-image to stop translating, thereby converting the element sub-image from a scattered state to a closed state.

[0077] Furthermore, the above method further comprises the following steps: Determine the areas of each sub-image respectively corresponding to each element sub-image in the element arrangement sub-layer, and perform sum calculation based on the areas of each sub-image to obtain a total value of the sub-image; Calculate the ratio of the total value of the sub-image to the layer area corresponding to the element arrangement sub-layer to obtain the element ratio corresponding to each element sub-image; Retrieving a preset proportion threshold, and comparing the element proportion with the preset proportion threshold; In response to the comparison result being that the element proportion is greater than or equal to the preset proportion threshold, determining an element region surrounding all element sub-images in the element arrangement sublayer; Obtaining an element center point corresponding to the element region, and connecting the element center point with a layer center point corresponding to the element arrangement sublayer to obtain a layer connection line; The region intersection point between the layer connection line and the element region is obtained, and the region intersection point is used as a reduction reference point to reduce the element region until the element proportion is less than the preset proportion threshold.

[0078] For example, in this embodiment, the server determines the sub-image area of ​​each element sub-image in the element arrangement sub-layer, and then sums up the areas of each sub-image to obtain the total sub-image value.

[0079] Then, the server will calculate the ratio of the total value of the sub-image to the layer area of ​​the corresponding element arrangement sub-layer to obtain the element proportion corresponding to each element sub-image, and then retrieve the preset proportion and compare the element proportion with the preset proportion threshold.

[0080] When the comparison result is that the element proportion is greater than or equal to the preset proportion threshold, it means that the element proportion of each element sub-image is too large. Therefore, the server will first determine an element area in the element arrangement sublayer that can surround all element sub-images, and then obtain the element center point of the element area.

[0081] Then, the server will connect the center point of the element with the center point of the layer of the element arrangement sublayer to obtain a layer connection line. Then, the intersection point between the layer connection line and the element area is obtained, and the element area is reduced to a preset ratio threshold with the intersection point as the reduction reference point.

[0082] This embodiment can not only make the element occupy too large a proportion after shrinking the element area, but also move the element area closer to the center point of the layer during the shrinking process, so that each element sub-image located in the element area can be more eye-catching.

[0083] In step S112, the following contents are included: The element arrangement sublayer is added to the sign-in area to update the poster base image to obtain a poster sign-in image.

[0084] For example, in this embodiment, the server will add the element arrangement sublayer to the sign-in area to update the poster base image and obtain a poster sign-in image.

[0085] According to the solution of the present invention, the server can obtain the poster base map uploaded by the management end, determine the check-in area and the identification code display area in the poster base map, and then create a check-in layer corresponding to the check-in area, in which the check-in layer includes an element acquisition sublayer and an element arrangement sublayer. Then, the server controls the identification code generation end to generate a check-in identification code corresponding to the poster base map in the identification code display area, so that when a user terminal scans the check-in identification code, the server will display the check-in layer to the user terminal. Then, when the user terminal interacts with the element acquisition sublayer in the check-in layer, the server will obtain the check-in element corresponding to the user terminal, and then generate an element sub-image corresponding to the check-in element in the element arrangement sublayer. When there is any element sub-image in a dispersed state in the element arrangement sublayer, it means that the spacing between some element sub-images is too large. The server will adjust the image position of the element sub-image based on the preset adjustment strategy to convert the element sub-image from a dispersed state to a closed state, which can improve a certain space utilization rate. Finally, the server will add the sign-in layer to the sign-in area to update the poster base map, thereby obtaining a poster sign-in map. The present invention can enhance the user's interactive experience and has certain feasibility.

[0086] Another embodiment of the present invention provides a poster generation system based on diversified data. Figure 4 As the corresponding system block diagram, the system includes: A determination module is configured to obtain a poster base map uploaded by the management terminal, and determine a check-in area and an identification code display area located in the poster base map; A creation module, configured to create a sign-in layer corresponding to the sign-in area, wherein the sign-in layer includes an element acquisition sublayer and an element arrangement sublayer; A display module is configured to control the identification code generating terminal to generate a check-in identification code corresponding to the poster base image in the identification code display area, and in response to any user terminal scanning the check-in identification code, display the check-in layer to the user terminal; an interaction module, configured to, in response to the user terminal interacting with the element acquisition sublayer in the check-in layer, acquire the check-in element corresponding to the user terminal, and generate an element sub-image corresponding to the check-in element in the element arrangement sublayer; an adjustment module, configured to, in response to the element arrangement sublayer including any element sub-image in a dispersed state, adjust the image position of the element sub-image based on a preset adjustment strategy, so as to convert the element sub-image from a dispersed state to a closed state; The updating module is configured to add an element arrangement sublayer to the sign-in area to update the poster base image to obtain a poster sign-in image.

[0087] For example, the system provided in this embodiment may also include the following contents: Design Template Library: - Highly customizable: The built-in design template library supports high customization, and users can select or customize templates according to their needs.

[0088] - Keyword or theme generation: The system can automatically generate poster designs that are closely related to the theme and have diverse styles based on the input keywords or themes.

[0089] Diversified activity templates: - Add a template library designed specifically for event promotion, covering different types of events (such as concerts, exhibitions, promotions, etc.), and users can choose the appropriate template according to the specific event needs.

[0090] Dynamic content integration: - Supports integrating dynamic content of the event (such as event time, location, guest information, etc.) into the poster design. Users can easily update this information to ensure the real-time and accuracy of the poster content.

[0091] Social Media Optimization: - Provide optimized poster design solutions based on the poster size and format requirements of different social media platforms (such as Weibo, WeChat, Instagram, etc.) to ensure the best display effect of posters on each platform.

[0092] Interactive poster: - Develop poster designs that support interactive elements, such as QR codes, link buttons, etc., to enhance the user's interactive experience with posters and increase the effectiveness of event promotion.

[0093] It can be explained that in this embodiment, the system can make full use of diversified data resources to realize the automation and personalized design of posters; for example, by collecting and analyzing multi-dimensional information such as user behavior data, market trends, and visual element libraries, and using advanced machine learning and artificial intelligence algorithms, it can intelligently match and integrate the most suitable graphics, colors, texts and other design elements. Furthermore, the system also has a built-in corresponding design template library that supports high customization. Users can select or customize templates according to their needs. At the same time, the system can also automatically generate poster design solutions that are closely related to the theme and have diverse styles based on the input keywords or themes. In addition, the system also has real-time rendering and preview functions, allowing users to instantly see the design effect and make adjustments, greatly improving the efficiency and personalization level of poster creation. This solution is not only suitable for scenarios such as commercial publicity and event promotion, but can also be expanded to multiple fields such as personal creative expression and social media content creation.

[0094] In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the examples of the present invention. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages ​​can be utilized to implement the content of the present invention described herein, and the above description of specific languages ​​is for the purpose of disclosing the preferred embodiment of the present invention.

[0095] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0096] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof.

[0097] Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in the devices described in the embodiment, or alternatively may be located in one or more devices different from the devices in the examples. The modules in the foregoing examples may be combined into one module or may be divided into multiple submodules.

[0098] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of submodules or subunits or subcomponents.

[0099] Furthermore, those skilled in the art will appreciate that although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features from different embodiments is meant to be within the scope of the present invention and to form different embodiments.

[0100] In addition, some of the embodiments are described herein as methods or combinations of method elements that can be implemented by a processor of a computer system or by other devices that perform the functions. Therefore, a processor with necessary instructions for implementing the method or method elements forms a device for implementing the method or method elements. In addition, the elements described herein of the device embodiments are examples of devices for implementing the functions performed by the elements for the purpose of implementing the invention.

[0101] As used herein, unless otherwise specified, the use of ordinal numbers "first," "second," "third," etc. to describe common objects merely indicates that different instances of similar objects are involved, and is not intended to imply that the objects so described must have a given order in time, space, order, or in any other manner.

[0102] Although the present invention has been described according to a limited number of embodiments, it will be apparent to those skilled in the art, with the benefit of the above description, that other embodiments may be envisioned within the scope of the invention thus described. In addition, it should be noted that the language used in this specification is primarily selected for readability and instructional purposes, rather than for explaining or limiting the subject matter of the present invention.

Claims

1. A poster generation method based on diversified data, characterized in that: The following steps are involved: Obtain the poster base map uploaded by the management end, and determine the check-in area and the identification code display area located in the poster base map; Creating a sign-in layer corresponding to the sign-in area, wherein the sign-in layer includes an element acquisition sublayer and an element arrangement sublayer; Controlling the identification code generating terminal to generate a sign-in identification code corresponding to the poster base image in the identification code display area, and in response to any user terminal scanning the sign-in identification code, displaying the sign-in layer to the user terminal; In response to the user terminal interacting with the element acquisition sublayer in the sign-in layer, a sign-in element corresponding to the user terminal is acquired, and an element sub-image corresponding to the sign-in element is generated in the element arrangement sublayer; In response to the element arrangement sublayer including any element sub-image in a dispersed state, adjusting the image position of the element sub-image based on a preset adjustment strategy to convert the element sub-image from a dispersed state to a closed state; The element arrangement sublayer is added to the sign-in area to update the poster base image to obtain a poster sign-in image.

2. The poster generation method based on diversified data according to claim 1, characterized in that: Obtaining the poster base map uploaded by the management end, and determining the check-in area and the identification code display area located in the poster base map, including: Acquire the poster base image uploaded by the management terminal, and determine each promotional area corresponding to each promotional element in the poster base image; Generating an identification code display area and a sign-in area at a first preset position and a second preset position located on the poster base map respectively; In response to the management terminal's mobile interaction with any one of the identification code display area or the sign-in area, the area is determined as a mobile target area, and the mobile target area is moved from a corresponding preset position along the interaction direction of the management terminal to an area update position, so as to complete an update operation based on the position dimension of the mobile target area; and / or In response to a drag interaction performed by the management end on any area positioning angle included in any one of the identification code display area or the sign-in area, the area is determined as a drag target area, a drag line segment corresponding to the drag interaction is acquired, and a size of the drag target area is scaled based on the drag line segment to complete an update operation on the drag target area based on a size dimension; Compare the target area obtained based on the update operation with each of the promotional areas to obtain the overlap between the areas; In response to the overlap degree of any area being greater than the retrieved preset overlap degree, the update operation corresponding to the target area is deleted.

3. The poster generation method based on diversified data according to claim 1, characterized in that: In response to any user terminal scanning the sign-in identification code, displaying the sign-in layer to the user terminal includes: Retrieving a preset sign-in list for traversal, wherein the preset sign-in list contains various device identification codes and various terminal permissions corresponding to the various device identification codes; Arranging the elements in the sign-in layer based on the terminal permissions in the preset sign-in list to form permission areas corresponding to different terminal permissions; In response to any user terminal scanning the sign-in identification code, obtaining a device identification code and terminal authority corresponding to the user terminal; In response to the device identification code corresponding to the user terminal being located in the preset sign-in list, determining the permission area corresponding to the terminal permission of the user terminal as the target area in the element arrangement sublayer; In response to the device identification code corresponding to the user terminal not being in the preset sign-in list, determining the terminal authority corresponding to the user terminal as the comparison authority, and determining the terminal authority with the maximum authority corresponding to each device identification code in the preset sign-in list as the maximum authority; Comparing the comparison authority with the maximum authority, and in response to the comparison authority being greater than the maximum authority, determining the authority area corresponding to the maximum authority as the target area in the element arrangement sublayer; All other permission areas except the target area in the element arrangement sublayer are masked, and the masked sign-in layer is sent to the user terminal.

4. The poster generation method based on diversified data according to claim 3 is characterized in that: In response to the user terminal interacting with the element acquisition sublayer in the sign-in layer, acquiring the sign-in element corresponding to the user terminal, and generating an element sub-image corresponding to the sign-in element in the element arrangement sublayer, including: In response to the user terminal performing writing interaction on the element acquisition sublayer located in the sign-in layer, a sign-in element corresponding to the user terminal is acquired, and an element sub-image corresponding to the sign-in element is generated in any blank area in the target area; In response to the user terminal's movement interaction on the element sub-image, the element sub-image is moved from a current position of the element along an interaction direction of the user terminal to a first update position located in the target area; In response to the user terminal performing a stay interaction on the first update position for a preset time, fixing the element sub-image to the first update position, and determining each element sub-image corresponding to other user terminals in the target area as another element group; In response to determining that the element sub-image overlaps with at least one element sub-image in the other element group, determining a collision distance and a collision direction corresponding to the element sub-image based on the acquired overlapping portion; The element sub-image corresponding to the user terminal is subjected to collision movement corresponding to the collision distance based on the collision direction to obtain the element sub-image located at a second update position.

5. The poster generation method based on diversified data according to claim 4 is characterized in that: In response to the user terminal performing writing interaction on the element acquisition sublayer located in the sign-in layer, a sign-in element corresponding to the user terminal is acquired, and an element sub-image corresponding to the sign-in element is generated in any blank area in the target area, including: In response to the user terminal performing writing interaction on the element acquisition sub-layer located in the sign-in layer, acquiring the sign-in element formed on the element acquisition sub-image based on the writing interaction; Performing pixel processing on the element acquisition sublayer to obtain each writing pixel point constituting the sign-in element; Coordinate processing is performed on the element acquisition sublayer to obtain writing coordinate points corresponding to the writing pixel points, and the writing coordinate points corresponding to the maximum horizontal coordinate value, the minimum horizontal coordinate value, the maximum vertical coordinate value and the minimum vertical coordinate value are determined as the maximum horizontal coordinate point, the minimum horizontal coordinate point, the maximum vertical coordinate point and the minimum vertical coordinate point respectively; Taking the maximum horizontal coordinate point and the minimum horizontal coordinate point as starting points, respectively, a first longitudinal line segment and a second longitudinal line segment extending in the vertical direction are constructed, and taking the maximum vertical coordinate point and the minimum vertical coordinate point as starting points, respectively, a first horizontal line segment and a second horizontal line segment extending in the horizontal direction are constructed; Controlling the first longitudinal line segment, the second longitudinal line segment, the first transverse line segment and the second transverse line segment to extend to form an initial rectangular area respectively, and obtaining corner points corresponding to the initial rectangular area; Respectively obtain the distances between each writing pixel and each corner point, and in response to any point distance being greater than a preset point threshold, call a preset area optimization strategy to perform area optimization on the initial rectangular area to obtain a current rectangular area; The current rectangular area is mapped to any blank area in the target area to obtain an element sub-image corresponding to the sign-in element.

6. The poster generation method based on diversified data according to claim 5, characterized in that: The preset area optimization strategy is called to perform area optimization on the initial rectangular area to obtain the current rectangular area, including: Determine the center point of the rectangle corresponding to the initial rectangular area, and obtain the connecting lines between each corner point and the center point of the rectangle; Taking each corner point as a starting point, establishing each corner extension line perpendicular to each point connection line, and moving each corner extension line positively along the corresponding point connection line toward the center point of the rectangle; In response to any corner extension line contacting any writing pixel point, controlling the corner extension line to move in the opposite direction away from the center point of the rectangle by a corresponding preset distance; In response to each corner extension line completing the reverse movement, each corner extension line is controlled to extend to form a current rectangular area.

7. The poster generation method based on diversified data according to claim 6, characterized in that: Determining a collision distance and a collision direction corresponding to the element sub-image based on the acquired overlapping portion includes: Acquire each image frame line located at the edge of the element sub-image, and determine the extension direction of any image frame line as a first image direction, and determine the direction perpendicular to the first image direction as a second image direction; Controlling the element sub-image to be translated in sequence along the first image direction and the second image direction until the overlapping portion does not exist, and obtaining a first translation distance corresponding to the first image direction and a second translation distance corresponding to the second image direction; The translation distance with the smallest corresponding distance from the first translation distance and the second translation distance is summed with the retrieved preset spacing threshold, and the obtained sum value is determined as the collision distance, and the image direction corresponding to the translation distance is determined as the collision direction.

8. The poster generation method based on diversified data according to claim 1, characterized in that: In response to the element arrangement sublayer including any element sub-image in a dispersed state, adjusting the image position of the element sub-image based on a preset adjustment strategy to convert the element sub-image from a dispersed state to a closed state, including: Obtain the center points of each image corresponding to all element sub-images located in the element arrangement sub-layer, and connect the center points of each image to obtain the connection lines of each image; Determine the connection lengths corresponding to all image connection lines corresponding to the same element sub-image, and compare the corresponding minimum connection length with a preset dispersion threshold; In response to the connection length being greater than or equal to the preset dispersion threshold, determining that the element sub-image is in a dispersed state, and controlling the element sub-image to translate along the corresponding image connection line; In response to the element sub-image colliding with any other element sub-image, the element sub-image is controlled to stop translating, and the element sub-image is determined to be transformed from the scattered state to the closed state.

9. The poster generation method based on diversified data according to claim 1, characterized in that: The method further comprises: Determine the areas of each sub-image respectively corresponding to each element sub-image in the element arrangement sub-layer, and perform sum calculation based on the areas of each sub-image to obtain a total value of the sub-image; Calculate the ratio of the total value of the sub-image to the layer area corresponding to the element arrangement sub-layer to obtain the element ratio corresponding to each element sub-image; Retrieving a preset proportion threshold, and comparing the element proportion with the preset proportion threshold; In response to the comparison result being that the element proportion is greater than or equal to the preset proportion threshold, determining an element region surrounding all element sub-images in the element arrangement sublayer; Obtaining an element center point corresponding to the element region, and connecting the element center point with a layer center point corresponding to the element arrangement sublayer to obtain a layer connection line; The region intersection point between the layer connection line and the element region is obtained, and the region intersection point is used as a reduction reference point to reduce the element region until the element proportion is less than the preset proportion threshold.

10. A poster generation system based on diversified data, characterized in that: include: A determination module is configured to obtain a poster base map uploaded by the management terminal, and determine a check-in area and an identification code display area located in the poster base map; A creation module, configured to create a sign-in layer corresponding to the sign-in area, wherein the sign-in layer includes an element acquisition sublayer and an element arrangement sublayer; A display module is configured to control the identification code generating terminal to generate a check-in identification code corresponding to the poster base image in the identification code display area, and in response to any user terminal scanning the check-in identification code, display the check-in layer to the user terminal; an interaction module, configured to, in response to the user terminal interacting with the element acquisition sublayer in the check-in layer, acquire the check-in element corresponding to the user terminal, and generate an element sub-image corresponding to the check-in element in the element arrangement sublayer; an adjustment module, configured to, in response to the element arrangement sublayer including any element sub-image in a dispersed state, adjust the image position of the element sub-image based on a preset adjustment strategy, so as to convert the element sub-image from a dispersed state to a closed state; The updating module is configured to add an element arrangement sublayer to the sign-in area to update the poster base image to obtain a poster sign-in image.

Citation Information

Patent Citations

  • On-line poster generation system and on-line poster generation method

    CN103236007A

  • Attendance information display method and device

    CN107315555A

  • Handwritten signature design system

    CN107564081A

  • Poster generation method and system

    CN111489419A

  • Method for automatically generating two-dimensional code and poster spliced image

    CN112241774A