WO2019117590A1 - Procédé et dispositif de génération d'algorithmes - Google Patents

Procédé et dispositif de génération d'algorithmes Download PDF

Info

Publication number
WO2019117590A1
WO2019117590A1 PCT/KR2018/015689 KR2018015689W WO2019117590A1 WO 2019117590 A1 WO2019117590 A1 WO 2019117590A1 KR 2018015689 W KR2018015689 W KR 2018015689W WO 2019117590 A1 WO2019117590 A1 WO 2019117590A1
Authority
WO
WIPO (PCT)
Prior art keywords
block
execution
event
identifier
source code
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.)
Ceased
Application number
PCT/KR2018/015689
Other languages
English (en)
Korean (ko)
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.)
Individual
Original Assignee
Individual
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
Priority claimed from KR1020170169381A external-priority patent/KR102107283B1/ko
Priority claimed from KR1020170169382A external-priority patent/KR102107284B1/ko
Application filed by Individual filed Critical Individual
Publication of WO2019117590A1 publication Critical patent/WO2019117590A1/fr
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B19/00Teaching not covered by other main groups of this subclass

Definitions

  • the present invention relates to a method of generating an algorithm and an apparatus thereof. More specifically, an algorithm created by a command block inserted in an operation body is generated as a source code of a programming language so that a user can confirm a source code of an algorithm created by the user, The present invention relates to a method and an apparatus for generating an algorithm in which an algorithm generated by a command block inserted in an operation body is written in a programming language selected by a user among various programming languages so that a user can learn various types of programming languages.
  • the training of algorithms is a process of learning a kind of logical language and a process of knowing what to pick up and link. Therefore, we need to understand the basic concepts of these logical languages (eg how a loop works, how to make judgments, how to do calculations, how to get information that the computer gives us, ), And to feel the creative experience and the sense of accomplishment of what the user has created.
  • Algorithm generation devices not only generate algorithms, but also drive toys with algorithms that are created in conjunction with toys, making children more fun and interesting.
  • An object of the present invention is to provide a method and apparatus for generating an algorithm created by a command block inserted in a main body of an algorithm generating apparatus into a source code of a programming language, To provide an algorithm generation method capable of assisting software education.
  • a method for generating an algorithm comprising: receiving an identifier of an embedded command block in an operation body; generating a source code by a combination of statements corresponding to the command block identifier; To the user.
  • the instruction block is an event block inserted into the event area of the operation body and an execution block inserted into the execution area of the operation body.
  • the step of generating the source code according to the present invention includes the steps of recognizing an event block inserted in an event area of an operation body and an execution block inserted in an execution area of the operation body, Selecting a statement corresponding to an instruction identifier of an event block or an instruction identifier of an execution block by comparing the instruction identifier of the block or the instruction identifier of the execution block with the instruction identifier registered in the storage unit; And generating the source code from a combination of the statement of the event block and the statement of the execution block based on the sequential insertion position or insertion order of the execution block inserted into the execution region of the execution block.
  • the algorithm generation method further includes receiving a user command for selecting a programming language, the method comprising: receiving a command corresponding to a programming language selected by a user command among different programming languages mapped to the command identifier And the source code is generated in combination.
  • the method for generating an algorithm according to the present invention is characterized in that a source code is generated by a combination of randomly selected statements among a plurality of statements represented by the same programming language corresponding to an instruction identifier of an event block or an instruction identifier of an execution block.
  • a command corresponding to the command identifier of the event block or the command identifier of the execution block is received from the server, and based on the sequential insertion position or insertion order of the execution blocks inserted in the execution region of the operation body assigned to the event block, And the source code is generated from the combination of the statements of one event block and the statements of the execution block.
  • a source code is generated by a combination of an instruction block having an algorithm generating device instruction identifier according to an embodiment of the present invention, a combination of instruction blocks inserted into an insertion groove in which an insertion groove into which an instruction block is inserted, To a user terminal.
  • the main body according to the present invention includes a housing in which an insertion groove into which an instruction block is inserted, a storage unit storing instructions corresponding to the instruction identifier and the instruction identifier of the instruction block, A search unit for searching the storage unit for a statement corresponding to the acquired command identifier; and a search unit for searching for a command inserted in the insertion groove based on the position of the insertion groove inserted in the command block or the order of the insertion groove, And a source code generator for generating a source code corresponding to a combination of command blocks inserted from each statement corresponding to the command block.
  • the command block includes an event block for inputting a conditional statement command and an execution block for inputting an execution statement command.
  • an event area having an event insertion slot for inserting an event block and an execution insertion slot for inserting the execution block And an execution region formed therein.
  • the main body according to the present invention further comprises a user interface unit for inputting a user command, and the storage unit stores a statement expressed in a different programming language mapped to the same command identifier, And searching for a statement corresponding to the selected programming language according to the language selection command input through the user interface unit among the different programming languages.
  • the source code generation unit distinguishes and recognizes an event block inserted in an event insertion slot and an execution insertion slot allocated to an event insertion slot, and assigns a statement corresponding to an event block inserted in the event insertion slot to an event insertion slot And the source code is generated from a combination of statements corresponding to an execution block inserted in the execution insertion groove.
  • the source code generator generates a source code corresponding to an event block and an execution block corresponding to the event block based on the sequential insertion order of the event block inserted into the event insertion groove and the execution block inserted into the execution insertion groove allocated to the event insertion groove
  • the execution blocks are arranged in a sequential insertion order of the execution blocks to generate the source code.
  • the storage unit stores a plurality of statements expressed by the same programming language corresponding to an instruction identifier of an event block or an instruction identifier of an execution block.
  • the instruction identifiers of the event blocks retrieved by the retrieval unit,
  • a random selection unit for randomly selecting one statement among a plurality of statements corresponding to the instruction identifier and expressed in the same programming language stored in the storage unit, wherein the random selection unit provides the selected statement to the source code generation unit Do.
  • the method and apparatus for generating an algorithm according to the present invention have the following effects.
  • an algorithm generation method generates an algorithm created by a command block inserted in a main body of an algorithm generation device as a source code of a programming language and outputs the generated algorithm to a user so that the user can write an algorithm, And can help with software training.
  • the algorithm created by the command block inserted in the main body of the algorithm generation apparatus is written in a programming language selected by the user among various programming languages and outputted to the user, To the user.
  • the algorithm generation method generates source codes with randomly selected statements among a plurality of statements written in the same programming language corresponding to the instruction block, You can train your language.
  • FIG. 1 is a diagram for explaining an algorithm generation system according to the present invention.
  • FIG. 2 is a perspective view for explaining an operation body according to the present invention.
  • FIG 3 is a view for explaining an example of a toy and a command block used in the toy according to the present invention.
  • FIG. 4 is a functional block diagram for explaining the function of an operation body according to an example embodiment of the present invention for generating a source code in an operation body.
  • FIG. 5 is a functional block diagram for explaining an example of a source code generation unit according to the present invention shown in FIG.
  • FIG. 6 is a functional block diagram illustrating a server according to another embodiment of the present invention for generating source code in a server.
  • FIG. 7 is a functional block diagram for explaining an example of the source code generator shown in FIG. 6.
  • FIG. 7 is a functional block diagram for explaining an example of the source code generator shown in FIG. 6.
  • FIG. 8 is a functional block diagram illustrating a server according to another embodiment of the present invention.
  • FIG. 9 is a functional block diagram for explaining a user terminal that generates source code based on a statement received from a server.
  • FIG. 10 is a diagram for explaining a step of generating a source code according to an embodiment of the present invention.
  • FIG. 11 is a diagram for explaining a step of generating a source code according to another embodiment of the present invention.
  • FIG. 12 is a flowchart for explaining a method for selecting a programming language and generating a source code according to the present invention.
  • FIG. 13 shows an example of a statement differently expressed in the same programming language as the instruction block identifier.
  • Fig. 14 shows an example of source code expressed in a programming language different from C and C ++.
  • FIG. 1 is a diagram for explaining an algorithm generation system according to the present invention.
  • the algorithm generating system includes an operation body 10 for creating an algorithm using an instruction block, information on an insertion position or insertion order of the instruction block identifier and the instruction block from the operation body 10 And a server 70 for storing a statement of a programming language corresponding to the instruction block.
  • the user terminal 30 and the server 70 are connected to each other via a wired or wireless network 50 capable of transmitting and receiving data, and the operation body 10 and the user terminal 30 are connected to each other via a short- And is connected via wireless communication or wired communication.
  • the operation body 10 is used for creating an algorithm by combining instruction blocks, for example, an event block, an execution block, and the like, in an insertion groove formed in the operation body 10, in combination of instruction blocks.
  • the operation body 10 is divided into an event area in which an event insertion groove for inserting an event block in the instruction block is formed and an execution area in which an execution insertion groove in which the execution block is inserted is formed
  • the event block and execution block are used in combination to create an algorithm.
  • the plurality of execution insertion grooves are allocated to one event insertion groove, and the execution blocks inserted in the execution insertion groove assigned to the event insertion groove are combined with the event blocks inserted in the event insertion groove to create an algorithm Is used.
  • the execution region of the first column is allocated to the first event insertion groove of the event region
  • the execution region of the second column is allocated to the second event insertion groove of the event region.
  • the event insertion groove and the execution insertion groove have different shapes, and the event block inserted into the event insertion groove and the execution block inserted into the execution insertion groove are manufactured to correspond to the shape of the event insertion groove or the shape of the execution insertion groove Children can also easily create an algorithm by distinguishing between event and execution blocks.
  • the source code of the algorithm created from the event block inserted in the operation body 10 or the instruction block of the execution block can be generated in the operation body and provided to the user terminal 30.
  • an event block inserted in an event area of an operation body and an execution block inserted in an execution area of an operation body allocated to the event block are discriminated and recognized, and an instruction identifier of the event block or an instruction identifier
  • a command identifier of an event block or an instruction identifier of an execution block is searched for by comparing the command identifier registered in the main body storage unit with the command identifier registered in the body storage unit,
  • the source code is generated from the combination of the statement of the event block and the statement of the execution block based on the position or insertion order.
  • the source code of the algorithm created from the event block inserted into the operation body 10 or the instruction block of the execution block is generated by receiving the command block identifier from the server 70 and generating the generated source code to the user terminal 30).
  • the identifier of the insertion block inserted with the event block or execution block inserted into the operation body 10 the event block or the execution block is transmitted from the operation body 10 to the server 70 or the user terminal 30 Lt; / RTI >
  • the server 70 compares the event block identifier or the execution block identifier with the registered command block identifier, and searches the storage unit of the server 70 for a statement corresponding to the event block identifier or the execution block identifier, Directly generates the source code in the programming language selected by the user using the retrieved statement, and transmits the retrieved instruction to the user terminal or transmits the retrieved instruction to the user terminal 50. That is, the server 70 generates a source code using the retrieved statement and transmits
  • FIG. 2 is a perspective view for explaining an operation body according to the present invention.
  • variable area V is formed on the upper end of the housing 101 of the operation body, and an event area E having the event block mounting part 103 at the lower end of the variable area V And an execution area A having an execution block mounting part 105 is formed at the lower end of the event area E.
  • the variable area V is composed of a plurality of LEDs which are turned on / off to indicate conditions.
  • UI user interface
  • the event area E includes a plurality of event block mounting parts 103 and each event block mounting part 103 is formed with an event insertion groove into which an event block 210 can be inserted.
  • the execution region A has a plurality of execution block mounting portions 105 and each execution block mounting portion 105 is formed with an execution insertion groove into which the execution block 230 can be inserted.
  • a plurality of execution blocks are dependent on one event block, and an algorithm is generated by combining one event block and at least one execution block. Accordingly, a plurality of execution insertion grooves are allocated to one event insertion groove, and execution blocks inserted in the execution insertion groove allocated to the event insertion groove are used to create an algorithm by combining with the event blocks inserted in the event insertion groove. For example, the first event block A of the event area E is allocated to the first event block A and the second event block E of the second event block is allocated to the second event block E of the event area. therefore
  • the event insertion groove and the execution insertion groove have different shapes, and the event block inserted into the event insertion groove and the execution block inserted into the execution insertion groove are manufactured to correspond to the shape of the event insertion groove or the shape of the execution insertion groove Children can also easily create an algorithm by distinguishing between event and execution blocks.
  • the user installs the event block 210 in the event block mounting unit 103 or mounts the execution block 230 in the execution block mounting unit 105 or creates an algorithm by inputting the condition using the LED in the variable area.
  • FIG 3 is a view for explaining an example of a toy and a command block used in the toy according to the present invention.
  • an instruction block corresponding to the toy 20 includes event blocks 211, 212, 213, 214, 215, ... and execution blocks 231, 232, 233, 234, 235, ).
  • the toys may have an event block and an execution block for performing different actions and functions, and the user may purchase an event block or an execution block with or without the toy.
  • the event block is used to input a conditional command for driving the toys
  • the execution block can be used to input an execution command for driving the toys when the conditional command is mapped to the corresponding event block.
  • an automobile toy has an event block for entering conditional commands such as "if there is sound”, “when light is detected” and “go forward”, “move backward”, “turn left” "Is used.
  • the user can purchase various accessories used in car toys and an additional execution block for driving the accessories. For example, when purchasing a magnetically attached headlight to a car toy, an execution block for driving the headlight .
  • FIG. 4 is a functional block diagram for explaining the function of an operation body according to an example embodiment of the present invention for generating a source code in an operation body.
  • the obtaining unit 110 obtains an identifier of an event block or an execution block inserted in the instruction block insertion groove.
  • the acquiring unit 110 includes a connection pin formed in an event insertion groove or an execution insertion groove and acquires an event block identifier from an event block through a connection terminal of an event block electrically connected to the connection pin, The execution block identifier can be obtained from the execution block through the connection terminal of the execution block electrically connected to the execution block.
  • Another example of the acquiring unit 110 includes an NFC reader disposed in an instruction block insertion groove and acquiring an event block identifier of an event block from an NFC chip provided in an event block through an NFC reader, The execution block identifier of the execution block.
  • the acquiring unit 110 provides information on the identifier of the event block inserted in the event insertion slot and the identifier of the event insertion slot into which the event block is inserted to the search unit 130 or the identifier of the execution block inserted in the execution insertion slot And provides the search unit 130 with information on the identifier of the execution insertion home where the execution block is inserted.
  • the search unit 130 compares the event block identifier or the execution block identifier with the command block identifier stored in the storage unit 140, searches for a stored conditional statement mapped to the command block identifier corresponding to the event block identifier, And searches for the stored execution command mapped to the corresponding command block identifier.
  • the search unit 130 provides the retrieved conditional statement or execution statement to the source code generation unit 190.
  • the search unit 130 updates the non- (150).
  • the update unit 150 accesses the server through the communication unit 160 and receives a command corresponding to the command block identifier not retrieved from the server, and provides the command to the search unit 130.
  • the search unit 130 provides a command corresponding to the received command block identifier to the source code generation unit 190 and updates and registers the received command block identifier and the corresponding command in the storage unit 140.
  • the storage unit 140 may store a plurality of statements written in different programming languages mapped to the command block identifiers.
  • the search unit 130 may be a programming language input from the user interface unit 180, Searches a statement written in the selected programming language among the statements corresponding to the event block identifier according to the selection command or searches for a statement written in the selected programming language among the statements corresponding to the execution block identifier and searches the statement for the retrieved instruction to the source code generation unit 190 .
  • a statement corresponding to an event block identifier or an execution block identifier is written in various kinds of programming languages such as C, C ++, BASIC, Fortran, etc. and stored in a server storage unit.
  • the user generates a combination of an event block and an execution block You can select the programming language of the source code and check the source code generated by the selected programming language.
  • the storage unit 140 may store a plurality of statements, which are mapped to the same command block identifier and expressed in different ways in the same programming language, When a plurality of statements expressed in the same programming language mapped to the command block identifier are searched, one of the plurality of statements may be randomly selected and the selected statement may be provided to the source code generating unit 190 .
  • the random selection unit 170 can randomly select one statement among the plurality of statements that have not been previously selected based on the selection history.
  • conditional statements or execution statements can be created differently according to the propensity and skill of the program creator.
  • the user can be trained in the source code in various expressions.
  • the source code generator 190 generates a source code of a programming language for an algorithm created by combining an event block and an execution block from a combination of a condition statement of an event block and execution statements corresponding to execution blocks allocated to the event block do.
  • FIG. 5 is a functional block diagram for explaining an example of a source code generation unit according to the present invention shown in FIG.
  • the combination recognizing unit 191 inserts an event insertion key into the event insertion slot based on the event insertion home identifier of the event block inserted into the operation body or the execution insertion home identifier of the execution block inserted into the operation body And recognizes combinations of execution blocks assigned to the event blocks.
  • the sequence determining unit 193 determines the insertion position of an execution block sequentially inserted into the insertion groove based on the execution insertion home identifier and the execution block identifier in the combination of the event block and a plurality of execution blocks allocated to the event block, .
  • the code generation unit 195 generates a source code by sequentially listing the statements corresponding to the event block and the statements of the execution block in the sequential insertion order of the execution blocks in the combination of the event block and the plurality of execution blocks allocated to the event block do.
  • the source code is generated by a combination of a conditional statement corresponding to an event block and an execution statement corresponding to the execution block.
  • the insertion position or insertion order of the execution block allocated to the event block is referred to as an event insertion home identifier or an execution insertion home identifier
  • the source code is generated by sequentially listing the condition statement and the execution statement in the insertion position or the insertion order of the execution block judged based on the judgment.
  • the condition statement corresponding to the event block and the execution statement corresponding to the execution block are created and stored in the storage unit, and the combination of the event block and the execution block is determined. Then, according to the insertion sequence of the execution block, The source code is generated by sequentially listing the statements.
  • FIG. 6 is a functional block diagram illustrating a server according to another embodiment of the present invention for generating source code in a server.
  • a server according to an embodiment of the present invention illustrated in FIG. 6 generates a source code and provides the generated source code to a user terminal, which will be described in detail with reference to FIG.
  • the server communication unit 310 receives an event block identifier, an execution block identifier, an event insertion home identifier, an execution insertion home identifier, and the like from the user terminal. At the same time, the server communication unit 310 receives authentication information for authenticating the access right of the server from the user terminal.
  • connection authenticating unit 320 compares the received authentication information with the authentication information stored in the database 340 to determine whether the user or the operation body is authorized to access the server.
  • the connection authenticating unit 320 provides authentication completion information to the retrieving unit 330 when the access right of the server is authenticated.
  • the search unit 330 compares the event block identifier or the execution block identifier with the command block identifier registered in the storage unit 350, and stores the event block identifier or the instruction corresponding to the execution block identifier in the storage unit 350.
  • the search unit 330 may search for a language selection command among the statements written in various programming languages corresponding to the event block identifier or the execution block identifier stored in the storage unit 350 You can search for statements written in any programming language.
  • the storage unit 350 may be provided with a plurality of statements prepared in various presentation methods in the same programming language corresponding to the event block identifier or the execution block identifier.
  • the random selection unit 370 selects one of a plurality of retrieved statements And may select the previously unselected statements based on the previous selection history and provide the selected statements to the source code generation unit 390.
  • the source code generation unit 390 generates a source code having a combination of commands retrieved based on the retrieved instruction, the event insertion home identifier or the execution insertion home identifier, and transmits the generated source code to the user terminal .
  • FIG. 7 is a functional block diagram for explaining an example of the source code generator shown in FIG. 6.
  • FIG. 7 is a functional block diagram for explaining an example of the source code generator shown in FIG. 6.
  • the combination recognition unit 391 determines a combination of execution blocks allocated to an event block inserted in the event insertion slot based on the event insertion home identifier or the execution insertion home identifier received from the user terminal .
  • the sequence determining unit 393 determines the insertion position of the execution block sequentially inserted into the insertion groove based on the execution insertion home identifier and the execution block identifier in the combination of the event block and a plurality of execution blocks allocated to the event block, .
  • the code generation unit 395 sequentially generates the statements of the statements corresponding to the event blocks and the statements of the execution blocks in the sequential insertion order of the execution blocks in the combination of the event block and the plurality of execution blocks allocated to the event block do.
  • FIG. 8 is a functional block diagram illustrating a server according to another embodiment of the present invention.
  • a server according to another embodiment of the present invention illustrated in FIG. 8 searches for a statement corresponding to an instruction block identifier and provides a retrieved statement to a user terminal, which will be described in detail with reference to FIG.
  • the server communication unit 410 receives an event block identifier and an execution block identifier from the user terminal. At the same time, the server communication unit 410 receives authentication information for authenticating the access right of the server from the user terminal.
  • connection authentication unit 430 compares the received authentication information with the authentication information stored in the database 440 to determine whether the user or the operation body is authorized to access the server.
  • the connection authenticating unit 430 provides authentication completion information to the retrieving unit 450 when the access right of the server is authenticated.
  • the search unit 450 compares the event block identifier or the execution block identifier with the command block identifier registered in the storage unit 470, and stores the event block identifier or the instruction corresponding to the execution block identifier in the storage unit 470, And transmits the retrieved command to the user terminal through the server communication unit 410.
  • the retrieval unit 450 may correspond to the language selection command among the statements written in various programming languages corresponding to the event block identifier or the execution block identifier stored in the storage unit 470 You can search for statements written in any programming language.
  • the random selection unit 490 may select one of a plurality of retrieved statements from among a plurality of retrieved statements. For example, the random selection unit 490 may retrieve a plurality of statements in the same programming language corresponding to the event block identifier or the execution block identifier, And may transmit the selected command to the user terminal through the server communication unit 410. The selected command may be selected based on the previous selection history.
  • FIG. 9 is a functional block diagram for explaining a user terminal that generates source code based on a statement received from a server.
  • the terminal communication unit 510 receives information such as an event block identifier, an execution block identifier, an event insertion home identifier, and an execution insertion home identifier from an operation body.
  • a user command for selecting a programming language through the user interface unit 550 and a user command for authenticating a server access right are input to the generation control unit 530.
  • the generation control unit 530 transmits the access right authentication information to the server 500 through the terminal communication unit 510. [ And transmits the event block identifier or the execution block identifier together with the language selection information to the server.
  • the generation control unit 530 When receiving a statement corresponding to an event block identifier or an execution block identifier, the generation control unit 530 generates a combination of an event block determined from the event insertion home identifier or the execution insertion home identifier and a combination of a plurality of execution blocks allocated to the event block And provides the insertion order information of the execution block to the source code generation unit 570 together with the statements.
  • the source code generation unit 570 sequentially arranges the statements of the statements corresponding to the event blocks and the statements of the execution blocks in the sequential insertion order of the execution blocks in the combination of the event block and the plurality of execution blocks allocated to the event block, And provides the generated source code to the output unit 590.
  • the output unit 590 can be used as a means for outputting the source code, for example, a display unit. The user can confirm the programming language corresponding to the algorithm created using the operation body and the instruction block through the output unit 590.
  • FIG. 10 is a diagram for explaining a step of generating a source code according to an embodiment of the present invention.
  • an event insertion home identifier or an execution insertion home identifier when receiving an event insertion home identifier or an execution insertion home identifier together with an event block identifier or an execution block identifier inserted in a body, an event insertion home identifier or an execution insertion home identifier is generated based on an event insertion home identifier and an execution insertion home identifier At least one execution block that is dependent on the block is recognized (S151).
  • a source code of a programming language is generated from a combination of statements corresponding to a combination of the event block and the execution block (S153).
  • the source code is generated by a combination of a conditional statement corresponding to an event block and an execution statement corresponding to the execution block.
  • the insertion position or insertion order of the execution block allocated to the event block is based on the event insertion home identifier or the execution insertion home identifier
  • the condition statement corresponding to the event block and the execution statement corresponding to the execution block are created and stored in the storage unit, and the combination of the event block and the execution block is determined. Then, according to the insertion sequence of the execution block, The source code is generated by sequentially listing the statements.
  • the generated source code is output to the user (S154), and is output to the display unit so that the user can confirm the source code of the programming language corresponding to the algorithm created by the user.
  • FIG. 11 is a diagram for explaining a step of generating a source code according to another embodiment of the present invention.
  • FIG. 11 is a diagram for explaining another embodiment for generating source code in a user terminal on the basis of a statement provided by a server. Referring to FIG. 11, if a statement corresponding to an event block identifier or an execution block identifier is received from a server If it is received (S155), it recognizes at least one execution block allocated to the event block based on the event insertion home identifier or the execution insertion home identifier received together with the event block identifier or the execution block identifier from the operation body (S156 ).
  • a source code of the programming language is generated from a combination of statements corresponding to a combination of the event block and the execution block (S157).
  • the source code is generated by a combination of a conditional statement corresponding to an event block and an execution statement corresponding to the execution block.
  • the insertion position or insertion order of the execution block allocated to the event block is based on the event insertion home identifier or the execution insertion home identifier And generates the source code by sequentially listing the condition statements and the execution statements in the insertion position or the insertion order of the determined execution block.
  • the generated source code is output to the display unit so that the user can confirm the source code of the programming language corresponding to the algorithm created by the user (S158).
  • FIG. 12 is a flowchart for explaining a method for selecting a programming language and generating a source code according to the present invention.
  • a statement corresponding to an event block identifier or an execution block identifier may be written in various kinds of programming languages such as C, C ++, BASIC, Fortran, etc. and stored in a storage unit of a main body or a server
  • the user can select the programming language of the source code generated from the combination of the event block and the execution block, and confirm the source code generated by the selected programming language. Accordingly, the method of generating source code according to the present invention can educate users of various kinds of programming languages.
  • operation S210 it is determined whether a user command for selecting a programming language is input through a main body or a user terminal.
  • a statement written in a programming language corresponding to the inputted user command is searched among the statements corresponding to the event block identifier or the execution block identifier (S230).
  • a plurality of statements expressed in various ways using the same programming language may be mapped and registered in one event block or one execution block in the storage unit.
  • an event block identifier or an execution block identifier if there are a plurality of statements, one of the plurality of statements is selected and the source code is generated using the selected statement in operation S270.
  • one statement may be selected at random or a previously unselected statement may be selected based on the selection history.
  • conditional statements or execution statements can be created differently according to the propensity and skill of the program creator.
  • the user can be trained to write the source code in various expressions.
  • Fig. 13 shows an example of a statement differently expressed in the same programming language as the instruction block identifier
  • Fig. 14 shows an example of source code expressed in a programming language different from C and C ++.
  • the computer-readable recording medium may be a magnetic storage medium (e.g., ROM, floppy disk, hard disk, etc.), an optical reading medium (e.g. CD ROM, Lt; / RTI > transmission).
  • a magnetic storage medium e.g., ROM, floppy disk, hard disk, etc.
  • an optical reading medium e.g. CD ROM, Lt; / RTI > transmission.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Stored Programmes (AREA)

Abstract

La présente invention concerne un procédé de génération d'algorithmes et un dispositif associé et, plus spécifiquement, un procédé de génération d'algorithmes et un dispositif associé, le procédé: générant, en tant que code source dans un langage de programmation, un algorithme créé par un bloc de consigne inséré dans un corps d'opérations de telle façon qu'un utilisateur puisse vérifier le code source d'un algorithme créé par l'utilisateur; et créant un code source dans un langage de programmation, sélectionné par l'utilisateur, parmi divers langages de programmation pour l'algorithme créé par le bloc de consigne inséré dans le corps d'opérations, de telle façon que l'utilisateur puisse apprendre divers types de langages de programmation.
PCT/KR2018/015689 2017-12-11 2018-12-11 Procédé et dispositif de génération d'algorithmes Ceased WO2019117590A1 (fr)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR10-2017-0169381 2017-12-11
KR1020170169381A KR102107283B1 (ko) 2017-12-11 2017-12-11 알고리즘 생성 장치
KR1020170169382A KR102107284B1 (ko) 2017-12-11 2017-12-11 알고리즘 생성 방법
KR10-2017-0169382 2017-12-11

Publications (1)

Publication Number Publication Date
WO2019117590A1 true WO2019117590A1 (fr) 2019-06-20

Family

ID=66819716

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2018/015689 Ceased WO2019117590A1 (fr) 2017-12-11 2018-12-11 Procédé et dispositif de génération d'algorithmes

Country Status (1)

Country Link
WO (1) WO2019117590A1 (fr)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100426035B1 (ko) * 2001-08-01 2004-04-03 주식회사 마이크로로보트 마이크로로봇 제어프로그램 교육 시스템
KR20110094804A (ko) * 2010-02-18 2011-08-24 국방과학연구소 소프트웨어 재사용을 지원하기 위한 시맨틱 태깅 서버와 그 방법
KR101546927B1 (ko) * 2014-05-07 2015-08-25 김진욱 블록을 이용한 알고리즘 교육 장치
KR20160107040A (ko) * 2015-03-03 2016-09-13 (주)나오디지탈 로직 큐브를 이용한 코드 생성 방법 및 장치
KR20160125087A (ko) * 2015-04-21 2016-10-31 한국과학기술연구원 조립유닛 및 이를 포함하는 조립완구

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100426035B1 (ko) * 2001-08-01 2004-04-03 주식회사 마이크로로보트 마이크로로봇 제어프로그램 교육 시스템
KR20110094804A (ko) * 2010-02-18 2011-08-24 국방과학연구소 소프트웨어 재사용을 지원하기 위한 시맨틱 태깅 서버와 그 방법
KR101546927B1 (ko) * 2014-05-07 2015-08-25 김진욱 블록을 이용한 알고리즘 교육 장치
KR20160107040A (ko) * 2015-03-03 2016-09-13 (주)나오디지탈 로직 큐브를 이용한 코드 생성 방법 및 장치
KR20160125087A (ko) * 2015-04-21 2016-10-31 한국과학기술연구원 조립유닛 및 이를 포함하는 조립완구

Similar Documents

Publication Publication Date Title
WO2019143022A1 (fr) Procédé et dispositif électronique d'authentification d'utilisateur par commande vocale
WO2019125084A1 (fr) Systèmes et procédés d'authentification biométrique d'un utilisateur
WO2018212494A1 (fr) Procédé et dispositif d'identification d'objets
WO2015170873A1 (fr) Appareil d'enseignement d'algorithme à l'aide de blocs
WO2019050247A2 (fr) Procédé et dispositif d'apprentissage de réseau de neurones artificiels pour reconnaître une classe
KR100426035B1 (ko) 마이크로로봇 제어프로그램 교육 시스템
WO2012161440A2 (fr) Système et procédé permettant de faire fonctionner un robot de service intelligent
EP3915039A1 (fr) Système et procédé pour un réseau de mémoire attentive enrichi par contexte avec codage global et local pour la détection d'une rupture de dialogue
WO2015141889A1 (fr) Jouet comprenant des blocs
EP4537257A1 (fr) Procédé et dispositif électronique pour identifier une émotion dans un contenu vidéo
WO2023068691A1 (fr) Procédé de traitement de langage naturel via la réalisation d'une analyse sémantique au moyen d'informations syntaxiques, et appareil pour celui-ci
CN112634896B (zh) 智能终端上应用程序的运行方法和智能终端
WO2015126022A1 (fr) Procédé permettant de fournir une vidéo de montage de jeu
KR101502270B1 (ko) 교육용 보드 게임 제공 방법 및 장치
WO2019117590A1 (fr) Procédé et dispositif de génération d'algorithmes
WO2020130734A1 (fr) Dispositif électronique permettant la fourniture d'une réaction en fonction d'un état d'utilisateur et procédé de fonctionnement correspondant
WO2024136409A1 (fr) Procédé et système de partitionnement de la parole de locuteur
WO2019112334A1 (fr) Bloc d'identification de jouets et dispositif de génération d'algorithme ayant un bloc d'identification
WO2024071855A1 (fr) Procédé et système de fourniture de service de détection de macrobot
KR20190067035A (ko) 장난감 식별 블록을 구비한 알고리즘 생성 장치
KR102107284B1 (ko) 알고리즘 생성 방법
CN115048161A (zh) 应用的控制方法及其电子设备、装置和介质
WO2021107308A1 (fr) Dispositif électronique et son procédé de commande
WO2024071619A1 (fr) Dispositif électronique et procédé de recherche semi-automatique de vidéos de vidéosurveillance
KR102107283B1 (ko) 알고리즘 생성 장치

Legal Events

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

Ref document number: 18887535

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18887535

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 21/01/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18887535

Country of ref document: EP

Kind code of ref document: A1