Display method and device based on thumbnail, equipment and storage medium

By generating and displaying a thumbnail-based display method, the problem of users having difficulty tracing and locating written content in electronic whiteboards is solved, achieving efficient content location and display.

CN118897707APending Publication Date: 2024-11-05GUANGZHOU LANGO ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411023285.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

In devices such as electronic whiteboards, as users write more content, it becomes difficult to recall and locate previously written content. Existing technologies are cumbersome and inefficient.

Method used

By generating and displaying a thumbnail-based display method, the display effect is determined based on the current size of the input content on the canvas, thumbnails are generated and displayed in the thumbnail bar, and the input content is displayed on the canvas in response to user actions.

Benefits of technology

It simplifies the positioning process for users when moving the canvas, improves operational efficiency, and allows users to directly locate and display input content on the thumbnail bar, avoiding cumbersome dragging and zooming operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118897707A_ABST
    Figure CN118897707A_ABST
Patent Text Reader

Abstract

The invention provides a thumbnail-based display method and device, equipment and a storage medium, and the method comprises the steps: obtaining corresponding input content on a canvas through responding to an input operation of an object, determining the current size of a thumbnail bar displayed on the canvas, and determining a display effect corresponding to the input content according to the current size, according to the display effect, the corresponding thumbnail is generated, and the thumbnail is displayed on the thumbnail bar, so that the object can directly see the thumbnail on the thumbnail bar even if the object moves to different position areas on the canvas, and the input content is displayed on the canvas in response to the click operation of the object on the thumbnail; and compared with manual confirmation of the contents one by one, the operation is simple, and the efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic information, and in particular to a thumbnail-based display method, device, equipment and storage medium. Background Art

[0002] Nowadays, electronic products have become an important auxiliary tool. When users need to record relevant content, they can record it on the canvas of electronic products. For example, in modern education and business environments, users can write on electronic whiteboards to assist users in explaining relevant content in classrooms or meetings.

[0003] However, although the canvas provides enough writing space, as the amount of written content increases, the user's writing will move to different areas of the canvas, making it difficult for the user to trace back and locate the previous writing content. The user can only drag the canvas to zoom in or out, and then manually confirm the content one by one, which is very cumbersome and inefficient. Summary of the invention

[0004] The embodiments of the present application provide a thumbnail-based display method, device, equipment, and storage medium to solve at least one problem existing in the related art. The technical solution is as follows:

[0005] In a first aspect, an embodiment of the present application provides a method for displaying based on thumbnails, comprising:

[0006] In response to the input operation of the object, obtain the corresponding input content on the canvas;

[0007] Determine a current size of the thumbnail bar displayed on the canvas, and determine a display effect corresponding to the input content according to the current size;

[0008] Generate a corresponding thumbnail according to the display effect, and display the thumbnail on the thumbnail bar;

[0009] In response to the object's click operation on the thumbnail, the input content is displayed on the canvas.

[0010] In one implementation, determining the current size of the thumbnail bar displayed on the canvas includes:

[0011] When an adjustment operation of the object is detected, adjusting the size of the thumbnail bar displayed on the canvas in response to the adjustment operation, and using the adjusted size of the thumbnail bar as the current size of the thumbnail bar;

[0012] When the adjustment operation of the object is not detected, the default size of the thumbnail bar is used as the current size of the thumbnail bar.

[0013] In one implementation, determining the display effect corresponding to the input content according to the current size includes:

[0014] Determining a first length and a first width of the input content;

[0015] Determine a first ratio of the first length to the column length of the current size, reduce the first length according to the first ratio to obtain a second length, and reduce the first width according to the first ratio to obtain a second width;

[0016] When the second width is less than or equal to the column width of the current size, determining a display effect corresponding to the input content according to the second length and the second width;

[0017] When the second width is greater than the column width of the current size, determine a second ratio of the second width to the column width of the current size, reduce the second width according to the second ratio to obtain a third width, and reduce the second length according to the second ratio to obtain a third length, and determine the display effect corresponding to the input content based on the third length and the third width.

[0018] In one embodiment, displaying the thumbnail on the thumbnail bar includes:

[0019] Directly display the thumbnail on the thumbnail bar;

[0020] or,

[0021] The thumbnails are enhanced and displayed on the thumbnail bar. The enhanced processing includes adding at least one of a border and a shadow.

[0022] In one embodiment, displaying the thumbnail on the thumbnail bar further includes:

[0023] When the number of thumbnails is less than or equal to the displayable number, all the thumbnails are displayed in the display area of ​​the thumbnail column;

[0024] When the number of thumbnails is greater than the number that can be displayed, the paging function of the display area is triggered, the display area is expanded, and all the thumbnails are displayed in the expanded display area. When the object clicks on the thumbnail bar, the thumbnails in the expanded display area are viewed through page change operations or scrolling operations.

[0025] In one implementation, in response to the object clicking the thumbnail, displaying the input content on the canvas includes:

[0026] In response to a click operation of the object on the thumbnail, determining a target position of the input content in the thumbnail on the canvas;

[0027] The input content is displayed on the canvas according to the target position.

[0028] In one embodiment, the method further comprises:

[0029] In the case where the thumbnail exists in the thumbnail column, detecting an input event of an object, and acquiring corresponding changed content on the canvas;

[0030] When the input event ends and no new input event is detected after a preset time, the thumbnail is updated according to the changed content.

[0031] In a second aspect, an embodiment of the present application provides a thumbnail-based display device, comprising:

[0032] An acquisition module, used to acquire corresponding input content on the canvas in response to an input operation of the object;

[0033] A determination module, used to determine a current size of the thumbnail bar displayed on the canvas, and determine a display effect corresponding to the input content according to the current size;

[0034] A generating module, used for generating a corresponding thumbnail according to the display effect, and displaying the thumbnail on the thumbnail bar;

[0035] The display module is used to respond to the object's click operation on the thumbnail and display the input content on the canvas.

[0036] In one embodiment, the generating module is further used for:

[0037] In the case where the thumbnail exists in the thumbnail column, detecting an input event of an object, and acquiring corresponding changed content on the canvas;

[0038] When the input event ends and no new input event is detected after a preset time, the thumbnail is updated according to the changed content.

[0039] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement a method in any one of the above-mentioned embodiments.

[0040] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed, the method in any one of the above-mentioned embodiments is implemented.

[0041] The beneficial effects of the above technical solution include at least:

[0042] By responding to the input operation of the object, the corresponding input content on the canvas is obtained, the current size of the thumbnail bar displayed on the canvas is determined, and the display effect corresponding to the input content is determined according to the current size. According to the display effect, the corresponding thumbnail is generated, and the thumbnail is displayed on the thumbnail bar, so that even when the object moves the canvas to different position areas, the thumbnail can be directly seen on the thumbnail bar. In response to the object's click operation on the thumbnail, the input content is displayed on the canvas, and the input content is directly located at the corresponding position and displayed. Compared with manual confirmation of the content one by one, the operation is simple and the efficiency is improved.

[0043] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present application will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present application and should not be regarded as limiting the scope of the present application.

[0045] Figure 1 This is a schematic diagram of the steps of a thumbnail-based display method according to an embodiment of the present application;

[0046] Figure 2 A schematic diagram of a canvas and a thumbnail bar according to an embodiment of the present application;

[0047] Figure 3 This is a structural block diagram of a thumbnail-based display device according to an embodiment of the present application;

[0048] Figure 4 This is a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0049] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present application. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.

[0050] Reference Figure 1 , a flowchart of a thumbnail-based display method according to an embodiment of the present application is shown, and the thumbnail-based display method may at least include steps S100-S400:

[0051] S100: In response to an input operation of an object, obtain corresponding input content on a canvas.

[0052] S200: Determine the current size of the thumbnail bar displayed on the canvas, and determine the display effect corresponding to the input content according to the current size.

[0053] S300: Generate corresponding thumbnails according to the display effect, and display the thumbnails on the thumbnail bar.

[0054] S400: In response to the object's click operation on the thumbnail, the input content is displayed on the canvas.

[0055] The thumbnail-based display method of the embodiment of the present application can be executed by the controller of the electronic whiteboard, or can be executed by the controller of the electronic whiteboard in cooperation with the cloud server.

[0056] The technical solution of the embodiment of the present application obtains the corresponding input content on the canvas in response to the input operation of the object, determines the current size of the thumbnail bar displayed on the canvas, and determines the display effect corresponding to the input content according to the current size. According to the display effect, a corresponding thumbnail is generated, and the thumbnail is displayed on the thumbnail bar, so that even when the canvas is moved to a different position area, the object can directly see the thumbnail on the thumbnail bar, and the input content is displayed on the canvas in response to the object's click operation on the thumbnail, and the input content is directly located at the corresponding position and displayed. Compared with manual confirmation of the content one by one, the operation is simple and the efficiency is improved.

[0057] In one embodiment, the object refers to anyone who uses an electronic whiteboard. The electronic whiteboard provides a canvas. The object can perform input operations by writing, touching, speaking, using a mouse, etc., so that the controller of the electronic whiteboard responds to the input operation of the object and generates corresponding input content on the canvas. Then, the controller can obtain the corresponding input content on the current canvas. It should be noted that, in the embodiments of the present application, writing is taken as an example for the convenience of explanation.

[0058] In one embodiment, the function, interaction mode and default size of the thumbnail bar can be defined in advance. The thumbnail bar has a display area that can be used to display thumbnails. At the same time, the interaction mode can be clicking, scrolling, etc. The thumbnail bar can create a layer on the canvas for display.

[0059] In one embodiment, determining the current size of the thumbnail bar displayed on the canvas in step S200 includes steps S210-S220:

[0060] S210: When an adjustment operation of the object is detected, the size of the thumbnail bar displayed on the canvas is adjusted in response to the adjustment operation, and the adjusted size of the thumbnail bar is used as the current size of the thumbnail bar.

[0061] In an embodiment of the present application, since the actual needs of different objects may be different, the thumbnail bar provides a size adjustment function, and the object can input an adjustment operation. The processor adjusts the size of the thumbnail bar displayed on the canvas in response to the adjustment operation, and then no adjustment operation is detected within a specified time. At this time, the adjusted size of the thumbnail bar is used as the current size of the thumbnail bar.

[0062] S220: When no adjustment operation of the object is detected, the default size of the thumbnail bar is used as the current size of the thumbnail bar.

[0063] Optionally, when no adjustment operation of the object is detected, the size of the thumbnail bar is a default size, and the default size of the thumbnail bar is directly used as the current size of the thumbnail bar.

[0064] It should be noted that the current size of the thumbnail column includes length and width, the length is recorded as the column length, and the width is recorded as the column width. The current size of the thumbnail column refers to the size of the sub-display area of ​​the display area of ​​the thumbnail column.

[0065] In one implementation, determining the display effect corresponding to the input content according to the current size in step S200 includes steps S230-S260:

[0066] S230: Determine a first length and a first width of the input content.

[0067] Optionally, the thumbnail bar provides display options that can be set in advance, and the object can select regional display or global display in advance. Among them, if the display option is regional display, the area where the user wrote or drew most recently can be determined at this time, and the input content of the area can be determined as the content to be displayed, and then the distance between the leftmost X-axis coordinate and the rightmost X-axis coordinate in the input content is used as the first length of the input content, and the distance between the top Y-axis coordinate and the bottom Y-axis coordinate in the input content is used as the first width of the input content; and if the display option is global display, the length of the canvas currently displayed on the electronic whiteboard is used as the first length of the input content, and the width of the currently displayed canvas is used as the first width of the input content.

[0068] S240, determining a first ratio of the first length to the length of the column of the current size, reducing the first length according to the first ratio to obtain a second length, and reducing the first width according to the first ratio to obtain a second width.

[0069] In the embodiment of the present application, in order to display the thumbnail as large and complete as possible on the thumbnail bar when the thumbnail is subsequently generated, it is necessary to perform a scaling process, that is, to reduce or enlarge; at the same time, in order to avoid distortion of the content in the thumbnail, the ratio of the first length to the first width is maintained. Specifically, a first ratio of the first length to the length of the bar of the current size is determined, the first length is reduced according to the first ratio to obtain a second length, and the first width is reduced according to the first ratio to obtain a second width, thereby achieving proportional reduction of the first length and the first width.

[0070] S250: When the second width is less than or equal to the current column width, determine a display effect corresponding to the input content according to the second length and the second width.

[0071] Optionally, when the second width is less than or equal to the current size of the column width, it means that the display area of ​​the thumbnail column can be displayed completely. At this time, the corresponding display effect of the input content on the electronic whiteboard is determined based on the second length and the second width, and the content of the second length and the second width is displayed on the canvas of the electronic whiteboard. At this time, the displayed interface is the display effect.

[0072] S260. When the second width is greater than the column width of the current size, determine a second ratio of the second width to the column width of the current size, reduce the second width according to the second ratio to obtain a third width, and reduce the second length according to the second ratio to obtain a third length, and determine the display effect corresponding to the input content based on the third length and the third width.

[0073] Optionally, if the second width is greater than the current column width, it means that the display area of ​​the thumbnail column cannot be fully displayed. In this case, a second ratio of the second width to the current column width is further determined, and the second width is reduced according to the second ratio to obtain a third width, and the second length is reduced according to the second ratio to obtain a third length, and then reduced in proportion again. Then, the display effect corresponding to the input content is determined according to the third length and the third width, and the principle is the same as above and will not be repeated.

[0074] In one embodiment, a corresponding thumbnail is generated according to the display effect, and the display effect is saved in the form of a thumbnail. The saving format of the thumbnail includes but is not limited to PNG and JPEG. Optionally, a high-resolution thumbnail can be generated or the thumbnail can be compressed to reduce storage space. It should be noted that when generating a thumbnail, the input content can be processed, such as removing unnecessary background or other cluttered information to make the thumbnail more concise and clear.

[0075] In one embodiment, step S300 of displaying the thumbnails on the thumbnail bar includes step S310:

[0076] S310: directly display the thumbnail on the thumbnail bar, or perform enhancement processing on the thumbnail and display the thumbnail after enhancement processing on the thumbnail bar, wherein the enhancement processing includes adding at least one of a border and a shadow.

[0077] Optionally, the thumbnail is directly displayed on the thumbnail bar; in one embodiment, the thumbnail is enhanced and displayed on the thumbnail bar, so that the thumbnail is more prominent in the thumbnail bar and is easier to view. Optionally, the enhancement includes adding at least one of a border and a shadow.

[0078] In one implementation, step S300 of displaying the thumbnails on the thumbnail bar may further include steps S320-S330:

[0079] S320: When the number of thumbnails is less than or equal to the displayable number, all thumbnails are displayed in the display area of ​​the thumbnail column.

[0080] S330. When the number of thumbnails is greater than the number that can be displayed, the paging function of the display area is triggered, the display area is expanded, and all thumbnails are displayed in the expanded display area. When the object clicks on the thumbnail bar, the thumbnails in the expanded display area are viewed through page switching or scrolling operations.

[0081] Optionally, the display area of ​​the thumbnail bar has multiple sub-display areas, each of which is used to display a thumbnail. The displayable number is the number of thumbnails that can be fully displayed directly in the display area of ​​the thumbnail bar on the current electronic whiteboard canvas, and also represents the number of sub-display areas that can be fully displayed directly on the current electronic whiteboard canvas. For example, if there are 4 thumbnails in total, but the displayable number is 3, then 3 thumbnails are directly displayed on the canvas at this time, and the other one needs to be viewed by other operations. Therefore, when the number of thumbnails is less than or equal to the displayable number, all thumbnails are displayed directly in the display area of ​​the thumbnail bar.

[0082] If the number of thumbnails is greater than the number that can be displayed, for example, if there are a total of 4 thumbnails, but the number that can be displayed is 3, the controller automatically triggers the paging function of the display area, expands the display area, increases the number of sub-display areas, and then displays all thumbnails in the expanded display area. In the embodiment of the present application, after the paging function is triggered, a page change button or a scroll module can be generated on the thumbnail bar. When the object clicks the thumbnail bar, by clicking the page change button to change pages, or by using the scroll module to slide on the canvas or using the mouse to scroll, other thumbnails in the expanded display area that cannot be directly displayed can be viewed.

[0083] like Figure 2 As shown, the canvas 101 displays a toolbar 102 of the canvas 101 , input contents 103 , 104 in different areas, and a thumbnail bar 105 , and thumbnails 106 , 107 are generated corresponding to the input contents 103 , 404 .

[0084] In one implementation, step S400 includes steps S410-S420:

[0085] S410: In response to the object's click operation on the thumbnail, determine the target position of the input content in the thumbnail on the canvas.

[0086] Optionally, when obtaining input content to generate a thumbnail, the position information of the input content in the canvas is also obtained. Each thumbnail is associated with corresponding position information. Therefore, when an object clicks on the thumbnail to perform a click operation, the processor responds to the object's click operation on the thumbnail, determines the position information corresponding to the thumbnail, and thus determines the target position of the input content in the thumbnail on the canvas.

[0087] S420: Display the input content on the canvas according to the target position.

[0088] Then, the screen of the electronic whiteboard jumps to the target position and displays the input content on the canvas, realizing content navigation and positioning functions based on thumbnails, which is convenient and fast. It does not require the object to drag the canvas to zoom in or out, and then manually confirm the content one by one. It is convenient, fast and efficient, which improves the object's usage experience.

[0089] In one implementation, the thumbnail-based display method of the embodiment of the present application may further include steps S510-S520:

[0090] S510: When there are thumbnails in the thumbnail column, detect an input event of the object and obtain corresponding changed content on the canvas.

[0091] In the embodiment of the present application, when there is a thumbnail in the thumbnail column, the thumbnail will be updated to ensure the validity of the thumbnail. Specifically, the processor detects the input event of the object, determines the input operation of the object, and obtains the corresponding change content on the canvas; the change content may include new or modified content.

[0092] S520: When the input event ends and no new input event is detected after a preset time, the thumbnail is updated according to the changed content.

[0093] In the embodiment of the present application, when an input event ends and no new input event is detected after a preset time, a thumbnail corresponding to the position information is determined according to the position of the changed content (recorded as the thumbnail to be updated), and a new thumbnail is generated according to the changed content to update the thumbnail, that is, the thumbnail is updated. It should be noted that the preset time is set based on actual needs, so that the generation and update frequency of thumbnails can be customized to meet real-time requirements or at intervals of a certain time to meet real-time requirements or avoid performance problems caused by frequent updates; and asynchronous processing can be used to introduce cache and cleanup strategies, so that the thumbnail cache and generation process can be asynchronously processed in the background to avoid blocking the main thread and ensure the smoothness of the user interface.

[0094] Reference Figure 3 , shows a structural block diagram of a thumbnail-based display device according to an embodiment of the present application, and the device may include:

[0095] An acquisition module, used to acquire corresponding input content on the canvas in response to an input operation of the object;

[0096] A determination module, used to determine the current size of the thumbnail bar displayed on the canvas, and determine the display effect corresponding to the input content according to the current size;

[0097] A generation module, used to generate corresponding thumbnails according to the display effect, and display the thumbnails on the thumbnail bar;

[0098] The display module is used to display the input content on the canvas in response to the object's click operation on the thumbnail.

[0099] In one embodiment, the generating module is further configured to:

[0100] When there are thumbnails in the thumbnail bar, detect the input event of the object and obtain the corresponding changed content on the canvas;

[0101] When the input event ends and no new input event is detected after a preset time, the thumbnail is updated according to the changed content.

[0102] The functions of each module in each device in the embodiments of the present application can be found in the corresponding description in the above method, and will not be repeated here.

[0103] Reference Figure 4 , shows a structural block diagram of an electronic device according to an embodiment of the present application, the electronic device includes: a memory 310 and a processor 320, the memory 310 stores instructions that can be run on the processor 320, and the processor 320 loads and executes the instructions to implement the thumbnail-based display method in the above embodiment. The number of the memory 310 and the processor 320 can be one or more.

[0104] In one embodiment, the electronic device also includes a communication interface 330 for communicating with external devices and performing data exchange transmission. If the memory 310, the processor 320 and the communication interface 330 are implemented independently, the memory 310, the processor 320 and the communication interface 330 can be interconnected through a bus and complete mutual communication. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0105] Optionally, in a specific implementation, if the memory 310, the processor 320 and the communication interface 330 are integrated on a chip, the memory 310, the processor 320 and the communication interface 330 can communicate with each other through an internal interface.

[0106] An embodiment of the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the thumbnail-based display method provided in the above embodiment.

[0107] An embodiment of the present application also provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes the method provided by the embodiment of the present application.

[0108] An embodiment of the present application also provides a chip, including: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method provided in the embodiment of the application.

[0109] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the advanced RISC machines (ARM) architecture.

[0110] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may also include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct rambus RAM (DR RAM).

[0111] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.

[0112] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example" or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the described specific features, structures, materials or characteristics may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.

[0113] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0114] Any process or method description in the flow chart or otherwise described herein can be understood to represent a module, fragment or portion of a code including one or more executable instructions for implementing the steps of a specific logical function or process. And the scope of the preferred embodiment of the present application includes other implementations, in which the functions may not be performed in the order shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved.

[0115] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be embodied in any computer-readable medium for use by an instruction execution system, apparatus or device (such as a computer-based system, a system including a processor or other system that can fetch instructions from an instruction execution system, apparatus or device and execute instructions), or used in combination with these instruction execution systems, apparatuses or devices.

[0116] It should be understood that the various parts of the present application can be implemented with hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented with software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the above embodiment method can be completed by instructing the relevant hardware through a program, which can be stored in a computer-readable storage medium, and when the program is executed, it includes one of the steps of the method embodiment or a combination thereof.

[0117] In addition, each functional unit in each embodiment of the present application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The storage medium can be a read-only memory, a disk or an optical disk, etc.

[0118] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A thumbnail-based display method, characterized in that: include: In response to the input operation of the object, obtain the corresponding input content on the canvas; Determine a current size of the thumbnail bar displayed on the canvas, and determine a display effect corresponding to the input content according to the current size; Generate a corresponding thumbnail according to the display effect, and display the thumbnail on the thumbnail bar; In response to the object's click operation on the thumbnail, the input content is displayed on the canvas.

2. The thumbnail-based display method according to claim 1, characterized in that: Determining the current size of the thumbnail bar displayed on the canvas includes: When an adjustment operation of the object is detected, adjusting the size of the thumbnail bar displayed on the canvas in response to the adjustment operation, and using the adjusted size of the thumbnail bar as the current size of the thumbnail bar; When the adjustment operation of the object is not detected, the default size of the thumbnail bar is used as the current size of the thumbnail bar.

3. The thumbnail-based display method according to claim 1, characterized in that: Determining the display effect corresponding to the input content according to the current size includes: Determining a first length and a first width of the input content; Determine a first ratio of the first length to the column length of the current size, reduce the first length according to the first ratio to obtain a second length, and reduce the first width according to the first ratio to obtain a second width; When the second width is less than or equal to the column width of the current size, determining a display effect corresponding to the input content according to the second length and the second width; When the second width is greater than the column width of the current size, determine a second ratio of the second width to the column width of the current size, reduce the second width according to the second ratio to obtain a third width, and reduce the second length according to the second ratio to obtain a third length, and determine the display effect corresponding to the input content based on the third length and the third width.

4. The thumbnail-based display method according to any one of claims 1 to 3, characterized in that: The displaying of the thumbnail on the thumbnail bar includes: Directly display the thumbnail on the thumbnail bar; or, The thumbnails are enhanced and displayed on the thumbnail bar. The enhanced processing includes adding at least one of a border and a shadow.

5. The thumbnail-based display method according to claim 4, characterized in that: The displaying of the thumbnail on the thumbnail bar further comprises: When the number of thumbnails is less than or equal to the displayable number, all the thumbnails are displayed in the display area of ​​the thumbnail column; When the number of thumbnails is greater than the number that can be displayed, the paging function of the display area is triggered, the display area is expanded, and all the thumbnails are displayed in the expanded display area. When the object clicks on the thumbnail bar, the thumbnails in the expanded display area are viewed through page change operations or scrolling operations.

6. The thumbnail-based display method according to any one of claims 1 to 3, characterized in that: In response to the object clicking the thumbnail, displaying the input content on the canvas includes: In response to a click operation of the object on the thumbnail, determining a target position of the input content in the thumbnail on the canvas; The input content is displayed on the canvas according to the target position.

7. The thumbnail-based display method according to any one of claims 1 to 3, characterized in that: The method further comprises: In the case where the thumbnail exists in the thumbnail column, detecting an input event of an object, and acquiring corresponding changed content on the canvas; When the input event ends and no new input event is detected after a preset time, the thumbnail is updated according to the changed content.

8. A thumbnail-based display device, characterized in that: include: An acquisition module, used for acquiring corresponding input content on the canvas in response to an input operation of the object; A determination module, used to determine a current size of the thumbnail bar displayed on the canvas, and determine a display effect corresponding to the input content according to the current size; A generating module, used for generating a corresponding thumbnail according to the display effect, and displaying the thumbnail on the thumbnail bar; The display module is used to display the input content on the canvas in response to a click operation of the object on the thumbnail.

9. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed, the method according to any one of claims 1 to 7 is implemented.