CN113163031A - Method and device for forming component of electronic device, storage medium and electronic device - Google Patents

Method and device for forming component of electronic device, storage medium and electronic device Download PDF

Info

Publication number
CN113163031A
CN113163031A CN202110395011.4A CN202110395011A CN113163031A CN 113163031 A CN113163031 A CN 113163031A CN 202110395011 A CN202110395011 A CN 202110395011A CN 113163031 A CN113163031 A CN 113163031A
Authority
CN
China
Prior art keywords
fixed structure
initial fixed
electronic device
initial
component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110395011.4A
Other languages
Chinese (zh)
Other versions
CN113163031B (en
Inventor
张滔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110395011.4A priority Critical patent/CN113163031B/en
Publication of CN113163031A publication Critical patent/CN113163031A/en
Application granted granted Critical
Publication of CN113163031B publication Critical patent/CN113163031B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems

Abstract

The application discloses a method and a device for forming a component of electronic equipment, a storage medium and the electronic equipment. The method comprises the following steps: obtaining a plurality of initial fixation structures for forming the component; combining the plurality of initial fixed structures according to a preset combination strategy; acquiring an operation strategy corresponding to each initial fixed structure; and performing Boolean operation on each initial fixed structure according to an operation strategy corresponding to each initial fixed structure to perform corresponding glue adding and subtracting treatment on each initial fixed structure to obtain the component. The present application may improve the efficiency of forming components of an electronic device.

Description

Method and device for forming component of electronic device, storage medium and electronic device
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method and an apparatus for forming a component of an electronic device, a storage medium, and an electronic device.
Background
With the development of electronic technology, electronic devices such as mobile phones, tablet computers and the like have begun to be changed from the previous stage of simply providing a communication device into a platform for running a general application program. The platform no longer has the main purpose of providing call management, but provides an operating environment including various application programs such as call management, game and entertainment, office events, mobile payment and the like, and with a great deal of popularization, the platform has been deeply developed to the aspects of life and work of people.
Taking an electronic device as an example of a mobile phone, before manufacturing the mobile phone, a structure of the mobile phone is usually designed to form various components of the mobile phone, such as a middle frame, a battery cover, and the like. However, in the related art, efficiency is low in forming each component of the cellular phone.
Disclosure of Invention
Embodiments of the present application provide a method and an apparatus for forming a component of an electronic device, a storage medium, and an electronic device, which can improve efficiency of forming a component of an electronic device.
In a first aspect, an embodiment of the present application provides a method for forming a component of an electronic device, where the electronic device includes a plurality of parts, and the component is used to fix the plurality of parts, and includes:
obtaining a plurality of initial fixation structures for forming the component;
combining the plurality of initial fixed structures according to a preset combination strategy;
acquiring an operation strategy corresponding to each initial fixed structure;
and performing Boolean operation on each initial fixed structure according to an operation strategy corresponding to each initial fixed structure to perform corresponding glue adding and subtracting treatment on each initial fixed structure to obtain the component.
In a second aspect, an embodiment of the present application provides an apparatus for forming a component of an electronic device, where the electronic device includes a plurality of parts, and the component is used to fix the plurality of parts, and includes:
a first acquisition module for acquiring a plurality of initial fixing structures for forming the component;
the combination module is used for combining the plurality of initial fixed structures according to a preset combination strategy;
the second acquisition module is used for acquiring the operation strategy corresponding to each initial fixed structure;
and the processing module is used for performing Boolean operation on each initial fixed structure according to the operation strategy corresponding to each initial fixed structure so as to perform corresponding glue adding and subtracting processing on each initial fixed structure to obtain the part.
In a third aspect, an embodiment of the present application provides a storage medium, on which a computer program is stored, and when the computer program is executed on a computer, the computer program is enabled to execute a flow in a method for forming a component of an electronic device provided in an embodiment of the present application.
In a fourth aspect, an embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the processor is configured to execute a procedure in a method for forming a component of the electronic device, which is provided by the embodiment of the present application, by calling a computer program stored in the memory.
In an embodiment of the present application, a plurality of initial fixation structures for forming the component are obtained; combining the plurality of initial fixed structures according to a preset combination strategy; acquiring an operation strategy corresponding to each initial fixed structure; and performing Boolean operation on each initial fixed structure according to an operation strategy corresponding to each initial fixed structure to perform corresponding glue adding and subtracting processing on each initial fixed structure to obtain the component.
Drawings
The technical solutions and advantages of the present application will become apparent from the following detailed description of specific embodiments of the present application when taken in conjunction with the accompanying drawings.
Fig. 1 is a first flowchart illustrating a method for forming a component of an electronic device according to an embodiment of the present disclosure.
Fig. 2 is a second flowchart illustrating a method for forming a component of an electronic device according to an embodiment of the present disclosure.
Fig. 3 is a schematic structural diagram of a forming apparatus of a component of an electronic device according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a first electronic device according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a second electronic device according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the application and should not be taken as limiting the application with respect to other embodiments that are not detailed herein.
It is understood that the execution subject of the embodiment of the present application may be an electronic device such as a smart phone, a tablet computer, a notebook computer, or a desktop computer.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a method for forming a component of an electronic device according to an embodiment of the present application, where the electronic device includes a plurality of components, the component is configured to accommodate the plurality of components, and the flow includes:
101. a plurality of initial fixation structures for forming a component are obtained.
The electronic equipment comprises a smart phone, a tablet computer, a notebook computer or a desktop computer and the like. The components of the electronic device include a center frame, a battery cover (lower cover plate), an upper cover plate, and the like. The plurality of parts of the electronic device include: the rear camera, the motor, the loudspeaker and other parts needing to be fixed by the middle frame and other parts needing to be fixed by the battery cover and the upper cover plate.
Taking the component as an example of the middle frame, the middle frame of the electronic device may include a plurality of fixing structures for fixing a plurality of parts of the electronic device, such as a fixing structure of the rear camera, a fixing structure of the motor, a fixing structure of the speaker, and the like. Before the final fixed structure is formed, a designer is required to perform preliminary drawing design on each fixed structure of the middle frame, for example, a creo application program is used to perform drawing design on each fixed structure.
In the related art, one designer usually completes the drawing design of the whole middle frame, which is inefficient.
In order to improve the design efficiency, in this embodiment, taking the initial drawing file design of each fixed structure of the middle frame by using the creo application as an example, a plurality of designers can respectively use the creo application to perform the initial design of each fixed structure. For example, assuming that the middle frame includes 10 fixed structures and 5 designers participate in the preliminary design of each fixed structure, each designer may perform the preliminary design of 2 fixed structures. After each designer finishes the preliminary design of the fixed structure which needs to be designed, 4 of the designers can upload the preliminarily designed fixed structures through the creo application program, the remaining 1 designer can download the preliminarily designed fixed structures of the 4 designers through the creo application program, and therefore 10 initial fixed structures for forming the middle frame are obtained, and the electronic device can obtain a plurality of initial fixed structures for forming the middle frame.
102. And combining the plurality of initial fixed structures according to a preset combination strategy.
The electronic device is preset with a combination strategy of an initial fixed structure, namely a preset combination strategy. The predetermined combination strategy may include the relative positions of a plurality of initial fixation structures. Then, after obtaining the 10 initial fixed structures of the middle frame, the electronic device may combine the multiple initial fixed structures according to a preset combination strategy.
103. And acquiring an operation strategy corresponding to each initial fixed structure.
The electronic equipment is preset with an operation strategy corresponding to each initial fixed structure in a plurality of initial fixed structures. The operation strategy can be set by a designer. The electronic device can perform boolean operations on each initial fixed structure according to the operation strategy corresponding to each initial fixed structure. The operation strategy of each initial fixed structure can comprise the position of each initial structure to be processed by adding glue or reducing glue, and the sequence to be processed by adding glue or reducing glue. Wherein, the glue adding is the adding material, and the glue reducing is the reducing material. For example, taking the initial fixed structure of the motor as an example, the final fixed structure of the motor can be obtained by first performing glue adding processing on the position a of the initial fixed structure of the motor and then performing glue reducing processing on the position B of the initial fixed structure of the motor, and then the operation strategy corresponding to the initial fixed structure of the motor may include: step 1: glue adding treatment is carried out on the position A of the initial fixing structure of the motor; step 2: and performing glue reducing treatment on the position B of the initial fixed structure of the motor.
In this embodiment, assuming that the electronic device acquires 10 initial fixed structures for forming the middle frame, the electronic device may acquire an operation policy corresponding to each of the 10 initial fixed structures.
104. And performing Boolean operation on each initial fixed structure according to an operation strategy corresponding to each initial fixed structure to perform corresponding glue adding and subtracting treatment on each initial fixed structure to obtain the component.
For example, after combining 10 initial fixed structures of the middle frame and obtaining the operation strategy corresponding to each of the 10 initial fixed structures of the middle frame, the electronic device may perform boolean operation on each initial fixed structure according to the operation strategy corresponding to each initial fixed structure to perform corresponding addition and subtraction processing on each initial fixed structure to form 10 target fixed structures, where the 10 target fixed structures constitute the middle frame. The 10 target holding structures can be used to hold 10 parts of an electronic device. For example, the 10 target mounting structures may include mounting structures for a rear camera, a motor, a horn, and so forth. The fixing structure of the rear camera is used for fixing the rear camera of the electronic equipment. The fixing structure of the motor is used for fixing the motor of the electronic equipment. The fixing structure of the loudspeaker is used for fixing the loudspeaker of the electronic equipment.
In an embodiment of the present application, a plurality of initial fixation structures for forming the component are obtained; combining the plurality of initial fixed structures according to a preset combination strategy; acquiring an operation strategy corresponding to each initial fixed structure; and performing Boolean operation on each initial fixed structure according to an operation strategy corresponding to each initial fixed structure to perform corresponding glue adding and subtracting processing on each initial fixed structure to obtain the component.
In some embodiments, obtaining the operation policy corresponding to each initial fixed structure may include:
(1) detecting whether a Boolean operation instruction is received or not;
(2) and if a Boolean operation instruction is received, acquiring an operation strategy corresponding to each initial fixed structure.
Wherein the Boolean operation instruction can be triggered by a user. The user can speak corresponding voice, make corresponding gestures or press corresponding controls, and the electronic device receives the Boolean operation instruction. When a Boolean operation instruction is received, the electronic equipment can acquire the operation strategy corresponding to each initial fixed structure, and then perform corresponding glue adding and subtracting processing on each initial fixed structure.
In some embodiments, detecting whether a boolean operation instruction is received may include:
(1.1) acquiring voice information;
(1.2) converting the voice information into text information;
(1.3) carrying out semantic analysis on the voice information to obtain semantic information;
(1.4) judging whether the instruction corresponding to the semantic information is a Boolean operation instruction or not;
(1.5) determining an instruction corresponding to the semantic information;
and when the instruction corresponding to the semantic information is a Boolean operation instruction, determining that the Boolean operation instruction is received.
For example, the electronic device may obtain voice information of the user and convert the voice information into text information. For example, assume that the obtained text information is "start boolean operation".
When the text information of 'starting Boolean operation' is obtained, the electronic equipment can perform word segmentation processing on the text information to obtain a corresponding word segmentation result. The word segmentation result comprises each separated vocabulary and the part of speech corresponding to each separated vocabulary. Subsequently, the electronic device can determine nouns and verbs in the segmentation result and determine semantic information based on the nouns and verbs in the segmentation result.
Then, based on the text information of "start boolean operation", the obtainable segmentation results are: ("Start", verb), ("Boolean operation", noun). From this, the noun is determined as "boolean operation" and the verb is "start", thereby determining that the semantic information is "start boolean operation".
After that, the electronic device may determine that the instruction corresponding to "start boolean operation" is a boolean operation instruction, and then, the electronic device determines that the boolean operation instruction is received.
When the text information obtained according to the voice information is 'inquiry Shenzhen weather', the electronic device can determine that the semantic information is 'inquiry Shenzhen weather', and the electronic device can determine that the instruction corresponding to the semantic information is an instruction for inquiring weather, so that the electronic device can determine that the instruction corresponding to the semantic information is not a Boolean operation instruction.
When the text information obtained according to the voice information is 'go to eat together', the electronic equipment can determine that the semantic information does not have a corresponding instruction, and then the electronic equipment does not respond to the voice information.
In some embodiments, detecting whether a boolean operation instruction is received may include:
(1.1) acquiring gesture information;
(1.2) detecting whether the gesture information is matched with preset gesture information;
and when the gesture information is matched with the preset gesture information, determining that a Boolean operation instruction is received.
For example, assuming that the preset gesture information is a "thumb-up" gesture, the electronic device may determine that a boolean operation instruction is received when the collected gesture information is the "thumb-up" gesture. When the collected gesture information is other gestures, the electronic device may determine that the boolean operation instruction is not received.
In some embodiments, detecting whether a boolean operation instruction is received may include:
detecting whether touch operation on a preset control is received;
when touch operation on a preset control is received, a Boolean operation instruction is determined to be received.
For example, an application interface of the creo application program may be preset with a "boolean operation" control, which is a preset control. Then, when the user clicks the control of the "boolean operation", the electronic device determines that a boolean operation instruction is received.
In some embodiments, prior to obtaining the plurality of initial fixation structures for forming the component, it may further comprise:
receiving operation strategy setting operation, wherein the operation strategy setting operation is used for setting a corresponding operation strategy for each initial fixed structure;
and setting corresponding strategies for each initial fixed structure according to the operation strategy setting operation.
For example, an "operation policy" control may be set in the electronic device, and the user may click the "operation policy" control, so that the electronic device receives an operation for setting the operation policy. Subsequently, the electronic device may display an edit box, where the edit box may receive an editing operation of a user, so that the user may set a corresponding operation policy for each initial fixed structure based on the edit box, and the electronic device receives the operation policy corresponding to each initial fixed structure. The electronic device can store the operation strategy corresponding to each initial fixed structure, so that when Boolean operation needs to be performed on the initial fixed structures, Boolean operation is performed on each initial fixed structure according to the operation strategy corresponding to each initial fixed structure.
In some embodiments, after obtaining the plurality of initial fixation structures for forming the component, it may further include:
determining an initial fixed structure needing to be stored from a plurality of initial fixed structures;
the initial fixed structure to be preserved is preserved.
For example, some of the plurality of initial fixed structures may be designated by the designer as initial fixed structures that need to be saved. The initial fixed structure to be saved may be an initial fixed structure determined by a designer to be used when designing a next generation electronic device. Therefore, after obtaining the plurality of initial fixed structures for forming the component, the electronic device may display the plurality of initial fixed structures, the designer may click on the initial fixed structure to be saved, and the electronic device may set the initial fixed structure clicked by the designer as the initial fixed structure to be saved, so that the electronic device may save the initial fixed structure to be saved.
For example, a plurality of initial fixed structures obtained for forming a part, such as a middle box, may be displayed on an application interface of the creo application program, and then, the designer may click on which initial fixed structure to save, so that the electronic device may save the initial fixed structure.
Referring to fig. 2, fig. 2 is a second flowchart illustrating a method for forming a component of an electronic device according to an embodiment of the present application, where the component may be a middle frame, the electronic device may include a plurality of parts, and the middle frame may be used to fix the plurality of parts, and the process may include:
201. a plurality of initial fixation structures for forming the midframe are obtained.
The middle frame of the electronic device may include a plurality of fixing structures for fixing a plurality of parts of the electronic device, such as a fixing structure of a rear camera, a fixing structure of a motor, a fixing structure of a speaker, and the like. Before the final fixed structure is formed, a designer is required to perform preliminary drawing design on each fixed structure of the middle frame, for example, a creo application program is used to perform drawing design on each fixed structure.
In the related art, one designer usually completes the drawing design of the whole middle frame, which is inefficient.
In order to improve the design efficiency, in this embodiment, taking the initial drawing file design of each fixed structure of the middle frame by using the creo application as an example, a plurality of designers can respectively use the creo application to perform the initial design of each fixed structure. For example, assuming that the middle frame includes 10 fixed structures and 5 designers participate in the preliminary design of each fixed structure, each designer may perform the preliminary design of 2 fixed structures. After each designer finishes the preliminary design of the fixed structure which needs to be designed, 4 of the designers can upload the preliminarily designed fixed structures through the creo application program, the remaining 1 designer can download the preliminarily designed fixed structures of the 4 designers through the creo application program, and therefore 10 initial fixed structures for forming the middle frame are obtained, and the electronic device can obtain a plurality of initial fixed structures for forming the middle frame.
202. And combining the plurality of initial fixed structures according to a preset combination strategy.
The electronic device is preset with a combination strategy of an initial fixed structure of the middle frame, namely a preset combination strategy. The predetermined combination strategy may include the relative positions of a plurality of initial fixed structures of the middle frame. Then, after obtaining the 10 initial fixed structures of the middle frame, the electronic device may combine the multiple initial fixed structures of the middle frame according to a preset combination policy to form an initial form of the middle frame, so that the application interface of the creo application may display the initial form of the middle frame, that is, the combined multiple initial fixed structures.
203. And acquiring voice information.
204. The voice information is converted into text information.
For example, when the user wants the electronic device to perform boolean operations on the initial fixed structure, the user may speak the corresponding voice information, and the electronic device acquires the voice information of the user. After acquiring the voice information of the user, the electronic device may convert the voice information into text information. For example, assume that the obtained text information is "start boolean operation".
205. And carrying out semantic analysis on the text information to obtain semantic information.
For example, when text information of "start boolean operation" is obtained, the electronic device may perform word segmentation processing on the text information to obtain a corresponding word segmentation result. The word segmentation result comprises each separated vocabulary and the part of speech corresponding to each separated vocabulary. Subsequently, the electronic device can determine nouns and verbs in the segmentation result and determine semantic information based on the nouns and verbs in the segmentation result.
Then, based on the text information of "start boolean operation", the obtainable segmentation results are: ("Start", verb), ("Boolean operation", noun). From this, the noun is determined as "boolean operation" and the verb is "start", thereby determining that the semantic information is "start boolean operation".
206. And determining an instruction corresponding to the semantic information.
207. And judging whether the instruction corresponding to the semantic information is a Boolean operation instruction or not.
208. And when the instruction corresponding to the semantic information is a Boolean operation instruction, acquiring an operation strategy corresponding to each initial fixed structure.
For example, when the obtained semantic information is "start boolean operation", the electronic device may determine that the instruction corresponding to "start boolean operation" is a boolean operation instruction, and then, the electronic device determines that the boolean operation instruction is received, and the electronic device may obtain an operation policy corresponding to each initial fixed structure of the middle frame.
209. And performing Boolean operation on each initial fixed structure according to an operation strategy corresponding to each initial fixed structure to perform corresponding glue adding and subtracting treatment on each initial fixed structure to obtain the middle frame.
For example, after combining the plurality of initial fixed structures of the middle frame and obtaining the operation policy corresponding to each of the plurality of initial fixed structures of the middle frame, the electronic device may perform boolean operation on each initial fixed structure according to the operation policy corresponding to each initial fixed structure to perform corresponding addition and subtraction processing on each initial fixed structure to form a plurality of target fixed structures, where the plurality of target fixed structures form the middle frame. The multiple target-holding structures may be used to hold multiple parts of an electronic device. For example, the plurality of target fixation structures may include fixation structures of a rear camera, fixation structures of a motor, fixation structures of a horn, and so on. The fixing structure of the rear camera is used for fixing the rear camera of the electronic equipment. The fixing structure of the motor is used for fixing the motor of the electronic equipment. The fixing structure of the loudspeaker is used for fixing the loudspeaker of the electronic equipment.
It is understood that, since the combined plurality of initial fixed structures are displayed on the application interface of the creo application program, the process of performing boolean operations on the plurality of initial fixed structures may also be embodied on the application interface of the creo application program. That is, the application interface of the creo application program may dynamically expose the process of transforming the plurality of initial fixed structures into the plurality of target fixed structures.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a forming apparatus of a component of an electronic device according to an embodiment of the present disclosure. The forming apparatus 300 of the component of the electronic device includes: a first obtaining module 301, a combining module 302, a second obtaining module 303 and a processing module 304.
A first acquisition module 301 for acquiring a plurality of initial fixing structures for forming the component.
A combining module 302, configured to combine the plurality of initial fixed structures according to a preset combining policy.
A second obtaining module 303, configured to obtain an operation policy corresponding to each initial fixed structure.
And the processing module 304 is configured to perform boolean operation on each initial fixed structure according to an operation strategy corresponding to each initial fixed structure, so as to perform corresponding addition and subtraction processing on each initial fixed structure, thereby obtaining the component.
In some embodiments, the second obtaining module 303 may be configured to: detecting whether a Boolean operation instruction is received or not; and if a Boolean operation instruction is received, acquiring an operation strategy corresponding to each initial fixed structure.
In some embodiments, the second obtaining module 303 may be configured to: acquiring voice information; converting the voice information into text information; performing semantic analysis on the text information to obtain semantic information; determining an instruction corresponding to the semantic information; judging whether the instruction corresponding to the semantic information is a Boolean operation instruction or not; and when the instruction corresponding to the semantic information is a Boolean operation instruction, determining that the Boolean operation instruction is received.
In some embodiments, the second obtaining module 303 may be configured to: collecting gesture information; detecting whether the gesture information is matched with preset gesture information; and when the gesture information is matched with preset gesture information, determining that a Boolean operation instruction is received.
In some embodiments, the second obtaining module 303 may be configured to: detecting whether touch operation on a preset control is received; when touch operation on a preset control is received, a Boolean operation instruction is determined to be received.
In some embodiments, the first obtaining module 301 may be configured to: : receiving an operation strategy setting operation, wherein the operation strategy setting operation is used for setting a corresponding operation strategy for each initial fixed structure; and setting corresponding strategies for each initial fixed structure according to the operation strategy setting operation.
In some embodiments, the first obtaining module 301 may be configured to: : determining an initial fixed structure needing to be stored from the plurality of initial fixed structures; and saving the initial fixed structure needing to be saved.
The present embodiment provides a computer-readable storage medium, on which a computer program is stored, which, when executed on a computer, causes the computer to execute the flow in the method for forming a component of an electronic device as provided in the present embodiment.
The embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the processor is configured to execute a flow in the method for forming a component of the electronic device provided in this embodiment by calling the computer program stored in the memory.
For example, the electronic device executing the flow of the method for forming the component of the electronic device provided by the embodiment of the present application may be a mobile terminal such as a tablet computer or a smartphone. Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
The electronic device 400 may include components such as a sensor 401, a memory 401, a processor 402, and the like. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 4 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The memory 401 may be used to store applications and data. The memory 401 stores applications containing executable code. The application programs may constitute various functional modules. The processor 402 executes various functional applications and data processing by running an application program stored in the memory 401.
The processor 402 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing an application program stored in the memory 401 and calling data stored in the memory 401, thereby integrally monitoring the electronic device.
In this embodiment, the processor 402 in the electronic device loads the executable code corresponding to the processes of one or more application programs into the memory 401 according to the following instructions, and the processor 402 runs the application programs stored in the memory 401, so as to implement the following processes:
obtaining a plurality of initial fixation structures for forming the component;
combining the plurality of initial fixed structures according to a preset combination strategy;
acquiring an operation strategy corresponding to each initial fixed structure;
and performing Boolean operation on each initial fixed structure according to an operation strategy corresponding to each initial fixed structure to perform corresponding glue adding and subtracting treatment on each initial fixed structure to obtain the component.
Referring to fig. 5, the electronic device 400 may include a memory 401, a processor 402, an input unit 403, an output unit 404, and the like.
The memory 401 may be used to store applications and data. The memory 401 stores applications containing executable code. The application programs may constitute various functional modules. The processor 402 executes various functional applications and data processing by running an application program stored in the memory 401.
The processor 402 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing an application program stored in the memory 401 and calling data stored in the memory 401, thereby integrally monitoring the electronic device.
The input unit 403 may be used to receive input numbers, character information, or user characteristic information, such as a fingerprint, and generate a keyboard, mouse, joystick, optical, or trackball signal input related to user setting and function control.
The output unit 404 may be used to display information input by or provided to a user and various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof. The output unit may include a display panel.
In this embodiment, the processor 402 in the electronic device loads the executable code corresponding to the processes of one or more application programs into the memory 401 according to the following instructions, and the processor 402 runs the application programs stored in the memory 401, so as to implement the following processes:
obtaining a plurality of initial fixation structures for forming the component;
combining the plurality of initial fixed structures according to a preset combination strategy;
acquiring an operation strategy corresponding to each initial fixed structure;
and performing Boolean operation on each initial fixed structure according to an operation strategy corresponding to each initial fixed structure to perform corresponding glue adding and subtracting treatment on each initial fixed structure to obtain the component.
In some embodiments, when the processor 402 executes the operation policy corresponding to each initial fixed structure, it may execute: detecting whether a Boolean operation instruction is received or not; and if a Boolean operation instruction is received, acquiring an operation strategy corresponding to each initial fixed structure.
In some embodiments, the processor 402, when performing the detecting whether the boolean operation instruction is received, may perform: acquiring voice information; converting the voice information into text information; performing semantic analysis on the text information to obtain semantic information; determining an instruction corresponding to the semantic information; judging whether the instruction corresponding to the semantic information is a Boolean operation instruction or not; and when the instruction corresponding to the semantic information is a Boolean operation instruction, determining that the Boolean operation instruction is received.
In some embodiments, the processor 402, when performing the detecting whether the boolean operation instruction is received, may perform: collecting gesture information; detecting whether the gesture information is matched with preset gesture information; and when the gesture information is matched with preset gesture information, determining that a Boolean operation instruction is received.
In some embodiments, the processor 402, when performing the detecting whether the boolean operation instruction is received, may perform: detecting whether touch operation on a preset control is received; when touch operation on a preset control is received, a Boolean operation instruction is determined to be received. .
In some embodiments, before the obtaining of the plurality of initial fixation structures for forming the component is performed by processor 402, the method may further include: receiving an operation strategy setting operation, wherein the operation strategy setting operation is used for setting a corresponding operation strategy for each initial fixed structure; and setting corresponding strategies for each initial fixed structure according to the operation strategy setting operation.
In some embodiments, after the processor 402 performs the obtaining of the plurality of initial fixation structures for forming the component, it may further perform: determining an initial fixed structure needing to be stored from the plurality of initial fixed structures; and saving the initial fixed structure needing to be saved.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the forming method of the component of the electronic device, and are not described again here.
The forming apparatus of the component of the electronic device provided in the embodiment of the present application and the forming method of the component of the electronic device in the above embodiments belong to the same concept, and any method provided in the forming method of the component of the electronic device may be run on the forming apparatus of the component of the electronic device, and a specific implementation process thereof is described in detail in the forming method embodiment of the component of the electronic device, and is not described herein again.
It should be noted that, for the method for forming a component of an electronic device described in the embodiment of the present application, it can be understood by those skilled in the art that all or part of the process of implementing the method for forming a component of an electronic device described in the embodiment of the present application may be implemented by controlling related hardware through a computer program, where the computer program may be stored in a computer-readable storage medium, such as a memory, and executed by at least one processor, and in the execution process, the process of the embodiment of the method for forming a component of an electronic device may be included. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
In the apparatus for forming a component of an electronic device according to the embodiment of the present application, each functional module may be integrated into one processing chip, each functional module may exist alone physically, or two or more functional modules may be integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in an application program functional module mode. The integrated module, if implemented as an application function module and sold or used as a stand-alone product, may also be stored in a computer-readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The above detailed descriptions of the method, the apparatus, the storage medium, and the electronic device for forming the components of the electronic device provided in the embodiments of the present application, and the specific examples are applied herein to explain the principles and embodiments of the present application, and the descriptions of the above embodiments are only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method of forming a component of an electronic device, the electronic device including a plurality of parts, the component for securing the plurality of parts, comprising:
obtaining a plurality of initial fixation structures for forming the component;
combining the plurality of initial fixed structures according to a preset combination strategy;
acquiring an operation strategy corresponding to each initial fixed structure;
and performing Boolean operation on each initial fixed structure according to an operation strategy corresponding to each initial fixed structure to perform corresponding glue adding and subtracting treatment on each initial fixed structure to obtain the component.
2. The method of claim 1, wherein the obtaining the operation policy corresponding to each initial fixed structure comprises:
detecting whether a Boolean operation instruction is received or not;
and if a Boolean operation instruction is received, acquiring an operation strategy corresponding to each initial fixed structure.
3. The method of claim 2, wherein the detecting whether the Boolean operation instruction is received comprises:
acquiring voice information;
converting the voice information into text information;
performing semantic analysis on the text information to obtain semantic information;
determining an instruction corresponding to the semantic information;
judging whether the instruction corresponding to the semantic information is a Boolean operation instruction or not;
and when the instruction corresponding to the semantic information is a Boolean operation instruction, determining that the Boolean operation instruction is received.
4. The method of claim 2, wherein the detecting whether the Boolean operation instruction is received comprises:
collecting gesture information;
detecting whether the gesture information is matched with preset gesture information;
and when the gesture information is matched with preset gesture information, determining that a Boolean operation instruction is received.
5. The method of claim 2, wherein the detecting whether the Boolean operation instruction is received comprises:
detecting whether touch operation on a preset control is received;
when touch operation on a preset control is received, a Boolean operation instruction is determined to be received.
6. The method of forming a component of an electronic device of claim 1, wherein prior to obtaining a plurality of initial securing structures for forming the component, further comprising:
receiving an operation strategy setting operation, wherein the operation strategy setting operation is used for setting a corresponding operation strategy for each initial fixed structure;
and setting corresponding strategies for each initial fixed structure according to the operation strategy setting operation.
7. The method of claim 1, wherein after obtaining a plurality of initial fixation structures for forming the component, further comprising:
determining an initial fixed structure needing to be stored from the plurality of initial fixed structures;
and saving the initial fixed structure needing to be saved.
8. An apparatus for forming a part of an electronic device, the electronic device including a plurality of parts, the part for fixing the plurality of parts, comprising:
a first acquisition module for acquiring a plurality of initial fixing structures for forming the component;
the combination module is used for combining the plurality of initial fixed structures according to a preset combination strategy;
the second acquisition module is used for acquiring the operation strategy corresponding to each initial fixed structure;
and the processing module is used for performing Boolean operation on each initial fixed structure according to the operation strategy corresponding to each initial fixed structure so as to perform corresponding glue adding and subtracting processing on each initial fixed structure to obtain the part.
9. A storage medium having stored thereon a computer program which, when run on a computer, causes the computer to perform the method of any one of claims 1 to 7.
10. An electronic device, characterized in that the electronic device comprises a processor and a memory, in which a computer program is stored, the processor being adapted to perform the method of any of claims 1 to 7 by invoking the computer program stored in the memory.
CN202110395011.4A 2021-04-13 2021-04-13 Method and device for forming component of electronic device, storage medium and electronic device Active CN113163031B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110395011.4A CN113163031B (en) 2021-04-13 2021-04-13 Method and device for forming component of electronic device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110395011.4A CN113163031B (en) 2021-04-13 2021-04-13 Method and device for forming component of electronic device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN113163031A true CN113163031A (en) 2021-07-23
CN113163031B CN113163031B (en) 2023-02-28

Family

ID=76890403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110395011.4A Active CN113163031B (en) 2021-04-13 2021-04-13 Method and device for forming component of electronic device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN113163031B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002373187A (en) * 2001-03-23 2002-12-26 Honda Motor Co Ltd Product designing device by computer support
US20040004624A1 (en) * 2000-09-05 2004-01-08 Johannes Barner Method for modifying the design of a structural part
CN101301107A (en) * 2007-05-10 2008-11-12 赖维祥 Method for producing three-dimensional contouring food product with rapid prototyping technology
US20100169092A1 (en) * 2008-11-26 2010-07-01 Backes Steven J Voice interface ocx
CN107408142A (en) * 2015-02-25 2017-11-28 昂沙普公司 3D CAD systems based on multi-user's cloud parameter attribute
CN108182318A (en) * 2017-12-27 2018-06-19 华中科技大学 A kind of method of the plastic geometry mouldability analysis based on UG NX systems
CN109376388A (en) * 2018-09-19 2019-02-22 东风康明斯发动机有限公司 Accurately engine compression ratio calculation method
CN112163295A (en) * 2020-09-28 2021-01-01 上海卫星装备研究所 Creo software-based three-dimensional assembly model version comparison system and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040004624A1 (en) * 2000-09-05 2004-01-08 Johannes Barner Method for modifying the design of a structural part
JP2002373187A (en) * 2001-03-23 2002-12-26 Honda Motor Co Ltd Product designing device by computer support
CN101301107A (en) * 2007-05-10 2008-11-12 赖维祥 Method for producing three-dimensional contouring food product with rapid prototyping technology
US20100169092A1 (en) * 2008-11-26 2010-07-01 Backes Steven J Voice interface ocx
CN107408142A (en) * 2015-02-25 2017-11-28 昂沙普公司 3D CAD systems based on multi-user's cloud parameter attribute
CN108182318A (en) * 2017-12-27 2018-06-19 华中科技大学 A kind of method of the plastic geometry mouldability analysis based on UG NX systems
CN109376388A (en) * 2018-09-19 2019-02-22 东风康明斯发动机有限公司 Accurately engine compression ratio calculation method
CN112163295A (en) * 2020-09-28 2021-01-01 上海卫星装备研究所 Creo software-based three-dimensional assembly model version comparison system and method

Also Published As

Publication number Publication date
CN113163031B (en) 2023-02-28

Similar Documents

Publication Publication Date Title
CN110223695B (en) Task creation method and mobile terminal
CN108363528B (en) Application page starting method and device, storage medium and electronic equipment
CN108287918B (en) Music playing method and device based on application page, storage medium and electronic equipment
US8788269B2 (en) Satisfying specified intent(s) based on multimodal request(s)
CN108549568B (en) Application entry processing method and device, storage medium and electronic equipment
CN107610698A (en) A kind of method for realizing Voice command, robot and computer-readable recording medium
US20050004800A1 (en) Combining use of a stepwise markup language and an object oriented development tool
CN104808983A (en) Application program push method and server
CN107391017B (en) Word processing method, device, mobile terminal and storage medium
CN107615270A (en) A kind of man-machine interaction method and its device
US11163377B2 (en) Remote generation of executable code for a client application based on natural language commands captured at a client device
CN111580905A (en) Negative one-screen card management method, terminal and computer readable storage medium
KR101160543B1 (en) Method for providing user interface using key word and terminal
CN106228047B (en) A kind of application icon processing method and terminal device
US20190304455A1 (en) Electronic device for processing user voice
CN112578967B (en) Chart information reading method and mobile terminal
CN113163031B (en) Method and device for forming component of electronic device, storage medium and electronic device
CN111258676B (en) Module preloading method, device, equipment and readable storage medium
CN112578965A (en) Processing method and device and electronic equipment
CN110888706A (en) Interface content display method and device and storage medium
CN111045641A (en) Electronic terminal and voice recognition method
CN111128142A (en) Method and device for making call by intelligent sound box and intelligent sound box
CN108733814B (en) Search engine preloading method and device, storage medium and terminal
CN111352360A (en) Robot control method, robot control device, robot, and computer storage medium
US20220309253A1 (en) Method for providing remote service capable of multilingual input and server performing the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant