Electronic device and method for managing data input to an input field
Through the implementation of data management functions in electronic devices, the problem of data loss when electronic device is connected to the external display device is solved, the data is automatically stored and inserted, and the convenience of user experience and data input is improved.
Patent Information
- Application Number
- CN201880075856.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2017-11-24
- Filing Date
- 2018-11-21
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2038-11-21
AI Technical Summary
When an electronic device is connected to an external display device, data entered into the input field is easily lost, especially when the user interface is converted from one format to another.
By implementing data management functions in electronic devices, the data that can be entered in the webpage in the first format can be stored and automatically inserted into the corresponding input bar in the webpage in the second format. Specific implementation methods include in the processor's instructions, receiving data input, storing data, and changing the data in the webpage format into the corresponding input bar.
Even if the application is restarted or the user interface format changes, the input data will not be lost. Users can easily enter the data, and the data list is displayed in the appropriate order, which improves the user experience.
Smart Images

Figure CN111417937B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to a technology for an electronic device to manage data input to an input field included in a web page. Background Art
[0002] The use of mobile electronic devices (such as smartphones, tablet computers, and wearable devices) continues to grow in the world. These electronic devices perform increasingly diverse functions, such as calling, wireless communication, video playback, and web searching.
[0003] The electronic device is used independently or when connected to an external display device (such as a monitor or a television set). For example, the electronic device is connected to the monitor or the television set by wire or wirelessly to output content, such as an image or text, to the external display device.
[0004] The above information is presented as background information only to assist with an understanding of the present disclosure. No determination has been made, and no assertion is made, as to whether any of the above might be applicable as prior art with respect to the present disclosure. Summary of the invention
[0005] Technical issues
[0006] An electronic device can be connected to an external display device while executing an application that displays a user interface (UI) including an input bar. As an example, when an electronic device is connected to an external display device, the electronic device can terminate the currently running application and then restart the operation or display another UI different from the displayed UI on the external display device. As another example, when the electronic device is connected to the external display device while data is input into the input bar, the input data is often lost. As another example, when an event such as a user change occurs, the electronic device will terminate the displayed web page and display another web page, usually in another format. In these cases, the data input into the input bar is often lost.
[0007] Aspects of the present disclosure at least address the above-mentioned problems and / or disadvantages, and provide at least the advantages described below. Therefore, one aspect of the present disclosure relates to an electronic device capable of managing data to input data input into an input field included in a web page of a first format into an input field included in a web page of a second format.
[0008] Technical Solution
[0009] According to one aspect of the present disclosure, an electronic device is disclosed, including a display, a communication circuit, at least one processor and a memory, the memory storing instructions, the instructions being executable by the at least one processor to enable the electronic device to: display a first web page in a first format on the display, the first web page including a first input field and a first markup language tag identifying the first input field; receive data input to the first input field, store the input data in the memory, display a second web page in a second format, a second input field and a second markup language tag identifying the second input field on the display or an external display device, wherein the second web page includes at least a portion of the content of the first web page, compare the first markup language tag with the second markup language tag; and based on the comparison result, insert the stored input data into the second input field.
[0010] According to another aspect of the present disclosure, an electronic device is disclosed, including: a touch screen display, at least one processor and a memory, the memory storing instructions, the instructions being executable by the at least one processor to enable the electronic device to: run an application in a first operating state; display a first user interface (UI) of the application on the touch screen display, the first UI including a first input field and a first identifier identifying the first input field; receive data input to the first input field via the touch screen display; change the first operating state to a second operating state in response to detecting a specific event; re-run the application in the second operating state in response to the detected event; send data of the second UI of the re-run application to an external display device for display, the second UI including a second input field and a second identifier corresponding to the second input field, and when the first identifier corresponds to the second identifier, insert the received data input into the second input field.
[0011] According to another aspect of the present disclosure, a method in an electronic device is disclosed, including: running an application in a first operating state; displaying a first user interface (UI) of the application on a touch screen display, the first UI including a first input field and a first identifier identifying the first input field; receiving data input to the first input field via the touch screen display; changing the first operating state to a second operating state in response to detecting a specific event; re-running the application in the second operating state in response to the detected event; sending data of the second UI of the re-run application to an external display device for display, the second UI including a second input field and a second identifier corresponding to the second input field; and when the first identifier corresponds to the second identifier, inserting the received data input into the second input field.
[0012] Beneficial Effects
[0013] According to the above, even if the application is restarted, the electronic device can automatically manage the data input to the input field.
[0014] According to the above, the electronic device can automatically display a list including data that has not been input, so the user can conveniently input data.
[0015] According to the above, the electronic device can display a data list in an order suitable for an input field, thereby improving convenience.
[0016] Other aspects, advantages, and salient features of the disclosure will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the annexed drawings, discloses various embodiments of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The above and other aspects, features and advantages of certain embodiments of the present disclosure will become more apparent from the following description in conjunction with the accompanying drawings, in which:
[0018] Figure 1 is a block diagram showing an electronic device according to an embodiment;
[0019] Figure 2a is a view showing an electronic device displaying a first UI including a plurality of first input fields according to an embodiment;
[0020] Figure 2b is a view showing an electronic device displaying a second UI including a plurality of second input fields on an external display device according to an embodiment;
[0021] Figure 3 is a flow chart illustrating a method for managing data according to an embodiment;
[0022] Figure 4a is a view showing a first UI according to an embodiment, in which data is input into one of a plurality of first input fields;
[0023] Figure 4b is a diagram showing a method according to an embodiment of the present invention. Figure 4a A view of the HTML code of the first UI shown;
[0024] Figure 5a is a view showing a second UI including a plurality of second input fields according to an embodiment;
[0025] Figure 5b is a diagram showing a method according to an embodiment of the present invention. Figure 5a A view of the HTML code of the second UI shown;
[0026] Figure 5c is a view showing a second UI according to an embodiment, in which data is input into one of a plurality of second input fields;
[0027] Figure 6ais a view showing a first UI according to an embodiment in which data is input into one of a plurality of first input fields in a second UI;
[0028] Figure 6b is a view showing a second UI according to an embodiment, in which data is input into one of a plurality of second input fields;
[0029] Figure 7a is a view showing a first UI according to an embodiment, in which data is displayed in some fields of a plurality of first input fields;
[0030] Figure 7b is a view showing a second UI according to an embodiment, in which a data list is displayed at a position corresponding to a second input field in which data is input;
[0031] Figure 7c is a view showing a second UI according to an embodiment, in which a data list further including an identifier of a first input field corresponding to the data is displayed;
[0032] Figure 7d is a view showing a data list displayed in a pop-up form above a second UI according to an embodiment;
[0033] Figure 7e is a view showing a second UI according to an embodiment, in which a data list including remaining data except for data previously input to a second input field among data is displayed;
[0034] Figure 8a is a view showing a second UI according to an embodiment, in which data is displayed in some fields of a plurality of second input fields;
[0035] Figure 8b is a view showing a first UI displayed in a first driving environment according to an embodiment;
[0036] Figure 8c is a view showing a first UI according to an embodiment, in which a virtual keyboard and a data list are displayed according to a selection input with respect to a first input field;
[0037] Fig. 9 is a flowchart illustrating a method for managing data according to an embodiment; and
[0038] Fig.10 is a block diagram of an electronic device in a network environment according to various embodiments.
[0039] With regard to the description of the drawings, the same or similar components may be denoted by the same or similar reference numerals. DETAILED DESCRIPTION
[0040] Hereinafter, various embodiments of the present disclosure will be described with reference to the accompanying drawings. Therefore, those skilled in the art will recognize that various modifications, equivalents and / or substitutions may be made to the various embodiments described herein without departing from the present disclosure. With respect to the description of the accompanying drawings, similar components may be marked with similar reference numerals.
[0041] Figure 1 is a block diagram showing an electronic device according to an embodiment.
[0042] refer to Figure 1 , the electronic device 100 may include a display 110 , a memory 120 , an input interface 130 , an output interface 140 , and a processor 160 .
[0043] According to an embodiment, the display 110 can output an execution screen of an application (e.g., a browser). In an embodiment, the display 110 can be implemented with a touch panel (e.g., a touch screen display). When a touch screen display is implemented according to an embodiment, the touch screen display can display a soft input panel and can receive data via the soft input panel.
[0044] According to an embodiment, the memory 120 may be electrically connected to the processor 160, and may store instructions executed by the processor 160. According to an embodiment, the memory 120 may store an application (eg, a web browser program) executed by the processor 160.
[0045] According to an embodiment, the input interface 130 may obtain data input to the input field. In an embodiment, a keyboard or a mouse may be connected to the electronic device 100 via the input interface 130.
[0046] According to an embodiment, the output interface 140 may functionally connect the electronic device to an external display device. According to an embodiment, the processor 160 may send a screen of an application to the external display device via the output interface 140. For example, the processor 160 may send data related to a user interface (UI) to the external display device via the output interface 140 so that the UI of the application is displayed on the external display device.
[0047] According to an embodiment, the communication circuit 150 may allow an external display device to communicate with the electronic device 100. According to an embodiment, the processor 160 may transmit data related to the UI to the external display device via the communication circuit 150, and may allow the external display device to display the UI.
[0048] The processor 160 may execute instructions stored in the memory 120 and may perform operations described below.
[0049] According to an embodiment, the electronic device 100 may include a communication circuit 150. For example, the electronic device 100 may be connected to an external input device or an external display device via the communication circuit 150 (eg, a wired communication circuit or a wireless communication circuit).
[0050] According to an embodiment, the electronic device 100 may wirelessly communicate with an external input device via the communication circuit 150. According to an embodiment, the processor 160 may receive an input of selecting data included in a data list from an external input device wirelessly connected to the processor 160. According to an embodiment, when the electronic device 100 is connected to an external display device, the processor 160 may send a screen of an application to the external display device via the communication circuit so that the screen of the application is displayed on the external display device.
[0051] Figure 2a is a view illustrating an example electronic device displaying a first UI including a plurality of first input fields according to an embodiment.
[0052] refer to Figure 2a , the electronic device 200 (for example, Figure 1 The electronic device 100 may include a display 210 (eg, Figure 1 display 110) and input interfaces (e.g., Figure 1 Input interface 130).
[0053] According to an embodiment, the processor 160 may run the application in a first "driving" environment (e.g., an operating state / environment in which an external display device is not connected to the electronic device), and may display a first UI 220a of the application on the display 210. According to an embodiment, the first UI 220a may include one or more first input fields 221a, 222a, and 223a.
[0054] According to an embodiment, one or more first input fields 221a, 222a, and 223a may include fields for text input, numeric input, selection of preset options, or other different types of input fields. For example, the first input field 221a may allow a name to be entered using text input, and the first input field 222a may allow a date of birth to be entered using numeric input. The first input field 223a may allow a preset gender option to be selected according to the selected input type of the input field.
[0055] Figure 2b is a view illustrating an electronic device displaying a second UI including a plurality of second input fields on an external display device according to an embodiment.
[0056] refer to Figure 2b, the electronic device 200 may be connected to the external display device 300 and the external input devices 400a and 400b (e.g., a mouse or a keyboard). According to an embodiment, the electronic device 200 may be wired to the external display device 300 via the output interface 140 (e.g., by a cable), or may be wirelessly connected to the external display device 300 via a wireless communication circuit. According to an embodiment, the processor 160 may send data for the UI of the application to the external display device 300 so as to display the UI of the application on the external display device 300. According to an embodiment, in Figure 2b Applications running in can communicate with Figure 2a The applications run by the processor 160 in the embodiment are substantially the same. According to an embodiment, the electronic device 200 may be wired to the external input devices 400a and 400b via the input interface 130 (e.g., through one or more cables), or wirelessly connected to the external input devices 400a and 400b via a wireless communication circuit. According to an embodiment, the processor 160 may receive input via the external input devices 400a and 400b.
[0057] According to an embodiment, the processor 160 may run an application in a second driving environment (e.g., an environment or operating state in which the external display device 300 is connected to the electronic device), and may send data of the second UI 220b for the application to the external display device 300 for display. According to an embodiment, the external display device 300 may thereby display the second UI 220b. According to an embodiment, the second UI 220b may include one or more second input fields 221b, 222b, and 223b. According to an embodiment, the one or more second input fields 221b, 222b, and 223b may facilitate the selection of text input, numeric input, or preset options according to the selected input type of the input field.
[0058] According to an embodiment, the processor 160 may run an application in a first driving environment and may display a first UI of the application on a display, such as Figure 2a In an embodiment, when the application execution environment is changed to the second driving environment, the processor 160 may send data for the second UI to the external display device so that the second UI of the application is displayed on the external display device.
[0059] Figure 3 is a flowchart illustrating a method for managing data according to an embodiment.
[0060] In the following, it is assumed Figure 1 The electronic device 100 performs Figure 3 As another example, in Figure 3In the description of the electronic device 100, the operations described as being performed by the electronic device 100 may be understood to be controlled by the processor 160 of the electronic device 100. The operations described as being performed by the electronic device 100 may be implemented by instructions that can be executed (or run) by the processor 160 of the electronic device 100. The instructions may be stored in, for example, Figure 1 In the computer recording medium or memory 120 of the electronic device 100 shown.
[0061] In operation 301, the processor 160 may execute an application in a first driving environment. According to an embodiment, as described above, the first driving environment may be an environment in which an external display device is not connected to the electronic device 100.
[0062] In operation 303, the processor 160 may display a first UI of an application including a first input bar on the touch screen display. According to an embodiment, the first UI may include a first input bar. According to an embodiment, the first UI may include at least one of a first identifier (e.g., an ID or a category) corresponding to the first input bar, a type of the first input bar (e.g., a text input type, a numeric input type, or a selection input type), or type information of data that can be input to the first input bar (e.g., type information indicating that the data that can be input to the first input bar is numeric data).
[0063] In operation 305, the processor 160 may receive data input to the first input field via the touch screen display. According to an embodiment, the processor 160 may receive data input to the first input field by inputting to an external input device. According to an embodiment, when there are multiple instances of the first input field, the processor 160 may receive data input to one or more first input fields among the multiple first input fields.
[0064] According to an embodiment, the processor 160 may at least temporarily store the input data in the memory 120 .
[0065] In operation 307, the processor 160 may detect an event that the application execution environment is changed from the first driving environment to the second driving environment. According to an embodiment, as described above, the second driving environment may be an environment in which the electronic device 100 is connected to an external display device.
[0066] According to an embodiment, when an event that the application execution environment is changed from the first driving environment to the second driving environment is detected, the processor 160 may at least temporarily store any data input to the first input field in the memory 120 .
[0067] In operation 309 , the processor 160 may execute an application in the second driving environment in response to the detection of the event.
[0068] According to an embodiment, the processor 160 may store information related to at least one first input field into which data is input. The processor 160 may also store the data itself input to the first input field in the memory 120 in response to the detection of the event.
[0069] In operation 311, the processor 160 may send data related to the second UI to the external display device. The processor 160 may display the second UI on the external display device by sending data related to the second UI of the application to the external display device. According to an embodiment, the second UI may include a second input field. According to an embodiment, the second UI may include at least one of a second identifier corresponding to the second input field, a type of the second input field, or type information of data that can be input to the second input field.
[0070] In operation 313, when the processor 160 determines that the first identifier and the second identifier are identical or correspond to each other, the processor 160 may insert data input to the first input field (eg, stored in the memory in response to detection of the event) into the second input field.
[0071] For example, the processor 160 may receive data "Lee" in a first input field having a first identifier or ID "surname" in a first UI (operation 305). When the application execution environment is changed to a second driving environment, the processor 160 may store the data "Lee" for insertion into a second input field having an ID "surname" as a second identifier in a second UI displayed on an external device. Therefore, data is not lost during the conversion of the display configuration.
[0072] In an embodiment, when the first identifier and the second identifier are not identical or do not correspond to each other (for example, the ID of the first input field and the ID of the second input field are not identical or do not correspond to each other) and the type of the first input field and the type of the second field are identical to each other, the processor 160 may input the data input to the first input field into the second input field. According to an embodiment, when there is no second input field having an ID identical or corresponding to the ID of the first input field in the second UI, the processor 160 may input the data input to the first input field into a second input field having a category identical or corresponding to the category of the first input field.
[0073] According to an embodiment, when there is no second input field having an identifier identical to or corresponding to that of the first input field in the second UI, the processor 160 may input data input to the first input field of the numeric input type into the second input field of the numeric input type of the second UI.
[0074] In an embodiment, when the first identifier and the second identifier are not identical or do not correspond to each other, and the type information of the data that can be input into the first input field and the type information of the data that can be input into the second input field are identical or correspond to each other, the processor 160 may input the data input into the first input field into the second input field. For example, when there is no second input field having a second identifier that is identical or corresponds to the first identifier of the first input field in the second UI, the processor 160 may input the data input into the first input field that allows input of English characters into the second input field that allows input of English characters.
[0075] According to an embodiment, the first input field corresponds to child nodes of a first tree structure, each node of the first tree structure having an identifier, and the second input field corresponds to child nodes of a second tree structure, each node of the second tree structure having an identifier.
[0076] According to an embodiment, the parent node of the node corresponding to the input field may be a label node, the parent node of the label node may be a "fieldset" node, the parent node of the fieldset node may be a div node, and the parent node of the div node may be a form node. According to an embodiment, all label nodes, fieldset nodes, div nodes, and form nodes may correspond to the parent node of the child node corresponding to the input field.
[0077] According to an embodiment, when the first identifier and the second identifier are not identical or do not correspond to each other, and the identifier of the parent node of the child node corresponding to the first input field and the identifier of the parent node of the child node corresponding to the second input field are identical or correspond to each other, the processor 160 can input the data input into the first input field into the second input field.
[0078] According to an embodiment, the processor 160 may determine whether the first input field and the second input field are identical to or correspond to each other using an identifier of a parent node (eg, a tag, ID, or category of the parent node).
[0079] Hereinafter, the processor 160 inputs data input to the first input field to an embodiment of the second input field using an identifier of a parent node of a child node corresponding to the first input field and an identifier of a parent node of a child node corresponding to the second input field.
[0080] Figure 4a is a view illustrating a first UI according to an embodiment in which data is input into one of a plurality of first input fields. Figure 4b is a diagram showing a method according to an embodiment of the present invention. Figure 4a A view of the HTML code of the first UI is shown.
[0081] Figure 5a is a view illustrating a second UI including a plurality of second input fields according to an embodiment. Figure 5b is a diagram showing a method according to an embodiment of the present invention. Figure 5a A view of the HTML code of the second UI is shown. Figure 5c is a view illustrating a second UI according to an embodiment in which data is input into one of a plurality of second input fields.
[0082] Figure 4a Shows that in the implementation Figure 3 After operation 305, the first UI is displayed on the display 110. Figure 4a , text data "Lee" has been input into the first input field 411, which has "Lastname" as an ID and is designated for inputting the user's last name among the plurality of first input fields depicted.
[0083] refer to Figure 4b , the parent node of the child node 421 corresponding to the first input field 411 for inputting the last name may be a label node 422, and the ID of the label node 422 may be "lastname-label". The parent node of the label node 422 may be a fieldset node 423, and the ID of the fieldset node 423 may not exist. The ID of the div node 424 corresponding to the parent node of the fieldset node 423 may be "name-form-element". The parent node of the div node 424 may be a form node 425, and the ID of the form node 425 may be "createaccount".
[0084] Figure 5a Shown in Figure 3 The second UI displayed on the external display device after operation 307 and before operation 309. Figure 5a , the second UI includes a plurality of second input fields 510, as depicted.
[0085] refer to Figure 5b , a node having the same ID as the "surname" of the first input field 411 may not exist. Figure 5b, the ID of form node 521 is "createaccount". The ID of div node 522 may be "name-form-element". Fieldset node 523 may not have an ID. The ID of label node 524 may be "lastname-label". The ID of child node 525 of label node 524 may be "Lastname2".
[0086] According to an embodiment, since there is no node with the same ID as "lastname" of the first input field, the processor 160 can determine that the second input field to enter the data "Lee" will be the field using the ID "lastname-label" of the label node 422 based on the correspondence between the child node and the parent node (the child node in turn corresponds to the first input field).
[0087] refer to Figure 5b , since there is a label node 524 with ID “lastname-label”, the processor 160 can input the data “Lee” into the second input field corresponding to the child node 525 of the label node 524 .
[0088] According to an embodiment, Figure 5c As shown, the processor 160 may input the data “Lee” input in the first UI into the second input field 531 corresponding to the child node 525 of the label node 524 having the ID “lastname-label”.
[0089] In an embodiment, when the first identifier and the second identifier are not identical or do not correspond to each other (for example, the ID of the first input field and the ID of the second input field are not identical or do not correspond to each other), the processor 160 may input the data input into the first input field into the second input field using the surrounding information of the first input field and the surrounding information of the second input field. For example, the processor 160 may input the data input into the first input field into the second input field associated with the surrounding information that is identical or corresponds to the surrounding information of the first input field.
[0090] According to an embodiment, the surrounding information of the input field may be text displayed around the input field in the web page (eg, the upper end of the input field).
[0091] Figure 6a is a view illustrating a first UI according to an embodiment in which data is input into one of a plurality of first input fields. Figure 6b is a view illustrating a second UI according to an embodiment in which data is input into one of a plurality of second input fields.
[0092] Figure 6aShows that in the implementation Figure 3 After operation 305, the first UI is displayed on the display 110. Figure 6a , data "lee@samsung.com" has been input into the first input field 611 having "email" as an ID, and thus the first input field 611 is provided exclusively for receiving input of an email address among the first input fields. According to an embodiment, text 612 "email address" may be displayed at the upper end of the first input field 611 into which data is input. According to an embodiment, the first input field 611 and the text 612 "email address" may be associated with each other.
[0093] According to an embodiment, in Figure 3 In operation 313 after operations 307 to 311, the processor 160 may input the data “lee@samsung.com” input into the first input field 611 into a second input field associated with surrounding information that is the same as or corresponds to the text 612 “email address” of the surrounding information corresponding to the first input field 611.
[0094] refer to Figure 6b , a text 622 “email address” is displayed in the second UI, and a second input field 621 is arranged at the lower end of the text 622 “email address”.
[0095] According to an embodiment, the processor 160 may input data “lee@samsung.com” into the second input field 621 marked by the text 622 “email address”.
[0096] According to an embodiment, the first UI may include a plurality of first input fields, and the second UI may include one or more second input fields. In an embodiment, the processor 160 may receive data input to at least one of the first input fields.
[0097] In an embodiment, when there is no second identifier that is identical to or corresponds to the first identifier of at least one first input field in the second UI, the processor 160 may send data related to the data list to an external display device so that the data list including the data input into the at least one first input field is displayed on the external display device.
[0098] According to an embodiment, the processor 160 may receive an input for selecting data included in the data list input into at least one first input field via an external input device, and may input the selected data into the second input field.
[0099] In the following, reference will be made to Figures 7a to 7eAn embodiment in which the processor 160 displays a data list including data input into a first input field and inputs selected data into a second input field is described.
[0100] Figure 7a is a view illustrating a first UI in which data is displayed in some first input fields of a plurality of first input fields according to an embodiment. Figure 7b : is a view showing a second UI according to an embodiment in which a data list is displayed at a position corresponding to a second input field into which data is to be input. Figure 7c is a view showing a second UI according to an embodiment in which a data list further including an identifier of a first input field corresponding to the data is displayed. Figure 7d is a view illustrating a data list displayed in a pop-up form above a second UI according to an embodiment. Figure 7e : is a view showing a second UI according to an embodiment in which a data list including remaining data except for data previously input into a second input field among data is displayed.
[0101] Figure 7a Shows that in the implementation Figure 3 After operation 305, a screen is displayed on the display 110. Figure 7a Among the multiple first input fields 710, "Lee" is entered into the first input field 711 set to receive the surname, "Samsung" is entered into the first input field 712 set to receive the name, "1988" is entered into the first input field 713 set to receive the year of birth, and "18" is entered into the first input field 714 set to receive the date of birth.
[0102] According to an embodiment, in Figure 3 In operation 309 subsequent to operation 307 , the processor 160 may perform operations described below.
[0103] According to an embodiment, the data list may thus include information such as "Lee", "Samsung", "1988", and "18".
[0104] According to an embodiment, Figure 7b As shown, the processor 160 may display a data list 722. The data list 722 may be displayed at a position corresponding to the second input field 721 into which the selected data has been or will be input. According to an embodiment, the second input field may refer to a specific second input field 721 provided for receiving a name, and the processor 160 may display the data list below the second input field 721 for inputting a name.
[0105] According to an embodiment, the processor 160 may detect an input of selecting one of at least one data included in the data list, and may input the selected data into the second input field 721 .
[0106] According to an embodiment, the processor 160 may determine the order in which the data is arranged in the data list according to the time sequence of the input data. Figure 7b The time order of input data in the data list shown may be in the order of "Lee" 722a, "Samsung" 722b, "1988" 722c, and "18" 722d.
[0107] According to an embodiment, Figure 7c As shown, the data list may also include an identifier of the first input field. Figure 7c As shown, the data list may further include "surname" 731b as the ID of the first input column corresponding to "Lee" 731a, and may include "first name" 732b as the ID of the first input column corresponding to "Samsung" 732a. According to an embodiment, the data list may further include "year of birth" 733b as the ID of the first input column corresponding to "1988" 733a, and include "date of birth" 734b as the ID of the first input column corresponding to "18" 734a.
[0108] According to an embodiment, Figure 7d As shown, the processor 160 may display the data list 741 as a pop-up window. According to an embodiment, the processor 160 may detect an input of selecting one of the at least one data included in the data list. According to an embodiment, the processor 160 may insert the selected data into the second input field 743 based on the position of the cursor 742 within the plurality of second input fields.
[0109] According to an embodiment, among the data input into the first input field, the data list may include the remaining data except the data input into the at least one second input field. Figure 7e , data "Lee" 751 and "18" 752 may be input to the second input field. According to an embodiment, the processor 160 may display a data list 755 including the remaining data "Samsung" 753 and "1988" 754 in addition to the input "Lee" 751 and "18" 752, such as Figure 7e According to an embodiment, the processor 160 may receive an input of selecting data included in the displayed data list, and may input the selected data into the second input field.
[0110] According to various embodiments of the present disclosure, while a first UI is displayed on a display of the electronic device 100, an external display device may be connected to the electronic device 100, and thus a second UI may be displayed on the external display device. According to various embodiments, a second UI including a second input bar may be displayed on the external display device, and data may be input to the second input bar. According to various embodiments, the electronic device 100 and the external display device may be disconnected from each other, while a second UI including a second input bar into which data is input is displayed, and the processor 160 may display a first UI including a first input bar on the display 110. According to various embodiments, the processor 160 may input the data input to the second input bar into the first input bar. According to various embodiments, the processor 160 may input the data input to the second input bar into the first input bar using the above method.
[0111] For example, the processor 160 may detect an event in which the application execution environment changes from a first driving environment (e.g., an environment or operating state in which the external display device is not connected to the electronic device 100) to a second driving environment (e.g., an environment in which the external display device is connected to the electronic device 100). According to an embodiment, the processor 160 may execute the application in the first driving environment in response to the detection of the event. In an embodiment, the processor 160 may display a first UI on the display 110. In an embodiment, when the second identifier of the second input bar and the first identifier of the first input bar are identical or correspond to each other, the processor 160 may input the data input to the second input bar into the first input bar. For example, when the ID of the second input bar and the ID of the first input bar are identical or correspond to each other, the data input to the second input bar may be input to the first input bar.
[0112] In an embodiment, when there is no first identifier identical to or corresponding to the second identifier of the at least one second input field in the first ID, the processor 160 may display a data list including data input to the at least one second input field on the display 110 .
[0113] Figure 8a is a view showing a second UI in which data is displayed in some second input fields of a plurality of second input fields according to an embodiment. Figure 8b is a view illustrating a first UI displayed in a first driving environment according to an embodiment. Figure 8c is a view illustrating a first UI according to an embodiment in which a virtual keyboard and a data list are displayed according to a selection input with respect to a first input field.
[0114] refer to Figure 8a, “Lee” is input into the second input field 811 for inputting a surname, “Samsung” is input into the second input field 812 for inputting a given name, “1988” is input into the second input field 813 for inputting a year of birth, and “18” is input into the second input field 814 for inputting birth data. According to an embodiment, the processor 160 may store the input data “Lee”, “Samsung”, “1988” and “18” of the second input fields into which data is respectively input and their respective identifiers in the memory 120.
[0115] According to an embodiment, when the application execution environment is changed from the second driving environment to the first driving environment, the processor 160 may display the first UI on the display 110, such as Figure 8b According to an embodiment, the processor 160 may receive a touch input 822 selecting the first input field 821 .
[0116] According to an embodiment, the processor 160 may display a virtual keyboard 832 and a data list 833 that allows selection of input data to be inserted into the first input field 831. According to an embodiment, the data list 833 may include "Lee" 833a, "Samsung" 833b, "1988" 833c, and "18" 833d input into the second input field.
[0117] According to an embodiment, the processor 160 may receive a touch input selecting one of the data included in the data list 833 , and may input the selected data to the first input field 831 .
[0118] Fig. 9 is a flowchart illustrating a method for managing data according to an embodiment.
[0119] The processor 160 may display a first web page of a first format using a web browser program at operation 901. According to an embodiment, the first web page may include a first input field and a first markup language tag indicating the first input field.
[0120] According to an embodiment, the first format may be a complete format for a personal computer (PC), or a mobile format for a mobile device.
[0121] According to an embodiment, the markup language tag may be in HTML (hypertext markup language) format.
[0122] According to an embodiment, operation 901 may correspond to operation 301 and operation 303. According to an embodiment, the web browser program of operation 901 may correspond to the application of operation 301 and operation 303. According to an embodiment, the first web page of operation 901 may correspond to the first UI of operation 303. According to an embodiment, the first markup language tag of operation 901 may correspond to at least one of the first identifier, the type of the first input field, or the type information of data that can be input to the first input field of operation 303.
[0123] At operation 903 , the processor 160 may receive a user input associated with the first input field.
[0124] According to an embodiment, operation 903 may correspond to Figure 3 Operation 305 of the present invention. According to an embodiment, the user input of operation 903 may correspond to the data input in operation 305.
[0125] At operation 905 , the processor 160 may at least temporarily store the user's input in the memory 120 .
[0126] According to an embodiment, the processor 160 may store the user's input in XML format.
[0127] According to an embodiment, operation 905 may correspond to Figure 3 An operation of at least temporarily storing the data input in operation 305.
[0128] At operation 907 , the processor 160 may stop displaying the first web page, and may display a second web page in a second format using a web browser, or allow an external display device to display the second web page.
[0129] According to an embodiment, the second web page may include at least a portion of the content of the first web page, and the second web page may include a second input field and a second markup language tag indicating the second input field.
[0130] According to an embodiment, when the first format is a full format, the second format may be a mobile format. According to an embodiment, when the first format is a mobile format, the second format may be a full format.
[0131] According to an embodiment, the processor 160 may detect that the external display device is connected to the electronic device via the communication circuit. According to an embodiment, in response to the detection of the connection, the processor 160 may stop displaying the first web page and may allow the external display device to display the second web page.
[0132] According to an embodiment, the processor 160 may store a portion of the markup language code of the first web page before or after the detection of the connection. According to an embodiment, the stored portion of the markup language code may include a first markup language tag.
[0133] According to an embodiment, operation 907 may correspond to operation 307 and operation 311. According to an embodiment, the operation for detecting that an external display device is connected to the electronic device via a communication circuit may correspond to the operation for detecting an event that an application execution environment is changed from a first driving environment to a second driving environment in operation 307. According to an embodiment, the second web page of operation 907 may correspond to the second UI of operation 311. According to an embodiment, the second markup language tag of operation 907 may correspond to at least one of a second identifier, a type of a second input field, or type information of data that can be input into the second input field of operation 311.
[0134] According to an embodiment, the operation of displaying the second web page or allowing the external display device to display the second web page of operation 907 may correspond to the operation of transmitting data related to the second UI to the external display device of operation 311 .
[0135] In operation 909 , the processor 160 may compare the first markup language tag with the second markup language tag.
[0136] According to an embodiment, operation 909 may correspond to operation 313. According to an embodiment, operation 909 of comparing the first markup language tag with the second markup language tag may correspond to operation 313 of determining whether the first identifier and the second identifier are identical or correspond to each other.
[0137] At operation 911 , the processor 160 may provide the stored user input to or for the second input field based at least in part on a comparison of the first markup language tag and the second markup language tag.
[0138] According to an embodiment, the processor 160 may input the user input to a second input field corresponding to the first input field receiving the user input. According to an embodiment, the processor 160 may display the stored user input and may input the user input displayed by user selection to the second input field.
[0139] According to an embodiment, operation 911 may correspond to Figure 3 operation 313. According to an embodiment, the operation of providing the stored user input to or for the second input field based at least in part on comparison in operation 911 may correspond to the operation of inputting the data input into the first input field into the second input field when the first identifier and the second identifier are identical or correspond to each other in operation 313.
[0140] Fig.10 is a block diagram of an electronic device in a network environment according to various embodiments.
[0141] refer to Fig.10In the network environment 1000, the electronic device 1001 may communicate with the electronic device 1002 through the first network 1098 (e.g., short-range wireless communication), or may communicate with the electronic device 1004 or the server 1008 through the second network 1099 (e.g., long-range wireless communication). According to an embodiment, the electronic device 1001 may communicate with the electronic device 1004 through the server 1008. According to an embodiment, the electronic device 1001 may include a processor 1020, a memory 1030, an input device 1050, a sound output device 1055, a display device 1060, an audio module 1070, a sensor module 1076, an interface 1077, a haptic module 1079, a camera module 1080, a power management module 1088, a battery 1089, a communication module 1090, a user identification module 1096, and an antenna module 1097. According to some embodiments, at least one of the components of the electronic device 1001 (e.g., the display device 1060 or the camera module 1080) may be omitted, or other components may be added to the electronic device 1001. According to some embodiments, some components may be integrated and implemented to be embedded in the display device 1060 (e.g., display), as in the case of the sensor module 1076 (e.g., fingerprint sensor, iris sensor, or illumination sensor).
[0142] The processor 1020 may operate, for example, software (e.g., program 1040) to control at least one of the other components (e.g., hardware or software components) of the electronic device 1001 connected to the processor 1020, and may process and calculate various data. The processor 1020 may load a command set or data received from other components (e.g., sensor module 1076 or communication module 1090) into the volatile memory 1032, may process the loaded command or data, and may store the result data in the non-volatile memory 1034. According to an embodiment, the processor 1020 may include a main processor 1021 (e.g., a central processing unit or an application processor) and an auxiliary processor 1023 (e.g., a graphics processing device, an image signal processor, a sensor hub processor, or a communication processor), which operates independently of the main processor 1021, additionally or alternatively uses less power than the main processor 1021, or is designated for a designated function. In this case, the auxiliary processor 1023 may operate independently of the main processor 1021 or be embedded.
[0143] In this case, while the main processor 1021 is in an inactive (e.g., sleep) state, the auxiliary processor 1023, instead of the main processor 1021, may control, for example, at least some of the functions or states associated with at least one component (e.g., display device 1060, sensor module 1076, or communication module 1090) among the components of the electronic device 1001, or while the main processor 1021 is in an active (e.g., application running) state, the auxiliary processor 1023 may control, together with the main processor 1021, at least some of the functions or states associated with at least one component (e.g., display device 1060, sensor module 1076, or communication module 1090) among the components of the electronic device 1001. According to an embodiment, the auxiliary processor 1023 (e.g., image signal processor or communication processor) may be implemented as a part of another component (e.g., camera module 1080 or communication module 1090) that is functionally related to the auxiliary processor 1023. The memory 1030 may store various data used by at least one component (e.g., the processor 1020 or the sensor module 1076) of the electronic device 1001, such as software (e.g., program 1040), and input data or output data about one or more instructions associated with the software. The memory 1030 may include a volatile memory 1032 or a non-volatile memory 1034.
[0144] The program 1040 may be stored as software in the memory 1030 , and may include, for example, an operating system 1042 , middleware 1044 , or an application 1046 .
[0145] The input device 1050 may be a device for receiving a command or data for a component (eg, the processor 1020 ) of the electronic device 1001 from outside (eg, a user) of the electronic device 1001 , and may include, for example, a microphone, a mouse, or a keyboard.
[0146] The sound output device 1055 may be a device for outputting sound signals to the outside of the electronic device 1001, and may include, for example, a speaker for general purposes (such as multimedia playback or recording playback), and an earpiece for receiving calls. According to the embodiment, the earpiece and the speaker may be implemented as a whole or separately.
[0147] The display device 1060 may be a device for visually presenting information to a user of the electronic device 1001, and may include, for example, a display, a holographic device, or a projector, and a control circuit for controlling a corresponding device. According to an embodiment, the display device 1060 may include a touch circuit or a pressure sensor for measuring the intensity of pressure on a touch.
[0148] The audio module 1070 can bidirectionally convert sound and electrical signals. According to an embodiment, the audio module 1070 can obtain sound through the input device 1050, or can output sound through a wired or wireless connection to the sound output device 1055 or an external electronic device of the electronic device 1001 (e.g., electronic device 1002 (e.g., speaker or earphone)).
[0149] The sensor module 1076 may generate an electrical signal or data value corresponding to an operating state (e.g., power or temperature) inside the electronic device 1001 or an environmental state outside the electronic device 1001. The sensor module 1076 may include, for example, a posture sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illumination sensor.
[0150] The interface 1077 may support a designated protocol for wired or wireless connection to an external electronic device (e.g., the electronic device 1002). According to an embodiment, the interface 1077 may include, for example, an HDMI (high-definition multimedia interface), a USB (universal serial bus), an SD card interface, or an audio interface.
[0151] The connection terminal 1078 may include a connector that physically connects the electronic device 1001 to an external electronic device (eg, the electronic device 1002 ), such as an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
[0152] The haptic module 1079 may convert the electrical signal into a mechanical stimulus (eg, vibration or motion) or an electrical stimulus that the user senses through tactile or kinesthetic sense. The haptic module 1079 may include, for example, a motor, a piezoelectric element, or an electrical stimulator.
[0153] The camera module 1080 may capture still images or video images. According to an embodiment, the camera module 1080 may include, for example, at least one lens, an image sensor, an image signal processor, or a flash.
[0154] The power management module 1088 may be a module for managing power supplied to the electronic device 1001 and may function as at least a part of a power management integrated circuit (PMIC).
[0155] The battery 1089 may be a device for supplying power to at least one component of the electronic device 1001 , and may include, for example, a non-rechargeable (primary) battery, a rechargeable (secondary) battery, or a fuel cell.
[0156] The communication module 1090 can establish a wired or wireless communication channel between the electronic device 1001 and an external electronic device (e.g., the electronic device 1002, the electronic device 1004, or the server 1008), and support communication through the established communication channel. The communication module 1090 may include at least one communication processor that operates independently of the processor 1020 (e.g., the application processor) and supports wired communication or wireless communication. According to an embodiment, the communication module 1090 may include a wireless communication module 1092 (e.g., a cellular communication module, a short-range wireless communication module, or a GNSS (global navigation satellite system) communication module) or a wired communication module 1094 (e.g., a LAN (local area network) communication module or a power line communication module), and can communicate with an external electronic device through a first network 1098 (e.g., a short-range communication network such as Bluetooth, WiFi direct, or IrDA (infrared data association)) or a second network 1099 (e.g., a long-range wireless communication network such as a cellular network, the Internet, or a computer network (e.g., LAN or WAN)) using a corresponding communication module therebetween. The various communication modules 1090 described above may be implemented in one chip or respectively implemented in separate chips.
[0157] According to an embodiment, the wireless communication module 1092 may identify and authenticate the electronic device 1001 using user information stored in the user identification module 1096 in the communication network.
[0158] The antenna module 1097 may include one or more antennas to send signals or power to or receive signals or power from an external source. According to an embodiment, the communication module 1090 (e.g., the wireless communication module 1092) may send signals to or receive signals from an external electronic device through an antenna suitable for a communication method.
[0159] Some of the components can be connected to each other through a communication method used between peripheral devices (e.g., a bus, GPIO (general purpose input / output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)) to exchange signals (e.g., commands or data) with each other.
[0160] According to an embodiment, a command or data may be sent or received between the electronic device 1001 and the external electronic device 1004 by a server 1008 connected to the second network 1099. Each of the electronic devices 1002 and 1004 may be of the same or different type as the electronic device 1001. According to an embodiment, all or some operations performed by the electronic device 1001 may be performed by another electronic device or a plurality of external electronic devices. When the electronic device 1001 automatically or by request performs certain functions or services, in addition to performing these functions or services by itself or in place of performing these functions or services by itself, the electronic device 1001 may request an external electronic device to perform at least some of the functions related to these functions or services. The external electronic device receiving the request may perform the requested function or additional function and send the result to the electronic device 1001. The electronic device 1001 may provide the requested function or service based on the received result as is or after additionally processing the received result. To this end, for example, cloud computing, distributed computing or client-server computing technology may be used.
[0161] An electronic device according to an embodiment disclosed in the present disclosure may include a display 110, a communication circuit 150, a processor 160 functionally connected to the display 110 and the communication circuit 150, and a memory 120 functionally connected to the processor 160 and configured to store a web browser program. The memory 120 may store instructions that, when executed by the processor 160, allow the processor 160 to: display a first web page in a first format including a first input field and a first markup language tag indicating the first input field using the web browser program, receive a user input associated with the first input field, at least temporarily store the user input in the memory 120, stop displaying the first web page, display a second web page in a second format on the display 110 or the external display device 300 using the web browser program, the second web page including at least a portion of the content of the first web page, and including a second input field and a second markup language tag indicating the second input field, compare the first markup language tag with the second markup language tag, and provide the stored user input to or for the second input field based at least in part on the comparison result.
[0162] According to an embodiment, the first format may be a complete format used in a personal computer (PC), and the second format may be a mobile format used in a mobile device.
[0163] According to an embodiment, the second format may be a complete format used in a personal computer (PC), and the first format may be a mobile format used in a mobile device.
[0164] According to an embodiment, the markup language tag may be in a Hypertext Markup Language (HTML) format.
[0165] According to an embodiment, the instructions may allow processor 160 to store the user input in XML format.
[0166] According to an embodiment, the instructions may allow the processor 160 to detect that the external display device 300 is connected to the electronic device via the communication circuit 150, and in response to the detection, stop displaying the first web page so that the external display device 300 displays the second web page.
[0167] According to an embodiment, the instructions allow the processor 160 to store a portion of the markup language code of the first web page before or after detection, and the portion includes the first markup language tag.
[0168] In addition, the electronic device according to the embodiment described in the present disclosure may include a touch screen display 110, a processor 160 electrically connected to the touch screen display 110, and a memory 120 electrically connected to the processor 160. The memory 120 may store instructions that, when executed by the processor 160, allow the processor 160 to: run an application in a first driving environment, display a first UI of the application including a first input field on the touch screen display 110, wherein the first UI includes a first identifier corresponding to the first input field, receive data input into the first input field via the touch screen display 110, detect an event that the application running environment is changed from the first driving environment to the second driving environment, run the application in the second driving environment in response to the detection of the event, send data associated with the second UI to the external display device 300, so that the second UI of the application is displayed in the second driving environment on the external display device 300 functionally connected to the electronic device, wherein the second UI includes a second input field and a second identifier corresponding to the second input field, and when the first identifier and the second identifier are the same or correspond to each other, input the data input into the first input field into the second input field.
[0169] According to an embodiment, the first input field and the second input field may be an input field of a text input type, an input field of a number input type, or an input field of a selection input type.
[0170] According to an embodiment, when the instruction is executed by the processor 160, the processor 160 may be allowed to input the data input into the first input field into the second input field when the first identifier and the second identifier are different or do not correspond to each other and the type of the first input field and the type of the second input field are the same as each other.
[0171] According to an embodiment, the first input field may further include type information of data input into the first input field, and the second input field may further include type information of data input into the second input field, and when the instruction is executed by the processor 160, the processor 160 may be allowed to input the data input into the first input field into the second input field when the first identifier and the second identifier are not identical or do not correspond to each other and the type information of the data input into the first input field and the type information of the data input into the second input field are identical or correspond to each other.
[0172] According to an embodiment, the first input field may correspond to a child node of a first tree structure in which each node has an identifier, and the second input field may correspond to a child node of a second tree structure in which each node has an identifier, and when the instruction is executed by the processor 160, the processor 160 may be allowed to input the data input into the first input field into the second input field when the first identifier and the second identifier are not identical or do not correspond to each other and the identifier of the parent node of the child node corresponding to the first input field and the identifier of the parent node of the child node corresponding to the second input field are identical or correspond to each other.
[0173] According to an embodiment, the electronic device may be connected to an external input device, the first UI may include multiple first input fields, the second UI may include one or more second input fields, and when the instruction is executed by the processor 160, the processor 160 may be allowed to: receive data input into at least one of the first input fields via the touch screen display 110, send data associated with a data list to an external display device, so that when there is no second identifier that is identical to or corresponds to the first identifier of at least one first input field in the second UI, a data list including data input into at least one first input field is displayed on the external display device, receive input of selecting data input into at least one first input field included in the data list via the external input device, and input the selected data into the second input field.
[0174] According to an embodiment, the data list may further include an identifier of a first input field into which data is input.
[0175] According to an embodiment, when the instruction is executed by the processor 160, the processor 160 may be allowed to display a data list at a position corresponding to the second input field in which the selected data is input.
[0176] According to an embodiment, the data list may include remaining data except for data input to the at least one second input field among the data input to the at least one first input field.
[0177] In addition, a method for inputting data into an electronic device according to an embodiment described in the present disclosure may include: running an application in a first driving environment; displaying 110 a first UI of the application including a first input bar, the first UI including a first identifier corresponding to the first input bar, receiving data input into the first input bar, detecting an event in which the application running environment changes from the first driving environment to the second driving environment, running the application in the second driving environment in response to the detection of the event, sending data associated with the second UI to an external display device 300, so that the second UI of the application is displayed in the second driving environment on an external display device 300 functionally connected to the electronic device, wherein the second UI includes a second input bar and a second identifier corresponding to the second input bar, and when the first identifier and the second identifier are the same or correspond to each other, inputting the data input into the first input bar into the second input bar.
[0178] According to an embodiment, the method may further include inputting data input into the first input field into the second input field when the first identifier and the second identifier are not identical or do not correspond to each other and the type of the first input field and the type of the second input field are the same as each other, and the first input field and the second input field may be input fields of a text input type, input fields of a numeric input type, or input fields of a selection input type.
[0179] According to an embodiment, the first UI may include multiple first input fields, the second UI may include one or more second input fields, receiving data input into the first input fields may include receiving data input into at least one first input field among the first input fields, and the method may further include sending data associated with the data list to the external display device 300, so that when there is no second identifier that is identical to or corresponds to the first identifier of at least one first input field in the second UI, a data list including data input into at least one first input field is displayed on the external display device 300, an input of selecting data input into at least one first input field included in the data list is received, and the selected data is input into the second input field.
[0180] According to an embodiment, the data list may include remaining data except for data input to the at least one second input field among the data input to the at least one first input field.
[0181] The electronic device according to various embodiments disclosed in the present disclosure may be various types of devices. The electronic device may include, for example, at least one of a portable communication device (e.g., a smart phone), a computer device, a portable multimedia device, a mobile medical device, a camera, a wearable device, or a household appliance. The electronic device according to the embodiments of the present disclosure should not be limited to the above-mentioned devices.
[0182] It should be understood that the various embodiments of the present disclosure and the terms used in the embodiments are not intended to limit the technology disclosed in the present disclosure to the specific form disclosed herein; on the contrary, the present disclosure should be interpreted as covering various modifications, equivalents and / or substitutes of the embodiments of the present disclosure. With regard to the description of the accompanying drawings, similar components may be assigned similar figure numerals. As used herein, the singular form may also include the plural form, unless the context clearly indicates otherwise. In the present disclosure disclosed herein, the expressions "A or B", "at least one of A or / and B", "A, B or C" or "one or more of A, B or / and C" etc. used herein may include any and all combinations of one or more related listed items. The expressions "first", "second", "the first" or "the second" used herein may refer to various components, regardless of their order and / or importance, but do not limit the corresponding components. The above expressions are only used to distinguish one component from other components. It should be understood that when a component (e.g., a first component) is referred to as being (operably or communicatively) “connected” or “coupled” to another component (e.g., a second component), it may be directly connected or coupled to the other component, or any other component (e.g., a third component) may be interposed therebetween.
[0183] The term "module" as used herein may refer to a unit including, for example, one or more combinations of hardware, software, and firmware. The term "module" may be used interchangeably with the terms "logic," "logic block," "portion," and "circuit." A "module" may be the smallest unit of an integrated component or a part thereof. A "module" may be the smallest unit for performing one or more functions or a part thereof. For example, a "module" may include an application-specific integrated circuit (ASIC).
[0184] Various embodiments of the present disclosure may be implemented by software (e.g., program 1040) including one or more instructions stored in a machine-readable storage medium (e.g., internal memory 1036 or external memory 1038) readable by a machine (e.g., a computer). A machine may be a device that calls instructions from a machine-readable storage medium and operates according to the called instructions, and may include an electronic device (e.g., electronic device 1001). When an instruction is executed by a processor (e.g., processor 1020), the processor may directly execute or use other components under the control of the processor to perform a function corresponding to the instruction. The instruction may include code generated or executed by a compiler or interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, the term "non-transitory" used herein is a limitation on the medium itself (i.e., tangible, not a signal), not a limitation on the persistence of data storage.
[0185] According to an embodiment, the method according to various embodiments disclosed in the present disclosure may be provided as part of a computer program product. The computer program product may be traded between a seller and a buyer as a product. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., a compact disc read only memory (CD-ROM)), or may be downloaded through an application store (e.g., Play Store TM In the case of online distribution, at least a portion of the computer program product may be temporarily stored in a storage medium (such as a memory of a manufacturer's server, an application store's server, or a relay server) or generated in the storage medium.
[0186] Each component (e.g., module or program) according to various embodiments may include at least one of the above-mentioned components, and may omit a portion of the above-mentioned subcomponents, or may also include additional other subcomponents. Alternatively or additionally, some components (e.g., modules or programs) may be integrated in one component, and may perform the same or similar functions performed by each corresponding component before integration. The operations performed by modules, programming or other components according to various embodiments of the present disclosure may be performed sequentially, in parallel, repeatedly or in a heuristic manner. Furthermore, at least some operations may be performed in different orders, omitted or other operations may be added.
[0187] While the present disclosure has been shown and described with reference to various embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the present disclosure as defined by the appended claims and their equivalents.
Claims
1. An electronic device, comprising: monitor; Communication circuits; at least one processor; as well as A memory storing instructions, wherein the instructions are executable by the at least one processor to enable the electronic device to: Displaying a first webpage in a first format on the display, the first webpage comprising a first input field and a first markup language tag identifying the first input field; receiving input of data into the first input field; storing the input data in the memory; detecting a connection between an external display device and the electronic device via the communication circuit; In response to detecting the connection, terminating display of the first web page and sending display information to the external display device; displaying a second web page in a second format on an external display device, wherein the second web page includes at least a portion of the content of the first web page, a second input field, and a second markup language tag identifying the second input field; comparing the first markup language tag with the second markup language tag; as well as Based on the result of the comparison, the stored input data is inserted into the second input field.
2. The electronic device according to claim 1, wherein: The first format includes a format used in a personal computer (PC), and the second format includes a format used in a mobile device.
3. The electronic device according to claim 1, wherein: The markup language tags include a Hypertext Markup Language (HTML) format.
4. The electronic device according to claim 3, wherein: The instructions are also executable by the at least one processor to: The input data is stored in an extended hypertext markup language (XML) format.
5. The electronic device according to claim 1, wherein: In response to detecting the connection of the external display device to the electronic device, storing the input data in the memory is performed.
6. An electronic device comprising: Touch screen display; at least one processor; as well as A memory storing instructions, wherein the instructions are executable by the at least one processor to enable the electronic device to: running the application in a first operating state; displaying a first user interface (UI) of the application on the touch screen display, the first UI comprising a first input field and a first identifier identifying the first input field; receiving data input to the first input field via the touch screen display; detecting an event in which the first operating state is changed to a second operating state; In response to the detected event, re-running the application in the second operating state; sending data of a second UI for the re-running application to an external display device for display, the second UI comprising a second input field and a second identifier corresponding to the second input field; as well as When the first identifier corresponds to the second identifier, the received data input is inserted into the second input field.
7. The electronic device according to claim 6, wherein: The first input field and the second input field are configured to receive one or more of text data, numeric data, or a selection of a preset element among a plurality of selectable elements.
8. The electronic device according to claim 7, wherein: The instructions are also executable by the at least one processor to cause the electronic device to: When the first identifier does not correspond to the second identifier, detecting whether the type of the first input field corresponds to the type of the second input field; as well as When the type of the first input field corresponds to the type of the second input field, the received data input is inserted into the second input field.
9. The electronic device according to claim 6, wherein: The first input field further includes a first identifier indicating a type of data that can be received through the first input field, and the second input field further includes a second identifier indicating a type of data that can be received through the second input field.
10. The electronic device according to claim 6, wherein: The first input field corresponds to a child node of a first tree structure, and the second input field corresponds to a child node of a second tree structure. Wherein, the child nodes of the first tree structure and the second tree structure each include an identifier; The instructions may also be executed by the at least one processor to enable the electronic device to: When the first identifier does not correspond to the second identifier, detecting whether the identifier of the first parent node of the first child node of the first input field corresponds to the second parent node of the second child node of the second input field; and When the first parent node of the first child node of the first input field corresponds to the second parent node of the second child node of the second input field, the received data input is inserted into the second input field.
11. The electronic device according to claim 6, wherein: The electronic device is connected to an external input device, the first UI includes a plurality of first input fields, and the second UI includes one or more second input fields, The instructions may also be executed by the at least one processor to enable the electronic device to: generating a data list including the data input for the first input field, When the first identifier does not correspond to any identifier of the second UI, sending the data list to the external display device for display, and In response to detecting a selection of an entry in the transmitted data list, the selected entry is inserted into the second input field.
12. The electronic device according to claim 11, wherein: The data list also includes an identifier that identifies a type of data that can be received via the first input field.
13. The electronic device according to claim 11, in, A data list is displayed at a position corresponding to the second input field on the external display device.
14. The electronic device according to claim 11, wherein: The instructions are also executable by the at least one processor to cause the electronic device to: After the selected entry is inserted into the second input field, the selected entry is removed from the data list and any remaining unselected entries in the data list are maintained displayed.
15. The electronic device according to claim 6, wherein: The instructions are also executable by the at least one processor to cause the electronic device to: When the first identifier does not correspond to the second identifier: identifying a first parent identifier indicating a parent node within the first tree data structure corresponding to the first input field, and identifying a second parent identifier indicating a parent node within the second tree data structure corresponding to the second input field; as well as When the first parent identifier corresponds to the second parent identifier, the received data input is inserted into a second input field.
Citation Information
Patent Citations
Inputting data to a web page
US20090292981A1