WO2020071636A1 - Electronic device providing cloud service and operation method thereof - Google Patents

Electronic device providing cloud service and operation method thereof

Info

Publication number
WO2020071636A1
WO2020071636A1 PCT/KR2019/010572 KR2019010572W WO2020071636A1 WO 2020071636 A1 WO2020071636 A1 WO 2020071636A1 KR 2019010572 W KR2019010572 W KR 2019010572W WO 2020071636 A1 WO2020071636 A1 WO 2020071636A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
electronic device
code
processor
external electronic
Prior art date
Application number
PCT/KR2019/010572
Other languages
French (fr)
Korean (ko)
Inventor
현주호
손준성
이재현
Original Assignee
삼성전자 주식회사
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 KR1020180117766A external-priority patent/KR102666045B1/en
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Publication of WO2020071636A1 publication Critical patent/WO2020071636A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • Various embodiments relate to an electronic device providing a cloud service and a method of operating the same.
  • Cloud object storage is a service that is frequently used in cloud-based mobile services, and can implement uploading and downloading to the cloud by implementing large-scale data as objects.
  • Function-as-a-Service provides a service that enables developers to register a file in which a code set to perform a specified function in a server is stored in a cloud service and use it on a mobile device without worrying about server operation.
  • Cloud object storage is a directory structure that provides users with an interface to provide convenience, but Function-as-a-Service can be unfamiliar to users, making it intuitive and intuitive to provide Function-as-a-Service. There is a need to provide an easy user interface.
  • an electronic device that provides a function-as-a-Service function in a cloud storage service, and provides a user interface that provides a file in which an code is set to perform a designated function in a cloud storage service in an object unit And a method of operation thereof.
  • An electronic device includes a memory, a wireless communication module, and a processor, wherein the processor has code set to perform a designated function on a file that satisfies a specified condition through the wireless communication module.
  • Receiving a stored file from a first external electronic device receiving a first file from the first external electronic device or a second external electronic device through the wireless communication module, storing the first file in the memory , From at least one of the first file or at least one of the files stored in the memory, may be set to identify a file to perform the designated function, and to perform the specified operation on the identified file based on the code have.
  • An electronic device includes a display, a memory, a wireless communication module, and a processor in which a file in which a code set to perform a specified function is performed for a file that satisfies a specified condition, wherein the processor includes Through the wireless communication module, the file is transmitted to the external electronic device, and according to a user input input through the display, a first file is transmitted to the external electronic device through the wireless communication module, and the first A file on which the specified operation is performed may be received based on the code for the file.
  • An electronic device includes a display, a memory in which codes configured to perform an external electronic device to perform a designated function, a wireless communication module, and a processor, wherein the processor receives a first user account through the wireless communication module. Access to an external electronic device in which at least one file is stored, and at least one object representing each of at least one file pre-stored in association with the first user account, is displayed through the display, and the code is wireless. Through the communication module, it may be set to transmit to the external electronic device and display the additional object corresponding to the code through the display together with the at least one object.
  • a user can conveniently register and use code set to perform a designated function in a cloud storage service in an object unit by using an electronic device, in an intuitive and simple way, in a convenient way for a user Can provide surname.
  • FIG. 1 illustrates a network environment including an electronic device, according to various embodiments.
  • FIG. 2 is an exemplary block diagram illustrating a configuration of a server according to various embodiments.
  • FIG. 3 is an exemplary flow diagram for a configuration that allows a server to perform a specified operation based on code.
  • 4A is an exemplary flowchart of changing a designated condition of a file set to perform a designated function according to various embodiments.
  • 4B is an exemplary interface for changing a designated condition of a file set to perform a designated function according to various embodiments.
  • FIG. 5 is an exemplary diagram of a configuration that performs a designated function on a file that satisfies a specified condition based on a code according to various embodiments.
  • 6 is an exemplary code that satisfies a specified condition according to an embodiment.
  • FIG. 7 is an exemplary diagram of a configuration in which an electronic device according to an embodiment displays an object representing a code performing a designated function through a display.
  • FIGS. 8A and 8B are exemplary diagrams of an interface in which an electronic device according to an embodiment displays an object representing a code for performing a designated function through a display.
  • 9A and 9B are exemplary diagrams for a configuration in which an operation specified in a file is performed according to an embodiment.
  • the electronic device 101 communicates with the electronic device 102 through the first network 198 (eg, a short-range wireless communication network), or the second network 199 It may communicate with the electronic device 104 or the server 108 through (eg, a remote wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108.
  • the first network 198 eg, a short-range wireless communication network
  • the second network 199 It may communicate with the electronic device 104 or the server 108 through (eg, a remote wireless communication network).
  • the electronic device 101 may communicate with the electronic device 104 through the server 108.
  • the electronic device 101 includes a processor 120, a memory 130, an input device 150, an audio output device 155, a display device 160, an audio module 170, a sensor module ( 176), interface 177, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196, or antenna module 197 ).
  • the components for example, the display device 160 or the camera module 180
  • the sensor module 176 eg, a fingerprint sensor, an iris sensor, or an illuminance sensor
  • the display device 160 eg., a display
  • the sensor module 176 eg, a fingerprint sensor, an iris sensor, or an illuminance sensor
  • the processor 120 executes software (eg, the program 140) to execute at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can be controlled and can perform various data processing or operations. According to one embodiment, as at least part of data processing or computation, the processor 120 may receive instructions or data received from other components (eg, the sensor module 176 or the communication module 190) in the volatile memory 132. Loaded into, process instructions or data stored in volatile memory 132, and store result data in non-volatile memory 134.
  • software eg, the program 140
  • the processor 120 may receive instructions or data received from other components (eg, the sensor module 176 or the communication module 190) in the volatile memory 132. Loaded into, process instructions or data stored in volatile memory 132, and store result data in non-volatile memory 134.
  • the processor 120 may include a main processor 121 (eg, a central processing unit or an application processor), and an auxiliary processor 123 (eg, a graphics processing unit, an image signal processor) that can be operated independently or together. , Sensor hub processor, or communication processor). Additionally or alternatively, the coprocessor 123 may be set to use lower power than the main processor 121, or to be specialized for a designated function. The coprocessor 123 may be implemented separately from the main processor 121 or as part of it.
  • a main processor 121 eg, a central processing unit or an application processor
  • an auxiliary processor 123 eg, a graphics processing unit, an image signal processor
  • the coprocessor 123 may be set to use lower power than the main processor 121, or to be specialized for a designated function.
  • the coprocessor 123 may be implemented separately from the main processor 121 or as part of it.
  • the coprocessor 123 may replace, for example, the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 may be active (eg, execute an application) ) With the main processor 121 while in the state, at least one of the components of the electronic device 101 (for example, the display device 160, the sensor module 176, or the communication module 190) It can control at least some of the functions or states associated with.
  • the coprocessor 123 eg, image signal processor or communication processor
  • may be implemented as part of other functionally relevant components eg, camera module 180 or communication module 190). have.
  • the memory 130 may store various data used by at least one component of the electronic device 101 (eg, the processor 120 or the sensor module 176).
  • the data may include, for example, software (eg, the program 140) and input data or output data for commands related thereto.
  • the memory 130 may include a volatile memory 132 or a non-volatile memory 134.
  • the program 140 may be stored as software in the memory 130, and may include, for example, an operating system 142, middleware 144, or an application 146.
  • the input device 150 may receive commands or data to be used for components (eg, the processor 120) of the electronic device 101 from outside (eg, a user) of the electronic device 101.
  • the input device 150 may include, for example, a microphone, mouse, keyboard, or digital pen (eg, a stylus pen).
  • the audio output device 155 may output an audio signal to the outside of the electronic device 101.
  • the audio output device 155 may include, for example, a speaker or a receiver.
  • the speaker can be used for general purposes such as multimedia playback or recording playback, and the receiver can be used to receive an incoming call.
  • the receiver may be implemented separately from, or as part of, a speaker.
  • the display device 160 may visually provide information to the outside of the electronic device 101 (eg, a user).
  • the display device 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device.
  • the display device 160 may include a touch circuitry configured to sense a touch, or a sensor circuit (eg, a pressure sensor) configured to measure the strength of the force generated by the touch. have.
  • the audio module 170 may convert sound into an electrical signal, or vice versa. According to an embodiment, the audio module 170 acquires sound through the input device 150, or an external electronic device (eg, directly or wirelessly connected to the sound output device 155 or the electronic device 101) Sound may be output through the electronic device 102 (eg, speakers or headphones).
  • an external electronic device eg, directly or wirelessly connected to the sound output device 155 or the electronic device 101
  • Sound may be output through the electronic device 102 (eg, speakers or headphones).
  • the sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state can do.
  • the sensor module 176 includes, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biological sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.
  • the interface 177 may support one or more designated protocols that can be used for the electronic device 101 to be directly or wirelessly connected to an external electronic device (eg, the electronic device 102).
  • the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
  • HDMI high definition multimedia interface
  • USB universal serial bus
  • SD card interface Secure Digital Card interface
  • audio interface audio interface
  • connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102).
  • the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
  • the haptic module 179 may convert electrical signals into mechanical stimuli (eg, vibration or movement) or electrical stimuli that the user can perceive through tactile or motor sensations.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 may capture still images and videos. According to one embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 may manage power supplied to the electronic device 101.
  • the power management module 388 may be implemented, for example, as at least a part of a power management integrated circuit (PMIC).
  • PMIC power management integrated circuit
  • the battery 189 may supply power to at least one component of the electronic device 101.
  • the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
  • the communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishing and performing communication through the established communication channel.
  • the communication module 190 operates independently of the processor 120 (eg, an application processor), and may include one or more communication processors supporting direct (eg, wired) communication or wireless communication.
  • the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg : Local area network (LAN) communication module, or power line communication module.
  • a wireless communication module 192 eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module
  • GNSS global navigation satellite system
  • LAN Local area network
  • Corresponding communication module among these communication modules includes a first network 198 (for example, a short-range communication network such as Bluetooth, WiFi direct, or infrared data association (IrDA)) or a second network 199 (for example, a cellular network, the Internet, or It may communicate with external electronic devices through a computer network (eg, a telecommunication network such as a LAN or WAN).
  • a computer network eg, a telecommunication network such as
  • the wireless communication module 192 uses a subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199.
  • IMSI International Mobile Subscriber Identifier
  • the antenna module 197 may transmit a signal or power to the outside (eg, an external electronic device) or receive it from the outside.
  • the antenna module may include a single antenna including a conductor formed on a substrate (eg, a PCB) or a radiator made of a conductive pattern.
  • the antenna module 197 may include a plurality of antennas. In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network 198 or the second network 199, is transmitted from the plurality of antennas by, for example, the communication module 190. Can be selected.
  • the signal or power may be transmitted or received between the communication module 190 and an external electronic device through the at least one selected antenna.
  • other components eg, RFIC
  • other than the radiator may be additionally formed as part of the antenna module 197.
  • peripheral devices for example, a bus, a general purpose input and output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)
  • GPIO general purpose input and output
  • SPI serial peripheral interface
  • MIPI mobile industry processor interface
  • commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199.
  • Each of the electronic devices 102 and 104 may be the same or a different type of device from the electronic device 101.
  • all or some of the operations performed on the electronic device 101 may be performed on one or more external devices of the external electronic devices 102, 104, or 108.
  • the electronic device 101 when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 instead executes the function or service itself.
  • one or more external electronic devices may be requested to perform at least a portion of the function or the service.
  • the one or more external electronic devices receiving the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and deliver the result of the execution to the electronic device 101.
  • the electronic device 101 may process the result, as it is or additionally, and provide it as at least part of a response to the request.
  • cloud computing distributed computing, or client-server computing technology This can be used.
  • FIG. 2 is an exemplary block diagram illustrating a configuration of a server according to various embodiments.
  • 3 is an exemplary flow diagram for a configuration that allows a server to perform a specified operation based on code.
  • the server 108 of FIG. 2 may include a memory 210, a wireless communication module 220, and a processor 230.
  • the memory 210 may store at least one file.
  • At least one file may be a file that satisfies a specified condition
  • the processor 230 may perform a specified function in at least one file by using code set to perform a specified function.
  • the processor 230 may perform a designated operation on at least one file based on a specified condition set by the code.
  • the code can be set to perform a specified operation only on files having a specified extension.
  • at least one designated file specified by the code may be an image file having an extension of jpg, png, etc., and the designated operation may be an operation of generating a thumbnail for at least one image file.
  • the processor 230 may generate a thumbnail for at least one image file by using a file in which codes set to generate thumbnails are stored using the image file.
  • the code may be code that generates a cartoonized image for a video file, or may be code set to perform image conversion using a designated filter. The description of the above code is illustrative only and is not a limitation of the present application.
  • the wireless communication module 220 may communicate with the electronic device 101 through the second network 199.
  • the wireless communication module 220 may use the subscriber information (eg, international mobile subscriber identifier (IMSI)) to identify and authenticate the electronic device 101 within a communication network such as the second network 199.
  • the processor 230 is driven to be connected to the memory 210 and the wireless communication module 220 to control the operation of the memory 210 and the wireless communication module 220.
  • the processor 230 of the server 108 stores, through the wireless communication module 220, a file in which the code set to perform a specified function with respect to a file that the processor 230 satisfies a specified condition is stored in the electronic device ( 101).
  • the processor 230 of the server 108 may check the syntax of the code stored in the file and compile the code.
  • the processor 230 may check whether the received file is a file having a designated extension (eg, js, py, pyc, pyo, go, etc.), and if the received file has a specified extension, it may be confirmed that the code is a stored file. .
  • the processor 230 may check in which language (eg, JAVA, Node.js, Python, GO, etc.), when a file in which a code is stored is received from the electronic device 101.
  • the processor 230 checks whether the language in which the code is written satisfies syntax, and compiles to determine whether the processor 230 can perform a designated function on a file that satisfies a specified condition using a file in which the code is stored. have.
  • the processor 230 of the server 108 may check whether syntax verification and code compilation are successful.
  • the processor 230 of the server 108 through the wireless communication module 220, may transmit information indicating the failure of at least one of syntax verification and code compilation to the electronic device 101.
  • the processor 230 may generate information indicating that at least one of syntax verification and code compilation has failed, and transmit the generated information to the electronic device 101.
  • the processor 230 of the electronic device 101 may modify the code based on the received information.
  • the processor 230 of the server 108 may receive the modified code from the electronic device 101 through the wireless communication module 220.
  • the user of the electronic device 101 can correct the code by checking the syntax and compiling the code based on the received information.
  • the processor 120 of the electronic device 101 may transmit a file in which the modified code is stored to the server 108 through the communication module 190.
  • the processor 230 of the server 108 may store the file in the memory 210 based on the syntax verification and the compilation result of the code.
  • the processor 230 may store a file in which the code is stored in the memory 210 when syntax verification and code compilation are successful.
  • the processor 230 of the server 108 may receive and store the first file from the electronic device 101 through the wireless communication module 220.
  • the processor 230 of the server 108 may identify a file to perform a designated function from at least one of the first file or at least one file stored in the memory.
  • the first file may be a file that satisfies a specified condition set so that the processor 230 performs a designated function based on the code.
  • the first file may be a file having a designated extension.
  • the first file may be an image file that causes the processor 230 to generate a thumbnail image based on code.
  • the first file may be a video file that allows the processor 230 to generate a cartoon image based on code.
  • the processor 230 may automatically perform the designated function based on the code as a trigger for receiving the first file that satisfies the specified condition.
  • the server 108 receives and stores the first file from the electronic device 101, but the server 108 receives the first file from another electronic device 104 that can access the user account of the electronic device 101. You can also receive The same can be applied to the drawings described below.
  • the processor 230 may identify a file to perform a designated function using a code, from at least one of the first file or at least one file stored in the memory 210.
  • the processor 230 may check whether at least one file satisfies the specified condition, not only for the received first file but also for at least one file previously stored in the memory 210 before receiving the first file.
  • the processor 230 of the server 108 may perform the designated operation based on the code on the identified file. For example, the processor 230 may generate a thumbnail image of the identified first file or at least one of the image files stored in the memory 210. Alternatively, the processor 230 may perform a designated function on the identified file that satisfies the specified condition, such as generating a cartoon image for the identified video file.
  • 4A is an exemplary flowchart of changing a designated condition of a file set to perform a designated function according to various embodiments.
  • 4B is an exemplary interface for changing a designated condition of a file set to perform a designated function according to various embodiments.
  • the processor of the server may receive, from the electronic device, a file in which a code set to perform a designated function with respect to a file that the processor satisfies a specified condition is stored through a wireless communication module.
  • the processor of the server checks the syntax of the code stored in the file and compiles the code.
  • the processor of the server may store the file in the memory based on the syntax verification and the compilation result of the code. The description of receiving the file in which the code is stored, checking the syntax and performing compilation, and saving the file are the same as those described in FIG. 3 and will be omitted.
  • the processor 230 of the server 108 may transmit information related to the list of at least one file including the file to the electronic device 101 through the wireless communication module 220.
  • the processor 120 of the electronic device 101 may display a list of at least one file including the file through the display 160.
  • the electronic device 101 may be provided with an interface for displaying an object representing a file in which the code is stored through the display 160. 8A and 8B will be described in detail for an interface in which an object representing a file in which a code is stored is displayed.
  • the processor 120 of the electronic device 101 may change the specified condition for the file in which the code set to perform the designated function is stored.
  • the code as shown in FIG. 3, when the first file is received from the electronic device 101 to the server 108, the processor 230 identifies the first file or at least one of the files stored in the memory 210 It can be set to perform a specified operation for.
  • the code may be one of at least one file stored in the first file or the memory 210 by the processor 230 when the first file is received and the file in which the code is stored is stored in a directory or a sub-directory thereof. It may be set to perform a specified operation on the identified file.
  • the code may be stored in a file stored in the URL 430 specified by the processor 230 based on an event in which a specific application accesses a URL 430 (Uniform Resource Locator) in which the file “sample.func” 420 in which the code is stored is stored. Can be set to perform a specified operation.
  • the code may be set to store a file generated by performing a designated operation in a path where a file in which the code is stored is stored or a randomly set path.
  • the code may set a range of user accounts that can access the file in which the code is stored.
  • whether or not the file where the code is stored can be set for all user accounts that can access the first user account of the server 108 through the input tab 440, or the code is only for a specific user account. Whether or not the stored file can be accessed can be set.
  • a user of the electronic device 101 can set a method for triggering the processor 230 to perform a designated function using code at the time of writing the code, and can be changed in other ways even after writing the code.
  • the processor 230 of the server 108 may receive information related to the change of the specified condition from the electronic device 101.
  • the processor 230 of the server 108 may store information related to the change of the specified condition in the memory 210.
  • the processor 230 of the server 108 may perform a designated function according to the changed designated condition based on information related to the change of the designated condition.
  • 5 is an exemplary diagram of a configuration that performs a designated function on a file that satisfies a specified condition based on a code according to various embodiments.
  • 6 is an exemplary code that satisfies a specified condition according to an embodiment.
  • a processor eg, the processor 120 of FIG. 1 of an electronic device (eg, the electronic device 101 of FIG. 1) is connected to the server 520 through a communication module (eg, the communication module 190).
  • a first object 511 or a second that satisfies a specified condition based on a code set by a processor of the server 108 of FIG. 1 (eg, the processor 230 of FIG. 2) to perform a designated function.
  • the object 513 may be transmitted to the server 520.
  • the first object 511 may be an object representing the first video file
  • the second object 513 may be an object representing the second video file.
  • the file storing the code may be stored in the memory 210 of the server 520 prior to transmission of the file corresponding to the first object 511 or the second object 513.
  • a part 510 of the code may include a first part 501 corresponding to the first object 511 and a second part 503 corresponding to the second object 513.
  • the code may be set to execute “convertVideo”, a file in which the code is stored, when a file corresponding to the first object 511 or the second object 513 is uploaded.
  • the code may be set to execute a designated function of "convertVideo” as a file (eg, a video file) having a designated extension is received.
  • the information of the file corresponding to the first object 511 is specified in the first portion 501 of the code
  • the information of the file corresponding to the second object 513 is specified in the second portion 503 of the code. can do.
  • the processor 230 may be set to perform a designated function of “convertVideo” when a file corresponding to the first object 511 or the second object 513 is received.
  • the information of the file corresponding to the object may include various information such as a file name and a path in which the file is stored.
  • the processor 230 of the server 520 receives a file corresponding to the first object 511 or the second object 513 from the electronic device 101 through the wireless communication module 220. Then, it can be confirmed whether the file corresponding to the first object 511 or the second object 513 satisfies the condition specified by the code.
  • the processor 230 is configured to receive the file corresponding to the first object 511 or the second object 513. Accordingly, it may be automatically triggered to perform the designated function 530 based on the code.
  • the processor 230 of the server 520 may perform an operation designated by the code on a file corresponding to the identified object.
  • the processor 230 may generate various functions specified by the code, such as generating a cartoon image 540, generating a thumbnail image, or performing an image conversion according to the designated function 530 for the identified object. Can be done.
  • the generation of thumbnail images or the conversion of images is exemplary and does not limit the scope of the present application.
  • FIG. 7 is an exemplary diagram of a configuration in which an electronic device according to an embodiment displays an object representing a code performing a designated function through a display.
  • 8A and 8B are exemplary diagrams of an interface in which an electronic device according to an embodiment displays an object representing a code for performing a designated function through a display.
  • the processor 120 of the electronic device is at least one through a wireless communication module (eg, the communication module 190 of FIG. 1) and a first user account. You can connect to the server where the files of are stored. The server can assign a user account for each user.
  • the processor 120 displays at least one object 803 representing each of at least one file pre-stored in association with the first user account through the display 800 (eg, the display device 160 of FIG. 1). Can be displayed. Referring to FIG. 8, the processor 120 may display at least one object 803 representing each of the at least one file in the first area 802 of the display 800 in the first area 802.
  • At least one file may be stored in the memory 210 of the server (eg, the server 108 of FIG. 1 or the server 520 of FIG. 5).
  • the server 108 configures a UI screen including an object 803 representing at least one file stored in association with a user's account, and transmits the configured UI screen to the electronic device 101. You can.
  • the electronic device 101 may display the screen of FIG. 8A based at least on the received UI screen.
  • the processor 120 may transmit a code to the server through the wireless communication module 190.
  • the processor 120 may receive a user input through the display 160 to transmit a file storing code to the server 108.
  • the user input may include, for example, a drag and drop operation from the object 801 representing the file in which the code is stored to the first area 802 including the at least one object 803.
  • the processor 120 may transmit a file in which the code is stored to the server 108.
  • the processor may display the additional object along with the at least one object through a display.
  • the processor 120 moves the object 801 representing the file in which the code is stored to the first area 802 according to user input, and displays the additional object 804 representing the file in which the code is stored through the display 800. Can be displayed.
  • the processor 120 displays an additional object 804 along with at least one object 803 representing at least one file that was stored in the memory 210 of the server 108 before transmission of the file in which the code is stored ( 800).
  • the processor 120 may display an object representing the generated file on the display.
  • the server 108 when receiving the file in which the code is stored, as described above, the server 108 responds to the additional object 804 representing the file and at least one object 803 representing the at least one previously stored file.
  • the UI screen composed of, it is possible to transmit the configured UI screen to the electronic device 101.
  • the electronic device 101 may display a screen on which the additional object 804 is reflected, based at least on the received UI screen.
  • 9A and 9B are exemplary diagrams for a configuration in which an operation specified in a file is performed according to an embodiment.
  • a processor eg, processor 120 of an electronic device (eg, the electronic device 101) is applied with the specified function to at least one of the at least one pre-stored file or a new upload file
  • An object representing the generated file can be displayed on the display.
  • the processor may perform filtering for the image file by performing a function specified by the code.
  • the server eg, the server 108 of FIG. 1
  • receives the image file of FIG. 9A it may perform filtering on the image file to perform the image file of FIG. 9B.
  • the processor 230 of the server 108 may transmit the filtered image file to the electronic device 101 through the wireless communication module 220.
  • the processor 120 of the electronic device 101 may display an object representing the image file of FIG. 9B on which the filtering is processed on the display.
  • An electronic device (eg, the server 108) according to various embodiments includes a memory (eg, the memory 210 of FIG. 2), a wireless communication module (the wireless communication module 220 of FIG. 2), and a processor (eg: The processor 230 of FIG. 2 includes a code set to perform a designated function on a file that satisfies a specified condition by the processor 230 through the wireless communication module 220.
  • the stored external file is received from the first external electronic device (for example, the electronic device 101 of FIG.
  • the first external electronic device 101 or the second external electronic device ( 104), receiving the first file, storing the first file in the memory 210, and at least one of the first file or at least one file stored in the memory 210, the specified function Check the file to be executed, and confirm the file with the code It can be set to perform the specified operation on the basis of.
  • the processor 230 checks the syntax of the code stored in the file, compiles the code, checks the syntax, and compiles the code It can be set to determine whether to save the file in the memory based on a result.
  • the processor 230 confirms the syntax and compiles the code
  • the processor 230 stores the file in the memory 210 and checks the syntax, or When at least one of the compilation of the code fails, information indicating the syntax and at least one failure during the compilation of the code is sent to the first external electronic device 101 or the second external electronic device 104. Can be set to send.
  • the processor 230 checks a path in which the file in which the code is stored is stored, and specifies the at least one of the at least one pre-stored file or a new upload file. The function may be set to store the generated file in a path where the code is stored. In the electronic device 108 according to an embodiment, the processor 230 determines whether the first file has a specified format, and when the first file is determined to have the specified format, the code It can be set to perform the specified operation based on the code for the identified file based on. In the electronic device 108 according to an embodiment, the processor 230 may, from the first external electronic device 101 or the second external electronic device 104 through the wireless communication module 220.
  • the processor 120 may include the file in which the first external electronic device 101 or the second external electronic device 104 is stored in the memory 210. To display the list of at least one file included through the display 160 of the first external electronic device 101 or the second external electronic device 104, information associated with the list including the file is displayed. It may be configured to transmit to the first external electronic device 101 or the second external electronic device 104.
  • the processor checks whether the file in which the code is stored has at least one designated extension, and when the file in which the code is stored has the at least one designated extension, the It may be set to perform the designated operation based on the code according to the reception of the first file.
  • An electronic device (eg, the electronic device 101 of FIG. 1) according to various embodiments includes a display (eg, the display device 160 of FIG. 1) and an external electronic device (eg, the server 108 of FIG. 1). Includes a memory 130, a wireless communication module 190 and a processor 120 in which a file storing a code set to perform a designated function for a file that satisfies a specified condition is stored, and the processor 120 is the wireless communication module
  • the electronic device 108 transmits the file to the external electronic device 108 through 190, and according to a user input input through the display 160, through the wireless communication module 190, the external electronic device 108 ), And may receive a file on which the specified operation is performed based on the code for the first file.
  • the processor may be configured to transmit the code having at least one designated extension to the external electronic device.
  • the external electronic device 104 fails to check the syntax of the specified file or compile the code, information indicating that at least one of the verification of the syntax or the compilation of the code fails
  • An electronic device configured to receive a message indicating that the at least one of verification of the syntax or compilation of the code fails through the display 160 through the display 160.
  • the processor 120 transmits an image file in a specified format to the external electronic device 104 through the wireless communication module 190, and based on the code, an image file in the specified format You can receive the generated thumbnail for.
  • the processor 120 through the display 160, the external electronic device 108 to perform the specified operation based on the code, the specified file having a specified format, the external A user input to be transmitted to the electronic device 108 may be received, and the designated file may be transmitted to the external electronic device based on the user input.
  • the processor 120 receives, through the display 120, a user input for changing a specified condition of the at least one designated file, and through the wireless communication module, the at least one designated Information indicating a change in a designated condition of a file may be transmitted to the external electronic device.
  • the processor 120 receives information related to a list including at least one file stored in the memory 210 of the external electronic device 104 from the external electronic device 104.
  • the display 160 is configured to display a list including at least one file stored in the memory 210 of the external electronic device 104, and the at least one file may include the designated file. .
  • the electronic device 101 includes a display 160, a memory 130 in which codes configured to perform an external electronic device 104 to perform a designated function, a wireless communication module 190, and a processor 120.
  • the processor 120 is connected to the external electronic device 108 through which the at least one file is stored through the wireless communication module 190, a first user account, and is associated with the first user account in advance
  • At least one object representing each of the stored at least one file is displayed through the display 160
  • the code is transmitted to the external electronic device 104 through the wireless communication module 190, and the Along with at least one object, an additional object corresponding to the code may be set to be displayed through the display 160.
  • the processor 120 moves the object representing the code to an area including the at least one object When a user input is detected, it can be set to move the object representing the code into the area, and to display the additional object corresponding to the code in the area.
  • an object representing a file generated by applying the designated function to at least one of the at least one file stored in advance or a new uploaded file through the display (160), the code is transmitted to the external electronic It can be displayed on the area indicating the stored path of the device.
  • the processor may be configured to transmit the code having at least one designated extension to the external electronic device.
  • the processor 120 through the display 160, receives a user input to change the specified condition of the code, and through the wireless communication module 190, the change of the specified condition It may be set to transmit information indicating the to the external electronic device 104.
  • a method of controlling an electronic device is a code set through the wireless communication module 220 so that the processor 230 performs a designated function on a file satisfying a specified condition.
  • Receiving a stored file from a first external electronic device eg, the electronic device 101 of FIG. 1
  • the wireless communication module 220 receives a stored file from a first external electronic device (eg, the electronic device 101 of FIG. 1), through the wireless communication module 220, the first external electronic device 101 or the second external electronic From the device 104, receiving a first file, storing the first file in the memory 210, from at least one of the first file or at least one file stored in the memory 210, It may include an operation of identifying a file to perform the designated function, and an operation of performing the designated operation based on the code for the identified file.
  • a method of controlling the electronic device 108 includes: checking the syntax of the code stored in the file, compiling the code, and checking the syntax and compiling the code And determining whether to store the file in the memory based on the.
  • the method of controlling the electronic device (108) when the verification of the syntax and the compilation of the code are successful, storing the file in the memory (210), and checking the syntax, or When at least one of the compilation of the code fails, information indicating the syntax and at least one failure during the compilation of the code is sent to the first external electronic device 101 or the second external electronic device 104. It may include the operation of transmitting.
  • a path in which a file in which the code is stored is stored is checked, and the designated function is applied to at least one of the at least one pre-stored file or a new upload file And storing the generated file in a path where the code is stored.
  • the method of controlling the electronic device 108 according to an embodiment is based on the code when determining whether the first file has a specified format or when the first file is determined to have the specified format. By doing so, it may include an operation of performing the designated operation based on the code with respect to the identified file.
  • the method of controlling the electronic device 108 according to an embodiment may include, through the wireless communication module 220, the specified condition from the first external electronic device 101 or the second external electronic device 104.
  • the method of controlling the electronic device 108 includes at least the first external electronic device 101 or the second external electronic device 104 including the file stored in the memory 210.
  • information related to the list including the file is external to the first external device. It may include an operation of transmitting to the electronic device 101 or the second external electronic device 104.
  • the processor may include: an operation of checking whether a file in which the code is stored has at least one designated extension, and a file in which the code is stored in the at least one designated extension In the case of having, it may include the operation of performing the specified operation based on the code according to the reception of the first file.
  • a method of controlling an electronic device may be performed by an external electronic device (eg, the server 108 of FIG. 1) through the wireless communication module 190.
  • the operation may include transmitting the code having at least one designated extension to the external electronic device.
  • an operation of transmitting an image file of a specified format to the external electronic device 104 through the wireless communication module 190, and a thumbnail generated for the image file of the specified format based on the code It may include the operation of receiving.
  • the external electronic device 108 transmits the designated file having a designated format to the external electronic device 108 so that the specified operation is performed based on the code. And receiving an input from the user, and transmitting the designated file to the external electronic device based on the user input.
  • an operation for receiving information related to a list including at least one file stored in the memory 210 of the external electronic device 104 from the external electronic device 104, the display 160 And displaying a list including at least one file stored in the memory 210 of the external electronic device 104 through, and the at least one file may include the designated file.
  • a method of controlling the electronic device 101 includes connecting to an external electronic device 108 in which at least one file is stored through a first user account through the wireless communication module 190, the An operation of displaying at least one object representing each of at least one file pre-stored in association with a first user account through the display 160, and displaying the code through the wireless communication module 190, the external electronics.
  • the operation may include displaying an object representing a file generated by applying the designated function to at least one of the at least one file stored in advance or a new upload file, on the display 160.
  • the code may have at least one designated extension.
  • the operation of receiving a user input to change the specified condition of the code, and through the wireless communication module 190, the information indicating the change of the specified condition is the It may include an operation of transmitting to the external electronic device 104.
  • the electronic device may be various types of devices.
  • the electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device.
  • a portable communication device eg, a smart phone
  • a computer device e.g., a smart phone
  • a portable multimedia device e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a wearable device e.g., a smart bracelet
  • a home appliance device e.g., a home appliance
  • any (eg, first) component is referred to as a "coupled” or “connected” to another (eg, second) component, with or without the term “functionally” or “communicatively”
  • any of the above components can be connected directly to the other component (eg, by wire), wirelessly, or through a third component.
  • module may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic blocks, components, or circuits.
  • the module may be an integrally configured component or a minimum unit of the component or a part thereof performing one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • Various embodiments of the present document may include one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101). It may be implemented as software (e.g., program 140) that includes.
  • a processor eg, processor 120
  • the one or more instructions may include code generated by a compiler or code executable by an interpreter.
  • the storage medium readable by the device may be provided in the form of a non-transitory storage medium.
  • “non-transitory” only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic waves), and this term is used when data is stored semi-permanently. It does not distinguish between temporary storage cases.
  • a method according to various embodiments disclosed in this document may be provided as being included in a computer program product.
  • Computer program products are commodities that can be traded between sellers and buyers.
  • the computer program product is distributed in the form of a device-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play StoreTM) or two user devices ( It can be distributed (eg, downloaded or uploaded) directly or online between smartphones).
  • a portion of the computer program product may be stored at least temporarily in a storage medium readable by a device such as a memory of a manufacturer's server, an application store's server, or a relay server, or may be temporarily generated.
  • each component (eg, module or program) of the above-described components may include a singular or a plurality of entities.
  • one or more components or operations of the above-described corresponding components may be omitted, or one or more other components or operations may be added.
  • a plurality of components eg, modules or programs
  • the integrated component may perform one or more functions of each component of the plurality of components the same or similar to that performed by the corresponding component among the plurality of components prior to the integration. .
  • operations performed by a module, program, or other component may be executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be executed in a different order, or omitted Or, one or more other actions can be added.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Stored Programmes (AREA)
  • Telephone Function (AREA)

Abstract

An electronic device is disclosed. An electronic device according to various embodiments of comprises: a memory; a wireless communication module; and a processor, wherein the processor is configured to: receive, from a first external electronic device, a file storing a code configured to perform a designated function with respect to a file satisfying a specified condition by the processor, through the wireless communication module; receive a first file from the first external electronic device or a second external electronic device, through the wireless communication module; store the first file in the memory; identify a file to perform the designated function from at least one file out of the first file or at least one file stored in the memory; and perform a designated operation on the basis of the code with respect to the identified file. Other various embodiments may be provided.

Description

클라우드 서비스를 제공하는 전자 장치 및 그 동작 방법Electronic device providing cloud service and operation method thereof
다양한 실시예는, 클라우드 서비스를 제공하는 전자 장치 및 그 동작 방법에 관한 것이다.Various embodiments relate to an electronic device providing a cloud service and a method of operating the same.
클라우드 서비스를 제공하는 서버는 클라우드 컴퓨팅 환경 및 그 밖에 다양한 클라우드 서비스를 제공하고 있다. 특히 클라우드 오브젝트 스토리지(cloud object storage)는 클라우드 기반으로 구현되는 모바일 서비스 등에서 많이 활용되는 서비스로서, 대규모의 데이터를 오브젝트로 구현하여 클라우드에 업로드 및 다운로드를 수행하도록 할 수 있다. Servers that provide cloud services provide cloud computing environments and various other cloud services. In particular, cloud object storage (cloud object storage) is a service that is frequently used in cloud-based mobile services, and can implement uploading and downloading to the cloud by implementing large-scale data as objects.
또한, Function-as-a-Service는 개발자가 서버 운영 등에 대해 신경쓰지 않고 서버에서 지정된 기능을 수행하도록 설정된 코드가 저장된 파일을 클라우드 서비스에 등록한 후 모바일 장치 등에서 이용할 수 있게 해주는 서비스가 제공되고 있다. In addition, Function-as-a-Service provides a service that enables developers to register a file in which a code set to perform a specified function in a server is stored in a cloud service and use it on a mobile device without worrying about server operation.
클라우드 오브젝트 스토리지는 디렉토리 구조로서 사용자에게 인터페이스를 제공되어 사용자에게 편의성을 제공할 수 있지만 Function-as-a-Service는 사용자들에게 생소할 수 있어 Function-as-a-Service를 제공하는 데 있어서 직관적이고 쉬운 유저 인터페이스를 제공하는 필요성이 존재한다. Cloud object storage is a directory structure that provides users with an interface to provide convenience, but Function-as-a-Service can be unfamiliar to users, making it intuitive and intuitive to provide Function-as-a-Service. There is a need to provide an easy user interface.
다양한 실시예에 따라, 클라우드 스토리지 서비스에서 Function-as-a-Service 기능을 제공하며, 클라우드 스토리지 서비스 내에서 지정된 기능을 수행하도록 설정된 코드가 저장된 파일을 오브젝트 단위로 제공하는 유저 인터페이스를 제공하는 전자 장치 및 그 동작 방법이 제공될 수 있다. According to various embodiments, an electronic device that provides a function-as-a-Service function in a cloud storage service, and provides a user interface that provides a file in which an code is set to perform a designated function in a cloud storage service in an object unit And a method of operation thereof.
다양한 실시예에 따른 전자 장치는, 메모리, 무선 통신 모듈, 및 프로세서를 포함하고, 상기 프로세서는 상기 무선 통신 모듈을 통해, 상기 프로세서가 지정된 조건을 만족하는 파일에 대하여 지정된 기능을 수행하도록 설정된 코드가 저장된 파일을 제1 외부 전자 장치로부터 수신하고, 상기 무선 통신 모듈을 통해, 상기 제1 외부 전자 장치 또는 제2 외부 전자 장치로부터, 제 1 파일을 수신하고, 상기 제 1 파일을 상기 메모리에 저장하고, 상기 제 1 파일 또는 상기 메모리에 저장된 적어도 하나의 파일 중 적어도 하나로부터, 상기 지정된 기능을 수행할 파일을 확인하고, 상기 확인된 파일에 대하여 상기 코드에 기초하여 상기 지정된 동작을 수행하도록 설정될 수 있다. An electronic device according to various embodiments of the present disclosure includes a memory, a wireless communication module, and a processor, wherein the processor has code set to perform a designated function on a file that satisfies a specified condition through the wireless communication module. Receiving a stored file from a first external electronic device, receiving a first file from the first external electronic device or a second external electronic device through the wireless communication module, storing the first file in the memory , From at least one of the first file or at least one of the files stored in the memory, may be set to identify a file to perform the designated function, and to perform the specified operation on the identified file based on the code have.
다양한 실시예에 따른 전자 장치는, 디스플레이, 외부 전자 장치가 지정된 조건을 만족하는 파일에 대하여 지정된 기능을 수행하도록 설정된 코드가 저장된 파일이 저장된 메모리, 무선 통신 모듈 및 프로세서를 포함하고, 상기 프로세서는 상기 무선 통신 모듈을 통해, 상기 파일을 상기 외부 전자 장치로 전송하고, 상기 디스플레이를 통해 입력되는 사용자 입력에 따라, 상기 무선 통신 모듈을 통해, 상기 외부 전자 장치로 제 1 파일을 전송하고, 상기 제1 파일에 대하여 상기 코드에 기초하여 상기 지정된 동작이 수행된 파일을 수신할 수 있다. An electronic device according to various embodiments of the present disclosure includes a display, a memory, a wireless communication module, and a processor in which a file in which a code set to perform a specified function is performed for a file that satisfies a specified condition, wherein the processor includes Through the wireless communication module, the file is transmitted to the external electronic device, and according to a user input input through the display, a first file is transmitted to the external electronic device through the wireless communication module, and the first A file on which the specified operation is performed may be received based on the code for the file.
다양한 실시예에 따른 전자 장치는, 디스플레이, 외부 전자 장치가 지정된 기능을 수행하도록 설정된 코드가 저장된 메모리, 무선 통신 모듈 및 프로세서를 포함하고, 상기 프로세서는 상기 무선 통신 모듈을 통하여, 제 1 사용자 계정을 통하여 적어도 하나의 파일이 저장된 외부 전자 장치로 접속하고, 상기 제 1 사용자 계정과 연관되어 미리 저장된 적어도 하나의 파일 각각을 나타내는 적어도 하나의 오브젝트를, 상기 디스플레이를 통하여 표시하고, 상기 코드를, 상기 무선 통신 모듈을 통하여, 상기 외부 전자 장치로 송신하고, 상기 적어도 하나의 오브젝트와 함께, 상기 코드에 대응하는 추가 오브젝트를, 상기 디스플레이를 통하여 표시하도록 설정될 수 있다. An electronic device according to various embodiments of the present disclosure includes a display, a memory in which codes configured to perform an external electronic device to perform a designated function, a wireless communication module, and a processor, wherein the processor receives a first user account through the wireless communication module. Access to an external electronic device in which at least one file is stored, and at least one object representing each of at least one file pre-stored in association with the first user account, is displayed through the display, and the code is wireless. Through the communication module, it may be set to transmit to the external electronic device and display the additional object corresponding to the code through the display together with the at least one object.
다양한 실시예에 따라, 사용자가 전자 장치를 이용하여, 클라우드 오브젝트 스토리지 서비스 내에서 직관적이고 간단한 방법으로 클라우드 스토리지 서비스 내에서 지정된 기능을 수행하도록 설정된 코드를 오브젝트 단위로 등록하고 사용하도록 하여, 사용자에게 편리성을 제공할 수 있다.According to various embodiments, a user can conveniently register and use code set to perform a designated function in a cloud storage service in an object unit by using an electronic device, in an intuitive and simple way, in a convenient way for a user Can provide surname.
도 1은 다양한 실시예에 따른, 전자 장치를 포함하는 네트워크 환경을 도시한다. 1 illustrates a network environment including an electronic device, according to various embodiments.
도 2는, 다양한 실시예에 따른, 서버의 구성을 나타내는 예시적인 블록도이다. 2 is an exemplary block diagram illustrating a configuration of a server according to various embodiments.
도 3은, 서버가 코드에 기초하여 지정된 동작을 수행하도록 하는 구성에 대한 예시적인 흐름도이다. 3 is an exemplary flow diagram for a configuration that allows a server to perform a specified operation based on code.
도 4a는 다양한 실시예에 따른, 지정된 기능을 수행하도록 설정된 파일의 지정된 조건을 변경하는 예시적인 흐름도이다. 4A is an exemplary flowchart of changing a designated condition of a file set to perform a designated function according to various embodiments.
도 4b는 다양한 실시예에 따른, 지정된 기능을 수행하도록 설정된 파일의 지정된 조건을 변경하는 예시적인 인터페이스이다. 4B is an exemplary interface for changing a designated condition of a file set to perform a designated function according to various embodiments.
도 5는 다양한 실시예에 따른, 코드에 기초하여 지정된 조건을 만족하는 파일에 대해 지정된 기능을 수행하는 구성에 대한 예시적인 도면이다. 5 is an exemplary diagram of a configuration that performs a designated function on a file that satisfies a specified condition based on a code according to various embodiments.
도 6은 일실시예에 따른 지정된 조건을 만족하는 예시적인 코드이다. 6 is an exemplary code that satisfies a specified condition according to an embodiment.
도 7은 일실시예에 따른 전자 장치가 지정된 기능을 수행하는 코드를 나타내는 오브젝트를 디스플레이를 통해 표시하는 구성에 대한 예시적인 도면이다. 7 is an exemplary diagram of a configuration in which an electronic device according to an embodiment displays an object representing a code performing a designated function through a display.
도 8a 및 도 8b는 일실시예에 따른 전자 장치가 지정된 기능을 수행하는 코드를 나타내는 오브젝트를 디스플레이를 통해 표시하는 인터페이스에 대한 예시적인 도면이다. 8A and 8B are exemplary diagrams of an interface in which an electronic device according to an embodiment displays an object representing a code for performing a designated function through a display.
도 9a 및 도 9b는 일실시예에 따라 파일에 지정된 동작이 수행되는 구성에 대한 예시적인 도면이다.9A and 9B are exemplary diagrams for a configuration in which an operation specified in a file is performed according to an embodiment.
도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블럭도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 장치(150), 음향 출력 장치(155), 표시 장치(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 표시 장치(160) 또는 카메라 모듈(180))가 생략되거나, 하나 이상의 다른 구성 요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들은 하나의 통합된 회로로 구현될 수 있다. 예를 들면, 센서 모듈(176)(예: 지문 센서, 홍채 센서, 또는 조도 센서)은 표시 장치(160)(예: 디스플레이)에 임베디드된 채 구현될 수 있다 1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments. Referring to FIG. 1, in the network environment 100, the electronic device 101 communicates with the electronic device 102 through the first network 198 (eg, a short-range wireless communication network), or the second network 199 It may communicate with the electronic device 104 or the server 108 through (eg, a remote wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108. According to an embodiment, the electronic device 101 includes a processor 120, a memory 130, an input device 150, an audio output device 155, a display device 160, an audio module 170, a sensor module ( 176), interface 177, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196, or antenna module 197 ). In some embodiments, at least one of the components (for example, the display device 160 or the camera module 180) may be omitted or one or more other components may be added to the electronic device 101. In some embodiments, some of these components may be implemented as one integrated circuit. For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illuminance sensor) may be implemented while being embedded in the display device 160 (eg, a display).
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)을 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 로드하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서), 및 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 추가적으로 또는 대체적으로, 보조 프로세서(123)은 메인 프로세서(121)보다 저전력을 사용하거나, 또는 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다. The processor 120, for example, executes software (eg, the program 140) to execute at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can be controlled and can perform various data processing or operations. According to one embodiment, as at least part of data processing or computation, the processor 120 may receive instructions or data received from other components (eg, the sensor module 176 or the communication module 190) in the volatile memory 132. Loaded into, process instructions or data stored in volatile memory 132, and store result data in non-volatile memory 134. According to an embodiment, the processor 120 may include a main processor 121 (eg, a central processing unit or an application processor), and an auxiliary processor 123 (eg, a graphics processing unit, an image signal processor) that can be operated independently or together. , Sensor hub processor, or communication processor). Additionally or alternatively, the coprocessor 123 may be set to use lower power than the main processor 121, or to be specialized for a designated function. The coprocessor 123 may be implemented separately from the main processor 121 or as part of it.
 보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 표시 장치(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성 요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. The coprocessor 123 may replace, for example, the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 may be active (eg, execute an application) ) With the main processor 121 while in the state, at least one of the components of the electronic device 101 (for example, the display device 160, the sensor module 176, or the communication module 190) It can control at least some of the functions or states associated with. According to one embodiment, the coprocessor 123 (eg, image signal processor or communication processor) may be implemented as part of other functionally relevant components (eg, camera module 180 or communication module 190). have.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component of the electronic device 101 (eg, the processor 120 or the sensor module 176). The data may include, for example, software (eg, the program 140) and input data or output data for commands related thereto. The memory 130 may include a volatile memory 132 or a non-volatile memory 134.
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130, and may include, for example, an operating system 142, middleware 144, or an application 146.
입력 장치(150)는, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 장치(150)은, 예를 들면, 마이크, 마우스, 키보드, 또는 디지털 펜(예:스타일러스 펜)을 포함할 수 있다. The input device 150 may receive commands or data to be used for components (eg, the processor 120) of the electronic device 101 from outside (eg, a user) of the electronic device 101. The input device 150 may include, for example, a microphone, mouse, keyboard, or digital pen (eg, a stylus pen).
음향 출력 장치(155)는 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 장치(155)는, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있고, 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다. The audio output device 155 may output an audio signal to the outside of the electronic device 101. The audio output device 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback, and the receiver can be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from, or as part of, a speaker.
표시 장치(160)는 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 표시 장치(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 표시 장치(160)는 터치를 감지하도록 설정된 터치 회로(touch circuitry), 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 센서 회로(예: 압력 센서)를 포함할 수 있다. The display device 160 may visually provide information to the outside of the electronic device 101 (eg, a user). The display device 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device. According to an embodiment, the display device 160 may include a touch circuitry configured to sense a touch, or a sensor circuit (eg, a pressure sensor) configured to measure the strength of the force generated by the touch. have.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 장치(150) 를 통해 소리를 획득하거나, 음향 출력 장치(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102)) (예: 스피커 또는 헤드폰))를 통해 소리를 출력할 수 있다. The audio module 170 may convert sound into an electrical signal, or vice versa. According to an embodiment, the audio module 170 acquires sound through the input device 150, or an external electronic device (eg, directly or wirelessly connected to the sound output device 155 or the electronic device 101) Sound may be output through the electronic device 102 (eg, speakers or headphones).
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state can do. According to one embodiment, the sensor module 176 includes, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biological sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.
인터페이스(177)는 전자 장치(101)이 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다. The interface 177 may support one or more designated protocols that can be used for the electronic device 101 to be directly or wirelessly connected to an external electronic device (eg, the electronic device 102). According to an embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)은, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다. The connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102). According to an embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다. The haptic module 179 may convert electrical signals into mechanical stimuli (eg, vibration or movement) or electrical stimuli that the user can perceive through tactile or motor sensations. According to one embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다. The camera module 180 may capture still images and videos. According to one embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(388)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다. The power management module 188 may manage power supplied to the electronic device 101. According to one embodiment, the power management module 388 may be implemented, for example, as at least a part of a power management integrated circuit (PMIC).
배터리(189)는 전자 장치(101)의 적어도 하나의 구성 요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다. The battery 189 may supply power to at least one component of the electronic device 101. According to one embodiment, the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108))간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부 전자 장치와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성 요소(예: 단일 칩)으로 통합되거나, 또는 서로 별도의 복수의 구성 요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 및 인증할 수 있다. The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishing and performing communication through the established communication channel. The communication module 190 operates independently of the processor 120 (eg, an application processor), and may include one or more communication processors supporting direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg : Local area network (LAN) communication module, or power line communication module. Corresponding communication module among these communication modules includes a first network 198 (for example, a short-range communication network such as Bluetooth, WiFi direct, or infrared data association (IrDA)) or a second network 199 (for example, a cellular network, the Internet, or It may communicate with external electronic devices through a computer network (eg, a telecommunication network such as a LAN or WAN). These various types of communication modules may be integrated into a single component (eg, a single chip), or may be implemented as a plurality of separate components (eg, multiple chips). The wireless communication module 192 uses a subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199. The electronic device 101 can be identified and authenticated.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 하나의 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC)이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The antenna module 197 may transmit a signal or power to the outside (eg, an external electronic device) or receive it from the outside. According to one embodiment, the antenna module may include a single antenna including a conductor formed on a substrate (eg, a PCB) or a radiator made of a conductive pattern. According to an embodiment, the antenna module 197 may include a plurality of antennas. In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network 198 or the second network 199, is transmitted from the plurality of antennas by, for example, the communication module 190. Can be selected. The signal or power may be transmitted or received between the communication module 190 and an external electronic device through the at least one selected antenna. According to some embodiments, other components (eg, RFIC) other than the radiator may be additionally formed as part of the antenna module 197.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))를 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다. At least some of the components are connected to each other through a communication method between peripheral devices (for example, a bus, a general purpose input and output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)) and a signal ( Ex: command or data) can be exchanged with each other.
 일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부 전자 장치들(102, 104, or 108) 중 하나 이상의 외부 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다.. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. According to an embodiment, commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199. Each of the electronic devices 102 and 104 may be the same or a different type of device from the electronic device 101. According to an embodiment, all or some of the operations performed on the electronic device 101 may be performed on one or more external devices of the external electronic devices 102, 104, or 108. For example, when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 instead executes the function or service itself. In addition or in addition, one or more external electronic devices may be requested to perform at least a portion of the function or the service. The one or more external electronic devices receiving the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and deliver the result of the execution to the electronic device 101. The electronic device 101 may process the result, as it is or additionally, and provide it as at least part of a response to the request. To this end, for example, cloud computing, distributed computing, or client-server computing technology This can be used.
도 2는, 다양한 실시예에 따른, 서버의 구성을 나타내는 예시적인 블록도이다.  도 3은, 서버가 코드에 기초하여 지정된 동작을 수행하도록 하는 구성에 대한 예시적인 흐름도이다. 2 is an exemplary block diagram illustrating a configuration of a server according to various embodiments. 3 is an exemplary flow diagram for a configuration that allows a server to perform a specified operation based on code.
도 2의 서버(108)는 메모리(210), 무선 통신 모듈(220), 및 프로세서(230)를 포함할 수 있다.  메모리(210)는 적어도 하나의 파일을 저장할 수 있다.  적어도 하나의 파일은, 지정된 조건을 만족하는 파일일 수 있으며, 프로세서(230)는 지정된 기능을 수행하도록 설정된 코드를 이용하여 적어도 하나의 파일에 지정된 기능을 수행할 수 있다.  프로세서(230)는 코드에 의해 설정된 지정된 조건에 기초하여 적어도 하나의 파일에 대해 지정된 동작을 수행할 수 있다.  예를 들어, 코드는 지정된 확장자를 갖는 파일에 대해서만 지정된 동작을 수행하도록 설정될 수 있다. 예를 들어, 코드에 의하여 지정되는 적어도 하나의 지정된 파일은 jpg, png 등의 확장자를 갖는 이미지 파일일 수 있으며, 지정된 동작은 적어도 하나의 이미지 파일에 대해 썸네일(thumbnail)을 생성하는 동작일 수 있다.  프로세서(230)는, 이미지 파일을 이용하여 썸네일을 생성하도록 설정된 코드가 저장된 파일을 이용하여 적어도 하나의 이미지 파일에 대해 썸네일을 생성할 수 있다.  또 다른 예로, 코드는 동영상 파일에 대해 만화 이미지(catoonized image)를 생성하는 코드일 수 있고, 지정된 필터를 이용하여 이미지의 변환을 수행하도록 설정된 코드일 수 있다.  위의 코드에 대한 설명은 예시적인 것일 뿐, 본원을 제한하는 것은 아니다. The server 108 of FIG. 2 may include a memory 210, a wireless communication module 220, and a processor 230. The memory 210 may store at least one file. At least one file may be a file that satisfies a specified condition, and the processor 230 may perform a specified function in at least one file by using code set to perform a specified function. The processor 230 may perform a designated operation on at least one file based on a specified condition set by the code. For example, the code can be set to perform a specified operation only on files having a specified extension. For example, at least one designated file specified by the code may be an image file having an extension of jpg, png, etc., and the designated operation may be an operation of generating a thumbnail for at least one image file. . The processor 230 may generate a thumbnail for at least one image file by using a file in which codes set to generate thumbnails are stored using the image file. As another example, the code may be code that generates a cartoonized image for a video file, or may be code set to perform image conversion using a designated filter. The description of the above code is illustrative only and is not a limitation of the present application.
무선 통신 모듈(220)은 제2 네트워크(199)를 통해 전자 장치(101)와 통신할 수 있다. 무선 통신 모듈(220)은 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 및 인증할 수 있다.  프로세서(230)는 메모리(210) 및 무선 통신 모듈(220)과 구동적으로 연결되어, 메모리(210) 및 무선 통신 모듈(220)의 동작을 제어할 수 있다. The wireless communication module 220 may communicate with the electronic device 101 through the second network 199. The wireless communication module 220 may use the subscriber information (eg, international mobile subscriber identifier (IMSI)) to identify and authenticate the electronic device 101 within a communication network such as the second network 199. The processor 230 is driven to be connected to the memory 210 and the wireless communication module 220 to control the operation of the memory 210 and the wireless communication module 220.
동작 301에서, 서버(108)의 프로세서(230)는 무선 통신 모듈(220)을 통해, 프로세서(230)가 지정된 조건을 만족하는 파일에 대하여 지정된 기능을 수행하도록 설정된 코드가 저장된 파일을 전자 장치(101)로부터 수신할 수 있다.  동작 303에서, 서버(108)의 프로세서(230)는 파일에 저장된 코드의 신택스(syntax)를 확인하고, 상기 코드를 컴파일할 수 있다.  프로세서(230)는 수신된 파일이 지정된 확장자(예: js, py, pyc, pyo, go 등)를 가지는 파일인지 확인하고, 수신된 파일이 지정된 확장자를 가지는 경우 코드가 저장된 파일인 것으로 확인할 수 있다.   프로세서(230)는 코드가 저장된 파일이 전자 장치(101)로부터 수신되면, 어떤 언어(예: JAVA, Node.js, Python, GO 등)로 작성되었는지 확인할 수 있다.  프로세서(230)는 코드가 작성된 언어가 신택스를 만족하는지 확인하고, 컴파일을 수행하여 프로세서(230)가 코드가 저장된 파일을 이용하여 지정된 조건을 만족하는 파일에 대해 지정된 기능을 수행할 수 있는지 확인할 수 있다. In operation 301, the processor 230 of the server 108 stores, through the wireless communication module 220, a file in which the code set to perform a specified function with respect to a file that the processor 230 satisfies a specified condition is stored in the electronic device ( 101). In operation 303, the processor 230 of the server 108 may check the syntax of the code stored in the file and compile the code. The processor 230 may check whether the received file is a file having a designated extension (eg, js, py, pyc, pyo, go, etc.), and if the received file has a specified extension, it may be confirmed that the code is a stored file. . The processor 230 may check in which language (eg, JAVA, Node.js, Python, GO, etc.), when a file in which a code is stored is received from the electronic device 101. The processor 230 checks whether the language in which the code is written satisfies syntax, and compiles to determine whether the processor 230 can perform a designated function on a file that satisfies a specified condition using a file in which the code is stored. have.
동작 305에서, 서버(108)의 프로세서(230)는 신택스의 확인 및 코드의 컴파일이 성공했는지 확인할 수 있다.  동작 307에서, 서버(108)의 프로세서(230)는, 무선 통신 모듈(220)를 통해, 신택스의 확인 및 코드의 컴파일 중 적어도 하나의 실패를 나타내는 정보를 전자 장치(101)로 전송할 수 있다.  프로세서(230)는 신택스의 확인 및 코드의 컴파일 중 적어도 어느 하나가 실패한 경우, 신택스의 확인 및 코드의 컴파일 중 적어도 어느 하나가 실패하였음을 나타내는 정보를 생성하여 전자 장치(101)로 전송할 수 있다. In operation 305, the processor 230 of the server 108 may check whether syntax verification and code compilation are successful. In operation 307, the processor 230 of the server 108, through the wireless communication module 220, may transmit information indicating the failure of at least one of syntax verification and code compilation to the electronic device 101. When at least one of syntax verification and code compilation fails, the processor 230 may generate information indicating that at least one of syntax verification and code compilation has failed, and transmit the generated information to the electronic device 101.
동작 309에서, 전자 장치(101)의 프로세서(230)는 수신된 정보에 기초하여 코드를 수정할 수 있다.  동작 311에서, 서버(108)의 프로세서(230)는 무선 통신 모듈(220)를 통해 수정된 코드를 전자 장치(101)로부터 수신할 수 있다.  전자 장치(101)의 사용자는, 수신된 정보에 기초하여 신택스의 확인 및 코드의 컴파일링을 수행하여 코드를 수정할 수 있다.  전자 장치(101)의 프로세서(120)는 통신 모듈(190)를 통하여, 수정된 코드가 저장된 파일을 서버(108)로 전송할 수 있다.  동작 313에서, 서버(108)의 프로세서(230)는 신택스의 확인 및 상기 코드의 컴파일 결과에 기초하여 파일을 메모리(210)에 저장할 수 있다.  프로세서(230)는 신택스의 확인 및 코드의 컴파일이 성공한 경우, 코드가 저장된 파일을 메모리(210)에 저장할 수 있다. In operation 309, the processor 230 of the electronic device 101 may modify the code based on the received information. In operation 311, the processor 230 of the server 108 may receive the modified code from the electronic device 101 through the wireless communication module 220. The user of the electronic device 101 can correct the code by checking the syntax and compiling the code based on the received information. The processor 120 of the electronic device 101 may transmit a file in which the modified code is stored to the server 108 through the communication module 190. In operation 313, the processor 230 of the server 108 may store the file in the memory 210 based on the syntax verification and the compilation result of the code. The processor 230 may store a file in which the code is stored in the memory 210 when syntax verification and code compilation are successful.
동작 315에서, 서버(108)의 프로세서(230)는 무선 통신 모듈(220)을 통해, 전자 장치(101)로부터 제1 파일을 수신 및 저장할 수 있다.  동작 317에서, 서버(108)의 프로세서(230)는 제 1 파일 또는 메모리에 저장된 적어도 하나의 파일 중 적어도 하나로부터, 지정된 기능을 수행할 파일을 확인할 수 있다.  제1 파일은, 프로세서(230)가 코드에 기초하여 지정된 기능을 수행하도록 설정된 지정된 조건을 만족하는 파일일 수 있다.  제1 파일은 지정된 확장자를 가지는 파일일 수 있다.  예를 들어, 제1 파일은 프로세서(230)가 코드에 기초하여 썸네일 이미지를 생성하도록 하는 이미지 파일일 수 있다.  또는, 제1 파일은 프로세서(230)가 코드에 기초하여 만화 이미지를 생성하도록 하는 동영상 파일일 수 있다.  코드가 저장된 파일이 메모리(210)에 저장되면, 프로세서(230)는 지정된 조건을 만족하는 제1 파일의 수신을 트리거(trigger)로 자동적으로 코드에 기초하여 지정된 기능을 수행할 수 있다.  동작 315에서는 서버(108)가 전자 장치(101)로부터 제1 파일을 수신 및 저장하지만, 서버(108)는 전자 장치(101)의 사용자 계정에 접근이 가능한 다른 전자 장치(104)로부터 제1 파일을 수신할 수도 있다. 이와 같은 내용은 이하에서 서술되는 도면들에서 동일하게 적용될 수 있다. In operation 315, the processor 230 of the server 108 may receive and store the first file from the electronic device 101 through the wireless communication module 220. In operation 317, the processor 230 of the server 108 may identify a file to perform a designated function from at least one of the first file or at least one file stored in the memory. The first file may be a file that satisfies a specified condition set so that the processor 230 performs a designated function based on the code. The first file may be a file having a designated extension. For example, the first file may be an image file that causes the processor 230 to generate a thumbnail image based on code. Alternatively, the first file may be a video file that allows the processor 230 to generate a cartoon image based on code. When the file in which the code is stored is stored in the memory 210, the processor 230 may automatically perform the designated function based on the code as a trigger for receiving the first file that satisfies the specified condition. In operation 315, the server 108 receives and stores the first file from the electronic device 101, but the server 108 receives the first file from another electronic device 104 that can access the user account of the electronic device 101. You can also receive The same can be applied to the drawings described below.
일실시예에 따라, 동작 317에서, 프로세서(230)는 제1 파일 또는 메모리(210)에 저장된 적어도 하나의 파일 중 적어도 하나로부터, 코드를 이용하여 지정된 기능을 수행할 파일을 확인할 수 있다.  프로세서(230)는 수신된 제1 파일뿐 아니라 제1 파일의 수신 이전에 메모리(210)에 미리 저장된 적어도 하나의 파일에 대해서도 적어도 하나의 파일이 지정된 조건을 만족하는지 확인할 수 있다. According to an embodiment, in operation 317, the processor 230 may identify a file to perform a designated function using a code, from at least one of the first file or at least one file stored in the memory 210. The processor 230 may check whether at least one file satisfies the specified condition, not only for the received first file but also for at least one file previously stored in the memory 210 before receiving the first file.
동작 319에서, 서버(108)의 프로세서(230)는 확인된 파일에 대하여 상기 코드에 기초하여 상기 지정된 동작을 수행할 수 있다.  예를 들어, 프로세서(230)는 수신된 제1 파일 또는 메모리(210)에 저장된 적어도 하나의 이미지 파일 중 확인된 파일에 대하여 썸네일 이미지를 생성할 수 있다.  또는, 프로세서(230)는 확인된 동영상 파일에 대하여 만화 이미지를 생성하는 등 지정된 조건을 만족하는 확인된 파일에 대하여 지정된 기능을 수행할 수 있다. In operation 319, the processor 230 of the server 108 may perform the designated operation based on the code on the identified file. For example, the processor 230 may generate a thumbnail image of the identified first file or at least one of the image files stored in the memory 210. Alternatively, the processor 230 may perform a designated function on the identified file that satisfies the specified condition, such as generating a cartoon image for the identified video file.
도 4a는 다양한 실시예에 따른, 지정된 기능을 수행하도록 설정된 파일의 지정된 조건을 변경하는 예시적인 흐름도이다.  도 4b는 다양한 실시예에 따른, 지정된 기능을 수행하도록 설정된 파일의 지정된 조건을 변경하는 예시적인 인터페이스이다. 4A is an exemplary flowchart of changing a designated condition of a file set to perform a designated function according to various embodiments. 4B is an exemplary interface for changing a designated condition of a file set to perform a designated function according to various embodiments.
동작 401에서, 서버의 프로세서는 무선 통신 모듈을 통해, 프로세서가 지정된 조건을 만족하는 파일에 대하여 지정된 기능을 수행하도록 설정된 코드가 저장된 파일을 전자 장치로부터 수신할 수 있다.  동작 403에서, 서버의 프로세서는 파일에 저장된 코드의 신택스(syntax)를 확인하고, 상기 코드를 컴파일할 수 있다.  동작 405에서, 서버의 프로세서는 신택스의 확인 및 상기 코드의 컴파일 결과에 기초하여 파일을 메모리에 저장할 수 있다.  코드가 저장된 파일의 수신, 신택스 확인 및 컴파일 수행, 파일의 저장 등에 대한 설명은 도 3에서 설명한 내용과 동일하므로 생략하기로 한다. In operation 401, the processor of the server may receive, from the electronic device, a file in which a code set to perform a designated function with respect to a file that the processor satisfies a specified condition is stored through a wireless communication module. In operation 403, the processor of the server checks the syntax of the code stored in the file and compiles the code. In operation 405, the processor of the server may store the file in the memory based on the syntax verification and the compilation result of the code. The description of receiving the file in which the code is stored, checking the syntax and performing compilation, and saving the file are the same as those described in FIG. 3 and will be omitted.
동작 407에서, 서버(108)의 프로세서(230)는 무선 통신 모듈(220)을 통해 파일이 포함된 적어도 하나의 파일의 리스트에 연관되는 정보를 전자 장치(101)로 전송할 수 있다.  동작 409에서, 전자 장치(101)의 프로세서(120)는 파일이 포함된 적어도 하나의 파일의 리스트를 디스플레이(160)를 통해 표시할 수 있다.  전자 장치(101)에는, 코드가 저장된 파일을 나타내는 오브젝트를 디스플레이(160)를 통해 표시하는 인터페이스가 제공될 수 있다.  코드가 저장된 파일을 나타내는 오브젝트가 표시되는 인터페이스에 대한 자세한 내용은 도 8a 및 도 8b에서 자세히 설명하기로 한다. In operation 407, the processor 230 of the server 108 may transmit information related to the list of at least one file including the file to the electronic device 101 through the wireless communication module 220. In operation 409, the processor 120 of the electronic device 101 may display a list of at least one file including the file through the display 160. The electronic device 101 may be provided with an interface for displaying an object representing a file in which the code is stored through the display 160. 8A and 8B will be described in detail for an interface in which an object representing a file in which a code is stored is displayed.
동작 411에서, 전자 장치(101)의 프로세서(120)는 지정된 기능을 수행하도록 설정된 코드가 저장된 파일에 대한 지정된 조건을 변경할 수 있다.  코드는, 도 3에서와 같이 제1 파일이 전자 장치(101)로부터 서버(108)로 수신될 경우에 프로세서(230)가 제1 파일 또는 메모리(210)에 저장된 적어도 하나의 파일 중 확인된 파일에 대하여 지정된 동작을 수행하도록 설정될 수 있다.  예를 들어, 코드는 제1 파일이 수신되어 코드가 저장된 파일이 저장된 디렉토리(directory) 또는 그 하위 디렉토리에 저장될 때 프로세서(230)가 제1 파일 또는 메모리(210)에 저장된 적어도 하나의 파일 중 확인된 파일에 대하여 지정된 동작을 수행하도록 설정될 수 있다. 또는, 코드는 특정 어플리케이션이 코드가 저장된 파일 "sample.func"(420)이 저장된 URL(430, Uniform Resource Locator)에 접근하는 이벤트에 기초하여 프로세서(230)가 지정된 URL(430)에 저장된 파일에 대하여 지정된 동작을 수행하도록 설정될 수 있다.  코드는, 코드가 저장된 파일이 저장된 경로 또는 임의로 설정된 경로에, 지정된 동작이 수행되어 생성된 파일을 저장하도록 설정될 수 있다.  또는, 코드는, 코드가 저장된 파일에 접근 가능한 사용자 계정의 범위를 설정할 수 있다. 예를 들어, 입력 탭(440)을 통해 서버(108)의 제1 사용자 계정에 접근 가능한 모든 사용자 계정에 대해 코드가 저장된 파일의 접근 가능 여부가 설정될 수 있으며, 또는 특정 사용자 계정에 대해서만 코드가 저장된 파일의 접근 가능 여부가 설정될 수 있다.  위와 같이, 전자 장치(101)의 사용자는 프로세서(230)가 코드를 이용하여 지정된 기능을 수행하도록 트리거하는 방법을 코드 작성 시에 설정할 수 있으며, 코드 작성 후에도 다른 방식으로 변경 가능하다. In operation 411, the processor 120 of the electronic device 101 may change the specified condition for the file in which the code set to perform the designated function is stored. The code, as shown in FIG. 3, when the first file is received from the electronic device 101 to the server 108, the processor 230 identifies the first file or at least one of the files stored in the memory 210 It can be set to perform a specified operation for. For example, the code may be one of at least one file stored in the first file or the memory 210 by the processor 230 when the first file is received and the file in which the code is stored is stored in a directory or a sub-directory thereof. It may be set to perform a specified operation on the identified file. Alternatively, the code may be stored in a file stored in the URL 430 specified by the processor 230 based on an event in which a specific application accesses a URL 430 (Uniform Resource Locator) in which the file “sample.func” 420 in which the code is stored is stored. Can be set to perform a specified operation. The code may be set to store a file generated by performing a designated operation in a path where a file in which the code is stored is stored or a randomly set path. Alternatively, the code may set a range of user accounts that can access the file in which the code is stored. For example, whether or not the file where the code is stored can be set for all user accounts that can access the first user account of the server 108 through the input tab 440, or the code is only for a specific user account. Whether or not the stored file can be accessed can be set. As described above, a user of the electronic device 101 can set a method for triggering the processor 230 to perform a designated function using code at the time of writing the code, and can be changed in other ways even after writing the code.
동작 413에서, 서버(108)의 프로세서(230)는 지정된 조건의 변경에 연관되는 정보를 전자 장치(101)로부터 수신할 수 있다.  동작 415에서, 서버(108)의 프로세서(230)는 지정된 조건의 변경에 연관되는 정보를 메모리(210)에 저장할 수 있다.  서버(108)의 프로세서(230)는 지정된 조건의 변경에 연관되는 정보에 기초하여, 변경된 지정된 조건에 따라 지정된 기능을 수행할 수 있다. In operation 413, the processor 230 of the server 108 may receive information related to the change of the specified condition from the electronic device 101. In operation 415, the processor 230 of the server 108 may store information related to the change of the specified condition in the memory 210. The processor 230 of the server 108 may perform a designated function according to the changed designated condition based on information related to the change of the designated condition.
도 5는 다양한 실시예에 따른, 코드에 기초하여 지정된 조건을 만족하는 파일에 대해 지정된 기능을 수행하는 구성에 대한 예시적인 도면이다.  도 6은 일실시예에 따른 지정된 조건을 만족하는 예시적인 코드이다. 5 is an exemplary diagram of a configuration that performs a designated function on a file that satisfies a specified condition based on a code according to various embodiments. 6 is an exemplary code that satisfies a specified condition according to an embodiment.
도 5를 참고하면, 전자 장치(예: 도 1의 전자 장치(101))의 프로세서(예: 도 1의 프로세서(120))는 통신 모듈(예: 통신 모듈(190))을 통해 서버(520, 예: 도 1의 서버(108))의 프로세서(예: 도 2의 프로세서(230))가 지정된 기능을 수행하도록 설정된 코드에 기초하여, 지정된 조건을 만족하는 제1 오브젝트(511) 또는 제2 오브젝트(513)를 서버(520)로 전송할 수 있다.  제1 오브젝트(511)는 제1 동영상 파일을 나타내는 오브젝트이며, 제2 오브젝트(513)는 제2 동영상 파일을 나타내는 오브젝트일 수 있다.  코드를 저장한 파일은 제1 오브젝트(511) 또는 제2 오브젝트(513)에 대응하는 파일의 전송 이전에 서버(520)의 메모리(210)에 저장될 수 있다. Referring to FIG. 5, a processor (eg, the processor 120 of FIG. 1) of an electronic device (eg, the electronic device 101 of FIG. 1) is connected to the server 520 through a communication module (eg, the communication module 190). , For example, a first object 511 or a second that satisfies a specified condition based on a code set by a processor of the server 108 of FIG. 1 (eg, the processor 230 of FIG. 2) to perform a designated function. The object 513 may be transmitted to the server 520. The first object 511 may be an object representing the first video file, and the second object 513 may be an object representing the second video file. The file storing the code may be stored in the memory 210 of the server 520 prior to transmission of the file corresponding to the first object 511 or the second object 513.
도 6을 참고하면, 코드의 일부분(510)은 제1 오브젝트(511)에 대응하는 제1 부분(501) 및 제2 오브젝트(513)에 대응하는 제2 부분(503)을 포함할 수 있다.  코드는 제1 오브젝트(511) 또는 제2 오브젝트(513)에 대응하는 파일이 업로드 되는 경우 코드가 저장된 파일인 "convertVideo"를 실행하도록 설정될 수 있다.  코드는 지정된 확장자를 가지는 파일(예: 동영상 파일)이 수신됨에 따라 "convertVideo"의 지정된 기능을 실행하도록 설정될 수 있다. 또는, 코드의 제1 부분(501)에 제1 오브젝트(511)에 대응하는 파일의 정보를 특정하고, 코드의 제2 부분(503)에 제2 오브젝트(513)에 대응하는 파일의 정보를 특정할 수 있다. 프로세서(230)는 제1 오브젝트(511) 또는 제2 오브젝트(513)에 대응하는 파일이 수신되는 경우에 "convertVideo"의 지정된 기능을 수행하도록 설정될 수 있다.  오브젝트에 대응하는 파일의 정보는 파일명, 파일이 저장된 경로 등 다양한 정보를 포함할 수 있다. Referring to FIG. 6, a part 510 of the code may include a first part 501 corresponding to the first object 511 and a second part 503 corresponding to the second object 513. The code may be set to execute “convertVideo”, a file in which the code is stored, when a file corresponding to the first object 511 or the second object 513 is uploaded. The code may be set to execute a designated function of "convertVideo" as a file (eg, a video file) having a designated extension is received. Alternatively, the information of the file corresponding to the first object 511 is specified in the first portion 501 of the code, and the information of the file corresponding to the second object 513 is specified in the second portion 503 of the code. can do. The processor 230 may be set to perform a designated function of “convertVideo” when a file corresponding to the first object 511 or the second object 513 is received. The information of the file corresponding to the object may include various information such as a file name and a path in which the file is stored.
일실시예에 따라, 서버(520)의 프로세서(230)는 무선 통신 모듈(220)을 통해, 전자 장치(101)로부터 제1 오브젝트(511) 또는 제2 오브젝트(513)에 대응하는 파일을 수신하고, 제1 오브젝트(511) 또는 제2 오브젝트(513)에 대응하는 파일이 코드에 의해 지정된 조건을 만족하는지 확인할 수 있다.  제1 오브젝트(511) 또는 제2 오브젝트(513)에 대응하는 파일이 지정된 조건을 만족하는 경우, 프로세서(230)는 제1 오브젝트(511) 또는 제2 오브젝트(513)에 대응하는 파일의 수신에 따라 자동적으로 코드에 기초하여 지정된 기능(530)을 수행하도록 트리거(trigger)될 수 있다. According to an embodiment, the processor 230 of the server 520 receives a file corresponding to the first object 511 or the second object 513 from the electronic device 101 through the wireless communication module 220. Then, it can be confirmed whether the file corresponding to the first object 511 or the second object 513 satisfies the condition specified by the code. When the file corresponding to the first object 511 or the second object 513 satisfies the specified condition, the processor 230 is configured to receive the file corresponding to the first object 511 or the second object 513. Accordingly, it may be automatically triggered to perform the designated function 530 based on the code.
일실시예에 따라, 서버(520)의 프로세서(230)는 확인된 오브젝트에 대응하는 파일에 대하여, 상기 코드에 의해 지정된 동작을 수행할 수 있다.  예를 들어, 프로세서(230)는 확인된 오브젝트에 대하여 지정된 기능(530)에 따라 만화 이미지(540)를 생성하거나, 썸네일 이미지를 생성하거나, 이미지의 변환을 수행하는 등 코드에 의해 지정된 다양한 기능을 수행할 수 있다. 썸네일 이미지 생성 또는 이미지의 변환 등은 예시적인 것으로, 본원이 해석되는 범위를 제한하는 것은 아니다. According to an embodiment, the processor 230 of the server 520 may perform an operation designated by the code on a file corresponding to the identified object. For example, the processor 230 may generate various functions specified by the code, such as generating a cartoon image 540, generating a thumbnail image, or performing an image conversion according to the designated function 530 for the identified object. Can be done. The generation of thumbnail images or the conversion of images is exemplary and does not limit the scope of the present application.
도 7은 일실시예에 따른 전자 장치가 지정된 기능을 수행하는 코드를 나타내는 오브젝트를 디스플레이를 통해 표시하는 구성에 대한 예시적인 도면이다.  도 8a 및 도 8b는 일실시예에 따른 전자 장치가 지정된 기능을 수행하는 코드를 나타내는 오브젝트를 디스플레이를 통해 표시하는 인터페이스에 대한 예시적인 도면이다. 7 is an exemplary diagram of a configuration in which an electronic device according to an embodiment displays an object representing a code performing a designated function through a display. 8A and 8B are exemplary diagrams of an interface in which an electronic device according to an embodiment displays an object representing a code for performing a designated function through a display.
동작 701에서, 전자 장치(예: 도 1의 전자 장치(101))의 프로세서(120)는 무선 통신 모듈(예; 도 1의 통신 모듈(190))을 통해, 제1 사용자 계정을 통해 적어도 하나의 파일이 저장된 서버로 접속할 수 있다.  서버는 사용자마다 각각 사용자 계정을 할당할 수 있다.  동작 703에서, 프로세서(120)는 제1 사용자 계정과 연관되어 미리 저장된 적어도 하나의 파일 각각을 나타내는 적어도 하나의 오브젝트(803)를 디스플레이(800, 예: 도 1의 표시 장치(160))를 통해 표시할 수 있다.  도 8을 참고하면, 프로세서(120)는 디스플레이(800)의 제1 영역(802)에 적어도 하나의 파일 각각을 나타내는 적어도 하나의 오브젝트(803)를 제1 영역(802)에 표시할 수 있다.  적어도 하나의 파일은 서버(예: 도 1의 서버(108), 또는 도 5의 서버(520))의 메모리(210)에 저장되어 있을 수 있다.  예를 들어, 서버(108)는, 기존에 사용자의 계정에 연관되어 저장된 적어도 하나의 파일을 나타내는 오브젝트(803)를 포함하는 UI 화면을 구성하고, 구성된 UI 화면을 전자 장치(101)로 송신할 수 있다.  전자 장치(101)는, 수신한 UI 화면에 적어도 기반하여, 도 8a의 화면을 표시할 수 있다. In operation 701, the processor 120 of the electronic device (eg, the electronic device 101 of FIG. 1) is at least one through a wireless communication module (eg, the communication module 190 of FIG. 1) and a first user account. You can connect to the server where the files of are stored. The server can assign a user account for each user. In operation 703, the processor 120 displays at least one object 803 representing each of at least one file pre-stored in association with the first user account through the display 800 (eg, the display device 160 of FIG. 1). Can be displayed. Referring to FIG. 8, the processor 120 may display at least one object 803 representing each of the at least one file in the first area 802 of the display 800 in the first area 802. At least one file may be stored in the memory 210 of the server (eg, the server 108 of FIG. 1 or the server 520 of FIG. 5). For example, the server 108 configures a UI screen including an object 803 representing at least one file stored in association with a user's account, and transmits the configured UI screen to the electronic device 101. You can. The electronic device 101 may display the screen of FIG. 8A based at least on the received UI screen.
동작 705에서, 프로세서(120)는 무선 통신 모듈(190)을 통해, 코드를 서버로 전송할 수 있다.  프로세서(120)는 디스플레이(160)를 통해, 코드가 저장된 파일을 서버(108)로 전송하도록 하는 사용자 입력을 수신할 수 있다.  사용자 입력은, 코드가 저장된 파일을 나타내는 오브젝트(801)로부터 적어도 하나의 오브젝트(803)가 포함된 제1 영역(802)으로, 예를 들어 드래그 앤 드롭 하는 동작을 포함할 수 있다.  코드가 저장된 파일을 나타내는 오브젝트의 업로드 명령의 종류에는 제한이 없다.  프로세서(120)는, 드래그 앤 드롭의 동작 등의 업로드 명령이 확인되면, 코드가 저장된 파일을 서버(108)로 전송할 수 있다. In operation 705, the processor 120 may transmit a code to the server through the wireless communication module 190. The processor 120 may receive a user input through the display 160 to transmit a file storing code to the server 108. The user input may include, for example, a drag and drop operation from the object 801 representing the file in which the code is stored to the first area 802 including the at least one object 803. There is no limitation on the type of the upload command of the object representing the file in which the code is stored. When the upload command, such as a drag and drop operation, is confirmed, the processor 120 may transmit a file in which the code is stored to the server 108.
동작 707에서, 프로세서는 적어도 하나의 오브젝트와 함께, 추가 오브젝트를 디스플레이를 통해 표시할 수 있다.  프로세서(120)는, 사용자 입력에 따라, 코드가 저장된 파일을 나타내는 오브젝트(801)를 제1 영역(802)으로 이동시키고, 코드가 저장된 파일을 나타내는 추가 오브젝트(804)를 디스플레이(800)를 통해 표시할 수 있다.  프로세서(120)는, 코드가 저장된 파일의 전송 전에 서버(108)의 메모리(210)에 저장되어 있던 적어도 하나의 파일을 나타내는 적어도 하나의 오브젝트(803)와 함께, 추가 오브젝트(804)를 디스플레이(800)를 통해 표시할 수 있다.  프로세서(120)는, 미리 저장된 적어도 하나의 파일 또는 신규 업로드 파일 중 적어도 하나에 대하여 상기 지정된 기능이 적용되어 파일이 신규로 생성되는 경우, 생성된 파일을 나타내는 오브젝트를 디스플레이 상에 표시할 수 있다.  예를 들어, 서버(108)는, 상술한 바와 같이 코드가 저장된 파일을 수신하면, 이에 대응하여 파일을 나타내는 추가 오브젝트(804)와 기존에 저장된 적어도 하나의 파일을 나타내는 적어도 하나의 오브젝트(803)로 구성된 UI 화면을 구성하여, 구성된 UI 화면을 전자 장치(101)로 송신할 수 있다.  전자 장치(101)는, 수신한 UI 화면에 적어도 기반하여 추가 오브젝트(804)가 반영된 화면을 표시할 수 있다. In operation 707, the processor may display the additional object along with the at least one object through a display. The processor 120 moves the object 801 representing the file in which the code is stored to the first area 802 according to user input, and displays the additional object 804 representing the file in which the code is stored through the display 800. Can be displayed. The processor 120 displays an additional object 804 along with at least one object 803 representing at least one file that was stored in the memory 210 of the server 108 before transmission of the file in which the code is stored ( 800). When the specified function is applied to at least one of the at least one file stored in advance or the new upload file, the processor 120 may display an object representing the generated file on the display. For example, when receiving the file in which the code is stored, as described above, the server 108 responds to the additional object 804 representing the file and at least one object 803 representing the at least one previously stored file. By configuring the UI screen composed of, it is possible to transmit the configured UI screen to the electronic device 101. The electronic device 101 may display a screen on which the additional object 804 is reflected, based at least on the received UI screen.
도 9a 및 도 9b는 일실시예에 따라 파일에 지정된 동작이 수행되는 구성에 대한 예시적인 도면이다. 9A and 9B are exemplary diagrams for a configuration in which an operation specified in a file is performed according to an embodiment.
일실시예에 따라, 전자 장치(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는 상기 미리 저장된 적어도 하나의 파일 또는 신규 업로드 파일 중 적어도 하나에 대하여 상기 지정된 기능이 적용되어 생성된 파일을 나타내는 오브젝트를, 디스플레이 상에 표시할 수 있다.  예를 들어, 프로세서는 코드에 의해 지정된 기능을 수행하여 이미지 파일에 대한 필터링을 수행할 수 있다.  예를 들어, 서버(예: 도 1의 서버(108))는 도 9a의 이미지 파일을 수신함에 따라, 이미지 파일에 대해 필터링을 수행하여 도 9b의 이미지 파일을 수행할 수 있다.  서버(108)의 프로세서(230)는 무선 통신 모듈(220)를 통해, 전자 장치(101)로 필터링이 수행된 이미지 파일을 전송할 수 있다. 전자 장치(101)의 프로세서(120)는 디스플레이 상에 필터링이 처리된 도 9b의 이미지 파일을 나타내는 오브젝트를 표시할 수 있다. According to an embodiment, a processor (eg, processor 120) of an electronic device (eg, the electronic device 101) is applied with the specified function to at least one of the at least one pre-stored file or a new upload file An object representing the generated file can be displayed on the display. For example, the processor may perform filtering for the image file by performing a function specified by the code. For example, as the server (eg, the server 108 of FIG. 1) receives the image file of FIG. 9A, it may perform filtering on the image file to perform the image file of FIG. 9B. The processor 230 of the server 108 may transmit the filtered image file to the electronic device 101 through the wireless communication module 220. The processor 120 of the electronic device 101 may display an object representing the image file of FIG. 9B on which the filtering is processed on the display.
다양한 실시예에 따른 전자 장치(예: 서버(108))는, 메모리(예: 도 2의 메모리(210)), 무선 통신 모듈(도 2의 무선 통신 모듈(220)), 및 프로세서(예: 도 2의 프로세서(230))를 포함하고, 상기 프로세서(230)는 상기 무선 통신 모듈(220)을 통해, 상기 프로세서(230)가 지정된 조건을 만족하는 파일에 대하여 지정된 기능을 수행하도록 설정된 코드가 저장된 파일을 제1 외부 전자 장치(예: 도 1의 전자 장치(101))로부터 수신하고, 상기 무선 통신 모듈(220)을 통해, 상기 제1 외부 전자 장치(101) 또는 제2 외부 전자 장치(104)로부터, 제 1 파일을 수신하고, 상기 제 1 파일을 상기 메모리(210)에 저장하고, 상기 제 1 파일 또는 상기 메모리(210)에 저장된 적어도 하나의 파일 중 적어도 하나로부터, 상기 지정된 기능을 수행할 파일을 확인하고, 상기 확인된 파일에 대하여 상기 코드에 기초하여 상기 지정된 동작을 수행하도록 설정될 수 있다. An electronic device (eg, the server 108) according to various embodiments includes a memory (eg, the memory 210 of FIG. 2), a wireless communication module (the wireless communication module 220 of FIG. 2), and a processor (eg: The processor 230 of FIG. 2 includes a code set to perform a designated function on a file that satisfies a specified condition by the processor 230 through the wireless communication module 220. The stored external file is received from the first external electronic device (for example, the electronic device 101 of FIG. 1), and through the wireless communication module 220, the first external electronic device 101 or the second external electronic device ( 104), receiving the first file, storing the first file in the memory 210, and at least one of the first file or at least one file stored in the memory 210, the specified function Check the file to be executed, and confirm the file with the code It can be set to perform the specified operation on the basis of.
일실시예에 따른 전자 장치(108)에 있어서, 상기 프로세서(230)는, 상기 파일에 저장된 상기 코드의 신택스(syntax)를 확인하고, 상기 코드를 컴파일하고, 상기 신택스의 확인 및 상기 코드의 컴파일 결과에 기초하여 상기 파일을 상기 메모리에 저장할 지 결정하도록 설정될 수 있다.  일실시예에 따른 전자 장치(108)에 있어서, 프로세서(230)는, 상기 신택스의 확인 및 상기 코드의 컴파일에 성공하는 경우, 상기 파일을 상기 메모리(210)에 저장하고, 상기 신택스의 확인 또는 상기 코드의 컴파일 중 적어도 하나가 실패하는 경우, 상기 신택스의 확인 및 상기 코드의 컴파일 중 적어도 하나의 실패를 나타내는 정보를 상기 제1 외부 전자 장치(101) 또는 상기 제2 외부 전자 장치(104)로 전송하도록 설정될 수 있다.  일실시예에 따른 전자 장치(108)에 있어서, 상기 프로세서(230)는, 상기 코드가 저장된 파일이 저장된 경로를 확인하고, 상기 미리 저장된 적어도 하나의 파일 또는 신규 업로드 파일 중 적어도 하나에 대하여 상기 지정된 기능이 적용되어 생성된 파일을 상기 코드가 저장된 경로에 저장하도록 설정될 수 있다. 일실시예에 따른 전자 장치(108)에 있어서 상기 프로세서(230)는, 상기 제1 파일이 지정된 포맷을 가지는 지 여부를 확인하고, 상기 제1 파일이 상기 지정된 포맷을 가지는 것으로 확인되면, 상기 코드에 기초하여 상기 확인된 파일에 대하여 상기 코드에 기초하여 상기 지정된 동작을 수행하도록 설정될 수 있다.  일실시예에 따른 전자 장치(108)에 있어서, 상기 프로세서(230)는, 상기 무선 통신 모듈(220)를 통해, 상기 제1 외부 전자 장치(101) 또는 상기 제2 외부 전자 장치(104)로부터 상기 지정된 조건의 변경에 연관되는 정보를 수신하고, 상기 지정된 조건의 변경에 연관되는 정보에 기초하여 상기 지정된 조건을 변경하도록 설정될 수 있다.  일실시예에 따른 전자 장치(108)에 있어서, 상기 프로세서(120)는, 상기 제1 외부 전자 장치(101) 또는 상기 제2 외부 전자 장치(104)가 상기 메모리(210)에 저장되는 상기 파일이 포함된 적어도 하나의 파일의 리스트를 상기 제1 외부 전자 장치(101) 또는 상기 제2 외부 전자 장치(104)의 디스플레이(160)를 통해 표시하도록, 상기 파일이 포함된 리스트에 연관되는 정보를 상기 제1 외부 전자 장치(101) 또는 상기 제2 외부 전자 장치(104)로 전송하도록 설정될 수 있다.  일실시예에 따른 전자 장치(108)에 있어서, 상기 프로세서는, 상기 코드가 저장된 파일이 적어도 하나의 지정된 확장자를 갖는지 확인하고, 상기 코드가 저장된 파일이 상기 적어도 하나의 지정된 확장자를 갖는 경우, 상기 제1 파일의 수신에 따라 상기 코드에 기초하여 상기 지정된 동작을 수행하도록 설정될 수 있다. In the electronic device 108 according to an embodiment, the processor 230 checks the syntax of the code stored in the file, compiles the code, checks the syntax, and compiles the code It can be set to determine whether to save the file in the memory based on a result. In the electronic device 108 according to an embodiment, when the processor 230 confirms the syntax and compiles the code, the processor 230 stores the file in the memory 210 and checks the syntax, or When at least one of the compilation of the code fails, information indicating the syntax and at least one failure during the compilation of the code is sent to the first external electronic device 101 or the second external electronic device 104. Can be set to send. In the electronic device 108 according to an embodiment, the processor 230 checks a path in which the file in which the code is stored is stored, and specifies the at least one of the at least one pre-stored file or a new upload file. The function may be set to store the generated file in a path where the code is stored. In the electronic device 108 according to an embodiment, the processor 230 determines whether the first file has a specified format, and when the first file is determined to have the specified format, the code It can be set to perform the specified operation based on the code for the identified file based on. In the electronic device 108 according to an embodiment, the processor 230 may, from the first external electronic device 101 or the second external electronic device 104 through the wireless communication module 220. It may be set to receive information related to the change of the specified condition, and to change the specified condition based on information related to the change of the specified condition. In the electronic device 108 according to an embodiment, the processor 120 may include the file in which the first external electronic device 101 or the second external electronic device 104 is stored in the memory 210. To display the list of at least one file included through the display 160 of the first external electronic device 101 or the second external electronic device 104, information associated with the list including the file is displayed. It may be configured to transmit to the first external electronic device 101 or the second external electronic device 104. In the electronic device 108 according to an embodiment, the processor checks whether the file in which the code is stored has at least one designated extension, and when the file in which the code is stored has the at least one designated extension, the It may be set to perform the designated operation based on the code according to the reception of the first file.
다양한 실시예에 따른 전자 장치(예: 도 1의 전자 장치(101))는, 디스플레이(예: 도 1의 표시 장치(160)), 외부 전자 장치(예: 도 1의 서버(108))가 지정된 조건을 만족하는 파일에 대하여 지정된 기능을 수행하도록 설정된 코드가 저장된 파일이 저장된 메모리(130), 무선 통신 모듈(190) 및 프로세서(120)를 포함하고, 상기 프로세서(120)는 상기 무선 통신 모듈(190)을 통해, 상기 파일을 상기 외부 전자 장치(108)로 전송하고, 상기 디스플레이(160)를 통해 입력되는 사용자 입력에 따라, 상기 무선 통신 모듈(190)을 통해, 상기 외부 전자 장치(108)로 제 1 파일을 전송하고, 상기 제1 파일에 대하여 상기 코드에 기초하여 상기 지정된 동작이 수행된 파일을 수신할 수 있다. An electronic device (eg, the electronic device 101 of FIG. 1) according to various embodiments includes a display (eg, the display device 160 of FIG. 1) and an external electronic device (eg, the server 108 of FIG. 1). Includes a memory 130, a wireless communication module 190 and a processor 120 in which a file storing a code set to perform a designated function for a file that satisfies a specified condition is stored, and the processor 120 is the wireless communication module The electronic device 108 transmits the file to the external electronic device 108 through 190, and according to a user input input through the display 160, through the wireless communication module 190, the external electronic device 108 ), And may receive a file on which the specified operation is performed based on the code for the first file.
일실시예에 따라, 상기 프로세서는, 적어도 하나의 지정된 확장자를 갖는 상기 코드를 상기 외부 전자 장치로 전송하도록 설정될 수 있다. 일실시예에 따라, 상기 외부 전자 장치(104)가 상기 지정된 파일의 상기 신택스의 확인 또는 상기 코드의 컴파일을 실패하는 경우, 상기 신택스의 확인 또는 상기 코드의 컴파일 중 적어도 하나가 실패함을 나타내는 정보를 수신하고, 상기 프로세서(120)는 상기 디스플레이(160)를 통해 상기 신택스의 확인 또는 상기 코드의 컴파일 중 적어도 하나가 실패함을 나타내는 메시지를 상기 디스플레이(160)를 통해 표시하도록 설정된 전자 장치.  일실시예에 따라, 상기 프로세서(120)는, 상기 무선 통신 모듈(190)를 통해 상기 외부 전자 장치(104)로 지정된 포맷의 이미지 파일을 전송하고, 상기 코드에 기초하여 상기 지정된 포맷의 이미지 파일에 대하여 생성된 썸네일을 수신할 수 있다.  일실시예에 따라, 상기 프로세서(120)는, 상기 디스플레이(160)를 통해 상기 외부 전자 장치(108)가 상기 코드에 기초하여 상기 지정된 동작을 수행하도록, 지정된 포맷을 갖는 상기 지정된 파일을 상기 외부 전자 장치(108)로 전송하도록 하는 사용자 입력을 수신하고, 상기 사용자 입력에 기초하여 상기 지정된 파일을 상기 외부 전자 장치로 전송할 수 있다. According to an embodiment, the processor may be configured to transmit the code having at least one designated extension to the external electronic device. According to an embodiment, when the external electronic device 104 fails to check the syntax of the specified file or compile the code, information indicating that at least one of the verification of the syntax or the compilation of the code fails An electronic device configured to receive a message indicating that the at least one of verification of the syntax or compilation of the code fails through the display 160 through the display 160. According to an embodiment, the processor 120 transmits an image file in a specified format to the external electronic device 104 through the wireless communication module 190, and based on the code, an image file in the specified format You can receive the generated thumbnail for. According to one embodiment, the processor 120, through the display 160, the external electronic device 108 to perform the specified operation based on the code, the specified file having a specified format, the external A user input to be transmitted to the electronic device 108 may be received, and the designated file may be transmitted to the external electronic device based on the user input.
일실시예에 따라, 상기 프로세서(120)는, 상기 디스플레이(120)를 통해, 상기 적어도 하나의 지정된 파일의 지정된 조건을 변경하는 사용자 입력을 수신하고, 상기 무선 통신 모듈를 통해, 상기 적어도 하나의 지정된 파일의  지정된 조건의 변경을 나타내는 정보를 상기 외부 전자 장치로 전송할 수 있다.  일실시예에 따라, 상기 프로세서(120)는, 상기 외부 전자 장치(104)의 메모리(210)에 저장된 적어도 하나의 파일이 포함된 리스트에 연관되는 정보를 상기 외부 전자 장치(104)로부터 수신하고, 상기 디스플레이(160)를 통해 상기 외부 전자 장치(104)의 메모리(210)에 저장된 적어도 하나의 파일이 포함된 리스트를 표시하도록 설정되고, 상기 적어도 하나의 파일은 상기 지정된 파일을 포함할 수 있다. According to an embodiment, the processor 120 receives, through the display 120, a user input for changing a specified condition of the at least one designated file, and through the wireless communication module, the at least one designated Information indicating a change in a designated condition of a file may be transmitted to the external electronic device. According to an embodiment, the processor 120 receives information related to a list including at least one file stored in the memory 210 of the external electronic device 104 from the external electronic device 104. The display 160 is configured to display a list including at least one file stored in the memory 210 of the external electronic device 104, and the at least one file may include the designated file. .
다양한 실시예에 따른 전자 장치(101)는, 디스플레이(160), 외부 전자 장치(104)가 지정된 기능을 수행하도록 설정된 코드가 저장된 메모리(130), 무선 통신 모듈(190) 및 프로세서(120)를 포함하고, 상기 프로세서(120)는 상기 무선 통신 모듈(190)을 통하여, 제 1 사용자 계정을 통하여 적어도 하나의 파일이 저장된 외부 전자 장치(108)로 접속하고, 상기 제 1 사용자 계정과 연관되어 미리 저장된 적어도 하나의 파일 각각을 나타내는 적어도 하나의 오브젝트를, 상기 디스플레이(160)를 통하여 표시하고, 상기 코드를, 상기 무선 통신 모듈(190)을 통하여, 상기 외부 전자 장치(104)로 송신하고, 상기 적어도 하나의 오브젝트와 함께, 상기 코드에 대응하는 추가 오브젝트를, 상기 디스플레이(160)를 통하여 표시하도록 설정될 수 있다.  The electronic device 101 according to various embodiments of the present disclosure includes a display 160, a memory 130 in which codes configured to perform an external electronic device 104 to perform a designated function, a wireless communication module 190, and a processor 120. Including, the processor 120 is connected to the external electronic device 108 through which the at least one file is stored through the wireless communication module 190, a first user account, and is associated with the first user account in advance At least one object representing each of the stored at least one file is displayed through the display 160, the code is transmitted to the external electronic device 104 through the wireless communication module 190, and the Along with at least one object, an additional object corresponding to the code may be set to be displayed through the display 160.
일실시예에 따라, 상기 프로세서는(120), 상기 코드를 상기 외부 전자 장치(104)로 송신하도록 하는 사용자 입력으로서, 상기 코드를 나타내는 오브젝트를, 상기 적어도 하나의 오브젝트가 포함된 영역으로 이동시키는 사용자 입력이 검출되면, 상기 코드를 나타내는 오브젝트를 상기 영역 내로 이동시키고, 상기 코드에 대응하는 상기 추가 오브젝트를 상기 영역 내에 표시하도록 설정될 수 있다.  일실시예에 따라, 상기 미리 저장된 적어도 하나의 파일 또는 신규 업로드 파일 중 적어도 하나에 대하여 상기 지정된 기능이 적용되어 생성된 파일을 나타내는 오브젝트를, 상기 디스플레이를 통해(160), 상기 코드가 상기 외부 전자 장치의 저장된 경로를 나타내는 영역 상에 표시할 수 있다.  일실시예에 따라, 상기 프로세서는, 적어도 하나의 지정된 확장자를 갖는 상기 코드를 상기 외부 전자 장치로 전송하도록 설정될 수 있다.  일실시예에 따라, 상기 프로세서(120)는, 상기 디스플레이(160)를 통해, 상기 코드의 지정된 조건을 변경하는 사용자 입력을 수신하고, 상기 무선 통신 모듈(190)를 통해, 상기 지정된 조건의 변경을 나타내는 정보를 상기 외부 전자 장치(104)로 전송하도록 설정될 수 있다. According to one embodiment, the processor 120, as a user input to transmit the code to the external electronic device 104, moves the object representing the code to an area including the at least one object When a user input is detected, it can be set to move the object representing the code into the area, and to display the additional object corresponding to the code in the area. According to an embodiment, an object representing a file generated by applying the designated function to at least one of the at least one file stored in advance or a new uploaded file, through the display (160), the code is transmitted to the external electronic It can be displayed on the area indicating the stored path of the device. According to an embodiment, the processor may be configured to transmit the code having at least one designated extension to the external electronic device. According to one embodiment, the processor 120, through the display 160, receives a user input to change the specified condition of the code, and through the wireless communication module 190, the change of the specified condition It may be set to transmit information indicating the to the external electronic device 104.
다양한 실시예에 따른 전자 장치(예: 서버(108))를 제어하는 방법은, 무선 통신 모듈(220)을 통해, 프로세서(230)가 지정된 조건을 만족하는 파일에 대하여 지정된 기능을 수행하도록 설정된 코드가 저장된 파일을 제1 외부 전자 장치(예: 도 1의 전자 장치(101))로부터 수신하는 동작, 상기 무선 통신 모듈(220)을 통해, 상기 제1 외부 전자 장치(101) 또는 제2 외부 전자 장치(104)로부터, 제 1 파일을 수신하는 동작, 상기 제 1 파일을 상기 메모리(210)에 저장하는 동작, 상기 제 1 파일 또는 상기 메모리(210)에 저장된 적어도 하나의 파일 중 적어도 하나로부터, 상기 지정된 기능을 수행할 파일을 확인하는 동작, 및 상기 확인된 파일에 대하여 상기 코드에 기초하여 상기 지정된 동작을 수행하는 동작을 포함할 수 있다. A method of controlling an electronic device (for example, the server 108) according to various embodiments of the present disclosure is a code set through the wireless communication module 220 so that the processor 230 performs a designated function on a file satisfying a specified condition. Receiving a stored file from a first external electronic device (eg, the electronic device 101 of FIG. 1), through the wireless communication module 220, the first external electronic device 101 or the second external electronic From the device 104, receiving a first file, storing the first file in the memory 210, from at least one of the first file or at least one file stored in the memory 210, It may include an operation of identifying a file to perform the designated function, and an operation of performing the designated operation based on the code for the identified file.
일실시예에 따른 전자 장치(108)를 제어하는 방법은, 상기 파일에 저장된 상기 코드의 신택스(syntax)를 확인하는 동작, 상기 코드를 컴파일하는 동작, 및 상기 신택스의 확인 및 상기 코드의 컴파일 결과에 기초하여 상기 파일을 상기 메모리에 저장할 지 결정하는 동작을 포함할 수 있다.  일실시예에 따른 전자 장치(108)를 제어하는 방법에 있어서, 상기 신택스의 확인 및 상기 코드의 컴파일에 성공하는 경우, 상기 파일을 상기 메모리(210)에 저장하는 동작, 및 상기 신택스의 확인 또는 상기 코드의 컴파일 중 적어도 하나가 실패하는 경우, 상기 신택스의 확인 및 상기 코드의 컴파일 중 적어도 하나의 실패를 나타내는 정보를 상기 제1 외부 전자 장치(101) 또는 상기 제2 외부 전자 장치(104)로 전송하는 동작을 포함할 수 있다.  일실시예에 따른 전자 장치(108)를 제어하는 방법에 있어서, 상기 코드가 저장된 파일이 저장된 경로를 확인하고, 상기 미리 저장된 적어도 하나의 파일 또는 신규 업로드 파일 중 적어도 하나에 대하여 상기 지정된 기능이 적용되어 생성된 파일을 상기 코드가 저장된 경로에 저장하는 동작을 포함할 수 있다. 일실시예에 따른 전자 장치(108)를 제어하는 방법은, 상기 제1 파일이 지정된 포맷을 가지는 지 여부를 확인하는 동작, 상기 제1 파일이 상기 지정된 포맷을 가지는 것으로 확인되면, 상기 코드에 기초하여 상기 확인된 파일에 대하여 상기 코드에 기초하여 상기 지정된 동작을 수행하는 동작을 포함할 수 있다.  일실시예에 따른 전자 장치(108)를 제어하는 방법은, 상기 무선 통신 모듈(220)를 통해, 상기 제1 외부 전자 장치(101) 또는 상기 제2 외부 전자 장치(104)로부터 상기 지정된 조건의 변경에 연관되는 정보를 수신하는 동작, 및 상기 지정된 조건의 변경에 연관되는 정보에 기초하여 상기 지정된 조건을 변경하는 동작을 포함할 수 있다.  일실시예에 따른 전자 장치(108)를 제어하는 방법은, 상기 제1 외부 전자 장치(101) 또는 상기 제2 외부 전자 장치(104)가 상기 메모리(210)에 저장되는 상기 파일이 포함된 적어도 하나의 파일의 리스트를 상기 제1 외부 전자 장치(101) 또는 상기 제2 외부 전자 장치(104)의 디스플레이(160)를 통해 표시하도록, 상기 파일이 포함된 리스트에 연관되는 정보를 상기 제1 외부 전자 장치(101) 또는 상기 제2 외부 전자 장치(104)로 전송하는 동작을 포함할 수 있다.  일실시예에 따른 전자 장치(108)를 제어하는 방법에 있어서, 상기 프로세서는, 상기 코드가 저장된 파일이 적어도 하나의 지정된 확장자를 갖는지 확인하는 동작, 상기 코드가 저장된 파일이 상기 적어도 하나의 지정된 확장자를 갖는 경우, 상기 제1 파일의 수신에 따라 상기 코드에 기초하여 상기 지정된 동작을 수행하는 동작을 포함할 수 있다. A method of controlling the electronic device 108 according to an embodiment includes: checking the syntax of the code stored in the file, compiling the code, and checking the syntax and compiling the code And determining whether to store the file in the memory based on the. In the method of controlling the electronic device (108) according to an embodiment, when the verification of the syntax and the compilation of the code are successful, storing the file in the memory (210), and checking the syntax, or When at least one of the compilation of the code fails, information indicating the syntax and at least one failure during the compilation of the code is sent to the first external electronic device 101 or the second external electronic device 104. It may include the operation of transmitting. In a method of controlling an electronic device 108 according to an embodiment, a path in which a file in which the code is stored is stored is checked, and the designated function is applied to at least one of the at least one pre-stored file or a new upload file And storing the generated file in a path where the code is stored. The method of controlling the electronic device 108 according to an embodiment is based on the code when determining whether the first file has a specified format or when the first file is determined to have the specified format. By doing so, it may include an operation of performing the designated operation based on the code with respect to the identified file. The method of controlling the electronic device 108 according to an embodiment may include, through the wireless communication module 220, the specified condition from the first external electronic device 101 or the second external electronic device 104. And receiving information related to the change, and changing the specified condition based on information related to the change of the specified condition. The method of controlling the electronic device 108 according to an embodiment includes at least the first external electronic device 101 or the second external electronic device 104 including the file stored in the memory 210. To display a list of one file through the display 160 of the first external electronic device 101 or the second external electronic device 104, information related to the list including the file is external to the first external device. It may include an operation of transmitting to the electronic device 101 or the second external electronic device 104. In a method of controlling an electronic device (108) according to an embodiment, the processor may include: an operation of checking whether a file in which the code is stored has at least one designated extension, and a file in which the code is stored in the at least one designated extension In the case of having, it may include the operation of performing the specified operation based on the code according to the reception of the first file.
다양한 실시예에 따른 전자 장치(예: 도 1의 전자 장치(101))를 제어하는 방법은, 무선 통신 모듈(190)을 통해, 외부 전자 장치(예: 도 1의 서버(108))가 지정된 조건을 만족하는 파일에 대하여 지정된 기능을 수행하도록 설정된 코드가 저장된 파일을 상기 외부 전자 장치(108)로 전송하는 동작, 상기 디스플레이(160)를 통해 입력되는 사용자 입력에 따라, 상기 무선 통신 모듈(190)을 통해, 상기 외부 전자 장치(108)로 제 1 파일을 전송하는 동작, 상기 제1 파일에 대하여 상기 코드에 기초하여 상기 지정된 동작이 수행된 파일을 수신하는 동작을 포함할 수 있다.  일실시예에 따라, 적어도 하나의 지정된 확장자를 갖는 상기 코드를 상기 외부 전자 장치로 전송하는 동작을 포함할 수 있다. 일실시예에 따라, 상기 외부 전자 장치(104)가 상기 지정된 파일의 상기 신택스의 확인 또는 상기 코드의 컴파일을 실패하는 경우, 상기 신택스의 확인 또는 상기 코드의 컴파일 중 적어도 하나가 실패함을 나타내는 정보를 수신하는 동작, 및 상기 프로세서(120)는 상기 디스플레이(160)를 통해 상기 신택스의 확인 또는 상기 코드의 컴파일 중 적어도 하나가 실패함을 나타내는 메시지를 상기 디스플레이(160)를 통해 표시하는 동작을 포함할 수 있다.  일실시예에 따라, 상기 무선 통신 모듈(190)를 통해 상기 외부 전자 장치(104)로 지정된 포맷의 이미지 파일을 전송하는 동작, 및 상기 코드에 기초하여 상기 지정된 포맷의 이미지 파일에 대하여 생성된 썸네일을 수신하는 동작을 포함할 수 있다.  일실시예에 따라, 상기 디스플레이(160)를 통해 상기 외부 전자 장치(108)가 상기 코드에 기초하여 상기 지정된 동작을 수행하도록, 지정된 포맷을 갖는 상기 지정된 파일을 상기 외부 전자 장치(108)로 전송하도록 하는 사용자 입력을 수신하는 동작, 및 상기 사용자 입력에 기초하여 상기 지정된 파일을 상기 외부 전자 장치로 전송하는 동작을 포함할 수 있다. A method of controlling an electronic device (eg, the electronic device 101 of FIG. 1) according to various embodiments may be performed by an external electronic device (eg, the server 108 of FIG. 1) through the wireless communication module 190. The operation of transmitting a file storing a code set to perform a designated function to a file satisfying a condition to the external electronic device 108, the wireless communication module 190 according to a user input input through the display 160 ), Transmitting the first file to the external electronic device 108, and receiving a file in which the specified operation is performed based on the code for the first file. According to an embodiment, the operation may include transmitting the code having at least one designated extension to the external electronic device. According to an embodiment, when the external electronic device 104 fails to check the syntax of the specified file or compile the code, information indicating that at least one of the verification of the syntax or the compilation of the code fails Receiving, and displaying, through the display 160, a message indicating that at least one of verification of the syntax or compilation of the code has failed through the display 160 through the display 160. can do. According to an embodiment, an operation of transmitting an image file of a specified format to the external electronic device 104 through the wireless communication module 190, and a thumbnail generated for the image file of the specified format based on the code It may include the operation of receiving. According to an embodiment, through the display 160, the external electronic device 108 transmits the designated file having a designated format to the external electronic device 108 so that the specified operation is performed based on the code. And receiving an input from the user, and transmitting the designated file to the external electronic device based on the user input.
일실시예에 따라, 상기 디스플레이(120)를 통해, 상기 적어도 하나의 지정된 파일의 지정된 조건을 변경하는 사용자 입력을 수신하는 동작, 및 상기 무선 통신 모듈를 통해, 상기 적어도 하나의 지정된 파일의  지정된 조건의 변경을 나타내는 정보를 상기 외부 전자 장치로 전송하는 동작을 포함할 수 있다.  일실시예에 따라, 상기 외부 전자 장치(104)의 메모리(210)에 저장된 적어도 하나의 파일이 포함된 리스트에 연관되는 정보를 상기 외부 전자 장치(104)로부터 수신하는 동작, 상기 디스플레이(160)를 통해 상기 외부 전자 장치(104)의 메모리(210)에 저장된 적어도 하나의 파일이 포함된 리스트를 표시하는 동작을 포함하고, 상기 적어도 하나의 파일은 상기 지정된 파일을 포함할 수 있다. According to an embodiment, through the display 120, the operation of receiving a user input to change a specified condition of the at least one specified file, and through the wireless communication module, the specified condition of the at least one specified file And transmitting information indicating the change to the external electronic device. According to an embodiment, an operation for receiving information related to a list including at least one file stored in the memory 210 of the external electronic device 104 from the external electronic device 104, the display 160 And displaying a list including at least one file stored in the memory 210 of the external electronic device 104 through, and the at least one file may include the designated file.
다양한 실시예에 따른 전자 장치(101)를 제어하는 방법은, 상기 무선 통신 모듈(190)을 통하여, 제 1 사용자 계정을 통하여 적어도 하나의 파일이 저장된 외부 전자 장치(108)로 접속하는 동작, 상기 제 1 사용자 계정과 연관되어 미리 저장된 적어도 하나의 파일 각각을 나타내는 적어도 하나의 오브젝트를, 상기 디스플레이(160)를 통하여 표시하는 동작, 상기 코드를, 상기 무선 통신 모듈(190)을 통하여, 상기 외부 전자 장치(104)로 송신하는 동작, 및 상기 적어도 하나의 오브젝트와 함께, 상기 코드에 대응하는 추가 오브젝트를, 상기 디스플레이(160)를 통하여 표시하는 동작을 포함할 수 있다. A method of controlling the electronic device 101 according to various embodiments of the present disclosure includes connecting to an external electronic device 108 in which at least one file is stored through a first user account through the wireless communication module 190, the An operation of displaying at least one object representing each of at least one file pre-stored in association with a first user account through the display 160, and displaying the code through the wireless communication module 190, the external electronics. The operation of transmitting to the device 104 and displaying the additional object corresponding to the code through the display 160 together with the at least one object.
일실시예에 따라, 상기 코드를 상기 외부 전자 장치로 송신하도록 하는 사용자 입력으로서, 상기 코드를 나타내는 오브젝트를, 상기 적어도 하나의 오브젝트가 포함된 영역으로 이동시키는 사용자 입력이 검출되면, 상기 코드를 나타내는 오브젝트를 상기 영역 내로 이동시키는 동작, 상기 코드에 대응하는 상기 추가 오브젝트를 상기 영역 내에 표시하는 동작을 포함할 수 있다.  일실시예에 따라, 상기 미리 저장된 적어도 하나의 파일 또는 신규 업로드 파일 중 적어도 하나에 대하여 상기 지정된 기능이 적용되어 생성된 파일을 나타내는 오브젝트를, 상기 디스플레이(160) 상에 표시하는 동작을 포함할 수  있다.  일실시예에 따라, 상기 코드는, 적어도 하나의 지정된 확장자를 가질 수 있다.  일실시예에 따라, 상기 디스플레이(160)를 통해, 상기 코드의 지정된 조건을 변경하는 사용자 입력을 수신하는 동작, 및 상기 무선 통신 모듈(190)를 통해, 상기 지정된 조건의 변경을 나타내는 정보를 상기 외부 전자 장치(104)로 전송하는 동작을 포함할 수 있다. According to an embodiment, as a user input for transmitting the code to the external electronic device, when a user input for moving an object representing the code to an area including the at least one object is detected, indicating the code And moving an object into the region, and displaying the additional object corresponding to the code in the region. According to an embodiment, the operation may include displaying an object representing a file generated by applying the designated function to at least one of the at least one file stored in advance or a new upload file, on the display 160. have. According to an embodiment, the code may have at least one designated extension. According to one embodiment, through the display 160, the operation of receiving a user input to change the specified condition of the code, and through the wireless communication module 190, the information indicating the change of the specified condition is the It may include an operation of transmitting to the external electronic device 104.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치 (예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다. The electronic device according to various embodiments disclosed in the present document may be various types of devices. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device. The electronic device according to the embodiment of the present document is not limited to the above-described devices.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C," "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다. It should be understood that various embodiments of the document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, and include various modifications, equivalents, or substitutes of the embodiment. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C," "at least one of A, B and C", and "A Each of the phrases such as "at least one of,, B, or C" may include any one of the items listed together in the corresponding phrase of the phrases, or all possible combinations thereof. Terms such as “first”, “second”, or “first” or “second” can be used to simply distinguish a component from other components, and to separate components from other aspects (eg, importance or Order). Any (eg, first) component is referred to as a "coupled" or "connected" to another (eg, second) component, with or without the term "functionally" or "communicatively" When mentioned, it means that any of the above components can be connected directly to the other component (eg, by wire), wirelessly, or through a third component.
  본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term "module" as used herein may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic blocks, components, or circuits. The module may be an integrally configured component or a minimum unit of the component or a part thereof performing one or more functions. For example, according to an embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체 는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, "비일시적"은 저장매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다. Various embodiments of the present document may include one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101). It may be implemented as software (e.g., program 140) that includes. For example, a processor (eg, processor 120) of a device (eg, electronic device 101) may call and execute at least one of one or more commands stored from a storage medium. This enables the device to be operated to perform at least one function according to the at least one command called. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The storage medium readable by the device may be provided in the form of a non-transitory storage medium. Here, "non-transitory" only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic waves), and this term is used when data is stored semi-permanently. It does not distinguish between temporary storage cases.
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다. According to one embodiment, a method according to various embodiments disclosed in this document may be provided as being included in a computer program product. Computer program products are commodities that can be traded between sellers and buyers. The computer program product is distributed in the form of a device-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play StoreTM) or two user devices ( It can be distributed (eg, downloaded or uploaded) directly or online between smartphones). In the case of online distribution, at least a portion of the computer program product may be stored at least temporarily in a storage medium readable by a device such as a memory of a manufacturer's server, an application store's server, or a relay server, or may be temporarily generated.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, module or program) of the above-described components may include a singular or a plurality of entities. According to various embodiments, one or more components or operations of the above-described corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg, modules or programs) may be integrated into one component. In this case, the integrated component may perform one or more functions of each component of the plurality of components the same or similar to that performed by the corresponding component among the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component may be executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be executed in a different order, or omitted Or, one or more other actions can be added.

Claims (15)

  1. 전자 장치에 있어서, In the electronic device,
    메모리; Memory;
    무선 통신 모듈; 및 Wireless communication module; And
    프로세서를 포함하고, 상기 프로세서는 It includes a processor, the processor
    상기 무선 통신 모듈을 통해, 상기 프로세서가 지정된 조건을 만족하는 파일에 대하여 지정된 기능을 수행하도록 설정된 코드가 저장된 파일을 제1 외부 전자 장치로부터 수신하고, Through the wireless communication module, the processor receives a file storing a code set to perform a designated function on a file that satisfies a specified condition from a first external electronic device,
    상기 무선 통신 모듈을 통해, 상기 제1 외부 전자 장치 또는 제2 외부 전자 장치로부터, 제 1 파일을 수신하고, A first file is received from the first external electronic device or the second external electronic device through the wireless communication module,
    상기 제 1 파일을 상기 메모리에 저장하고, The first file is stored in the memory,
    상기 제 1 파일 또는 상기 메모리에 저장된 적어도 하나의 파일 중 적어도 하나로부터, 상기 지정된 기능을 수행할 파일을 확인하고, Confirming a file to perform the designated function from at least one of the first file or at least one file stored in the memory,
    상기 확인된 파일에 대하여 상기 코드에 기초하여 상기 지정된 동작을 수행하도록 설정된 전자 장치. An electronic device set to perform the designated operation based on the code with respect to the identified file.
  2. 제1항에 있어서, According to claim 1,
    상기 프로세서는, The processor,
    상기 파일에 저장된 상기 코드의 신택스(syntax)를 확인하고, Check the syntax of the code stored in the file,
    상기 코드를 컴파일하고, Compile the above code,
    상기 신택스의 확인 및 상기 코드의 컴파일 결과에 기초하여 상기 파일을 상기 메모리에 저장할 지 결정하도록 설정된 전자 장치. An electronic device set to determine whether to store the file in the memory based on the result of checking the syntax and compiling the code.
  3. 제2항에 있어서, According to claim 2,
    상기 프로세서는, The processor,
    상기 신택스의 확인 및 상기 코드의 컴파일에 성공하는 경우, 상기 파일을 상기 메모리에 저장하고, If the verification of the syntax and the compilation of the code are successful, the file is stored in the memory,
    상기 신택스의 확인 또는 상기 코드의 컴파일 중 적어도 하나가 실패하는 경우, 상기 신택스의 확인 및 상기 코드의 컴파일 중 적어도 하나의 실패를 나타내는 정보를 상기 제1 외부 전자 장치 또는 상기 제2 외부 전자 장치로 전송하도록 설정된 전자 장치. When at least one of the verification of the syntax or the compilation of the code fails, information indicating the failure of the syntax and the compilation of the code is transmitted to the first external electronic device or the second external electronic device. Electronic device set to be.
  4. 제1항에 있어서, According to claim 1,
    상기 코드가 저장된 파일이 저장된 경로를 확인하고, Check the path where the file where the code is stored is saved,
    상기 미리 저장된 적어도 하나의 파일 또는 신규 업로드 파일 중 적어도 하나에 대하여 상기 지정된 기능이 적용되어 생성된 파일을 상기 코드가 저장된 경로에 저장하도록 설정된 전자 장치. An electronic device configured to store a file generated by applying the designated function to at least one of the pre-stored at least one file or a new upload file in a path in which the code is stored.
  5. 제1항에 있어서, According to claim 1,
    상기 프로세서는, 상기 제1 파일이 지정된 포맷을 가지는 지 여부를 확인하고, The processor checks whether the first file has a specified format,
    상기 제1 파일이 상기 지정된 포맷을 가지는 것으로 확인되면, 상기 코드에 기초하여 상기 확인된 파일에 대하여 상기 지정된 동작을 수행하도록 설정된 전자 장치. If it is determined that the first file has the specified format, an electronic device set to perform the specified operation on the identified file based on the code.
  6. 제1항에 있어서, According to claim 1,
    상기 프로세서는, The processor,
    상기 무선 통신 모듈를 통해, 상기 제1 외부 전자 장치 또는 상기 제2 외부 전자 장치로부터 상기 지정된 조건의 변경에 연관되는 정보를 수신하고, Through the wireless communication module, receiving information related to the change of the specified condition from the first external electronic device or the second external electronic device,
    상기 지정된 조건의 변경에 연관되는 정보에 기초하여 상기 지정된 조건을 변경하도록 설정된 전자 장치. An electronic device set to change the specified condition based on information associated with the change of the specified condition.
  7. 제1항에 있어서, According to claim 1,
    상기 프로세서는, The processor,
    상기 제1 외부 전자 장치 또는 상기 제2 외부 전자 장치가 상기 메모리에 저장되는 상기 코드가 저장된 파일에 대응하는 오브젝트 및 상기 제1 파일에 대응하는 오브젝트가 포함된 리스트를 상기 제1 외부 전자 장치 또는 상기 제2 외부 전자 장치의 디스플레이를 통해 표시하도록, 상기 코드가 저장된 파일에 대응하는 오브젝트 및 상기 제1 파일에 대응하는 오브젝트가 포함된 리스트에 연관되는 정보를 상기 제1 외부 전자 장치 또는 상기 제2 외부 전자 장치로 전송하도록 설정된 전자 장치. The first external electronic device or the second external electronic device may display a list including an object corresponding to a file in which the code is stored in the memory and an object corresponding to the first file. The information related to the list including the object corresponding to the file in which the code is stored and the object corresponding to the first file is displayed on the display of the second external electronic device to the first external electronic device or the second external An electronic device set to transmit to an electronic device.
  8. 제1항에 있어서, According to claim 1,
    상기 프로세서는, The processor,
    상기 코드가 저장된 파일이 적어도 하나의 지정된 확장자를 갖는지 확인하고, Check whether the file in which the code is stored has at least one designated extension,
    상기 코드가 저장된 파일이 상기 적어도 하나의 지정된 확장자를 갖는 경우, 상기 제1 파일의 수신에 따라 상기 코드에 기초하여 상기 지정된 동작을 수행하도록 설정된 전자 장치. When the file in which the code is stored has the at least one designated extension, an electronic device set to perform the designated operation based on the code according to the reception of the first file.
  9. 전자 장치에 있어서, In the electronic device,
    디스플레이; display;
    외부 전자 장치가 지정된 조건을 만족하는 파일에 대하여 지정된 기능을 수행하도록 설정된 코드가 저장된 파일이 저장된 메모리; A memory in which a file in which a code set to perform a specified function is performed for a file that satisfies a specified condition by an external electronic device;
    무선 통신 모듈; 및 Wireless communication module; And
    프로세서를 포함하고, 상기 프로세서는 It includes a processor, the processor
    상기 무선 통신 모듈을 통해, 상기 파일을 상기 외부 전자 장치로 전송하고, Through the wireless communication module, transmit the file to the external electronic device,
    상기 디스플레이를 통해 입력되는 사용자 입력에 따라, 상기 무선 통신 모듈을 통해, 상기 외부 전자 장치로 제 1 파일을 전송하고, A first file is transmitted to the external electronic device through the wireless communication module according to a user input input through the display,
    상기 제1 파일에 대하여 상기 코드에 기초하여 상기 지정된 동작이 수행된 파일을 수신하도록 설정된 전자 장치. An electronic device set to receive a file on which the specified operation is performed based on the code for the first file.
  10. 제9항에 있어서, The method of claim 9,
    상기 프로세서는, 적어도 하나의 지정된 확장자를 갖는 상기 코드를 상기 외부 전자 장치로 전송하도록 설정된 전자 장치. The processor is configured to transmit the code having at least one designated extension to the external electronic device.
  11. 제9항에 있어서, The method of claim 9,
    상기 외부 전자 장치가 상기 지정된 파일의 상기 신택스의 확인 또는 상기 코드의 컴파일을 실패하는 경우, 상기 신택스의 확인 또는 상기 코드의 컴파일 중 적어도 하나가 실패함을 나타내는 정보를 수신하고, When the external electronic device fails to check the syntax of the specified file or compile the code, receives information indicating that at least one of the syntax check or the compilation of the code has failed,
    상기 프로세서는 상기 디스플레이를 통해 상기 신택스의 확인 또는 상기 코드의 컴파일 중 적어도 하나가 실패함을 나타내는 메시지를 상기 디스플레이를 통해 표시하도록 설정된 전자 장치. The processor is configured to display, through the display, a message indicating that at least one of verification of the syntax or compilation of the code has failed through the display.
  12. 제9항에 있어서, The method of claim 9,
    상기 프로세서는, The processor,
    상기 미리 저장된 적어도 하나의 파일 또는 신규 업로드 파일 중 적어도 하나에 대하여 상기 지정된 기능이 적용되어 생성된 파일을 나타내는 오브젝트를, 상기 코드가 상기 외부 전자 장치에 저장된 경로를 나타내는 영역 상에 표시하도록 설정된 전자 장치. An electronic device set to display an object representing a file generated by applying the specified function to at least one of the at least one file or the new uploaded file, on an area representing a path where the code is stored in the external electronic device .
  13. 제9항에 있어서, The method of claim 9,
    상기 프로세서는, The processor,
    상기 디스플레이를 통해 상기 외부 전자 장치가 상기 코드에 기초하여 상기 지정된 동작을 수행하도록, 지정된 포맷을 갖는 상기 지정된 파일을 상기 외부 전자 장치로 전송하도록 하는 사용자 입력을 수신하고, Receiving a user input through the display to transmit the designated file having a specified format to the external electronic device so that the external electronic device performs the specified operation based on the code,
    상기 사용자 입력에 기초하여 상기 지정된 파일을 상기 외부 전자 장치로 전송하도록 설정된 전자 장치. An electronic device configured to transmit the designated file to the external electronic device based on the user input.
  14. 제9항에 있어서, The method of claim 9,
    상기 프로세서는, The processor,
    상기 디스플레이를 통해, 상기 적어도 하나의 지정된 파일의 지정된 조건을 변경하는 사용자 입력을 수신하고, Through the display, receiving user input for changing a specified condition of the at least one designated file,
    상기 무선 통신 모듈를 통해, 상기 적어도 하나의 지정된 파일의  지정된 조건의 변경을 나타내는 정보를 상기 외부 전자 장치로 전송하도록 설정된 전자 장치. An electronic device configured to transmit information indicating a change in a designated condition of the at least one designated file to the external electronic device through the wireless communication module.
  15. 제9항에 있어서, The method of claim 9,
    상기 프로세서는, The processor,
    상기 외부 전자 장치의 메모리에 저장된 상기 코드가 저장된 파일에 대응하는 오브젝트 및 상기 제1 파일에 대응하는 오브젝트가 포함된 리스트에 연관되는 정보를 상기 외부 전자 장치로부터 수신하고, Receiving information from the external electronic device related to a list including an object corresponding to a file in which the code is stored in a memory of the external electronic device and an object corresponding to the first file,
    상기 디스플레이를 통해 상기 코드가 저장된 파일에 대응하는 오브젝트 및 상기 제1 파일에 대응하는 오브젝트가 포함된 리스트를 표시하도록 설정된 전자 장치. An electronic device set to display a list including an object corresponding to a file in which the code is stored and an object corresponding to the first file through the display.
PCT/KR2019/010572 2018-10-02 2019-08-20 Electronic device providing cloud service and operation method thereof WO2020071636A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2018-0117766 2018-10-02
KR1020180117766A KR102666045B1 (en) 2018-10-02 Electronic device for providing cloud service and method for operating thefeof

Publications (1)

Publication Number Publication Date
WO2020071636A1 true WO2020071636A1 (en) 2020-04-09

Family

ID=70055521

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2019/010572 WO2020071636A1 (en) 2018-10-02 2019-08-20 Electronic device providing cloud service and operation method thereof

Country Status (1)

Country Link
WO (1) WO2020071636A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120331438A1 (en) * 2011-06-22 2012-12-27 Microsoft Corporation Media files including programming code and description
US20140012949A1 (en) * 2011-03-16 2014-01-09 EP Visual Design, Inc. Methods and apparatus for managing mobile content
KR20150106773A (en) * 2014-03-12 2015-09-22 삼성전자주식회사 Method and cloud server for managing at least one content
KR20170012442A (en) * 2014-06-30 2017-02-02 구글 인코포레이티드 Automated archiving of user generated media files
US20170052765A1 (en) * 2015-08-17 2017-02-23 Pai-Tsung Lee Method and system for creating app

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140012949A1 (en) * 2011-03-16 2014-01-09 EP Visual Design, Inc. Methods and apparatus for managing mobile content
US20120331438A1 (en) * 2011-06-22 2012-12-27 Microsoft Corporation Media files including programming code and description
KR20150106773A (en) * 2014-03-12 2015-09-22 삼성전자주식회사 Method and cloud server for managing at least one content
KR20170012442A (en) * 2014-06-30 2017-02-02 구글 인코포레이티드 Automated archiving of user generated media files
US20170052765A1 (en) * 2015-08-17 2017-02-23 Pai-Tsung Lee Method and system for creating app

Also Published As

Publication number Publication date
KR20200039053A (en) 2020-04-16

Similar Documents

Publication Publication Date Title
WO2019240543A1 (en) Electronic device including flexible printed circuit board adjacent to antenna
WO2020167050A1 (en) Electronic device, method, and computer readable medium for dynamic layout message
WO2020141763A1 (en) Electronic device and folder configuring method therefor
WO2020166894A1 (en) Electronic device and method for recommending word in same
WO2019182335A1 (en) Electronic device and method for controlling update of electronic device
WO2020122604A1 (en) Electronic device and method for displaying web content in augmented reality mode
WO2019147101A1 (en) Electronic device for classifying malicious code and operation method thereof
WO2019151619A1 (en) Electronic device in which tray for loading sim card is inserted, and control method therefor
WO2020138909A1 (en) Content sharing method and electronic device therefor
WO2021071222A1 (en) Electronic device for transmitting audio data to plurality of external electronic devices, and method for controlling same
WO2018128413A1 (en) Methods and systems for managing application installation
WO2020145653A1 (en) Electronic device and method for recommending image capturing place
WO2020040454A1 (en) Electronic device for controlling divided screen
WO2019160323A1 (en) Method for managing data associated with application and electronic device therefor
WO2020040413A1 (en) Electronic device having key assembly comprising pressure sensor, and operating method therefor
WO2021162439A1 (en) Electronic device performing restoration on basis of comparison of constant value and control method thereof
WO2019164196A1 (en) Electronic device and method for recognizing characters
WO2020071636A1 (en) Electronic device providing cloud service and operation method thereof
WO2021162388A1 (en) Electronic device including storage, and method for transmitting discard command of file system to storage by using same
WO2021101173A1 (en) Electronic device and method for obtaining user identification information of near-field communication apparatus using same
WO2020162699A1 (en) Content sharing method and electronic device therefor
WO2019177396A1 (en) Electronic device and operating method thereof
WO2019160395A1 (en) Method for mapping function of application and electronic device therefor
WO2020060135A1 (en) Electronic device and method for controlling connection of external device using the same
WO2019240404A1 (en) Resource caching method and electronic device supporting same

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: 19869587

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: 19869587

Country of ref document: EP

Kind code of ref document: A1