CN115454307A - Advertisement interaction method and related device - Google Patents

Advertisement interaction method and related device Download PDF

Info

Publication number
CN115454307A
CN115454307A CN202211332948.8A CN202211332948A CN115454307A CN 115454307 A CN115454307 A CN 115454307A CN 202211332948 A CN202211332948 A CN 202211332948A CN 115454307 A CN115454307 A CN 115454307A
Authority
CN
China
Prior art keywords
sub
picture
pictures
page
advertisement
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211332948.8A
Other languages
Chinese (zh)
Inventor
周园园
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sohu New Media Information Technology Co Ltd
Original Assignee
Beijing Sohu New Media Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sohu New Media Information Technology Co Ltd filed Critical Beijing Sohu New Media Information Technology Co Ltd
Priority to CN202211332948.8A priority Critical patent/CN115454307A/en
Publication of CN115454307A publication Critical patent/CN115454307A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0277Online advertisement

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Accounting & Taxation (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses an advertisement interaction method and a related device, which can obtain a plurality of sub-pictures corresponding to a first advertisement picture and the original coordinates of the sub-pictures, wherein each sub-picture is a picture obtained by cutting the first advertisement picture in advance; controlling the display positions of the sub-pictures in the first page aiming at any sub-picture, wherein the display positions of at least two sub-pictures are not matched with the corresponding original coordinates; obtaining a moving instruction of a user for any sub-picture, and controlling the sub-picture and other sub-pictures to exchange display positions in a first page according to the moving instruction; obtaining current coordinates corresponding to the current display position of each sub-picture in the first page; determining whether to carry out page skipping or not according to the current coordinates and the original coordinates of each sub-picture; and if so, jumping to an advertisement page corresponding to the first advertisement picture. The advertisement interaction method is interesting, and can improve the conversion rate of the advertisement to a certain extent, thereby improving the utilization rate of resources.

Description

Advertisement interaction method and related device
Technical Field
The present invention relates to the field of data interaction, and in particular, to an advertisement interaction method and a related apparatus.
Background
Various advertisements exist in app information flow, and the background data shows that the advertisements displayed by the static pictures have lower advertisement conversion and seriously waste resources due to the fact that the design is more moderate and has no higher originality and interest.
Disclosure of Invention
In view of the above, the present invention provides an advertisement interaction method and related apparatus that overcome the above problems or at least partially solve the above problems.
In a first aspect, an advertisement interaction method includes:
obtaining a plurality of sub-pictures corresponding to a first advertisement picture and original coordinates of each sub-picture, wherein each sub-picture is a picture obtained by cutting the first advertisement picture in advance;
controlling the display positions of the sub-pictures in a first page aiming at any one of the sub-pictures, wherein the display positions of at least two sub-pictures are not matched with the corresponding original coordinates;
obtaining a moving instruction of a user for any one of the sub-pictures, and controlling the sub-pictures to exchange display positions with other sub-pictures in the first page according to the moving instruction;
obtaining current coordinates corresponding to the current display position of each sub-picture in the first page;
determining whether to carry out page skipping or not according to the current coordinates and the original coordinates of the sub-pictures;
and if the page jump is determined, jumping to an advertisement page corresponding to the first advertisement picture.
With reference to the first aspect, in some optional embodiments, the controlling, for any one of the sub-pictures, a display position of the sub-picture in the first page includes:
and for any sub-picture, adjusting the parameter size of the onLayout method corresponding to the sub-picture, thereby controlling the display position of the sub-picture in the first page.
With reference to the first aspect, in some optional embodiments, the obtaining a movement instruction of a user for any one of the sub-pictures, and controlling the sub-picture to swap a display position of the sub-picture with another sub-picture in the first page according to the movement instruction includes:
obtaining a moving instruction of a user for any one of the sub-pictures;
controlling the sub-picture to be amplified according to the moving instruction, and controlling other sub-pictures to be background projection;
and controlling the sub-picture to move to the display position of a first sub-picture in other sub-pictures according to the moving instruction, and controlling the first sub-picture to move to the original display position of the sub-picture.
With reference to the previous embodiment, in some optional embodiments, the controlling, according to the movement instruction, the sub-picture to be enlarged and the other sub-pictures to be background projection includes:
controlling the parameter of the scale method corresponding to the sub-picture to increase according to the moving instruction, thereby controlling the sub-picture to be amplified;
and setting parameters of a setshadowlayer method of the first page according to the moving instruction so as to control other sub-pictures to be background projection.
With reference to the first aspect, in some optional implementations, the determining whether to perform page jump according to the current coordinates and the original coordinates of each of the sub-pictures includes:
judging whether the current coordinates and the original coordinates of any sub-picture are consistent;
if the current coordinates of the sub-pictures are consistent with the original coordinates, determining to carry out page skipping;
and if the current coordinate of at least one sub-picture is inconsistent with the original coordinate, determining that the page jump is not performed currently.
In a second aspect, an advertisement interaction device includes: the device comprises an original data acquisition unit, a display position control unit, a display position exchange unit, a current coordinate acquisition unit, a page jump determination unit and a page jump unit;
the original data obtaining unit is used for obtaining a plurality of sub-pictures corresponding to a first advertisement picture and original coordinates of each sub-picture, wherein each sub-picture is a picture obtained by cutting the first advertisement picture in advance;
the display position control unit is used for controlling the display positions of the sub-pictures in a first page aiming at any one of the sub-pictures, wherein the display positions of at least two sub-pictures are not matched with the corresponding original coordinates;
the display position exchange unit is used for obtaining a moving instruction of a user for any one of the sub-pictures and controlling the sub-pictures to exchange display positions with other sub-pictures in the first page according to the moving instruction;
the current coordinate obtaining unit is used for obtaining current coordinates corresponding to the display positions of the sub-pictures in the first page;
the page jump determining unit is used for determining whether to carry out page jump according to the current coordinates and the original coordinates of each sub-picture;
and the page skipping unit is used for skipping to the advertisement page corresponding to the first advertisement picture if page skipping is determined.
With reference to the second aspect, in some optional embodiments, the display position control unit includes: a display position control subunit;
the display position control subunit is configured to, for any one of the sub-pictures, adjust a parameter size of an onlay method corresponding to the sub-picture, so as to control a display position of the sub-picture in the first page.
With reference to the second aspect, in some optional embodiments, the display position exchanging unit includes: the moving instruction acquisition subunit, the picture effect control subunit and the picture position moving subunit are connected with the picture effect control subunit;
the moving instruction obtaining subunit is configured to obtain a moving instruction of a user for any one of the sub-pictures;
the picture effect control subunit is configured to control the sub-picture to be amplified according to the movement instruction, and control other sub-pictures to be background projection;
and the picture position moving subunit is used for controlling the sub-picture to move to the display position of a first sub-picture in other sub-pictures according to the moving instruction, and controlling the first sub-picture to move to the original display position of the sub-picture.
In a third aspect, a computer readable storage medium has stored thereon a program which, when executed by a processor, implements the advertisement interaction method of any of the above.
In a fourth aspect, an electronic device comprises at least one processor, and at least one memory, bus, connected to the processor; the processor and the memory complete mutual communication through the bus; the processor is configured to invoke program instructions in the memory to perform any of the advertisement interaction methods described above.
By means of the technical scheme, the advertisement interaction method and the related device provided by the invention can obtain a plurality of sub-pictures corresponding to a first advertisement picture and the original coordinates of each sub-picture, wherein each sub-picture is a picture obtained by cutting the first advertisement picture in advance; controlling the display positions of the sub-pictures in a first page aiming at any one of the sub-pictures, wherein the display positions of at least two sub-pictures are not matched with the corresponding original coordinates; obtaining a moving instruction of a user for any one of the sub-pictures, and controlling the sub-pictures to exchange display positions with other sub-pictures in the first page according to the moving instruction; obtaining current coordinates corresponding to the current display position of each sub-picture in the first page; determining whether to carry out page skipping or not according to the current coordinates and the original coordinates of the sub-pictures; and if the page jump is determined, jumping to the advertisement page corresponding to the first advertisement picture. Therefore, the method and the device can divide the advertisement picture, and skip to the corresponding advertisement page after the picture splicing of the moving picture of the user is finished, so that the user experience is better, the conversion rate of the advertisement can be improved to a certain extent, and the utilization rate of resources is further improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart illustrating a first method of advertisement interaction provided by the present invention;
FIG. 2 is a flow chart illustrating a second method of advertisement interaction provided by the present invention;
FIG. 3 illustrates a flow chart of a third method of advertisement interaction provided by the present invention;
FIG. 4 is a flow chart illustrating a fourth method of advertisement interaction provided by the present invention;
FIG. 5 is a flow chart illustrating a fifth advertisement interaction method provided by the present invention;
FIG. 6 is a schematic structural diagram of an advertisement interaction device provided by the present invention;
fig. 7 shows a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As shown in FIG. 1, the present invention provides an advertisement interaction method, comprising: s100, S200, S300, S400, S500, and S600;
s100, obtaining a plurality of sub-pictures corresponding to a first advertisement picture and original coordinates of each sub-picture, wherein each sub-picture is a picture obtained by cutting the first advertisement picture in advance;
optionally, the first advertisement picture may be a picture of any advertisement, which is not limited in the present invention. It should be noted that: the first advertisement picture can understand a complete advertisement picture, and the multiple sub-pictures can be understood as multiple pictures obtained by equally dividing and cutting the first advertisement picture. For example, the first advertisement picture is divided into 4 parts equally and divided into 4 sub-pictures.
Optionally, as described above, the sub-picture is obtained by cutting the first advertisement picture, and in order to subsequently determine whether the original first advertisement picture has been spliced, the original coordinates of each sub-picture may be recorded after the plurality of sub-pictures are obtained by cutting. It should be noted that: the original coordinates may be the correct coordinates of each sub-picture in the first page planned in advance by the technician, so as to facilitate the subsequent judgment of whether each sub-picture has moved to the correct coordinates.
Optionally, the present invention does not limit the process of cutting the first advertisement picture to obtain the plurality of sub-pictures. Createbitmap, for example, divides a picture into a plurality of parts by the method of bitmap. A javaBean is established to store bitmap and index (index stores sub-picture coordinates, and is subsequently used for checking whether the jigsaw is finished). The specific code implementation is as follows:
/**
* Reading the picture, and returning the bitmap object according to the length-width ratio maintained by the zoom ratio
* The @ param scale (1 to 10, 2 for both length and width scaling to 1/2, 3 for 1/3, and so on)
* @return Bitmap
*/
public synchronized static Bitmap readBitmap(Context context,int res,int scale){
try{
BitmapFactory.Options options = new BitmapFactory.Options();
options.inJustDecodeBounds=false;
options.inSampleSize=scale;
options.inPurgeable=true;
options.inInputShareable=true;
options.inPreferredConfig=Bitmap.Config.RGB_565;
ReturnBitmapFactory.decodeResource(context.getResources(),res,options);
}catch(Exception e){
return null;
}
}
S200, aiming at any one sub-picture, controlling the display positions of the sub-pictures in a first page, wherein the display positions of at least two sub-pictures are not matched with the corresponding original coordinates;
optionally, the sub-pictures are randomly distributed in the first page at first, so that the user can subsequently obtain the correct first advertisement picture by moving the sub-pictures to perform mosaic. Therefore, the present invention needs to set the initial display position of each sub-picture in the first page.
Optionally, the implementation process of setting the initial display position of each sub-picture is not limited by the present invention. For example, as shown in fig. 2, in combination with the embodiment shown in fig. 1, in some alternative embodiments, the S200 includes: s210;
s210, aiming at any sub-picture, adjusting the parameter size of the onLayout method corresponding to the sub-picture, thereby controlling the display position of the sub-picture in the first page.
Alternatively, the onlay method is a known technique in the art, and the present invention does not make much description, and refer to the related description in the art. It should be noted that: the onlay method involves 4 parameters, namely left, top, right and bottom, wherein left characterizes the distance of the corresponding sub-picture from the leftmost edge of the first page, right characterizes the distance of the corresponding sub-picture from the rightmost edge of the first page, top characterizes the distance of the corresponding sub-picture from the uppermost edge of the first page, and bottom characterizes the distance of the corresponding sub-picture from the bottommost edge of the first page. Since each sub-picture is rectangular, by controlling the 4 parameters left, top, right and bottom, the display position of the corresponding sub-picture in the first page is controlled. The specific code implementation is as follows:
protected void onLayout(boolean changed,int l,int t,int r,int b){
for(int i=0;i<getChildCount();i++){
if(getChildAt(i) instanceof ImageView){
ImageView imageView=(ImageView) getChildAt(i);
imageView.layout(imageView.getLeft(), imageView.getTop(),imageView.getRight(),imageView.getBottom());
}else{
// layout for animation layer
if(getChildAt(i) instanceof RelativeLayout){
RelativeLayout relativeLayout=(RelativeLayout) getChildAt(i);
relativeLayout.layout(0,0,mViewWidth, mViewWidth);
}
}
}
}
S300, obtaining a moving instruction of a user for any one of the sub-pictures, and controlling the sub-pictures to exchange display positions with other sub-pictures in the first page according to the moving instruction;
optionally, as described above, the sub-pictures are displayed in a scrambled manner in the first page. As a user, the sub-pictures on the screen can be moved in a touch and drag mode, so that the picture mosaic obtains the correct first advertisement picture. Therefore, as an execution subject of the present invention, a user's moving instruction for the sub-picture, including operations such as clicking the picture and moving the picture, can be obtained. Then, the execution subject of the present invention may move the sub-picture to a position pointed by the movement operation of the user according to the movement operation of the user on the sub-picture, which is not limited in the present invention.
As shown in fig. 3, in combination with the embodiment shown in fig. 1, in some alternative embodiments, the S300 includes: s310, S320, and S330;
s310, obtaining a moving instruction of a user for any one of the sub-pictures;
s320, controlling the sub-picture to be amplified according to the moving instruction, and controlling other sub-pictures to be background projection;
optionally, after the user presses or clicks a certain sub-picture for a long time, the sub-picture can be suspended at the topmost layer of the whole page, and other content is located at the next layer of the sub-picture. Therefore, the invention can enlarge the sub-picture selected by the user, and control other contents of the first page, including other sub-pictures and the like, as background projection, thereby realizing the effect of suspension.
Specifically, the invention does not limit the process of controlling the amplification of the sub-picture selected by the user and controlling other sub-pictures to be background projection. For example, as shown in fig. 4 in combination with the embodiment shown in fig. 3, in some alternative embodiments, the S320 includes: s321 and S322;
s321, controlling parameters of a scale method corresponding to the sub-picture to increase according to the moving instruction, so as to control the sub-picture to be amplified;
alternatively, the scale method belongs to the known technology in the field, and the invention does not describe much, and refer to the related description in the field specifically. It should be noted that: the scale method involves two parameters, X and Y, where X represents the horizontal magnification factor and Y represents the vertical magnification factor, which is not limited by the present invention.
S322, setting parameters of a setshadowleyer method of the first page according to the moving instruction, and controlling other sub-pictures to be background projection.
Alternatively, the setshadowlayer method belongs to the known technology in the field, and the invention does not describe the method too much, and particularly please refer to the relevant description in the field. It should be noted that: the scale method relates to 3 parameters such as a fillet angle, a projection coordinate and a projection color, wherein the fillet angle represents the corner degrees of four corners of a background projection, the projection coordinate represents the position and the size of the background projection in a page, and the projection color represents the main color of the background projection.
S330, controlling the sub-picture to move to the display position of a first sub-picture in other sub-pictures according to the moving instruction, and controlling the first sub-picture to move to the original display position of the sub-picture.
S400, obtaining current coordinates corresponding to the display position of each sub-picture in the first page;
optionally, the execution main body of the present invention may continuously monitor a moving process of the user with respect to the sub-picture, and after the user completes one movement with respect to one sub-picture, the execution main body of the present invention may obtain current coordinates of each sub-picture in the first page after the current movement, so as to subsequently determine whether each sub-picture has moved to a correct position after the current movement.
S500, determining whether to carry out page jump according to the current coordinates and the original coordinates of each sub-picture;
if the page jump is determined, S600 is executed;
optionally, if it is determined that the page jump is not performed this time, the execution main body of the present invention may continue to wait for the user to perform the next movement, and may send a corresponding movement prompt if the next movement is not detected after waiting for a certain time.
Optionally, as described above, the original coordinate may be understood as a preset correct coordinate, and the current coordinate may change as the sub-picture is moved by the user, so that the present invention may determine whether the corresponding sub-picture has moved to a correct position by comparing the current coordinate with the original coordinate.
As shown in fig. 5, in combination with the embodiment shown in fig. 1, in some alternative embodiments, the S500 includes: s510, S520, and S530;
s510, judging whether the current coordinates and the original coordinates of any sub-picture are consistent;
optionally, as mentioned above, if it is determined whether the jigsaw succeeds in obtaining the correct first advertisement picture, it is necessary to determine whether each sub-picture has been moved to the correct position. Therefore, for all the sub-pictures, the method can respectively judge whether the current coordinates and the original coordinates of the sub-pictures are consistent, if so, the sub-pictures are indicated to have moved to the correct position, and if not, the sub-pictures are indicated to have not moved to the correct position.
If the current coordinates of each sub-picture are consistent with the original coordinates, executing S520; if the current coordinate of at least one sub-picture is inconsistent with the original coordinate, executing S530;
s520, determining to carry out page skipping;
optionally, as mentioned above, when all the sub-pictures are moved to the correct position, it indicates that the user has obtained the correct first advertisement picture through the puzzle, so the present invention can perform page jump to show the new page content to the user.
S530, determining that the page jump is not performed currently.
Optionally, as described above, if at least one sub-picture is not moved to the correct position, it is indicated that the correct first advertisement picture is obtained by the current unsuccessful mosaic. In this case, the execution subject of the present invention may continue to wait for the user to move the sub-picture next time, which is not limited by the present invention.
S600, jumping to an advertisement page corresponding to the first advertisement picture.
Optionally, the invention does not specifically limit to which page to jump to, and may jump to other advertisements or other application pages besides the advertisement page corresponding to the first advertisement picture.
As shown in FIG. 6, the present invention provides an advertisement interacting device, comprising: an original data obtaining unit 100, a display position control unit 200, a display position exchanging unit 300, a current coordinate obtaining unit 400, a page jump determining unit 500 and a page jump unit 600;
the original data obtaining unit 100 is configured to obtain a plurality of sub-pictures corresponding to a first advertisement picture and an original coordinate of each of the sub-pictures, where each of the sub-pictures is a picture obtained by cutting the first advertisement picture in advance;
the display position control unit 200 is configured to control, for any one of the sub-pictures, display positions of the sub-pictures in a first page, where the display positions of at least two of the sub-pictures are not matched with corresponding original coordinates;
the display position exchanging unit 300 is configured to obtain a moving instruction of a user for any one of the sub-pictures, and control the sub-picture to exchange a display position in the first page with another sub-picture according to the moving instruction;
the current coordinate obtaining unit 400 is configured to obtain a current coordinate corresponding to a display position of each of the sub-pictures in the first page;
the page jump determining unit 500 is configured to determine whether to perform page jump according to the current coordinates and the original coordinates of each of the sub-pictures;
the page jump unit 600 is configured to jump to an advertisement page corresponding to the first advertisement picture if it is determined that page jump is performed.
In some optional embodiments, in combination with the embodiment shown in fig. 6, the display position control unit 200 includes: a display position control subunit;
the display position control subunit is configured to, for any one of the sub-pictures, adjust a parameter size of an onlay method corresponding to the sub-picture, so as to control a display position of the sub-picture in the first page.
In some optional embodiments, in combination with the embodiment shown in fig. 6, the display position exchanging unit 300 includes: the moving instruction acquisition subunit, the picture effect control subunit and the picture position moving subunit are connected with the picture effect control subunit;
the moving instruction obtaining subunit is configured to obtain a moving instruction of a user for any one of the sub-pictures;
the picture effect control subunit is used for controlling the sub-picture to be amplified according to the moving instruction and controlling other sub-pictures to be background projection;
and the picture position moving subunit is used for controlling the sub-picture to move to the display position of a first sub-picture in other sub-pictures according to the moving instruction, and controlling the first sub-picture to move to the original display position of the sub-picture.
In combination with the previous embodiment, in some optional embodiments, the picture effect control subunit includes: a parameter increasing subunit and a parameter setting subunit;
the parameter increasing subunit is configured to control, according to the moving instruction, increase a parameter of a scale method corresponding to the sub-picture, so as to control the sub-picture to be enlarged;
and the parameter setting subunit is configured to set a parameter of a setshadowlayer method of the first page according to the movement instruction, so as to control other sub-pictures to be background projection.
In some optional embodiments, in combination with the embodiment shown in fig. 6, the page jump determining unit 500 includes: the coordinate judging subunit, the coordinate consistent subunit and the coordinate inconsistent subunit are connected;
the coordinate judging subunit is configured to judge, for any one of the sub-pictures, whether a current coordinate of the sub-picture is consistent with an original coordinate;
the coordinate consistent subunit is used for determining to perform page skipping if the current coordinates of each sub-picture are consistent with the original coordinates;
and the coordinate inconsistency subunit is used for determining that the page skipping is not performed currently if the current coordinate of at least one sub-picture is inconsistent with the original coordinate.
The present invention provides a computer-readable storage medium having stored thereon a program which, when executed by a processor, implements an advertisement interaction method as recited in any one of the above.
As shown in fig. 7, the present invention provides an electronic device 70, wherein the electronic device 70 comprises at least one processor 701, at least one memory 702 connected to the processor 701, and a bus 703; the processor 701 and the memory 702 complete communication with each other through the bus 703; the processor 701 is configured to call program instructions in the memory 702 to perform any of the advertisement interaction methods described above.
In this application, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. An advertisement interaction method, comprising:
obtaining a plurality of sub-pictures corresponding to a first advertisement picture and original coordinates of each sub-picture, wherein each sub-picture is a picture obtained by cutting the first advertisement picture in advance;
controlling the display positions of the sub-pictures in a first page aiming at any one of the sub-pictures, wherein the display positions of at least two sub-pictures are not matched with the corresponding original coordinates;
obtaining a moving instruction of a user for any one of the sub-pictures, and controlling the sub-pictures to exchange display positions with other sub-pictures in the first page according to the moving instruction;
obtaining current coordinates corresponding to the current display position of each sub-picture in the first page;
determining whether to carry out page skipping or not according to the current coordinates and the original coordinates of the sub-pictures;
and if the page jump is determined, jumping to an advertisement page corresponding to the first advertisement picture.
2. The method according to claim 1, wherein said controlling, for any of said sub-pictures, a display position of said sub-picture in a first page comprises:
and for any sub-picture, adjusting the parameter size of the onLayout method corresponding to the sub-picture, thereby controlling the display position of the sub-picture in the first page.
3. The method according to claim 1, wherein the obtaining a movement instruction of a user for any one of the sub-pictures, and controlling the sub-picture to exchange a display position in the first page with other sub-pictures according to the movement instruction comprises:
obtaining a moving instruction of a user for any one of the sub-pictures;
controlling the sub-picture to be amplified according to the moving instruction, and controlling other sub-pictures to be background projection;
and controlling the sub-picture to move to the display position of a first sub-picture in other sub-pictures according to the moving instruction, and controlling the first sub-picture to move to the original display position of the sub-picture.
4. The method according to claim 3, wherein the controlling the sub-picture to be enlarged and controlling other sub-pictures to be background projection according to the moving instruction comprises:
controlling the parameter of the scale method corresponding to the sub-picture to increase according to the moving instruction, so as to control the sub-picture to be amplified;
and setting parameters of a setshadowlayer method of the first page according to the moving instruction so as to control other sub-pictures to be background projection.
5. The method of claim 1, wherein the determining whether to perform the page jump according to the current coordinates and the original coordinates of each of the sub-pictures comprises:
judging whether the current coordinates and the original coordinates of any sub-picture are consistent;
if the current coordinates of the sub-pictures are consistent with the original coordinates, determining to carry out page skipping;
and if the current coordinate of at least one sub-picture is inconsistent with the original coordinate, determining that the page jump is not performed currently.
6. An advertisement interaction device, comprising: the device comprises an original data acquisition unit, a display position control unit, a display position exchange unit, a current coordinate acquisition unit, a page jump determination unit and a page jump unit;
the original data obtaining unit is used for obtaining a plurality of sub-pictures corresponding to a first advertisement picture and original coordinates of each sub-picture, wherein each sub-picture is a picture obtained by cutting the first advertisement picture in advance;
the display position control unit is used for controlling the display positions of the sub-pictures in a first page aiming at any one of the sub-pictures, wherein the display positions of at least two sub-pictures are not matched with the corresponding original coordinates;
the display position exchange unit is used for obtaining a moving instruction of a user for any one of the sub-pictures and controlling the sub-pictures to exchange display positions with other sub-pictures in the first page according to the moving instruction;
the current coordinate obtaining unit is used for obtaining current coordinates corresponding to the display positions of the sub-pictures in the first page;
the page jump determining unit is used for determining whether to carry out page jump according to the current coordinates and the original coordinates of each sub-picture;
and the page skipping unit is used for skipping to the advertisement page corresponding to the first advertisement picture if page skipping is determined.
7. The apparatus of claim 6, wherein the display position control unit comprises: a display position control subunit;
the display position control subunit is configured to, for any one of the sub-pictures, adjust a parameter size of an onlay method corresponding to the sub-picture, so as to control a display position of the sub-picture in the first page.
8. The apparatus of claim 6, wherein the display position exchanging unit comprises: the moving instruction acquisition subunit, the picture effect control subunit and the picture position moving subunit are connected with the picture effect control subunit;
the moving instruction obtaining subunit is configured to obtain a moving instruction of a user for any one of the sub-pictures;
the picture effect control subunit is configured to control the sub-picture to be amplified according to the movement instruction, and control other sub-pictures to be background projection;
and the picture position moving subunit is used for controlling the sub-picture to move to the display position of a first sub-picture in other sub-pictures according to the moving instruction, and controlling the first sub-picture to move to the original display position of the sub-picture.
9. A computer-readable storage medium, having stored thereon a program which, when executed by a processor, implements the advertisement interaction method according to any one of claims 1 to 5.
10. An electronic device comprising at least one processor, and at least one memory, bus connected to the processor; the processor and the memory complete mutual communication through the bus; the processor is configured to invoke program instructions in the memory to perform the advertisement interaction method of any of claims 1 to 5.
CN202211332948.8A 2022-10-28 2022-10-28 Advertisement interaction method and related device Pending CN115454307A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211332948.8A CN115454307A (en) 2022-10-28 2022-10-28 Advertisement interaction method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211332948.8A CN115454307A (en) 2022-10-28 2022-10-28 Advertisement interaction method and related device

Publications (1)

Publication Number Publication Date
CN115454307A true CN115454307A (en) 2022-12-09

Family

ID=84310911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211332948.8A Pending CN115454307A (en) 2022-10-28 2022-10-28 Advertisement interaction method and related device

Country Status (1)

Country Link
CN (1) CN115454307A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010080851A2 (en) * 2009-01-06 2010-07-15 Kondo, Hiroshi Personalized mosaic puzzle set
CN105323066A (en) * 2014-07-21 2016-02-10 腾讯科技(深圳)有限公司 Identity verification method and device
CN106713993A (en) * 2016-12-31 2017-05-24 天脉聚源(北京)科技有限公司 Jigsaw puzzle interaction method and apparatus
CN112163993A (en) * 2020-08-21 2021-01-01 北京字节跳动网络技术有限公司 Image processing method, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010080851A2 (en) * 2009-01-06 2010-07-15 Kondo, Hiroshi Personalized mosaic puzzle set
CN105323066A (en) * 2014-07-21 2016-02-10 腾讯科技(深圳)有限公司 Identity verification method and device
CN106713993A (en) * 2016-12-31 2017-05-24 天脉聚源(北京)科技有限公司 Jigsaw puzzle interaction method and apparatus
CN112163993A (en) * 2020-08-21 2021-01-01 北京字节跳动网络技术有限公司 Image processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
EP2360562B1 (en) Image processing device, information processing device, image processing method, and information processing method
JP5324411B2 (en) Advertisement distribution apparatus, method and program
WO2017063324A1 (en) Window displaying method and mobile terminal
KR101932718B1 (en) Device and method for changing size of display window on screen
US10504258B2 (en) Information processing device editing map acquired from server
EP2515275A1 (en) Device and method for image generation
EP3547098B1 (en) Display control apparatus and control method
JP5023937B2 (en) Image processing apparatus, image processing system, and program
JP2011086050A (en) Information processing terminal and computer program
JP4874363B2 (en) Web page display method using browser plug-in
CN106354381B (en) Image file processing method and device
JP2013131155A (en) Information processing device and program
JP6339550B2 (en) Terminal program, terminal device, and terminal control method
CN115454307A (en) Advertisement interaction method and related device
JP6287498B2 (en) Electronic whiteboard device, electronic whiteboard input support method, and program
CN115033226A (en) Page display method and device, terminal equipment and computer readable storage medium
JP2996933B2 (en) Drawing display device
JP2009129224A (en) Image operating device, image operating program, recording medium, and image operating method
JP2022037082A (en) Information processing device, information processing method, and program
CN107291452B (en) Display information awakening method and device, computer readable storage medium and terminal
JP5512213B2 (en) Reference display system, reference display method and program
JP5528410B2 (en) Viewer device, server device, display control method, electronic comic editing method and program
CN114764294B (en) Page element operation method, device and equipment of electronic whiteboard
JP2002229767A (en) Animation reproducing method and device
CN112583976B (en) Graphic code display method, equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20221209

RJ01 Rejection of invention patent application after publication