WO2024066505A1 - Procédé et appareil d'affichage de contenu, et support de stockage - Google Patents

Procédé et appareil d'affichage de contenu, et support de stockage Download PDF

Info

Publication number
WO2024066505A1
WO2024066505A1 PCT/CN2023/101417 CN2023101417W WO2024066505A1 WO 2024066505 A1 WO2024066505 A1 WO 2024066505A1 CN 2023101417 W CN2023101417 W CN 2023101417W WO 2024066505 A1 WO2024066505 A1 WO 2024066505A1
Authority
WO
WIPO (PCT)
Prior art keywords
content
closed
display
format
touch screen
Prior art date
Application number
PCT/CN2023/101417
Other languages
English (en)
Chinese (zh)
Inventor
全赛彬
田韫
杨阳
冷继南
郑文植
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2024066505A1 publication Critical patent/WO2024066505A1/fr

Links

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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Definitions

  • the present invention relates to the field of computer technology, and in particular to a method, device and storage medium for displaying content.
  • An electronic device with a touch screen is an advanced educational or conference-assisted human-computer interaction device. It can be used with projectors, computers and other tools to achieve functions such as dust-free writing and free writing. With the popularity of online meetings, electronic whiteboards are also being used more and more.
  • This type of electronic device not only has traditional text writing functions, but also can provide rich derivative functions such as graphics, tables, documents, audio and video. Among them, the user can write in the table provided by the electronic whiteboard, and then the electronic whiteboard displays the content written by the user.
  • the content displayed on the touch screen is often consistent with the content entered by the user, which means that when there is a problem with the format of the content entered by the user, manual adjustment is often required, which greatly affects the user experience.
  • the embodiments of the present application provide a method, apparatus, storage medium, computing device and product including a computer program for displaying content, which can make the format of the content handwritten input by the user on the electronic device more unified or beautiful, enhance the user's visual experience, and improve the convenience of user use.
  • the present application provides a method for displaying content, which is applied to an electronic device with a touch screen, and a first closed figure is displayed on the touch screen.
  • the method includes: obtaining a first handwriting trajectory input by a user in the first closed figure; displaying the first handwriting trajectory on the touch screen; obtaining first content according to the first handwriting trajectory; determining a first display format of the first content, the first display format including a first display position of the first content in the first closed figure, the first display position being different from the display position of the first handwriting trajectory on the touch screen; and displaying the first content on the touch screen in the first display format.
  • the handwriting of the user can be displayed on the touch screen, and the first content input by the user can be obtained according to the handwriting.
  • the display format of the display position containing the first content can be determined, and the first content can be displayed according to the display position, so that the content input by the user displayed by the electronic device can be in a suitable position, which is convenient for the user to view and improves the convenience of the user when using.
  • the first content is obtained by performing optical character recognition (OCR) on the first handwriting trajectory.
  • OCR optical character recognition
  • the first content is text, numbers, or patterns.
  • the method further includes: stopping displaying the first handwriting trace on the touch screen.
  • determining a first display format of the first content includes: determining a first display position according to a content alignment format of the first closed graphic or a predefined content alignment format, where the content alignment format includes any one of left alignment, right alignment, center alignment, both end alignment, and distributed alignment.
  • the display position can be determined by determining the alignment format, so that the first content can be displayed at an appropriate position in the closed graphic, thereby improving the user experience.
  • the first display format further includes a first display size of the first content, so that the size of the first content displayed on the electronic device is a size suitable for the user to view, thereby improving the user experience.
  • the first display size is different from the display size of the first handwriting trace on the touch screen.
  • determining the first display format of the first content includes: The first display size is determined according to the content size specification; or, the first display size is determined according to the display size of the first handwriting track on the touch screen.
  • the first content can be displayed in a suitable size in the first closed graphic, and the user experience will not be affected due to the font being too large or too small.
  • the first display format further includes: a display color of the first content.
  • the first content is text
  • the first display format also includes a font of the first content.
  • the method also includes: obtaining a second handwriting trajectory input by the user in the first closed figure; obtaining a second content according to the second handwriting trajectory; determining a second display format according to the first display format, the second display format including a second display position of the first content and the second content in the first closed figure; and displaying the first content and the second content on the touch screen in the second display format.
  • the content input by the user for the second time can be combined with the content input for the first time to form a whole, and the whole can be displayed at a suitable position to meet the user's usage habits.
  • the method before displaying the first content and the second content on the touch screen in the second display format, the method further includes: displaying a second handwriting trace on the touch screen; and stopping displaying the second handwriting trace on the touch screen after a preset time period.
  • the second display position is determined by the first content alignment format; and determining the second display format according to the first display format includes: determining the second display position according to the first content alignment format.
  • the second display format includes the first content and a second display size of the second content, where the second display size is the same as the first display size.
  • a second closed figure is also displayed on the touch screen, and the method further includes: obtaining a third handwriting trajectory input by the user in the second closed figure; obtaining third content according to the third handwriting trajectory; determining a third display format of the third content, the third display format including a third display position of the third content in the second closed figure, the third display position being obtained according to a content alignment format of the second closed figure or a predefined content alignment format; and displaying the third content on the touch screen in the third display format.
  • the content alignment format of the first closed figure is consistent with the content alignment format of the second closed figure. In this way, the content in the two closed figures can maintain a unified alignment format, making the content look more neat.
  • the third display format further includes a third display size of the third content, and the third display size is consistent with the first display size.
  • the content in the two closed graphics can also maintain a uniform size specification, for example, the same font size, so that the content can look more neat.
  • the method before displaying the third content on the touch screen in the third display format, the method further includes: displaying a third handwriting trace on the touch screen; and stopping displaying the third handwriting trace on the touch screen after a preset time period.
  • the method further includes: in response to a fourth handwriting track input by the user in the second closed figure, enlarging the second closed figure; obtaining a fourth content according to the fourth handwriting track; determining a fourth display format of the third content and the fourth content according to the enlarged second closed figure and the third display format, the fourth display format including a fourth display position of the third content and the fourth content in the enlarged second closed figure, the fourth display position being obtained according to the content alignment format of the second closed figure or a predefined content alignment format; and displaying the third content and the fourth content on the touch screen in the fourth display format.
  • the second closed figure cannot accommodate the user's input content.
  • enlarging the second closed figure can make the user's input content all within the closed figure, which is in line with the user's usage habits.
  • the method before displaying the third content and the fourth content on the touch screen in a fourth display format, the method also includes: displaying an enlarged second closed figure on the touch screen; displaying a fourth handwriting trajectory on the touch screen; and stopping displaying the fourth handwriting trajectory on the touch screen after a preset time period.
  • the first closed figure and the second closed figure are rectangles, and the first closed figure and the second closed figure are aligned
  • the method further includes: enlarging the first closed figure according to the enlarged second closed figure so that the enlarged first closed figure and the enlarged second closed figure are aligned; determining a fifth display format of the first content in the enlarged first closed figure, the fifth display format including the display position of the first content in the enlarged first closed figure; and displaying the first content on the touch screen in the fifth display format.
  • the first closed figure and the second closed figure are both rectangles and the first closed figure and the second closed figure are aligned
  • the first closed figure and the second closed figure can be regarded as a table with two cells.
  • the other cell is synchronously adjusted according to the adjusted cell, which will make the two cells still aligned, which is more in line with the user's usage habits.
  • the method further includes: in response to the user deleting the fourth content in the second closed figure, reducing the second closed figure; and displaying the third content on the touch screen in a third display format.
  • the method further includes: reducing the first closed figure according to the reduced second closed figure so that the reduced first closed figure is aligned with the reduced second closed figure; determining a sixth display format of the first content in the reduced first closed figure, the sixth display format including a display position of the first content in the reduced first closed figure; and displaying the first content on the touch screen in the sixth display format.
  • the first content includes a plurality of identifiers in a sequential relationship
  • determining the first display format of the first content includes: performing line break processing on the first content according to the plurality of identifiers; and determining a first display position of the first content after line break processing according to a content alignment format of the first closed figure or a predefined content alignment format. In this way, line break is performed on the input content in the first content and the second content, making it more convenient for the user to view the displayed content.
  • a third closed figure is further displayed on the touch screen, the first closed figure, the second closed figure, and the third closed figure are rectangular, and the first closed figure, the second closed figure, and the third closed figure are aligned, and the first content and the third content include identifiers with a sequential relationship
  • the method further includes: filling the fifth content in the third closed figure so that the first content, the third content, and the fifth content include identifiers with a sequential relationship.
  • the identifiers with a sequential relationship are numbers with a sequential increasing relationship or a sequential decreasing relationship; or, they are letters with a sequential increasing relationship or a sequential decreasing relationship.
  • a third closed figure is also displayed on the touch screen, the first closed figure, the second closed figure, and the third closed figure are rectangles, and the first closed figure, the second closed figure, and the third closed figure are aligned, the first content and the third content are numbers, and the method also includes: filling the third closed figure with fifth content, the fifth content is a number, and the fifth content is calculated by the first content and the third content according to a predetermined formula.
  • the numbers input by the user can be automatically calculated, which can save the user from having to perform the calculations themselves, saving the user's time and improving the user's usage efficiency.
  • the present application provides a method for displaying content, which is applied to an electronic device with a touch screen, and a first closed figure is displayed on the touch screen.
  • the method includes: obtaining a first handwriting trajectory input by a user in the first closed figure; displaying the first handwriting trajectory on the touch screen; adjusting the display position of the first handwriting trajectory in the first closed figure according to a content alignment format or a predefined content alignment format in the first closed figure; and displaying the first handwriting trajectory on the touch screen at the adjusted display position.
  • the handwriting of the user can be displayed on the touch screen and the display position of the handwriting can be adjusted, so that the content input by the user displayed on the electronic device can be in a suitable position and the user's handwriting style can be retained, which is convenient for the user to view and improves the convenience of user use.
  • the method further includes: adjusting the display size of the first handwriting trajectory according to a predefined display size; displaying the first handwriting trajectory on the touch screen at the adjusted display position, including: displaying the first handwriting trajectory on the touch screen at the adjusted display position and at the adjusted display size.
  • the present application provides a device for displaying content, which is deployed in an electronic device with a touch screen, and a first closed figure is displayed on the touch screen.
  • the device may include: an acquisition module, used to acquire a first handwriting trajectory input by a user in the first closed figure; a display module, used to display the first handwriting trajectory on the touch screen; a processing module, used to obtain first content according to the first handwriting trajectory; the processing module is also used to determine a first display format of the first content, the first display format includes a first display position of the first content in the first closed figure, and the first display position is different from the display position of the first handwriting trajectory on the touch screen; the display module is also used to display the first content on the touch screen in the first display format.
  • the first content is obtained by performing optical character recognition (OCR) on the first handwriting trajectory.
  • OCR optical character recognition
  • the first content is text, numbers, or patterns.
  • the display module is further configured to stop displaying the first handwriting trace on the touch screen.
  • the processing module is further used to: determine the first display position according to the content alignment format of the first closed graphic or a predefined content alignment format, the content alignment format including any one of left alignment, right alignment, center alignment, two-end alignment and distributed alignment.
  • the first display format also includes a first display size of the first content.
  • the first display size is different from the display size of the first handwriting trace on the touch screen.
  • the processing module is further used to: determine the first display size according to a predefined content size specification of the first closed figure; or determine the first display size according to a display size of the first handwriting track on the touch screen.
  • the first display format further includes: a display color of the first content.
  • the first content is text
  • the first display format also includes a font of the first content.
  • the processing module is also used to: obtain a second handwriting trajectory input by the user in the first closed figure; obtain the second content according to the second handwriting trajectory; determine the second display format according to the first display format, the second display format including the first content and the second content in the first closed figure.
  • the display module is also used to display the first content and the second content on the touch screen in the second display format.
  • the display module before displaying the first content and the second content on the touch screen in the second display format, is further used to: display a second handwriting trajectory on the touch screen; and stop displaying the second handwriting trajectory on the touch screen after a preset time period.
  • the second display position is determined by the first content alignment format; and the processing module is further configured to determine the second display position according to the first content alignment format.
  • the second display format includes the first content and a second display size of the second content, where the second display size is the same as the first display size.
  • a second closed figure is also displayed on the touch screen, and the acquisition module is further used to acquire a third handwriting trajectory input by the user in the second closed figure; the processing module is further used to obtain third content based on the third handwriting trajectory; determine a third display format of the third content, the third display format includes a third display position of the third content in the second closed figure, and the third display position is obtained according to the content alignment format of the second closed figure or a predefined content alignment format; the display module is further used to display the third content on the touch screen in the third display format.
  • the content alignment format of the first closed figure is consistent with the content alignment format of the second closed figure.
  • the third display format further includes a third display size of the third content, and the third display size is consistent with the first display size.
  • the display module before displaying the third content on the touch screen in the third display format, is further used to display a third handwriting track on the touch screen; after a preset time period, the third handwriting track is stopped from being displayed on the touch screen.
  • the processing module is also used to: enlarge the second closed figure in response to a fourth handwriting trajectory input by the user in the second closed figure; obtain a fourth content based on the fourth handwriting trajectory; determine a fourth display format of the third content and the fourth content based on the enlarged second closed figure and the third display format, the fourth display format including a fourth display position of the third content and the fourth content in the enlarged second closed figure, the fourth display position being obtained based on a content alignment format of the second closed figure or a predefined content alignment format; the display module is also used to display the third content and the fourth content on the touch screen in the fourth display format.
  • the display module before displaying the third content and the fourth content on the touch screen in a fourth display format, is also used to: display an enlarged second closed figure on the touch screen; display a fourth handwriting trajectory on the touch screen; and stop displaying the fourth handwriting trajectory on the touch screen after a preset time period.
  • the first closed figure and the second closed figure are rectangles, and the first closed figure and the second closed figure are aligned
  • the processing module is also used to: enlarge the first closed figure according to the enlarged second closed figure, so that the enlarged first closed figure and the enlarged second closed figure are aligned; determine a fifth display format of the first content in the enlarged first closed figure, the fifth display format includes the display position of the first content in the enlarged first closed figure; the display module is also used to display the first content on the touch screen in the fifth display format.
  • the processing module is further used to: in response to the user deleting the fourth content in the second closed figure, reduce the size of the second closed figure; and the display module is further used to display the third content on the touch screen in a third display format.
  • the processing module is also used to: reduce the first closed figure according to the reduced second closed figure so that the reduced first closed figure is aligned with the reduced second closed figure; determine a sixth display format of the first content in the reduced first closed figure, the sixth display format including the display position of the first content in the reduced first closed figure; the display module is also used to display the first content on the touch screen in the sixth display format.
  • the first content includes a plurality of identifiers in a sequential relationship
  • the processing module is further used to: perform line break processing on the first content according to the plurality of identifiers; determine the line break according to the content alignment format of the first closed figure or the predefined content alignment format; The first display position of the processed first content.
  • a third closed figure is also displayed on the touch screen, the first closed figure, the second closed figure, and the third closed figure are rectangles, and the first closed figure, the second closed figure, and the third closed figure are aligned, the first content and the third content are identifications with a sequential relationship, and the processing module is also used to: fill the fifth content in the third closed figure so that the first content, the third content, and the fifth content are identifications with a sequential relationship.
  • the identifiers with a sequential relationship are numbers with a sequential increasing relationship or a sequential decreasing relationship; or, they are letters with a sequential increasing relationship or a sequential decreasing relationship.
  • a third closed figure is also displayed on the touch screen, the first closed figure, the second closed figure, and the third closed figure are rectangles, and the first closed figure, the second closed figure, and the third closed figure are aligned, the first content and the third content are numbers, and the processing module is also used to: fill the third closed figure with fifth content, the fifth content is a number, and the fifth content is calculated by the first content and the third content according to a predetermined formula.
  • the present application provides a device for displaying content, which is deployed in an electronic device with a touch screen, and a first closed figure is displayed on the touch screen.
  • the device includes: an acquisition module, used to acquire a first handwriting trajectory input by a user in the first closed figure; a display module, used to display the first handwriting trajectory on the touch screen; a processing module, used to adjust the display position of the first handwriting trajectory in the first closed figure according to the content alignment format in the first closed figure or a predefined content alignment format; the display module is also used to display the first handwriting trajectory on the touch screen with the adjusted display position.
  • the processing module is further used to: adjust the display size of the first handwriting trajectory according to a predefined display size; the display module is further used to: display the first handwriting trajectory on the touch screen with the adjusted display position and the adjusted display size.
  • the present application provides a computer-readable storage medium, comprising computer-readable instructions.
  • a computer reads and executes the computer-readable instructions, the computer executes the method described in any one of the first aspect and/or the second aspect.
  • the present application provides a computing device comprising a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the method described in any one of the first aspect and/or the second aspect is executed.
  • the present application provides a product comprising a computer program, which, when the computer program product runs on a processor, enables the processor to execute the method as described in any one of the first aspect and/or the second aspect.
  • FIG1 is a schematic diagram of an application scenario provided by an embodiment of the present application.
  • FIG2 is a schematic diagram of an electronic device provided in an embodiment of the present application.
  • FIG3 is a schematic diagram of a display content provided by an embodiment of the present application.
  • FIG4 is a schematic diagram of a method for displaying content provided by an embodiment of the present application.
  • FIG5 is a schematic diagram of an effect of displaying content provided by an embodiment of the present application.
  • FIG6 is a schematic diagram of a font outsourcing frame provided in an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a method for an electronic device to display a second content provided by an embodiment of the present application.
  • FIG8 is a schematic diagram showing an effect of an electronic device displaying a second content provided by an embodiment of the present application.
  • FIG9 is a schematic diagram of dragging content outside a graphic into a graphic for display provided by an embodiment of the present application.
  • FIG10 is a schematic diagram of content alignment provided by an embodiment of the present application.
  • FIG11 is a schematic diagram of a method for displaying content in a second closed graphic according to an embodiment of the present application.
  • FIG12 is a schematic diagram of another method for displaying content in a second closed graphic according to an embodiment of the present application.
  • FIG13 is a schematic diagram of a graphic size adjustment provided by an embodiment of the present application.
  • FIG14 is a schematic diagram of adjusting the size of a graphic after input is completed, provided in an embodiment of the present application.
  • FIG15 is a schematic diagram of an implementation of adjusting the size of a graphic provided in an embodiment of the present application.
  • FIG16 is a schematic diagram of automatic filling of graphic content provided by an embodiment of the present application.
  • FIG17 is a schematic diagram of automatic calculation of graphic content provided by an embodiment of the present application.
  • FIG18 is a schematic diagram of automatic calculation of user selected content provided by an embodiment of the present application.
  • FIG19 is a schematic diagram of another automatic calculation of user-selected content provided by an embodiment of the present application.
  • FIG20 is a schematic diagram of a content display device provided by the present application.
  • FIG. 21 is a schematic diagram of another content display device provided in the present application.
  • a and/or B in this article is a description of the association relationship of associated objects, indicating that there can be three relationships.
  • a and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone.
  • the symbol "/" in this article indicates that the associated objects are in an or relationship, for example, A/B means A or B.
  • first and second in the specification and claims herein are used to distinguish different objects rather than to describe a specific order of the objects.
  • a first response message and a second response message are used to distinguish different response messages rather than to describe a specific order of the response messages.
  • words such as “exemplary” or “for example” are used to indicate examples, illustrations or descriptions. Any embodiment or design described as “exemplary” or “for example” in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as “exemplary” or “for example” is intended to present related concepts in a specific way.
  • multiple means two or more than two.
  • multiple processing units refer to two or more processing units, etc.; multiple elements refer to two or more elements, etc.
  • the electronic device can be a portable electronic device with a processor, such as a mobile phone, a tablet computer, a wearable device with a wireless communication function (such as a smart watch, etc.), a vehicle-mounted device, etc.
  • portable electronic devices include but are not limited to devices equipped with Or a portable electronic device with other operating systems.
  • the portable electronic device may also be a laptop computer (Laptop) with a touch-sensitive surface (such as a touch panel, etc.).
  • the electronic device may not be a portable device, for example, it may be an electronic whiteboard, such as a cabinet electronic whiteboard or a wall-mounted electronic whiteboard, or it may be a desktop computer, such as a PC, or it may be a television, etc.
  • an electronic whiteboard such as a cabinet electronic whiteboard or a wall-mounted electronic whiteboard
  • a desktop computer such as a PC
  • FIG1 exemplarily shows a schematic diagram of an application scenario provided by an embodiment of the present application.
  • the application scenario includes a user 100 and an electronic device 200, and the electronic device 200 includes a touch screen.
  • multiple applications can be installed in the electronic device 200, such as video conferencing, screen writing, whiteboard, file management, camera, image and other applications.
  • the electronic device 200 can use the display content method provided in the embodiment of the present application to adjust the display format of the content (e.g., text or pattern, etc.) input by the user 100, and display the content input by the user 100 on the touch screen in the adjusted display format.
  • the user 100 can see that the content displayed on the touch screen is the content of the adjusted display format, so that the content displayed on the touch screen is more unified or beautiful, which enhances the user's visual experience and improves the convenience of the user when using it.
  • FIG. 1 only schematically provides an application scenario and does not limit the application scenario of the method for displaying content provided in the present application.
  • the electronic device 200 with a processor is separated from the touch screen, and the electronic device 200 and the touch screen can be connected via a wired or wireless method.
  • the touch screen can be used to obtain the operation instructions of the user 100, and send the instructions to the processor via a wired or wireless method for execution, and the processor returns the execution result to the processor.
  • the method for displaying content provided in this application can be applied to many more scenarios, which will not be listed one by one in this application.
  • the electronic device may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 251, a wireless communication module 252, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc.
  • SIM subscriber identification module
  • the sensor module 280 may include a pressure sensor 280A, a gyroscope sensor 280B, an air pressure sensor 280C, an acceleration sensor 280D, a proximity light sensor 280E, an ambient light sensor 280F, a fingerprint sensor 280G, a temperature sensor 280H and a touch sensor 280I.
  • the electronic device 200 may also include other sensors, such as a magnetic sensor, a distance sensor, a bone conduction sensor, etc.
  • the antenna 1 and antenna 2 shown in FIG. 2 are examples, and other antennas may also be included in other embodiments.
  • the electronic device shown in FIG. 2 is only an example and does not constitute a limitation on the electronic device.
  • the electronic device 200 may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations.
  • the various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application-specific integrated circuits.
  • the processor 210 in FIG. 2 may include one or more processing units.
  • the processor 210 may include an application processor (AP), a baseband processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP) and/or a neural-network processing unit (NPU).
  • AP application processor
  • GPU graphics processor
  • ISP image signal processor
  • controller may be the nerve center and command center of the electronic device 200.
  • the controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions.
  • the processor 210 may also be provided with a memory for storing instructions and data.
  • the memory in the processor 210 is a cache memory.
  • the memory may store instructions or data that the processor 210 has just used or cyclically used.
  • the memory may store program code for a method for displaying content. If the processor 210 needs to use the instruction or data again, it may be directly called from the memory, thereby avoiding repeated access, reducing the waiting time of the processor 210, and thus improving the efficiency of the system.
  • the processor 210 can run the display content method provided in the present application, and the processor 210 can respond to the user's operation on the touch screen and start the function corresponding to the user's operation.
  • the processor 210 integrates different devices, such as integrating a CPU and a GPU, the CPU and the GPU can cooperate to execute the display content method provided in the present application to obtain faster processing efficiency.
  • the external memory interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 200.
  • the external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function. For example, files such as pictures and videos can be saved in the external memory card.
  • the internal memory 221 can be used to store computer executable program codes, and the executable program codes include instructions.
  • the internal memory 221 may include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc., for example, a program code for a method of displaying content may be stored.
  • the data storage area may store data created during the use of the electronic device 200 (such as audio data, a phone book, etc.), etc.
  • the internal memory 221 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
  • the processor 210 executes various functional applications and data processing of the electronic device 200 by running instructions stored in the internal memory 221 and/or instructions stored in a memory provided in the processor.
  • the processor 210 may include one or more interfaces.
  • the interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input/output (GPIO) interface, A subscriber identity module (SIM) interface, and/or a universal serial bus (USB) interface, etc.
  • I2C inter-integrated circuit
  • I2S inter-integrated circuit sound
  • PCM pulse code modulation
  • UART universal asynchronous receiver/transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL).
  • the processor 210 may include multiple groups of I2C buses.
  • the processor 210 may be coupled to the touch sensor 280K, the charger, the flash, the camera 293, etc. through different I2C bus interfaces.
  • the processor 210 may be coupled to the touch sensor 280K through the I2C interface, so that the processor 210 communicates with the touch sensor 280K through the I2C bus interface, thereby realizing the touch function of the electronic device 200.
  • the I2S interface can be used for audio communication.
  • the processor 210 can include multiple groups of I2S buses.
  • the processor 210 can be coupled to the audio module 270 via the I2S bus to achieve communication between the processor 210 and the audio module 270.
  • the audio module 270 can transmit an audio signal to the wireless communication module 252 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.
  • the PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals.
  • the audio module 270 and the wireless communication module 252 can be coupled via a PCM bus interface.
  • the audio module 270 can also transmit audio signals to the wireless communication module 252 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus for asynchronous communication.
  • the bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • the UART interface is generally used to connect the processor 210 and the wireless communication module 252.
  • the processor 210 communicates with the Bluetooth module in the wireless communication module 252 through the UART interface to implement the Bluetooth function.
  • the audio module 270 can transmit an audio signal to the wireless communication module 252 through the UART interface to implement the function of playing music through a Bluetooth headset.
  • the MIPI interface can be used to connect the processor 210 with peripheral devices such as the display screen 294 and the camera 293.
  • the MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc.
  • the processor 210 and the camera 293 communicate via the CSI interface to realize the shooting function of the electronic device 200.
  • the processor 210 and the display screen 294 communicate via the DSI interface to realize the display function of the electronic device 200.
  • the GPIO interface can be configured by software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface can be used to connect the processor 210 with the camera 293, the display 294, the wireless communication module 252, the audio module 270, the sensor module 280, etc.
  • the GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
  • the USB interface 230 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc.
  • the USB interface 230 can be used to connect a charger to charge the electronic device 200, and can also be used to transmit data between the electronic device 200 and a peripheral device. It can also be used to connect headphones to play audio through the headphones.
  • the interface can also be used to connect other electronic devices, such as AR devices, etc.
  • the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 200.
  • the electronic device 200 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
  • the charging management module 240 is used to receive charging input from a charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 240 may receive charging input from a wired charger through the USB interface 230.
  • the charging management module 240 may receive wireless charging input through a wireless charging coil of the electronic device 200. While the charging management module 240 is charging the battery 242, it may also power the electronic device 200 through the power management module 241.
  • the power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210.
  • the power management module 241 receives input from the battery 242 and/or the charging management module 240, and supplies power to the processor 210, the internal memory 221, the display screen 294, the camera 293, and the wireless communication module 252.
  • the power management module 241 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc.
  • the power management module 241 can also be set in the processor 210.
  • the power management module 241 and the charging management module 240 can also be set in the same device.
  • the wireless communication function of the electronic device 200 can be realized through the antenna 1, the antenna 2, the mobile communication module 251, the wireless communication module 252, It is implemented by modem processor and baseband processor.
  • Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the electronic device 200 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas.
  • antenna 1 can be reused as a diversity antenna for a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 251 can provide solutions for wireless communications including 2G/3G/4G/5G applied to the electronic device 200.
  • the mobile communication module 251 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc.
  • the mobile communication module 251 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 251 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.
  • at least some of the functional modules of the mobile communication module 251 can be set in the processor 210.
  • at least some of the functional modules of the mobile communication module 251 can be set in the same device as at least some of the modules of the processor 210.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
  • the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the application processor outputs a sound signal through an audio device (not limited to a speaker 270A, a receiver 270B, etc.), or displays an image or video through a display screen 294.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 210 and be set in the same device as the mobile communication module 251 or other functional modules.
  • the wireless communication module 252 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) and the like applied to the electronic device 200.
  • the wireless communication module 252 can be one or more devices integrating at least one communication processing module.
  • the wireless communication module 252 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 210.
  • the wireless communication module 252 can also receive the signal to be sent from the processor 210, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
  • the antenna 1 of the electronic device 200 is coupled to the mobile communication module 251, and the antenna 2 is coupled to the wireless communication module 252, so that the electronic device 200 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), new radio access technology (NR), BT, GNSS, WLAN, NFC, FM, and/or IR technology.
  • GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and/or a satellite based augmentation system (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation system
  • the electronic device 200 implements the display function through a GPU, a display screen 294, and an application processor.
  • the GPU is a microprocessor for image processing, which connects the display screen 294 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processor 210 may include one or more GPUs, which execute program instructions to generate or change display information.
  • the display screen 294 is used to display images, videos, etc.
  • the display screen 294 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (QLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • AMOLED active-matrix organic light-emitting diode
  • FLED flexible light-emitting diode
  • Miniled MicroLed, Micro-oLed, quantum dot light-emitting diodes (QLED), etc.
  • NPU is a neural network (NN) computing processor that draws on the structure of biological neural networks, such as By learning from the transmission mode between neurons in the human brain, the input information can be quickly processed and self-learned continuously.
  • the NPU can realize applications such as intelligent cognition of the electronic device 200, such as image recognition, face recognition, voice recognition, text understanding, etc.
  • the pressure sensor 280A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 280A can be set on the display screen 294.
  • a capacitive pressure sensor can be a parallel plate including at least two conductive materials.
  • the gyro sensor 280B can be used to determine the motion posture of the electronic device 200. In some embodiments, the angular velocity of the electronic device 200 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 280B.
  • the gyro sensor 280B can be used for shooting anti-shake.
  • the gyro sensor 280B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 280C is used to measure air pressure. In some embodiments, the electronic device 200 calculates the altitude through the air pressure value measured by the air pressure sensor 280C to assist in positioning and navigation.
  • the acceleration sensor 280D can detect the magnitude of the acceleration of the electronic device 200 in all directions (generally three axes). When the electronic device 200 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.
  • the proximity light sensor 280E may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the electronic device 200 emits infrared light outward through the light emitting diode.
  • the electronic device 200 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 200. When insufficient reflected light is detected, the electronic device 200 can determine that there is no object near the electronic device 200.
  • the electronic device 200 can use the proximity light sensor 280E to detect that the user holds the electronic device 200 close to the ear to talk, so as to automatically turn off the screen to save power.
  • the proximity light sensor 280E can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.
  • the ambient light sensor 280F is used to sense the ambient light brightness.
  • the electronic device 200 can adaptively adjust the brightness of the display screen 294 according to the perceived ambient light brightness.
  • the ambient light sensor 280F can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 280F can also cooperate with the proximity light sensor 280E to detect whether the electronic device 200 is in a pocket to prevent accidental touch.
  • the fingerprint sensor 280G is used to collect fingerprints.
  • the electronic device 200 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
  • a fingerprint sensor can be configured on the front of the electronic device 200 (below the display screen 294), or a fingerprint sensor can be configured on the back of the electronic device 200 (below the rear camera).
  • the fingerprint recognition function can also be realized by configuring a fingerprint sensor in the touch screen, that is, the fingerprint sensor can be integrated with the touch screen to realize the fingerprint recognition function of the electronic device 200.
  • the fingerprint sensor can be configured in the touch screen, can be a part of the touch screen, or can be configured in the touch screen in other ways.
  • the fingerprint sensor can also be implemented as a full-panel fingerprint sensor, so the touch screen can be regarded as a panel where fingerprints can be collected at any position.
  • the fingerprint sensor can process the collected fingerprint (for example, whether the fingerprint is verified) and send it to the processor 210, and the processor 210 makes corresponding processing according to the fingerprint processing result.
  • the fingerprint sensor can also send the collected fingerprint to the processor 210 so that the processor 210 processes the fingerprint (for example, fingerprint verification, etc.).
  • the fingerprint sensor in this application can adopt any type of sensing technology, including but not limited to optical, capacitive, piezoelectric or ultrasonic sensing technology.
  • the temperature sensor 280H is used to detect temperature.
  • the electronic device 200 uses the temperature detected by the temperature sensor 280H to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 280H exceeds a threshold, the electronic device 200 reduces the performance of a processor located near the temperature sensor 280H to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 200 heats the battery 242 to avoid abnormal shutdown of the electronic device 200 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 200 performs a boost on the output voltage of the battery 242 to avoid abnormal shutdown caused by low temperature.
  • the touch sensor 280I is also called a "touch panel”.
  • the touch sensor 280I can be set on the display screen 294.
  • the touch sensor 280I and the display screen 294 form a touch screen, also called a "touch screen”.
  • the touch sensor 280I is used to detect a touch operation acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to the touch operation may be provided through the display screen 294.
  • the touch sensor 280I may also be disposed on the surface of the electronic device 200, which is different from the location of the display screen 294.
  • FIG3 shows a schematic diagram of display content.
  • a closed figure 11 is displayed on the touch screen of the electronic device (not shown in the figure), and the closed figure is composed of 4 rectangular figures, and each rectangle can be called a cell in the closed figure 11.
  • the user can input "picture”, “shape”, “text” and “character” by handwriting in cells 111, 112, 113, and 114 respectively.
  • the electronic device can perform optical character recognition (OCR) according to the trajectory of the user's handwriting input and display the text in the corresponding cell after recognition, that is, display the content shown in FIG3 (B).
  • OCR optical character recognition
  • OCR refers to the process of an electronic device translating a shape into computer text using a character recognition method, that is, the process of an electronic device scanning text data, analyzing and processing image files, and obtaining text and board information.
  • the recognized printed text is displayed where the text is written, but the size and position of the text are not changed.
  • an embodiment of the present application provides a method for displaying content, in which the electronic device recognizes the content of the user's handwriting input and adjusts the format of the content of the user's handwriting input in the closed figure provided by the touch screen of the electronic device, so that the format of the content of the user's handwriting input on the electronic device remains relatively uniform, thereby improving the user experience.
  • the method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings.
  • Fig. 4 shows a method for displaying content. As shown in Fig. 4, the method may include:
  • S41 Acquire a first handwriting trajectory input by a user in a first closed figure displayed on a touch screen of an electronic device, and display the first handwriting trajectory on the touch screen.
  • a first closed figure is displayed on the touch screen of the electronic device.
  • the first closed figure refers to a two-dimensional plane that can be divided into several spatial shapes by outlines, which are limited recognizable shapes, such as rectangles, rhombuses, circles, trapezoids, etc.
  • the first closed figure can be an existing figure or a figure hand-drawn by the user.
  • the user performs handwriting input in the first closed figure, and the content of the handwriting input can be any text (Chinese characters, letters, numbers, etc.), patterns, etc., and the size of the content input by the user may not be fixed.
  • the first closed figure can be a blank figure or a figure that already has content. While the user is handwriting inputting content, the electronic device can obtain the trajectory of the user's input content in the first closed figure and display these trajectories on the touch screen.
  • the first handwritten trajectory may be a trajectory corresponding to one character or one pattern, or may be a trajectory corresponding to multiple characters or multiple patterns, and this application does not limit this.
  • a closed figure is displayed on the touch screen of the electronic device, and the closed figure is a rectangle.
  • the user has handwritten four characters in the rectangle.
  • the electronic device obtains the trajectory of the user's handwriting, the trajectory can be displayed in the rectangle.
  • the first content may be obtained by performing OCR recognition on the first handwriting trajectory, and each individual in the first content may be a sub-content of the first content.
  • the electronic device obtains the trajectory of the handwritten input content of the user in the first closed figure, performs OCR recognition on the trajectory, and obtains the first content input by the user.
  • the electronic device obtains the trajectory of the user's handwriting input of the first content within the first closed figure (rectangle), and performs OCR recognition on the user's handwriting trajectory to obtain the four words "graphic text” input by the user.
  • the four words "graphic text” are the first content input by the user, wherein each individual word (such as the word "picture”) is a sub-content of the first content.
  • S43 Determine a first display format of the first content, where the first display format may include a first display position of the first content in the first closed graph, wherein the first display position may be different from a display position of the first handwriting track on the touch screen.
  • the electronic device after the electronic device obtains the first content input by the user's handwriting, it can also obtain the first display format of the first content.
  • the first display format may include the first display position of the first content in the first graphic, and the touch screen can display the first content according to the position information provided by the first display position.
  • determining the first display format of the first content may include: determining the first display position according to the content alignment format of the first closed figure or a predefined content alignment format, wherein the content alignment format includes left alignment, center alignment, right alignment, and both ends alignment. and any of the distributed alignments.
  • the first display position may be determined according to the content alignment format of the first closed figure. For example, if there is already center-aligned content in the first closed figure, the electronic device determines that the first content input by the user may also be center-aligned, that is, the first content is displayed in the middle of the first closed figure.
  • the first display position may also be determined according to a predefined content alignment format. For example, if the first closed figure in which the user inputs content predefines the alignment format as left alignment, the electronic device may determine that the first display position of the first content input by the user is on the left side of the first closed figure.
  • the electronic device after the electronic device obtains the first content, it can detect and identify the key features contained in the first content, and determine the alignment format according to the key features.
  • the key features refer to some sub-contents in the first content that have a certain pattern, such as "1", “2", “3” and other ordered numbers, or " ⁇ XX”, “ ⁇ XX”, “ ⁇ XX”, etc. all use " ⁇ " as the beginning of the content.
  • the electronic device obtains that the first content input by the user in the first closed figure is 3 lines of text, and the first character of each line of text is "1", “2", “3", or “1", "2", “3”, or “A”, “B", “C” and other numbers.
  • the number can be used as the key feature of the first content, and the alignment type can be determined to be left-aligned based on this key feature (number).
  • the electronic device detects and recognizes that the key feature of the first content in the first closed figure is that the first content includes graphics and text, with the graphics on the left and the text on the right, then the alignment format can be determined to be right-aligned.
  • the first display format may further include a first display size of the first content.
  • the first display size refers to the size of the text, pattern or number corresponding to the first content. If the first content input by the user is text, the first display size can be in the font size as a unit. The larger the font size, the smaller the text. The largest font size is "primary" and the smallest font size is "eight", such as small four, five, etc. Of course, points (also known as pounds, point, pt) can also be used as units. When points are used as units, the larger the point value, the larger the text. The maximum point value can be 72 and the minimum point value can be 5.
  • the first display size can be determined according to the outer frame of the first content. The outer frame refers to a frame that can completely surround the first content.
  • the outer frame can be a regular shape, such as a circle (an outer frame surrounding the word “ ⁇ ” as shown in Figure 6), a rectangle (an outer frame surrounding the word “ ⁇ ” as shown in Figure 6), a diamond (an outer frame surrounding the word “ ⁇ ” as shown in Figure 6), etc., or it can be an irregular shape.
  • the first display size and the display size of the first handwriting track on the touch screen can be the same or different.
  • the touch screen of the electronic device displays the first content, it can also display the first content according to the size information indicated by the first display size.
  • the first display size is 18 points (pt), which means that when the touch screen of the electronic device displays the first content, the size of the first content is 18 points. Therefore, when the touch screen of the electronic device displays the first content, the first content can be displayed in a size of 18 points.
  • determining the first display format of the first content may also include: determining the first display size according to a predefined content size specification of the first closed figure; or determining the first display size according to the display size of the first handwriting track on the touch screen.
  • the electronic device after the electronic device obtains the first content handwritten by the user, it can also obtain the first display size of the first content.
  • the first display size can be pre-set by the first closed figure. For example, the electronic device pre-sets the content in the first closed figure to be kept at 16 points (point, pt), then the electronic device can display the first content in a 16-point size when displaying the first content.
  • the first display size can also be determined according to the display size of the first handwriting track on the touch screen. For example, if the display size of the first handwriting track when the user is handwriting is 18 points, it can be determined that the second display size is also 18 points, and then the electronic device can display the first content in an 18-point size when displaying the first content.
  • the first display size can be consistent with the display size of the first handwriting track on the touch screen, or the two are related to each other (for example, the first display size can be half of the display size of the first handwriting track, that is, the display size of the first handwriting track is 18 points, then the first display size can be 9 points), etc.
  • the first display format may further include a display color of the first content.
  • the first display format may further include a display color of the first content, and the first content is displayed according to the color. For example, if the display color in the first display format is black, the touch screen may display the color of the first content as black when displaying the first content.
  • the first content is text or numbers
  • the first display format may further include a font of the first content.
  • the content input by the user is text or numbers
  • the first display format may also include a font of the first content, and the first content is displayed according to the font.
  • the font in the first display format is Kaiti
  • the touch screen may display the font of the first content as Kaiti when displaying the first content.
  • the first content includes multiple identifiers in a sequential relationship
  • determining the first display format of the first content may include: performing line break processing on the first content according to the multiple identifiers, and determining the first display position of the first content after the line break processing according to the content alignment format of the first closed figure or the predefined content alignment format.
  • the first content input by the user includes multiple identifiers, and these identifiers have a sequential relationship
  • the electronic device can wrap the first content according to these identifiers, and use each identifier as the header of each line.
  • the first content input by the user is "1. Development 2. Test 3. Verification”
  • the electronic device determines that the first content input by the user includes identifiers such as "1", “2", and "3”, and these identifiers are identifiers with a sequential relationship, then the electronic device can split the first content into 3 lines, and the content of each line starts with the identifiers such as "1", "2", and “3", and the content of the 3 lines is "1. Development", “2. Test”, and "3. Verification” respectively.
  • the electronic device after determining the first display format and the first content, displays the first content in the first display format on the touch screen. After displaying the first handwriting track and before displaying the first content, the touch screen of the electronic device may stop displaying the first handwriting track.
  • the electronic device determines that the first content is "graphic text” and the first display format is "regular script, 18pt, black, and centered display”. Then the four words "graphic text” are displayed in regular script, 18pt, black, and centered display within the closed graphic (rectangle).
  • the handwriting of the user when the user performs handwriting input on the touch screen of the electronic device, the handwriting of the user can be displayed on the touch screen, and the first content input by the user can be obtained according to the handwriting. Further, the display format of the display position containing the first content can be determined, and the first content can be displayed according to the display position, so that the content input by the user displayed by the electronic device can be in a suitable position, which is convenient for the user to view and improves the convenience of the user when using.
  • the user can continue to input the second content in the first closed figure, and the electronic device can display the first content and the second content as a whole through the touch screen.
  • the electronic device can obtain the second handwriting trajectory of the user's handwriting input and recognize the handwriting trajectory to obtain the second content.
  • the user can also input the second content in other ways, such as: input through an external device such as a keyboard, or the user drags the content from outside the first closed figure into the closed figure, etc.
  • FIG7 shows a process in which the electronic device displays the second content.
  • S71 and S72 in FIG7 may refer to the description of the aforementioned steps S41-S42, which will not be described in detail here.
  • the process in which the electronic device displays the second content may include the following steps:
  • S71 Acquire a second handwriting trajectory input by the user in the first closed figure.
  • S73 Determine a second display format according to the first display format, where the second display format includes the first content and a second display position of the second content in the first closed figure.
  • a first closed graphic is displayed on the touch screen, and a first content is displayed in the first closed graphic.
  • the electronic device has obtained the second content input by the user.
  • the electronic device can determine the second display format according to the first display format in the first closed graphic.
  • the second display format can be but is not limited to the same as the first display format.
  • the second display format is used to indicate that the first content and the second content are displayed according to the second display format in the first closed graphic of the touch screen.
  • a rectangle is displayed on the touch screen, and the first content is displayed in the rectangle, which is a word " ⁇ "; when the user enters a word " ⁇ ” in the rectangle, the electronic device performs OCR recognition according to the trajectory of the word " ⁇ ” written by the user, and obtains that the second content entered by the user is a word " ⁇ ".
  • the word " ⁇ " and the word " ⁇ " are displayed in the first closed figure.
  • the electronic device can display " ⁇ " on the touch screen in the same format as the display format of " ⁇ ".
  • the existing content in the first closed figure is the word " ⁇ ", and there is a word “ ⁇ ” outside the figure.
  • the user can drag the word “ ⁇ ” into the first closed figure where the word “ ⁇ ” is located.
  • the electronic device can first obtain the trajectory of the word “ ⁇ ” dragged in by the user, and then perform OCR recognition on the acquired trajectory to obtain that the second content dragged in by the user is the word " ⁇ ".
  • the electronic device can determine the second display format of the word " ⁇ ” and the word “ ⁇ ” according to the first display format of the first content " ⁇ ” and display the word " ⁇ ” and the word “ ⁇ ” in the second display format on its touch screen.
  • the identifiers in the second content have a sequential relationship with the identifiers in the first content, and the first content and the second content as a whole are wrapped according to the sequential relationship of the multiple identifiers, and the alignment format is determined according to the key features in the first content and the second content.
  • the electronic device acquires the first content and the second content, and the electronic device can use the first content and the second content as
  • the first content includes a first identifier
  • the second content includes a second identifier.
  • the first identifier and the second identifier have a sequential relationship, and the first identifier and the second identifier can be used as key features of the overall content.
  • the overall content is wrapped according to the sequential relationship between the first identifier and the second identifier, and the alignment format is determined according to the key feature.
  • the first content in the first closed graphic is "1. Development", and the first content is displayed in the center.
  • the electronic device detects and recognizes the second content input by the user, which is respectively “1" and "2" in the first content.
  • the number is used as a key feature to determine that the second display format includes left alignment, as shown in FIG. 10 (B).
  • the first content in the first closed graphic is "1. Development 2. Test", which is displayed in the center.
  • the electronic device detects and recognizes the second content input by the user, which is respectively "1", “2” and “3” in the first content.
  • the number is used as a key feature to determine that the second display format is left-aligned, and "3. Verification” is wrapped, as shown in FIG. 10 (D).
  • the first content existing in the first closed graphic is "1. Development”
  • the electronic device detects and recognizes the second content input by the user, which has "1", “2", and “3” respectively in the original first content, and uses the number as the key feature, determines that the second display format is left-aligned, and at the same time performs line wrap processing on "2. Test 3. Verify", as shown in (F) of Figure 10.
  • the second display format includes the first content and a second display size of the second content, the second display size being the same as the first display size.
  • the electronic device can display the first content and the second content in the second display format on the touch screen.
  • the specific display method can refer to the aforementioned step S44, which will not be described in detail here.
  • the user inputs the second content in the first closed figure that already has the first content.
  • the electronic device can determine the second display format based on the display format of the existing first content, and display the first content and the second content in the second display format. This can enable the newly input content in the first closed figure to maintain the same format as the original content, which is more in line with the user's habits.
  • the touch screen may have not only a first closed figure but also a second closed figure, and the user may also input content in the second closed figure.
  • FIG11 shows a process of displaying content in a second closed graph.
  • S111, S112, S113 and S114 in FIG11 may refer to the description of the aforementioned steps S41, S42, S43 and S44, which will not be described in detail here.
  • the process of displaying content may include the following steps:
  • S111 Acquire a third handwriting trajectory input by the user in the second closed figure.
  • S113 Determine a third display format of the third content, where the third display format includes a third display position of the third content in the second closed figure, where the third display position is obtained according to a content alignment format of the second closed figure or a predefined content alignment format.
  • each closed figure is a separate individual, and the content display in each closed figure can be a separate format.
  • the display formats of the two closed figures may be the same or different.
  • the third display format also includes a third display size of the third content, and the third display size may be consistent with the first display size or inconsistent.
  • the content alignment format of the second closed figure may be consistent with the content alignment format of the first closed figure or inconsistent.
  • a first closed figure and a second closed figure are displayed on the touch screen, and a third content is displayed in the second closed figure.
  • the user can enter a fourth content in the second closed figure.
  • the fourth content entered by the user is relatively large, or the user writes a large word when entering the fourth content, and the second closed figure cannot accommodate the third content and the fourth content. In this case, the second closed figure can be enlarged.
  • Fig. 12 shows a method for displaying content.
  • the method for displaying content may include the following steps:
  • the user enters the fourth content in the second closed figure (the third content already exists in the second closed figure), and the electronic The sub-device obtains the fourth handwriting track input by the user, and in response to the handwriting track, the electronic device enlarges the second closed figure. For example, referring to FIG13, the user handwrites the two characters " ⁇ " in the second closed figure, and the characters exceed the boundary of the second closed figure. At this time, the second closed figure can be enlarged so that the two characters " ⁇ " are still in the second closed figure.
  • the electronic device can obtain the fourth handwriting trajectory, determine the minimum outer bounding box of the fourth handwriting trajectory, and determine whether the boundary of the minimum outer bounding box exceeds the threshold of the boundary line of the second closed figure.
  • the threshold of the boundary line can be equal to the size of the boundary line of the second closed figure, or it can be less than the size of the boundary line of the second closed figure.
  • the electronic device determines that the boundary of the minimum outer bounding box of the fourth handwriting trajectory exceeds the threshold of the boundary line of the second closed figure, it is determined that the fourth handwriting trajectory exceeds the boundary of the second closed figure, and the second closed figure needs to be enlarged so that the fourth handwriting trajectory is within the second closed figure.
  • Figure 14 As shown in Figure 14, the user enters the four words "development and testing" in the second closed figure, and the electronic whiteboard obtains the handwriting input trajectory of the four words, and determines its minimum outer bounding box according to the handwriting input trajectory of the four words.
  • (A) in Figure 14 shows the situation where the boundary of the minimum outer bounding box exceeds the boundary line of the second closed figure
  • (C) in Figure 14 shows the situation where the boundary of the minimum outer bounding box does not exceed the boundary of the second closed figure, but exceeds the threshold of the boundary of the second closed figure.
  • the boundary of the minimum outer bounding box exceeds the boundary line of the second closed figure, the boundary of the minimum outer bounding box must exceed the threshold of the boundary line of the second closed figure.
  • the size of the boundary line of the second closed figure can be adjusted so that the boundary of the minimum outer bounding box is smaller than the threshold of the boundary line of the second closed figure, that is, as shown in (B) and (D) in Figure 14.
  • the second closed figure can be enlarged and expanded according to the content of the user input after the user completes the input (the input is completed, such as the user has lifted the pen in the case of handwriting input). For example, as shown in FIG13, the user enters "literature" in the second closed figure, and after completing the input, the electronic device enlarges the second closed figure.
  • the second closed figure can also be enlarged in real time as the user inputs. For example, as shown in FIG15, the electronic device determines that the current touch point on the touch screen during handwriting input by the user is less than a threshold value from the boundary of the second closed figure, and the boundary of the second closed figure is expanded along the moving direction of the current touch point.
  • S123 Determine a fourth display format of the third content and the fourth content according to the enlarged second closed figure and the third display format, the fourth display format including fourth display positions of the third content and the fourth content in the enlarged second closed figure, the fourth display position being obtained according to a content alignment format of the second closed figure or a predefined content alignment format.
  • the above steps S122 to S124 may refer to the above steps S42 to S44, which will not be repeated here.
  • the second closed figure when the user inputs a large amount of content or a large font in the second closed figure, the second closed figure cannot fully display the content within the closed figure. At this time, the second closed figure can be enlarged so that the content input by the user remains within the closed figure, thereby improving the user's visual experience.
  • the first closed figure and the second closed figure may be rectangles, and the first closed figure and the second closed figure are aligned, and the first closed figure may be enlarged according to the enlarged second closed figure. If the second closed figure and the first closed figure are two rectangles displayed side by side horizontally, the alignment may be the height alignment of the two rectangles; if the second closed figure and the first closed figure are two rectangles displayed side by side vertically, the alignment may be the width alignment of the two rectangles.
  • the first closed figure may be enlarged according to the enlarged second closed figure, so that the enlarged first closed figure is aligned with the enlarged second closed figure.
  • the method for displaying content provided in the embodiment of the present application can also determine the fifth display format of the first content in the enlarged first closed figure, the fifth display format including the display position of the first content in the enlarged first closed figure, and display the first content on the touch screen in the fifth display format.
  • the user may also delete the fourth content in the second closed graphic, and the electronic device may reduce the size of the second closed graphic in response to the user's deletion operation.
  • the electronic device can also reduce the first closed figure according to the reduced second closed figure, so that the reduced closed figure and the reduced second closed figure still maintain an aligned state.
  • the first closed figure and the second closed figure are both rectangles, and the first closed figure and the second closed figure are aligned.
  • the first closed figure and the second closed figure can be regarded as a table with two cells. In this way, after one cell is adjusted, the other cell is adjusted synchronously according to the adjusted cell, so that the two cells still remain aligned, which conforms to the user's usage habits. used.
  • a first closed figure, a second closed figure, and a third closed figure are displayed on the touch screen of the electronic device.
  • the first closed figure, the second closed figure, and the third closed figure may all be rectangles, and the first closed figure, the second closed figure, and the third closed figure are aligned with each other.
  • the first content is displayed in the first closed figure
  • the third content is displayed in the second closed figure.
  • the first content and the third content are identifiers with a sequential relationship.
  • the method for displaying content may also include: filling the fifth content in the third closed figure so that the first content, the third content, and the fifth content are identifiers with a sequential relationship.
  • the identifier with a sequential relationship may be a number with a sequential increasing relationship or a sequential decreasing relationship. Alternatively, it may be a letter with a sequential increasing relationship or a sequential decreasing relationship.
  • the electronic device after acquiring the first content and the third content input by the user, identifies the first content and the third content input by the user and determines that the first content and the third content are identifiers with a sequential relationship.
  • the identifier can be a number or a letter.
  • Figure 16 where three mutually aligned rectangles are displayed on the touch screen, which are the first closed figure, the second closed figure, and the third closed figure.
  • the first closed figure contains the first content, which is "1”
  • the second closed figure contains the third content, which is "2”.
  • the first content and the third content are pure numbers, and the first content and the third content are in a preset sequence.
  • the preset sequence refers to a certain sequence of numbers, such as continuous numbers, numbers in an arithmetic progression, a geometric progression, etc.
  • the electronic device can automatically fill in numbers in the third closed figure, and the filled numbers maintain the same preset sequence as the first content and the second content.
  • the electronic device may pop up a prompt box to ask the user whether to fill the third closed figure. After the user chooses to confirm automatic filling, the electronic device fills the third closed figure.
  • a first closed figure, a second closed figure, and a third closed figure are displayed on the touch screen of the electronic device.
  • the first closed figure, the second closed figure, and the third closed figure may all be rectangles, and the first closed figure, the second closed figure, and the third closed figure are aligned with each other.
  • the first content is displayed in the first closed figure
  • the third content is displayed in the second closed figure
  • the first content and the third content are numbers.
  • the method of displaying content may also include: filling the third closed figure with fifth content, the fifth content is a number, and the fifth content is calculated by the first content and the third content according to a predetermined formula.
  • the first content and the third content are pure numbers, and the user enters a mathematical function in the third closed figure.
  • the electronic device can calculate the first content and the third content according to the mathematical function entered by the user, fill the calculation result into the third closed figure, and replace the mathematical function entered by the user.
  • a null value can be returned to the user.
  • the first content is “1200”
  • the third content is “1500”
  • the user enters the mathematical function “sum” in the third closed figure.
  • the electronic device confirms that the user wishes to sum the first content and the third content, and then adds the first content and the third content to obtain a calculation result of “2700”.
  • This calculation result “2700” is filled into the third closed figure, replacing the “sum” entered by the user, i.e., (B) in FIG. 17 .
  • the electronic device can also perform calculations on numbers selected by the user.
  • the user selects a first closed figure and a second closed figure, and the first content in the first closed figure and the third content in the second closed figure are both numbers.
  • the electronic device displays prompt information, and the prompt information is used to display the calculation method represented by at least one mathematical formula.
  • the user selects the calculation method, and the electronic device calculates the first content and the third content selected by the user according to the calculation method selected by the user, and fills the calculation result into the third closed figure.
  • the user selects the first closed figure and the second closed figure, the first closed figure contains the first content "1200", and the second closed figure contains the third content "1500”.
  • the electronic device pops up a prompt box, which contains the options of "sum”, “average”, “product”, and “quotient”, each of which corresponds to a calculation formula.
  • the user can select "sum”, that is, sum the first content and the third content, and obtain the calculation result "2700".
  • the calculation result is filled into the third closed figure.
  • the electronic device supports voice input, and after the user selects the first closed figure and the second closed figure, the user can input by voice to perform a calculation operation.
  • the calculation input by the user by voice may include but is not limited to sum, difference, average, quotient, product, mean square error, etc.
  • the user selects a first closed figure and a second closed figure, and the first closed figure There is a first content "1200" in the closed figure, and a third content “1500” in the second closed figure.
  • the user can input "sum” by voice, and the electronic device calculates the contents in the first figure and the second figure according to the calculation method input by the user's voice, and obtains the calculation result "2700".
  • the calculation result "2700" is filled into the third closed figure.
  • the content input by the user in the closed figure is a number
  • the user can select a calculation method.
  • the electronic device can automatically calculate the number input by the user according to the calculation method selected by the user, eliminating the process of the user's own calculation and improving the convenience of user use.
  • the embodiment of the present application also provides another method for displaying content, which can also be applied to an electronic device with a touch screen, and a first closed graphic is displayed on the touch screen.
  • the method for displaying content may include:
  • a first handwriting trajectory input by a user in a first closed graph is obtained.
  • the first handwriting track is displayed on the touch screen.
  • the display position of the first handwriting track in the first closed figure is adjusted according to the content alignment format of the first closed figure or a predefined content alignment format.
  • the first handwriting track is displayed on the touch screen at the adjusted display position.
  • the embodiment of the method for displaying content provided in this embodiment can refer to the aforementioned embodiment of performing OCR recognition on handwritten handwriting, which will not be described in detail here.
  • the display size of the first handwriting track can also be adjusted according to a predefined display size to better meet the viewing habits of the user.
  • displaying the first handwriting track on the touch screen at the adjusted display position may include: displaying the first handwriting track on the touch screen at the adjusted display position and at the adjusted display size.
  • the size of the sequence number of each step in the above-mentioned embodiments does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
  • the first closed figure, the second closed figure, and the third closed figure in the embodiment do not limit the number of figures.
  • the number of closed figures can be increased or decreased as needed.
  • a plurality of aligned rectangles one of the closed figures
  • the steps in the above-mentioned embodiments can be selectively executed according to actual conditions, and can be partially executed or fully executed, which is not limited here. All or part of any feature of any embodiment of the present application can be freely and arbitrarily combined without contradiction. The combined technical scheme is also within the scope of the present application.
  • an embodiment of the present application also provides a device for displaying content.
  • FIG20 shows the structure of a device for displaying content.
  • the device for displaying content can be deployed in an electronic device with a touch screen, and a first closed figure is displayed on the touch screen.
  • the device 2000 for displaying content may include: an acquisition module 2001, used to acquire a first handwriting trajectory input by a user in a first closed figure; a display module 2002, used to display the first handwriting trajectory on the touch screen; a processing module 2003, used to obtain the first content according to the first handwriting trajectory; the processing module 2003 is also used to determine the first display format of the first content, the first display format includes the first display position of the first content in the first closed figure, and the first display position is different from the display position of the first handwriting trajectory on the touch screen; the display module 2002 is also used to display the first content on the touch screen in the first display format.
  • the first content is obtained by performing optical character recognition on the first handwriting trace.
  • the first content is text, numbers, or patterns.
  • the display module 2002 is further configured to stop displaying the first handwriting track on the touch screen.
  • the processing module 2003 is further used to determine the first display position according to the content alignment format of the first closed graphic or a predefined content alignment format, where the content alignment format includes any one of left alignment, right alignment, center alignment, two-end alignment and distributed alignment.
  • the first display format also includes a first display size of the first content.
  • the first display size is different from the display size of the first handwriting trace on the touch screen.
  • the processing module 2003 is further used to: determine the first display size according to a predefined content size specification of the first closed figure; or determine the first display size according to the display size of the first handwriting track on the touch screen.
  • the first display format further includes: a display color of the first content.
  • the first content is text
  • the first display format also includes a font of the first content.
  • the processing module 2003 is also used to: obtain a second handwriting trajectory input by the user in the first closed figure; obtain a second content based on the second handwriting trajectory; determine a second display format based on the first display format, the second display format including the first content and the second content in the first closed figure.
  • the second display position; the display module 2002 is also used to display the first content and the second content on the touch screen in the second display format.
  • the display module 2002 before displaying the first content and the second content on the touch screen in the second display format, is further used to: display a second handwriting trajectory on the touch screen; and stop displaying the second handwriting trajectory on the touch screen after a preset time period.
  • the second display position is determined by the first content alignment format; the processing module 2003 is further configured to determine the second display position according to the first content alignment format.
  • the second display format includes the first content and a second display size of the second content, where the second display size is the same as the first display size.
  • a second closed figure is also displayed on the touch screen
  • the acquisition module 2001 is also used to obtain a third handwriting trajectory input by the user in the second closed figure
  • the processing module 2003 is also used to obtain a third content based on the third handwriting trajectory
  • determine a third display format of the third content the third display format includes a third display position of the third content in the second closed figure, and the third display position is obtained according to the content alignment format of the second closed figure or a predefined content alignment format
  • the display module 2002 is also used to display the third content on the touch screen in the third display format.
  • the content alignment format of the first closed figure is consistent with the content alignment format of the second closed figure.
  • the third display format further includes a third display size of the third content, and the third display size is consistent with the first display size.
  • the display module 2002 before displaying the third content on the touch screen in the third display format, is further used to display a third handwriting track on the touch screen; after a preset time period, the third handwriting track is stopped from being displayed on the touch screen.
  • the processing module 2003 is also used to: enlarge the second closed figure in response to a fourth handwriting trajectory input by the user in the second closed figure; obtain a fourth content according to the fourth handwriting trajectory; determine a fourth display format of the third content and the fourth content according to the enlarged second closed figure and the third display format, the fourth display format including a fourth display position of the third content and the fourth content in the enlarged second closed figure, the fourth display position being obtained according to the content alignment format of the second closed figure or a predefined content alignment format; the display module 2002 is also used to display the third content and the fourth content on the touch screen in the fourth display format.
  • the display module 2002 before displaying the third content and the fourth content on the touch screen in a fourth display format, is also used to: display an enlarged second closed figure on the touch screen; display a fourth handwriting trajectory on the touch screen; and stop displaying the fourth handwriting trajectory on the touch screen after a preset time period.
  • the first closed figure and the second closed figure are rectangles, and the first closed figure and the second closed figure are aligned
  • the processing module 2003 is also used to: enlarge the first closed figure according to the enlarged second closed figure, so that the enlarged first closed figure and the enlarged second closed figure are aligned; determine a fifth display format of the first content in the enlarged first closed figure, the fifth display format including the display position of the first content in the enlarged first closed figure; the display module 2002 is also used to display the first content on the touch screen in the fifth display format.
  • the processing module 2003 is further used to: in response to the user deleting the fourth content in the second closed figure, reduce the size of the second closed figure; and the display module 2002 is further used to display the third content on the touch screen in a third display format.
  • the processing module 2003 is also used to: reduce the first closed figure according to the reduced second closed figure so that the reduced first closed figure is aligned with the reduced second closed figure; determine a sixth display format of the first content in the reduced first closed figure, the sixth display format including the display position of the first content in the reduced first closed figure; the display module 2002 is also used to display the first content on the touch screen in the sixth display format.
  • the first content includes multiple identifiers in a sequential relationship
  • the processing module 2003 is further used to: perform line break processing on the first content according to the multiple identifiers; and determine the first display position of the first content after the line break processing according to the content alignment format of the first closed graphic or the predefined content alignment format.
  • a third closed figure is further displayed on the touch screen, the first closed figure, the second closed figure, and the third closed figure are rectangular, and the first closed figure, the second closed figure, and the third closed figure are aligned, and the first content and the third content are rectangular.
  • the processing module 2003 is further used to fill the fifth content in the third closed figure so that the first content, the third content and the fifth content are the identifications with a sequential relationship.
  • the identifiers with a sequential relationship are numbers with a sequential increasing relationship or a sequential decreasing relationship; or, they are letters with a sequential increasing relationship or a sequential decreasing relationship.
  • a third closed figure is also displayed on the touch screen, the first closed figure, the second closed figure, and the third closed figure are rectangles, and the first closed figure, the second closed figure, and the third closed figure are aligned, the first content and the third content are numbers, and the processing module 2003 is also used to: fill the third closed figure with fifth content, the fifth content is a number, and the fifth content is calculated by the first content and the third content according to a predetermined formula.
  • the above-mentioned device is used to execute the method in the above-mentioned embodiment.
  • the implementation principle and technical effect of the corresponding program module in the device are similar to those described in the above-mentioned method.
  • the working process of the device can refer to the corresponding process in the above-mentioned method, which will not be repeated here.
  • an embodiment of the present application further provides a device for displaying content.
  • FIG21 shows the structure of another device for displaying content.
  • the device for displaying content can be deployed in an electronic device having a touch screen, on which a first closed figure is displayed.
  • the device 2100 for displaying content may include: an acquisition module 2101 for acquiring a first handwriting trajectory input by a user in a first closed figure; a display module 2102 for displaying the first handwriting trajectory on the touch screen; a processing module 2103 for adjusting the display position of the first handwriting trajectory in the first closed figure according to a content alignment format in the first closed figure or a predefined content alignment format; and the display module 2102 is further used to display the first handwriting trajectory on the touch screen at the adjusted display position.
  • the processing module 2103 is further used to: adjust the display size of the first handwriting trajectory according to a predefined display size; the display module 2102 is further used to: display the first handwriting trajectory on the touch screen with the adjusted display position and the adjusted display size.
  • the above-mentioned device is used to execute the method in the above-mentioned embodiment.
  • the implementation principle and technical effect of the corresponding program module in the device are similar to those described in the above-mentioned method.
  • the working process of the device can refer to the corresponding process in the above-mentioned method, which will not be repeated here.
  • processors in the embodiments of the present application 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, transistor logic devices, hardware components or any combination thereof.
  • the general-purpose processor may be a microprocessor or any conventional processor.
  • the method steps in the embodiments of the present application can be implemented by hardware or by a processor executing software instructions.
  • the software instructions can be composed of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, CD-ROMs, or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium.
  • the storage medium can also be a component of the processor.
  • the processor and the storage medium can be located in an ASIC.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium.
  • the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated.
  • the available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state drive (SSD)), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Un procédé d'affichage de contenu, appliqué à un dispositif électronique comprenant un écran tactile, un premier graphe fermé étant affiché sur l'écran tactile. Le procédé consiste à : acquérir une première piste d'écriture manuscrite entrée par un utilisateur dans le premier graphe fermé ; afficher la première piste d'écriture manuscrite sur l'écran tactile ; obtenir un premier contenu selon la première piste d'écriture manuscrite ; déterminer un premier format d'affichage du premier contenu, le premier format d'affichage comprenant une première position d'affichage du premier contenu dans le premier graphe fermé, et la première position d'affichage étant différente de la position d'affichage de la première piste d'écriture manuscrite sur l'écran tactile ; et afficher le premier contenu sur l'écran tactile dans le premier format d'affichage. Ainsi, en identifiant le contenu d'une entrée d'écriture manuscrite d'un utilisateur sur un dispositif électronique, et en ajustant la position d'affichage du contenu de l'entrée d'écriture manuscrite de l'utilisateur, le contenu de l'entrée d'écriture manuscrite de l'utilisateur affichée par le dispositif électronique peut se trouver à une position correcte, ce qui permet d'améliorer l'expérience de l'utilisateur.
PCT/CN2023/101417 2022-09-30 2023-06-20 Procédé et appareil d'affichage de contenu, et support de stockage WO2024066505A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211206210.7A CN117850654A (zh) 2022-09-30 2022-09-30 一种显示内容的方法、装置及存储介质
CN202211206210.7 2022-09-30

Publications (1)

Publication Number Publication Date
WO2024066505A1 true WO2024066505A1 (fr) 2024-04-04

Family

ID=90475916

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/101417 WO2024066505A1 (fr) 2022-09-30 2023-06-20 Procédé et appareil d'affichage de contenu, et support de stockage

Country Status (2)

Country Link
CN (1) CN117850654A (fr)
WO (1) WO2024066505A1 (fr)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022095744A1 (fr) * 2020-11-09 2022-05-12 华为技术有限公司 Procédé de commande d'affichage vr, dispositif électronique et support de stockage lisible par ordinateur
CN114740986A (zh) * 2021-01-07 2022-07-12 华为技术有限公司 手写输入显示方法及相关设备
CN115048027A (zh) * 2022-05-06 2022-09-13 合肥讯飞读写科技有限公司 手写输入方法、装置、系统、电子设备和存储介质

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022095744A1 (fr) * 2020-11-09 2022-05-12 华为技术有限公司 Procédé de commande d'affichage vr, dispositif électronique et support de stockage lisible par ordinateur
CN114740986A (zh) * 2021-01-07 2022-07-12 华为技术有限公司 手写输入显示方法及相关设备
CN115048027A (zh) * 2022-05-06 2022-09-13 合肥讯飞读写科技有限公司 手写输入方法、装置、系统、电子设备和存储介质

Also Published As

Publication number Publication date
CN117850654A (zh) 2024-04-09

Similar Documents

Publication Publication Date Title
WO2021213120A1 (fr) Procédé et appareil de projection d'écran et dispositif électronique
WO2020187157A1 (fr) Procédé de commande et dispositif électronique
US20220121413A1 (en) Screen Control Method, Electronic Device, and Storage Medium
WO2021063237A1 (fr) Procédé de commande de dispositif électronique et dispositif électronique
WO2022042285A1 (fr) Procédé d'affichage d'interface de programme d'application et dispositif électronique
JP2021524957A (ja) 画像処理方法およびその、装置、端末並びにコンピュータプログラム
KR102594951B1 (ko) 전자 장치 및 그의 동작 방법
WO2021013132A1 (fr) Procédé d'entrée et dispositif électronique
CN114579016A (zh) 一种共享输入设备的方法、电子设备及系统
WO2021180089A1 (fr) Procédé et appareil de commutation d'interface et dispositif électronique
WO2021190524A1 (fr) Procédé de traitement de capture d'écran, interface utilisateur graphique et terminal
WO2021057699A1 (fr) Procédé de commande d'un dispositif électronique à écran flexible et dispositif électronique
WO2023142915A1 (fr) Procédé, appareil et dispositif de traitement d'image, ainsi que support de stockage
WO2023197648A1 (fr) Procédé et appareil de traitement de capture d'écran, dispositif électronique et support lisible par ordinateur
CN118312035A (zh) 一种显示方法和电子设备
WO2018098959A2 (fr) Procédé d'affichage d'image et dispositif électronique
WO2022022406A1 (fr) Procédé d'affichage toujours actif et dispositif électronique
CN115145436B (zh) 一种图标处理方法及电子设备
WO2021218365A1 (fr) Procédé d'annotation et dispositif électronique
EP4394560A1 (fr) Procédé d'affichage et dispositif électronique
WO2024066505A1 (fr) Procédé et appareil d'affichage de contenu, et support de stockage
KR20180111242A (ko) 채색 가능한 콘텐트를 제공하는 전자 장치 및 그 방법
KR102266869B1 (ko) 전자 장치 및 전자 장치의 디스플레이 방법
US20240012451A1 (en) Display method and related apparatus
WO2022111690A1 (fr) Procédé de partage de dispositif d'entrée, dispositifs électroniques et système

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23869753

Country of ref document: EP

Kind code of ref document: A1