Electronic device based on multiple operating systems and control method thereof

By using the processor to identify context related to network configuration, dynamically deactivate the network configuration function of the sub-operating system, and synchronize the network configuration of the sub-operating system based on the network configuration information of the host operating system, the problems of resource waste and unnecessary network environment changes in multi-operating system electronic devices are solved, and more efficient resource management and user control are achieved.

CN120641871APending Publication Date: 2025-09-12SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202480012635.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-02-15
Filing Date
2024-01-10
Publication Date
2025-09-12

AI Technical Summary

Technical Problem

In the prior art, electronic devices based on multiple operating systems suffer from resource waste and unnecessary network environment changes in network configuration management, especially when the network configuration function of the sub-operating system is not effectively controlled, resulting in unnecessary changes to the network environment of the host operating system.

Method used

The processor identifies the context related to network configuration, dynamically disables the network configuration function of the sub-operating system, and synchronizes the network configuration of the sub-operating system based on the network configuration information of the host operating system to prevent unnecessary changes in the network environment, and provides a user interface to control the activation and deactivation of the network configuration function.

Benefits of technology

This effectively manages the network resources of electronic devices, prevents unnecessary changes in the network environment, improves resource utilization efficiency, and ensures user control over network configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120641871A_ABST
    Figure CN120641871A_ABST
Patent Text Reader

Abstract

The invention provides an electronic device and a method for controlling the electronic device. An electronic device according to an embodiment of the present disclosure includes a memory in which host operating system (OS) information and sub-OS information are stored, and one or more processors operating on the basis of at least one of the host OS and the sub-OS. When a context related to the network configuration of the electronic device on the sub-OS is identified on the basis of the pre-configured event, the one or more processors may deactivate the network configuration function of the sub-OS and change or maintain the network configuration information of the host OS on the basis of the context.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Devices and methods consistent with the present disclosure relate to electronic devices and methods for controlling the electronic devices. More particularly, the present disclosure relates to multi-OS-based electronic devices and methods for controlling the same. Background Art

[0002] Recently, with the development of information and communication technology, virtualization technology has been applied to electronic devices with physically limited resources, making it possible to use the limited resources of electronic devices more efficiently. For example, it has become possible to run software based on different operating systems on electronic devices with limited resources, making it possible to provide users with a wider range of services.

[0003] Recently, methods for virtualizing devices, such as the container method, which only virtualizes the process environment, have become widely used. Unlike existing virtual machine methods, container methods do not require a hardware emulator called a hypervisor, allowing for faster processing within the container and excellent resource efficiency for electronic devices. Summary of the Invention

[0004] Technical Solution

[0005] According to an embodiment of the present disclosure, an electronic device includes a memory and one or more processors. The memory may store host operating system (OS) information and sub-OS information. The one or more processors may be configured to operate based on at least one of the host OS and the sub-OS. In addition, when a context related to the network configuration of the electronic device is identified based on a preconfigured event, the one or more processors may be configured to deactivate the network configuration function of the sub-OS and operate based on the network configuration information of the host OS.

[0006] According to an example, when network configuration information of the host OS is changed while a network configuration function of the guest OS is deactivated, the one or more processors may be configured to change network configuration information of the guest OS based on the changed network configuration information.

[0007] According to an example, after the network configuration information of the host OS is changed from first network configuration information to second network configuration information, when the changed second network configuration information is restored to the first network configuration information within a critical time, the one or more processors may be configured to maintain the first network configuration information without changing the network configuration information of the guest OS to the second network configuration information.

[0008] According to an example, the one or more processors may be configured to identify a context related to network configuration of the electronic device while the electronic device is booted or after booting is completed, and disable a network configuration function of the guest OS based on the identified context.

[0009] According to an example, one or more processors may be configured to identify a context related to a network configuration of the electronic device when the sub-OS changes from a deactivated state to an activated state while the electronic device is turned on, and to deactivate a network configuration function of the sub-OS when the identified context is identified as a context on the sub-OS.

[0010] According to an example, the electronic device may further include a display. In this case, the one or more processors may be configured to provide a UI for selecting whether to activate the network configuration function of the guest OS through the display, and when deactivation of the network configuration function of the guest OS is selected through the UI, provide a guide UI indicating that the network configuration function of the guest OS is deactivated.

[0011] According to an example, the context related to the network configuration of the electronic device may include at least one of a context in which an IP address is assigned to the electronic device or a context in which communication is connected with an external device.

[0012] According to an example, the network configuration information may include at least one of IP address information of the electronic device, information about an external device connected to the electronic device, or a DNS server address of the electronic device.

[0013] According to an example, the host OS and the guest OS may be different types of OS.

[0014] According to another aspect of the present disclosure, a method for controlling an electronic device to operate based on at least one of a host OS and a guest OS includes: identifying a context related to a network configuration of the electronic device on the guest OS based on a preconfigured event. Furthermore, the control method may include deactivating a network configuration function of the guest OS when the context related to the network configuration of the electronic device is identified. Furthermore, the control method may also include operating based on network configuration information of the host OS.

[0015] According to an example, the control method may further include changing the network configuration information of the guest OS based on the changed network configuration information when the network configuration information of the host OS is changed while the network configuration function of the guest OS is deactivated.

[0016] According to the example, in a change, when, after the network configuration information of the host OS is changed from the first network configuration information to the second network configuration information, the changed second network configuration information is restored to the first network configuration information within a critical time, the first network configuration information can be maintained without changing the network configuration information of the guest OS to the second network configuration information.

[0017] According to an example, in the identifying, a context related to a network configuration of the electronic device may be identified when the electronic device is booted.

[0018] According to an example, in the identifying, when the guest OS changes from a deactivated state to an activated state while the electronic device is turned on, a context related to a network configuration of the electronic device may be identified.

[0019] According to an example, the control method may further include providing a UI for selecting whether to activate the network configuration function of the guest OS through a display, and when deactivation of the network configuration function of the guest OS is selected through the UI, providing a guide UI indicating that the network configuration function of the guest OS is deactivated.

[0020] According to an example, the context related to the network configuration of the electronic device may include at least one of a context in which an IP address is assigned to the electronic device or a context in which communication is connected with an external device.

[0021] According to an example, the network configuration information may include at least one of IP address information of the electronic device, information about an external device connected to the electronic device, or a DNS server address of the electronic device.

[0022] According to an example, the host OS and the guest OS may be different types of OS.

[0023] According to another aspect of the present disclosure, a non-transitory computer-readable recording medium is provided that stores computer commands. When executed by a processor of an electronic device, the computer commands cause the electronic device to perform operations. The operations may include identifying a context related to the network configuration of the electronic device on a guest OS based on a preconfigured event. Furthermore, the operations may include deactivating a network configuration function of the guest OS upon identifying the context related to the network configuration of the electronic device. Furthermore, the operations may include performing operations based on network configuration information of a host OS. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 is a schematic example diagram of an electronic device according to an embodiment of the present disclosure.

[0025] Figure 2 is an exemplary diagram illustrating multiple OSs and containers of an electronic device according to an embodiment of the present disclosure.

[0026] Figure 3 is a schematic configuration diagram of an electronic device according to an embodiment of the present disclosure.

[0027] Figure 4 is a flowchart for describing a method for controlling an electronic device according to an embodiment of the present disclosure.

[0028] Figure 5 is a flowchart for describing a method for controlling an electronic device based on context information related to a network configuration recognized on a guest OS according to an embodiment of the present disclosure.

[0029] Figure 6 is a flowchart for describing a method for controlling an electronic device to apply network configuration information on a host OS to a guest OS according to an embodiment of the present disclosure.

[0030] Figure 7 is an exemplary diagram illustrating applying network configuration information on a host OS to a guest OS according to an embodiment of the present disclosure.

[0031] Figure 8 is an exemplary diagram illustrating a UI related to a network configuration function displayed on a guest OS according to an embodiment of the present disclosure.

[0032] Figure 9 is a detailed configuration diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0033] After briefly describing the terms used in this specification, the present disclosure will be described in detail.

[0034] Taking into account the functions in the present disclosure, general terms that are currently widely used are selected as terms used in the exemplary embodiments of the present disclosure, but may be changed according to the intentions of those skilled in the art or judicial precedents, the emergence of new technologies, etc. In addition, in specific cases, there may be terms arbitrarily selected by the applicant. In this case, the meaning of such terms will be mentioned in detail in the corresponding description section of the present disclosure. Therefore, the terms used in the present disclosure should be defined based on the meaning of the terms and the content throughout the present disclosure rather than the simple names of the terms.

[0035] In the present disclosure, expressions “having”, “may have”, “including”, “may include”, etc. indicate the existence of corresponding features (e.g., numerical values, functions, operations, components such as parts, etc.), and do not exclude the existence of additional features.

[0036] In the present disclosure, expressions such as "A or B," "at least one of A and / or B," "one or more of A and / or B," etc. may include all possible combinations of the items listed together. For example, "A or B," "at least one of A and B," or "at least one of A or B" may indicate all of the following: 1) a case where at least one A is included, 2) a case where at least one B is included, or 3) a case where both at least one A and at least one B are included.

[0037] The expressions "first", "second", "first" or "second" etc. used in this disclosure may indicate various components, regardless of the order and / or importance of the components, and will only be used to distinguish one component from other components and will not limit the corresponding components.

[0038] When it is mentioned that any component (e.g., a first component) is (operably or communicatively) coupled with / coupled to another component (e.g., a second component) or connected to another component (e.g., a second component), it should be understood that any component is directly coupled to another component or can be coupled to another component through another component (e.g., a third component).

[0039] The expression “configured (or set) to” used in this disclosure may be replaced with the expression “suitable for”, “capable of…”, “designed to”, “adapted to”, “manufactured to” or “capable of” as appropriate. The term “configured (or set) to” may not necessarily mean “specifically designed to” in hardware.

[0040] In some cases, the expression "a device is configured to" may mean that a device is "capable" of operating in conjunction with other devices or components. For example, "a processor configured (or set) to perform A, B, and C" may refer to a dedicated processor (e.g., an embedded processor) for performing the corresponding operations, or a general-purpose processor (e.g., a central processing unit (CPU) or an application processor) that can perform the corresponding operations by executing one or more software programs stored in a memory device.

[0041] Unless the context clearly indicates otherwise, the singular form is intended to include the plural form. It will be further understood that the terms "comprising" or "formed by..." used in this specification specify the presence of the features, numbers, steps, operations, components, parts, or combinations thereof mentioned in this specification, but do not preclude the presence or addition of one or more other features, numbers, steps, operations, components, parts, or combinations thereof.

[0042] In exemplary embodiments, a "module" or "part" may perform at least one function or operation and may be implemented by hardware or software, or a combination of hardware and software. Furthermore, in addition to "modules" or "processors" that require implementation by specific hardware, multiple "modules" or multiple "processors" may be integrated into at least one module and implemented by at least one processor (not shown).

[0043] Meanwhile, various elements and regions in the drawings are schematically shown, and therefore, the spirit of the present disclosure is not limited by the relative sizes or intervals shown in the drawings.

[0044] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.

[0045] Figure 1 is a schematic illustration of an electronic device 100 according to an embodiment of the present disclosure.

[0046] refer to Figure 1 , the electronic device 100 may be implemented as a TV, a smart TV, a laptop PC, a notebook, etc., but is not necessarily limited thereto.

[0047] According to an embodiment of the present disclosure, the electronic device 100 can operate based on multiple operating systems (OS). Specifically, the electronic device 100 can include an operating system (OS) that controls the hardware of the electronic device 100 and provides a basic environment for executing application software. The operating system can serve as an interface between the hardware of the electronic device 100 and the application software.

[0048] The operating system may include a kernel that allocates resources to processes that make up the operating system and to applications, programs, and the like that execute under the control of the operating system. The kernel can map and allocate resources of the electronic device 100 to each piece of middleware in the operating system by connecting and managing the interaction between physical components (e.g., hardware components) included in the electronic device 100 and the various pieces of middleware in the operating system. Furthermore, the kernel can detect when each application or file is being executed.

[0049] For example, certain applications, programs, and the like may be executed only on a specific OS. In this case, it is difficult for the existing electronic device 100 installed with a single OS to provide functions and services through applications or programs that can only operate or execute on an OS other than the OS installed on the electronic device 100. On the other hand, since the electronic device 100 according to one embodiment of the present disclosure is installed with a plurality of different OSs, it is possible to provide diversified and expanded services by providing programs, applications, and the like to users based on different OSs.

[0050] For example, at least one of the plurality of OAs may be installed in a virtualization space (or virtualization layer) included in the electronic device 100. For example, one OS may be installed in the electronic device 100, and the remaining OSes of the plurality of OSs may be installed in a virtual space generated by the electronic device 100.

[0051] For example, the virtual space may be implemented as a virtual machine. A virtual machine is a software implementation of a computing environment and may be used as a platform for executing software based on an OS installed in the virtual machine.

[0052] In addition, the virtual space can be implemented as a container. The virtualization technology of the OS using the container refers to a technology that divides the internal space of the host OS into a kernel space for managing physical resources and a user space for executing user processes (i.e., applications), and divides the user space into several parts to allocate and share the hardware resources of the electronic device 100 as hardware resources used by each user process. In the following, for the convenience of description, it is assumed that the virtual space is implemented as a container 200.

[0053] exist Figure 1 , the first OS and the second OS are shown, but the first OS may represent a host OS of the electronic device 100 , and the second OS may represent a sub OS of the container 200 included in the electronic device 100 .

[0054] Figure 2 is an exemplary diagram illustrating a multi-OS of the electronic device 100 and the container 200 according to an embodiment of the present disclosure.

[0055] refer to Figure 2 According to an embodiment of the present disclosure, the electronic device 100 may include a virtualized container (hereinafter referred to as a "container"). That is, the electronic device 100 may be a host device, and the container 200 may be generated based on docker. Figure 2 As shown, the virtualization space may share kernel resources of the operating system of the electronic device 100 , but may include separate applications and libraries, middleware, etc. for executing each application.

[0056] Meanwhile, according to one embodiment of the present disclosure, different OSs may be installed on the electronic device 100 and the container 200. As described above, this is to provide the user with not only the OS based on the electronic device 100 but also services, functions, etc. based on other OSs through the electronic device 100. The OS may include Tizen TM 、Android TM 、Linux TM 、MAO OS TM , UNIX TMDepending on the function and purpose of the electronic device 100, different OSs may be installed on the electronic device 100 and the container 200. For example, Tizen TM Can be installed on the electronic device 100, and Android TM Can be installed on container 200.

[0057] Therefore, basic control operations of the electronic device 100 (e.g., power on / off, volume control, initialization, etc.) can be performed on Tizen. In this case, the electronic device 100 can not only provide the user with Tizen-based functions and services, but also can be used by various Android-based devices installed in the container 200. TM applications, programs, etc. to provide users with Android-based functions and services.

[0058] At the same time, according to one embodiment of the present disclosure, the sub-OS of the container 200 included in the electronic device 100 can share the host OS of the electronic device and the network environment of the electronic device 100 (for example, the network interface (or communication interface) of the electronic device, the IP address set in the electronic device, etc.).

[0059] Specifically, when the network mode of the container 200 is set to the host mode, the guest OS of the container 200 may communicate with the external device 300 using the network interface of the electronic apparatus 100 , and the container 200 may share the same IP address with the electronic apparatus 100 .

[0060] Therefore, unlike bridge mode, where a virtual IP address is generated by Docker and assigned to a container, in host mode, the external device 300 can establish a network connection with the electronic device 100 on the guest OS of the container 200 via the IP address and the network interface of the electronic device 100. However, in host mode, the network configuration (or environment) of the electronic device 100 may change according to the operation of the guest OS of the container 200. In other words, even if the user does not intend, the network configuration (or environment) of the host OS of the electronic device 100, which is primarily used by the user, may be changed by the operation (or use) of the guest OS of the container 200.

[0061] The electronic device 100 according to an embodiment of the present disclosure sets the network mode of the container 200 generated by the electronic device 100 to the host mode, and at the same time, prevents the network configuration (or environment) of the electronic device 100 from changing according to the operation of the guest OS of the container 200. Hereinafter, embodiments of the present disclosure related thereto will be described.

[0062] At the same time, Figure 2, the electronic device 100 is shown as including the container 200 as one virtualization space, but this is merely one embodiment, and it is apparent that the container may be included in a plurality of virtualization spaces.

[0063] Figure 3 is a schematic configuration diagram of an electronic device 100 according to an embodiment of the present disclosure.

[0064] The electronic device 100 includes a memory 110 and one or more processors 120 .

[0065] The memory 110 may store instructions and programs related to at least one other component of the electronic device 100. An instruction is an action statement in a programming language for one or more processors 120. In addition, programs include application programs for providing specific services and an operating system for running application programs.

[0066] According to embodiments, the memory 110 may be implemented as a nonvolatile memory 110 , a volatile memory, a flash memory, a hard disk drive (HDD), a solid-state drive (SSD), etc. The memory 110 is accessed by the processor 120 , and the processor 120 may perform reading, recording, correction, deletion, updating, etc. of data.

[0067] In the present disclosure, the term “memory 110 ” includes the memory 110 , a read-only memory (ROM) (not shown) in the processor 120 , a random access memory (RAM), or a memory card (not shown) (e.g., a micro secure digital (SD) card or a memory stick) installed in the electronic device 100 .

[0068] In addition, memory 110 can store host OS information and guest OS information. Specifically, memory 110 can store information related to the host OS, including host OS programs, host OS libraries, etc. Furthermore, memory 110 can store information related to the guest OS, including guest OS programs, guest OS libraries, etc. In one example, the guest OS can be executed on container 200, and memory 110 can store Docker image files related to container 200.

[0069] One or more processors 120 according to an embodiment of the present disclosure are electrically connected to the memory 110 to control overall operations and functions of the electronic device 100 .

[0070] The one or more processors 120 may include one or more of a central processing unit (CPU), a graphics processing unit (GPU), an accelerated processing unit (APU), an integrated many-core (MIC), a digital signal processor (DSP), a neural processing unit (NPU), a hardware accelerator, or a machine learning accelerator. The one or more processors 120 may control one or any combination of the other components of the electronic device 100 and may perform operations related to communication or data processing. The one or more processors 120 may execute one or more programs or instructions stored in the memory 110. For example, the one or more processors 120 may execute the method according to an embodiment of the present disclosure by executing one or more instructions stored in the memory 110.

[0071] When the method according to an embodiment of the present disclosure includes multiple operations, the multiple operations may be performed by one processor or by multiple processors. For example, when the first operation, the second operation, and the third operation are performed by the method according to the embodiment, the first operation, the second operation, and the third operation may all be performed by the first processor, or the first operation and the second operation may be performed by the first processor (e.g., a general-purpose processor), while the third operation may be performed by the second processor (e.g., an AI-specific processor).

[0072] One or more processors 120 may be implemented as a single-core processor including one core, or may be implemented as one or more multi-core processors including multiple cores (e.g., homogeneous multi-core or heterogeneous multi-core). When one or more processors 120 are implemented as a multi-core processor, each of the multiple cores included in the multi-core processor may include internal processor 120 memory, such as cache memory and on-chip memory, and a common cache shared by the multiple cores may be included in the multi-core processor. In addition, each of the multiple cores included in the multi-core processor (or some of the multiple cores) may independently read and execute program commands for implementing the method according to the embodiments of the present disclosure, or all (or some) of the multiple cores may be linked to read and execute program commands for implementing the method according to the embodiments of the present disclosure.

[0073] When the method according to an embodiment of the present disclosure includes multiple operations, the multiple operations can be performed by one of the multiple cores included in the multi-core processor, or can be performed by multiple cores. For example, when the first operation, the second operation, and the third operation are performed by the method according to the embodiment, the first operation, the second operation, and the third operation can all be performed by the first core included in the multi-core processor, or the first operation and the second operation can be performed by the first core included in the multi-core processor, and the third operation can be performed by the second core included in the multi-core processor.

[0074] In an embodiment of the present disclosure, the processor 120 may represent a system on a chip (SoC) in which one or more processors and other electronic components are integrated, a single-core processor, a multi-core processor, or a core included in a single-core processor or a multi-core processor. Here, the core may be implemented as a CPU, GPU, APU, MIC, DSP, NPU, hardware accelerator, machine learning accelerator, etc., but the embodiments of the present disclosure are not limited thereto. Hereinafter, for ease of description, one or more processors 120 will be referred to as processor 120.

[0075] Figure 4 is a flowchart for describing a method for controlling an electronic device according to an embodiment of the present disclosure.

[0076] According to an embodiment, the electronic device 100 may operate based on at least one of a host OS and a guest OS. By way of example, the host OS is an OS installed in the physical space of the electronic device 100, and the guest OS is an OS installed in the virtualized space of the electronic device 100, but is not limited thereto. Meanwhile, the network mode of the container 200 may be a host mode.

[0077] according to Figure 4 In the illustrated embodiment, the processor 120 may identify whether the context of the electronic device 100 is a context related to network configuration based on pre-configured events (S410). Here, the pre-configured events may be events that occur on the electronic device 100 via at least one of the host OS and the guest OS. For example, the pre-configured events may include at least one of booting up the electronic device 100, turning on the device, entering a preset menu, and activating the guest OS.

[0078] According to an example, the context of the electronic device 100 may include various situations, such as configuration information of the electronic device 100, functions executed in the electronic device 100, and the communication state of the electronic device 100 when a preconfigured event occurs. In addition, the context related to the network configuration may include various situations in which an operation or function for setting or changing a network is being performed or can be performed, such as a situation in which information related to the network configuration is included in the configuration information, a situation in which network configuration is required, a situation in which a function related to the current network configuration is being performed, etc.

[0079] Furthermore, a context related to the network configuration may be identified in at least one of the host OS or the guest OS. For example, the host OS may identify whether the current context is a context related to the network configuration based on the configuration information. Alternatively, the guest OS may identify whether the current context is a context related to the network configuration based on the configuration information.

[0080] When the context of the electronic device 100 is identified as a context related to network configuration ( S410 : YES), the processor 120 may deactivate the network configuration function of the guest OS ( S420 ).

[0081] Here, the network configuration function may be a function for actively setting or changing a network in the OS through the communication interface of the electronic device 100. For example, a user may use the network configuration function of the guest OS to establish a network connection between the electronic device 100 and an external electronic device 100. Alternatively, the user may change the IP address of the electronic device 100 in the guest OS, or receive the IP address of the electronic device 100 from an access point (AP) device through the network configuration function of the guest OS.

[0082] At the same time, the network configuration function can be dynamically activated or deactivated on the guest OS. That is, the processor 120 can dynamically activate or deactivate the network configuration function of the guest OS. Specifically, the network configuration function of the guest OS can be deactivated by deactivating the control group (Cgroup) function related to the network of the electronic device 100 of the guest OS.

[0083] When processor 120 disables the network configuration function of the guest OS, the user can execute or change the network configuration of electronic device 100 without using the guest OS. For example, the UI, GUI, connection manager software, etc. related to the network configuration of electronic device 100 can be disabled in the guest OS. In this case, processor 120 can change the network configuration of electronic device 100 without using the guest OS. For example, even when detecting an external electronic device 100 registered (or pre-paired) in the guest OS via Bluetooth communication, processor 120 can not execute Bluetooth communication (i.e., a network connection based on Bluetooth communication) with the external electronic device 100 in the guest OS.

[0084] Subsequently, the processor 120 may operate based on the network configuration information of the host OS (S430). In particular, the network environment of the electronic device may be changed by changing the network configuration only on the first OS.

[0085] For example, according to a user control command input through the first OS, the processor 120 may perform a network connection between the electronic device 100 and the external electronic device 300, or may request the external electronic device 300 to transmit a dynamic IP address assigned to the electronic device 100. In addition, the processor 120 may provide an application, a program, a UI, etc. that allows the user to change the network configuration of the electronic device 100 through the first OS. That is, the network configuration of the electronic device can be changed only on the first OS because, as described above, the network configuration function of the second OS is disabled in step S420. Figure 5is a flowchart for describing a method for controlling an electronic device based on context information related to a network configuration recognized on a guest OS according to an embodiment of the present disclosure.

[0086] Figure 5 The S530 and S540 shown in the figure may correspond to Figure 4 Therefore, detailed description thereof will be omitted.

[0087] according to Figure 5 In the example shown, the processor 120 may identify whether a preconfigured event has occurred (S510). For example, when the electronic device 100 is booted (more specifically, when the host OS of the electronic device 100 is executed while the electronic device 100 is booted), the processor 120 may identify that a preconfigured event has occurred in the electronic device 100.

[0088] In addition, when the electronic device 100 in a standby state is turned on, the processor 120 may recognize that a preconfigured event has occurred in the electronic device 100. For example, the processor 120 may recognize that a preconfigured event has occurred in the electronic device 100 when the electronic device 100 in a standby mode on the guest OS is turned on, based on a user control command input on the guest OS or a wake-up signal received by the electronic device 100 on the guest OS.

[0089] According to an embodiment of the present disclosure, when it is recognized that a preconfigured event has occurred in the electronic apparatus 100 , the processor 120 may recognize a context related to the network configuration of the electronic apparatus 100 on the guest OS ( S520 ).

[0090] Here, the context related to the network configuration on the sub-OS is information related to executing or changing the network configuration of the electronic device 100 on the sub-OS, and when it is recognized that the user attempts (attempts) a network connection between the electronic device 100 and the external device 300 or changes the network configuration of the electronic device 100 on the sub-OS, the processor 120 can detect the context related to the network configuration on the sub-OS.

[0091] As described above, changing the network configuration of the electronic apparatus 100 may include allocating an IP address from the external device 300 (eg, an AP device, an ISP server, etc.) or changing an IP address set in the electronic apparatus 100 .

[0092] That is, when a preconfigured event is detected on the electronic device 100, the processor 120 may identify a context related to the network configuration of the electronic device 100 on the guest OS (S520). When the processor 120 identifies that the context information on the guest OS is a context related to the network configuration of the electronic device (S502: Yes), the processor 120 may deactivate the network configuration function of the guest OS (S530).

[0093] For example, when the electronic device 100 is turned on or started, the processor 120 may recognize that a preconfigured event has occurred in the electronic device 100, and may recognize whether a context related to the network configuration of the electronic device 100 has occurred on the guest OS. In this case, when the processor 120 recognizes that a context related to the network configuration of the electronic device 100 has occurred on the guest OS, the processor 120 may deactivate the network configuration function of the guest OS (S530). On the other hand, when the processor 120 recognizes that a context related to the network configuration of the electronic device 100 has not occurred on the guest OS, the processor 120 may continue to maintain the network configuration function of the guest OS in an activated state even when a preconfigured event has occurred.

[0094] For example, when the first application running on the guest OS is set to run when the electronic device 100 is booted up, and the first application performs an operation based on a network connection with the external device 300, the processor 120 can recognize that a preconfigured event has occurred in the electronic device 100 when the electronic device 100 is booted up. In this case, when the first application is running on the guest OS, or when a network connection with the external device 300 is attempted while the first application is running, the processor 120 can detect a context related to network configuration on the guest OS. Therefore, the processor 120 can deactivate the network configuration function of the guest OS.

[0095] This is to prevent the network configuration of the electronic device from being changed by the guest OS. Specifically, to prevent the network environment of the electronic device set in response to the host OS of the electronic device from being changed to correspond to the guest OS, the processor can continuously identify whether a context related to the network configuration of the electronic device has occurred on the second OS when a pre-configured event occurs, and then deactivate the network configuration function of the second OS.

[0096] Figure 6 is a flowchart for describing a method for controlling an electronic device to apply network configuration information on a host OS to a guest OS according to an embodiment of the present disclosure.

[0097] Meanwhile, according to an embodiment of the present disclosure, when network configuration information of the host OS is changed while the network configuration function of the guest OS is deactivated, the processor 120 may change network configuration information of the guest OS based on the changed network configuration information.

[0098] Specifically, when the processor 120 operates based on the network configuration information of the host OS (i.e., when the network configuration function of the sub-OS is disabled) (S630), the processor 120 can identify whether the network configuration information of the electronic device 100 has changed (S640). In this case, the change of the network configuration information of the electronic device 100 can be performed on the host OS. For example, when the electronic device 100 is connected to the external device 300 via a network or an IP address is assigned to the electronic device 100 on the host OS, the processor 120 can identify that the network configuration information of the electronic device 100 has changed. Specifically, since the network configuration function of the sub-OS is disabled, the setting and change of the network of the electronic device 100 can also be performed through the host OS. For example, the user can set the network environment of the electronic device 100 and change the preset network information through the network configuration function provided by the host OS (e.g., network configuration program, UI, etc.).

[0099] In this case, when the processor 120 recognizes that the network configuration information has changed, the processor 120 may change the network configuration information of the guest OS based on the changed network configuration information of the electronic apparatus 100 ( S650 ).

[0100] According to an embodiment of the present disclosure, the processor 120 may change the network configuration of the guest OS to be the same as the network configuration of the host OS based on the changed network configuration information of the electronic apparatus 100. Here, the network configuration information may include IP address information of the electronic apparatus 100, information of the external device 300 connected to the electronic apparatus 100, or a DNS server address of the electronic apparatus 100.

[0101] Specifically, the processor 120 may apply the changed network configuration of the electronic device 100 on the guest OS. Figure 7When the electronic device 100 is connected to the external device 300-2 on the host OS, the processor 120 can equally apply the network configuration information of the host OS to the guest OS. That is, the processor 120 can synchronize the network configuration of the electronic device on the host OS with the network configuration of the electronic device on the guest OS. For example, when establishing a WIFI connection with the router 200-2 as an external device on the host OS, the processor 120 can obtain the address for the WIFI connection with the router 200-2 and share the obtained address with the guest OS. In other words, the processor 120 can share the address for the WIFI connection with the router 200-2 obtained by the host OS with the guest OS, so that WIFI communication can be performed through the router 200-2 even on the guest OS.

[0102] Therefore, the processor may change the network configuration information of the guest OS so that the external device 300 - 2 connected on the host OS is connected to the electronic apparatus 100 even on the guest OS.

[0103] In addition, when the electronic device 100 is connected to the external device 300 via Bluetooth on the host OS, the processor 120 can synchronize the network configuration so that a Bluetooth connection is established with the external device 300 connected on the host OS even on the guest OS. In this case, the processor 120 can share the address for the Bluetooth communication connection obtained by the host OS during the Bluetooth connection process with the guest OS. For example, the processor 120 can share the MAC address of the external device 300 received from the external device 300 on the host OS during the Bluetooth connection process with the guest OS, thereby performing Bluetooth communication with the external device 300 on the guest OS.

[0104] Alternatively, when the electronic apparatus 100 is assigned a dynamic IP address from the external device 300 (eg, ISP server, etc.) on the host OS, the processor 120 may apply the IP address of the electronic apparatus 100 on the guest OS to the dynamic IP address assigned on the host OS.

[0105] To this end, processor 120 can compile commands for changing network configuration information based on the language of the guest OS and execute the compiled commands on the guest OS. In other words, when the network configuration function of the guest OS is disabled, active changes to the network configuration on the guest OS are restricted. However, processor 120 can generate commands that can be executed on the guest OS based on the network configuration information on the host OS to change the network configuration on the guest OS to match the host OS.

[0106] Figure 8is an exemplary diagram illustrating a UI related to a network configuration function displayed on a guest OS according to an embodiment of the present disclosure.

[0107] At the same time, according to an embodiment of the present disclosure, the processor 120 provides a UI for selecting whether to activate the network configuration function of the sub-OS through the display, and when deactivation of the network configuration function of the sub-OS is selected through the UI, a guide UI indicating that the network configuration function of the sub-OS is deactivated can be provided.

[0108] Specifically, the processor 120 can deactivate the guest OS network configuration function according to a user control command. In some cases, the user may need to actively connect to the network with the external device 300 while executing an application, program, etc. based on the guest OS. Alternatively, even when a pre-configured event does not occur, the user may not want to change the network configuration of the electronic device 100 while executing an application, program, etc. based on the guest OS on the guest OS.

[0109] Therefore, reference Figure 8 , the processor 120 may display a UI on the display of the electronic device 100 so that the guest OS network configuration function deactivated by the user may be activated, or the guest OS network configuration function activated by the user may be deactivated.

[0110] In this case, when a preconfigured event is detected, when a context related to the network configuration of the electronic device 100 is detected on the guest OS, the processor 120 may display a UI related to the network configuration. For example, when the electronic device 100 is booted, the processor 120 may display a UI related to the network configuration on the host OS.

[0111] Alternatively, when a control command is input through a key corresponding to a network configuration function, the processor 120 may display a UI related to the network configuration function on the display, the key being arranged on an interface of the electronic device 100 or on a remote controller 400 linked to the electronic device 100 .

[0112] Meanwhile, when deactivation of the network configuration function of the guest OS is selected through the UI related to the network configuration displayed on the display, the processor 120 may provide a guide UI indicating that the network configuration function of the guest OS is deactivated.

[0113] Return Reference Figure 8The boot UI indicating that the network configuration function of the guest OS is disabled may include a message indicating that the network configuration function of the guest OS is disabled and a message indicating that the network configuration cannot be executed or changed by the network configuration function of the guest OS. Thus, when the user is executing an application, program, etc. on the guest OS, the electronic device 100 can enable the user to recognize that the network configuration of the electronic device 100 cannot be changed or that the network connection with the external device 300 cannot be performed.

[0114] At the same time, according to an embodiment of the present disclosure, when the network configuration information on the host OS changes, the processor 120 may change the network configuration information on the guest OS after the critical time has passed. In this case, when the network configuration information of the host OS changes from the first network configuration information to the second network configuration information, and the second network configuration information changed within the critical time is restored to the first network configuration information, the processor 120 may not change the network configuration information of the guest OS to the second network configuration information, and may maintain the first network configuration information.

[0115] Specifically, when the processor 120 detects that the network configuration information in the host OS has been changed, it can identify whether the network configuration information changed during the critical time has been changed again. For example, when the external device 300 and the electronic apparatus 100 are connected via Bluetooth based on an input user control command on the host OS, the processor 120 can identify that the network configuration information about the electronic apparatus 100 on the host OS has been changed. In this case, when the critical time period is 1 second, the processor 120 can change the network configuration information of the sub-OS so that after 1 second has passed, the external device 300 and the electronic apparatus 100 are connected via Bluetooth on the sub-OS based on the changed network configuration information.

[0116] At the same time, when the processor 120 recognizes that after the network configuration information of the host OS has been changed, the network configuration information that was changed before 1 second has been restored to the previous network configuration information, it may not change the second network configuration information. Using the above example again for explanation, after the external device 300 and the electronic apparatus 100 are connected via Bluetooth on the host OS based on a user control command input, before the critical time of 1 second has passed, when the Bluetooth connection between the external device 300 and the electronic apparatus 100 is released again based on another control command input by the user on the host OS, the processor 120 may not change the network connection on the sub-OS. That is, when the Bluetooth connection between the electronic apparatus 100 and the external device 300 is not established on the sub-OS, the processor 120 may maintain the network configuration information of the sub-OS.

[0117] The processor 120 may not apply unnecessary network configuration changes on the host OS to the guest OS, thereby preventing unnecessary waste of resources of the electronic device 100 without performing unnecessary processing.

[0118] Figure 9 is a detailed configuration diagram of an electronic device according to an embodiment of the present disclosure.

[0119] The electronic device 100 includes a memory 110, a communication interface 130, a display 140, a speaker 150, an input interface 160, and one or more processors 120. Figure 2 The detailed description of the illustrated memory 110 and the one or more processors 120 is repeated.

[0120] The communication interface 130 may include various communication modules to perform communication with external devices. For example, the communication unit may include a wireless communication module and may include a cellular communication module using at least one of LTE, LTE Advance (LTE-A), 5th Generation (5G), Code Division Multiple Access (CDMA), Wideband CDMA (WCDMA), Universal Mobile Telecommunications System (UMTS), Wireless Broadband (WiBro), or Global System for Mobile Communications (GSM).

[0121] As another example, the wireless communication module may include, for example, at least one of Wireless Fidelity (WiFi), Bluetooth, Bluetooth Low Energy (BLE), Zigbee, or Radio Frequency (RF).

[0122] Specifically, the processor 120 may be allocated an IP address from an external device through the communication interface 130 or may be connected to an external device.

[0123] The display 140 may display various types of information according to the control of the processor 120. Specifically, the processor 120 may display a UI for selecting whether to activate the network configuration function of the guest OS on the display 140. In addition, the processor 120 may display a guide UI on the display 140 indicating that the network configuration function of the guest OS is deactivated.

[0124] Meanwhile, the display 140 may be implemented as a touch screen having a touch panel or a flexible display 140. When the display 140 is implemented as a touch screen, the display 140 may function as an input interface receiving a touch input and an output interface displaying various types of information.

[0125] The speaker 150 may output various audio data that have been subjected to various processing operations of the audio processing unit, such as decoding, amplification, and noise filtering, as well as various notification sounds or voice messages.

[0126] The input interface 160 may receive a user input for controlling the electronic device 100. Specifically, the input unit may be implemented as a touch panel, a button, etc. The input interface 160 may receive a user input for changing a network configuration of the electronic device 100.

[0127] At the same time, the above methods according to various embodiments of the present disclosure can be implemented in the form of an application that can be installed in an existing electronic device. Alternatively, an artificial neural network (or deep artificial neural network) based on deep learning (i.e., a learning network model) can be used to perform the above methods according to various embodiments of the present disclosure.

[0128] In addition, the above-mentioned methods according to various embodiments of the present disclosure may be implemented only through software upgrade or hardware upgrade of an existing electronic device.

[0129] In addition, the various embodiments of the present disclosure described above may be performed by an embedded server provided in the electronic device or a server external to the electronic device.

[0130] At the same time, according to an embodiment of the present disclosure, the various embodiments described above may be implemented by software including instructions stored in a machine-readable storage medium (e.g., a computer-readable storage medium). A machine may be a device that calls stored instructions from a storage medium and can operate according to the called instructions, and may include an electronic device (e.g., electronic device A) according to the disclosed embodiments. In the case where a processor executes a command, the processor may directly execute the function corresponding to the command, or other components may execute the function corresponding to the command under the control of the processor. The command may include code created 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" means that the storage medium is tangible and does not include a signal, and does not distinguish whether the data is stored semi-permanently or temporarily in the storage medium.

[0131] In addition, according to an embodiment of the present disclosure, the above-mentioned methods according to various embodiments may be included in and provided in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a storage medium (e.g., a compact disc read-only memory (CD-ROM)), which may be read by a machine or downloaded through an application store (e.g., PlayStore). TM In the case of online distribution, at least a portion of the computer program product may be at least 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 temporarily generated.

[0132] In addition, each of the components (e.g., modules or programs) according to the various embodiments described above may include a single entity or multiple entities, and some of the corresponding subcomponents described above may be omitted, or other subcomponents may be further included in various embodiments. Alternatively or additionally, some components (e.g., modules or programs) may be integrated into one entity and perform the same or similar functions as each corresponding component performed prior to integration. The operations performed by the modules, programs, or other components according to various embodiments may be performed sequentially, in parallel, iteratively, or in a heuristic manner, at least some operations may be performed in a different order or omitted, or other operations may be added.

[0133] Although the embodiments of the present disclosure have been shown and described above, the present disclosure is not limited to the above specific embodiments, but various modifications may be made by those skilled in the art without departing from the gist of the present disclosure disclosed in the appended claims. Such modifications should also be understood to fall within the scope and spirit of the present disclosure.

Claims

1. An electronic device comprising: a memory configured to store host operating system (OS) information and guest OS information; as well as One or more processors configured to operate based on at least one of the host OS and the guest OS, wherein the one or more processors are configured to deactivate a network configuration function of the sub-OS when a context related to the network configuration of the electronic device is identified based on a preconfigured event; Based on the context, network configuration information of the host OS is changed or maintained.

2. The electronic device according to claim 1, wherein When the network configuration information of the host OS is changed while the network configuration function of the guest OS is disabled, the one or more processors are configured to change the network configuration information of the guest OS based on the changed network configuration information.

3. The electronic device according to claim 2, wherein: After the network configuration information of the host OS is changed from the first network configuration information to the second network configuration information, when the changed second network configuration information is restored to the first network configuration information within a critical time, the one or more processors are configured to maintain the first network configuration information without changing the network configuration information of the guest OS to the second network configuration information.

4. The electronic device according to claim 1, wherein The one or more processors are configured to, when the electronic device is powered on, identify the context associated with the network configuration of the electronic device, and Based on the identified context, the network configuration function of the guest OS is disabled.

5. The electronic device according to claim 1, wherein When the guest OS is changed from a deactivated state to an activated state while the electronic device is turned on, the one or more processors are configured to identify a context related to the network configuration of the electronic device, and When the identified context is identified as a context on the guest OS, the network configuration function of the guest OS is deactivated.

6. The electronic device according to claim 1, further comprising: monitor, wherein the one or more processors are configured to provide a UI for selecting whether to activate the network configuration function of the guest OS through the display, and When deactivation of the network configuration function of the guest OS is selected through the UI, a boot UI indicating that the network configuration function of the guest OS is deactivated is provided.

7. The electronic device according to claim 1, wherein The context related to the network configuration of the electronic device includes at least one of a context in which an IP address is assigned to the electronic device or a context in which communication is connected with an external device.

8. The electronic device according to claim 1, wherein The network configuration information includes at least one of IP address information of the electronic device, information about an external device connected to the electronic device, or a DNS server address of the electronic device.

9. The electronic device according to claim 1, wherein: The host OS and the guest OS are different types of OS.

10. A method for controlling an electronic device to operate based on at least one of a host OS and a guest OS, the method comprising: identifying a context related to a network configuration of the electronic device based on a preconfigured event; deactivating a network configuration function of the guest OS when a context related to the network configuration of the electronic device is identified; and Based on the context, network configuration information of the host OS is changed or maintained.

11. The method according to claim 10, further comprising: When the network configuration information of the host OS is changed while the network configuration function of the guest OS is deactivated, the network configuration information of the guest OS is changed based on the changed network configuration information.

12. The method according to claim 11, wherein In the change, after the network configuration information of the host OS is changed from the first network configuration information to the second network configuration information, when the changed second network configuration information is restored to the first network configuration information within a critical time, the first network configuration information is maintained without changing the network configuration information of the guest OS to the second network configuration information.

13. The method according to claim 10, wherein: In the identifying, when the electronic device is powered on, the context related to the network configuration of the electronic device is identified.

14. The method according to claim 10, wherein: In the identifying, when the guest OS changes from a deactivated state to an activated state while the electronic device is turned on, the context related to the network configuration of the electronic device is identified.

15. A non-transitory computer-readable recording medium storing computer commands that, when executed by a processor of an electronic device, cause the electronic device to perform operations, wherein: The operations include: Based on a preconfigured event, identifying a context related to a network configuration of the electronic device on the guest OS; deactivating a network configuration function of the guest OS when a context related to the network configuration of the electronic device is identified; and Based on the context, network configuration information of the host OS is changed or maintained.