A method of transmitting information by an electronic device is provided. The method includes collecting log information, determining whether a keep-alive message transmission period arrives, and when the keep-alive message transmission period arrives, transmitting the log information to a push server.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A method of transmitting by an electronic device, log information associated with an application executed by the electronic device, the method comprising: establishing, by at least one processor of the electronic device, a push service connection with a push server; receiving and storing setting information used for the transmitting of the log information and information on a version of the setting information from a provisioning server, wherein the setting information comprises log information collection setting value information for collecting the log information; collecting, by the at least one processor of the electronic device, the log information based on the log information collection setting value information until a keep-alive message transmission period arrives; receiving, by the at least one processor of the electronic device, the keep-alive message transmission period corresponding to the push service connection; in response to determining that the keep-alive message transmission period arrives: controlling to stop, by the at least one processor of the electronic device, collecting the log information, and transmitting, by a transceiver of the electronic device, a keep-alive message and the log information to the push server; receiving a keep-alive response message and information on a version of changed setting information from the push server, corresponding to the transmitted keep-alive message and log information; determining whether there is a difference between stored information on a version of setting information and the information on the version of the changed setting information; requesting setting information to the provisioning server when there is the difference between the stored information on the version of the setting information and the information on the version of the changed setting information; and receiving changed setting information from the provisioning server corresponding to the request for the setting information, wherein the keep-alive message is a message for maintaining the push service connection with the push server, wherein the keep-alive message transmission period is selected based on a firewall timeout policy of a communication service provider, wherein the log information collection setting value information comprises one or more values used for collecting log information of the electronic device, the one or more values comprising: a limited number of transmissions of the log information at one time, a limited number of transmissions of the log information in one day, a limited number of transmissions of the log information for each application, or a name of the electronic device or a name of the application which is restricted from collecting the log information, wherein an admin server updates the setting information according to the information on the version of the setting information and the version of the setting information, and wherein the admin server transmits the changed setting information and the changed information of the version of the setting information to the push server and the provisioning server.
2. The method of claim 1 , wherein the log information comprises at least one of a use state or a processed content of the application executed by the electronic device, and wherein the application comprises at least one of: an application of a peripheral device included in the electronic device, or an application program included in the electronic device.
3. The method of claim 2 , further comprising: collecting additional log information when a keep-alive transmission period does not arrive.
4. The method of claim 1 , wherein the setting information further comprises an address of the push server.
5. The method of claim 4 , further comprising: receiving the changed setting information from the provisioning server when there is the difference between the stored information on the version of the setting information and the information on the version of the changed setting information.
6. The method of claim 4 , further comprising: performing a particular operation when the push server having received a request for an operation command from the admin server makes a request for a push.
7. The method of claim 6 , wherein the request for the operation command comprises one of: a command to start collecting one or more pieces of log information, a command to stop collecting log information, a command to collect emergency log information, or a command to stop collecting emergency log information, and a provision command.
8. The method of claim 7 , wherein the particular operation comprises an operation to: start collecting log information according to a keep-alive period when the operation command is the command to start collecting log information, stop collecting log information when the operation command is the command to stop collecting log information which has been collected according to the keep-alive message transmission period, start collecting log information regardless of the keep-alive message transmission period when the operation command is the command to collect emergency log information, stop collecting log information by the command to start collecting emergency log information when the operation command is the command to stop collecting emergency log information, or exchange the setting information with the provisioning server when the operation command is the provision command.
9. An electronic device comprising: a memory configured to store log information; a transceiver configured to transmit a keep-alive message and the log information; and at least one processor configured to: receive setting information used for the transmitting of the log information and information on a version of the setting information from a provisioning server, store the received setting information in the memory, wherein the setting information comprises log information collection setting value information for collecting the log information, establish a push service connection with a push server, collect the log information based on the log information collection setting value information until a keep-alive message transmission period arrives, receive the keep-alive message transmission period corresponding to the push service connection, and in response to determining that the keep-alive message transmission period arrives: control to stop collecting the log information, and control the transceiver to transmit the keep-alive message and the log information to the push server, receive a keep-alive response message and information on a version of changed setting information from the push server, corresponding to the transmitted keep-alive message and log information, determine whether there is a difference between stored information on a version of setting information and the information on the version of the changed setting information, make a request for setting information to the provisioning server when there is the difference between the stored information on the version of the setting information and the information on the version of the changed setting information, and receive changed setting information from the provisioning server corresponding to the request for the setting information, wherein the keep-alive message is a message for maintaining the push service connection with the push server, wherein the keep-alive message transmission period is selected based on a firewall timeout policy of a communication service provider, wherein the log information collection setting value information comprises one or more values used for collecting log information of the electronic device, the one or more values comprising: a limited number of transmissions of the log information at one time, a limited number of transmissions of the log information in one day, a limited number of transmissions of the log information for each application, or a name of the electronic device or a name of the application which is restricted from collecting the log information, wherein an admin server updates the setting information according to the information on the version of the setting information and the version of the setting information, and wherein the admin server transmits the changed setting information and the changed information of the version of the setting information to the push server and the provisioning server.
10. The electronic device of claim 9 , wherein the log information comprises at least one of a use state or a processed content of an application executed by the electronic device, and wherein the application comprises at least one of: an application of a peripheral device included in the electronic device, or an application program included in the electronic device.
11. The electronic device of claim 10 , wherein the at least one processor is configured to: collect additional log information when a keep-alive transmission period does not arrive.
12. The electronic device of claim 9 , wherein the setting information further comprises an address of the push server.
13. The electronic device of claim 12 , wherein the at least one processor is further configured to: receive the changed setting information from the provisioning server when there is the difference between the stored information on the version of the setting information and the information on the version of the changed setting information.
14. The electronic device of claim 12 , wherein the at least one processor is further configured to: perform a particular operation when the push server having received the request for an operation command from the admin server makes a request for a push.
15. The electronic device of claim 14 , wherein the request for the operation command comprises: a command to start collecting one or more pieces of log information, a command to stop collecting log information, a command to collect emergency log information, a command to stop collecting emergency log information, and a provision command.
16. The electronic device of claim 15 , wherein the particular operation comprises an operation to: start collecting log information according to a keep-alive period when the operation command is the command to start collecting log information, stop collecting log information when the operation command is the command to stop collecting log information which has been collected according to the keep-alive message transmission period, start collecting log information regardless of the keep-alive message transmission period when the operation command is the command to collect emergency log information, stop collecting log information by the command to start collecting emergency log information when the operation command is the command to stop collecting emergency log information, or exchange the setting information with the provisioning server when the operation command is the provision command.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
September 16, 2014
October 1, 2019
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.