Electronic device and operating method thereof
By using the reset and link disconnection/on events of the communicator in the Internet of Things environment, the TCP session is maintained, and the problem of not being able to receive power-up packets after power-off is solved, and the normal operation of the electronic device in suspend mode is achieved Electrical operation.
Patent Information
- Application Number
- CN202080051529.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-07-30
- Filing Date
- 2020-06-22
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2040-06-22
AI Technical Summary
In the Internet of Things environment, when an electronic device with IoT function receives a power-up packet after the power is cut off, it may not be able to receive it normally because the TCP session is terminated, resulting in the power-up cannot be normal.
By maintaining the TCP session in a power-off state, using the communicator reset and link disconnect/on events, the process of closing the TCP socket is skipped, thereby maintaining the communication connection in suspend mode, ensuring that power-up can be received Bag.
It realizes that the power-up packet can be received normally even in the power-off state, ensuring that the electronic device can maintain communication connection with the server in the suspend mode, and ensuring that the device can be powered up smoothly.
Smart Images

Figure CN114175692B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to an electronic device and an operating method of the electronic device, and for example, to an electronic device capable of receiving a power-on packet and performing a power-on operation even when power is off, and an operating method of the electronic device. Background Art
[0002] The Internet of Things (IoT) refers to interrelated objects (e.g., electronic devices, etc.), such as display devices such as televisions (TVs), smart phones, personal computers (PCs), cars, refrigerators, washing machines, and watches connected to a wireless network. Using IoT, multiple electronic devices can send and receive data, and process data to be driven automatically. For example, a user can control a TV inside a house using a smart phone outside the house.
[0003] In order to implement an IoT environment, an electronic device equipped with an IoT function generally establishes a communication session with an IoT cloud server and performs an operation for maintaining a connection between the electronic device and the server through the communication session.
[0004] When an IoT-enabled electronic device is powered off and subsequently receives a power-on packet, a Transmission Control Protocol (TCP) session may be terminated depending on a network link disconnection / connection event, and thus, the power-on packet may not be received normally. Summary of the invention
[0005] [Technical solution]
[0006] An electronic device and an operating method of the electronic device are provided. The electronic device can perform a power-on operation by normally receiving a power-on packet in a power-off state.
[0007] [Beneficial Effects]
[0008] The electronic device according to an embodiment of the present disclosure may maintain a TCP session in a suspend mode by skipping an operation according to a network link disconnection / connection event according to a reset of the communicator, and thus may receive a power-on packet. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 is a diagram illustrating an exemplary Internet of Things (IoT) system according to an embodiment of the present disclosure;
[0010] Figure 2 is a diagram showing an exemplary electronic device and an exemplary external device operating in an IoT environment according to an embodiment of the present disclosure;
[0011] Figure 3is a signal flow diagram illustrating an exemplary operation when an electronic device receives a power-on packet from an IoT cloud server in a suspend mode in an IoT environment according to an embodiment of the present disclosure;
[0012] Figure 4 is a signal flow diagram illustrating an exemplary operation of powering on an electronic device using an external device after the electronic device enters a suspend mode in an IoT environment according to an embodiment of the present disclosure;
[0013] Figure 5 is a flowchart illustrating an exemplary operation method of an electronic device according to an embodiment of the present disclosure;
[0014] Figure 6 is a flowchart illustrating an exemplary operation method of an electronic device according to an embodiment of the present disclosure;
[0015] Figure 7 is a flowchart illustrating an exemplary operation method of an electronic device according to an embodiment of the present disclosure;
[0016] Figure 8 is a block diagram showing an exemplary configuration of an electronic device according to an embodiment of the present disclosure; and
[0017] Fig. 9 is a block diagram illustrating an exemplary configuration of an electronic device according to another embodiment of the present disclosure. DETAILED DESCRIPTION
[0018] An electronic device and an operating method of the electronic device are provided. The electronic device can perform a power-on operation by normally receiving a power-on packet in a power-off state.
[0019] Additional aspects will be set forth in part in the description which follows and, in part, will be apparent from the description.
[0020] According to an exemplary embodiment of the present disclosure, an electronic device includes: a communicator including a communication circuit configured to communicate with a server; a memory storing one or more instructions; and a processor configured to execute the one or more instructions stored in the memory to: set information associated with an operation performed in response to an ongoing change in an operating state of the communicator with a first value, wherein the first value represents an operation to be skipped when the electronic device is operating in a suspend mode; in response to an ongoing change in the operating state of the communicator when the electronic device is operating in the suspend mode, skip the operation based on the information having the first value; and in response to the operating mode of the electronic device switching from the suspend mode to the normal mode, set the information with a second value, wherein the second value represents the operation to be performed in response to the ongoing change in the operating state of the communicator.
[0021] According to an exemplary embodiment of the present disclosure, an electronic device includes: a communicator, including a communication circuit configured to communicate with a server; a memory, storing one or more instructions; and a processor, configured to execute one or more instructions stored in the memory to: set an operation to be skipped according to a connection release of the communicator based on receiving first operating mode change information in normal mode, and enter a suspend mode from the normal mode, skip the operation according to the connection release based on receiving connection release information from the communicator in the suspend mode, and after receiving connection release information from the communicator, switch from the suspend mode to the normal mode based on receiving second operating mode change information, and release the setting to skip the operation according to the connection release of the communicator in the normal mode.
[0022] The processor may also be configured to execute one or more instructions to establish a Transmission Control Protocol (TCP) session with a server using Transmission Control Protocol / Internet Protocol (TCP / IP) in normal mode, and the communicator may also be configured to perform operations to maintain the TCP session in suspend mode and receive a power-on packet from the server via the TCP session.
[0023] The connection release of the communicator may include the occurrence of a link disconnection / connection event of the communicator, wherein the processor may be further configured to maintain the TCP session by skipping an operation according to the link disconnection / connection event of the communicator.
[0024] The processor may also be configured to execute one or more instructions to maintain the TCP session by skipping a process of closing the TCP socket based on the occurrence of a link disconnection / connection event of the communicator.
[0025] The communicator may also be configured to send a wake-up signal to the processor based on receiving a power-on packet from the server in suspend mode, and the processor may also be configured to resume execution of one or more instructions based on the wake-up signal, and control the communicator to be reset, and skip operations based on connection release based on receiving connection release information based on the reset of the communicator.
[0026] The communicator may be further configured to receive a power-on packet retransmitted from the server based on completing the reset and transmit second operation mode change information to the processor, and the processor may be further configured to switch to the normal mode by performing a power-on operation based on receiving the second operation mode change information.
[0027] The processor may also be configured to execute one or more instructions to cause the electronic device to send a response message to the server in response to receiving the second operation mode change information.
[0028] The electronic device may further include a display, wherein the processor may be further configured to execute one or more instructions to determine whether to turn on the display based on the second operation mode change information received from the communicator.
[0029] The processor may also be configured to execute one or more instructions to terminate the TCP session with the server by executing a process of closing the TCP socket based on a connection release occurring in the normal mode of the communicator.
[0030] According to an exemplary embodiment of the present disclosure, an operating method of an electronic device includes: receiving first operating mode change information in a normal mode; in response to receiving the first operating mode change information, setting an operation to be skipped according to a connection release of a communicator, and entering a suspend mode from a normal mode; based on receiving connection release information from the communicator in the suspend mode, skipping the operation according to the connection release; after receiving the connection release information, a processor receives second operating mode change information; in response to receiving the second operating mode change information, switching from the suspend mode to the normal mode; and releasing the setting to skip the operation according to the connection release in the normal mode.
[0031] [Invention Mode]
[0032] Terms used in the present disclosure will be briefly described below, and the present disclosure will be described in more detail.
[0033] Although common words widely used in the present disclosure are selected as terms used in the present disclosure while considering the functions of the present disclosure, they may change according to the intention of ordinary technicians in the field, judicial precedents, the emergence of new technologies, etc. The present disclosure may also use arbitrarily selected words. In this case, their meanings will be described in detail in the detailed description of the present disclosure, or can be determined by the detailed description. Therefore, the terms must be defined based on the meaning of the terms and the content of the entire disclosure, rather than by simply stating the terms themselves.
[0034] Throughout the disclosure, the expression "at least one of a, b, or c" means only a, only b, only c, both a and b, both a and c, both b and c, all of a, b, and c, or variations thereof.
[0035] It should be understood that when a part "includes" a component, the part does not exclude another component, but may also include another component, unless the context clearly dictates otherwise. As used herein, the term "unit", "module" or "unit" refers to a unit that can perform at least one function or operation and can be implemented as hardware or software or as a combination of hardware and software.
[0036] Hereinafter, various exemplary embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings, so that the present disclosure can be easily implemented by a person of ordinary skill in the art to which the present disclosure belongs. However, the present disclosure may be embodied in different forms and should not be construed as being limited to the exemplary embodiments of the present disclosure described herein. In the accompanying drawings, parts not related to the description may not be shown or described to avoid obscuring the present disclosure with unnecessary details, and similar components may be assigned the same reference numerals throughout the disclosure.
[0037] Figure 1 is a diagram illustrating an exemplary Internet of Things (IoT) system according to an embodiment of the present disclosure.
[0038] refer to Figure 1 , an IoT system according to an embodiment of the present disclosure may include an electronic device 100 , an external device 200 , and an IoT cloud and an access point (AP) 10 connecting the electronic device 100 to the external device 200 .
[0039] The electronic device 100 according to an embodiment of the present disclosure may transmit and receive data to and from the external device 200 through a communication network.
[0040] For example, the electronic device 100 may be connected to at least one electronic device located adjacently, or may be connected to at least one electronic device located remotely. The electronic device 100 may send certain data to and receive certain data from at least one external device, pair with at least one external device, remotely control at least one external device, or be remotely controlled by at least one external device.
[0041] The communication network according to the embodiment of the present disclosure may be configured to include, for example, but not limited to, at least one of a wired communication network, a wireless communication network, etc. For example, a communication network for implementing IoT, mobile communication (e.g., wireless broadband (Wibro), world interoperability for microwave access (Wimax), code division multiple access (CDMA), wideband CDMA (WCDMA), third generation (3G), 4G or 5G), near field communication (NFC) (e.g., Bluetooth, wireless local area network (WLAN), or Wi-Fi), and / or low power long distance communication (e.g., TV white space (TVWS) or weightless) may be used. However, it should be understood that the present disclosure is not limited thereto.
[0042] Hereinafter, a case where, in order to realize an IoT environment, the electronic device 100 is interconnected with a remotely located external device 200 (e.g., a mobile device) through a network using a transmission control protocol / Internet protocol (TCP / IP) communication protocol (Internet protocol) will be described as a non-limiting example. For example, in various exemplary embodiments of the present disclosure, a case where an IoT platform is realized using a TCP / IP communication protocol as an Internet protocol will be described as a non-limiting example.
[0043] For example, when the electronic device 100 is located at home and the external device 200 is located away from home, the electronic device 100 and the external device 200 may be connected to each other through the Internet and implement an IoT environment.
[0044] The electronic device 100 according to an embodiment of the present disclosure may be implemented in various forms, such as, but not limited to, a television (TV), a mobile phone, a tablet personal computer (PC), a digital camera, a camcorder, a laptop computer, a desktop computer, an electronic book terminal, a digital broadcast terminal, a personal digital assistant (PDA), a portable multimedia player (PMP), a navigation system, an MP3 player, a wearable device, etc. In addition, the electronic device 100 according to an embodiment of the present disclosure may include, for example, but not limited to, home appliances such as a refrigerator, a washing machine, an air conditioner, a cleaner, a light bulb, an air purifier, etc. In addition, the electronic device 100 may be a fixed electronic device placed at a fixed location or a mobile electronic device having a portable form, and may be a digital broadcast receiver capable of receiving digital broadcasts.
[0045] The external device 200 according to an embodiment of the present disclosure may include, for example, a mobile computing device, such as but not limited to a wearable device, a smart phone, a tablet PC, a PDA, a laptop computer, a media player, a micro server, a global positioning system (GPS) device, etc., but is not limited thereto.
[0046] exist Figure 1 Hereinafter, a case where the electronic device 100 is a display device and the external device 200 is a portable device will be described as a non-limiting example.
[0047] The electronic device 100 (hereinafter referred to as "display device 100") and the external device 200 (hereinafter referred to as "portable device 200") may be connected to each other through a home IoT platform. The display device 100 may be interconnected with the portable device 200 through a wireless communication network such as the Internet. The display device 100 and the portable device 200 may be connected to each other through an IoT cloud and an AP 10 forming an IoT platform.
[0048] In this case, the "IoT cloud" may refer to, for example, a server, a cloud server, or a cloud server device that interconnects multiple electronic devices located remotely to support the IoT platform. In various exemplary embodiments of the present disclosure, a server or device that supports the IoT platform may be referred to as, for example, an "IoT cloud server."
[0049] "AP" can be used as a base station in a wireless LAN and can be used to connect a wired network and a wireless network. For example, AP can be used as a bridge that connects the wireless LAN to which the display device 100 is connected and the mobile communication network connected to the IoT cloud server.
[0050] The display device 100 according to an embodiment of the present disclosure may operate under the control of the portable device 200. For example, a user (not shown) may be located away from home. In this case, the user may want to perform a program recording operation by powering on the display device 100 located at home using the portable device 200 carried by the user. In this case, the portable device 200 may send a signal requesting power-on to the display device 100 in response to a user input.
[0051] The IoT cloud and the AP 10 may transmit a signal transmitted from the portable device 200 to the display device 100. Figure 2 This transfer operation is described in more detail.
[0052] Figure 2 is a diagram showing an exemplary electronic device 100 and an external device 200 operating in an IoT environment according to an embodiment of the present disclosure. Figure 2 In the present invention, an example in which the electronic device 100 is a display device and the external device 200 is a portable device will be described as an example.
[0053] refer to Figure 2 , Figure 1 The IoT cloud and AP 10 may include an IoT cloud server 20 and an AP 30.
[0054] The IoT cloud server 20 may include an external device server, which may refer to, for example, a server for supporting applications that can be executed on an external device 200 (referred to as a "portable device 200"). In addition, the IoT cloud server 20 may also include at least one cloud server. In this example, a "server" may refer to, for example, a computing device that operates to provide data, operations, or services to an electronic device or the like through a network or to receive data, operations, or services from an electronic device or the like, and may be implemented with software and / or hardware. In the disclosed embodiments of the present disclosure, a case where the server is a cloud server formed by a cloud will be described as an example.
[0055] The AP 30 may function as a bridge that connects the wireless LAN to which the electronic device 100 (referred to as “display device 100”) is connected to a mobile communication network connected to the IoT cloud server 20. Figure 2 In the present invention, an example of using the Internet (a network using the TCP / IP communication protocol) to realize the IoT platform will be described as an example.
[0056] The display device 100 and the portable device 200 according to an embodiment of the present disclosure may be registered in the IoT cloud server 20, and may be connected to each other through the IoT cloud server 20 and the AP 30. For example, a TCP session using a TCP / IP communication protocol may be established between the portable device 200 and the IoT cloud server 20, and a TCP session using a TCP / IP communication protocol may be established between the display device 100 and the IoT cloud server 20.
[0057] The display device 100 according to an embodiment of the present disclosure may include a processor (e.g., including a processing circuit) 120. The processor 120 may include, for example, but not limited to, a main central processing unit (CPU). The processor 120 may include various processing circuits and control the overall operation of the display device 100. For example, the processor 120 may control the operation of the display device 100 after the display device 100 is awakened.
[0058] The processor 120 may include an IoT application 121 and a TCP / IP kernel 122. In this example, the IoT application 121 may include, for example, an application capable of implementing an IoT platform, and may control operations performed by the IoT platform. The IoT application 121 may control necessary operations to be performed in order to keep the IoT platform in an active state or change the state of the IoT platform to an inactive state.
[0059] For example, the IoT application 121 may perform device registration on a server or an external device connected to the display device 100 through IoT. For example, the IoT application 121 may perform device registration on an IoT cloud server 20 or a user's mobile device connected to the display device 100 through IoT.
[0060] When the device registration is normally performed, the IoT application 121 may transmit an Internet Protocol (IP) address of the IoT cloud server 20 for implementing the IoT platform to the communicator (e.g., including a communication circuit) 130. The IoT application 121 may establish a TCP session between the display device 100 and the IoT cloud server 20 to control a communication connection to be maintained between the display device 100 and the IoT cloud server 20. In this case, when a TCP session is established, information about the established TCP session may be referred to as "TCP session information".
[0061] The TCP / IP core 122 may control and may be responsible for transmission and reception of data based on a TCP / IP communication protocol which is an Internet protocol.
[0062] The TCP / IP kernel 122 communicates with another electronic device or server according to the TCP / IP communication protocol. For example, the TCP / IP kernel 122 can communicate with the IoT cloud server 20 through the AP 30 according to the TCP / IP communication protocol.
[0063] Hereinafter, the operation of remotely powering on the display device 100 using the portable device 200 will be described as an example after the display device 100 is powered off and enters the suspend mode, while a TCP session between the display device 100 and the IoT cloud server 20 and a TCP session between the portable device 200 and the IoT cloud server 20 are established.
[0064] In this example, power off may refer to an operation of shutting down the display device 100 that is reproducing image data, for example, using a remote control device (not shown). When the display device 100 is powered off, the display screen of the display device 100 may, for example, switch to a black screen. Power on may refer to an operation of, for example, switching the display device 100 that is in a black screen state to a state in which image data can be reproduced. The power on / off command may also be referred to as an operating mode change command or a power control command. For example, "power off" and "power on" may also be referred to as "shutdown" and "power on", respectively. The power off command may correspond to a command to change the operating mode of the display device 100 from a normal mode to a suspend mode, and the power on command may correspond to a command to change the operating mode of the display device 100 from a suspend mode to a normal mode.
[0065] The operation mode of the display device 100 may include a normal mode and a suspend mode. For example, the normal mode and the standby mode may be distinguished according to whether power is supplied to at least one component other than the communicator 130. For example, the normal mode may refer to an operation state in which power is supplied to the processor 120 and the communicator 130 of the display device 100. In addition, the suspend mode may refer to an operation state in which power is not supplied to the processor 120 of the display device 100 and power is supplied to the communicator 130 of the display device 100. In addition, even when the operation mode of the display device 100 is switched from the normal mode to the suspend mode, power supplied to a memory (not shown) of the display device 100 may be maintained, and data stored in the memory may be maintained.
[0066] When the TCP session between the display device 100 and the IoT cloud server 20 is established, the processor 120 according to an embodiment of the present disclosure may obtain the IP address of the IoT cloud server 20. The processor 120 may transmit the obtained IP address of the IoT cloud server 20 to the communicator 130.
[0067] The communication module in the communicator 130 may include a communication module corresponding to a wired or wireless network responsible for connection to the Mac layer (layer 2) or lower layers. For example, the communication module in the communicator 130 may include a Wi-Fi chipset (not shown), and / or an Ethernet module (wired), wherein the Wi-Fi chipset (not shown) is a WiFi module (wireless). The communication module in the communicator 130 may operate independently of the processor 120 (e.g., the main CPU).
[0068] The communicator 130 according to an embodiment of the present disclosure may be connected to the processor 120 through a USB interface. In this case, the processor 120 functions as a USB host, and the communicator 130 functions as a USB device.
[0069] When the display device 100 receives a power-off input from a remote control device or the like, the processor 120 may enter a suspend mode.
[0070] When the display device 100 enters the suspend mode, the display and the like may be turned off, and power may be maintained in components such as the communicator 130 , so that the operation mode of the display device 100 may be switched to a low power mode.
[0071] In order for the display device 100 to normally receive a signal transmitted from the portable device 200, the display device 100 and the portable device 200 must maintain a communication connection. For example, even after the display device 100 is powered off and enters a suspend mode, the display device 100 must maintain a communication connection with the portable device 200.
[0072] For example, in order for the display device 100 implementing the IoT platform to be awakened by the portable device 200, the display device 100 must be able to normally receive a power-on packet requesting power-on from the IoT cloud server 20. In order for the display device 100 in the suspend mode to normally receive a power-on packet from the IoT cloud server 20, a TCP session for communication according to the TCP / IP protocol must always be maintained between the display device 100 and the IoT cloud server 20.
[0073] The processor 120 may offload a minimum number of operations from among those performed by the processor 120 to the communicator 130 in order to maintain the TCP session even in the suspend mode.
[0074] In the suspend mode, when the processor 120 resumes operation, the communicator 130 used as a USB device is reset because the communicator 130 can receive a power-on packet. Therefore, the communicator 130 can perform a link disconnection / connection operation. The link disconnection / connection operation refers to an operation of physically releasing the connection with the AP 30 and then connecting to the AP 30 again. The link disconnection / connection operation may be referred to as a link disconnection / connection event, a connection release operation, a connection release event, or disconnection and reconnection, but is not limited thereto.
[0075] Figure 3 is a signal flow diagram illustrating an exemplary operation when an electronic device receives a power-on packet from an IoT cloud server in a suspend mode in an IoT environment according to an embodiment.
[0076] refer to Figure 3 , the electronic device 1000 can perform device registration on the IoT cloud server 20 or the external device 200 connected to the electronic device 1000 through IoT.
[0077] When the device registration is normally performed, the electronic device 1000 may establish a TCP session with the IoT cloud server 20, the TCP session being used to implement the IoT platform (operation S302). A TCP session may be established between the external device 200 and the IoT cloud server 20 (operation S301).
[0078] When a TCP session is established between the electronic device 1000 and the IoT cloud server 20, the processor 1200 of the electronic device 1000 may obtain the IP address of the IoT cloud server 20. The processor 1200 may transmit the obtained IP address of the IoT cloud server 20 to the communicator 1300.
[0079] The communication module in the communicator 1300 may include a communication module corresponding to a wired or wireless network responsible for connection to the Mac layer (layer 2) or lower layers. For example, the communication module in the communicator 1300 may include a Wi-Fi chipset (not shown), and / or an Ethernet module (wired), wherein the Wi-Fi chipset (not shown) is a WiFi module (wireless). The communication module in the communicator 1300 may operate independently of the processor 1200 (e.g., the main CPU).
[0080] When the electronic device 1000 receives a power-off input from a remote control device or the like, the electronic device 1000 may perform a power-off operation (operation S310 ).
[0081] For example, when a power-off input is received, the processor 1200 may enter the suspend mode. The processor 1200 may offload a minimum and / or reduced number of operations from operations performed by the processor 1200 to the communicator 1300 to maintain the TCP session even in the suspend mode.
[0082] The external device 200 may send a power-on command to the IoT cloud server 20 to power on the electronic device 1000 (operation S320). The IoT cloud server 20 may receive the power-on command from the external device 200, and may generate a power-on packet in response to the power-on command and send the power-on packet to the electronic device 1000 (operation S321).
[0083] The communicator 1300 of the electronic device 1000 can receive a power-on packet, parse the source IP field information (e.g., source IP address) present in the received power-on packet, and identify whether the parsed source IP address matches the IP address of the registration server (e.g., IoT cloud server 20) (operation S330).
[0084] When the resolved source IP address does not match the IP address of the registration server, the communicator 1300 may discard the received power-on packet.
[0085] On the other hand, when the resolved source IP address matches the IP address of the registration server, the communicator 1300 is operable to wake up the processor 1200 (operation S335). For example, the communicator 1300 may generate a wake-up pulse for waking up the processor 1200 and control the electronic device 1000 to enter a low power mode. The processor 1200 may perform a recovery operation in a low power mode (operation S340). For example, when the electronic device 1000 enters a low power mode, power is supplied to the processor 1200. When power is supplied to the processor 1200, the IoT application 1210 is activated. In addition, according to the recovery of the processor 1200, the communicator 1300 is reset (operation S350).
[0086] Typically, the processor 1200 and the communicator 1300 each include an independent chipset. For example, the processor 1200 and the communicator 1300 may be connected to each other via a USB interface. In this case, the processor 1200 functions as a USB host, and the communicator 1300 functions as a USB device. When the processor 1200 is restored by receiving a power-on packet, the communicator 1300 is reset, and the communicator 1300 performs a link disconnection / connection operation. The link disconnection / connection operation may, for example, refer to an operation of physically releasing the connection with the AP 30 (operation S355), and then connecting to the AP 30 again (operation S390).
[0087] Therefore, the processor 1200 receives a link disconnection / connection event (operation S360), and the processor 1200 determines that the connection with the AP 30 is released and then restored again due to a communication network problem in the communicator 1300. Therefore, the processor 1200 closes the TCP socket to reestablish the TCP session (operation S370), and because the TCP socket is closed, the previously established TCP session is terminated (operation S380).
[0088] The IoT cloud server 20 resends the power-on packet until a response message is received (operations S323 and S325), and when the previously established TCP session is terminated, the IoT cloud server 20 does not resend the power-on packet. Therefore, the processor 1200 may not receive the power-on packet, and thus may not perform a normal power-on operation. In order to solve this problem, the electronic device 100 according to an embodiment of the present disclosure can perform a power-on operation by normally receiving a power-on packet even in a power-off state. Hereinafter, reference will be made to Figure 4 The operation of the electronic device 100 according to the exemplary embodiment of the present disclosure is described in more detail.
[0089] Figure 4 is a diagram illustrating an exemplary operation of powering on an electronic device using an external device after the electronic device enters a suspend mode in an IoT environment according to an embodiment of the present disclosure.
[0090] refer to Figure 4 , the electronic device 100 according to an embodiment of the present disclosure may perform device registration on the IoT cloud server 20 or the external device 200 connected to the electronic device 100 through IoT.
[0091] When the device registration is normally performed, the electronic device 100 may establish a TCP session with the IoT cloud server 20, the TCP session being used to implement the IoT platform (operation S302). A TCP session may be established between the external device 200 and the IoT cloud server 20 (operation S301).
[0092] When the electronic device 100 receives a power-off command from a remote control device or the like, the electronic device 100 may perform a power-off operation (operation S310 ).
[0093] because Figure 4 Operations S301 to S310 are Figure 3 The operations S301 to S310 correspond to each other, so a detailed description thereof may not be repeated here.
[0094] When the processor 120 enters the suspend mode according to the power-off command, the IoT application 121 may set the operation to be skipped according to the link disconnection / connection event (operation S410). The processor 120 may set the information associated with the operation performed in response to the ongoing change in the operating state of the communicator 130 with a first value. When the communicator 130 is reset, the operating state of the communicator 130 may change. The change in the operating state of the communicator 130 includes at least one of the occurrence of a link disconnection event of the communicator 130 or the occurrence of a link connection event of the communicator 130. The first value may represent an operation to be skipped that is performed in response to the ongoing change in the operating state of the communicator 130 while the electronic device 100 is operating in the suspend mode. For example, the IoT application 121 may send a signal to the TCP / IP kernel 122 for setting the process of closing the TCP socket to be skipped.
[0095] The external device 200 may send a power-on command to the IoT cloud server 20 to power on the electronic device 100 (operation S420). The IoT cloud server 20 may receive the power-on command from the external device 200, and may generate a power-on packet in response to the power-on command and send the power-on packet to the electronic device 100 (operation S421).
[0096] The communicator 130 of the electronic device 100 can receive a power-on packet, parse the source IP field information (e.g., source IP address) present in the received power-on packet, and identify whether the parsed source IP address matches the IP address of the registration server (e.g., IoT cloud server 20) (operation S430).
[0097] When the resolved source IP address does not match the IP address of the registration server, the communicator 130 may discard the received power-on packet.
[0098] On the other hand, when the resolved source IP address matches the IP address of the registration server, the communicator 130 may be operated to wake up the processor 120 (operation S435). For example, the communicator 130 may generate a wake-up pulse for waking up the processor 120 and control the processor 120 to enter a low power mode. The processor 120 may perform a recovery operation in a low power mode (operation S440). For example, when the processor 120 enters a low power mode, power is supplied to the processor 120. When power is supplied to the processor 120, the IoT application 121 is activated. In addition, according to the recovery of the processor 120, the communicator 130 is reset (operation S445).
[0099] When the communicator 130 is reset, the communicator 130 performs a link disconnection / connection operation. The link disconnection / connection operation refers to an operation of physically releasing the connection with the AP 30 (operation S450) and then connecting to the AP 30 again (operation S465).
[0100] Therefore, the processor 120 receives a link disconnection / connection event (S455).
[0101] However, since the processor 120 sets the operation to be skipped in operation S410 according to the link disconnection / connection event, the processor 120 does not perform the process of closing the TCP socket (operation S460) even when the link disconnection / connection event is received. For example, based on the information having the first value, the operation performed in response to the ongoing operation state change of the communicator 130 can be skipped. That is, based on the information having the first value, the operation is not performed.
[0102] Therefore, the previously established TCP session can be continuously maintained.
[0103] While maintaining the previously established TCP session, the IoT cloud server 20 may resend the power-on packet (operation S423, operation S425, and operation S427), and the communicator 130 that has completed the link disconnection / connection operation may receive the power-on packet resent by the IoT cloud server 20 (operation S427).
[0104] The power-on packet received by the communicator 130 may be transmitted to the IoT application 121 through the TCP / IP core 122 (operation S470 and operation S475 ).
[0105] The TCP / IP core 122 may transmit a response message (TCP acknowledgement (Ack)) to the IoT cloud server 20 in response to the reception of the power-on packet (operation S485 ).
[0106] The IoT application 121 that has successfully received the power-on packet may perform a power-on operation (operation S480). For example, the IoT application 121 may determine whether the received power-on packet is data for a normal request for power-on, and determine whether to turn on the display (not shown) of the electronic device 100. In this case, when the display (not shown) is turned off, the display (not shown) may, for example, maintain a black screen state. In addition, when the display (not shown) is turned on, the display (not shown) may maintain a state of outputting a meaningful screen instead of a black screen, for example, a state of outputting image data.
[0107] After performing the power-on operation, the IoT application 121 may release the setting to skip the operation according to the link disconnection / connection event (operation S490). In response to the operation mode of the electronic device 100 switching from the suspend mode to the normal mode, the processor 120 may set the information with a second value. The second value may represent an operation performed in response to an ongoing operation state change of the communicator 130. For example, when a link disconnection / connection event occurs, the IoT application 121 may send a signal to the TCP / IP kernel 122 for releasing the setting to skip the process of closing the TCP socket, so that the process of closing the TCP socket is performed.
[0108] Therefore, in normal mode, when a link disconnection / connection event occurs, a process of closing the TCP socket may be performed, and the TCP session may be terminated.
[0109] Figure 5 is a flowchart illustrating an exemplary operation method of an electronic device according to an embodiment of the present disclosure.
[0110] refer to Figure 5 , the electronic device 100 according to an embodiment of the present disclosure may receive a power-off command (operation S510). For example, while the electronic device 100 displays an image, the electronic device 100 may receive a user input requesting power off from a remote control device or the like.
[0111] When the power-off command is received, the electronic device 100 may perform a power-off operation, and may set an operation to be skipped according to a link disconnection / connection event of the communicator 130 (operation S520). For example, the electronic device 100 may enter a suspend mode from a normal mode in response to a power-off command. The display state of the electronic device 100 that has entered the suspend mode is switched to a black screen state, power is only supplied to the communicator 130, and power supply to the remaining components is blocked. Moreover, the electronic device 100 may set a process of closing a TCP socket to be skipped.
[0112] The electronic device 100 according to an embodiment of the present disclosure may receive a link disconnection / connection event of the communicator 130 in the suspend mode (operation S530). For example, in the suspend mode, the communicator 130 of the electronic device 100 may receive a power-on packet from the IoT cloud server 20, and may be operable to wake up the processor 120 when the power-on packet is received. Based on the wake-up signal, when the processor 120 is restored, the communicator 130 is reset, and according to the reset of the communicator 130, a link disconnection / connection event of the communicator 130 occurs.
[0113] Even if a link disconnection / connection event is received, the electronic device 100 according to an embodiment of the present disclosure may skip an operation according to the link disconnection / connection event (operation S540). For example, because the operation according to the link disconnection / connection event is set to be skipped in operation S520, the process of closing the TCP socket may be skipped. Therefore, the communication session (e.g., TCP session) with the IoT cloud server 20 may be continuously maintained.
[0114] While maintaining the communication session with the IoT cloud server 20 , the IoT cloud server 20 may continue to send power-on packets to the electronic device 100 until a response message is received.
[0115] When the communicator 130 of the electronic device 100 completes the link disconnection / connection operation, the electronic device 100 may receive the retransmitted power-on packet (operation S550), and may perform a normal power-on operation (operation S560).
[0116] For example, the electronic device 100 may determine whether the received power-on packet is data for a normal request for power-on, and determine whether to turn on the display (not shown) of the electronic device 100. In this case, when the display (not shown) is turned off, the display (not shown) maintains a black screen state. In addition, when the display (not shown) is turned on, the display (not shown) may maintain a state of outputting a meaningful screen instead of a black screen, for example, a state of outputting image data.
[0117] After performing the power-on operation, the electronic device 100 may release the setting to skip the operation according to the link disconnection / connection event (operation S570). For example, when a link disconnection / connection event occurs, the electronic device 100 may release the setting to skip the process of closing the TCP socket so that the process of closing the TCP socket is performed. Therefore, in normal mode, when a link disconnection / connection event occurs, the electronic device 100 may perform the process of closing the TCP socket and terminate the existing TCP session.
[0118] Figure 6 is a flowchart illustrating an exemplary operation method of an electronic device according to an embodiment of the present disclosure.
[0119] refer to Figure 6 According to an embodiment of the present disclosure, the electronic device 100 may receive a power-off command and enter a suspend mode from a normal mode in response to the power-off command. In the suspend mode, power is supplied only to the communicator 130 of the electronic device 100, and power supply to the remaining components is blocked.
[0120] The processor 120 of the electronic device 100 according to an embodiment of the present disclosure may receive a wake-up signal and a start-up cause in the suspend mode (operation S610). For example, the electronic device 100 may include a microcomputer, and the microcomputer may check the wake-up pulse generated by the communicator 130 to wake up the processor 120, and may send the set start-up cause value to the processor 120 after resuming the processor 120.
[0121] In addition, even when the electronic device 100 is in the suspend mode, the microcomputer can maintain the on state by receiving power. In addition, the microcomputer may be included in the communicator 130. In this case, when the electronic device 100 enters the suspend mode, when power is supplied to the communicator 130, the operating power may be supplied to the microcomputer in the communicator 130.
[0122] In addition, when the electronic device 100 according to an embodiment of the present disclosure does not include a microcomputer as a separate component, the communicator 130 may transmit the activation reason to the processor 120 .
[0123] The processor 120 of the electronic device 100 receives the wake-up signal and is restored (operation S620).
[0124] When the processor 120 is restored, the communicator 130 is reset, and according to the reset of the communicator 130 , a link disconnection / connection event of the communicator 130 occurs.
[0125] When the processor 120 of the electronic device 100 according to an embodiment of the present disclosure receives a link disconnection / connection event (operation S630), the processor 120 may check the startup reason (e.g., the most recent startup reason) received in operation S610, and determine whether to execute or skip the operation according to the link disconnection / connection event (operation S640).
[0126] For example, when the most recent activation cause is that the communicator 130 of the electronic device 100 receives a power-on packet and accordingly sends a wake-up signal to the processor 120 , the processor 120 may skip an operation according to a link disconnection / connection event.
[0127] On the other hand, when the most recent boot cause is that the power-on command is received through an infrared (IR) signal or a Bluetooth (BT) signal, the processor 120 may perform an operation according to a link disconnection / connection event. However, the present disclosure is not limited thereto.
[0128] Figure 7 is a flowchart illustrating an exemplary operating method of an electronic device according to an embodiment of the present disclosure.
[0129] refer to Figure 7According to an embodiment of the present disclosure, the processor 120 of the electronic device 100 may receive connection release information of the communicator 130 (operation S710). For example, when the communicator 130 is reset, the connection release operation of the communicator 130 occurs according to the reset of the communicator 130, and the connection release information of the communicator 130 may be sent to the processor 120.
[0130] The connection release operation of the communicator 130 may include a link disconnection / connection operation of the communicator 130 , a link disconnection / connection event of the communicator 130 , a connection release event of the communicator 130 , disconnection and reconnection of the communicator 130 , etc., but is not limited thereto.
[0131] When receiving the connection release information of the communicator 130, the processor 120 of the electronic device 100 may determine whether the current operating state of the electronic device 100 is in the normal mode or in the suspend mode (operation S720). When the current operating state of the electronic device 100 is in the normal mode, the processor 120 may perform an operation according to the connection release of the communicator 130 (operation S730). The processor 120 closes the TCP socket to re-establish the TCP session. Since the TCP socket is closed, the previously established TCP session is terminated (operation S740).
[0132] On the other hand, when the current operation state is in the suspend mode, the processor 120 may skip the operation according to the connection release of the communicator 130 (operation S750). Even if the connection release information of the communicator 130 is received, the processor 120 may skip the process of closing the TCP socket. Therefore, the TCP session with the server may be maintained, and since the TCP session is maintained, information for powering on may be received (operation S760). For example, the power-on packet received in the communicator 130 may be sent to the processor 120.
[0133] The processor 120 may perform a power-on operation based on the received power-on information (operation S770). For example, the processor 120 may determine whether the received power-on packet is data for a normal request for power-on, and determine whether to switch the electronic device 100 to a normal mode. When the electronic device 100 switches to the normal mode (operation S780), the display (not shown) of the electronic device 100 may be turned on. When the display (not shown) is turned on, the display (not shown) may, for example, maintain a state of outputting a meaningful screen instead of a black screen, for example, a state of outputting image data.
[0134] Figure 8 is a block diagram showing an exemplary configuration of an electronic device 700 according to an embodiment of the present disclosure.
[0135] Figure 8 The electronic device 700 may be the above reference Figure 1 , Figure 2 , Figure 3 , Figure 4 , Figure 5 , Figure 6 and Figure 7 A disclosed example of an electronic device 100 is described.
[0136] refer to Figure 8 , the electronic device 700 according to an embodiment of the present disclosure may include a communicator (eg, including a communication circuit) 710 , a processor (eg, including a processing circuit) 720 , and a memory 730 .
[0137] The communicator 710 according to an embodiment of the present disclosure may include various communication circuits, and transmit and receive data and / or signals to and from an external device or an external server under the control of the processor 720. The communicator 710 according to an embodiment of the present disclosure may communicate with an IoT cloud server through at least one wireless network. For example, the communicator 710 may be connected to an AP through at least one wireless network and communicate with an IoT cloud server.
[0138] The communicator 710 may send and receive data or signals using, for example but not limited to, at least one of a wireless LAN (e.g., Wi-Fi), Bluetooth, wired Ethernet, IR, Bluetooth Low Energy (BLE), ultrasound, zigbee, High Definition Multimedia Interface (HDMI), etc. In this case, the communicator 710 may include at least one communication module including various communication circuits capable of sending and receiving data according to a communication standard, such as but not limited to corresponding to a wireless LAN (e.g., Wi-Fi), Bluetooth, wired Ethernet, IR, BLE, ultrasound, zigbee, HDMI, etc.
[0139] The wireless LAN communication module may include a Wi-Fi communication module that performs wireless communication according to the Wi-Fi communication standard, etc. The Wi-Fi communication module may include a Wi-Fi chipset, which is a Wi-Fi module capable of transmitting packet type data according to the Wi-Fi communication standard.
[0140] For example, the communication module in the communicator 710 may include a communication module corresponding to a wired or wireless network responsible for connection to the MAC layer (layer 2) or lower layers. For example, the communication module in the communicator 710 may include a Wi-Fi chipset (not shown) and / or an Ethernet module (wired), wherein the Wi-Fi chipset (not shown) is a WiFi module (wireless). The communication module in the communicator 710 may operate independently of the processor 720 (e.g., the main CPU).
[0141] In addition, the communicator 710 may include a near field communication module (e.g., an IR communication module) capable of receiving a control command from a remote control device. In this case, the communicator 710 may receive a control command from the remote control device. Alternatively, the communicator 710 may receive a control command based on an IoT platform via a wireless LAN communication module. In this case, the control command may be a control command requesting the electronic device 700 to be powered off. The processor 720 may control the electronic device 700 to enter a suspend mode from a normal mode in response to the received control command. For example, the display state of the electronic device 700 that has entered the suspend mode may be switched to a black screen state, for example, supplying power only to the communicator 710, and blocking power supply to the remaining components.
[0142] The processor 720 according to an embodiment of the present disclosure may include various processing circuits and control the overall operation of the electronic device 700. In addition, the processor 720 may control other components in the electronic device 700 to perform a certain operation.
[0143] The processor 720 according to an embodiment of the present disclosure may execute one or more programs stored in the memory 730. The processor 720 may include a single core, a dual core, a triple core, a quad core, or a multi-core. In addition, the processor 720 may include a plurality of processors.
[0144] The memory 730 according to an embodiment of the present disclosure may store data, programs, or applications for driving and controlling the electronic device 700 .
[0145] Each program stored in the memory 730 may include one or more instructions. The program (one or more instructions) or application stored in the memory 730 may be executed by the processor 720.
[0146] When receiving a control command requesting power off (e.g., a power off command), the processor 720 according to an embodiment of the present disclosure may set an operation to be skipped according to a link disconnection / connection event of the communicator 710. For example, the processor 720 may set a process of closing a TCP socket to be skipped.
[0147] When the communicator 710 receives the power-on packet, the communicator 710 may generate a wake-up pulse for waking up the processor 720 and control the processor 720 to enter a low power mode.
[0148] The processor 720 may perform a recovery operation in the low power mode. For example, when the processor 720 enters the low power mode, power is supplied to the processor 720. When power is supplied to the processor 720, the IoT application is activated. In addition, according to the recovery of the processor 720, the communicator 710 is reset.
[0149] When the communicator 710 is reset, the communicator 710 may perform a link disconnection / connection operation. The link disconnection / connection operation may refer to, for example, an operation of physically releasing the connection with the AP and then reconnecting to the AP. Therefore, the processor 720 receives a link disconnection / connection event. However, since the processor 720 sets an operation to be skipped according to the link disconnection / connection event, the processor 720 does not perform a process of closing a TCP socket even when a link disconnection / connection event is received. Therefore, a previously established TCP session can be continuously maintained.
[0150] Since the previously established TCP session is maintained, the processor 720 may receive the retransmitted power-on packet and perform a normal power-on operation. In addition, after performing the power-on operation, the processor 720 may release the setting to skip the operation according to the link disconnection / connection event of the communicator 710. For example, when a link disconnection / connection event of the communicator 710 occurs in the normal mode, the processor 720 may release the setting to skip the process of closing the TCP socket, so that the process of closing the TCP socket is performed.
[0151] The processor 720 according to an embodiment of the present disclosure may receive a wake-up signal and a start-up cause. The processor 720 may be restored based on the wake-up signal, and the communicator 710 may be reset according to the restoration of the processor 720. When the communicator 710 is reset, the communicator 710 performs a link disconnection / connection operation. When the processor 720 receives a link disconnection / connection event, the processor 720 may check the received start-up cause (e.g., the most recent start-up cause) and determine whether to execute or skip the operation according to the link disconnection / connection event.
[0152] For example, when the most recent startup cause is that the communicator 710 receives a power-on packet and accordingly sends a wake-up signal to the processor 720, the processor 720 may skip the operation according to the link disconnection / connection event. On the other hand, when the most recent startup cause is that a power-on command is received via an IR signal or a BT signal, the processor 720 may perform an operation according to the link disconnection / connection event. However, the present disclosure is not limited thereto.
[0153] Fig. 9 is a block diagram illustrating an exemplary configuration of an electronic device 800 according to another exemplary embodiment of the present disclosure.
[0154] Fig. 9 The electronic device 800 may be a reference Figure 1 , Figure 2 , Figure 3 , Figure 4 , Figure 5 , Figure 6 , Figure 7 and Figure 8 Disclosed examples of electronic devices 100 or 700 are described.
[0155] refer to Fig. 9 According to an embodiment of the present disclosure, the electronic device 800 may include a tuner 840, a processor (e.g., including a processing circuit) 810, a display 820, a communicator (e.g., including a communication circuit) 850, a sensor 830, an inputter / outputter (e.g., including an input / output circuit) 870, a video processor (e.g., including a video processing circuit) 880, an audio processor (e.g., including an audio processing circuit) 885, an audio outputter (e.g., including an audio output circuit) 860, a memory 890, and a power supply 895.
[0156] Fig. 9 The Communicator 850 with Figure 8 Corresponding to the communicator 710, Fig. 9 The processor 810 and Figure 8 The processor 720 corresponds to, and Fig. 9 The memory 890 and Figure 8 Corresponding to the memory 730, therefore, the description thereof will not be repeated here.
[0157] The tuner 840 according to an embodiment of the present disclosure can tune and select the frequency of a channel that the electronic device 800 wants to receive from among many radio wave components obtained by amplification, mixing, resonance, etc. of wired or wireless broadcast signals. The broadcast signal may include, for example, audio, video, and additional information (e.g., an electronic program guide (EPG)).
[0158] The tuner 840 may receive broadcast signals from various sources such as terrestrial broadcasting, cable broadcasting, satellite broadcasting, and Internet broadcasting. The tuner 840 may also receive broadcast signals from a source such as analog broadcasting or digital broadcasting.
[0159] The communicator 850 according to an embodiment of the present disclosure may include various communication circuits, and transmit and receive data and / or signals to and from an external device or server under the control of the processor 810. The processor 810 may transmit and receive content to and from an external device connected through the communicator 850, download an application from an external device, or perform web browsing through the communicator 850.
[0160] Furthermore, the communicator 850 may include a module combination including one or more of a wireless LAN 851 , a Bluetooth 852 , and a wired Ethernet 853 .
[0161] The video processor 880 may include various video processing circuits and process video data received by the electronic device 800. The video processor 880 may perform various image processing, such as decoding, scaling, noise filtering, frame rate conversion, and resolution conversion, on the video data.
[0162] The sensor 830 may sense a user's voice, an image of a user, or an interaction with a user, and may include, for example, a microphone 831 , a camera 832 , and a light receiver 833 .
[0163] The microphone 831 receives a voice uttered by the user. The microphone 831 may convert the received voice into an electrical signal and output the electrical signal to the processor 810. The user voice may include, for example, a voice corresponding to a menu or function of the electronic device 800.
[0164] The camera 832 receives images (e.g., continuous frames) corresponding to the user's motion including a gesture within the recognition range of the camera 832. The processor 810 may select a menu displayed on the electronic device 800 using the recognition result of the received motion, or perform control corresponding to the result of the motion recognition.
[0165] The optical receiver 833 receives an optical signal (including a control signal) from an external control device (not shown) via an optical window (not shown) of a frame of the display 820. The optical receiver 833 may receive an optical signal corresponding to a user input (e.g., touch, press, touch gesture, voice, or motion) from the external control device (not shown). Under the control of the processor 810, the control signal may be extracted from the received optical signal.
[0166] The input / output device 870 may include various input / output circuits, and may receive video (e.g., moving images), audio (e.g., voice or music), and additional information (e.g., EPG) from outside the electronic device 800 under the control of the processor 810. The input / output device 870 may include, for example, a high-definition multimedia interface (HDMI) port 871, a component jack 872, a PC port 873, a USB port 874, and the like. The input / output device 870 may include a combination of the HDMI port 871, the component jack 872, the PC port 873, and the USB port 874.
[0167] The processor 810 may include various processing circuits, and controls the overall operation of the electronic device 800 and signals transmitted between internal components of the electronic device 800, and processes data. When there is a user's input or a stored preset condition is satisfied, the processor 810 may execute an operating system (OS) and various applications stored in the memory 890.
[0168] The processor 810 may include a random access memory (RAM), a read-only memory (ROM), and a processor, wherein the random access memory (RAM) stores a signal or data input by an external source of the electronic device 800, or is used as a memory area for various operations performed by the electronic device 800, and the read-only memory (ROM) stores a control program for controlling the electronic device 800.
[0169] The processor 810 may include a graphics processor (not shown). The graphics processor (not shown) generates a screen image including various objects such as icons, images, and texts using an operator (not shown) and a renderer (not shown). The operator calculates attribute values such as coordinate values, shapes, sizes, colors, etc. based on user interactions sensed by the sensor 830, and uses the attribute values to display each object according to the layout of the screen image. The renderer generates screen images including various layouts of objects based on the attribute values calculated by the operator. The screen image generated by the rendering unit is displayed on the display area of the display 820.
[0170] The display 820 may generate a driving signal by converting an image signal, a data signal, an on-screen display (OSD) signal, and a control signal processed by the processor 810. The display 820 may be, for example but not limited to, a plasma display panel (PDP), a liquid crystal display (LCD), an organic light emitting device (OLED), a flexible display, a 3D display, etc. In addition, the display 820 may be configured as a touch screen and thus may be used as an input device as well as an output device.
[0171] The audio processor 885 may include various processing circuits and process audio data. The audio processor 885 may perform various processing on the audio data, such as decoding, amplification, or noise filtering. The audio processor 885 may include multiple audio processing modules to process audio corresponding to multiple content segments.
[0172] The audio outputter 860 may include various audio output circuits, and output the audio included in the broadcast signal received via the tuner 840 under the control of the processor 810. The audio outputter 860 may also output the audio (e.g., voice or sound) input via the communicator 850 or the inputter / outputter 870. The audio outputter 860 may also output the audio stored in the memory 890 under the control of the processor 810. The audio outputter 860 may include, for example but not limited to, at least one selected from a speaker 861, an earphone output port 862, a Sony / Philips Digital Interface (S / PDIF) output port 863, and the like. The audio outputter 1250 may include a combination of the speaker 861, the earphone output port 862, and the S / PDIF output port 863.
[0173] The power supply 895 supplies power input from an external power source to the internal components of the electronic device 800 under the control of the processor 810. The power supply 895 may also supply power output by one or more batteries located in the electronic device 800 to the internal components of the electronic device 800 under the control of the processor 810.
[0174] The memory 890 may store various data, programs or applications for driving and controlling the electronic device 800 under the control of the processor 810. The memory 890 may include a broadcast receiving module, a channel control module, a volume control module, a communication control module, a voice recognition module, a motion recognition module, a light receiving module, a display control module, an audio control module, an external input control module, a power control module, a voice database (DB), or a motion DB that are not shown in the memory 890. These modules and DB that are not shown in the memory 890 may be implemented as software so that a broadcast receiving control function, a channel control function, a volume control function, a communication control function, a voice recognition function, a motion recognition function, a light receiving control function, a display control function, an audio control function, an external input control function, a power control function, or a power control function of an external device that is connected wirelessly (e.g., Bluetooth) in the electronic device 800. The processor 810 may perform these functions using software stored in the memory 890.
[0175] Figure 8 and Fig. 9 The block diagrams of electronic devices 700 and 800 shown in the figure are illustrative only. Each component in the block diagram may be integrated, added, or omitted according to the specifications of the actual implementation of the display devices 700 and 800. That is, two or more components may be integrated into one component, or one component may be divided into two or more components as required. In addition, the functions performed in each block are to describe the embodiments of the present disclosure, and the detailed operations or devices thereof do not limit the scope of rights of the present disclosure.
[0176] According to the embodiment of the present disclosure, the operation method of the electronic device can be implemented as a computer command, which can be executed by various computers and recorded on a non-transitory computer-readable recording medium. The non-transitory computer-readable recording medium may include program commands, data files, and data structures, either alone or in combination. The program commands recorded on the non-transitory computer-readable recording medium may be specially designed and constructed for the present disclosure, or may be known and available to ordinary technicians in the field of computer software. Examples of non-transitory computer-readable media include magnetic media such as hard disks, floppy disks, or tapes, optical media such as compact disk read-only memories (CD-ROMs) or digital versatile disks (DVDs), magneto-optical media such as optically readable disks, and hardware devices specially configured to store and execute program commands, such as ROMs, RAMs, or flash memories. Examples of program commands include high-level language codes, which may include one or more instructions executed by a computer using an interpreter and machine language codes generated by a compiler. One or more instructions may include codes generated by a compiler or codes executable by an interpreter.
[0177] In addition, according to an embodiment of the present disclosure, the electronic device or the operating method of the electronic device may be provided by being included in a computer program product. The computer program product may be traded between a seller and a buyer.
[0178] The computer program product may include a software (S / W) program, a non-transitory computer-readable storage medium in which the S / W program is stored. For example, the computer program product may include a computer program product provided by a manufacturer of an electronic device or an electronic market (e.g., Google Play Store). TM or App Store TM ) A product in the form of an S / W program that is electronically distributed (e.g., a downloadable application). For electronic distribution, at least a portion of the S / W program may be stored in a storage medium or at least a portion of the S / W program may be temporarily generated. In this case, the storage medium may be included in a manufacturer's server, a server of an electronic market, or a relay server configured to temporarily store the S / W program.
[0179] The computer program product may include a storage medium of a server or a storage medium of a client device in a system, wherein the system includes a server and a client device. Alternatively, when there is a third device (e.g., a smart phone) connected to the server or the client device by communication, the computer program product may include a storage medium of the third device. Alternatively, the computer program product may include an S / W program to be sent from the server to the client device or the third device or from the third device to the client device.
[0180] In this case, one of the server, the client device, and the third device may execute the computer program product and perform the method according to the embodiment of the present disclosure. Alternatively, two or more of the server, the client device, and the third device may execute the computer program product and perform the method according to the embodiment of the present disclosure in a distributed manner.
[0181] For example, a server (e.g., a cloud server, an artificial intelligence server, etc.) may execute a computer program product stored therein to control a client device connected to the server through communication so that the client device executes a method according to an embodiment of the present disclosure.
[0182] The electronic device according to an embodiment of the present disclosure may maintain a TCP session in a suspend mode by skipping an operation according to a network link disconnection / connection event according to a reset of the communicator, and thus may receive a power-on packet.
[0183] It should be understood that the embodiments of the present disclosure described herein should be considered in a descriptive sense only and not for purposes of limitation.
Claims
1. An electronic device, include: a communicator including a communication circuit configured to communicate with a server; a memory storing one or more instructions; as well as a processor configured to execute the one or more instructions stored in the memory to: setting information associated with an operation to be performed in response to an ongoing change in the operating state of the communicator at a first value, wherein the first value indicates that the operation is to be skipped when the electronic device is operating in a suspend mode, in response to the operating state change of the communicator occurring while the electronic device is operating in the suspend mode, skipping the operation based on the information having the first value, and In response to the operation mode of the electronic device being switched from the suspend mode to the normal mode, the information is set with a second value, wherein the second value indicates the operation to be performed in response to the ongoing change in the operation state of the communicator.
2. The electronic device according to claim 1, in, The processor is further configured to execute the one or more instructions to establish a transmission control protocol session with the server using transmission control protocol / internet protocol in the normal mode, and The communicator is further configured to perform an operation of maintaining the transmission control protocol session and receive a power-on packet from the server through the transmission control protocol session in the suspend mode.
3. The electronic device according to claim 2, in, The change in the operation state of the communicator includes at least one of the occurrence of a link-down event of the communicator or the occurrence of a link-up event of the communicator, The processor is further configured to execute the one or more instructions to maintain the transmission control protocol session based on the information having the first value, and not perform the operation even if the operation state of the communicator changes.
4. The electronic device according to claim 3, in, The processor is further configured to execute the one or more instructions to maintain the transmission control protocol session by skipping a process of closing a transmission control protocol socket.
5. The electronic device according to claim 1, in, The communicator is further configured to send a wake-up signal to the processor based on receiving a power-on packet from the server in the suspend mode, and The processor is further configured to execute the one or more instructions to: restoring and controlling the communicator to reset based on the wake-up signal, wherein when the communicator is reset, at least one of a link-off event of the communicator or a link-on event of the communicator occurs, and The operation is skipped based on the information having the first value.
6. The electronic device according to claim 5, in, The communicator is further configured to: in response to receiving the power-on packet resent from the server after completing the resetting of the communicator, send the power-on packet resent to the processor, and The processor is further configured to execute the one or more instructions to switch to the normal mode by performing a power-on operation based on receiving the retransmitted power-on packet.
7. The electronic device according to claim 6, in, The processor is further configured to execute the one or more instructions to control the communicator to send a response message to the server in response to receiving the power-on packet resending signal.
8. The electronic device according to claim 6, in, The processor is further configured to execute the one or more instructions to terminate an ongoing transmission control protocol session with the server by performing a process of closing a transmission control protocol socket based on the change in the operating state of the communicator occurring in the normal mode.
9. The electronic device according to claim 1, in, The processor is further configured to execute the one or more instructions to set the information at the first value in response to user input for switching the operating mode of the electronic device from the normal mode to the suspend mode being received.
10. A method for operating an electronic device, the method include: setting information associated with an operation performed in response to an ongoing change in operating state of the communicator at a first value, wherein the first value indicates that the operation is to be skipped when the electronic device is operating in a suspend mode; In response to an ongoing change in the operating state of the communicator while the electronic device is operating in the suspend mode, skipping the operation based on the information having the first value; and in response to the operation mode of the electronic device being switched from the suspend mode to the normal mode, setting the information with a second value, The second value represents the operation performed in response to an ongoing change in the operating state of the communicator.
11. The method according to claim 10, further comprising: include: Establishing a TCP session with a server using TCP / IP in said normal mode; An operation of maintaining the transmission control protocol session in the suspend mode is performed by the communicator; as well as A power-on packet is received by the communicator from the server via the transmission control protocol session.
12. The method according to claim 11, in, The change in the operation state of the communicator includes at least one of an occurrence of a link-down event of the communicator or an occurrence of a link-up event of the communicator, and The operation method further includes maintaining the transmission control protocol session without performing the operation, based on the information having the first value, even if the operation state change is occurring in the communicator.
13. The method according to claim 12, in, The maintaining the transmission control protocol session includes maintaining the transmission control protocol session by skipping a process of closing a transmission control protocol socket.
14. The method according to claim 10, further comprising: include: sending a wake-up signal to a processor based on the communicator receiving a power-on packet from a server in the suspend mode; as well as The processor is restored based on the wake-up signal, and the processor controls the communicator to reset, wherein when the communicator is reset, at least one of a link disconnection event of the communicator or a link connection event of the communicator occurs, The skipping of the operation includes skipping the operation based on the information having the first value when at least one of a link-down event of the communicator or a link-up event of the communicator occurs. 15 . A non-transitory computer-readable recording medium having recorded thereon a program for executing the method according to claim 10 in a computer.
