Geometric figure display method and device
By obtaining and utilizing target graphic parameter groups, the client generates and displays geometric figures, solving the problem of geometric figures showing blur in propagation communication, and achieving high-definition geometric figure display.
Patent Information
- Application Number
- CN202011119424.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-19
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2040-10-19
AI Technical Summary
In the prior art, geometric figures are prone to display blurring due to compression during propagation and communication, and lack effective solutions.
By obtaining the target graphic parameter group, including the coordinate parameters and key point dependencies of the graphic key points, the client generates and displays geometric figures to avoid directly receiving and displaying geometric figures of picture type.
It effectively avoids the display blurring of geometric figures caused by image compression or transmission, and ensures the display clarity of geometric figures.
Smart Images

Figure CN112270641B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of smart education technology, and in particular, relates to a method and device for displaying geometric figures. Background Art
[0002] With the continuous development of Internet technology, smart education methods such as distance online education are also gradually flourishing. Especially under the epidemic, online education has developed rapidly, but the research and development of remote interactive teaching products has not kept up with the pace. Most of them are still stuck in video live teaching methods, which cannot achieve good interactive effects.
[0003] Currently, some math problems may contain geometric figures, and the geometric figures may be distorted due to compression during the communication process. For example, the geometric figures may become blurred due to image scaling.
[0004] The industry has not yet proposed a better solution to the above problems. Summary of the invention
[0005] In view of this, an embodiment of the present application provides a method and device for displaying geometric figures, so as to at least solve the problem in the prior art that geometric figures are prone to display blur.
[0006] A first aspect of an embodiment of the present application provides a method for displaying a geometric figure, which is applied to a client, and the method includes: obtaining a target graphic parameter group, the target graphic parameter group including coordinate parameters and key point dependencies respectively corresponding to multiple graphic key points; based on the coordinate parameters and the key point dependencies, combining each of the graphic key points to generate a corresponding first geometric figure; and displaying the first geometric figure.
[0007] A second aspect of an embodiment of the present application provides a geometric figure display device, comprising: a target graphic parameter group acquisition unit, configured to acquire a target graphic parameter group, wherein the target graphic parameter group includes coordinate parameters and key point dependencies respectively corresponding to multiple graphic key points; a geometric figure generation unit, configured to combine each of the graphic key points based on the coordinate parameters and the key point dependencies to generate a corresponding first geometric figure; and a geometric figure display unit, configured to display the first geometric figure.
[0008] A third aspect of an embodiment of the present application provides a mobile terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
[0009] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0010] A fifth aspect of the embodiments of the present application provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal implements the steps of the above method.
[0011] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0012] Through the embodiment of the present application, the client can obtain the target graphic parameter group, and use the coordinate parameters and key point dependencies in the target graphic parameter group to combine multiple graphic key points, thereby generating a corresponding first geometric image and displaying it on the client. As a result, the geometric figure is generated by the client using the graphic parameters, rather than directly receiving the geometric figure of the picture type, avoiding the display blurring of the geometric figure due to picture compression or during transmission, and ensuring the display clarity of the geometric figure. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0014] Figure 1 A flowchart showing an example of a method for displaying geometric figures according to an embodiment of the present application is shown;
[0015] Figure 2 A schematic diagram showing the geometry of a triangle circumscribed circle;
[0016] Figure 3 A flowchart showing an example of a method for displaying geometric figures according to an embodiment of the present application is shown;
[0017] Figure 4 A schematic diagram showing the geometric figure of the triangle circumscribed circle after the editing operation;
[0018] Figure 5 A flowchart of an example of generating a first geometric figure according to an embodiment of the present application is shown;
[0019] Figure 6 A signal interaction flow chart of an example of obtaining a target graphic parameter group according to an embodiment of the present application is shown;
[0020] Figure 7 A structural block diagram of an example of a geometric figure display device according to an embodiment of the present application is shown;
[0021] Figure 8 It is a schematic diagram of an example of a mobile terminal according to an embodiment of the present application. DETAILED DESCRIPTION
[0022] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0023] In order to illustrate the technical solution described in this application, a specific embodiment is provided below for illustration.
[0024] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.
[0025] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0026] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0027] As used in this specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.
[0028] In a specific implementation, the mobile terminal described in the embodiments of the present application includes but is not limited to other portable devices such as mobile phones, laptop computers or tablet computers with touch-sensitive surfaces (e.g., touch screen displays and / or touch pads). It should also be understood that in some embodiments, the above-mentioned devices are not portable communication devices, but computers with touch-sensitive surfaces (e.g., touch screen displays).
[0029] In the following discussion, a mobile terminal including a display and a touch-sensitive surface is described. However, it should be understood that the mobile terminal may include one or more other physical user interface devices such as a physical keyboard, mouse and / or joystick.
[0030] Various applications that can be executed on a mobile terminal can use at least one common physical user interface device such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and / or changed between applications and / or within a corresponding application. In this way, the common physical architecture of the terminal (e.g., a touch-sensitive surface) can support a variety of applications with user interfaces that are intuitive and transparent to the user.
[0031] Figure 1 A flowchart of an example of a method for displaying geometric figures according to an embodiment of the present application is shown. Regarding the execution subject of the embodiment of the present application, it can be a client, that is, a mobile terminal device that runs an application program for displaying software (e.g., remote education software) for geometric figures. In addition, the software form for displaying geometric figures should not be limited, for example, it can be an APP, a small program or a browser webpage on a mobile terminal device, etc.
[0032] like Figure 1 As shown, in step 110, the client obtains a target graphic parameter group. Here, the target graphic parameter group includes coordinate parameters and key point dependencies corresponding to multiple graphic key points. It should be understood that the graphic key points can be used to represent the vertices that make up the geometric figure. Exemplarily, the coordinate parameters can be used to determine the position of the graphic key points, and the key point dependencies can be used to determine the connection relationship between different graphic key points.
[0033] In combination with the application scenario, the user can operate the client to trigger communication between the client and the server, so that the client can receive the target graphic parameter group from the server. In one example of the embodiment of the present application, the client can receive a specific graphic parameter group from the server. In another example of the embodiment of the present application, the client can also receive multiple graphic parameter groups from the server and select the corresponding target graphic parameter group through user operation.
[0034] In some examples of the embodiments of the present application, each key point of the graphics in the graphics parameter group can be used to determine or compose the corresponding basic geometric figures (for example, "point", "line" and "circle", etc.). Accordingly, the following parameters may exist in the graphics parameter group: the type of basic geometric figures (for example, "free point", "intersection point", "midpoint" and "perpendicular line", etc.), the pre-dependency of the basic geometric figures (for example, "midpoint" depends on the other two points), the properties of the basic geometric figures (for example, the coordinates of the free point) and the coordinates and unit length of the origin of the plane rectangular coordinate system.
[0035] In step 120, the client combines each graphic key point based on the coordinate parameters and the key point dependency to generate a corresponding first geometric figure. Exemplarily, the client can connect each graphic key point to each other according to the connection relationship indicated by the key point dependency, so as to determine the corresponding first geometric figure. Through the coordinate system, points, shapes, and by defining the relationship between objects and logical operations, the corresponding geometric concept modeling operations can be implemented. For example, the graphic key points can be subdivided into free points, points on a line, points on a circle, intersection points and other types. In addition, geometric concept calculations can also be performed, such as calculating the intersection between two straight lines. In this way, the conversion between the plane rectangular coordinate system and the screen coordinate system is realized, and the function of graphically presenting the geometric concept to the screen is realized.
[0036] In some examples of the embodiments of the present application, a coordinate system can be created based on the coordinate system parameters in the graphic parameters, and the free point parameters in the graphic parameters can be obtained (because the free point has no pre-dependency), and the free point shape is drawn according to the free point coordinates. Then, the basic shape parameters that depend on the free point in the graphic parameters are obtained, the coordinates corresponding to the basic shape are calculated according to the dependency relationship, and the corresponding basic geometric shape graphics are drawn, and other basic shape parameters are processed in a loop until all the basic geometric shapes in the graphic parameters are drawn to form the final geometric figure.
[0037] In step 130, the client displays the first geometric figure. In some cases, the geometric figure may be a figure in a math problem, so as to realize the display process of the geometric math problem.
[0038] In addition, compared with the current related technology of directly transmitting geometric math problems, directly generating geometric figures on the client can ensure the resolution of the figures, avoid the phenomenon of blurred display caused by compression or transmission, and ensure the reliability of remote teaching.
[0039] Therefore, during the use and dissemination of math problems, the numerical characteristics of the problems can be always maintained, and will not be distorted due to compression or modification during the dissemination process. For example, the content of a problem presented in the form of an image will become blurred due to image scaling, while the numerical problem provided in the embodiment of the present application will not have blurred images, and the complex geometric figures in the problem can be displayed in a relatively high definition.
[0040] Figure 2 Schematic diagram of the geometric figure of the circumscribed circle of a triangle is shown. Figure 2 The graphic parameter set of the geometric figure shown can be shown in Table 1 below:
[0041] Serial number Basic shapes name rely Key attributes type 1 point A none coordinate Free point 2 point B none coordinate Free point 3 point C none coordinate Free point 4 Line segment AB A.B none Line segment 5 Line segment BC B.C none Line segment 6 Line segment AC A.C none Line segment 7 point M A.B none midpoint 8 point N B.C none midpoint 9 straight line ABM AB, M none perpendicular 10 straight line BCN BC, N none perpendicular 11 point O ABM、BCN none Intersection 12 round OA O.A none round
[0042] Table 1
[0043] In some cases, users (e.g., teachers or students) expect to edit or deform geometric figures, but they cannot directly operate on the inherent pictures and figures, and need to redraw the corresponding geometric figures. For example, in the teaching process of traditional math problems, especially in remote teaching, students can only watch the teacher operate, but cannot practice synchronously with the teacher.
[0044] In view of this, Figure 3 A flowchart of an example of a method for displaying geometric figures according to an embodiment of the present application is shown.
[0045] like Figure 3 As shown, in step 310, the first geometric figure is displayed. For details of the operation in step 310, please refer to Figure 1 The relevant descriptions of steps 110 to 130 in the above description will not be repeated here.
[0046] In step 320 , it is detected whether there is a first user interaction operation on a graphic key point in the displayed first geometric figure.
[0047] If the first user interaction operation is detected, the process jumps to step 331. If the first user interaction operation is not detected, the process jumps to step 320 to achieve continuous monitoring.
[0048] In step 331, the coordinate parameters of the graphic key points corresponding to the first user interaction operation are updated. Exemplarily, the first user interaction operation may be a move or drag operation on the graphic key points to move the key points from one position to another and change the coordinate parameters of the graphic key points accordingly.
[0049] In step 340, based on the key point dependency and the updated coordinate parameters, the key points of each graphic are recombined to generate a corresponding second geometric figure. For example, a user can use a mouse to move a key point of a graphic, and the related content of the entire geometric figure will change accordingly, thereby realizing a human-computer interaction module, allowing the user to use a mouse to operate the movement and change of the geometric figure.
[0050] In step 350, a second geometric figure is displayed.
[0051] In combination with the example of the application scenario, the user can move the free point in the initial complex geometric figure (e.g., the first geometric figure) so that the coordinates of the free point change. At this time, the client system can redraw the free point and recalculate the coordinates that depend on the free point and subsequent basic geometric figures. In addition, the client system can redraw and combine related basic geometric figures based on the calculated basic geometric figures and related coordinate parameters to form a new complex geometric figure (e.g., the second geometric figure).
[0052] Figure 4 Shown for Figure 2 After editing the triangle circumscribed circle (i.e., the first geometric figure) in the image, another triangle circumscribed circle (i.e., the second geometric figure) is determined. For example, the user can Figure 2 The free point A in the moving operation is performed to obtain the following Figure 4 The geometry shown.
[0053] In the embodiment of the present application, the key points of the graphics are designed to allow user interaction, so that the user can edit the displayed geometric figures by operating the key points of the graphics to achieve the goal of deforming the geometric figures. As a result, the geometric figures can be interactive online, experience the content of the knowledge points in a richer way, realize real-time editing and sharing, and students can operate and learn synchronously with teachers to achieve a better teaching experience.
[0054] Figure 5 A flowchart of an example of generating a first geometric figure according to an embodiment of the present application is shown. Here, the key point dependency relationship includes a graphic shape.
[0055] like Figure 5 As shown, in step 510, the graphic shape corresponding to the key point dependency relationship is parsed. Here, the graphic shape can be various types of shapes, such as a circle, a triangle, etc.
[0056] In step 520, the graphic key points are combined according to the graphic shape in the key point dependency relationship to generate a corresponding first geometric figure. Exemplarily, when the key point dependency relationship is a circle, a circle can be drawn by using the graphic key points.
[0057] In the embodiment of the present application, graphic shapes can be used to define the combination relationship between key points, which can ensure that the client can generate geometric figures with various graphic shapes.
[0058] In some embodiments, the key point dependency relationship may further include key point connection constraints, such as the perpendicular bisectors of the sides of a triangle should intersect at one point. Accordingly, the first geometric figure may be generated in the following manner: according to the graphic shape in the key point dependency relationship, each graphic key point is connected into a corresponding initial geometric figure, and the initial geometric figure is updated based on the key point connection constraints to generate the corresponding first geometric figure. Continuing with the above example, the perpendicular bisectors of the sides intersecting at one point may be added to the triangle to obtain the final geometric figure.
[0059] In some cases, users also expect to be able to perform custom operations on geometric figures, such as drawing auxiliary lines, etc., but it is difficult to operate on picture-type geometric figures.
[0060] In view of this, in some examples of the embodiments of the present application, the client can obtain the second user interaction operation on the first geometric figure, and generate an auxiliary figure corresponding to the second user interaction operation, for example, the user can draw a line on the triangle on the client, thereby generating a corresponding auxiliary line. Then, based on the auxiliary figure, the first geometric figure is optimized, for example, a triangle with auxiliary lines can be displayed.
[0061] In some cases, it is also possible to quickly create a problem without having to draw the corresponding geometric figure from beginning to end. For example, by using the Triangle Circumscribed Circle tool, a triangle and its circumscribed circle can be drawn with a click of the mouse, and the user can adjust the triangle to achieve the desired effect.
[0062] Figure 6 A signal interaction flow chart of an example of obtaining a target graphic parameter group according to an embodiment of the present application is shown.
[0063] like Figure 6 As shown, the client 10 may receive the target graphic parameter group from the server 20 through the following operations.
[0064] In step 610, the client 10 may obtain a graphic retrieval request. Exemplarily, the user may operate the client 10 to generate a corresponding graphic retrieval request.
[0065] In step 620, the client 10 may parse the key point dependency corresponding to the graphic search request. As described above, the key point dependency may include the shape of the graphic, key point connection constraints, etc. In some examples, the corresponding key point dependency may be determined by parsing the keywords in the title, for example, the title may contain the keyword "perpendicular midline of a line segment", which may be used as the corresponding key point dependency.
[0066] In step 630 , the client 10 sends the key point dependency relationship to the server 20 .
[0067] In step 640, the server 20 determines at least one graphic parameter group that meets the key point dependency relationship parsed by the client 10 based on the preconfigured geometry digital question bank. Here, the geometry digital question bank has various graphic parameter groups and corresponding key point dependency relationships. It should be noted that in the embodiment of the present application, the type of the geometry digital question bank may not be limited, for example, it may be a digital question bank of more subjects such as plane geometry, solid geometry, chemistry, physics, biology, etc.
[0068] In step 650 , the client 10 receives at least one graphics parameter set from the server 20 .
[0069] In step 660 , the client 10 obtains a selection operation for at least one graphics parameter group to determine a corresponding target graphics parameter group.
[0070] It should be noted that although some operators currently operate corresponding geometry question banks, the retrieval function cannot be realized using the geometric figures of the image type in the geometry question banks.
[0071] Through the embodiment of the present application, the user can set the graphic conditions that the graphics to be displayed meet, and can retrieve various graphic parameter groups that meet the corresponding key point dependencies (for example, the same graphic shape or key point connection constraints) from the geometry digital question bank, and then find the corresponding target graphic parameter group to perform display operations. In this way, retrieval can be performed based on the characteristics and logic in the questions, such as retrieving all questions in the question bank that contain the perpendicular median of the line segment AB, realizing the question bank retrieval function, and solving the problem that traditional math questions in the form of pictures and text are difficult to retrieve, edit, and typeset.
[0072] For example, the search can be performed based on the characteristics and logic in the question, such as searching for all the questions in the question bank that have the perpendicular median of the line segment AB. Traditional pictures and texts are difficult to be searched in this way.
[0073] In addition, the use of the search function of the geometry digital question bank can greatly save the work of repeated drawing and writing questions. For example, if you want to design a new question "involving the theory of external common tangents", the user only needs to find a question with the same characteristics (such as the same key point dependency) through the search operation and edit it to complete it, without the need to repeat the drawing. Therefore, by defining a structured data model of geometric objects and serializing it into text (for example, a graphic parameter group) for storage, the text can be deserialized and restored to an operable object for human-computer interaction.
[0074] Furthermore, combined with the above Figure 3 In the example described in, after the user performs image editing on the first geometric figure to generate the corresponding second geometric figure, the method may further include: the client 10 may determine the graphic parameter group corresponding to the second geometric figure, and send the determined graphic parameter group to the server 20, so that the server 20 updates the geometric digital question bank. In one example of an embodiment of the present application, the graphic parameter group corresponding to the second geometric figure may be used to replace the target graphic parameter group corresponding to the first geometric figure in the geometric digital question bank. In another example of an embodiment of the present application, the graphic parameter group corresponding to the second geometric figure may be directly added to the geometric digital question bank.
[0075] In conjunction with the example of the application scenario, the user can submit new complex geometric figure parameters to the server, so that the server can store the complex geometric figures in a remote database (ie, a geometric digital question bank) in the form of digital parameters.
[0076] In the embodiment of the present application, the graphic parameter group corresponding to the geometric figure edited by the user can be used to enrich the geometric digital question bank. In addition, the results obtained by the human-computer interaction operation are digitally stored, and the user can directly call the graphic parameter group corresponding to the geometric figure edited last time from the geometric digital question bank when performing the geometric figure display operation, without the need to repeatedly edit the original first geometric figure, which can improve the convenience of geometric question editing, facilitate users to create new questions, compile papers, etc., and facilitate users to find inspiration from the existing question bank and create novel teaching materials.
[0077] In addition, the editing and modification records of the numerical questions in the geometry numerical question bank can be traced back to the source, which increases the creator's sense of security and accomplishment, is conducive to the protection of originality, and can realize a new teaching method that closely combines mathematics and programming.
[0078] Figure 7 A structural block diagram of an example of a geometric figure display device according to an embodiment of the present application is shown.
[0079] like Figure 7As shown, the geometric graphics display device 700 includes a target graphic parameter group acquisition unit 710, a geometric graphics generation unit 720 and a geometric graphics display unit 730.
[0080] The target graphic parameter group acquisition unit 710 is configured to acquire a target graphic parameter group, where the target graphic parameter group includes coordinate parameters and key point dependencies respectively corresponding to a plurality of graphic key points.
[0081] The geometric figure generating unit 720 is configured to combine each of the graphic key points based on the coordinate parameters and the key point dependency to generate a corresponding first geometric figure.
[0082] The geometric figure display unit 730 is configured to display the first geometric figure.
[0083] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0084] Figure 8 is a schematic diagram of an example of a mobile terminal according to an embodiment of the present application. Figure 8 As shown, the mobile terminal 800 of this embodiment includes: a processor 810, a memory 820, and a computer program 830 stored in the memory 820 and executable on the processor 810. When the processor 810 executes the computer program 830, the steps in the above-mentioned geometric figure display method embodiment are implemented, for example Figure 1 Alternatively, when the processor 810 executes the computer program 830, the functions of each module / unit in the above-mentioned device embodiments are implemented, for example Figure 7 The functions of units 710 to 730 are shown.
[0085] Exemplarily, the computer program 830 may be divided into one or more modules / units, which are stored in the memory 820 and executed by the processor 810 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 830 in the mobile terminal 800. For example, the computer program 830 may be divided into a target graphic parameter group acquisition program module, a geometric figure generation program module, and a geometric figure display program module, and the specific functions of each module are as follows:
[0086] The target graphic parameter group acquisition program module is configured to acquire a target graphic parameter group, wherein the target graphic parameter group includes coordinate parameters respectively corresponding to a plurality of graphic key points and key point dependency relationships.
[0087] The geometric figure generation program module is configured to combine each of the graphic key points based on the coordinate parameters and the key point dependencies to generate a corresponding first geometric figure.
[0088] The geometric figure display program module is configured to display the first geometric figure.
[0089] The mobile terminal 800 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The mobile terminal may include, but is not limited to, a processor 810 and a memory 820. Those skilled in the art will appreciate that Figure 8 It is only an example of the mobile terminal 800 and does not constitute a limitation of the mobile terminal 800. It may include more or less components than shown in the figure, or a combination of certain components, or different components. For example, the mobile terminal may also include input and output devices, network access devices, buses, etc.
[0090] The processor 810 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0091] The memory 820 may be an internal storage unit of the mobile terminal 800, such as a hard disk or memory of the mobile terminal 800. The memory 820 may also be an external storage device of the mobile terminal 800, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the mobile terminal 800. Further, the memory 820 may also include both an internal storage unit of the mobile terminal 800 and an external storage device. The memory 820 is used to store the computer program and other programs and data required by the mobile terminal. The memory 820 may also be used to temporarily store data that has been output or is to be output.
[0092] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment.
[0093] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0094] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0095] In the embodiments provided in the present application, it should be understood that the disclosed device / mobile terminal and method can be implemented in other ways. For example, the device / mobile terminal embodiments described above are merely 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 system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0096] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0097] 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 units may be implemented in the form of hardware or software.
[0098] If the integrated module / 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 computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0099] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for displaying geometric figures, characterized in that: Applied to a client, the method comprises: Obtain a target graphic parameter group, the target graphic parameter group including coordinate parameters and key point dependencies respectively corresponding to a plurality of graphic key points; wherein, obtaining the target graphic parameter group includes: obtaining a graphic retrieval request; parsing the key point dependency corresponding to the graphic retrieval request; sending the key point dependency to a server, so that the server determines at least one graphic parameter group that meets the parsed key point dependency based on a preconfigured geometry digital question bank, wherein the geometry digital question bank has various graphic parameter groups and corresponding key point dependencies; receiving the at least one graphic parameter group from the server; obtaining a selection operation for the at least one graphic parameter group to determine a corresponding target graphic parameter group; Based on the coordinate parameters and the key point dependency, each of the graphic key points is combined to generate a corresponding first geometric figure; The first geometric figure is displayed.
2. The method for displaying geometric figures according to claim 1, characterized in that: After displaying the first geometric figure, the method further includes: Detecting whether there is a first user interaction operation on a graphic key point in a displayed first geometric figure; When the first user interaction operation occurs, updating coordinate parameters of key points of the graphic corresponding to the first user interaction operation; Based on the key point dependency relationship and the updated coordinate parameters, recombining the key points of the graphics to generate a corresponding second geometric figure; The second geometric figure is displayed.
3. The method for displaying geometric figures according to claim 1, wherein: The key point dependency relationship includes graphic shape, The combining of the graphic key points based on the coordinate parameters and the key point dependency to generate a corresponding first geometric figure includes: The graphic key points are combined according to the graphic shape in the key point dependency relationship to generate a corresponding first geometric figure.
4. The method for displaying geometric figures according to claim 3, wherein: The key point dependency relationship also includes key point connection constraints. The step of combining the graphic key points according to the graphic shape in the key point dependency relationship to generate a corresponding first geometric figure includes: According to the graphic shape in the key point dependency relationship, each of the graphic key points is connected into a corresponding initial geometric figure; The initial geometric figure is updated based on the key point connection constraint to generate a corresponding first geometric figure.
5. The method for displaying geometric figures according to claim 1, characterized in that: After displaying the first geometric figure, the method further comprises: Acquire a second user interaction operation for the first geometric figure, and generate an auxiliary figure corresponding to the second user interaction operation; Based on the auxiliary graph, the first geometric graph is optimized.
6. The method for displaying geometric figures according to claim 2, characterized in that: After displaying the second geometric figure, the method further comprises: Determining a graphic parameter group corresponding to the second geometric figure; The determined graphic parameter group is sent to the server so that the server updates the geometry digital question bank.
7. A geometric figure display device, characterized in that: include: A target graphic parameter group acquisition unit is configured to acquire a target graphic parameter group, wherein the target graphic parameter group includes coordinate parameters and key point dependencies respectively corresponding to a plurality of graphic key points; wherein the target graphic parameter group acquisition unit is further configured to acquire a graphic retrieval request; parse the key point dependency corresponding to the graphic retrieval request; send the key point dependency to a server, so that the server determines at least one graphic parameter group that meets the parsed key point dependency based on a preconfigured geometry digital question bank, wherein the geometry digital question bank has various graphic parameter groups and corresponding key point dependencies; receives the at least one graphic parameter group from the server; acquires a selection operation for the at least one graphic parameter group to determine the corresponding target graphic parameter group A geometric figure generating unit is configured to combine each of the graphic key points based on the coordinate parameters and the key point dependency to generate a corresponding first geometric figure; A geometric figure display unit is configured to display the first geometric figure.
8. A mobile terminal comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the geometric graphics display method as described in any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the geometric graphics display method as described in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Method and device for drawing geometric figures
CN101719057A
A graphics displaying method for three-dimensional software
CN109544699A