IP Library Granted Patent US 10,048,988
Granted Patent B2
US 10,048,988 · App. 14/945,290 · Granted Aug 14, 2018

Method and electronic device for processing intent

Inventors: Young-Joo Hong (Gyeonggi-do, KR); Kyoung-Joong Shin (Seoul, KR); Dong-Gyu Ahn (Gyeonggi-do, KR); Hak-Ryoul Kim (Gyeonggi-do, KR); Hyo-Jong Kim (Gyeonggi-do, KR); Ji-Ho Ma (Gyeonggi-do, KR); Surng-Kyo Oh (Gyeonggi-do, KR)
Assignee: SAMSUNG ELECTRONICS CO., LTD.
G06F9/5083G06F2209/5017
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,048,988
App. No.
14/945,290
Granted
Aug 14, 2018
Kind
B2
Abstract

A method of operating an electronic device includes segmenting a second message in a first message, allocating the segmented second message to at least two queues, and performing a parallel-processing of the first message based on the allocated second message.

Claims (31)

1. A method for operating an electronic device, the method comprising:

acquiring an intent message including information on a plurality of receivers, each of the plurality of receives being a portion of an application;

segmenting the intent message into a plurality of sub-messages to be processed by the plurality of receives respectively;

grouping, based on a processing time for which the plurality of receivers respectively process the plurality of sub-messages, the plurality of sub-messages into at least two groups, wherein a processing of each of the at least two groups is completed at a same time by at least one receiver corresponding to the each of the at least two groups, wherein a number of the at least two groups is equal to a number of a plurality of queues which are associated with a central processing unit (CPU);

allocating the at least two groups to the plurality of queues; and

transmitting, to the plurality of receivers, the plurality of sub-messages from the plurality of queues.

2. The method of claim 1 , further comprising:

generating the plurality of queues, wherein the number of the plurality of queues is equal to a number of CPU cores associated with the electronic device.

3. The method of claim 2 , further comprising: changing the number of the plurality of queues based on a CPU usage rate of the electronic device.

4. The method of claim 2 , further comprising:

changing the number of the plurality of queues based on a total time of CPU processing time of the electronic device.

5. The method of claim 1 , wherein the intent message comprises at least one of a BOOT_COMPLETED intent message or a MEDIA_SCANNER_FINISHED intent message.

6. The method of claim 1 , wherein the information on the plurality of receivers comprises at least one of a command on the plurality of receivers, a source code, a number of the plurality of receivers, receiver identification information, and a receiver identifier (ID).

7. An electronic device comprising:

a display configured to functionally connected to at least one processor; and

the at least one processor configured to:

acquire an intent message including information on a plurality of receivers, each of the plurality of receivers being a portion of an application;

segment the intent message into a plurality of sub-messages to be processed by the plurality of receivers respectively;

group, based on a processing time for which the plurality of receivers respectively processes the plurality of sub-messages, the plurality of sub-messages into at least two groups, wherein a processing of each of the at least two groups is completed at a same time by at least one receiver corresponding to the each of the at least two groups, wherein a number of the at least two groups is equal to a number of a plurality of queues which are associated with a central processing unit (CPU);

allocate the at least two groups to the plurality of queues; and

transmit, to the plurality of receivers, the plurality of sub-messages from the plurality of queue.

8. The electronic device of claim 7 , wherein the at least one processor is further configured to generate the plurality of queues, wherein the number of the plurality of queues is equal to a number of CPU cores associated with the electronic device.

9. The electronic device of claim 7 , wherein the at least one processor is further configured to change a number of the plurality of queues based on a CPU usage rate of the electronic device.

10. The electronic device of claim 7 , wherein the at least one processor is further configured to change a number of the plurality of queues based on a total time of CPU processing time of the electronic device.

11. The electronic device of claim 7 , wherein the message comprises at least one of a BOOT_COMPLETED intent message or a MEDIA_SCANNER_FINISHED intent message.

12. The electronic device of claim 7 , wherein the information on the plurality of receivers comprises at least one of a command on the plurality of receivers, a source code, a number of receivers, receiver identification information, and a receiver identifier (ID).

13. A non-transitory computer-readable storage medium for storing one or more programs for executing operations of:

acquiring an intent message including information on a plurality of receivers, each of the plurality of receivers being a portion of an application;

grouping, based on a processing time for which the plurality of receivers respectively process a plurality of sub-messages, the plurality of sub-messages into at least two groups, wherein a processing of each of the at least two groups is completed at a same time by at least one receiver corresponding to the each of the at least two groups, wherein a number of the at least two groups is equal to a number of a plurality of queues which are associated with a central processing unit (CPU);

allocating the at least two groups to a plurality of queues; and

transmitting, to the plurality of receivers, the plurality of sub-messages from the plurality of queues.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 18, 2015
From: HONG, YOUNG-JOO; SHIN, KYOUNG-JOONG; AHN, DONG-GYU; KIM, HAK-RYOUL; KIM, HYO-JONG; MA, JI-HO; OH, SURNG-KYO
To: SAMSUNG ELECTRONICS CO., LTD
Reel/Frame 037077/0704 →
Priority Claims (1)
KR 10-2014-0160901 · Nov 18, 2014 · national
Continuity (1)
Related Publication 20160142363A1 · May 19, 2016