Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for generating an area object, an electronic device, and a readable storage medium, so as to solve the problems of complicated operation steps and poor flexibility in creating an area object.
According to a first aspect, an embodiment of the present invention provides an area object generating method, including: responding to a creating instruction of the area object, and obtaining a drawing plane of the area object, wherein the creating instruction is independent of any plane view; obtaining different types of area boundary lines in response to area drawing operations on the drawing plane; and obtaining the area objects of different types based on the closed state of the area boundary lines of different types.
The area object generating method provided by the embodiment of the present invention obtains a drawing plane of an area object by responding to a creation instruction for the area object, where the creation instruction is independent of any plane view, obtains an area boundary line in response to an area drawing operation on the drawing plane, and generates the area object based on a closed state of the area boundary line. Therefore, the area object can be directly drawn on any plane view without the limitation of the area plane view, and the flexibility of creating the area object is improved. The area boundary lines of different types are directly drawn on the drawing plane to obtain the area objects of different types, the type of the area object does not need to be preset, and the operation steps of the area object are simplified.
With reference to the first aspect, in a first implementation manner of the first aspect, the deriving different types of area boundary lines in response to an area drawing operation on the drawing plane includes: responding to the selection operation of the drawing mode, and determining the target drawing mode of the area object of the current type; responding to the area drawing operation on the drawing plane in the target drawing mode to obtain an area boundary drawing point of the current type; and generating the area boundary line of the current type based on the number of the effective points of the area boundary drawing points of the current type.
According to the area object generating method provided by the embodiment of the invention, the target drawing mode of the area object of the current type is determined by responding to the selection operation of the drawing mode, and the area boundary drawing point of the current type is obtained by responding to the area drawing operation of the target drawing mode on the drawing plane, so that the area boundary drawing mode can be flexibly determined, and the area boundary drawing points of different types can be obtained. The area boundary line of the current type is generated based on the number of the effective points of the area boundary drawing points of the current type, so that different types of area boundary lines can be generated on the drawing plane, different types of area objects can be obtained, the type of the area object does not need to be preset, and the creating operation steps of the area objects of various types are simplified.
With reference to the first implementation manner of the first aspect, in a second implementation manner of the first aspect, the generating an area boundary line of the current type based on the number of valid points of the area boundary drawing point of the current type includes: when the number of the effective points is 1, judging that the area boundary line is not generated, and deleting the effective points; when the number of the effective points is 2, generating an unclosed area boundary line, and displaying the effective points; and when the number of the effective points is more than 2, closing the first effective point and the last effective point to generate a closed area boundary line.
According to the area object generation method provided by the embodiment of the invention, whether the area boundary line can be generated or not is determined according to the number of the effective points, and when the area boundary line can be generated, the first effective point and the last effective point are closed to obtain the closed area boundary line. The method can generate different types of area boundary lines on the drawing plane based on the number of the effective points of the area boundary drawing points, and simplifies the creation process of the area object.
With reference to the first aspect, in a third implementation manner of the first aspect, the obtaining different types of area objects based on a closed state of the different types of area boundary lines includes: judging whether the area boundary line of the current type is closed or not; and when the area boundary line is not closed, responding to the closing operation of the area boundary line, generating a closed area boundary line, and obtaining an area object corresponding to the area boundary line of the current type.
According to the area object generation method provided by the embodiment of the invention, whether the area boundary line of the current type is closed or not is judged, when the area boundary line is detected to be not closed, a user is reminded to close the area boundary line and respond to the closing operation of the area boundary line to obtain the closed area boundary line, so that different types of closed area boundary lines can be obtained respectively, different types of area objects are determined, the accurate drawing of the area boundary line is ensured, and the accurate creation of the area object is further ensured.
With reference to the first aspect, in a fourth implementation manner of the first aspect, after the obtaining the area objects of different types, the method further includes: generating an annotation object in response to an editing instruction for the area object; in response to a placement instruction for the annotation object, placing the annotation object in the area object.
With reference to the fourth embodiment of the first aspect, in a fifth embodiment of the first aspect, the method further comprises: updating the annotation object and/or the placement position of the annotation object on the area object in response to the adjustment instruction for the annotation object.
According to the area object generation method provided by the embodiment of the invention, the annotation object is generated by responding to the editing instruction of the area object, and the annotation object is placed on the area object by responding to the placement instruction of the annotation object, so that the annotation object can be directly generated on the area object, and the generation convenience of the annotation object is improved. When the annotation object needs to be adjusted, the annotation object and/or the placement position of the annotation object on the area object is updated by responding to the adjustment instruction of the annotation object, so that the convenient adjustment of the annotation object is ensured, and the design time of the annotation object is saved.
With reference to the first aspect, in a sixth implementation manner of the first aspect, after the obtaining of the area objects of different types, the method further includes: obtaining updating parameters of the area object, wherein the updating parameters comprise attribute parameters and/or adjusting pinch points; updating the area object in response to a modification instruction for the update parameter.
According to the area object generating method provided by the embodiment of the invention, the area object is updated by acquiring the update parameters of the area object and responding to the modification instruction of the update parameters, wherein the update parameters comprise attribute parameters and/or adjusting pinch points. For the created area object, the method flexibly adjusts the area boundary line by modifying the adjusting pinch point of the area object so as to update the area object in real time; by modifying the attribute parameters of the area objects, the attributes of the area objects can be adjusted to update the area objects in real time, thereby realizing the flexible adjustment of the area objects.
With reference to the first aspect or any one of the first to sixth embodiments of the first aspect, in a seventh embodiment of the first aspect, after the obtaining the area objects of different types, the method further includes: responding to a statistical instruction of the area object, and acquiring a statistical parameter of the area object; and obtaining a statistical table containing the area objects of different types based on the statistical parameters of the area objects.
According to the area object generation method provided by the embodiment of the invention, after the area objects of different types are obtained, the statistical parameters of the area objects are obtained by responding to the statistical instructions of the area objects, and the statistical table containing the area objects of different types is obtained based on the statistical parameters of the area objects. Therefore, the areas of different types of area objects can be automatically generated in the same statistical form, the statistical efficiency of the area objects is improved, the area data of different types can be expressed more visually, and the design and analysis of the area objects are facilitated.
According to a second aspect, an embodiment of the present invention provides an area object generating apparatus, including: the first response module is used for responding to a creating instruction of the area object to obtain a drawing plane of the area object, wherein the creating instruction is independent of any plane view; the second response module is used for responding to the area drawing operation on the drawing plane to obtain different types of area boundary lines; and the generating module is used for obtaining the area objects of different types based on the closed state of the area boundary lines of different types.
The area object generating device provided by the embodiment of the present invention obtains the drawing plane of the area object by responding to a creation instruction for the area object, where the creation instruction is independent of any plane view, obtains an area boundary line in response to an area drawing operation on the drawing plane, and generates the area object based on a closed state of the area boundary line. Therefore, the area object can be directly drawn on any plane view without the limitation of the area plane view, and the flexibility of creating the area object is improved. The area boundary lines of different types are directly drawn on the drawing plane to obtain the area objects of different types, the type of the area object does not need to be preset, and the operation steps of the area object are simplified.
According to a third aspect, an embodiment of the present invention provides an electronic device, including: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing therein computer instructions, and the processor executing the computer instructions to perform the method for generating an area object according to the first aspect or any embodiment of the first aspect.
According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer instructions are stored, and the computer instructions are configured to cause a computer to execute the method for generating an area object according to the first aspect or any of the embodiments of the first aspect.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In accordance with an embodiment of the present invention, there is provided an embodiment of a method for generating an area object, it being noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
In this embodiment, a method for generating an area object is provided, which may be used in an electronic device, such as a mobile phone, a tablet computer, a computer, and the like, fig. 1 is a flowchart of a method for generating an area object according to an embodiment of the present invention, and as shown in fig. 1, the flowchart includes the following steps:
s11, in response to a create instruction for the area object, obtaining a drawing plane of the area object, wherein the create instruction is independent of any plane view.
The create instruction is for initiating a create operation of the area object, existing independently of any plan view. When a user needs to create an area object, a creation instruction of the area object may be input to the electronic device, for example, the user may click a creation tag corresponding to the creation instruction through a mouse connected to the electronic device, may click a shortcut key corresponding to the creation instruction through a keyboard connected to the electronic device, and may also generate the creation instruction in other manners, which is not limited herein.
The area object may be a building area, a house area, a shared area, or other types of areas, and is not limited in detail herein. After the user inputs a creation instruction to the electronic device, accordingly, the electronic device may initiate creation of an area object in response to the creation instruction, and display a drawing plane of the area object, so that the user draws different types of area objects on the drawing plane.
S12, in response to the area drawing operation on the drawing plane, different types of area boundary lines are obtained.
Each type of area object includes a plurality of boundary lines, and the area boundary lines are a plurality of segments forming boundaries of the area object. The area boundary line may be a straight line, an arc, or a circle center-start point-end point arc, and may also include other forms of lines, which are not specifically limited herein, and those skilled in the art may draw a plurality of lines according to actual needs. Specifically, the user performs an area drawing operation for each type of area object on a drawing plane displayed by the electronic device, and accordingly, the electronic device may obtain an area boundary line corresponding to each type in response to the area drawing operation.
And S13, obtaining different types of area objects based on the closed state of the area boundary lines of different types.
The electronic device may determine whether the area boundary line of the current type is in a closed state according to drawing data of the area boundary line on the drawing plane, and when the area boundary line is in the closed state, the electronic device may determine the area object of the current type based on the closed area boundary line. The different types of area objects need to be drawn on the drawing plane in sequence, and the electronic device may generate the different types of area objects on the drawing plane based on the closed state of the area boundary line of each type.
In the area object generating method provided by this embodiment, a drawing plane of an area object is obtained in response to a creation instruction for the area object, where the creation instruction is independent of any plane view, an area boundary line is obtained in response to an area drawing operation on the drawing plane, and the area object is generated based on a closed state of the area boundary line. Therefore, the area object can be directly drawn on any plane view without the limitation of the area plane view, and the flexibility of creating the area object is improved. The area boundary lines of different types are directly drawn on the drawing plane to obtain the area objects of different types, the type of the area object does not need to be preset, and the operation steps of the area object are simplified.
In this embodiment, a method for generating an area object is provided, which may be used in an electronic device, such as a mobile phone, a tablet computer, a computer, and the like, fig. 2 is a flowchart of a method for generating an area object according to an embodiment of the present invention, and as shown in fig. 2, the flowchart includes the following steps:
s21, in response to a create instruction for the area object, obtaining a drawing plane of the area object, wherein the create instruction is independent of any plane view. For a detailed description, refer to the related description of step S11 corresponding to the above embodiment, and the detailed description is omitted here.
S22, in response to the area drawing operation on the drawing plane, different types of area boundary lines are obtained.
Specifically, the step S22 may include:
s221, in response to the selection operation of the drawing mode, determines a target drawing mode of the area object of the current type.
The target drawing manner is a drawing manner adopted for drawing the current area object, for example, straight line drawing, arc line drawing, and the like. Specifically, when the user is drawing the area object, the drawing mode of the multi-segment line may be selected on the drawing plane of the electronic device, and accordingly, the electronic device may determine the target drawing mode for drawing the area object in response to the selection operation of the drawing mode.
S222, responding to the area drawing operation on the drawing plane in the target drawing mode, and obtaining the area boundary drawing point of the current type.
The area boundary drawing point is an end point forming an area boundary line, and the area boundary line may be generated based on the area boundary drawing point. The user can perform the area drawing operation on the drawing plane by adopting the selected target drawing mode, and accordingly, the electronic device can respond to the area drawing operation to obtain the area boundary drawing point corresponding to the target drawing mode.
And S223, generating the area boundary line of the current type based on the number of the effective points of the area boundary drawing points of the current type.
The area boundary drawing points comprise effective points and invalid points, wherein the effective points are determined points for generating the area boundary lines, and the invalid points are uncertain points. As shown in fig. 4, points 1, 2, 3, 4, and 5 determined by the user clicking the mouse are valid points, and 6 is the current position of the mouse, and points not clicked yet are invalid points.
The user can draw different types of area objects on the drawing plane, and in the drawing process of each type of area object, the electronic equipment can respond to the drawing operation of the different types of area objects to obtain different types of area boundary lines. Specifically, when the user draws the area object of the current type, the electronic device may obtain a plurality of effective area boundary drawing points, that is, effective points, in response to the drawing operation of the area object of the current type. Based on the number of the effective points and the target drawing manner, a corresponding area boundary line can be generated. For example, if the object is drawn in a straight line, a straight line may be formed between the two effective points.
Specifically, the step S223 may include:
(1) when the number of the effective points is 1, it is judged that the area boundary line is not generated, and the effective points are deleted.
When the electronic device recognizes that only 1 effective point exists on the drawing plane, since the 1 effective point cannot generate a multi-segment line when the electronic device performs the closing operation, the electronic device may determine that an area boundary line is not generated, and delete the effective point. It should be noted that, when the user performs the undo operation, the electronic device may respond to the undo operation, and the unique valid point is invalidated and the multi-segment line drawing is restarted.
(2) And when the number of the effective points is 2, generating an unclosed area boundary line and displaying the effective points.
When the electronic equipment identifies that 2 valid points exist on the drawing plane, because a section of area boundary line can be generated between the 2 valid points, the electronic equipment can judge that an area boundary line is generated, the area boundary line is not closed, and the 2 valid points are reserved. It should be noted that, when the user performs the undo operation, the electronic device may reserve a valid point in response to the undo operation and continue to perform the multi-segment line drawing.
(3) And when the number of the effective points is more than 2, closing the first effective point and the last effective point to generate a closed area boundary line.
When the electronic device recognizes that there are more than 2 valid points on the drawing plane, since a plurality of sections of area boundary lines can be generated between the plurality of valid points, the electronic device can retain the plurality of valid points and close the first valid point and the last valid point to obtain a closed area boundary line. Specifically, the electronic device may determine the first valid point and the last valid point according to the time stamp for determining the valid points. It should be noted that, when the user performs the undo operation, the electronic device may respond to the undo operation and move back to the last valid point, and continue to perform the multi-segment line drawing.
And S23, obtaining different types of area objects based on the closed state of the area boundary lines of different types.
Specifically, the step S23 may include:
and S231, judging whether the area boundary line of the current type is closed or not.
The electronic device may obtain drawing data of the area boundary line of the current type on the drawing plane, determine whether the area boundary line of the current type is closed according to the drawing data, execute step S232 when it is determined that the area boundary line is not closed, and otherwise generate an area object corresponding to the area boundary line.
And S232, responding to the closing operation on the area boundary line, generating a closed area boundary line, and obtaining an area object corresponding to the area boundary line of the current type.
When it is detected that the area boundary line of the current type is not closed, the electronic device may generate a close prompt message to remind the user to close the area boundary line. After receiving the closing prompt message, the user may continue to draw the area boundary line to form a closed area boundary line, and accordingly, the electronic device may respond to the closing operation of the area boundary line to obtain the closed area boundary line. Upon detecting that an area boundary line of the current type is closed, the electronic device may generate an area object corresponding thereto based on the closed area boundary line.
In the area object generating method provided in this embodiment, the target drawing mode of the area object of the current type is determined in response to the selection operation on the drawing mode, and the area boundary drawing point of the current type is obtained in response to the area drawing operation on the drawing plane in the target drawing mode, so that the area boundary drawing mode can be flexibly determined, and the area boundary drawing points of different types can be obtained. The area boundary line of the current type is generated based on the number of the effective points of the area boundary drawing points of the current type, so that different types of area boundary lines can be generated on the drawing plane, different types of area objects can be obtained, the type of the area object does not need to be preset, and the creating process of each type of area object is simplified.
According to the area object generation method provided by the embodiment, whether the area boundary line of the current type is closed or not is judged, and when the area boundary line is detected to be not closed, the closed area boundary line is obtained in response to the closing operation of the area boundary line, so that the closed area boundary lines of different types can be obtained respectively, the area objects of different types are determined, the accurate drawing of the area boundary line is ensured, and the accurate creation of the area object is further ensured.
In this embodiment, a method for generating an area object is provided, which may be used in an electronic device, such as a mobile phone, a tablet computer, a computer, and the like, fig. 3 is a flowchart of a method for generating an area object according to an embodiment of the present invention, and as shown in fig. 3, the flowchart includes the following steps:
s31, in response to a create instruction for the area object, obtaining a drawing plane of the area object, wherein the create instruction is independent of any plane view. For a detailed description, refer to the related description of step S11 corresponding to the above embodiment, and the detailed description is omitted here.
S32, in response to the area drawing operation on the drawing plane, different types of area boundary lines are obtained. For a detailed description, refer to the related description of step S12 corresponding to the above embodiment, and the detailed description is omitted here.
And S33, obtaining different types of area objects based on the closed state of the area boundary lines of different types. For a detailed description, refer to the related description of step S13 corresponding to the above embodiment, and the detailed description is omitted here.
S34, in response to the edit instruction for the area object, generating an annotation object.
The annotation object is a textual annotation placed on the area object. After obtaining the area object, the user may edit the annotation object on the area object, and accordingly, the electronic device may obtain the annotation object corresponding to the area object of the current type in response to the edit instruction for the area object. For example, the user may double-click on the area object, and accordingly, the electronic device may respond to the double-click operation and pop up a text box. The user may edit the text content in the text box, and accordingly, the electronic device may obtain the annotation object corresponding to the area object in response to the editing instruction.
S35, in response to the placement instruction for the annotation object, the annotation object is placed in the area object.
After obtaining the annotation object, the user may place the annotation object in a blank location in the area object. Accordingly, the electronic device displays the annotation object in a blank position of the area object in response to the placement instruction of the annotation object, as shown in fig. 7, so as to avoid the annotation object from being occluded.
According to the area object generation method provided by the embodiment, the annotation object is generated in response to the editing instruction of the area object, and the annotation object is placed on the area object in response to the placement instruction of the annotation object, so that the annotation object can be directly generated on the area object, and the generation convenience of the annotation object is improved.
As an optional implementation manner of the present application, after obtaining the annotation object, the method for generating the area object may further include: in response to the adjustment instruction of the annotation object, the annotation object and/or the placement position of the annotation object on the area object is updated.
When the area object changes, the placement position of the annotation object and/or the content of the annotation object may need to be adjusted. At this time, the user may adjust the placement position of the annotation object and/or the content of the annotation object, and the electronic device may update the placement position of the annotation object on the area object and/or update the text content of the annotation object in response to the adjustment instruction for the annotation object. For example, the user may click on the annotation object to obtain an outer border of the annotation object, drag the outer border to modify the drop position of the annotation object, and accordingly, the electronic device may update the drop position of the annotation object on the area object in response to a drag instruction of the outer border of the annotation object. When the user needs to modify the text content of the annotation object, the user can double click on the annotation object to re-input the text content, and accordingly, the electronic equipment can respond to the modification instruction of the annotation object and update the text content of the annotation object.
According to the area object generating method provided by the embodiment, when the annotation object needs to be adjusted, the annotation object and/or the placement position of the annotation object on the area object is updated by responding to the adjusting instruction of the annotation object, so that the convenient adjustment of the annotation object is ensured, and the design time of the annotation object is saved.
As an optional implementation manner of the present application, the method for generating an area object may further include:
s36, obtaining the updating parameters of the area object, wherein the updating parameters comprise attribute parameters and/or adjusting pinch points.
The updating parameters are used for updating the area object, and the updating parameters of the area object can comprise attribute parameters and/or adjusting pinch points, wherein the attribute parameters are basic attribute parameter values of the area object, including the type, the area boundary line style, the area filling and the like of the area object; the adjusting pinch point is a draggable pinch point on the area boundary line.
After the area object is created, if the user needs to adjust the created area object, the user may modify the attribute parameters of the area object and/or adjust the pinch point to complete the update of the area object. Specifically, the electronic device may acquire the update parameter of the area object in response to a display instruction for the update parameter. For example, the electronic device may display the update parameter corresponding to the area object in response to a user clicking operation on the area object.
S37, updating the area object in response to the modification instruction for the update parameter.
The user can modify the update parameters of the area object, and accordingly, the electronic device can respond to the modification instruction of the update parameters to modify the update parameters so as to update the basic properties of the area, the filling style and the like of the area object in real time. For the attribute parameters, the electronic device may update the parameter values in the attribute parameters in response to a modification instruction of the attribute parameters by a user, and update the area object based on the modified attribute parameters. For adjusting the pinch point, the electronic device may respond to a dragging instruction for adjusting the pinch point to adjust an area boundary line of the area object to realize real-time update of the area object; of course, the electronic device may also switch to the editing mode in response to a mode switching operation, as shown in fig. 8, and edit the area boundary line in the editing mode to update the area object.
In the method for generating an area object provided by this embodiment, for a created area object, the area boundary line is flexibly adjusted by modifying an adjustment pinch point of the area object, so as to update the area object in real time; by modifying the attribute parameters of the area objects, the attributes of the area objects can be adjusted to update the area objects in real time, thereby realizing the flexible adjustment of the area objects.
As an optional implementation manner of the present application, the method for generating an area object may further include:
and S38, responding to the statistical instruction of the area object, and acquiring the statistical parameters of the area object.
The statistical parameters are used for counting the area objects of each type, and may include area types, area sizes, remarks, and the like, and the statistical parameters are not limited herein, and those skilled in the art may determine the statistical parameters according to the analysis requirements. When the creation of all types of area objects is completed, the user may perform area statistics on the area objects of each type that the user creates, and accordingly, the electronic device may respond to the statistical instruction and present the statistical parameters of the area objects to the user, so that the user may determine the required parameters according to actual needs, as shown in fig. 5.
And S39, obtaining a statistical table containing different types of area objects based on the statistical parameters of the area objects.
The electronic equipment carries out statistical analysis on the area objects of all types according to the obtained statistical parameters to obtain analysis data of the area objects, and generates a statistical table of the area objects based on the analysis data. For example, the electronic device may obtain area values for various types of area objects and generate a statistical table containing the area values for various types of area objects, as shown in fig. 6.
In the method for generating area objects provided in this embodiment, after obtaining area objects of different types, a statistical parameter of the area object is obtained by responding to a statistical instruction for the area object, and a statistical table including the area objects of different types is obtained based on the statistical parameter of the area object. Therefore, the areas of different types of area objects can be automatically generated in the same statistical form, the statistical efficiency of the area objects is improved, the area data of different types can be expressed more visually, and the design and analysis of the area objects are facilitated.
In this embodiment, a device for generating an area object is further provided, where the device is used to implement the foregoing embodiments and preferred embodiments, and details are not repeated for what has been described. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
The present embodiment provides an area object generating apparatus, as shown in fig. 9, including:
a first response module 41, configured to, in response to a creation instruction for the area object, obtain a drawing plane of the area object, where the creation instruction is independent of any plane view. For a detailed description, reference is made to the corresponding related description of the above method embodiments, which is not repeated herein.
A second response module 42 for obtaining different types of area boundary lines in response to area drawing operations on the drawing plane. For a detailed description, reference is made to the corresponding related description of the above method embodiments, which is not repeated herein.
And a generating module 43, configured to obtain different types of area objects based on the closed states of the different types of area boundary lines. For a detailed description, reference is made to the corresponding related description of the above method embodiments, which is not repeated herein.
The area object generating means in this embodiment is in the form of a functional unit, where the unit refers to an ASIC circuit, a processor and a memory executing one or more software or fixed programs, and/or other devices that can provide the above-described functions.
Further functional descriptions of the modules are the same as those of the corresponding embodiments, and are not repeated herein.
An embodiment of the present invention further provides an electronic device, which includes the area object generating apparatus shown in fig. 9.
Referring to fig. 10, fig. 10 is a schematic structural diagram of an electronic device according to an alternative embodiment of the present invention, as shown in fig. 10, the electronic device may include: at least one processor 501, such as a CPU (Central Processing Unit), at least one communication interface 503, memory 504, and at least one communication bus 502. Wherein a communication bus 502 is used to enable connective communication between these components. The communication interface 503 may include a Display (Display) and a Keyboard (Keyboard), and the optional communication interface 503 may also include a standard wired interface and a standard wireless interface. The Memory 504 may be a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The memory 504 may optionally be at least one storage device located remotely from the processor 501. Wherein the processor 501 may be in connection with the apparatus described in fig. 9, an application program is stored in the memory 504, and the processor 501 calls the program code stored in the memory 504 for performing any of the above-mentioned method steps.
The communication bus 502 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 502 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 10, but this is not intended to represent only one bus or type of bus.
The memory 504 may include a volatile memory (RAM), such as a random-access memory (RAM); the memory may also include a non-volatile memory (english: non-volatile memory), such as a flash memory (english: flash memory), a hard disk (english: hard disk drive, abbreviated: HDD) or a solid-state drive (english: SSD); the memory 504 may also comprise a combination of the above types of memory.
The processor 501 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of CPU and NP.
The processor 501 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
Optionally, the memory 504 is also used to store program instructions. The processor 501 may call a program instruction to implement the area object generation method as shown in the embodiments of fig. 1 to 3 of the present application.
The embodiment of the invention also provides a non-transitory computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the processing method of the area object generation method in any method embodiment. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.