Information processing method and device, handheld printer, and readable storage medium

By automatically determining and adjusting the location of content objects on the editing interface in a handheld printer, the problem of overlapping content on the interface is solved, improving the convenience and experience of user operations.

CN111367480BActive Publication Date: 2024-12-03ZHUHAI BENTSAI PRINTING TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010126377.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-02-27
Publication Date
2024-12-03
Estimated Expiration
2040-02-27

Smart Images

  • Figure CN111367480B_ABST
    Figure CN111367480B_ABST
Patent Text Reader

Abstract

The present application provides an information processing method and device, a handheld printer, and a readable storage medium. The information processing method is applied to a handheld printer, and the method includes: upon receiving multiple content objects input by a user on an editing interface and editing operations corresponding to the multiple content objects, determining whether the editing operations will cause the multiple content objects to overlap on the editing interface; if the editing operations will cause the multiple content objects to overlap on the editing interface, adjusting the positions of the multiple content objects on the editing interface according to the editing operations to obtain corresponding adjustment results; and feeding back the editing results corresponding to the editing operations according to the adjustment results. The method improves the operational convenience of the handheld printer and enhances the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of printing technology, and in particular, to an information processing method and device, a handheld printer, and a readable storage medium. Background Art

[0002] A handheld printer is a portable printer that is small in size and easy to carry, and can meet the user's printing needs on the move.

[0003] When a user inputs relevant content and performs manual editing on an existing handheld printer, the results of the user's manual editing will be directly displayed. Since the editing interface is small and the movement is not sensitive, overlaps may occur in the displayed results. At this time, the user needs to make further manual adjustments. For the user, the operation is very inconvenient and the experience is poor. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide an information processing method and device, a handheld printer, and a readable storage medium, so as to improve the operating convenience of the handheld printer and enhance the user experience.

[0005] In a first aspect, an embodiment of the present application provides an information processing method, which is applied to a handheld printer, the method comprising: upon receiving multiple content objects input by a user on an editing interface and editing operations corresponding to the multiple content objects, determining whether the editing operations will cause the multiple content objects to overlap on the editing interface; if the editing operations will cause the multiple content objects to overlap on the editing interface, adjusting positions of the multiple content objects on the editing interface according to the editing operations to obtain corresponding adjustment results; and feeding back the editing results corresponding to the editing operations according to the adjustment results.

[0006] In the embodiment of the present application, after the user inputs the relevant editing operation on the editing interface, if it is determined that the editing operation will cause the content object to overlap on the editing interface, the position of the content object on the editing interface is automatically adjusted according to the editing operation, and the corresponding adjustment result is obtained and then fed back. Compared with the prior art that directly displays the result of the user's editing operation and then the user performs further editing processing, for the user, after inputting the content object and the corresponding editing operation, assuming that the editing operation will cause the content to overlap, the printer adjusts the content object on the editing interface according to the editing operation, and the user does not need to manually adjust the result of the editing operation, which avoids overlap and user re-editing to a certain extent, reduces the difficulty of user editing, makes the user's operation more convenient, and thus improves the user's experience.

[0007] As a possible implementation manner, determining whether the editing operation will cause the multiple content objects to overlap on the editing interface includes: determining, based on the editing operation, whether areas occupied by the multiple content objects on the editing interface after the editing operation overlap; if areas occupied by the multiple content objects on the editing interface after the editing operation overlap, determining that the editing operation will cause the multiple content objects to overlap on the editing interface.

[0008] In the embodiment of the present application, when judging whether the editing operation will cause multiple content objects to overlap on the editing interface, the editing interface can be regarded as multiple area blocks. Assuming that the areas occupied by multiple content objects overlap after the editing operation, it means that when the content objects are finally displayed, they will also overlap. Therefore, it can be judged whether the content objects overlap by the overlap of the areas. Through this judgment method, a result can be obtained quickly and accurately, improving the efficiency of information processing.

[0009] As a possible implementation manner, the multiple content objects include a first content object and a second content object, and the adjusting the positions of the multiple content objects on the editing interface according to the editing operation to obtain corresponding adjustment results includes: if the editing operation is to move the first content object to a target direction of the second content object, determining whether there is a matching area in the target direction that does not overlap with an area where the second content object is located and is not occupied and can accommodate the first content object; if there is a matching area in the target direction, moving the first content object to the matching area to obtain the adjustment result.

[0010] In an embodiment of the present application, assuming that the editing operation is to move the first content object to the target direction of the second content object, it is possible to first determine whether there is a matching area in the target direction. If so, the first content object is moved to the matching area, thereby avoiding overlap between the first content object and the second content object on the editing interface, thereby quickly and accurately achieving anti-overlap processing.

[0011] As a possible implementation manner, the feeding back an editing result corresponding to the editing operation according to the adjustment result includes: displaying the adjustment result on the editing interface.

[0012] In an embodiment of the present application, the adjustment result obtained after anti-overlapping processing can be directly displayed as the editing result corresponding to the editing operation, so that there is no overlapping content on the editing interface seen by the user, thereby improving the user experience.

[0013] As a possible implementation manner, if there is no matching area in the target direction, the first content object is not moved to obtain the adjustment result.

[0014] In an embodiment of the present application, if there is no matching area in the target direction, the user's editing operation may not be performed at this time, and the user's editing operation is assumed to be invalid. Anti-overlapping is achieved through invalid editing operations, thereby improving the efficiency of information processing.

[0015] As a possible implementation manner, the feeding back an editing result corresponding to the editing operation according to the adjustment result includes: generating a user prompt for indicating that the editing operation fails as the editing result corresponding to the editing operation and feeding back the user prompt.

[0016] In an embodiment of the present application, when the adjustment result has not been subjected to anti-overlap processing and the user's editing operation has not been executed, by generating a user prompt and feedback indicating that the editing operation has failed, the user can be made aware that the input editing operation is inappropriate and the final result is not suitable for printing, thereby avoiding waste of resources.

[0017] In a second aspect, an embodiment of the present application provides an information processing device, which includes a functional module for implementing the method described in the first aspect and any possible implementation manner of the first aspect.

[0018] In a third aspect, an embodiment of the present application provides a handheld printer, which includes a hardware module for implementing the method described in the first aspect and any possible implementation manner of the first aspect.

[0019] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a computer program is stored. When the computer program is executed by a computer, the steps of the method described in the first aspect and any possible implementation of the first aspect are executed. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0021] Figure 1 A flowchart of the information processing method provided in the embodiment of the present application;

[0022] Figure 2 A first example diagram of content objects overlapping in the X direction provided by an embodiment of the present application;

[0023] Figure 3A second example diagram of content objects overlapping in the X direction provided by an embodiment of the present application;

[0024] Figure 4 A first example diagram of content objects overlapping in the Y direction provided by an embodiment of the present application;

[0025] Figure 5 A second example diagram of content objects overlapping in the Y direction provided by an embodiment of the present application;

[0026] Figure 6 An example diagram of content objects overlapping in both the X and Y directions provided in an embodiment of the present application;

[0027] Figure 7 An example diagram of the first anti-overlapping process provided in an embodiment of the present application;

[0028] Figure 8 An example diagram of the second anti-overlapping process provided in an embodiment of the present application;

[0029] Fig. 9 An example diagram of the third anti-overlapping process provided in an embodiment of the present application;

[0030] Fig.10 An example diagram of the fourth anti-overlapping process provided in an embodiment of the present application;

[0031] Fig.11 This is a block diagram of the functional modules of the information processing device provided in the embodiment of the present application.

[0032] Icon: 200 - information processing device; 201 - processing module; 202 - feedback module. DETAILED DESCRIPTION

[0033] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0034] The information processing method provided in the embodiment of the present application can be applied to a handheld printer. For the operation process of a handheld printer, the user usually inputs the content object to be printed into the handheld printer, and then the user performs corresponding editing operations on the input content object through the UI (User Interface) of the handheld printer. After the user inputs the editing operation, the handheld printer will execute the editing operation, obtain the result corresponding to the editing operation and display it. Unlike non-handheld printers, handheld printers can be moved for operation, so their editing interfaces are relatively small.

[0035] Based on the above application scenarios, please refer to Figure 1 , is a method for information processing provided by an embodiment of the present application, the method comprising:

[0036] Step 101: upon receiving a plurality of content objects and editing operations corresponding to the plurality of content objects input by a user on an editing interface, determining whether the editing operations will cause the plurality of content objects to overlap on the editing interface.

[0037] Step 102: If the editing operation will cause multiple content objects to overlap on the editing interface, adjust the positions of the multiple content objects on the editing interface according to the editing operation to obtain corresponding adjustment results.

[0038] Step 103: Feedback an editing result corresponding to the editing operation according to the adjustment result.

[0039] In the embodiment of the present application, after the user inputs the relevant editing operation on the editing interface, if it is determined that the editing operation will cause the content object to overlap on the editing interface, the position of the content object on the editing interface is automatically adjusted according to the editing operation, and the corresponding adjustment result is obtained and then fed back. Compared with the prior art that directly displays the result of the user's editing operation and then the user performs further editing processing, for the user, after inputting the content object and the corresponding editing operation, assuming that the editing operation will cause the content to overlap, the printer adjusts the content object on the editing interface according to the editing operation, and the user does not need to manually adjust the result of the editing operation, which avoids overlap and user re-editing to a certain extent, reduces the difficulty of user editing, makes the user's operation more convenient, and thus improves the user's experience.

[0040] Next, the detailed implementation process of step 101 to step 103 is introduced.

[0041] In step 101, the editing interface is a user editing interface on the handheld printer, and the size of the editing interface is adapted to the size of the display interface of the handheld printer, for example, the size of the editing interface is 3 / 4 of the size of the display interface, etc. The multiple content objects can be various forms of content such as text, pictures, QR codes, barcodes, dates, labels, etc.

[0042] The editing operation corresponding to the content object may be moving, arranging, etc. Taking the moving operation as an example, the editing operation corresponding to the content object may be moving one content object to the front, back, or top of another content object, etc. For each content object, each input content object will have a corresponding coordinate area on the editing interface. When the editing operation is performed, the content objects may overlap. Therefore, it is necessary to determine whether the editing operation will cause multiple content objects to overlap on the editing interface.

[0043] As an optional implementation, step 101 may include: determining, based on the editing operation, whether the areas occupied by multiple content objects on the editing interface after the editing operation overlap; if the areas occupied by multiple content objects on the editing interface after the editing operation overlap, determining that the editing operation will cause the multiple content objects to overlap on the editing interface.

[0044] In this embodiment, for the area occupied after the editing operation, for example, a move operation is to move a content object from position A to position B, then the area occupied by the content object after the editing operation is the area where position B is located. Further, when performing the editing operation, the position of only one content object among multiple content objects may need to be changed, then at this time, the area occupied by the other content objects except the one content object after the editing operation is the initial occupied area.

[0045] The occupied area is related to the form of the content object. For example, if the content object is a string of text, then the area occupied by the string of text is related to the length and width of the string of text; if the content object is a picture, then the area occupied by the picture is related to the size of the picture. Of course, the size here refers to the size of the picture on the current editing interface. If the content object is in other forms, it is similar to the two listed forms and will not be listed here one by one.

[0046] When determining whether the areas occupied by the content objects overlap, it can be achieved through the coordinates of the areas occupied by the content objects. For example, the coordinates of all coordinate points in the areas occupied by the content objects are compared. If the same coordinates appear, it means that the two occupied areas overlap. If the same coordinates do not appear, it means that the two occupied areas do not overlap.

[0047] In addition, it should be noted that in step 101, only a judgment is needed on whether there is overlap, and the result after executing the editing operation will not be displayed. This is equivalent to the user entering an editing operation, and the handheld printer judges and processes the editing operation in the background so that the result the user finally sees is a result without content overlap.

[0048] Further, if it is determined that the areas occupied by the multiple content objects after the editing operation overlap, it is determined that the editing operation will cause the multiple content objects to overlap on the editing interface, and step 102 is executed. If it is determined that the areas occupied by the multiple content objects after the editing operation do not overlap, it is determined that the editing operation will not cause the multiple content objects to overlap on the editing interface, and the editing operation can be directly executed at this time, and the result after executing the editing operation is displayed.

[0049] In the embodiment of the present application, when judging whether the editing operation will cause multiple content objects to overlap on the editing interface, the editing interface can be regarded as multiple area blocks. Assuming that the areas occupied by multiple content objects overlap after the editing operation, it means that when the multiple content objects are finally displayed, they will also overlap. Therefore, it can be judged whether the content objects overlap by the overlap of the areas. Through this judgment method, a result can be obtained quickly and accurately, improving the efficiency of information processing.

[0050] In step 102, the positions of the multiple content objects on the editing interface are adjusted according to the editing operation to obtain corresponding adjustment results. This step is equivalent to an anti-overlapping processing process. Step 102 can be implemented differently for different editing operations. As an optional implementation, assuming that the multiple content objects include a first content object and a second content object, step 102 includes: if the editing operation is to move the first content object to the target direction of the second content object, determine whether there is a matching area in the target direction that does not overlap with the area where the second content object is located and is not occupied and can accommodate the first content object; if there is a matching area in the target direction, move the first content object to the matching area to obtain an adjustment result.

[0051] The plurality of content objects may include other content objects in addition to the first content object and the second content object, but the content objects involved in the moving operation are the first content object and the second content object. As for the target direction, assuming that the coordinates include an X coordinate and a Y coordinate, the target direction may be an X coordinate direction, a Y coordinate direction, or other directions based on the X and Y coordinate directions.

[0052] Furthermore, the matching area is an area that does not overlap with the area where the second content object is located and is not occupied and can accommodate the first content object. It can be understood as an area that does not overlap with the area where the second content object is located in the target direction, and the size of the area can meet the size requirements of the first content object. Furthermore, if there is a matching area, when the first content object is moved to the matching area, the first content object can be moved to a position on the matching area close to the second content object, so that the arrangement of the first content object and the second content object is more neat and beautiful.

[0053] In addition, in this embodiment, the editing operation may be to move to a specified position in the target direction or only to a specified position, that is, to specify the position to which the first content is to be moved. If this is the case, the matching area is an area where the specified position is located that does not overlap with the area where the second object is located and can accommodate the first content object. When it is determined that there is such a matching area, the first content object is moved to the matching area.

[0054] In an embodiment of the present application, assuming that the editing operation is to move the first content object to the target direction of the second content object, it is possible to first determine whether there is a matching area in the target direction. If so, the first content object is moved to the matching area, thereby avoiding overlap between the first content object and the second content object on the editing interface, thereby quickly and accurately achieving anti-overlap processing.

[0055] In step 102, there is also a case where there is no matching area. In this case, the method further includes: if there is no matching area in the target direction, the first content object is not moved to obtain an adjustment result.

[0056] In this implementation, when no matching area is found during the anti-processing process, the user's editing operation may not be executed, that is, the first content object is not moved, and the user's editing operation is assumed to be invalid. Anti-overlapping is achieved through invalid editing operations, thereby improving the efficiency of information processing.

[0057] Further, after the adjustment result is obtained in step 102, step 103 is executed to feed back the editing result corresponding to the editing operation according to the adjustment result. Since a matching area may or may not be found in step 102, step 103 also has different implementation methods.

[0058] If a matching area is found in step 102, step 103 includes: displaying the adjustment result on the editing interface. In this embodiment, the adjustment result obtained after anti-overlapping processing can be directly displayed as the editing result corresponding to the editing operation, so that there is no overlapping content on the editing interface seen by the user, thereby improving the user experience.

[0059] If no matching area is found in step 102, step 103 includes: generating a user prompt indicating that the editing operation failed as the editing result corresponding to the editing operation and feeding back the result. In this embodiment, since there is no matching area, if the user's editing operation is performed and the result is fed back, the content seen by the user will overlap. Therefore, a user prompt can be generated to inform the user that the editing operation failed, so that the user can perform the editing operation again. The feedback method can be to display the user prompt on the editing interface.

[0060] In an embodiment of the present application, when the adjustment result has not been subjected to anti-overlap processing and the user's editing operation has not been executed, by generating a user prompt and feedback indicating that the editing operation has failed, the user can be made aware that the input editing operation is inappropriate and the final result is not suitable for printing, thereby avoiding waste of resources.

[0061] After step 103, the user can see the corresponding content on the editing interface. Assuming that the content object seen by the user is the content after the anti-overlapping processing is performed by the matching area, the user can further confirm the content object at this time. After confirming that it is correct, the user can perform operations such as saving or printing. For the handheld printer, after receiving the operation instruction initiated by the user, the user's operation instruction is executed to realize the printing function of the handheld printer.

[0062] In order to make the information processing method provided by the embodiment of the present application easier to understand, it is further introduced in conjunction with a specific example. In the following example, it is assumed that the target direction includes an X direction and a Y direction, and the content object is a character string.

[0063] Please refer to Figure 2 and Figure 3 , which is an example diagram of content objects overlapping in the X direction provided by an embodiment of the present application, Figure 2 In , the character strings "12345" and "Abcd" overlap in the X direction; Figure 3 In the example, the character strings "12345", "Abcd", and "ABCDEFGH" overlap in the X direction.

[0064] Please refer to Figure 4 and Figure 5 , which is an example diagram of content objects overlapping in the Y direction provided by an embodiment of the present application, Figure 4 In , the strings "Abcd" and "ABCD" overlap in the Y direction; Figure 5 In the figure, the character strings "12345", "Abcd", and "ABCDEFGH" overlap in the Y direction.

[0065] Please refer to Figure 6 , which is an example diagram of content objects overlapping in both the X and Y directions provided in an embodiment of the present application. Figure 6 In the example, the character strings "12345", "Abcd", and "ABCD" overlap in both the X and Y directions.

[0066] Please refer to the following Figure 7 , which is an example diagram of the first anti-overlapping process provided in the embodiment of the present application, Figure 7 In the example, assume that the user inputs three strings: "12345", "Abcd" and "ABCD". The corresponding editing operation is to move the string "Abcd" to the back of the string "12345". At this time, if the user's move operation is executed, the string "12345" and the string "Abcd" will overlap. Through anti-overlapping processing, the string "Abcd" can be moved to a suitable position after the string "12345" to form a new string "12345Abcd".

[0067] Please refer to the following Figure 8 , which is an example diagram of the second anti-overlapping process provided in the embodiment of the present application, Figure 8 In the example, it is assumed that the user inputs three strings: "12345", "Abcd" and "ABCDEFGH", and the editing operation is to move the string "ABCDEFGH" to the back of the string "12345". However, after the string "ABCDEFG" is moved, it will overlap with the string "12345" in the X direction and with the string "Abcd" in the Y direction, and this overlap cannot be avoided, that is, there is no matching area. At this time, the user's editing operation is not executed, and a prompt prompts that the editing operation failed, and the string "ABCDEFGH" returns to its initial position on the editing interface.

[0068] Please refer to the following Fig. 9 , which is an example diagram of the third anti-overlapping processing provided in the embodiment of the present application, Fig. 9 In the example, assume that the user inputs three strings: "12345", "Abcd" and "ABCD". The corresponding editing operation is to move the string "Abcd" to the bottom of the string "12345" and to the top of the string "ABCD". At this time, if the user's move operation is performed, the string "ABCD" and the string "Abcd" will overlap. Through anti-overlapping processing, the string "Abcd" can be moved to a suitable position above the string "ABCD", and the final display result has no overlapping content.

[0069] Please refer to the following Fig.10 , which is an example diagram of the fourth anti-overlapping processing provided in the embodiment of the present application, Fig.10 In the example, it is assumed that the user inputs three strings: "12345", "Abcd" and "ABCDEFGH", and the editing operation is to move the string "Abcd" to the bottom of the string "12345". However, after the string "Abcd" is moved, it will overlap with the string "12345" and the string "ABCDEFGH" in the Y direction, and this overlap cannot be avoided, that is, there is no matching area. At this time, the user's editing operation is not executed, and a prompt prompts that the editing operation failed, and the string "Abcd" returns to its initial position on the editing interface.

[0070] It can be seen from the above examples that the information processing method provided by the embodiments of the present application can avoid overlap to a certain extent, reduce the difficulty of user editing, provide a good user experience in the UI operation interface, and improve editing efficiency.

[0071] Based on the same invention concept, please refer to Fig.11, is a structural diagram of an information processing device 200 provided in an embodiment of the present application, including: a processing module 201 and a feedback module 202.

[0072] The processing module 201 is used to: upon receiving multiple content objects input by a user on an editing interface and editing operations corresponding to the multiple content objects, determine whether the editing operations will cause the multiple content objects to overlap on the editing interface; if the editing operations will cause the multiple content objects to overlap on the editing interface, adjust the positions of the multiple content objects on the editing interface according to the editing operations to obtain corresponding adjustment results. The feedback module 202 is used to feed back the editing results corresponding to the editing operations according to the adjustment results.

[0073] Optionally, the processing module 201 is specifically used to: determine, based on the editing operation, whether the areas occupied by the multiple content objects on the editing interface after the editing operation overlap; if the areas occupied by the multiple content objects on the editing interface after the editing operation overlap, determine that the editing operation will cause the multiple content objects to overlap on the editing interface.

[0074] Optionally, the processing module 201 is further specifically used for: if the editing operation is to move the first content object to the target direction of the second content object, determining whether there is a matching area in the target direction that does not overlap with the area where the second content object is located and is not occupied and can accommodate the first content object; if there is a matching area in the target direction, moving the first content object to the matching area to obtain the adjustment result.

[0075] Optionally, the feedback module 202 is specifically configured to: display the adjustment result on the editing interface.

[0076] Optionally, the processing module 201 is further configured to: if there is no matching area in the target direction, not move the first content object, and obtain the adjustment result.

[0077] Optionally, the feedback module 202 is further specifically configured to: generate a user prompt indicating that the editing operation has failed as the editing result corresponding to the editing operation and provide feedback.

[0078] Based on the same inventive concept, the embodiment of the present application also provides a handheld printer, including a processor and a display. The processor can be an integrated circuit chip with signal processing capabilities. It can be a general-purpose processor, including a CPU (Central Processing Unit), NP (Network Processor), etc.; it can also be a digital signal processor, a dedicated integrated circuit, a ready-made programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component. It can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.

[0079] The processor is used to: upon receiving multiple content objects input by a user on an editing interface and editing operations corresponding to the multiple content objects, determine whether the editing operations will cause the multiple content objects to overlap on the editing interface; if the editing operations will cause the multiple content objects to overlap on the editing interface, adjust the positions of the multiple content objects on the editing interface according to the editing operations to obtain corresponding adjustment results. The display is used to feed back the editing result corresponding to the editing operation according to the adjustment result.

[0080] Optionally, the processor is specifically used to: determine, based on the editing operation, whether the areas occupied by the multiple content objects on the editing interface after the editing operation overlap; if the areas occupied by the multiple content objects on the editing interface after the editing operation overlap, determine that the editing operation will cause the multiple content objects to overlap on the editing interface.

[0081] Optionally, the processor is further used to: if the editing operation is to move the first content object to the target direction of the second content object, determine whether there is a matching area in the target direction that does not overlap with the area where the second content object is located and is not occupied and can accommodate the first content object; if there is a matching area in the target direction, move the first content object to the matching area to obtain the adjustment result.

[0082] Optionally, the display is specifically used to: display the adjustment result on the editing interface.

[0083] Optionally, the processor is further configured to: if there is no matching area in the target direction, not move the first content object, and obtain the adjustment result.

[0084] Optionally, the display is further used to: generate a user prompt indicating that the editing operation has failed as an editing result corresponding to the editing operation and provide feedback.

[0085] The various implementation methods and specific examples in the information processing method in the aforementioned embodiment are also applicable to the various modules in the information processing device 200 and the various hardware modules in the handheld printer. Through the aforementioned detailed description of the information processing method, those skilled in the art can clearly know the implementation methods of each module / hardware module, so for the sake of brevity of the specification, they will not be described in detail here.

[0086] Based on the same inventive concept, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a computer, the information processing method described in any of the above embodiments is executed.

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

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

[0089] Furthermore, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0090] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any such actual relationship or order between these entities or operations.

[0091] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method of information processing, characterized in that: Applied to a handheld printer, the method comprises: Upon receiving a plurality of content objects and editing operations corresponding to the plurality of content objects input by a user on an editing interface, determining whether the editing operations will cause the plurality of content objects to overlap on the editing interface; If the editing operation causes the multiple content objects to overlap on the editing interface, adjusting the positions of the multiple content objects on the editing interface according to the editing operation to obtain corresponding adjustment results; Feedback an editing result corresponding to the editing operation according to the adjustment result; The multiple content objects include a first content object and a second content object, and the adjusting positions of the multiple content objects on the editing interface according to the editing operation to obtain corresponding adjustment results includes: If the editing operation is to move the first content object to the target direction of the second content object, determine whether there is a matching area in the target direction that does not overlap with the area where the second content object is located and is not occupied and can accommodate the first content object; wherein the target direction is forward, backward or upward; If the matching area exists in the target direction, moving the first content object to the matching area to obtain the adjustment result; If there is no matching area in the target direction, the first content object is not moved, and the adjustment result is obtained.

2. The method according to claim 1, characterized in that: The determining whether the editing operation will cause the multiple content objects to overlap on the editing interface includes: determining, according to the editing operation, whether the areas occupied by the multiple content objects on the editing interface after the editing operation overlap; If the areas occupied by the multiple content objects on the editing interface overlap after the editing operation, it is determined that the editing operation will cause the multiple content objects to overlap on the editing interface.

3. The method according to claim 1, characterized in that Feedback of the editing result corresponding to the editing operation according to the adjustment result includes: If the matching area exists in the target direction, the first content object is moved to the matching area to obtain the adjustment result, and the adjustment result is displayed on the editing interface; If there is no matching area in the target direction, the first content object is not moved, the adjustment result is obtained, and a user prompt indicating that the editing operation fails is generated as the editing result corresponding to the editing operation and fed back.

4. An information processing device, characterized in that: Applied to a handheld printer, the device comprises: a processing module, configured to: upon receiving a plurality of content objects input by a user on an editing interface and editing operations corresponding to the plurality of content objects, determine whether the editing operations will cause the plurality of content objects to overlap on the editing interface; If the editing operation causes the multiple content objects to overlap on the editing interface, adjusting the positions of the multiple content objects on the editing interface according to the editing operation to obtain corresponding adjustment results; A feedback module, used for feeding back an editing result corresponding to the editing operation according to the adjustment result; The processing module is further configured to, if the editing operation is to move the first content object to a target direction of the second content object, determine whether there is a matching area in the target direction that does not overlap with and is not occupied by the area where the second content object is located and can accommodate the first content object; If the matching area exists in the target direction, the first content object is moved to the matching area to obtain the adjustment result; wherein the target direction is forward, backward or upward; If there is no matching area in the target direction, the first content object is not moved, and the adjustment result is obtained.

5. A handheld printer, characterized in that: include: The processor is configured to: upon receiving a plurality of content objects input by a user on an editing interface and editing operations corresponding to the plurality of content objects, determine whether the editing operations will cause the plurality of content objects to overlap on the editing interface; If the editing operation causes the multiple content objects to overlap on the editing interface, adjusting the positions of the multiple content objects on the editing interface according to the editing operation to obtain corresponding adjustment results; A display, used to feed back an editing result corresponding to the editing operation according to the adjustment result; The processor is further configured to, if the editing operation is to move the first content object to a target direction of the second content object, determine whether there is a matching area in the target direction that does not overlap with and is not occupied by an area where the second content object is located and can accommodate the first content object; If the matching area exists in the target direction, the first content object is moved to the matching area to obtain the adjustment result; wherein the target direction is forward, backward or upward; If there is no matching area in the target direction, the first content object is not moved, and the adjustment result is obtained.

6. The handheld printer according to claim 5, characterized in that: The processor is specifically configured to: determine, according to the editing operation, whether the areas occupied by the multiple content objects on the editing interface after the editing operation overlap; If the areas occupied by the multiple content objects on the editing interface overlap after the editing operation, it is determined that the editing operation will cause the multiple content objects to overlap on the editing interface.

7. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a computer, the method according to any one of claims 1 to 3 is executed.

Citation Information

Patent Citations

  • Information processing apparatus and method of controlling same

    US20080068346A1