Multi-surface three-dimensional phrase generation method and electronic equipment

Through electronic devices identifying and combining input phrases, multi-faceted three-dimensional phrases are generated, which solves the problem of manual intervention in the generation of three-dimensional characters in the prior art, realizes the functions of automatic generation and customization, and improves flexibility and user experience.

CN119065507APending Publication Date: 2024-12-03HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310644219.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-01
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

In the prior art, the generation of three-dimensional characters requires manual intervention, which cannot be customized, and has limitations, so it is impossible to automatically generate multi-faceted three-dimensional phrases.

Method used

Through the electronic device, the user interface operation is received, the input boxes and controls are displayed, the input phrases are identified and combined, and the multi-faceted three-dimensional phrases are generated. Users can customize the content to achieve the purpose of automatically generating the form-based phrases.

Benefits of technology

The content of custom three-dimensional phrases is realized. Users can enter phrases at will and automatically generate multi-faceted three-dimensional phrases, improving flexibility and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119065507A_ABST
    Figure CN119065507A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-face three-dimensional phrase generation method and electronic equipment. The method comprises the steps that the electronic equipment receives operation on a user interface of a first application; in response to the operation, the electronic equipment displays a first interface, and the first interface comprises a first input box used for inputting the first phrase, a second input box used for inputting the second phrase and a first control used for triggering generation of the three-dimensional phrase. In response to receiving an operation on the first control, the electronic device identifies a first phrase and a second phrase. Specifically, the electronic device generates a multi-face three-dimensional word group according to the last character of the first word group, the second word group, the first character of the second word group and the first word group, the first face of the three-dimensional word group is presented as the first word group, and the second face of the three-dimensional word group is presented as the second word group. Therefore, by inputting any at least two phrases by a user, the phrases can be automatically combined to obtain the multi-surface three-dimensional phrase, the content of the three-dimensional phrase can be self-defined, and the purpose of automatically generating the three-dimensional phrase is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of electronic devices, and more particularly to a multi-faceted three-dimensional phrase generation method and electronic device. Background Art

[0002] Three-dimensional characters can refer to characters that are presented in three-dimensional space, i.e., length, width, and height. Multi-faceted three-dimensional characters can refer to characters that present different contents when viewed from different directions. The generation of multi-faceted three-dimensional characters is usually manually designed and modeled, and made into handicrafts. It can be seen that the current generation of three-dimensional characters requires customization and manual intervention, and it is impossible to customize the content, which has limitations. Summary of the invention

[0003] The embodiments of the present application provide a multi-faceted three-dimensional phrase generation method and electronic device, which can customize the content of the three-dimensional phrase and achieve the purpose of automatically generating the three-dimensional phrase.

[0004] In order to achieve the above-mentioned purpose, the embodiment of the present application adopts the following technical solution.

[0005] In a first aspect, the present application provides a method for generating a multi-faceted three-dimensional phrase, the execution subject of the method may be an electronic device, or a component located in the electronic device (e.g., a chip, a chip system, or a processor, etc.), and the following description is made by taking the execution subject being an electronic device as an example. The method may include: in response to receiving an operation on a user interface of a first application, the electronic device displays a first interface, the first interface including a first phrase and a second phrase input by a user. In response to receiving an operation on the first interface, the electronic device identifies each character in the first phrase and each character in the second phrase. The electronic device generates a multi-faceted three-dimensional phrase based on the first character and the second phrase at one end of the first phrase, and the first character and the first phrase at one end of the second phrase, the first side of the three-dimensional phrase being presented as the first phrase, and the second side of the three-dimensional phrase being presented as the second phrase.

[0006] The first phrase and the second phrase include one or more characters, and the characters may include letters and symbols. The letters may refer to letters of various languages, such as English letters, French letters, Korean letters, etc. The symbol may refer to a period or a special symbol, such as a space, @, #, &, etc.

[0007] In the present application, the user can input any at least two phrases, which can be automatically combined to obtain a multi-faceted three-dimensional phrase. The content of the three-dimensional phrase can be customized to achieve the purpose of automatically generating the three-dimensional phrase.

[0008] In one design, the first interface includes a first input box, a second input box, and a first control, the first input box is used to input the first phrase, the second input box is used to input the second phrase, and the first control is used to trigger the generation of a three-dimensional phrase.

[0009] In one design, the electronic device generates a multi-faceted three-dimensional phrase based on the first character and the second phrase at one end of the first phrase, and the first character and the first phrase at one end of the second phrase. Specifically, the electronic device obtains three-dimensional character models composed of every two characters in the plurality of characters. The electronic device generates the first three-dimensional phrase based on the first character, the second phrase, and the three-dimensional character models at one end of the first phrase. The electronic device generates the second three-dimensional phrase based on the first character, the first phrase, and the three-dimensional character models at one end of the second phrase. The electronic device combines the first three-dimensional phrase and the second three-dimensional phrase into a multi-faceted three-dimensional phrase based on the first character at one end of the first phrase and the first character at one end of the second phrase.

[0010] Specifically, the electronic device generates a multi-sided three-dimensional phrase based on the last character of the first phrase and the second phrase, and the first character of the second phrase and the first phrase, wherein the first side of the three-dimensional phrase presents the first phrase, and the second side of the three-dimensional phrase presents the second phrase.

[0011] In one design, the electronic device obtains each 3D character model composed of two characters among the multiple characters, which can be specifically: the electronic device places two characters among the multiple characters on the first surface and the second surface respectively. The electronic device processes each two characters into three dimensions and intersects them at right angles to obtain a three-dimensional network of each intersecting part, and the three-dimensional network of each intersecting part is each 3D character model.

[0012] In one design, the electronic device generates the first three-dimensional phrase according to the first character at one end of the first phrase, the second phrase, and the three-dimensional character models. Specifically, the electronic device matches the first character at one end of the first phrase with the characters in the second phrase to obtain the first character groups. The electronic device matches the first character groups with the three-dimensional character models to generate the first three-dimensional characters. The electronic device arranges the first three-dimensional characters into the first three-dimensional phrase according to a preset order.

[0013] In one design, the electronic device generates the second three-dimensional phrase according to the first character at one end of the second phrase, the first phrase, and the three-dimensional character models. Specifically, the electronic device matches the first character at one end of the second phrase with the characters in the first phrase to obtain the second character groups. The electronic device matches the second character groups with the three-dimensional character models to generate the second three-dimensional characters. The electronic device arranges the second three-dimensional characters into the second three-dimensional phrase according to a preset order.

[0014] In one design, the first character at one end of the first phrase includes the first character or the last character of the first phrase, and the first character at one end of the second phrase includes the first character or the last character of the second phrase.

[0015] In one design, the first interface further includes a second control, and the second control is used to select a material; the method further includes: in response to receiving an operation on the second control, the electronic device configures the properties of the selected material for the multi-faceted three-dimensional phrase. In this way, the user can adjust the material properties of the three-dimensional phrase at will, so that the user can select the material according to his or her preferences, which is highly flexible and provides a good user experience.

[0016] In one design, the first interface further includes a third control, which is used to trigger a preview of the stereoscopic phrase effect; the method further includes: in response to receiving an operation on the third control, the electronic device obtains a plurality of frame images of the multi-faceted stereoscopic phrase in the autobiography process. The electronic device displays a second interface, and the plurality of frame images are played on the second interface.

[0017] In a second aspect, the present application provides an electronic device, the electronic device comprising: a display module, a recognition module and a generation module, wherein the display module is used to display a first interface in response to receiving an operation on a user interface of a first application, the first interface comprising a first phrase and a second phrase input by a user. The recognition module is used to recognize each character in the first phrase and each character in the second phrase in response to receiving an operation on the first interface. The generation module is used to generate a multi-faceted three-dimensional phrase based on the first character and the second phrase at one end of the first phrase and the first character and the first phrase at one end of the second phrase, the first side of the three-dimensional phrase being presented as the first phrase and the second side of the three-dimensional phrase being presented as the second phrase.

[0018] The first phrase and the second phrase include one or more characters, and the characters may include letters and symbols. The letters may refer to letters of various languages, such as English letters, French letters, Korean letters, etc. The symbol may refer to a period or a special symbol, such as a space, @, #, &, etc.

[0019] In the present application, the user can input any at least two phrases, which can be automatically combined to obtain a multi-faceted three-dimensional phrase. The content of the three-dimensional phrase can be customized to achieve the purpose of automatically generating the three-dimensional phrase.

[0020] In one design, the first interface includes a first input box, a second input box, and a first control, the first input box is used to input the first phrase, the second input box is used to input the second phrase, and the first control is used to trigger the generation of a three-dimensional phrase.

[0021] In one design scheme, a generation module is used to: obtain three-dimensional character models composed of every two characters in a plurality of characters; generate a first three-dimensional phrase based on a first character at one end of a first phrase, a second phrase and each three-dimensional character model; generate a second three-dimensional phrase based on a first character at one end of a second phrase, the first phrase and each three-dimensional character model; and combine the first three-dimensional phrase and the second three-dimensional phrase into a multi-faceted three-dimensional phrase based on a first character at one end of the first phrase and a first character at one end of the second phrase.

[0022] In one design scheme, the generation module is used to: place every two characters among multiple characters on the first surface and the second surface respectively; process every two characters into three dimensions and intersect them at right angles to obtain a three-dimensional network of each intersecting part, and the three-dimensional network of each intersecting part is each three-dimensional character model.

[0023] In one design scheme, the generation module is used to: match the first character at one end of the first phrase with each character in the second phrase to obtain each first character group; match each first character group with each three-dimensional character model to generate each first three-dimensional character; arrange each first three-dimensional character into a first three-dimensional phrase in a preset order.

[0024] In one design scheme, the generation module is used to: match the first character at one end of the second phrase with each character in the first phrase to obtain each second character group; match each second character group with each three-dimensional character model to generate each second three-dimensional character; arrange each second three-dimensional character into a second three-dimensional phrase in a preset order.

[0025] In one design, the first character at one end of the first phrase includes the first character or the last character of the first phrase, and the first character at one end of the second phrase includes the first character or the last character of the second phrase.

[0026] In one design, the first interface further includes a second control for selecting a material; the electronic device further includes a configuration module for configuring the properties of the selected material for the multi-faceted three-dimensional phrase in response to receiving an operation on the second control. In this way, the user can adjust the material properties of the three-dimensional phrase at will, so that the user can select the material according to his or her preferences, which is highly flexible and provides a good user experience.

[0027] In one design solution, the first interface further includes a third control, and the third control is used to trigger the preview of the stereoscopic phrase effect. The electronic device further includes: an acquisition module, and the acquisition module is used to obtain multiple frame images of the multi-faceted stereoscopic phrase in the autobiography process in response to receiving an operation on the third control. The display module is used to display the second interface, and the multiple frame images are played on the second interface.

[0028] In a third aspect, the present application provides an electronic device, which includes: one or more processors; and a memory storing code therein; when the code is executed by the processors, the electronic device is caused to execute the method described in the first aspect.

[0029] In a fourth aspect, the present application provides a computer-readable storage medium, which includes computer instructions that, when running on an electronic device, cause the electronic device to execute the method described in the first aspect.

[0030] In a fifth aspect, the present application provides a chip system, which includes one or more processors that, when executing instructions, execute the method described in the first aspect.

[0031] Wherein, for the specific implementation manners and corresponding technical effects of each of the above second to fifth aspects, reference may be made to the specific implementation manners and technical effects of the first aspect above. Description of the Drawings

[0032] Figure 1 Schematic diagram of a model of the character "Zhong" designed manually;

[0033] Figure 2 Schematic diagram of a model of the character "Guo" designed manually;

[0034] Figure 3 Schematic diagram of an interface of an electronic device provided by an embodiment of the present application;

[0035] Figure 4 Another schematic diagram of an interface of an electronic device provided by an embodiment of the present application;

[0036] Figure 5 Another schematic diagram of an interface of an electronic device provided by an embodiment of the present application;

[0037] Figure 6 Another schematic diagram of an interface of an electronic device provided by an embodiment of the present application;

[0038] Figure 7 Another schematic diagram of an interface of an electronic device provided by an embodiment of the present application;

[0039] Figure 8 Schematic diagram of an interface of another electronic device provided by an embodiment of the present application;

[0040] Fig. 9 Another schematic diagram of an interface of another electronic device provided by an embodiment of the present application;

[0041] Fig.10A schematic diagram of another interface of another electronic device provided in an embodiment of the present application;

[0042] Fig.11 A schematic diagram of another interface of another electronic device provided in an embodiment of the present application;

[0043] Fig.12 A schematic diagram of another interface of another electronic device provided in an embodiment of the present application;

[0044] Fig.13 A schematic diagram of another interface of another electronic device provided in an embodiment of the present application;

[0045] Fig.14 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0046] Figure 15-1 A schematic flow chart of a multi-faceted three-dimensional phrase generation method provided in an embodiment of the present application;

[0047] Figure 15-2 A schematic flow chart of a multi-faceted three-dimensional phrase generation method provided in an embodiment of the present application;

[0048] Fig.16 A schematic diagram of a plurality of three-dimensional character models composed of 26 English letters provided in an embodiment of the present application;

[0049] Fig.17 A schematic diagram of a process for generating a 3D character model provided in an embodiment of the present application;

[0050] Fig.18 A schematic diagram of generating a three-dimensional character model of AB provided in an embodiment of the present application;

[0051] Fig.19 A schematic diagram of a flow chart of generating a three-dimensional character model of AB provided in an embodiment of the present application;

[0052] Fig. 20 A schematic diagram of a three-dimensional character model of AB provided in an embodiment of the present application;

[0053] Fig.21 A schematic diagram of the process of generating a 3D character model of BA provided in an embodiment of the present application;

[0054] Fig. 22 A schematic diagram of the process of generating a 3D character model of BA provided in an embodiment of the present application;

[0055] Fig.23 A schematic diagram of a multi-faceted three-dimensional phrase layout provided in an embodiment of the present application;

[0056] Fig.24Schematic diagram of the multi-sided three-dimensional phrase "HUAWEI UXD" provided by the embodiments of this application;

[0057] Fig.25 Schematic diagram of the structure of an electronic device provided by the embodiments of this application. Detailed implementation manners

[0058] Three-dimensional characters can refer to characters presented in a three-dimensional space shape with length, width, and height. Such characters can refer to Chinese characters or one or more English letters. Multi-sided three-dimensional characters can present different contents when viewed from different directions. The generation of multi-sided three-dimensional characters is usually manually designed and modeled and made into handicrafts. Exemplarily, as Figure 1 shown is the schematic diagram of the model of the Chinese character "中" designed manually, and as Figure 2 shown is the schematic diagram of the model of the Chinese character "国" designed manually. It can be seen that the current generation of three-dimensional characters requires customization and manual intervention, cannot customize the content, and has limitations.

[0059] To solve the above technical problems, this application provides a method for generating a multi-sided three-dimensional phrase. The method includes: The electronic device receives an operation on the user interface of the first application. In response to this operation, the electronic device displays a first interface, which includes a first input box for inputting a first phrase, a second input box for inputting a second phrase, and a first control for triggering the generation of a three-dimensional phrase. In response to receiving an operation on the first control, the electronic device identifies the first phrase and the second phrase. Specifically, the electronic device generates a multi-sided three-dimensional phrase according to the last character of the first phrase and the second phrase, and the first character of the second phrase and the first phrase. The first side of the three-dimensional phrase presents the first phrase, and the second side of the three-dimensional phrase presents the second phrase. In this way, by the user inputting any at least two phrases, they can be automatically combined to obtain a multi-sided three-dimensional phrase, and the content of the three-dimensional phrase can be customized, achieving the purpose of automatically generating a three-dimensional phrase.

[0060] In some examples, both the first phrase and the second phrase can refer to a single character or multiple characters, and such characters can include letters and special symbols. The letters can refer to English letters, and can also refer to Korean letters. Of course, the letters can also refer to letters in languages such as French. In the embodiments of this application, English letters are used as an example for illustration. The special symbols can refer to punctuation marks or symbols representing numbers. For example, "#", "*", "&", "%", etc. The multi-sided three-dimensional phrase can include multiple sides, and the content presented on each side is different. In the embodiments of this application, two sides are used as an example for illustration. For example, the first side and the second side, the first phrase is presented on the first side, and the second phrase is presented on the second side.

[0061] In some embodiments, the present application provides a multi-faceted stereoscopic phrase generation method that may also include: the electronic device obtains multiple frame images of the multi-faceted stereoscopic phrase during the rotation process. Among them, the stereoscopic phrase can rotate on its own, such as, in a three-dimensional coordinate system, the stereoscopic phrase can rotate 180 degrees around the Y axis. The stereoscopic phrase can also rotate 360 ​​degrees in a sphere, such as, in a three-dimensional coordinate system, the stereoscopic phrase can rotate 360 ​​degrees around the coordinate origin. The electronic device displays a second interface and plays multiple frame images on the second interface. Exemplarily, it can be specifically implemented as follows: in response to receiving a specified operation on the electronic device, the electronic device displays the second interface, such as, the specified operation may refer to a screen-off operation; or, when the electronic device does not receive an operation within a preset time, the electronic device displays the second interface.

[0062] The following describes in detail the method provided in the embodiments of the present application for different application scenarios:

[0063] Scene 1: Screen-off display scene.

[0064] Exemplarily, the first application is a settings application. Figure 3-Figure 7 This is a schematic diagram of an interface of an electronic device provided in an embodiment of the present application. Figure 3 As shown, when the user clicks the icon 102 for setting the application on the interface 101 of the electronic device 100, the interface of the electronic device 100 is changed from Figure 3 The interface 101 shown jumps to Figure 4 The interface 201 shown is an application interface for setting applications. A control 202 is displayed on the interface. The control 202 is used to set the desktop and wallpaper. When the user clicks the control 202, the interface of the electronic device 100 is Figure 5 The interface 301 shown in FIG. 301 includes a control 302 for setting the screen off display. In response to receiving an operation on the control 302, the interface of the electronic device 100 is changed to Figure 5 The interface 301 shown jumps to Figure 6 The interface 401 shown in FIG. 4 is a setting interface for the screen-off display. The interface 401 may include a control 403 for creating a stereo phrase. In response to receiving an operation on the control 403, the interface of the electronic device 100 jumps to Figure 7 The interface 501 shown is a creation interface of a stereo phrase. The interface 501 displays a preview window 502, an input box 503, an input box 504 and a control 505 for confirmation. Figure 7As shown, when the user enters "HUAWEI" in the input box 503, enters "UXD" in the input box 504, and clicks the control 505 for confirmation, the electronic device 100 displays the stereoscopic phrase "HUAWEI UXD" in the preview window 502. When the stereoscopic phrase is rotated to the first surface, the stereoscopic phrase is presented as "HUAWEI"; when the stereoscopic phrase is rotated to the second surface, the stereoscopic phrase is presented as "UXD". Figure 8 This is a schematic diagram of the interface of the screen-off display of the electronic device provided in the embodiment of the present application. Figure 8 As shown, when the electronic device 100 receives the screen-off operation, the electronic device 100 displays the screen-off state. Figure 8 The interface 601 shown is a screen-off display interface. The three-dimensional phrase "HUAWEI UXD" is displayed on the interface 601.

[0065] Scene 2: Screen saver display scene.

[0066] For example, Figure 9-13 This is a schematic diagram of an interface of another electronic device provided in an embodiment of the present application. Fig. 9 As shown in FIG. 1 , when the user right-clicks the mouse button on the screen of the electronic device, the electronic device 100 receives the user's operation. In response to the operation, the electronic device 100 displays Fig. 9 The interface 701 shown in FIG. 7 shows a selection control 702. The selection control 702 may include viewing options, arranging options, refreshing options, copying options, pasting options, cutting options, creating options, and setting options. When the user clicks on the setting option, the interface of the electronic device is changed to Fig. 9 The interface 701 shown jumps to Fig.10 The interface 801 is a setting interface. A control 802 is displayed on the interface 801. The control 802 is used to set the screen saver. The electronic device 100 receives the user's operation on the control 802. In response to the operation, the electronic device 100 jumps to Fig.11 The interface 901 for screen saver settings is shown. The interface 901 may include a preview area 902, a selection control 903, a first input box 904, a second input box 905, a setting control 906, a preview control 907, a confirmation control 908, a cancel control 909 and an application control 910. The preview area 902 is used to preview images. The selection control 903 includes a three-dimensional phrase option, an art option, a bubble option, a blank option, etc. The first input box 904 is used to input a first phrase, and the second input box 905 is used to input a second phrase. The setting control 906 is used to set information such as the waiting time and display layout. The preview control is used to trigger the display of an image in the preview area 902. Fig.12As shown in FIG. 1 , when the user selects the stereo phrase option, the user enters "HUAWEI" in the first input box 904 and enters "UXD" in the second input box 905. Afterwards, the user clicks the confirmation control 908. At this time, the electronic device 100 generates the stereo phrase "HUAWEI UXD". In response to receiving the user's operation on the application 910, the screen saver interface of the electronic device 100 is Fig.13 The interface shown.

[0067] It can be seen that the user can input at least two arbitrary phrases, which can be automatically combined to obtain a multi-faceted three-dimensional phrase, so that the user can customize the content of the three-dimensional phrase and achieve the purpose of automatically generating the three-dimensional phrase.

[0068] Fig.14 It is a structural block diagram of the above electronic equipment.

[0069] like Fig.14 As shown, the electronic device 100 may include a processor 110, a memory 120, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, a camera 150, an antenna 1, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a sensor module 180, and a display screen 190. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, and a touch sensor 180C.

[0070] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0071] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0072] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0073] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0074] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of an electronic device. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.

[0075] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the memory 120, the display screen 190, the camera 150, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0076] The wireless communication function of the electronic device can be implemented through the antenna 1, the wireless communication module 160, the modem processor and the baseband processor.

[0077] Antenna 1 is used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antenna. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0078] The wireless communication module 160 can provide wireless communication solutions for electronic devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 1, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of the signal, amplify it, and convert it into electromagnetic waves for radiation through the antenna 1.

[0079] The electronic device implements the display function through a GPU, a display screen 190, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 190 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0080] The display screen 190 is used to display images, videos, etc. The display screen 190 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, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device may include 1 or N display screens 190, where N is a positive integer greater than 1.

[0081] The electronic device can realize the shooting function through the ISP, the camera 150, the video codec, the GPU, the display screen 190 and the application processor.

[0082] The camera 150 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device may include 1 or N cameras 150, where N is a positive integer greater than 1.

[0083] Digital signal processors are used to process digital signals. In addition to processing digital image signals, they can also process other digital signals. For example, when an electronic device selects a frequency point, a digital signal processor is used to perform Fourier transform on the frequency point energy.

[0084] Video codecs are used to compress or decompress digital videos. Electronic devices can support one or more video codecs. In this way, electronic devices can play or record videos in multiple coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0085] The memory 120 may be used to store computer executable program codes, which include instructions. The internal memory 120 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. The data storage area may store data created during the use of the electronic device (such as audio data, a phone book, etc.), etc.

[0086] The electronic device can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, and the application processor.

[0087] The audio module 170 is used to convert digital audio information into analog audio signal output, and also used to convert analog audio input into digital audio signal. The audio module 170 can also be used to encode and decode audio signals.

[0088] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device can listen to music or listen to a hands-free call through the speaker 170A.

[0089] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0090] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by approaching the microphone 170C with his mouth to input the sound signal into the microphone 170C.

[0091] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 190. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device determines the intensity of the pressure based on the change in capacitance. When a touch operation acts on the display screen 190, the electronic device detects the touch operation intensity according to the pressure sensor 180A. The electronic device can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0092] The gyro sensor 180B can be used to determine the motion posture of the electronic device. In some embodiments, the angular velocity of the electronic device around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.

[0093] The touch sensor 180C is also called a "touch control device". The touch sensor 180C can be set on the display screen 190, and the touch sensor 180C and the display screen 190 form a touch screen, also called a "touch control screen". The touch sensor 180C is used to detect touch operations 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 can be provided through the display screen 190. In other embodiments, the touch sensor 180C can also be set on the surface of the electronic device, which is different from the position of the display screen 190.

[0094] Of course, the electronic device may also include other functional units, which are not limited in the embodiments of the present application.

[0095] Below Fig.14 Taking the illustrated architecture as an example, the multi-faceted three-dimensional phrase generation method provided by the embodiment of the present application is described. Each unit in the following embodiment may have Fig.14It should be noted that the message names or parameter names in the messages exchanged between the devices in the embodiments of the present application are only examples, and other names may be used in the specific implementation. In addition, the actions, terms, etc. involved in the embodiments of the present application may refer to each other without limitation.

[0096] The following is a detailed introduction to a multi-faceted three-dimensional phrase generation method provided in an embodiment of the present application.

[0097] Figure 15-1 and Figure 15-2 A schematic flow chart of a multi-faceted three-dimensional phrase generation method provided in an embodiment of the present application.

[0098] like Figure 15-1 As shown, the method may include:

[0099] S150. In response to receiving an operation on a first application, the electronic device displays a first interface, where the first interface is a user interface of the first application and a first control is displayed on the first interface, where the first control is used to trigger creation of a three-dimensional phrase.

[0100] The three-dimensional phrase may include a single three-dimensional letter, or may include a three-dimensional phrase consisting of at least two letters. The letters may be understood as letters in various languages, such as English letters in English, Korean letters in Korean, French letters in French, and phonetic letters in Chinese, etc.

[0101] The first application may be a system application, which may be configured in a system program. Exemplarily, the system application may be a setting application, such as a setting application, a control panel application, etc. Of course, the first application may also be a third-party application, which may be installed on an electronic device. The third-party application may be an application for generating a multi-faceted three-dimensional phrase.

[0102] In some examples, the operation on the first application may include an operation on the icon of the first application, or may include an operation on the interface of the first application. The specific implementation needs to be determined according to the application scenario, and is not specifically limited in this application.

[0103] In some examples, in response to receiving an operation on the first application, the electronic device may display a second interface, which includes a second control for triggering entry into the first interface. In response to receiving an operation on the second control, the electronic device displays the first interface. Of course, before entering the first interface, the electronic device may also display other interfaces. The specific implementation needs to be determined according to the actual scenario and is not specifically limited here.

[0104] For example, using the above-mentioned screen-off display scenario, the first application is the settings application as an example. When the user clicks Figure 3 When the icon 102 of the application is set on the electronic device 100 shown in the figure, the electronic device receives the user's operation and displays a Figure 4 The interface 201 shown in FIG. 1 shows a control 202 for setting the desktop and wallpaper. In response to receiving an operation on the control 202, the electronic device 100 displays Figure 5 The interface 301 shown in FIG. 1 shows a control 302 for setting the screen off display. In response to receiving an operation on the control 302, the electronic device 100 displays Figure 6 The interface 401 shown (i.e., the first interface) displays a control 403 (i.e., the first control) for creating a polyhedron phrase on the interface 401. It can be seen that after the user operates the icon of the setting application, the electronic device displays the interface 201 and the interface 301 in sequence. Afterwards, the electronic device displays the first interface (i.e., interface 401).

[0105] For example, using the above screen saver display scenario, the first application is the control panel application as an example. Fig. 9 When the mouse is right-clicked on the desktop 701 of the electronic device 100, the electronic device 100 Fig. 9 The control 702 is shown on the desktop 701. The control 702 may include at least one of the following options: view option, arrange option, refresh option, assign option, paste option, cut option, create option and set option. In response to receiving an operation on the setting option, the electronic device 100 displays Fig.10 The interface 801 shown in FIG. 8 shows a control 802 for setting screen protection. In response to receiving an operation on the control 802, the electronic device 100 displays Fig.11 The interface 901 (i.e., the first interface) shown in the figure displays a control 903 (i.e., the first control) for creating a multi-faceted three-dimensional phrase. It can be seen that after the user operates the interface of the control panel, the electronic device displays the interface 701 and the interface 801 in sequence. Afterwards, the electronic device displays the first interface (i.e., interface 901).

[0106] Of course, the embodiments of the present application are not limited to the above scenarios, and other application scenarios may also be used, such as a screen display scenario, a screen lock scenario, etc. They are not listed here one by one. In addition, after the user operates the electronic device, the electronic device may directly display the first interface, or may display the first interface after displaying at least one interface. In the specific implementation, the display may be combined with a specific scenario, which is not specifically limited here.

[0107] S151. In response to an operation on a first control, the electronic device displays a third interface, on which a first input box, a second input box and a third control are displayed, wherein the first input box is used to input a first character, the second input box is used to input a second character, and the third control is used to trigger generation of a three-dimensional phrase.

[0108] The third interface can be understood as a three-dimensional phrase creation interface.

[0109] Exemplarily, the above-mentioned screen-off display scenario is used, in response to Figure 6 The control 403 (ie, the first control) shown in FIG. 1 is operated, and the interface displayed by the electronic device 100 is composed of Figure 6 The interface shown in 401 jumps to Figure 7 The interface 501 shown in FIG. 501 displays an input box 503 (i.e., the first input box), an input box 504 (i.e., the second input box), and a control 505 (i.e., the third control) for determining the generated three-dimensional phrase. The user can enter any letter in the input box 503 and the input box 504. For example, Figure 7 As shown, the user enters “HUAWEI” in input box 503 and enters “UXD” in input box 504 .

[0110] Exemplarily, the above screen saver display scene is used, in response to Fig.10 The control 802 (ie, the first control) shown in FIG. 8 is operated, and the interface displayed by the electronic device 100 is composed of Fig.10 The interface 801 shown jumps to Fig.11 Interface 901 is shown. A screen saver is displayed on the interface 901, which includes at least one of the following: a 3D phrase option, a bubble option, an art option, and a blank option. When the user selects the 3D phrase option 903, the electronic device displays an input box 904 (i.e., the first input box), an input box 905 (i.e., the second input box), and a control 908 (i.e., the third control) for determining the generation of a 3D phrase on the interface 901. The user can enter any letter in the input box 904 and the input box 905. For example, Fig.12 As shown, the user enters “HUAWEI” in input box 904 and enters “UXD” in input box 905 .

[0111] S152: In response to receiving an operation on a third control, a multi-faceted three-dimensional word group is generated, wherein a first face of the three-dimensional word group is presented as a first word group, and a second face of the three-dimensional word group is presented as a second word group.

[0112] In some specific implementations, such as Figure 15-1 As shown, S152 may include S1521 and S1522. Specifically, S1521 and S1522 may be:

[0113] S1521: In response to receiving an operation on a third control, the electronic device recognizes a first character at one end of a first phrase and a first character at one end of a second phrase.

[0114] In some examples, the first character at one end of the first phrase may include the first character or the last character of the first phrase, and the first character at one end of the second phrase may include the first character or the last character of the second phrase. Specifically, the first character at one end of the first phrase may refer to the first character of the first phrase, and correspondingly, the first character at one end of the second phrase may refer to the last character of the second phrase. Alternatively, the first character at one end of the first phrase may refer to the last character of the first phrase, and correspondingly, the first character at one end of the second phrase may refer to the first character of the second phrase. Alternatively, the first character at one end of the first phrase may refer to the first character of the first phrase, and correspondingly, the first character at one end of the second phrase may refer to the first character of the second phrase. Alternatively, the first character at one end of the first phrase may refer to the last character of the first phrase, and correspondingly, the first character at one end of the second phrase may refer to the last character of the second phrase.

[0115] In a specific implementation, the electronic device may pre-select and store letters of various languages. In response to receiving an operation on the third control, the electronic device may respectively identify letters of the first phrase and the second phrase according to the letters of various languages ​​pre-selected and stored, and determine the first character at one end of the first phrase and the first character at one end of the second phrase. Exemplarily, the electronic device may identify the last character of the first phrase and the first character of the second phrase, or the first character of the first phrase and the last character of the second phrase.

[0116] S1522: The electronic device generates a multi-faceted three-dimensional phrase based on the first character and the second phrase at one end of the first phrase, and the first character and the first phrase at one end of the second phrase.

[0117] In a specific implementation, Figure 15-2 As shown, S1522 may include S15221, S15222, S15223 and S15224. Among them, S15221, S15222, S15223 and S15224 may be specifically implemented as follows:

[0118] S15221. The electronic device obtains three-dimensional character models composed of every two characters among a plurality of characters.

[0119] In one example, each 3D character model may include a letter model, a symbol model, and a letter and symbol model.

[0120] In one example, the letter model can be understood as a three-dimensional word model composed of two letters in a certain language. For example, taking the English alphabet as an example, there are 26 letters in the English alphabet. Among the 26 letters, two letters can form a three-dimensional word model. Fig.16 As shown in the table, it is a table of 3D word models composed of two letters in each of the 26 letters. In this table, due to the 26 uppercase English letters, there are a total of 676 permutations and combinations. Among them, the flip-symmetric combination can be reused, and at least 456 models are actually made, which can occupy 5016KB of memory. Table 1 shows the type and memory of the 3D word model. As shown in Table 1 below:

[0121] Table 1

[0122]

[0123] In one example, the symbol model can be understood as a model composed of two symbols among multiple symbols, such as @ and &, * and ¥, space and @, etc. This embodiment of the present application does not make specific limitations.

[0124] In one example, the letter and symbol model can be understood as a model consisting of a letter among multiple letters and a symbol among multiple symbols, such as A and space, A and @, A and #, etc., which are not listed here one by one.

[0125] Of course, no matter it is a letter model, a symbol model, or a letter and symbol model, the modeling process is the same or similar. The modeling can be implemented as follows:

[0126] Exemplarily, assume a three-dimensional coordinate system with an X-axis, a Y-axis, and a Z-axis, and an anchor point o. The positive direction of the Y-axis is opposite to the gravity, the first surface is perpendicular to the positive direction of the Z-axis, and the second surface is perpendicular to the positive direction of the X-axis. For a phrase with two symmetrical characters, the first symmetrical character is on the first surface, and the second symmetrical character is on the second surface. For a phrase with a symmetrical character and an asymmetrical character, the symmetrical character is on the first surface, and the asymmetrical character is on the second surface. The anchor point of the three-dimensional coordinate system is the origin of the characters on the first surface and the characters on the second surface, and the origin can be the center point of the character or the point at the lower left corner of the character.

[0127] For example, Fig.17 As shown, taking H and W as an example, the electronic device can perform three-dimensional processing on the letters H and W to obtain 3D meshes of the letters H and W. Afterwards, the electronic device intersects the two 3D meshes at right angles and uses Boolean operations to obtain the 3D mesh of the intersecting part, which is the three-dimensional character model of HW.

[0128] For example, Fig.18 and Fig.19As shown, the first side is side A, and the second side is side B. Taking A and B as examples, letter A is a symmetrical character, and letter B is an asymmetrical character. Letter A is located on side A, and letter B is located on side B. The anchor point o of the three-dimensional coordinate system is the origin of A and B. The electronic device can process letters A and B in three dimensions to obtain 3D meshes of letters A and B. Afterwards, the electronic device intersects the two 3D meshes at right angles, and uses Boolean operations to obtain the 3D mesh of the intersecting part, which is Fig.19 and Fig. 20 The three-dimensional model of AB shown in the figure has the letter A on the A side and the letter B on the B side.

[0129] For a model with symmetrical characters on one side, the AB side can be swapped by rotating the model to achieve model reuse. For example, the electronic device obtains a 3D character model of AB according to the above operation, and after rotation, a 3D character model of BA can be obtained. The specific implementation can be:

[0130] For example, the above three-dimensional coordinate system is used, such as Fig.21 and Fig. 22 As shown, the character on the A side of the 3D character model of AB is A, and the character on the B side is B. The electronic device rotates the 3D character model of AB 90° clockwise and moves the step width (Advance Width) of the A side in the negative direction of the Z axis. At this time, the character on the A side becomes B, and the character on the B side becomes A. The origin of the 3D character model of BA is determined according to the origin of the 3D character model of AB and the step width of the 3D character model of AB. For example, the origin of the 3D character model of BA (i.e., Fig.21 The virtual origin in the figure is (origin x-advance, origin y-advance, origin z-advance). In the subsequent layout process, the layout of the new A side refers to the x coordinate of the origin, and the layout of the new B side refers to the z coordinate of the virtual origin.

[0131] In this way, for a 3D character model with a symmetrical character, another symmetrical 3D character model can be obtained by flipping it, thus realizing model reuse. Fig.16 The model shown can reduce the model production and save the power consumption of electronic equipment.

[0132] S15222: The electronic device generates a first 3D phrase according to the first character at one end of the first phrase, the second phrase, and each 3D character model.

[0133] In a specific implementation, the electronic device generates each first 3D character by combining the first character at one end of the first phrase with each character in the second phrase according to each 3D character model, and arranges each first 3D character into a first 3D phrase according to a preset order.

[0134] The preset order can be understood as the arrangement order of the characters in the first phrase.

[0135] The first 3D word group is perpendicular to the X axis of the three-dimensional coordinate system, that is, the first 3D word group is located on the second surface, that is, surface B. The total width of the first 3D word group can be determined according to the step width of arranging each first 3D word, and the expression can be:

[0136] Total width H = B surface length = ∑Advance + space

[0137] Wherein, space represents the space width, and Advance represents the step width of each three-dimensional character. Exemplarily, the step width of each letter and the total step width are determined on each plane respectively according to the inherent size of the letter.

[0138] If the center of the first three-dimensional phrase needs to be located at the anchor point of the three-dimensional coordinate system, the electronic device needs to be moved a distance of H / 2 in the Z-axis direction.

[0139] For example, using the above example, Fig.23 As shown, the first character of the first phrase "HUAWEI" can be "I", and the second phrase is "UXD". The electronic device can obtain the following three-dimensional character models based on the three-dimensional character models obtained above: the three-dimensional character model of "IU", the three-dimensional character model of "IX", and the three-dimensional character model of "ID". After that, the electronic device can determine the three-dimensional character model of "IU" as a keyword. The electronic device can determine the origin of each three-dimensional character model, and the determination of the origin is as described above, which will not be repeated here. The electronic device coincides the origin of the three-dimensional character model of "IU" with the anchor point of the three-dimensional coordinate system, and arranges the three-dimensional character model of "IX" and the three-dimensional character model of "ID" in sequence along the X-axis square. The default character spacing is 0, and the electronic device determines the origin of the three-dimensional character model of "IX" according to the origin and step width of the three-dimensional character model of "IU". Similarly, the electronic device determines the origin of the three-dimensional character model of "ID" according to the origin and step width of the three-dimensional character model of "IU" and the step width of the three-dimensional character model of "IX".

[0140] S15223: The electronic device generates a second 3D phrase according to the first character at one end of the second phrase, the first phrase, and each 3D character model.

[0141] In a specific implementation, the electronic device generates each second 3D character by combining the first character at one end of the second phrase with each character in the first phrase according to each 3D character model, and arranges each second 3D character into a second 3D phrase according to a preset order.

[0142] The second 3D word group is perpendicular to the Z axis of the three-dimensional coordinate system, that is, the second 3D word group is located on the first surface, that is, surface A. The total width of the second 3D word group can be determined according to the step width of arranging each second 3D word, and the expression can be:

[0143] Total width W = length of surface A = ∑Advance + space

[0144] Among them, space represents the space width, and Advance represents the step width of each 3D character.

[0145] If the center of the second three-dimensional phrase needs to be located at the anchor point of the three-dimensional coordinate system, the electronic device needs to move a distance of (W / 2-advance of the keyword on the A plane) in the X-axis direction.

[0146] For example, using the above example, Fig.23 As shown, the first word group is "HUAWEI", the first character of the second word group "UXD" can be "U", and the electronic device can obtain the following three-dimensional word models based on the three-dimensional word models obtained above: the three-dimensional word model of "HU", the three-dimensional word model of "UU", the three-dimensional word model of "AU", the three-dimensional word model of "WU", the three-dimensional word model of "EU" and the three-dimensional word model of "IU". The electronic device can determine that the three-dimensional word model of "IU" is a keyword.

[0147] S15224: The electronic device combines the first three-dimensional phrase and the second three-dimensional phrase into a multi-faceted three-dimensional phrase based on the first character at one end of the first phrase and the first character at one end of the second phrase.

[0148] Following the above example, the electronic device combines the first three-dimensional word group and the second three-dimensional word group into a multi-faceted three-dimensional word group. Fig.24 The multi-faceted three-dimensional phrase shown.

[0149] In the embodiment of the present application, the user can input any at least two phrases, which can be automatically combined to obtain a multi-faceted three-dimensional phrase, so that the user can customize the content of the three-dimensional phrase and achieve the purpose of automatically generating the three-dimensional phrase.

[0150] In some examples, the electronic device can dynamically display a multi-faceted three-dimensional word group. That is, the multi-faceted three-dimensional word group can display effects with program animation. Specifically, the multi-faceted three-dimensional word group can rotate around a certain axis or perform a spherical rotation around a center point.

[0151] When the three-dimensional word group rotates to a point where the first surface is parallel to the display screen, the electronic device's display screen displays the word group presented on the first surface, i.e., the first word group. Similarly, when the three-dimensional word group rotates to a point where the second surface is parallel to the display screen, the electronic device's display screen displays the word group presented on the second surface, i.e., the second word group.

[0152] Continuing with the above example, assuming that the first phrase is "HUAWEI" and the second phrase is "UXD". Then, the multi-faceted three-dimensional phrase generated by the electronic device may be "HUAWEI UXD". When the three-dimensional phrase is rotated so that the first face is parallel to the display screen, "HUAWEI" is displayed on the display screen of the electronic device. When the three-dimensional phrase is rotated so that the second face is parallel to the display screen, "UXD" is displayed on the display screen of the electronic device.

[0153] In a specific implementation, the electronic device can dynamically display a multi-faceted three-dimensional phrase, which can be specifically implemented as follows: the third interface also includes a fourth control, and the fourth control is used to trigger a preview of the three-dimensional phrase. In response to receiving an operation on the fourth control, the electronic device obtains multiple image frames of the three-dimensional phrase during the rotation process. When the electronic device needs to display the three-dimensional phrase, the electronic device can display each of the multiple image frames according to a preset time. In this way, the electronic device can display the dynamic effect of the multi-faceted three-dimensional phrase on the display screen. Of course, the embodiments of the present application are not limited to this implementation method.

[0154] For example, in the screen-off display scenario, the electronic device displays Figure 7 The interface 501 shown includes a control 506 for triggering a preview and a preview area 502. When the user clicks the control 505, the electronic device receives the user's operation. At this time, the electronic device dynamically displays the generated three-dimensional phrase in the preview area 502.

[0155] Similarly, in the screen saver display scene, the electronic device displays Fig.11 The interface 901 shown includes a control 907 for triggering a preview and a preview area 902. When the user clicks the control 907, the electronic device receives the user's operation. At this time, the electronic device dynamically displays the generated three-dimensional phrase in the preview area 902.

[0156] In some embodiments, in order to make the multi-faceted three-dimensional phrase more textured, the third interface further includes a fifth control for selecting a material. The method provided in the embodiment of the present application may further include: in response to receiving an operation on the fifth control, the electronic device configures the properties of the selected material for the multi-faceted three-dimensional phrase.

[0157] For example, in the screen-off display scenario, the electronic device displays Figure 7 The interface 501 shown includes a control 507 for triggering the configuration of the material. When the user clicks the control 507, the electronic device receives the user's operation. At this time, the electronic device configures the properties of the selected material for the multi-faceted three-dimensional phrase.

[0158] Of course, in the embodiment of the present application, the configuration of the properties of the material of the multi-faceted three-dimensional phrase is not limited to user operation, but can also be pre-configured by the electronic device. For example, the properties of the material can be configured during the process of the electronic device generating the multi-faceted three-dimensional phrase. The embodiment of the present application does not make specific limitations.

[0159] The specific implementation method of the embodiments of the present application is detailed in the above-mentioned related content, and the embodiments of the present application will not be repeated here.

[0160] The various solutions in the above embodiments of the present application can be combined without contradiction.

[0161] The present application also provides an electronic device for implementing any of the above methods. For example, an electronic device is provided that includes a unit (or means) for implementing each step performed by the electronic device in the above method S150-S152. Fig.25 , which is a schematic diagram of an electronic device provided in an embodiment of the present application, the electronic device 2500 may include: a display module 2501, an identification module 2502 and a generation module 2503, wherein,

[0162] The display module 2501 is used to display the first interface in response to receiving an operation on the user interface of the first application, where the first interface includes the first phrase and the second phrase input by the user. Exemplarily, the display module 2501 can execute the above steps S150-S151. The display module 2501 can be Fig.14 Display screen 190 shown in .

[0163] The recognition module 2502 is used to recognize each character in the first phrase and each character in the second phrase in response to receiving an operation on the first interface. Exemplarily, the recognition module 2502 may execute the above-mentioned step S1521. The recognition module 2502 may be Fig.14 The processor 110 shown in .

[0164] The generating module 2503 is used to generate a multi-faceted three-dimensional phrase according to the first character and the second phrase at one end of the first phrase, and the first character and the first phrase at one end of the second phrase, wherein the first side of the three-dimensional phrase is presented as the first phrase, and the second side of the three-dimensional phrase is presented as the second phrase. Exemplarily, the generating module 2503 may execute the above-mentioned step S1522. The generating module 2503 may be Fig.14 The processor 110 shown in .

[0165] In one embodiment, the first interface includes a first input box, a second input box and a first control, the first input box is used to input the first phrase, the second input box is used to input the second phrase, and the first control is used to trigger the generation of a three-dimensional phrase.

[0166] In one embodiment, the generation module 2503 is used to: obtain each 3D character model composed of every two characters in the plurality of characters; generate a first 3D phrase according to the first character at one end of the first phrase, the second phrase and each 3D character model; generate a second 3D phrase according to the first character at one end of the second phrase, the first phrase and each 3D character model; and combine the first 3D phrase and the second 3D phrase into a multi-faceted 3D phrase according to the first character at one end of the first phrase and the first character at one end of the second phrase. Exemplarily, the generation module 2503 may perform the above steps S15221, S15222, S15223 and S15224.

[0167] In one embodiment, the generation module 2503 is used to: place every two characters among the multiple characters on the first surface and the second surface respectively; perform three-dimensional processing on every two characters and intersect them at right angles to obtain a three-dimensional network of each intersecting part, and the three-dimensional network of each intersecting part is each three-dimensional character model.

[0168] In one embodiment, the generation module 2503 is used to: match the first character at one end of the first phrase with each character in the second phrase to obtain each first character group; match each first character group with each three-dimensional character model to generate each first three-dimensional character; arrange each first three-dimensional character into a first three-dimensional phrase in a preset order.

[0169] In one embodiment, the generation module 2503 is used to: match the first character at one end of the second phrase with each character in the first phrase to obtain each second character group; match each second character group with each three-dimensional character model to generate each second three-dimensional character; and arrange each second three-dimensional character into a second three-dimensional phrase in a preset order.

[0170] In one embodiment, the first character at one end of the first phrase includes the first character or the last character of the first phrase, and the first character at one end of the second phrase includes the first character or the last character of the second phrase.

[0171] In some embodiments, the first interface also includes a second control, which is used to select a material; the electronic device 2500 also includes: a configuration module 2504, which is used to: in response to receiving an operation on the second control, configure the properties of the selected material for the multi-faceted three-dimensional phrase.

[0172] In one embodiment, the first interface further includes a third control, which is used to trigger the preview of the stereoscopic phrase effect. The electronic device 2500 also includes an acquisition module 2505, which is used to obtain multiple frame images of the multi-faceted stereoscopic phrase in the autobiography process in response to receiving an operation on the third control. The display module 2501 is used to display the second interface, and the multiple frame images are played on the second interface.

[0173] In the present application, an electronic device receives an operation on a user interface of a first application. In response to the operation, the electronic device displays a first interface, which includes a first input box for inputting a first phrase, a second input box for inputting a second phrase, and a first control for triggering the generation of a three-dimensional phrase. In response to receiving the operation on the first control, the electronic device identifies the first phrase and the second phrase. Specifically, the electronic device generates a multi-faceted three-dimensional phrase based on the last character of the first phrase and the second phrase, and the first character of the second phrase and the first phrase, wherein the first side of the three-dimensional phrase is presented as the first phrase, and the second side of the three-dimensional phrase is presented as the second phrase. In this way, by the user inputting any at least two phrases, they can be automatically combined to obtain a multi-faceted three-dimensional phrase, and the content of the three-dimensional phrase can be customized to achieve the purpose of automatically generating a three-dimensional phrase.

[0174] An embodiment of the present application also provides a computer-readable storage medium, including instructions, which, when executed on a computer, enable the computer to execute any of the above methods.

[0175] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute any of the above methods.

[0176] An embodiment of the present application also provides a chip, which includes a processor and an interface circuit, the interface circuit is coupled to the processor, the processor is used to run a computer program or instruction to implement the above method, and the interface circuit is used to communicate with other modules outside the chip.

[0177] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" means one or more, and "plurality" means two or more. The words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be different.

[0178] In the description of the present application, 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.

[0179] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

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

[0181] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0182] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0183] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0184] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A multi-faceted three-dimensional phrase generation method, characterized in that: The method comprises: In response to receiving an operation on a user interface of a first application, displaying a first interface including a first phrase and a second phrase input by a user; In response to receiving an operation on the first interface, identifying each character in the first phrase and each character in the second phrase; A multi-sided three-dimensional phrase is generated based on the first character at one end of the first phrase and the second phrase, and the first character at one end of the second phrase and the first phrase, wherein the first side of the three-dimensional phrase is presented as the first phrase, and the second side of the three-dimensional phrase is presented as the second phrase.

2. The method according to claim 1, characterized in that: The first interface includes a first input box, a second input box and a first control, the first input box is used to input the first phrase, the second input box is used to input the second phrase, and the first control is used to trigger the generation of a three-dimensional phrase.

3. The method according to claim 1 or 2, characterized in that: The method of generating a multi-faceted three-dimensional phrase based on the first character at one end of the first phrase and the second phrase, and the first character at one end of the second phrase and the first phrase, comprises: Obtaining three-dimensional character models composed of every two characters from a plurality of characters; generating a first 3D phrase according to a first character at one end of the first phrase, the second phrase and the 3D character models; generating a second 3D phrase according to the first character at one end of the second phrase, the first phrase and the 3D character models; The first three-dimensional word group and the second three-dimensional word group are combined into the multi-faceted three-dimensional word group according to the first character at one end of the first word group and the first character at one end of the second word group.

4. The method according to claim 3, characterized in that The step of obtaining each 3D character model composed of two characters from the plurality of characters includes: placing every two characters of the plurality of characters on the first side and the second side respectively; Each two characters are processed into three dimensions and intersect at right angles to obtain a three-dimensional network of each intersecting portion, and the three-dimensional network of each intersecting portion is each three-dimensional character model.

5. The method according to claim 3, characterized in that: Generating a first 3D phrase according to the first character at one end of the first phrase, the second phrase and the 3D character models, comprises: Matching the first character at one end of the first phrase with each character in the second phrase to obtain each first character group; Matching each first character group with each 3D character model to generate each first 3D character; The first three-dimensional characters are arranged in a preset order to form the first three-dimensional phrase.

6. The method according to claim 3, characterized in that Generating a second 3D phrase according to the first character at one end of the second phrase, the first phrase and the 3D character models, comprising: Matching the first character at one end of the second phrase with each character in the first phrase to obtain each second character group; Matching each second character group with each 3D character model to generate each second 3D character; The second three-dimensional characters are arranged in a preset order to form the second three-dimensional phrase.

7. The method according to any one of claims 1 to 6, characterized in that The first character at one end of the first phrase includes the first character or the last character of the first phrase, and the first character at one end of the second phrase includes the first character or the last character of the second phrase.

8. The method according to any one of claims 1 to 7, characterized in that The first interface further includes a second control, the second control is used to select a material; and further includes: In response to receiving an operation on the second control, a property of the selected material is configured for the multi-faceted three-dimensional phrase.

9. The method according to any one of claims 1 to 8, characterized in that The first interface further includes a third control, and the third control is used to trigger the preview of the three-dimensional phrase effect; and further includes: In response to receiving an operation on the third control, acquiring a plurality of frame images of the multi-faceted three-dimensional phrase in a process of autobiography; A second interface is displayed, and the plurality of frame images are played on the second interface.

10. An electronic device, characterized in that: The electronic device comprises: a display module, a recognition module and a generation module, wherein: The display module is used for displaying a first interface in response to receiving an operation on a user interface of a first application, wherein the first interface includes a first phrase and a second phrase input by a user; The recognition module is used for recognizing each character in the first phrase and each character in the second phrase in response to receiving an operation on the first interface; The generating module is used to generate a multi-sided three-dimensional phrase based on the first character at one end of the first phrase and the second phrase, and the first character at one end of the second phrase and the first phrase, wherein the first side of the three-dimensional phrase is presented as the first phrase, and the second side of the three-dimensional phrase is presented as the second phrase.

11. The electronic device according to claim 10, characterized in that: The first interface includes a first input box, a second input box and a first control, the first input box is used to input the first phrase, the second input box is used to input the second phrase, and the first control is used to trigger the generation of a three-dimensional phrase.

12. The electronic device according to claim 10 or 11, characterized in that: The generation module is used for: Obtaining three-dimensional character models composed of every two characters from a plurality of characters; generating a first 3D phrase according to a first character at one end of the first phrase, the second phrase and the 3D character models; generating a second 3D phrase according to the first character at one end of the second phrase, the first phrase and the 3D character models; The first three-dimensional word group and the second three-dimensional word group are combined into the multi-faceted three-dimensional word group according to the first character at one end of the first word group and the first character at one end of the second word group.

13. The electronic device according to claim 12, characterized in that: The generation module is used for: placing every two characters of the plurality of characters on the first side and the second side respectively; Each two characters are processed into three dimensions and intersect at right angles to obtain a three-dimensional network of each intersecting portion, and the three-dimensional network of each intersecting portion is each three-dimensional character model.

14. The electronic device according to claim 12, characterized in that: The generation module is used for: Matching the first character at one end of the first phrase with each character in the second phrase to obtain each first character group; Matching each first character group with each 3D character model to generate each first 3D character; The first three-dimensional characters are arranged in a preset order to form the first three-dimensional phrase.

15. The electronic device according to claim 12, characterized in that: The generation module is used for: Matching the first character at one end of the second phrase with each character in the first phrase to obtain each second character group; Matching each second character group with each 3D character model to generate each second 3D character; The second three-dimensional characters are arranged in a preset order to form the second three-dimensional phrase.

16. The electronic device according to any one of claims 10 to 15, characterized in that: The first character at one end of the first phrase includes the first character or the last character of the first phrase, and the first character at one end of the second phrase includes the first character or the last character of the second phrase.

17. The electronic device according to any one of claims 10 to 16, characterized in that: The first interface further includes a second control, and the second control is used to select a material; the electronic device further includes: a configuration module, and the configuration module is used to: In response to receiving an operation on the second control, a property of the selected material is configured for the multi-faceted three-dimensional phrase.

18. The electronic device according to any one of claims 10 to 17, characterized in that: The first interface further includes a third control, and the third control is used to trigger the preview of the three-dimensional phrase effect; the electronic device further includes: An acquisition module, configured to acquire, in response to receiving an operation on the third control, a plurality of frame images of the multi-faceted three-dimensional phrase in a process of autobiography; The display module is used to display a second interface on which the plurality of frame images are played.

19. An electronic device, characterized in that: The electronic device comprises: one or more processors; and a memory, wherein codes are stored in the memory; when the codes are executed by the processor, the electronic device executes the method according to any one of claims 1 to 9.

20. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 9.

21. A chip system, characterized in that: The method comprises one or more processors. When the one or more processors execute instructions, the one or more processors perform the method according to any one of claims 1 to 9.