Method of providing visual script in one-source multi-use support platform and program for performing the method

The one-source multi-use support platform allows simultaneous display and interaction between program screens and their scripts, addressing the challenge of separate tab switching, enhancing development efficiency and usability across multiple browsers and devices.

JP2024163869AActive Publication Date: 2024-11-22INSWAVE SYSTEMS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024076174
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-12-22
Filing Date
2024-05-08
Publication Date
2024-11-22
Estimated Expiration
2044-05-08

AI Technical Summary

Technical Problem

Developers face difficulties in simultaneously checking the program screen and its corresponding script during the development process, especially when using graphical user interfaces, as they need to switch between tabs to view both, making it cumbersome.

Method used

A method and program that utilize a one-source multi-use support platform to divide the development tool's screen into a design editor area and a script editor area, allowing simultaneous display and interaction between components and their script sources, with features like adjustable area proportions, scrolling prioritization, and user event handling to enhance visibility and ease of use.

Benefits of technology

Enables developers to easily check and create scripts alongside the program screen, supporting multiple browsers, devices, and operating systems, thereby improving development efficiency and usability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024163869000001_ABST
    Figure 2024163869000001_ABST
Patent Text Reader

Abstract

To provide a visual script providing method which allows for simultaneously confirming a program screen under development and a script corresponding to the program screen in a program screen development process, and a program for performing the method.SOLUTION: The visual script providing method is performed in one-source multi-use program development device, and the program causes a computer to perform a step of dividing a page editor area of a development tool execution screen executed by the program development device by dividing lines in response to a first user input and a step of setting one of areas divided by the dividing line as a design editor area and setting another area as a script editor area. On the development tool execution screen, the design editor area and the script editor area are outputted together, and a component and a script source associated with each other are displayed in the design editor area and the script editor area respectively.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a method for providing visual scripts in a one-source multi-use support platform and a program for carrying out the method. [Background technology]

[0002] With the advancement of computer technology, various kinds of software are being developed. In order to develop software, a program development device is generally used, and while in the past developers often had to code by hand, software is now developed more easily using a graphical user interface (GUI).

[0003] When developing a program, it is possible to select and place objects such as buttons, boxes, grids, scroll views, etc., which are placed at specific positions on the screen using graphics, but in order to check the script corresponding to the source code for the program screen being developed, it is necessary to switch screens by selecting a different tab. In this case, it is difficult to check the currently designed program screen and the script at the same time.

[0004] As a related patent, Korean Patent No. 10-1282970, which was filed and registered by the present applicant, discloses a situation-aware positioning device and method for screen objects during program development.

[0005] The matters described in the background art of the present invention are intended to aid in understanding the background of the invention, and cannot be deemed to be prior art already known to a person having ordinary skill in the field to which this technology pertains. [Prior art documents] [Patent documents]

[0006] Korean Patent No. 10-1287970 Summary of the Invention [Problem to be solved by the invention]

[0007] The object of the present invention is to provide a method and program for providing visual scripts in a One Source Multi Use (OSMU) supporting platform that allows a user to simultaneously check a program screen being developed and its corresponding script during the program screen development process in supporting multiple browsers, devices, and OS.

[0008] Another object of the present invention is to provide a method and program for providing a visual script in a one-source multi-use support platform, which enables a developer to easily check the source code corresponding to each component on a program screen by focusing on the source code of the script corresponding to a component on the program screen selected by user input during simultaneous output of a program screen and its corresponding script, or by focusing on a component on the program screen corresponding to the source code of the script selected by user input.

[0009] Further objects of the present invention will become more apparent based on the preferred embodiments described below. [Means for solving the problem]

[0010] In order to achieve the above object, according to one aspect of the present invention, there is provided a computer program stored in a computer-readable medium for executing a visual script providing method performed in a one-source multi-use program development device, the computer program causing a computer to perform the following steps, the above steps including, in the visual script providing method performed in the one-source multi-use program development device, a step of dividing a page editor area of ​​a development tool execution screen executed by the program development device with a separator line in response to a first user input; and (b) setting one of the areas divided by the separator line as a design editor area and setting the other as a script editor area, the design editor area and the script editor area are output together on the execution screen of the development tool, and components and script sources associated with each other are displayed in each of the design editor area and the script editor area.

[0011] The dividing line can be moved in response to a second user input to adjust the proportions occupied by the design editor area and the script editor area.

[0012] A design editor area hide button that is only displayed when the mouse is over the bottom of the script editor area is implemented, and when the design editor area hide button is clicked, the design editor area becomes invisible and the script editor area is displayed in the entire page editor area.

[0013] The method may further include the steps of: (c) prioritizing components in a page configuration screen displayed in the design editor area when a scroll operation occurs in the design editor area; and (d) moving the script focus so that the script source related to the component having the highest priority is displayed in the script editor area.

[0014] The priority may be assigned according to the object attributes of the component, or the priority may be assigned based on when the component entered the design editor area.

[0015] (c) when a scroll operation occurs in the script editor area, the script source displayed in the script editor area is changed; and (d) the page configuration screen of the design editor area is focused so that a component implemented by the script source currently displayed in the script editor area is centered on the screen.

[0016] The method may further include the steps of: (c) detecting a user event; (d) identifying a first object selected by the user event; (e) moving focus to a second object corresponding to the user event in an area other than the event occurrence area; and (f) changing the representation manner of the second object.

[0017] When the event occurrence area is the design editor area, the first object may be a component and the second object may be a script source line.

[0018] When the event occurrence area is the script editor area, the first object may be a script source line and the second object may be a component.

[0019] Meanwhile, according to another aspect of the present invention, there is provided a visual script providing method performed in a one-source multi-use program development device, comprising: (a) a step of dividing a page editor area of ​​a development tool execution screen executed by the program development device in response to a first user input, with a dividing line; and (b) a step of setting one of the areas divided by the dividing line as a design editor area and setting the other as a script editor area, wherein the design editor area and the script editor area are output together on the development tool execution screen, and components and script sources that are associated with each other are displayed in each of the design editor area and the script editor area.

[0020] The method may further include: (c) prioritizing components in a page configuration screen displayed in the design editor area when a scroll operation occurs in the design editor area; and (d) moving the script focus so that a script source related to the component having the highest priority is displayed in the script editor area.

[0021] Or, the method may further include: (c) changing the script source displayed in the script editor area when a scroll operation occurs in the script editor area; and (d) focusing the page configuration screen of the design editor area so that a component implemented by the script source currently displayed in the script editor area is at the center of the screen.

[0022] Or, the method may further include the steps of: (c) detecting a user event; (d) identifying a first object selected by the user event; (e) moving focus to a second object corresponding to the user event in an area other than the event occurrence area; and (f) changing the representation manner of the second object.

[0023] Further aspects, features, and advantages will become apparent from the following drawings, claims, and detailed description of the invention. Effect of the Invention

[0024] According to an embodiment of the present invention, in supporting multi-browsers, multi-devices, and multi-OS with one source multi-use, it is possible to simultaneously check the program screen being developed and the corresponding script during the program screen development process.

[0025] Another effect is that while a program screen under development and its corresponding script are being simultaneously output, the source code of the script corresponding to the component on the program screen selected by user input can be focused, or the component on the program screen corresponding to the source code of the script selected by user input can be focused, allowing the developer to easily check the source code corresponding to each component on the program screen.

[0026] The effects obtained by the present invention are not limited to those mentioned above, and other effects not mentioned will be clearly understood by those having ordinary skill in the art to which the present invention pertains from the following description. [Brief description of the drawings]

[0027] [Figure 1] FIG. 1 illustrates an architecture of a user interface platform development system according to an embodiment of the present invention. [Diagram 2] 1 is a configuration block diagram of a program development device according to an embodiment of the present invention; [Diagram 3] 2 is a flowchart of a method for providing a visual script according to an embodiment of the present invention. [Figure 4] 2 is a flowchart of a method for providing a visual script according to an embodiment of the present invention. [Diagram 5] FIG. 13 is a diagram showing a development tool screen to which a toggle function of the visual script function is applied. [Figure 6] FIG. 13 is a diagram showing a development tool screen to which an interaction function of the visual script function is applied. [Figure 7] FIG. 13 is a diagram showing a development tool screen to which an interaction function of the visual script function is applied. [Figure 8] 1 is a diagram showing a configuration of a system according to an embodiment of the present invention; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0028] Since the present invention can be modified in various ways and can have a plurality of embodiments, a specific embodiment will be illustrated in the drawings and described in detail, however, it is not intended to limit the present invention to the specific embodiment, and it should be understood that the present invention includes any modifications, equivalents, or alternatives within the spirit and technical scope of the present invention.

[0029] When an element is referred to as being "coupled" or "connected" to another element, it should be understood that it may be directly coupled or connected to the other element, but that there may be other elements between them. On the other hand, when an element is referred to as being "directly coupled" or "directly connected" to another element, it should be understood that there are no other elements between them.

[0030] Terms such as first and second may be used to describe various components, but the components should not be limited by the terms. The terms are used only to distinguish one component from another.

[0031] The terms used in this application are merely used to describe certain embodiments and are not intended to limit the present invention. A singular expression includes a plural expression unless the context clearly indicates otherwise. In this application, the terms "include" or "have" are intended to specify the presence of a feature, number, step, operation, component, part, or combination thereof described in the specification, and are not intended to preclude the presence or additional possibility of one or more other features, numbers, steps, operations, components, parts, or combinations thereof.

[0032] In this specification, the term "unit" includes a unit implemented by hardware, a unit implemented by software, and a unit implemented by both. Also, one unit may be implemented by two or more pieces of hardware, and two or more units may be implemented by one piece of hardware. Meanwhile, the term "unit" is not limited to software or hardware, and the "unit" may be configured to be in an addressable recording medium and to execute one or more processors. Thus, as an example, the term "unit" includes components such as software components, object-oriented software components, class components, task components, processes, functions, attributes, procedures, subroutines, program code segments, drivers, firmware, microcode, circuits, data, databases, data structures, tables, arrays, and variables. The components and functions provided in the "units" may be combined by fewer components and "units" or further separated into additional components and "units". Furthermore, the components and "units" may be embodied to execute one or more CPUs in a device.

[0033] Furthermore, it is to be understood that the components of the embodiments described with reference to each drawing are not limited to the applicable embodiment only, but may be embodied to be included in other embodiments within the scope of the technical idea of ​​the present invention, and that separate explanations may be omitted or multiple embodiments may be re-embodied as a single integrated embodiment.

[0034] In addition, when describing the present invention with reference to the accompanying drawings, the same or related reference numbers are used for the same components regardless of the drawing numbers, and duplicate descriptions thereof will be omitted. In describing the present invention, if a detailed description of related known technology is deemed to unnecessarily obscure the gist of the present invention, the detailed description thereof will be omitted.

[0035] FIG. 1 is a diagram illustrating the architecture of a user interface platform development system according to an embodiment of the present invention.

[0036] A user interface platform development system 1 according to one embodiment of the present invention supports various client smart device and web browser environments, and the server environment supports platform independence for any web application server (WAS, Web Application Server), any framework, any OS, etc. that supports J2EE (Java 2 Enterprise Edition).

[0037] Hereinafter, the user interface platform development software according to this embodiment will be referred to as WebSquare, which is developed and sold by the applicant.

[0038] The user interface platform development system 1 includes a client 30 used by a user, a development tool 20 (also called a 'studio') used by a developer, and a server 10 that enables the development of web square screen files in the development tool 20 upon request from the client 30.

[0039] The development tool 20 provides an environment in which a developer can develop a Web Square screen file related to a business system. A client engine is installed in the client 30, and the client engine displays the Web Square screen file on a browser.

[0040] The client 30 is written in JavaScript and is based on the AJAX architecture. It supports dynamically executed UI components such as grids, charts, etc. It may also include communication and other UI related utilities. The client engine included in the client 30 may have a Single Page Application (SPA) structure.

[0041] The client engine may include modules such as UDC, page components, project components, MSA components, grid layout, UI components, MSA message hub, cross MSA resource sharing, data collection, module loader, plausible workflow, logging / debugging, etc.

[0042] Components are basic files that can be used to develop Pages, Project UDCs, MSA UDCs, UDCs, and TTCs. All screens of a business system can be composed of structured components, which can be reused anywhere to support efficient operation.

[0043] Web Square Page Component is a basic screen file used in the form of a component. It supports the newly added Project UDC, MSA UDC, UDC, and TTC. The file extension is xml.

[0044] UDC is an abbreviation for User Defined Component, and is a user-defined component registered in the studio palette.

[0045] TTC stands for Trust Third-Part Component and helps you use external solutions as webpage components.

[0046] A Project UDC is a common function file that contains common functions used throughout a project. It is defined in the Websquare preferences and is automatically loaded when the Websquare engine is loaded.

[0047] MSA UDC is a common function file that contains common functions to support Micro Frontends. It is defined in the Websquare environment settings and loads resources on the server where the microservice runs when the associated Websquare engine is loaded.

[0048] The components broadly include interior components, SP4 UDC components, and web square components.

[0049] The built-in components include GridView, Grid, Table, Combo, Input, TabControl, etc. These are the basic components provided by Web Square.

[0050] SP4 UDC components are SP4 UDC and SPC TTC. UDC is a user-defined component standard that developers can add directly. TTC is a component product added through collaboration with solution manufacturers.

[0051] Web Square components include UDC, TTC, Project UDC, and MSA UDC. UDC and TTC are page-based user-defined components introduced to increase the reusability of UI elements (pages) developed by developers. By simplifying / structuring existing pages (XML), all pages can be developed as components. Coupling between pages can be reduced to modularize them.

[0052] Project UDCs are global UDCs and are components that can be called on all screens. They can be used to develop common business UDCs to maximize reuse.

[0053] MSA UDC is a UDC for implementing micro-frontends and enables cross-domain processing by applying MSA.

[0054] Data Collection is a module for intuitive and consistent data management in table format. It provides an API similar to the grid component, allowing developers to easily operate in grid format.

[0055] Promise Workflow makes asynchronous processing programming, which was previously complicated and difficult when developing with HTML5, simple and easy through an intuitive GUI.

[0056] The server 10 holds application resources (images, HTML, JS, CSS, XML, etc.). The server architecture includes utilities for adapters, file upload / download, access I / E (import / export), license management, etc. Also, as modules for framework interfaces, business common, business module, DBIO, and system common modules can be included.

[0057] The server 10 is implemented independently of the OS, DBMS, and WAS, and can support platform independence.

[0058] The development tool 20 provides an integrated development environment using the WYSIWYG method, and can assist developers in easy development. A developer can draw components, add scripts, check screens, and perform debugging, etc., all at once through the development tool 20.

[0059] Furthermore, the development tool 20 can perform configuration management (SCM, Software Configuration Management) using SVN / CVS / Git, etc. Commercial configuration management solutions can be linked to vendor plug-ins provided by vendors.

[0060] The development tool 20 may include modules such as W-Pack (source compiler), design system, snippets, Git / SVN, MSA message hub editor, WRM component, grid layout editor, layout manager, page component editor, design editor, code editor, and message interface. It also supports reusable common business UDC.

[0061] When a client 30 installed in various devices (PC, tablet, smartphone, smart TV, etc.) makes a request (HTTP REST API (JSON / XML)) to the web server 10, the web server 10 finds a resource, exchanges data with the web application server, and transmits a response (HTTP REST API (JSON / XML)) corresponding to the request to the client 30. JS screen source can be distributed through a connection between the web server 10 and the development tool 20.

[0062] In this embodiment, in order to support a microservice architecture (MSA), it is possible to have a micro-front-end architecture with an MSA message broker and a cross MSA resource sharing function.

[0063] In addition, performance can be improved through single page applications (SPA), engine optimization (Engine Optimizer), resource optimization (W-Pack), and support for large volume data processing.

[0064] Through its open architecture, it can support any web application server, any framework, any OS, and can help improve development productivity by recycling open source. It also supports easy integration with various open / commercial libraries and integration with various security solutions.

[0065] Figure 2 is a configuration block diagram of a program development device according to one embodiment of the present invention, Figures 3 and 4 are flowcharts of a visual script providing method according to one embodiment of the present invention, Figure 5 is a diagram showing a development tool screen to which a toggle function of the visual script function is applied, and Figures 6 and 7 are diagrams showing a development tool screen to which an interaction function of the visual script function is applied.

[0066] A program development device according to an embodiment of the present invention is software used by a developer when developing a program, and corresponds to the development tool described above. A graphical user interface (GUI) allows intuitive editing operations such as creating, selecting, moving, resizing, changing the order, and changing the parent of objects.

[0067] An object according to this embodiment is a component that is placed at a specific position on a screen in a graphic format during program development. For example, it can be a button, list box, combo box, edit box, grid, table, scroll view, window, etc. A lower-level object (child object) can be an object that is placed in a higher-level object (parent object) and has its position specified.

[0068] In particular, this embodiment is characterized by simultaneously displaying a design editor area that intuitively shows the page structure of a program screen being developed using a development tool, and a script area that shows the script source related to the structure of the program screen, thereby enabling a developer to check the page structure and source code of the program screen together, thereby improving development convenience.

[0069] Referring to FIG. 2, a program development device 100 according to the present embodiment may include a screen configuration unit 110, a visual script providing unit 120, a program generation unit 130, and a control unit 140.

[0070] The screen configuration unit 110 configures the execution screen (development tool screen) of the program development device that is output from the user terminal to the display unit. If the content to be displayed is larger than the screen, the content can be displayed by using scrolling.

[0071] A user terminal is a general-purpose or specialized computing device such as a handheld PC, notebook computer, laptop computer, pad, server, smartphone, etc., and may also include a terminal capable of performing certain computing operations by being equipped with a microprocessor capable of multimedia playback functions.

[0072] In addition, the user terminal may be a terminal that is pre-installed so that an application that provides a visual script during program development in accordance with this embodiment or a program module with a corresponding function can be operated, or that can be downloaded via a network.

[0073] The display unit of the user terminal may be a device capable of outputting graphic information such as images and text in various implementation methods, such as an LCD, an OLED, a CRT, a 3D display, or other flexible displays.

[0074] The display unit of the user terminal according to this embodiment may include functions such as screen zoom-in, zoom-out, screen movement, and scrolling.

[0075] The content displayed on the screen of the user terminal may be data stored in the program development device or data downloaded via the Internet through a network connection.

[0076] Also, the display unit of the user terminal may be implemented as a touch screen. In this case, the touch information processing unit may sense a touch point on the screen and process event information occurring at the corresponding position.

[0077] The development tool screen provided by the program development device can be divided into a project search area, a palette area, a design editor area, an info area, a script editor area, a source view area, and an attribute view area.

[0078] In the project navigation area, you can see the projects and files in your workspace. You can view and change workspaces through the Switch workspace menu.

[0079] In the palette area, you can check at a glance the components, UDCs, TTCs, snippets, etc. provided by the program development device. You can also search for components by entering the component name in the search box.

[0080] The design editor area corresponds to the program screen, or page, that the developer wants to develop. It is a WYSIWYG component design space, where the developer can draw the component selected in the palette area.

[0081] The steps to design a component are as follows:

[0082] Select a component in the Palette area. Draw the selected component at the desired location in the Design Editor area. Edit the attributes, configuration and style of that component in the corresponding view.

[0083] The Info area is where you register related information when you register and use a developed screen as a page component. Using tabs such as General, Component, Attributes, API, and Event, you can register general information about the screen and page component, and add attributes, functions, and events of the page component.

[0084] The script editor area is an editor area that supports JavaScript syntax (e.g., ES6, ES2020, etc.). Developers can directly implement complex functions using events and functions. Tooltips about function types can be provided when the mouse is over. Or, functions such as search / copy / format can be used using the context menu.

[0085] Additionally, when creating a script in the script editor area, an AutoComplete feature may be provided when a particular key or key combination is pressed.

[0086] The source view area is a space where source code (e.g., XML source) is automatically generated and displayed for the work done in the design editor area. The source view area functions as a source code editor, allowing developers to directly view and further edit the XML source.

[0087] The attribute view area is a space in which the attributes of the component selected in the design editor area are displayed. When an attribute is selected in the attribute view area, information about the attribute can be displayed as a tooltip.

[0088] In the page editor area of ​​the development tool screen, which corresponds to a page, the design editor area, script editor area, and source view area can be selectively displayed in a tab view format. However, in this case, in order for a developer to check the script-related content as well as the design aspects of the page currently being developed, he or she must switch to another tab, which is inconvenient as it is not possible to see at a glance.

[0089] Therefore, in this embodiment, the visual script providing unit 120 can provide a visual script that displays a program screen design related to the configuration of a page corresponding to the screen of the device on which the developed program is executed and a script corresponding to the configuration of the page together so that they can be viewed on one screen.

[0090] Visual scripting allows you to quickly create scripts without switching screens while checking the components in the design editor area.

[0091] Detailed features of visual scripts may include toggle and interaction features, which are described in more detail below with reference to the associated figures.

[0092] The program generator 130 can generate an executable file by compiling a program developed through the visual script function.

[0093] The control unit 140 controls each of the above-mentioned functional units, such as the screen configuration unit 110, the visual script providing unit 120, and the program generating unit 130, so that the functional units perform their own unique functions while interlocking with each other.

[0094] Referring to FIG. 3, a method of providing a visual script when a toggle function among visual script functions is applied is shown.

[0095] It is assumed that the program development apparatus 100 is executed (step S200), and a visual script is activated by the visual script providing unit 120 (step S210).

[0096] When a user input for activating a toggle function is received (step S220), the visual script providing unit 120 can split the page editor area 410 of the development tool execution window 400 (step S230).

[0097] The page editor area 410 may be divided into two areas by a separator line 412. One of the areas may be assigned to a design editor area 420, and the other area may be assigned to a script editor area 430.

[0098] Therefore, the design editor area 420 and the script editor area 430 can be output together on one screen (step S240).

[0099] 5 shows a case where the separator 412 is embodied as a vertical line, with the left side area being assigned to the design editor area 420 and the right side area being assigned to the script editor area 430. However, it goes without saying that the separator may be embodied as a horizontal line other than a vertical line.

[0100] Thereafter, the following toggle functions can be further performed according to the user input (step S250).

[0101] The dividing line 412 can be moved by a user input such as mouse click and drag or touch drag. When the dividing line 412 is moved, the size of the two areas divided by the dividing line 412, i.e., the ratio of the two areas, can be adjusted. Therefore, the developer can allocate a larger screen to either the design editor area 420 or the script editor area 430 that are displayed together on one screen.

[0102] When the toggle function is activated, buttons or icons (hereinafter referred to as 'buttons') for specific functions are provided at the bottom of the script editor area 430. The button 414 is a design editor area hiding button that serves to hide the design editor area 420, and when the button is selected, the design editor area 420 is hidden and the script editor area 430 occupies the entire page editor area 410, so that only the contents of the script are visible.

[0103] The design editor area hidden button 414 can be embodied so as to be visible only when the mouse is over it.

[0104] Next, referring to FIG. 4, a method of providing a visual script when an interaction function of the visual script function is applied is shown.

[0105] When the visual script is activated (step S310), the design editor area 420 and the script editor area 430 can be output together on one screen (step S320).

[0106] Mutually associated components and script sources can be displayed in each of the design editor area 420 and the script editor area 430. Therefore, the components drawn in the design editor area 420 and the script source lines displayed in the script editor area 430 correspond to each other, allowing the developer to visually grasp the interrelationships easily.

[0107] When the currently displayed page composition screen is scrolled up or down due to a scroll operation of the design editor area 420, the script source related to the component currently displayed in the design editor area 420 can be displayed in the script editor area 430.

[0108] In this case, a priority is assigned to the components included in the page configuration screen displayed in the design editor area 420, and the script focus can be moved so that the script source related to the component having the highest priority is displayed in the script editor area 430.

[0109] Priority can be assigned according to object attributes that the components possess, i.e. parent objects can have a higher priority and child objects can have a lower priority.

[0110] Alternatively, the priority may be assigned based on the time of entry into the design editor area 420. A high priority may be assigned to a component that newly enters the design editor area 420 by a scroll operation, and the script source related to that component may be displayed in the script editor area 430.

[0111] This can also be applied in the reverse case: when the currently displayed script source is changed due to a scroll operation of the script editor area 430, the page configuration screen of the design editor area 420 may be focused so that the component implemented by the script source currently displayed in the script editor area 430 is the center of the screen.

[0112] Next, the visual script providing unit 120 detects a user event (step S330). The user event may be a user input such as a mouse click or a touch.

[0113] The area in which the user event occurred is identified (step S340). Since the page editor area 410 is divided into the design editor area 420 and the script editor area 430, it is possible to identify which of the two areas the user event occurred in.

[0114] Furthermore, a first target selected by a user event is identified: if a user event occurs in the design editor area 420 (first event), the first target is a component, and if a user event occurs in the script editor area 430 (second event), the first target is a script source line.

[0115] In an area other than the event occurrence area, the focus is moved to a second object corresponding to the user event (step S350), and the expression method for the second object is changed so that the developer can grasp at a glance the second object associated with the first object.

[0116] The second object is a related part of the first object: if the first object is a component, the second object is a script source line, and if the first object is a script source line, the second object is a component.

[0117] When one of the components drawn in the design editor area 420 is selected (by a mouse click, touch, etc.) as the first event, the script focus can move to one of the script source lines or a function related to the selected component. Here, the script focus can be a cursor, or the script focus can be a highlight on the line or function.

[0118] The line to which the script focus moves is the first line of the script source lines related to the function related to the component. If the script source lines related to the function contain annotations, the script focus can also move to the first line of the coding lines that correspond to the actual program code excluding the annotations.

[0119] In addition, if there are two or more script source lines including the component ID related to the component, the script focus basically moves to the script source line where the component ID first appears. After that, the script focus can be moved to other script source lines where the component ID appears by user input.

[0120] Referring to FIG. 6, when the [Editor ID].getHTML() button component is selected in the design editor area 420 of the two divided areas in the page editor area 410, the script focus 435 moves to the line (line 19) related to that button component in the script editor area 430.

[0121] Next, as a second event, when any one of the lines of the script source displayed in the script editor area 430 is selected (by a mouse click, touch, etc.), the component related to that source line among the components in the design editor area 420 can be focused.

[0122] The focused component can be identified by analyzing the selected script source line and reading the component ID contained in the source line, or by finding information about the component associated with the event processed by the function block containing the selected script source line.

[0123] Referring to FIG. 7, when a line relating to a date string among the Spinner components is selected in the script editor area 430, one of the two divided areas in the page editor area 410, the component 425 relating to the date string among the Spinner components may be displayed in a manner distinct from the other components in the design editor area 420.

[0124] As a method of expressing related components, various effects can be applied, such as changing to a pre-specified color, changing the font type, a blinking effect, a neon effect, a shadow effect, and a rotation effect.

[0125] The program development device of this embodiment enables a developer to view the screen design and script for the program screen he or she is trying to develop on a single screen, thereby enabling him or her to check the design components and also create scripts, thereby improving usability for developers and enabling easy and intuitive development.

[0126] FIG. 8 is a diagram showing a configuration of a system according to an embodiment of the present invention.

[0127] 8, the program development apparatus 100 includes a processor 510 and a memory 520. The memory 520 stores one or more instructions executable by the processor 510. The processor 510 executes the one or more instructions stored in the memory 520. The processor 510 can perform one or more of the operations described above with reference to FIGS. 3 to 7 by executing the instructions. Furthermore, the configurations of the present invention described above with reference to FIG. 2 may be configured to be embodied by the instructions executed by the processor 510.

[0128] The above-described embodiments may be implemented using hardware components, software components, and / or a combination of hardware and software components. For example, the devices, methods, and components described in the embodiments may be implemented using one or more general-purpose or special-purpose computers, such as, for example, a processor, a controller, a central processing unit (CPU), a graphics processing unit (GPU), an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA), a programmable logic unit (PLU), a microprocessor, an application specific integrated circuit (ASICS), or any other device capable of executing and responding to instructions.

[0129] The above-mentioned visual script providing method may also be embodied in the form of a recording medium including computer executable instructions such as an application or program module executed by a computer. A computer readable medium may be any available medium accessible by a computer, including both volatile and non-volatile media, and both separate and non-separate media. Furthermore, a computer readable medium may include a computer storage medium. A computer storage medium includes both volatile and non-volatile, separate and non-separate media embodied in any method or technology for storing information such as computer readable instructions, data structures, program modules, or other data.

[0130] The above-mentioned visual script providing method may be performed by an application (which may include a program included in a platform or operating system that is basically installed in the terminal) that is basically installed in the terminal, or may be performed by an application (i.e., a program) that a user directly installs in the master terminal via an application providing server such as an application store server, an application or a web server related to a corresponding service. In this sense, the above-mentioned visual script providing method may be embodied in an application (i.e., a program) that is basically installed in the terminal or that is directly installed by the user, and may be recorded in a computer-readable recording medium such as a terminal.

[0131] Although the present invention has been described above with reference to an embodiment thereof, it will be understood by those skilled in the art that the present invention can be modified and changed in various ways without departing from the spirit and scope of the present invention as set forth in the claims below. [Explanation of symbols]

[0132] 100: Program development equipment 110: Screen configuration section 120: Visual script provider 130: Program generation unit 140: Control unit 400: Development tools 410: Page Editor Area 412: Divider line 414: Design editor area hidden button 420: Design Editor Area 430: Script Editor Area

Claims

1. A computer program stored on a computer-readable medium for executing a visual script providing method performed in a one-source multi-use program development device, the computer program causing a computer to execute the following steps, the steps comprising: (a) dividing a page editor area of ​​a development tool execution screen by a dividing line in response to a first user input by the program development device; (b) setting one of the areas divided by the dividing lines as a design editor area intuitively showing the page configuration of a program screen to be developed, and setting the other as a script editor area showing a script source related to the configuration of the program screen, the design editor area and the script editor area are output together on an execution screen of the development tool, and components and script sources associated with each other are displayed in each of the design editor area and the script editor area; prioritizing components within a page configuration screen displayed in the design editor area when a scroll action occurs in the design editor area; and moving the script focus such that a script source for a component having a highest priority is displayed in the script editor area.

2. 2. The computer program stored on a computer-readable medium according to claim 1, wherein the dividing line is moved in response to a second user input to adjust the proportion of the design editor area to the script editor area.

3. 2. The computer program stored on a computer-readable medium according to claim 1, wherein a design editor area hide button is embodied at the bottom of the script editor area, the design editor area being hidden only when the mouse is over the design editor area, and when the design editor area hide button is clicked, the design editor area is made invisible and the script editor area is displayed over the entire page editor area.

4. 2. The computer program product stored on a computer-readable medium of claim 1, wherein the priority is assigned according to object attributes of the components.

5. 2. The computer program product stored on a computer-readable medium according to claim 1, wherein the priority is assigned based on a time point when the component enters the design editor area.

6. (c) changing the script source displayed in the script editor area when a scroll operation occurs in the script editor area; 2. The computer program stored on a computer-readable medium of claim 1, further comprising: (d) a step of focusing the page composition screen of the design editor area so that a component implemented by a script source currently displayed in the script editor area is at the center of the screen.

7. (c) sensing a user event; (d) identifying a first object selected by a user event; (e) moving the focus to a second object corresponding to the user event in another area other than the event occurrence area; 2. The computer program stored on a computer readable medium of claim 1, further comprising: (f) modifying the representation of the second object.

8. When the event occurrence area is a design editor area, 8. The computer program stored on a computer-readable medium of claim 7, wherein the first object is a component and the second object is a script source line.

9. When the event occurrence area is the script editor area, 8. The computer program product stored on a computer-readable medium of claim 7, wherein the first object is a script source line and the second object is a component.

10. A visual script providing method performed in a one-source multi-use program development device, comprising: (a) dividing a page editor area of ​​a development tool execution screen by a dividing line in response to a first user input by the program development device; (b) setting one of the areas divided by the dividing lines as a design editor area intuitively showing the page configuration of a program screen to be developed, and setting the other as a script editor area showing a script source related to the configuration of the program screen, the design editor area and the script editor area are output together on an execution screen of the development tool, and components and script sources associated with each other are displayed in each of the design editor area and the script editor area; prioritizing components within a page configuration screen displayed in the design editor area when a scroll action occurs in the design editor area; moving script focus so that a script source for a component having a highest priority is displayed in the script editor area.

11. (c) changing the script source displayed in the script editor area when a scroll operation occurs in the script editor area; The visual script providing method of claim 10, further comprising: (d) focusing the page composition screen of the design editor area so that a component implemented by the script source currently displayed in the script editor area is at the center of the screen.

12. (c) sensing a user event; (d) identifying a first object selected by a user event; (e) moving the focus to a second object corresponding to the user event in another area other than the event occurrence area; 11. The method of claim 10, further comprising the step of: (f) modifying the expression of the second object.