WO2008026618A1 - Dispositif électronique - Google Patents

Dispositif électronique Download PDF

Info

Publication number
WO2008026618A1
WO2008026618A1 PCT/JP2007/066719 JP2007066719W WO2008026618A1 WO 2008026618 A1 WO2008026618 A1 WO 2008026618A1 JP 2007066719 W JP2007066719 W JP 2007066719W WO 2008026618 A1 WO2008026618 A1 WO 2008026618A1
Authority
WO
WIPO (PCT)
Prior art keywords
new
management unit
new application
application
application management
Prior art date
Application number
PCT/JP2007/066719
Other languages
English (en)
French (fr)
Inventor
Hisayasu Mochizuki
Daiki Ogasawara
Original Assignee
Sharp Kabushiki Kaisha
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2006235304A external-priority patent/JP2008059269A/ja
Priority claimed from JP2006235104A external-priority patent/JP2008059252A/ja
Application filed by Sharp Kabushiki Kaisha filed Critical Sharp Kabushiki Kaisha
Priority to US12/439,469 priority Critical patent/US20090265723A1/en
Publication of WO2008026618A1 publication Critical patent/WO2008026618A1/ja

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/52Program synchronisation; Mutual exclusion, e.g. by means of semaphores
    • G06F9/526Mutual exclusion algorithms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution

Definitions

  • the present invention relates to an electronic device, and more particularly to a hardware control technique when new hardware is added.
  • FIG. 2 is a diagram illustrating a configuration example of a general electronic device 401.
  • the electronic device 4001 shown in FIG. 2 includes, as a nodeware, a communication, a RAM 415, an audio reproduction unit, a nonvolatile RAM unit 421, and a graphic unit 423 as nodeware.
  • APP-A403 and APP-B405 are incorporated as applications. These are operated by the application manager 407 while switching (application switching 411 and resource switching 425). That is, the electronic devices are collectively managed by the application management unit 407 and integrated with the operation system.
  • system resources that is, hardware resources including a memory, are allocated to the activated applications 403 and 405.
  • the application management unit 407 switches applications such as a telephone function, mail, and a game, and manages hardware such as the RAM 415 and the graphics unit 423. .
  • Patent Document 1 Japanese Unexamined Patent Publication No. 2006-65811
  • the application that characterizes the electronic device for example, if the electronic device is a mobile phone, It is an application that is necessary to form a “mobile phone” in concept, and is hereinafter referred to as a common application. ). This is particularly noticeable when the hardware used to implement the features that characterize it is frequently changed due to technological development and cost reduction requirements.
  • FIG. 27 is a schematic diagram showing a problem related to the resource exclusive control.
  • the upper left figure in Fig. 27 is a diagram showing application management, and shows how n applications from A to N are managed by the conventional application management unit 433 as the conventional application 431! /. is there.
  • a state transition is made from the conventional application A to the conventional application B, a setting change in exclusive control occurs for resources because the application to be used is mainly changed.
  • the total number of exclusive control setting changes in the conventional application is as shown in the upper right of FIG. 28, and the number is n 2 ⁇ n.
  • the present invention solves the above-mentioned problems that occur when a new application is added and, while revitalizing the conventional system, suppresses an increase in the number of man-hours for development and testing, and is stable and highly scalable. ! / ⁇ To provide electronic equipment.
  • first application management unit in the claims is referred to as a new application management unit for convenience
  • second application management unit having the following functions in the common application
  • the new application management unit uses a function with exclusion control for the API provided by the firmware to prevent multiple processes from being executed simultaneously. To do. The same proxy processing is performed for other resources (sound reproduction, communication), etc. other than the graphic library. This makes it possible to access the hardware from processes other than the common application.
  • FIG. 28 is a diagram illustrating a configuration example when the conventional application management unit 333 manages the conventional application A (331-1) to the conventional application N (331-n).
  • the conventional application unit 333 manages n applications from A to N as the conventional application 331 and a new application management unit 337 Manage.
  • the new application management unit 337 has a hierarchical configuration for managing m applications from NEW-A to NEW-M as the new application (NEW) 335.
  • the new application management unit changes the exclusive control setting change for 365 areas indicated by hatching as shown in FIG. 31 (A) by the state transition, and the conventional application management unit shows in FIG. 31 (B). In this way, the exclusive control setting change for the area 365 indicated by hatching is performed.
  • n> 1 and m> 1 when adding a plurality of new applications, it may be possible to reduce exclusive control processing by adding a new application management unit. Recognize.
  • FIG. 1 is a functional block diagram showing a basic configuration example of an electronic device according to an embodiment of the present invention.
  • FIG. 2 is a diagram showing a configuration example of a general electronic device in which an operation system (OS) and an application are integrated!
  • OS operation system
  • FIG. 3 is a diagram showing each functional block in more detail than FIG.
  • FIG. 4 is a diagram showing an example of expansion in a single process in Example 1.
  • FIG. 5 is a sequence diagram related to application activation of a single process shown in FIG. 9 in the first embodiment.
  • FIG. 6 is a sequence diagram showing a new application execution (single process) process in the first embodiment.
  • FIG. 7 is a diagram illustrating termination of a new application (single process) in the first embodiment.
  • FIG. 8 is a sequence diagram showing processing of an abnormal system in which a new application in Example 1 ends spontaneously.
  • FIG. 9 is a sequence diagram showing a new application switching (single process) processing example in the first embodiment.
  • FIG. 10 is a sequence diagram of switching a new application in a single process in the second embodiment.
  • FIG. 11 is a functional block diagram showing a configuration example of an electronic device showing an extension example in another process in the embodiment 3, corresponding to FIG.
  • another process B having a new application NEW—B and another process C having a new application NEW—C are added.
  • FIG. 16 is a sequence diagram of a switching process of a new application in another process according to the third embodiment.
  • FIG. 17 A functional block showing a configuration example of an electronic device according to the fourth embodiment of the present invention when the new application is a separate process from the common application and resource management is further performed in the new application.
  • FIG. 18 is a sequence diagram of processing when starting a new application in the fourth embodiment.
  • FIG. 19 is a sequence diagram of processing when a new application is executed in the fourth embodiment.
  • FIG. 20 is a sequence diagram of processing when a new application is terminated in the fourth embodiment.
  • FIG. 21 is a sequence diagram of processing when a new application in Example 4 is voluntarily terminated (abnormal system).
  • FIG. 22 is a sequence diagram of new application switching processing according to the fourth embodiment.
  • FIG. 23 is a diagram showing an example of graphic resource switching by application switching.
  • FIG. 25 is a diagram showing a configuration diagram in a case where the technique according to the present embodiment is applied to a specific device, and applied to a recording / reproducing apparatus, for example, an HDD recorder.
  • FIG. 26 is a diagram showing a configuration diagram when applied to a mobile terminal, for example, a mobile phone with a one-segment viewing function, among examples in which the technology according to the embodiment is applied to a specific device.
  • FIG. 27 is a schematic diagram showing a problem related to exclusive resource control in the electronic device shown in FIG. 2.
  • FIG. 28 is a diagram showing a simple configuration example when a conventional application is managed by a conventional application management unit.
  • FIG. 29 is a diagram showing the relationship of resource exclusive control before and after transition in the configuration of FIG. 28.
  • FIG. 30 is a diagram showing a state where a new application management unit is newly added to the configuration of FIG.
  • FIG. 31 is a diagram showing the relationship of resource exclusive control before and after transition in the configuration of FIG. 30.
  • the first function refers to a function that is essential for the operation of an electronic device.
  • the first function is common to each model in the series, that is, Standard functions that do not depend on the model, or functions that are common to each model.
  • a series of devices that receive a call wave on a mobile phone and a broadcast wave on a TV and display it on a screen It refers to Noh.
  • the second function is a newly added function different from the first function, a function added to the standard function depending on the model, and a function other than a function common to each model. Therefore, it refers to a function specific to the model. In short, it can be said that the boundary between the first function and the second function is movable by the development strategy 'product strategy.' It is also possible to distinguish between the first function and the second function by the difference in the hierarchy of resource management.
  • a liquid crystal television receiver is basically taken as an example, and a case where a new function is added to this will be described in mind. Of course, it can be applied to other electronic devices!
  • FIG. 1 is a functional block diagram showing a basic configuration example of the electronic device according to the present embodiment.
  • the electronic device X has the following configuration.
  • the functions provided as a common application consist of the following modules.
  • the system 1 and the main body 3 are provided.
  • the main body unit 3 is provided with a conventional application management unit 17 and conventional applications (CURNT-A) 11 and (CURRENT-B) 15. Furthermore, as resources, hardware that realizes a function includes hardware resources necessary for realizing the function, such as communication 21, work memory area (RAM) 23, audio playback 25, nonvolatile RAM 27, graphics 31. , Etc. are provided as examples.
  • resources such as communication 21, work memory area (RAM) 23, audio playback 25, nonvolatile RAM 27, graphics 31. , Etc. are provided as examples.
  • the main body unit 3 is provided with a new application management unit 35 for managing the new application NEW-A33, and the above-described hardware is connected with the conventional application management unit 17. Switch resources.
  • the new application management unit 35 When the process B5 having a new function is added to the main body unit 3 having the process A, the new application management unit 35 also performs resource management of the new application NEW-B37.
  • FIG. 3 is a diagram showing each functional block of FIG. 1 in more detail.
  • the conventional application management unit 17 is connected to the conventional applications 11 and 15, and includes a new application management unit 35, an anti-new management unit communication unit 17-1 that performs communication, an exclusive control unit 17-2 that performs exclusive control,
  • the resource management unit 17-3 which is connected to the hardware resources necessary for realizing the functions and manages resources, and the resource management information storage unit 17-4, which is connected to the resource management unit 17-3 and stores resource management information, Have.
  • the new application management unit 35 performs exclusive control with the conventional management unit communication unit 35-1, which is a functional block connected to the new application NEW-A33 and communicates with the conventional application management unit 17.
  • Exclusive control unit 35-2 resource management unit 35-3 connected to hardware resources necessary for realizing functions and resource management 35-3, and resource management information storage connected to resource management unit 35-4 to store resource management information Unit 35-4, an inter-process communication unit 35-5 that communicates with other processes, and an API conversion unit 35-6 that performs API conversion.
  • the process B which is another process different from the process A and in which the new applications NEW—B (37b) and NEW—C (37c) can be started, is applied to the new application.
  • a resource that stores resource management information connected to the other process communication unit 39-1, the exclusive control unit 39-2, the resource management unit 39-3, and the resource management unit 39-3 that can communicate with the channel management unit 35 And a storage unit 39-4 for storing management information.
  • the resource management unit 39-3 performs resource control related to the communication unit included in the library Z41.
  • new application framework shown in FIG. 3 and the “second new application management unit” described in the claim are called a new application framework.
  • FIG. 23 is a diagram illustrating an example of graphic resource switching by application switching.
  • the conventional application 11 is used when the conventional application 11 is used.
  • Yon 11 is displayed (Fig. 23 (A)).
  • the display screen of the new application 33 is switched (FIG. 23 (B)). In this case, the conventional application 11 and the new application 33 are completely exclusive.
  • Example 1 is the first case among cases where a new application has a configuration in which a common application and a single process are used.
  • FIG. 4 is a diagram illustrating a module configuration according to the first embodiment, and illustrates an extension example in a single process. The difference from Fig. 1 is that the new application NEW-B37 is installed in the same process A3 as the conventional applications 11 and 15.
  • the new application management unit 35 manages new applications NE W-A33 and NEW-B37.
  • Fig. 5 shows a sequence diagram related to application activation of the single process shown in Fig. 4.
  • the conventional application management unit 17 When receiving a start request (501) of the new application NEW—A from the user, the conventional application management unit 17 notifies the end request to the conventional application CURRENT—All (503).
  • the conventional application CURRENT—All stops the use of the resources that have been used, such as the end of drawing and the release of working memory, and the existing application CU RRENT— A11 information is deleted and the resource is updated as unused (505, May 07). After that, resources such as graphics and working memory can be used in new applications.
  • the conventional application management unit 17 makes a new application NEW-A33 activation request to the new application management unit 35 (511).
  • the new application management unit 35 receives a new application activation request (511) from the conventional application management unit 17, and issues a activation request to the new application NEW-A33 (513).
  • the new application NEW-A33 registers the information of the new application NEW-A33 for the resource managed by the new application management unit 35, and updates the resource as a use state (515 ⁇ 517).
  • the new application NEW-A33 can perform processing such as communication and calculation using the working memory, and can start drawing on the graphic plane.
  • the new application NE W—A33 sends a new application NEW—A activation response to the new application management unit 35 (519).
  • the new application management unit 35 sends a new application activation response to the conventional application management unit 17 (521).
  • a user event 601 generated by a user operation passes through the conventional application management unit 17 and the new application management unit 35 (603) to the new application NEW-A 33. Notification is made (605).
  • the new application NEW-A performs calculation 607 and drawing preparation 609, and makes a drawing request to the firmware (graphic) 31 (611).
  • the firmware 31 notifies the drawing completion when the process is completed.
  • the drawing process is performed as much as necessary, and when all the drawing completion notifications are notified from the firmware 31 (613), the new application NEW—A33 prepares the screen update (615) and The screen update request is made (617). The firmware 31 notifies the screen update completion when the processing is completed (619). Through the above processing, a screen is displayed by the user's operation (updated if necessary).
  • the conventional application management unit 17 upon receiving a termination request for a new application NEW-A33 from the user (701), the conventional application management unit 17 makes an application termination request (703) to the new application management unit 35.
  • the application termination request (701, 703, 705) has the following forms.
  • New application manager 35 can recognize it as an “end request” for the first time
  • New application 33 can recognize it as an “end request” for the first time.
  • a power key or the like is a common end request for devices as shown in (a), but corresponds to (b) when there is an application end key.
  • the end command set in the application menu corresponds to (c).
  • the application termination requests 701 and 703 are merely events (key codes) for the conventional application management unit 17 and the new application management unit 35, but both are the same processing.
  • the new application 33 is in a state of receiving an application end request from the conventional application 11 and performs an application end process after 707.
  • the new application NEW—A33 was used to terminate drawing and release work memory. Stop using the resource, delete the information of the new application NEW—A33 for the resource managed by the new application management unit 35, and update the resource as unused (707 ⁇ 709) .
  • the new application NEW—A33 terminates processing and releases resources, the new application NEW—A33 notifies the new application management unit 35 of an application end response (711).
  • the new application management unit 35 sends an application termination notification to the conventional application management unit 11 (713).
  • the new application may be terminated regardless of the user's intention.
  • the new application NEW-A33 issues an application termination request issuance request to the new application management unit 35 (801), and the new application management unit 35 An application termination request issuance request 803 is made to the management unit 17. Thereafter, the termination process is performed in the same manner as the normal new application termination process (703 to 715).
  • the switching process (single process) of a new application will be described with reference to FIG.
  • the conventional application management unit 17 upon receiving an application switching request 901 from the user, the conventional application management unit 17 makes an application switching request 903 to the new application management unit 35.
  • the application switching request (901, 903, 905) has the following forms.
  • New application management department can recognize "switch request” for the first time
  • c) New application can recognize "switch request” for the first time
  • an EPG activation (display) key or the like is a common switching request in the device as shown in (a), but when there is an application switching key, (b) is given.
  • the switching command set in the menu on the application is (c).
  • the application switching request 901 ⁇ 903 is simply sent to the conventional application management unit 17 and the new application management unit 35.
  • the same processing is applied to the forces S, V, and deviation that become events (key codes). That is, the new application 33 is in a state where it has received an application switching request from the conventional application 11 and performs application termination processing after 905.
  • the new application management unit 35 sends an application end request 905 to the new application NEW-A33.
  • the new application NEW—A33 stops using the resources that were used, such as the end of drawing and the release of working memory, and the new application NEW—A33 is used for resources managed by the new application management unit 35. This information is deleted and the resource is updated as unused (907 ⁇ 909).
  • the new application NEW— ⁇ 33 terminates processing and releases resources
  • the new application NEW—A33 sends an application to the new application management unit 35. -Notify the end of response (911).
  • the new application management unit 35 makes a start request to the new application NEW-B37 (913).
  • the new application NEW—B37 registers the information of the new application NEW—B37 for the resource managed by the new application management unit 35, and updates the resource as a use state (915 917).
  • the new application NE W—B 37 sends an activation response of the new application NEW—B 37 to the new application management unit 35 (919).
  • the new application management unit 35 sends a new application start notification to the conventional application management unit 17 (921).
  • the conventional application management unit 17 presents video / audio to the user (923).
  • the second embodiment is a case where, in a single process, a cooperative operation is performed between applications before and after switching between new applications. This case will be explained according to the sequence diagram.
  • Fig. 10 is a sequence diagram of switching a new application in a single process. As shown in FIG. 10, when an application switching request is received from the user (1001), the conventional application management unit 17 sends an application switching request 1003 to the new application management unit 35.
  • the application switching request (1001, 1003, 1005) may be a simple event (key code).
  • the new application management unit 35 issues an application switching request 1005 to the new application NEW-A33.
  • the new application NEW—A33 stops using the resources that were used, such as the end of drawing and the release of working memory, and the new application NEW—A33 This information is deleted and the resource is updated as unused (1007 ⁇ 1009).
  • the new application NEW—A33 sends an application switching response 1011 to the new application management unit 35.
  • the new application manager 35 W—A start request 1013 is sent to B37.
  • the new application NEW—B37 registers the information of the new application NEW—B37 for the resource managed by the new application management unit 35, and updates the resource as a use state (1015 ⁇ 1017).
  • W—B37 sends a new application NEW—B activation response 1019 to the new application management unit 35, and the new application management unit 35 receives this and sends a new application activation notification 1021 to the conventional application management unit 17.
  • the conventional application management unit 17 Upon receiving the new application activation notification 1021 from the new application management unit 35, the conventional application management unit 17 presents a video image to the user (102).
  • Example 3 is a case where the new application is a separate process from the common application.
  • FIG. 11 is a functional block diagram showing a configuration example of an electronic device showing an extension example in another process, and corresponds to FIG.
  • another process B (5b) with a new application NEW—B (37b) and another process C (5c) with a new application NEW C (37c) are added. is there.
  • the communication unit 43 uses the force S that is commonly used for both the separate process B (5b) and the separate process C (5c).
  • the conventional application management unit 17 When receiving a start request 1201 for the new application NEW—B from the user, the conventional application management unit 17 notifies the end request 1203 to the conventional application CURRENT—All.
  • the conventional application CURRENT All stops the use of resources that were used, such as the end of drawing and the release of working memory, and is managed by the new application management unit 35! /
  • the existing application CURRENT—Al 1 information is deleted and the resource is updated as unused (resource release request 1205 and resource release response 1207). Later, in new applications, graphics and work It becomes possible to use resources such as memory.
  • the conventional application CURRENT When the conventional application CURRENT—All terminates processing and releases resources, the conventional application CURRENT—All notifies the conventional application management unit 17 of an application end response 1209.
  • the conventional application management unit 17 makes a new application NEW-B start request 1211 to the new application management unit 35.
  • the new application management unit 35 receives the new abrasion activation request 1211 from the conventional application management unit 17, acquires the resource (1213), adds the resource information, and activates the new application NEW-B (37b). A request is made (1215).
  • the new application NEW-B (37b) can perform processing such as communication and computation using the working memory and start drawing on the graphic plane! / ⁇ .
  • the new application NEW-B (37b) When the activation of the new application NEW—B (37b) is completed, the new application NEW-B (37b) sends a new application N EW-B activation response 1221 to the new application management unit 35. In response to this, the new application management unit 35 sends a new application activation response 1223 to the conventional application management unit 17.
  • a user event 1301 generated by a user operation is notified to the new application NEW-B (37b) via the conventional application management unit 17 and the new application management unit 35 (1303 ⁇ 1305).
  • the new application NEW-B (37b) performs calculation 1 307 and drawing preparation 1309, and makes a drawing request 131 1 to the new application management unit 35.
  • the new application management unit 35 converts the drawing request into the API of the firmware 31 that is exclusively controlled (1313), and notifies the firmware (1315).
  • the firmware 31 performs a drawing completion notification 1317 to notify the drawing completion. Is converted by the new application management unit 35 (1319) and notified to the new application NEW-B (37b) (1321).
  • the firmware 31 performs a screen update completion notification 1331, and the screen update completion notification is notified to the new application NEW-B (37b) via the new application management unit 35 (conversion 1333). (1335). In this way, a screen (updated if necessary) is displayed by the user's operation.
  • FIG. 14 is a sequence diagram when a new application in another process is terminated.
  • the conventional application management unit 17 issues an abrasion termination request 1403 to the new application management unit 35.
  • the application termination request 1401 ⁇ 1403 ⁇ 1405 may be a simple event (key code).
  • the new application management unit 35 issues an application end request 1405 to the new application NEW-B (37b).
  • the new application NEW—B (37b) stops using the resources that were used, such as the end of drawing and the release of working memory, and the application end response 1407 to the new application management unit 35. To be notified.
  • the new application management unit 35 deletes the information of the new application NEW-B (37b) for the resource managed by the new application management unit 35, and updates the resource as an unused state (resource release 1409). Thereafter, resources such as graphics and working memory can be used in conventional applications.
  • the new application manager 35 releases the resource 1409, the new application manager 35
  • the application management unit 35 issues an application end notification 1 411 to the conventional application management unit 17, and the conventional application management unit 17 presents the video'audio to the user (1413).
  • the new application NEW-B (37b) makes an application termination request issuance request 1501 to the new application management unit 35, and the new application management unit 35 An application termination request issuance request 1503 is made to the management unit 17. Thereafter, termination processing is performed in the same manner as normal new application termination processing (1403 to 1413).
  • the conventional application management unit 17 upon receiving an application switching request 1601 from the user, the conventional application management unit 17 makes an application switching request 1603 to the new application management unit 35.
  • the application switching request (1601, 1603, 1605) may be a simple event (key code).
  • the new application management unit 35 issues an application termination request 1605 to the new application NEW-C (37c).
  • the new application NEW—C (37c) stops using the resources used, such as the end of drawing and the release of working memory, and notifies the new application management unit 35 of an application end response 1607.
  • the new application management unit 35 deletes the information of the new application NEW—C (37c) for the resource managed by the new application management unit 35. Update the resource as unused (release resource 1609).
  • FIG. 17 is a functional block diagram illustrating a configuration example of the electronic device according to the present embodiment.
  • a new application framework 39 is provided in a process B5 that is different from the process A3.
  • the new application framework 39 is connected to the new application management unit 35 and a new application NEW— B (37b), connected to new application NEW—C (37c)!
  • the conventional application management unit 17 When the start request 1801 of the new application NEW—B (37b) is received from the user, the conventional application management unit 17 notifies the end request 1803 to the conventional application CURRENT—All.
  • the conventional application CURRENT All stops the use of the resources that were used, such as the end of drawing and the release of working memory, and is managed by the new application management unit 35.
  • the existing application CURRENT Al 1 information is deleted and the resource is updated as unused (1805 ⁇ 1807). After that, resources such as graphics and working memory can be used for new applications.
  • the new application management unit 35 receives the new application activation request 1811 from the conventional application management unit 17, acquires the resource (1813), adds the resource information, and activates the new application framework 39. Make request 1815.
  • the new application framework 39 initializes resources if necessary (1817 ⁇ 1819), and issues a start request 1821 to the new application NEW-B (37b).
  • the new application NEW-B (37b) can perform processing such as communication and calculation using the working memory and start drawing on the graphic plane.
  • the new application NEW—B (37b) sends a start response 1823 of the new application NEW—B (37b) to the new application framework 39. send.
  • the new application frame sends a new application activation response 1825 to the new application management unit 35.
  • the new application management unit 35 sends a new application activation response 1827 to the conventional application management unit 17.
  • a user event 1901 generated by a user operation passes through the conventional application management unit 17, the new application management unit 35, and the new application framework 39 (1903 ⁇ 1905) to the new application NEW-B (37b). Be notified (1907).
  • the new application NEW-B (37b) performs calculation 1909 and drawing preparation 1911, and issues a drawing request to the new application management unit 35 via the new application framework 39 (1913 1915).
  • the new application management unit 35 receives the drawing request 1915 for the exclusive-controlled fur. It is converted into a hardware API (1917) and notified to the firmware 31 (1919).
  • the firmware 31 performs a drawing completion notification 1921 to notify the drawing completion.
  • the new application management unit 35 converts the screen update request 1933 into an API of firmware under exclusive control (1935) and notifies the firmware 31 (1937).
  • the firmware 31 performs a screen update completion notification 1939.
  • the screen update completion notification is sent via the new application management unit 35 (where conversion 1941 is performed) and the new application framework 39 ( 1943), the new application NEW-B (37b) is notified (1945).
  • a screen updated if necessary is displayed by user operation.
  • the conventional application management unit 17 upon receiving a termination request 2001 for a new application NEW-B (37b) from the user, the conventional application management unit 17 sends an application termination request 2003 to the new application management unit 35.
  • the application end request (2001 ⁇ 2003 ⁇ 2005) may be a simple event (key code).
  • the new application management unit 35 issues an application termination request 2005 to the new application framework 39.
  • the new application framework 39 issues an application termination request 2007 to the new application NEW—B (37b).
  • the new application NEW—B (37b) stops using the resources that were used, such as the end of drawing and the release of working memory, and notifies the application end response to the new application framework 39. (2009). New application frame The work 39 notifies the new application management unit 35 of the application end response 201 1.
  • the new application management unit 35 deletes the information of the new application framework 39 for the resource managed by the new application management unit 35, and updates the resource as an unused state (2013). From now on, resources such as the memory and working memory can be used in conventional applications.
  • the new application management unit 35 When the new application management unit 35 releases resources 2013, the new application management unit 35 sends an application termination notification 2015 to the conventional application management unit 17. This allows video and audio to be presented to the user (2017)
  • the new application spontaneous termination (abnormal system) processing in the new application framework will be described.
  • the new application may be terminated regardless of the user's intention.
  • the new application NEW-B (37b) issues an application termination request issuance request 2101 to 2103 to the new application management unit 35 via the new application framework 39 to manage the new application.
  • the unit 35 makes an application end request issue request 2105 to the conventional application management unit 17. Thereafter, termination processing is performed in the same way as normal new application termination processing (2003-2017).
  • the new application switching process in the new application framework will be described with reference to FIG.
  • the conventional application management unit 17 makes an application switching request 2203 to the new application management unit 35.
  • the application switching request (2201, 2203, 2205, 2207) may be a simple event (key code).
  • the new application management unit 35 makes an application switching request 2205 to the new application framework 39.
  • the new application framework 39 makes an application termination request 2207 to the new application NEW-B (37b).
  • New application NEW— B (37b) stops using resources such as drawing termination and release of working memory, and notifies application termination response 2209 to new application framework 39 To do.
  • the new application framework 39 initializes resources if necessary (
  • the application start request 2215 is made to the new application NEW—C (37c).
  • the new application NEW—C (37c) sends a response for starting the new application NEW—C (37c) to the new application management unit 35 via the new application framework 39.
  • Send (2217 ⁇ 2219).
  • the new application management unit 35 sends a new application start notification 2221 to the conventional application management unit 17.
  • the conventional application management unit 17 can present video / audio to the user (2223).
  • FIG. 24 is a diagram illustrating a configuration example when the present embodiment is applied to a digital television receiver.
  • the diagram shown in FIG. 24 is a diagram showing a main configuration related to the digital television receiver XI in addition to the basic configuration shown in FIG.
  • Constituent elements described in FIG. 1 (right part of the figure) are denoted by the same reference numerals and description thereof is omitted.
  • the configuration shown in FIG. 24 includes an antenna (3003), a tuner (3004), a decoder / descrambler (3005), and an HDTV / SDTV 'video / audio display device (3006). is doing.
  • the broadcast wave received by the antenna (3003) is extracted by the tuner (3004), and demodulated, decoded, and MPEG2DEMUX processed by the decoder / descrambler (3005). . Subsequently, video decoding / audio decoding is performed, and the video / audio can be viewed on the HDTV / SDTV 'video / audio display device (3006)!
  • FIG. 25 is a diagram showing a configuration diagram when applied to a recording / reproducing apparatus, for example, HDD recorder X2, among examples in which the technique according to the present embodiment is specifically applied.
  • the broadcast wave received by the antenna (3003) is extracted by the tuner (3004) and demodulated / decoded by the decoder / descrambler (3005). Done. Next, video decoding and audio decoding are performed,
  • HDTV / SDTV * Video / Audio ⁇ Display device (3006) enables viewing as video and audio. Depending on the user's operation, it is recorded on a recording medium such as HDD / DVD in the HDTV / SDTV.
  • FIG. 26 is a diagram showing a configuration when applied to a mobile terminal, for example, a mobile phone X3 with a one-segment viewing function, among examples in which the technology according to the present embodiment is specifically applied.
  • the broadcast wave received by the antenna (3003) is extracted by the tuner (3004), and is demodulated and decoded by the decoder “descrambler (3005)”. Subsequently, the video decoding 'audio decoding is performed, and it can be viewed as video / audio on the one-segment' video / audio 'display device (3008)!
  • the conventional application management unit 17 selects the tuner (3004), starts the decoder “descrambler (3005) starts”, stops the HDTV / SDTV video / audio display device (3006). Or 1Seg 'Video / Sound ⁇ Brightness adjustment on display device (3008) ⁇ Volume adjustment etc. Manage through UI menu.
  • BML data broadcasting: 3001
  • EPG electronic program guide: 3002
  • the conventional application management unit (17) uses the graphics (31 ) And RAM (23) are released to the new application management unit (35), and the new application management unit (35) adds new graphics (31) to the new application NEW-A (33). ) And RAM (23) usage rights, the NEW-A (33) screen will be displayed.
  • NEW-A (33) releases the graphic (31) and RAM (23), and the new application manager (35) adds a new graphic (31) to the NEW-B (37).
  • the NEW-B (37) screen is displayed.
  • the new application management unit (35) enables the antenna (3003), tuner (3004), decoder, descrambler (3005), FIG. 24 and FIG. 25 HDTV / SDTV video / audio display device (3006), HDTV / SDTV video / audio recording device (3007) in Fig. 25, 1Seg video / audio display device (3008) and baseband in Fig. 26 It is not necessary to control the processing unit (3009) and the antenna (3010) and! /, That is, a device for configuring a specific device. That is, control is possible without depending on the device for configuring the device. Therefore, the present invention can be widely applied to devices using a system that operates with the same mechanism as that described above.
  • a new application management unit (resource management function) is added, so that an existing conventional (common) application management unit is added.
  • resource management function resource management function
  • it also manages resources between new applications.
  • hierarchical resource management between existing applications and new applications reduces the number of management items compared to managing new applications with the existing common application management unit. There is an advantage of increasing the stability of the system.
  • new application management is performed.
  • adding a new application framework it is possible to use resources and control hardware from other processes other than the common application.
  • the present invention can be used for electronic devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Description

明 細 書
電子機器及びその制御方法
技術分野
[0001] 本発明は電子機器に関し、特に新規のハードウェアを追加した場合のハードウェア 制御技術に関する。
背景技術
[0002] 近年の技術の急速な進歩に伴い、商品の高機能 ·多機能化の流れが強くなつてい
[0003] 更に新規技術の開発速度の向上により、次から次へと新しい機能が開発されてい る。そして、この新規の機能を搭載する際には、従来の機能との整合性をとることが重 要となっている。
[0004] 図 2は、一般的な電子機器 401の一構成例を示す図である。図 2に示す電子機器 4 01は、 ί列えば、、ノヽードウエアとして、通信き と、 RAM415と、音声再生き と、 不揮発性 RAM部 421と、グラフィック部 423と、を有している。また、アプリケーション としては、 APP— A403と、 APP— B405と、が組み込まれている。これらは、アプリケ ーシヨン管理部 407により切換えながら(アプリケーション切換 411及びリソース切換 425)ハードウェアを動作させている。すなわち、電子機器は、アプリケーション管理 部 407により一括管理され、オペレーションシステムとも一体になつている。
[0005] 上記構成による電子機器においては、起動したアプリケーション 403 · 405にシステ ム用のリソース、すなわちメモリを含むハードウェア資源を配分する。
[0006] 例えば、電子機器が携帯電話機である場合には、アプリケーション管理部 407が電 話機能やメール、ゲームなどのアプリケーションを切り替えたりし、 RAM415やグラフ イツク部 423などのハードウェアの管理を行う。
[0007] ここで、特定のモジュールに関するわずかな変更であってもシステム全体の挙動に 悪影響を与えうるという問題が発生することが多ぐその結果、軽微な変更であっても 電子機器全体の設計を見直す必要が生じる。例えばアプリケーションを追加した場 合、ハードウェアへのアクセス方法を新たなアプリケーション毎に追力 Ρ ·設定しなおす 必要が生じる。
[0008] 携帯電話の例では、カメラやウェブブラウザなど新しいアプリケーションを加える度 に、アプリケーション管理部 407を変更し、 RAM415やグラフィック部 423などのハ 一ドウエアへのアクセス方法を設計しなおすことになる。
[0009] そこで特開 2006— 65811号公報に開示された発明では、システムリソースマネー ジャを設け、ハードウェア、ソフトウェアそれぞれのリソースを管理するリソースマネー ジャを統合的に管理して、新規の機能が追加されても従来の機能との連携 ·制御-管 理を容易にしている。
特許文献 1 :特開 2006— 65811号公報
発明の開示
発明が解決しょうとする課題
[0010] 上記の従来技術が有効なのは、複数のアプリケーションが任意にハードウェアヘア クセスできる場合である。例えば、システム部にリソース管理部を構築した場合には、 全てのアプリケーションが等価となるために、任意のアプリケーションはそのリソース 管理に則ってハードウェアに対するアクセスが可能となる。
[0011] しかしながら、以下のようなハードウェアの制約があり、複数のアプリケーションがハ 一ドウエアへアクセスできな!/、場合がある。
[0012] 1)ハードウェアの初期化処理を複数のアプリケーションから行えない場合
2)ハードウェアの初期化を行ったアプリケーションからのみ、その後の制御が可能で ある場合、
例えばハードウェアの高速動作が目的で、ユーザの過去の操作で変更されたハー ドウエアの状態を維持するため、 1つのアプリケーションのみがハードウェアの制御を 行う場合などが挙げられる。
[0013] 一方、特に組み込み機器での開発において
• システムの安定性を高めるためにシステムで提供する機能を極力小さくまとめる • 使用するハードウェアに依存する部分を極力減らし、移植性を高める
ことを目的とする場合には、ハードウェアの制御を、その電子機器を特徴づけるアプリ ケーシヨン (例えば、電子機器を携帯電話とした場合において、通話機能など、一般 概念において『携帯電話』を形成するために必要なアプリであり、以後、共通アプリケ ーシヨンと称する。)で行う場合がある。これは、技術の発展、コストダウン要求などに よりその特徴づける機能を実現するためのハードウェアについて変更頻度が激しい 場合に顕著となる。
[0014] この場合には、新規アプリケーション追加の際には上記共通アプリケーションを管 理するアプリケーション管理部(新規に追加するアプリケーションを管理する新規アブ リケーシヨン管理部と対比する意味で、以後、従来アプリケーション管理部と称する。 )においてハードウェアへのアクセスの排他制御を行うこととなる力 前述の複数のァ プリケーシヨンからハードウェアのアクセスが困難なシステムにおいて上記の従来技 術を適用すると、アプリケーションが追加されればされるほどハードウェアへのァクセ スの排他制御が複雑になり、ある機能を実現するハードウェアにおいて、機能実現に 必要なハードウェア資源(グラフィック、音声、不揮発性 RAM、通信、 RAM領域など )について、細かく排他制御を行わなければならないという問題がある。
[0015] 図 27は、上記リソース排他制御に関する問題点を示す模式的な図である。図 27の 左上の図は、アプリケーションの管理について示した図であり、従来アプリケーション 431として Aから Nまでの n個のアプリケーションが従来アプリケーション管理部 433 により管理されて!/、る様子を示す図である。従来アプリケーション Aから従来アプリケ ーシヨン Bへ状態遷移を行うと、リソースについては、主として使用するアプリケーショ ンが変更されることから排他制御における設定変更が発生する。
[0016] その結果、従来アプリケーションにおける排他制御設定変更の総数は図 28右上に 示すようになり、その数は、 n2— nとなる。
[0017] ここで、図 27の左下図に示すように、新規アプリケーション(NEW) 435として、 NE W— A〜NEW— Mまでの m個のアプリケーションを追加した場合、状態遷移によつ て必要となる排他制御設定変更の総数は、図 27の右下図に示すようになり、その数 は、
^n + m) '― (n + m) =n + 2nm + m— n— m
となる。
[0018] したがって、新規アプリケーションを追加したことによる排他制御設定変更の増加分 は、図 27右下斜線部に示すように、
(n2 + 2nm + m2— n— m)― (n2— n) =m2— m+ 2mn = m (m+ 2n— 1) · · · (a) となり、
従来アプリケーションの数 nおよび新規アプリケーションの数 mが増えるほど、その 数は増大するのがわかる。
[0019] このように、すでに多くのアプリケーションが存在する電子機器において、アプリケ ーシヨン追加を行うことによって、遷移に起因して必要となる排他制御設定変更は非 常に多くなり、開発時における工数増大として大きな負担となる。
[0020] さらに、 Linuxなどのように、メモリアクセスに仮想アドレスを用いるシステムを用いる るのに対し、ハードウェアやファームウェア制御時のメモリアクセスには実際の物理メ モリを用いなければならない。この際には、仮想アドレスを物理アドレスに変換する必 要がある。
[0021] そして、この物理アドレスの値は、設定したプロセスとは別のプロセスが知ることは出 来ず、ハードウェアやファームウェアが制御できない。このような場合、開発速度の向 上、新規の機能の移植性向上などを狙って従来のプロセスとは切り離された別プロセ スを追加しても、ハードウェア制御は困難となるという問題が新たに発生する。
[0022] 例えば、図 2において、図示したプロセスとは別のプロセスで動くプロセスを新たに 追加し、そのプロセス上で動くアプリケーションが加えられても、アプリケーション管理 部 407に特別な仕組みを用意しなければ、 RAMやグラフィックにアクセスすることが 出来ず、新規の機能が実行できなくなる問題が生じる。
[0023] また、アプリケーション管理部 407に別プロセスを追加するための特別な仕組みを 用意した場合、開発やテストなどのコスト'時間の負荷が高くならないようにする必要 力 sある。
[0024] そのためには、先に述べたような、
1)システムの安定性を高めるためにシステムで提供する機能を極力小さくまとめる
2)使用するハードウェアに依存する部分を極力減らし移植性を高める
ことが必要となる。 [0025] 本発明は、新規にアプリケーションを追加する際に発生する上記問題点を解決し、 従来のシステムを活力、しながら、開発 'テストの工数の増大を抑制し、安定し拡張性 の高!/ヽ電子機器を提供することを目的とする。
課題を解決するための手段
[0026] 本発明によれば、共通アプリケーションに以下の機能を持つ新規アプリケーション 管理部 (請求項に記載の『第 1の新規アプリケーション管理部』を便宜上、新規アプリ ケーシヨン管理部と称する。)を導入する。
[0027] 1)プロセス間通信によって受け取った、実行したい機能 (処理内容)、処理に必要な ノ ラメータなどを変換し、代理でハードウェア制御を行う機能(対他プロセス通信部、
API変換部、リソース管理部)、
2)仮想アドレスと物理アドレスを変換するために必要な情報を、プロセス間通信を用 いて共通アプリケーション以外に通知する機能(対他プロセス通信部、 API変換部、 リソース管理部)、
3)あるハードウェアに対する制御が同時に発生しないように排他制御を行う機能 (リソ ース管理部、排他制御部)、例えば、グラフィックライブラリを利用する場合には、新規 アプリケーションと新規アプリケーション管理部の間でプロセス間通信を行い(図 1の L3)、グラフィックプレーンに対する塗りつぶし、転送、画面更新などの処理内容、お よび処理に必要となるデータのアドレスを受け渡す(図 1の L4)。
[0028] 受け渡されたこれらの情報を元に、新規アプリケーション管理部において、ファーム ウェアで提供される APIについて、複数の処理が同時に実行されることがないよう排 他制御を加えた関数を使用する。グラフィックライブラリ以外の他のリソース (音声再生 、通信)等においても同様の代理処理を行う。これにより、共通アプリケーション以外 のプロセスからのハードウェアへのアクセスが可能となる。
[0029] ここで、新規アプリケーション管理部を追加した場合の排他制御について、図 28〜 図 31までを参照して説明する。
[0030] 図 28は、従来アプリケーション管理部 333により、従来アプリケーション A(331— 1 )〜従来アプリケーション N (331— n)を管理する場合の構成例を示す図である。
[0031] これに対して、本発明では、図 30に示すように、新規アプリケーション(NEW) 335 として、 NEW— A〜NEW— Mまでの m個のアプリケーションを追加した場合、従来 アプリケーション部 333は、従来アプリケーション 331として A〜Nまでの n個のアプリ ケーシヨンを管理するとともに、新規アプリケーション管理部 337を管理する。
[0032] 一方、新規アプリケーション管理部 337は、新規アプリケーション(NEW) 335とし て、 NEW— A〜NEW— Mまでの m個のアプリケーシヨンを管理する階層的な構成 を有する。
[0033] 従って、状態遷移によって新規アプリケーション管理部は、図 31 (A)に示すように、 斜線で示す領域 365分の排他制御設定変更を、従来アプリケーション管理部は図 3 1 (B)に示すように、斜線で示す領域 365分の排他制御設定変更を行うこととなる。
[0034] (B)の総数は、
(n+ 1) 2— (n+ l) =n2 + 2n+ l— n— l =n2 + nとなり、
(A)の総数: m2— mを加えたことによる排他制御の増加分は、
、n +n) + (m — m)—、n — n) =m — m+ 2n- - - (b)
となる。
[0035] このこと力 、新規アプリケーション管理部を利用した場合の方が、従来アプリケー シヨン管理部をそのまま利用する場合に比べて、 式 (b)力も式 (a) の差分である 2n (m— 1)だけ、排他制御設定変更の増加分が少なくなることがわかる。
[0036] ここで n〉 1、 m〉 1であるため、新規アプリケーションを複数追加する場合には、新 規アプリケーション管理部を追加することで、排他制御の処理を減らすことが可能と なることがわかる。
[0037] このことは、処理を集約させることで全体の工数を減らすことが可能であることを意 味する。特に、従来アプリケーション管理部にとっては、新規アプリケーションがいく つ追加されたとしても、 1つの従来アプリケーション相当(367)が増加した分 (領域 36 5分)以外の排他制御設定変更が発生しな!/、ことから、新規アプリケーションに関する リソース管理を新規アプリケーション管理部内に閉じることができ、従来アプリケーショ ン管理部、従来アプリケーションに対する影響を低減することが可能となる(新規アブ リケーシヨンで発生した不整合を、従来アプリケーションに波及させずにすむ)と!/、う 利点がある。 発明の効果
[0038] 本発明により、従来のアプリケーションにてハードウェア制御を行っている場合に新 規に作成した別プロセスのアプリケーションからのハードウェア制御が可能となる。こ の結果、ハードウェア制御を含めた共通アプリケーション部、新規アプリケーション部 、別プロセスの新規アプリケーション部、システム部、といったモジュールの分割が可 能となり、技術の発展、コストダウン要求により変更頻度の激しいノ、一ドウエアについ て、変更時の影響からシステム部を切り離し、安定度を高めることができる。
[0039] 従って、商品の付加価値に対して影響のある新機能追加時の影響から商品を特徴 づけるのに必須となる共通機能を切り離し、安定度を高めることができる。その結果、 商品の付加価値を高める新規機能の追加が容易になる。
図面の簡単な説明
[0040] [図 1]本発明の一実施の形態による電子機器の基本構成例を示す機能ブロック図で ある。
[図 2]オペレーションシステム(OS)とアプリケーションとが一体となって!/、る一般的な 電子機器の一構成例を示す図である。
[図 3]図 1に対して、各機能ブロックをより詳細に示す図である。
[図 4]実施例 1における単一プロセスにおける拡張例を示す図である。
[図 5]実施例 1における図 9に示す単一プロセスのアプリケーション起動に関するシー ケンス図である。
[図 6]実施例 1における新規アプリケーションの実行(単一プロセス)処理を示すシー ケンス図である。
[図 7]実施例 1における新規アプリケーションの終了(単一プロセス)を示す図である。
[図 8]実施例 1における新規アプリケーションが自発的終了する異常系の処理を示す シーケンス図である。
[図 9]実施例 1における新規アプリケーションの切替(単一プロセス)処理例を示すシ 一ケンス図である。
[図 10]実施例 2における単一プロセスにおける新規アプリケーション切り替えのシー ケンス図である。 園 11]実施例 3における別プロセスにおける拡張例を示す電子機器の一構成例を示 す機能ブロック図であり、図 1に対応する図である。図 1におけるプロセス Aに加えて、 新規アプリケーション NEW— Bを有する別プロセス Bと新規アプリケーション NEW— Cを有する別プロセス Cと、を追加する例である。
園 12]実施例 3における別プロセスの新規アプリケーションを起動する場合のシーケ ンス図である。
園 13]実施例 3における別プロセスの新規アプリケーションを実行する場合のシーケ ンス図である。
園 14]実施例 3における別プロセスの新規アプリケーションを終了する場合のシーケ ンス図である。
園 15]実施例 3における別プロセスの新規アプリケーションを自発的終了(異常系)す る場合のシーケンス図である。
[図 16]実施例 3における別プロセスの新規アプリケーションの切替処理のシーケンス 図である。
園 17]本発明の実施例 4による、新規アプリケーションが共通アプリケーションと別プ ロセスとなる場合であって、かつ、新規アプリケーション内でさらにリソース管理を行う 場合における電子機器の一構成例を示す機能ブロック図である。
園 18]実施例 4における新規アプリケーションを起動する場合の処理のシーケンス図 である。
園 19]実施例 4における新規アプリケーションを実行する場合の処理のシーケンス図 である。
園 20]実施例 4における新規アプリケーションを終了する場合の処理のシーケンス図 である。
園 21]実施例 4における新規アプリケーションを自発的終了(異常系)する場合の処 理のシーケンス図である。
[図 22]実施例 4における新規アプリケーションの切替処理のシーケンス図である。
[図 23]アプリケーション切替によるグラフィックリソース切替例を示す図である。
園 24]本実施の形態をデジタルテレビジョン受信装置に適用した場合の一構成例を 示す図である。
[図 25]本実施の形態による技術を具体的な機器に適用した例のうち、記録再生装置 、例えば HDDレコーダに適用した場合の構成図を示す図である。
[図 26]実施の形態による技術を具体的な機器に適用した例のうち、携帯端末、例え ばワンセグ視聴機能付きの携帯電話機に適用した場合の構成図を示す図である。
[図 27]図 2に示す電子機器におけるリソース排他制御に関する問題点を示す模式的 な図である。
[図 28]従来アプリケーション管理部により従来アプリケーションを管理する場合の簡 単な一構成例を示す図である。
[図 29]図 28の構成における遷移前と遷移後とのリソース排他制御の関係を示す図で ある。
[図 30]図 28の構成に対して、新規アプリケーション管理部を新たに追加した様子を 示す図である。
[図 31]図 30の構成における遷移前と遷移後とのリソース排他制御の関係を示す図で ある。
符号の説明
[0041] 1···システム、 3···本体部、 11···従来アプリケーション(CURRENT— A)、 15···従 来アプリケーション(CURRENT— B)、 17···従来アプリケーション管理部、 21…通 信部、 23···作業用メモリ領域 (RAM)、 25···音声再生部、 27· 不揮発性 RAM部 、 31···グラフィック部(ファームウェア)、 33···新規アプリケーション NEW— A、 35··· 新規アプリケーション管理部、 37…新規アプリケーション NEW— B、 39…新規アプリ ケーシヨンフレームワーク、 41…ライブラリ Z、 43…通信部、 51…ディスプレイ。
発明を実施するための最良の形態
[0042] 本明細書において、第 1の機能とは、電子機器の動作に必須の機能を指し、電子 機器がシリーズとして開発されている場合などにおいて、そのシリーズ内の各機種に 共通の、すなわち機種に依存しないスタンダードな機能、或いは、各機種に共通の 機能を指す。
[0043] 例えば、携帯電話では通話機能、 TVでは放送波を受信して画面に出す一連の機 能のことを指す。
[0044] 第 2の機能とは、前記第 1の機能とは異なる新規に付加された機能、スタンダードな 機能に対して機種に依存して付加される機能、各機種に共通な機能以外の機能で あって機種に固有の機能を指す。要するに、第 1の機能、第 2の機能との区別は、開 発戦略 '製品戦略などによって区別される境界が可動であると言える。第 1の機能と 第 2の機能とを、リソース管理の階層の違いにより区別することも可能である。
[0045] 以下、本発明の一実施の形態による電子機器について、図面を参照しながら説明 を行う。電子機器としては、基本的には液晶テレビジョン受信機を例にし、これに新た な機能を追加した場合を念頭において説明する。もちろん他の電子機器にも適用可 能であることは言うまでもな!/、。
[0046] 図 1は、本実施の形態による電子機器の基本構成例を示す機能ブロック図である。
図 1に示すように、本実施の形態による電子機器 Xは、以下の構成を有している。ま ず、共通アプリケーションとして提供されている機能は、以下のモジュールにより構成 されている。図 2の構成と同様の構成として、システム 1と、本体部 3とを有している。
[0047] 本体部 3には、従来アプリケーション管理部 17と、従来アプリケーション(CURRE NT— A) l l、 (CURRENT— B) 15と、が設けられている。さらに、リソースとしては、 ある機能を実現するハードウェアにおいて、機能実現に必要なハードウェア資源とし て、通信 21、 作業用メモリ領域 (RAM) 23、音声再生 25、不揮発性 RAM 27、グ ラフィック 31、などが例示的に設けられている。
[0048] 加えて、本体部 3に、新規アプリケーション NEW— A33に対する管理を行う新規ァ プリケーシヨン管理部 35が設けられており、上記各ハードウェアに対して従来アプリ ケーシヨン管理部 17との間でリソースの切り替えを行う。
[0049] 新規アプリケーション管理部 35は、プロセス Aを有する本体部 3に対して、新たな機 能をもつプロセス B5が追加された場合に、その新規アプリケーション NEW— B37の リソース管理も行う。
[0050] 図 3は、図 1の各機能ブロックをより詳細に示す図である。従来アプリケーション管理 部 17は、従来アプリケーション 11、 15と接続され、新規アプリケーション管理部 35と 、通信を行う対新規管理部通信部 17— 1と、排他制御を行う排他制御部 17— 2と、 機能実現に必要なハードウェア資源と接続されリソース管理を行うリソース管理部 17 —3と、リソース管理部 17— 3と接続されリソース管理情報を格納するリソース管理情 報格納部 17— 4と、を有している。
[0051] 新規アプリケーション管理部 35は、新規アプリケーション NEW— A33と接続される 各機能ブロックであって、従来アプリケーション管理部 17と通信を行う対従来管理部 通信部 35— 1と、排他制御を行う排他制御部 35— 2と、機能実現に必要なハードウ エア資源と接続されリソース管理を行うリソース管理部 35— 3と、リソース管理部 35— 4と接続されリソース管理情報を格納するリソース管理情報格納部 35— 4と、他プロ セスと通信を行う対他プロセス通信部 35— 5と、 API変換を行う API変換部 35— 6と 、を有している。
[0052] さらに、プロセス Aとは異なる他のプロセスであるプロセス Bであって、新規アプリケ ーシヨン NEW— B (37b)と NEW— C (37c)とが起動可能なプロセス Bには、新規ァ プリケーシヨン管理部 35と通信可能な対他プロセス通信部 39— 1と、排他制御部 39 ー2と、リソース管理部 39— 3と、リソース管理部 39— 3と接続されリソース管理情報を 格納するリソース管理情報を格納する格納部 39— 4と、を有している。リソース管理 部 39— 3は、ライブラリ Z41に含まれる通信部に関するリソース制御を行う。
[0053] ここで、図 3に『新規アプリケーションフレームワーク』とある力 請求項記載の『第 2 の新規アプリケーション管理部』を説明の便宜上、新規アプリケーションフレームヮー クと呼ぶ。
[0054] 上記構成にお!/、て、新規アプリケーションを追加し、この追加した新規アプリケーシ ヨンが起動すると、リソースが切り替わるように制御される。
[0055] 尚、リソースの排他制御に関して、本実施の形態は同時に利用可能なモジュール 数を 1つとしているが、 2つ以上が利用可能な場合についても同様の排他制御を行う こと力 Sでさる。
[0056] 例えば、グラフィックのリソースの排他制御を例に図 23を参照しながら説明を行う。
図 23は、アプリケーション切替によるグラフィックリソース切替例を示す図である。テレ ビジョン受信装置のディスプレイ 51において、同時に利用可能なモジュール数力 1つ である場合には、従来アプリケーション 11が利用している場合には従来アプリケーシ ヨン 11が表示される(図 23 (A) )。新規アプリケーション 33が利用して!/、る場合には 新規アプリケーション 33の表示画面に切り替える(図 23 (B) )。この場合には、従来ァ プリケーシヨン 11と新規アプリケーション 33とで完全に排他となっている。
[0057] 但し、同時に利用可能なモジュール数が 2つ以上である場合には、図 23 (C)に示 すように、更新対象の領域 51で分割 ·排他処理(11 · 33)が可能な場合や、図 23 (D )に示すように、重ね合わせのレイヤとして排他処理が可能な場合(11 · 33)があり、 その場合にはそれぞれの領域について図 23 (A)、 (B)の場合と同様の管理方法を 用いること力 Sでさる。
[0058] 以下においては、共通アプリケーションに対して新規アプリケーション管理部を追加 し、さらに新規アプリケーション(NEW— A、 NEW— B、 NEW— C)を追加した場合 の処理例について説明する。
[0059] 新規アプリケーションと共通アプリケーションの状態によって、以下の 3つの場合が 存在する。
[0060] a)新規アプリケーションが共通アプリケーションと単一プロセスとなる場合、
b)新規アプリケーションが共通アプリケーションと別プロセスとなる場合、
c)新規アプリケーションが共通アプリケーションと別プロセスとなり、かつ、新規アプリ ケーシヨン内でさらにリソース管理を行う場合、である。
[0061] 上記のそれぞれの場合における以下の処理について述べる
1)新規アプリケーションの起動
2)新規アプリケーションの終了
3)新規アプリケーション実行時の挙動
4)新規アプリケーション間の切替
尚、上記の組み合わせとして、
•共通アプリケーション上の新規アプリケーション、
•別プロセス上の新規アプリケーション、
•新規フレームワーク上の新規アプリケーション
のそれぞれの間の切替処理なども発生しうる力 それぞれ単体における処理に準ず るため説明を省略する。 [0062] 以下、より具体的な構成と処理について例を挙げて説明する。
実施例
[0063] [実施例 1]
実施例 1は、新規アプリケーションが共通アプリケーションと単一プロセスとなる構成 を有するケースのうちの第 1のケースである。図 4は、実施例 1によるモジュール構成 図であり、単一プロセスにおける拡張例を示す図である。図 1との相違点は、新規ァ プリケーシヨン NEW— B37が、従来アプリケーション 11 · 15と同じプロセス A3内に設 けられている点である。新規アプリケーション管理部 35は、新規アプリケーション NE W—A33及びNEW— B37を管理する。
[0064] 従来アプリケーションと新規アプリケーションの切り替えに応じて、従来アプリケーシ ヨン管理部 17と新規アプリケーション管理部 35とのいずれがリソースを管理するかが 切り替わる。
[0065] 図 4に示す単一プロセスのアプリケーション起動に関するシーケンス図を図 5に示 す。ユーザーからの新規アプリケーション NEW— Aの起動要求(501)をうけると、 従来アプリケーション管理部 17は、従来アプリケーション CURRENT— Al lに対し て終了要求を通知する(503)。従来アプリケーション CURRENT— Al lは、描画の 終了および作業用メモリの開放など、使用していたリソースの使用を中止し、新規ァ プリケーシヨン管理部 11の管理しているリソースについて、従来アプリケーション CU RRENT—A11の情報を削除し、当該リソースを未使用状態として更新する(505、 5 07)。以後、新規アプリケーションにおいて、グラフィックおよび作業用メモリなどのリソ ースを使用することが可能となる。
[0066] 従来アプリケーション CURRENT— Al lが処理の終了およびリソースの開放を行 うと、従来アプリケーション CURRENT— Al lは、従来アプリケーション管理部にァ プリケーシヨン終了応答を通知する(509)。
[0067] 従来アプリケーション管理部 17は、新規アプリケーション管理部 35に新規アプリケ ーシヨン NEW— A33起動要求を行う(511)。新規アプリケーション管理部 35は、従 来アプリケーション管理部 17からの新規アプリケーション起動要求(511)を受け、新 規アプリケーション NEW— A33に起動要求を行う(513)。 [0068] 新規アプリケーション NEW— A33は、新規アプリケーション管理部 35の管理して いるリソースについて、新規アプリケーション NEW— A33の情報を登録し、当該リソ ースを使用状態として更新する(515 · 517)。
[0069] 以後、新規アプリケーション NEW— A33は、作業用メモリを用いて通信、演算等の 処理を行い、 グラフィックプレーンへの描画を開始することが可能となる。
[0070] 新規アプリケーション NEW— A33の起動が完了すると、新規アプリケーション NE W—A33は、新規アプリケーション管理部 35に新規アプリケーション NEW— A起動 応答を送る(519)。新規アプリケーション管理部 35は、従来アプリケーション管理部 17に新規アプリケーション起動応答を送る(521)。
[0071] 次に、新規アプリケーションの実行(単一プロセス)処理について図 6を参照しなが ら説明を行う。図 6に示す処理では、リソースとして作業用のメモリ領域 (RAM)、ダラ フィックに着目し、ユーザーが何らかの操作を行った際に、新規アプリケーションが処 理、演算を行い、表示デバイスに何らかの情報が表示されるまでの処理の流れにつ いて説明する。
[0072] 図 6に示すように、ユーザーの操作により発生したユーザーイベント 601は、従来ァ プリケーシヨン管理部 17、新規アプリケーション管理部 35を経由し(603)、新規ァプ リケーシヨン NEW— A 33に通知される(605)。 新規アプリケーション NEW— Aは 、演算 607、描画準備 609を行い、ファームウェア(グラフィック) 31に対して描画要 求を行う(611)。ファームウェア 31は、処理が終了すると描画完了通知を行う。
[0073] 必要な処理分だけ描画処理を行い、ファームウェア 31より全ての描画完了通知が 通知されると(613)、新規アプリケーション NEW— A33は、画面更新準備(615)を 行い、ファームウェア 31に対して画面更新要求を行う(617)。ファームウェア 31は、 処理が終了したら画面更新完了通知を行う(619)。以上の処理により、ユーザーの 操作によって(必要であれば何らかの更新がなされた)画面が表示される。
[0074] 次に、図 7を参照しながら、新規アプリケーションの終了(単一プロセス)について説 明を行う。図 7に示すように、ユーザーからの新規アプリケーション NEW— A33の終 了要求を受けると(701)、従来アプリケーション管理部 17は、新規アプリケーション 管理部 35に対してアプリケーション終了要求(703)を行う。 [0075] ここで、アプリケーション終了要求(701 · 703 · 705)には以下のような形態がある。
[0076] a)従来アプリケーション管理部 17において「終了要求」と認識できるもの、
b)新規アプリケーション管理部 35において、初めて「終了要求」と認識できるもの、 c)新規アプリケーション 33において初めて、「終了要求」と認識できるもの である。
[0077] 例えば、電源キーなどは、 (a)のように機器で共通の終了要求となるが、アプリケー シヨン終了キーのようなものがある場合には(b)に該当する。また、アプリケーション上 のメニューで設定される終了コマンドは(c)に該当する。 (その場合には、従来アプリ ケーシヨン管理部 17、新規アプリケーション管理部 35にとつて、アプリケーション終了 要求 701、 703は、単なるイベント(キーコード) となるが、いずれも同様の処理となる
[0078] すなわち、新規アプリケーション 33は、従来アプリケーション 11からのアプリケーシ ヨン終了要求を受けた状態となり、 707以降のアプリケーション終了処理を行う。新規 アプリケーション管理部 35から新規アプリケーション NEW— A33にアプリケーション 終了要求 705が通知され、アプリケーション終了処理を開始すると、新規アプリケー シヨン NEW— A33は、描画の終了および作業用メモリの開放など、使用していたリソ ースの使用を中止し、新規アプリケーション管理部 35の管理しているリソースについ て、新規アプリケーション NEW— A33の情報を削除し、当該リソースを未使用状態と して更新する(707 · 709)。
[0079] 以後、従来アプリケーション 11において、グラフィックおよび作業用メモリなどのリソ ースを使用することが可能となる。新規アプリケーション NEW— A33が処理の終了 およびリソースの開放を行うと、新規アプリケーション NEW— A33は、新規アプリケ ーシヨン管理部 35にアプリケーション終了応答を通知する(711)。新規アプリケーシ ヨン管理部 35は、従来アプリケーション管理部 11に対してアプリケーション終了通知 を行う(713)。
[0080] 次に、新規アプリケーションが自発的終了する異常系の処理について図 8を参照し ながら説明を行う。新規アプリケーション 33において異常が発生した場合など、ユー ザ一の意思と関係なく新規アプリケーションを終了させる場合がある。 [0081] このような自発的終了発生事由が生じると、新規アプリケーション NEW— A33は、 新規アプリケーション管理部 35に対してアプリケーション終了要求発行要請を行い( 801)、新規アプリケーション管理部 35は、従来アプリケーション管理部 17に対して アプリケーション終了要求発行要請 803を行う。以後、通常の新規アプリケーション 終了処理と同様に終了処理が行われる(703〜715)。
[0082] 次に、図 9を参照しながら、新規アプリケーションの切替(単一プロセス)処理につい て説明を行う。まず、ユーザーからのアプリケーション切替要求 901を受けると、従来 アプリケーション管理部 17は、新規アプリケーション管理部 35に対してアプリケーショ ン切替要求 903を行う。ここで、アプリケーション切替要求(901 · 903 · 905)には以 下のような形態がある。
[0083] a)従来アプリケーション管理部にて「切替要求」と認識できるもの、
b)新規アプリケーション管理部にて、初めて「切替要求」と認識できるもの、 c)新規アプリケーションにて、初めて「切替要求」と認識できるもの
である。
[0084] 例えば、 EPG起動(表示)キーなどは、(a)のように機器において共通の切替要求 となるが、 アプリケーション切替キーのようなものがある場合には(b)となる。また、ァ プリケーシヨン上のメニューで設定される切替コマンドは (c)となり、その場合には、従 来アプリケーション管理部 17、新規アプリケーション管理部 35にとつて、アプリケーシ ヨン切替要求 901 · 903は単なるイベント(キーコード)となる力 S、 V、ずれも同様の処理 となる。すなわち、新規アプリケーション 33は、従来アプリケーション 11からのアプリケ ーシヨン切替要求を受けた状態となり、 905以降のアプリケーション終了処理を行う。
[0085] 新規アプリケーション管理部 35は、新規アプリケーション NEW— A33にアプリケー シヨン終了要求 905を行う。新規アプリケーション NEW— A33は、描画の終了およ び作業用メモリの開放など、使用していたリソースの使用を中止し、新規アプリケーシ ヨン管理部 35の管理しているリソースについて、新規アプリケーション NEW— A33の 情報を削除し、当該リソースを未使用状態として更新する(907 · 909)。
[0086] 新規アプリケーション NEW— Α33が処理の終了およびリソースの開放を行うと、新 規アプリケーション NEW— A33は、新規アプリケーション管理部 35に対してアプリケ ーシヨン終了応答を通知する(911)。
[0087] 新規アプリケーション管理部 35は、新規アプリケーション NEW— B37に起動要求 を行う(913)。新規アプリケーション NEW— B37は、新規アプリケーション管理部 35 の管理しているリソースについて、新規アプリケーション NEW— B37の情報を登録し 、当該リソースを使用状態として更新する(915 · 917)。
[0088] 新規アプリケーション NEW— Β37の起動が完了すると、新規アプリケーション NE W— B37は、新規アプリケーション管理部 35に対して新規アプリケーション NEW— B37の起動応答を送る(919)。新規アプリケーション管理部 35は、従来アプリケーシ ヨン管理部 17に対して新規アプリケーション起動通知を送る(921)。従来アプリケー シヨン管理部 17は、ユーザーに対して映像 ·音声を提示する(923)。
[0089] [実施例 2]
実施例 2は、単一プロセスにおいて、新規アプリケーション間で切替前後のアプリケ ーシヨンに連携動作を行う場合である。この場合について、シーケンス図に沿って説 明を行う。図 10は、単一プロセスにおける新規アプリケーション切り替えのシーケンス 図である。図 10に示すように、ユーザーからのアプリケーション切替要求を受けると( 1001)、従来アプリケーション管理部 17は、新規アプリケーション管理部 35に対して アプリケーション切替要求 1003を行う。
[0090] 尚、新規アプリケーションの切替(単一プロセス)で述べたように、 アプリケーション 切替要求(1001 · 1003 · 1005)は、単なるイベント(キーコード) の場合がある。新規 アプリケーション管理部 35は、新規アプリケーション NEW— A33に対して、アプリケ ーシヨン切替要求 1005を行う。
[0091] 新規アプリケーション NEW— A33は、描画の終了および作業用メモリの開放など、 使用していたリソースの使用を中止し、 新規アプリケーション管理部 35の管理してい るリソースについて、新規アプリケーション NEW— A33の情報を削除し、当該リソー スを未使用状態として更新する(1007 · 1009)。
[0092] 新規アプリケーション NEW— Aが処理の終了およびリソースの開放を行うと、新規 アプリケーション NEW— A33は、新規アプリケーション管理部 35にアプリケーション 切替応答 1011を行う。新規アプリケーション管理部 35は、新規アプリケーション NE W— B37に対して起動要求 1013を行う。
[0093] 新規アプリケーション NEW— B37は、新規アプリケーション管理部 35の管理して いるリソースについて、新規アプリケーション NEW— B37の情報を登録し、当該リソ ースを使用状態として更新する(1015 · 1017)。
[0094] 新規アプリケーション NEW— B37の起動が完了すると、新規アプリケーション NE
W— B37は、新規アプリケーション管理部 35に新規アプリケーション NEW— B起動 応答 1019を送り、新規アプリケーション管理部 35はこれを受けて従来アプリケーショ ン管理部 17に新規アプリケーション起動通知 1021を送る。
[0095] 従来アプリケーション管理部 17は新規アプリケーション管理部 35からの新規アプリ ケーシヨン起動通知 1021を受けると、ユーザに対して、映像'音声を提示する(102
3)。
[0096] [実施例 3]
実施例 3は、新規アプリケーションが共通アプリケーションと別プロセスとなる場合で ある。図 11は、別プロセスにおける拡張例を示す電子機器の一構成例を示す機能ブ ロック図であり、図 1に対応する図である。図 1におけるプロセス Aに加えて、新規ァプ リケーシヨン NEW— B (37b)を有する別プロセス B (5b)と新規アプリケーション NEW C (37c)を有する別プロセス C (5c)と、を追加する例である。
[0097] この場合、通信部 43は、別プロセス B (5b)と別プロセス C (5c)との両方に共通に用 いること力 Sでさる。
[0098] 別プロセスの新規アプリケーション起動について図 12を参照しながら説明を行う。
ユーザーからの新規アプリケーション NEW— Bの起動要求 1201をうけると、従来ァ プリケーシヨン管理部 17は、従来アプリケーション CURRENT— Al lに対して終了 要求 1203を通知する。
[0099] 従来アプリケーション CURRENT— Al lは、描画の終了および作業用メモリの開 放など、使用していたリソースの使用を中止し、新規アプリケーション管理部 35の管 理して!/、るリソースにつ!/、て、従来アプリケーション CURRENT— Al 1の情報を削除 し、当該リソースを未使用状態として更新する(リソース開放要求 1205及びリソース 開放応答 1207)。以後、新規アプリケーションにおいて、グラフィックおよび作業用メ モリなどのリソースを使用することが可能となる。
[0100] 従来アプリケーション CURRENT— Al lが処理の終了およびリソースの開放を行 うと、従来アプリケーション CURRENT— Al lは、従来アプリケーション管理部 17に 対して、アプリケーション終了応答 1209を通知する。従来アプリケーション管理部 17 は、新規アプリケーション管理部 35に対して、新規アプリケーション NEW— B起動要 求 1211を行う。
[0101] 新規アプリケーション管理部 35は、従来アプリケーション管理部 17からの新規アブ リケーシヨン起動要求 1211を受け、リソースを取得し(1213)、リソース情報を付加し て新規アプリケーション NEW— B (37b)に起動要求を行う(1215)。
[0102] 新規アプリケーション NEW— B (37b)は、必要であればリソースの初期化を行う(12 17 * 1219)。
[0103] 以後、新規アプリケーション NEW— B (37b)は、作業用メモリを用いて通信、演算 等の処理を行!/ \グラフィックプレーンへの描画を開始することが可能となる。
[0104] 新規アプリケーション NEW— B (37b)の起動が完了すると、新規アプリケーション NEW-B (37b)は、新規アプリケーション管理部 35に対して新規アプリケーション N EW-B起動応答 1221を送る。これを受け、新規アプリケーション管理部 35は、従来 アプリケーション管理部 17に対して新規アプリケーション起動応答 1223を送る。
[0105] 次に、別プロセスの新規アプリケーションの処理実行について図 13を参照しながら 説明を行う。ここでは、リソースとして作業用のメモリ領域 (RAM)、グラフィックに着目 し、ユーザが何らかの操作を行った際に、新規アプリケーションが処理、演算を行い、 表示デバイスに何らかの情報が表示されるまでの処理について説明する。
[0106] ユーザーの操作により発生したユーザーイベント 1301は、従来アプリケーション管 理部 17、新規アプリケーション管理部 35を経由し、新規アプリケーション NEW— B ( 37b)に通知される(1303 · 1305)。新規アプリケーション NEW— B (37b)は、演算 1 307、描画準備 1309を行い、新規アプリケーション管理部 35に対して描画要求 131 1を行う。新規アプリケーション管理部 35は、描画要求を排他制御のされているファ ームウェア 31の APIに変換し(1313)、ファームウェアに通知する(1315)。
[0107] ファームウェア 31は、処理が終了すると描画完了通知 1317を行い、描画完了通知 は新規アプリケーション管理部 35において変換されて(1319)、新規アプリケーショ ン NEW— B (37b)に通知される(1321)。
[0108] ここで、必要な処理だけ描画処理を行い、ファームウェア 31より全ての描画完了通 知が通知されると(1321)、新規アプリケーション NEW— B (37b)は、画面更新準備 1323を行い、新規アプリケーション管理部 35に対して画面更新要求 1325を行う。 新規アプリケーション管理部 35は、画面更新要求を排他制御されて!/、るファームゥェ ァ 31の APIに変換し(1327)、ファームウェアに通知する(1329)。
[0109] ファームウェア 31は、処理が終了すると画面更新完了通知 1331を行い、画面更新 完了通知は新規アプリケーション管理部 35を経由して (変換 1333)、新規アプリケー シヨン NEW— B (37b)に通知される(1335)。このようにして、ユーザーの操作によつ て(必要であれば何らかの更新された)画面が表示される。
[0110] 図 14は、別プロセスの新規アプリケーションが終了する場合のシーケンス図である 。ユーザーからの新規アプリケーション NEW— B (37b)の終了要求 1401を受けると 、 従来アプリケーション管理部 17は、新規アプリケーション管理部 35に対して、アブ リケーシヨン終了要求 1403を行う。
[0111] ここで、単一プロセスの新規アプリケーション終了で述べたように、アプリケーション 終了要求 1401 · 1403 · 1405は、単なるイベント(キーコード)の場合がある。
[0112] 新規アプリケーション管理部 35は、従来アプリケーションからのアプリケーション終 了要求を受けて、新規アプリケーション NEW— B (37b)に対してアプリケーション終 了要求 1405を行う。
[0113] 新規アプリケーション NEW— B (37b)は、描画の終了および作業用メモリの開放な ど、使用していたリソースの使用を中止し、新規アプリケーション管理部 35に対してァ プリケーシヨン終了応答 1407を通知する。新規アプリケーション管理部 35は、 新規 アプリケーション管理部 35の管理しているリソースについて、新規アプリケーション N EW— B (37b)の情報を削除し、当該リソースを未使用状態として更新する(リソース 開放 1409)。以後、従来アプリケーションにおいて、グラフィックおよび作業用メモリ などのリソースを使用することが可能となる。
[0114] 新規アプリケーション管理部 35がリソースの開放 1409を行うと、新規アプリケーショ ン管理部 35は、従来アプリケーション管理部 17に対してアプリケーション終了通知 1 411を行い、従来アプリケーション管理部 17は、映像'音声をユーザーに提示する( 1413)。
[0115] 次に、図 15を参照しながら、別プロセスの新規アプリケーション自発的終了(異常 系)について説明を行う。新規アプリケーションにおいて異常が発生した場合など、ュ 一ザ一の意思と関係なく新規アプリケーションを終了させる場合がある。
[0116] 自発的終了発生事由が生じると、例えば、新規アプリケーション NEW— B (37b)は 、新規アプリケーション管理部 35に対してアプリケーション終了要求発行要請 1501 を行い、新規アプリケーション管理部 35は、従来アプリケーション管理部 17に対して アプリケーション終了要求発行要請 1503を行う。以後、通常の新規アプリケーション 終了処理と同様に終了処理が行われる(1403〜1413)。
[0117] 次に、別プロセスの新規アプリケーション切替について図 16を参照しながら説明を 行う。まず、ユーザーからのアプリケーション切替要求 1601を受けると、従来アプリケ ーシヨン管理部 17は、新規アプリケーション管理部 35に対してアプリケーション切替 要求 1603を行う。ここで、 単一プロセスの新規アプリケーション切替で述べたように 、アプリケーション切替要求(1601 · 1603 · 1605)は単なるイベント(キーコード) の 場合がある。
[0118] 新規アプリケーション管理部 35は、新規アプリケーション NEW— C (37c)に対して アプリケーション終了要求 1605を行う。新規アプリケーション NEW— C (37c)は、描 画の終了および作業用メモリの開放など、使用していたリソースの使用を中止し、新 規アプリケーション管理部 35に対してアプリケーション終了応答 1607を通知する。 新規アプリケーション管理部 35は新規アプリケーション NEW— C (37c)からのアプリ ケーシヨン終了応答を受け、新規アプリケーション管理部 35の管理しているリソース について、新規アプリケーション NEW— C (37c)の情報を削除し、当該リソースを未 使用状態として更新する(リソースの開放 1609)。
[0119] その後、新規アプリケーション NEW— B (37b)の情報を登録し、当該リソースを使 用状態として更新し (リソースの登録 1611)、新規アプリケーション NEW— B (37b) に対して起動要求 1613を行う。新規アプリケーション NEW— B (37b)の起動が完了 すると(1615 · 1617)、新規アプリケーション NEW— B (37b)は、新規アプリケーショ ン管理部 35に対して新規アプリケーション NEW— B (37b)起動応答 1619を送る。 新規アプリケーション管理部 35は、従来アプリケーション管理部 17に対して新規アブ リケーシヨン起動通知 1621を送る。従来アプリケーション管理部 17は、ユーザーに 映像 ·音声を提供する(1623)。
[0120] [実施例 4]
次に、新規アプリケーションが共通アプリケーションと別プロセスとなる場合であって 、かつ、新規アプリケーション内でさらにリソース管理を行う場合について説明する。 図 17は、本実施例による電子機器の一構成例を示す機能ブロック図である。図 17に 示すように、プロセス A3とは別のプロセス B5に新規アプリケーションフレームワーク 3 9が設けられ、この新規アプリケーションフレームワーク 39が、新規アプリケーション管 理部 35と接続されるとともに、新規アプリケーション NEW— B (37b)、新規アプリケ ーシヨン NEW— C (37c)と接続されて!/、る構成を有して!/、る。
[0121] 上記構成においては、以下のように動作が行われる。図 18を参照しながら、新規ァ プリケーシヨンフレームワークにおける新規アプリケーションの起動について説明を行 5。
[0122] ユーザーからの新規アプリケーション NEW— B (37b)の起動要求 1801をうけると、 従来アプリケーション管理部 17は、従来アプリケーション CURRENT— Al lに対し て終了要求 1803を通知する。
[0123] 従来アプリケーション CURRENT— Al lは、描画の終了および作業用メモリの開 放など、使用していたリソースの使用を中止し、新規アプリケーション管理部 35の管 理して!/、るリソースにつ!/、て、従来アプリケーション CURRENT— Al 1の情報を削除 し、当該リソースを未使用状態として更新する(1805 · 1807)。以後、新規アプリケー シヨンにぉレ、て、グラフィックおよび作業用メモリなどのリソースを使用することが可能 となる。
[0124] 従来アプリケーション CURRENT— Al lが処理の終了およびリソースの開放を行 うと、従来アプリケーション CURRENT— Al lは、従来アプリケーション管理部 17に 対してアプリケーション終了応答 1809を通知する。従来アプリケーション管理部 17 は、新規アプリケーション管理部 35に対して新規アプリケーション NEW— B (37b)の 起動要求 1811を行う。
[0125] 新規アプリケーション管理部 35は、従来アプリケーション管理部 17からの新規ァプ リケーシヨン起動要求 1811を受け、リソースを取得し(1813)、リソース情報を付加し て新規アプリケーションフレームワーク 39に対して起動要求 1815を行う。
[0126] 新規アプリケーションフレームワーク 39は、必要であればリソースの初期化を行い( 1817 · 1819)、新規アプリケーション NEW— B (37b)に起動要求 1821を行う。
[0127] 以後、新規アプリケーション NEW— B (37b)は、作業用メモリを用いて通信、演算 等の処理を行!/ \グラフィックプレーンへの描画を開始することが可能となる。
[0128] 新規アプリケーション NEW— B (37b)の起動が完了すると、新規アプリケーション NEW— B (37b)は、新規アプリケーションフレームワーク 39に対して、新規アプリケ ーシヨン NEW— B (37b)の起動応答 1823を送る。新規アプリケーションフレームヮ ークは、新規アプリケーション管理部 35に対して新規アプリケーション起動応答 182 5を送る。新規アプリケーション管理部 35は、従来アプリケーション管理部 17に対し て新規アプリケーション起動応答 1827を送る。
[0129] これにより、新規アプリケーションを起動させることができる。
[0130] 次に、図 19を参照しながら、新規アプリケーションフレームワークにおける新規ァプ リケーシヨンの実行処理について説明を行う。ここでは、リソースとして作業用のメモリ 領域 (RAM)、グラフィックに着目し、ユーザーが何らかの操作を行った際に、新規ァ プリケーシヨンが処理、演算を行い、表示デバイスに何らかの情報が表示されるまで の処理について説明する。
[0131] ユーザーの操作により発生したユーザーイベント 1901は、従来アプリケーション管 理部 17、新規アプリケーション管理部 35、新規アプリケーションフレームワーク 39を 経由し(1903 · 1905)、新規アプリケーション NEW— B (37b)に通知される(1907) 。新規アプリケーション NEW— B (37b)は、演算 1909、描画準備 1911を行い、新 規アプリケーションフレームワーク 39経由で、新規アプリケーション管理部 35に対し て描画要求を行う(1913 · 1915)。
[0132] 新規アプリケーション管理部 35は、描画要求 1915を排他制御のされているファー ムウェアの APIに変換し(1917)ファームウェア 31に通知する(1919)。
[0133] ファームウェア 31は、処理が終了すると描画完了通知 1921を行い、描画完了通知
1921は新規アプリケーション管理部 35 (ここで変換 1923が行われる)、新規アプリ ケーシヨンフレームワーク 39を経由して(1925)、新規アプリケーション NEW— B37 bに通知される(1927)。必要な処理だけ描画処理を行い、ファームウェア 31より全て の描画完了通知が通知されると、新規アプリケーション NEW— B (37b)は、 画面更 新準備 1929を行い、新規アプリケーションフレームワーク 39経由で新規アプリケー シヨン管理部 35に対して画面更新要求を行う(1931 · 1933)。
[0134] 新規アプリケーション管理部 35は、 画面更新要求 1933を排他制御のされている ファームウェアの APIに変換し(1935)、ファームウェア 31に通知する(1937)。
[0135] ファームウェア 31は、処理が終了すると画面更新完了通知 1939を行い、 画面更 新完了通知は新規アプリケーション管理部 35 (ここで変換 1941が行われる)、新規 アプリケーションフレームワーク 39を経由して(1943)、新規アプリケーション NEW— B (37b)に通知される(1945)。以上の処理により、ユーザーの操作によって(必要で あれば何らかの更新された)画面が表示される。
[0136] 次に、図 20を参照しながら、新規アプリケーションフレームワークにおける新規ァプ リケーシヨンの終了について説明を行う。まず、ユーザーからの新規アプリケーション NEW— B (37b)の終了要求 2001を受けると、従来アプリケーション管理部 17は、 新規アプリケーション管理部 35にアプリケーション終了要求 2003を行う。
[0137] 尚、単一プロセスの新規アプリケーション終了でも述べたように、アプリケーション終 了要求(2001 · 2003 · 2005)は単なるイベント(キーコード)の場合がある。
[0138] 新規アプリケーション管理部 35は、従来アプリケーション管理部 17からのアプリケ ーシヨン終了要求 2003を受けて、新規アプリケーションフレームワーク 39に対してァ プリケーシヨン終了要求 2005を行う。新規アプリケーションフレームワーク 39は、新 規アプリケーション NEW— B (37b)に対してアプリケーション終了要求 2007を行う。
[0139] 新規アプリケーション NEW— B (37b)は、描画の終了および作業用メモリの開放な ど、使用していたリソースの使用を中止し、新規アプリケーションフレームワーク 39に 対してアプリケーション終了応答を通知する(2009)。新規アプリケーションフレーム ワーク 39は、新規アプリケーション管理部 35に対してアプリケーション終了応答 201 1を通知する。
[0140] 新規アプリケーション管理部 35は、新規アプリケーション管理部 35の管理している リソースについて、新規アプリケーションフレームワーク 39の情報を削除し、当該リソ ースを未使用状態として更新する(2013)。以後従来アプリケーションにおいて、ダラ フィックおよび作業用メモリなどのリソースを使用することが可能となる。
[0141] 新規アプリケーション管理部 35がリソースの開放 2013を行うと、新規アプリケーショ ン管理部 35は、従来アプリケーション管理部 17に対してアプリケーション終了通知 2 015を行う。これにより、映像 ·音声をユーザーに対して提示することができる(2017)
[0142] 次に、図 21を参照しながら、新規アプリケーションフレームワークにおける新規ァプ リケーシヨン自発的終了 (異常系)処理につ!/、て説明を行う。新規アプリケーションに おいて異常が発生した場合など、ユーザーの意思と関係なく新規アプリケーションを 終了させる場合がある。 自発的終了発生事由が生じると、新規アプリケーション NEW -B (37b)は、新規アプリケーションフレームワーク 39経由で新規アプリケーション管 理部 35に対してアプリケーション終了要求発行要請 2101 · 2103を行い、新規アプリ ケーシヨン管理部 35は、従来アプリケーション管理部 17に対してアプリケーション終 了要求発行要請 2105を行う。以後、通常の新規アプリケーション終了処理と同様に 終了処理が行われる(2003〜2017)。
[0143] 次に、図 22を参照しながら、新規アプリケーションフレームワークにおける新規ァプ リケーシヨンの切替処理について説明を行う。ユーザーからのアプリケーション切替 要求 2201を受けると、従来アプリケーション管理部 17は、新規アプリケーション管理 部 35に対してアプリケーション切替要求 2203を行う。ここで、単一プロセスの新規ァ プリケーシヨン切替で述べたように、アプリケーション切替要求(2201 · 2203 · 2205 · 2207)は単なるイベント (キーコード)の場合がある。
[0144] 新規アプリケーション管理部 35は、新規アプリケーションフレームワーク 39に対して アプリケーション切替要求 2205を行う。新規アプリケーションフレームワーク 39は、新 規アプリケーション NEW— B (37b)に対してアプリケーション終了要求 2207を行う。 [0145] 新規アプリケーション NEW— B (37b)は、描画の終了および作業用メモリの開放な ど使用していたリソースの使用を中止し、新規アプリケーションフレームワーク 39に対 してアプリケーション終了応答 2209を通知する。
[0146] 新規アプリケーションフレームワーク 39は、必要であればリソースの初期化を行い(
2211 · 2213)、新規アプリケーション NEW— C (37c)に対してアプリケーション起動 要求 2215を行う。新規アプリケーション NEW— C (37c)の起動が完了すると、新規 アプリケーション NEW— C (37c)は、新規アプリケーションフレームワーク 39経由で 新規アプリケーション管理部 35に対して新規アプリケーション NEW— C (37c)起動 応答を送る(2217 · 2219)。新規アプリケーション管理部 35は、従来アプリケーショ ン管理部 17に対して新規アプリケーション起動通知 2221を送る。従来アプリケーシ ヨン管理部 17は、ユーザーに対して、映像 ·音声を提示することができる(2223)。
[0147] 次に、上記本実施の形態による技術を具体的な機器に適用した例について図面を 参照しながら説明を行う。図 24は、本実施の形態をデジタルテレビジョン受信装置に 適用した場合の一構成例を示す図である。図 24に示す図は、図 1に示す基本構成 に加えて、デジタルテレビジョン受信装置 XIに関する主要構成を示した図である。図 1において説明した構成要素(図の右側の部分)に関しては、同じ符号を付してその 説明を省略する。
[0148] 図 24に示す構成は、図 1に加えて、アンテナ(3003)とチューナー(3004)とデコー ダ ·デスクランブラ(3005)と HDTV/SDTV'映像/音声表示装置(3006)とを有 している。
[0149] アンテナ(3003)にお!/、て受信された放送波はチューナー(3004)にお!/、て抽出さ れ、デコーダ.デスクランブラ(3005)において復調.復号. MPEG2DEMUX処理が 行われる。続いて映像復号 ·音声復号が行われ、 HDTV/SDTV'映像/音声 ·表 示装置(3006)にお!/、て映像 ·音声として視聴が可能となる。
[0150] 図 25は、上記本実施の形態による技術を具体的に適用した例のうち、記録再生装 置、例えば HDDレコーダ X2に適用した場合の構成図を示す図である。
[0151] アンテナ(3003)において受信された放送波は、チューナー(3004)において抽出さ れ、デコーダ.デスクランブラ(3005)において復調.復号. MPEG2DEMUX処理が 行われる。続いて映像復号 ·音声復号が行われ、
HDTV/SDTV*映像/音声 ·表示装置(3006)において、映像 ·音声として視聴が 可能となる。ユーザの操作によっては、 HDTV/SDTV.映像/音声.記録装置(30 07)において、 HDD/DVDなどの記録メディアに記録される。
[0152] 図 26は、上記本実施の形態による技術を具体的に適用した例のうち、携帯端末、例 えばワンセグ視聴機能つきの携帯電話機 X3に適用した場合の構成図を示す図であ る。アンテナ(3003)において受信された放送波は、チューナー(3004)において抽 出され、デコーダ 'デスクランブラ(3005)において復調'復号 'MPEG2DEMUX処 理が行われる。続いて映像復号 '音声復号が行われ、ワンセグ'映像/音声'表示装 置(3008)にお!/、て、映像 ·音声として視聴が可能となる。
[0153] 携帯電話機能に関する基地局との交信は、アンテナ(3010)およびベースバンド処 理部(3009)において行う。
[0154] 図 24から図 26までにおいて、従来アプリケーション管理部 17は、チューナー(3004 )の選局、デコーダ 'デスクランブラ(3005)の開始'停止、 HDTV/SDTV'映像/ 音声表示装置(3006)またはワンセグ '映像/音声 ·表示装置(3008)における明る さ調整 ·音量調整などについて UIメニューを通じて管理を行う。
[0155] ここで、従来アプリケーションを、 BML (データ放送: 3001)と EPG (電子番組表: 30 02)とした場合につ!/、て説明する。
[0156] 放送視聴時には BMLを表示している力 EPG起動時には従来アプリケーション管 理部(17)において BMLを非表示状態に設定し EPGの表示を行う。
[0157] この場合、グラフィック(31)と RAM (23)についてのリソース切り替えが発生すること となる。すなわち、 BMLはグラフィック(31)と RAM (23)を開放し、 EPGが新たにグ ラフィック(31)と RAM (23)の使用権を取得することで EPG画面が表示されることと なる力 この切り替えの処理は従来アプリケーション管理部(17)内で管理される。
[0158] この状態から、新規アプリケーション NEW— A(33)に切り替える場合、つまり単一プ ロセス A3内でアプリケーションを切り替える場合には、従来アプリケーション管理部( 17)と新規アプリケーション管理部(35)の間でリソース切り替えが発生する。
[0159] すなわち、従来アプリケーション管理部(17)は、 EPGが使用しているグラフィック(31 )と RAM (23)を開放し、それを新規アプリケーション管理部(35)に通知し、新規ァ プリケーシヨン管理部(35)が新規アプリケーション NEW— A(33)に対して新たにグ ラフィック(31)と RAM (23)の使用権を付与することで NEW— A(33)の画面が表示 されることとなる。
[0160] 次に、複数プロセス間でのアプリケーションを切り替える場合、つまり異なるプロセス であるプロセス B5の新規アプリケーション NEW— B (37)へ切り替える場合には、新 規アプリケーション NEW— A(33)と新規アプリケーション NEW— B (37)の異なるプ ロセス間で、グラフィック(31)と RAM (23)についてリソース切り替えが発生することと なる。
[0161] すなわち、 NEW—A(33)はグラフィック(31)とRAM (23)を開放し、新規アプリケー シヨン管理部(35)が NEW— B (37)に対して新たにグラフィック(31)と RAM (23)の 使用権を付与することで NEW— B (37)の画面が表示されることとなる。
[0162] 逆に、この状態から、プロセス A3の新規アプリケーション NEW— A (33)に切り替え る場合には、プロセス B5の新規アプリケーション NEW— B (37)がグラフィック(31)と RAM (23)を開放し、新規アプリケーション管理部(35)が NEW— A (33)に対して 新たにグラフィック(31)と RAM (23)の使用権を付与することで NEW— A (33)の画 面が表示されることとなる。
[0163] この複数プロセス間での切り替えの処理は新規アプリケーション管理部(35)内で管 理される。
[0164] 従来アプリケーション管理部(17)にとつては、新規アプリケーション NEW— A(33)、 NEW— B (37)のどちらがリソースを使用しているか管理する必要はないため新規ァ プリケーシヨン管理部(35)がリソースを使用し続けている状態を従来アプリケーション 管理部(17)に通知する必要はない。
[0165] この状態から、更に EPG (3002)へ切り替える場合には、新規アプリケーション管理 部(35)と従来アプリケーション管理部(17)の間で再びリソース切り替えが発生する。 すなわち、新規アプリケーション管理部(35)は新規アプリケーション NEW— A(33) が使用しているグラフィック(31)と RAM (23)を開放し、それを従来アプリケーション 管理部(17)に通知し、従来アプリケーション管理部(17)が EPG (3002)に対して新 たにグラフィック(31)と RAM (23)の使用権を付与することで EPG画面が表示される こととなる。
[0166] 以上の一連のアプリ一ケーシヨン切り替えで、新規アプリケーション管理部(35)は、 図 24〜図 26までのアンテナ(3003)やチューナ(3004)やデコーダ、デスクランブラ (3005)、図 24および 25の HDTV/SDTV.映像/音声.表示装置(3006)、図 25 の HDTV/SDTV.映像/音声.記録装置(3007)、図 26のワンセグ.映像/音声. 表示装置(3008)やベースバンド処理部(3009)およびアンテナ(3010)と!/、つた、 具体的な機器を構成するための装置を制御する必要はない。すなわち、機器を構成 するための装置に依存せずに制御が可能である。従って、本発明は、以上に示した 機器だけでなぐ同じ仕組みで動くシステムを利用した機器に広く適用できるもので ある。
[0167] 以上に説明したように、本発明の実施の形態による電子機器においては、新規ァ プリケーシヨン管理部(リソース管理機能)を追加することにより、既存の従来(共通)ァ プリケーシヨン管理部との間でリソース管理を行うとともに、新規アプリケーション間の リソース管理を行う。すなわち、既存アプリケーションと新規アプリケーションの間で 階層的なリソース管理を行うことで、既存の共通アプリケーション管理部で新規アプリ ケーシヨンの管理も行う場合に比べて、管理項目が減少するため電子機器の動作に 関する安定性が高まるとレ、う利点がある。
[0168] また、モジュールの分割により機器において提供する機能を新規アプリケーション 部、共通アプリケーション部、システム部に分割し、商品カテゴリに応じて必須な機能 の実現を担うハードウェアに関する制御については、共通アプリケーション部(従来ァ プリケーシヨン管理部)において行うことで、技術の発展、コストダウン要求により変更 頻度の激しレ、ノ、一ドウエアにっレ、て、機能の追加 ·変更時の影響からシステム部を切 り離し、安定度を高める。
[0169] すなわち、商品の付加価値に対して影響のある新機能追加時の影響から、商品力 テゴリに必須となる共通機能を切り離し、安定度を高めることができるという利点があ
[0170] また、本発明の実施の形態による電子機器においては、新規アプリケーション管理 部、さらに新規アプリケーションフレームワークの追加を行うことにより、共通アプリケ ーシヨン以外の他プロセスからのリソース利用、ハードウェア制御が可能となるという 利点がある。
[0171] そのことにより、モジュールの分割が可能となり、機器において提供する機能を新規 アプリケーション部、共通アプリケーション部、システム部に分割し、商品を特徴付け る機能に応じて必須な機能の実現を担うハードウェアに関する制御については、共 通アプリケーション部(従来アプリケーション管理部)において行うことで、技術の発展 、コストダウン要求により変更頻度の激しいハードウェアについて、機能の追加'変更 時の影響からシステム部を切り離し、安定度を高める。
[0172] すなわち、商品の付加価値に対して影響のある新機能追加時の影響から、商品を 特徴付けるのに必須となる共通機能を切り離し、安定度を高めることができるという利 点、かある。
産業上の利用可能性
[0173] 本発明は、電子機器に利用可能である。

Claims

請求の範囲
[1] 複数のアプリケーションを動作可能なオペレーティングシステム部を備えた電子機器 において、
前記電子機器の 1つ以上の機能を管理するアプリケーションであるアプリケーション 管理部と、
新規に付加される機能を管理し前記アプリケーション管理部とリソースに関する情報 を共有するアプリケーションである第一の新規アプリケーション管理部と
を備えたことを特徴とする電子機器。
[2] 前記アプリケーション管理部と前記第一の新規アプリケーション管理部とが同一のプ 口セスに含まれることを特徴とする請求項 1に記載の電子機器。
[3] さらに新規に付加される機能を実現するためのアプリケーションである新規アプリケ ーシヨン部を管理し、
前記第一の新規アプリケーション管理部とリソースに関する情報を共有するアプリケ ーシヨンである第二の新規アプリケーション管理部を備えることを特徴とする請求項 1 または 2に記載の電子機器
[4] 前記第一の新規アプリケーション管理部は、
実行したい処理内容と、処理に必要なパラメータと、を用いて、他のプロセスの代理と してハードウェア制御を行う代理管理機能を備えることを特徴とする請求項 1から 3ま でのいずれ力、 1項に記載の電子機器。
[5] 前記第一の新規アプリケーション管理部は、
あるハードウェアへのアクセスが同時に発生しないように排他制御を行う排他制御部 を備えることを特徴とする請求項 1から 4までのいずれ力、 1項に記載の電子機器。
[6] 前記第一の新規アプリケーション管理部は、
前記ハードウェアのリソース管理を行うリソース管理部を備えることを特徴とする請求 項 1から 5までのいずれか 1項に記載の電子機器。
[7] 前記第一の新規アプリケーション管理部は、
前記自プロセス用の APIと他プロセス (第二の新規アプリケーション)用の APIとの相互 変換を行う AH変換部を備えることを特徴とする請求項 1から 6までのいずれか 1項に 記載の電子機器。
[8] 前記第一の新規アプリケーション管理部は、
仮想アドレスと物理アドレスを変換するために必要な情報を他プロセス (第二の新規 アプリケーション)に通知するアドレス変換用情報通知機能を備えることを特徴とする 請求項 1から 7までのいずれ力、 1項に記載の電子機器。
[9] 前記第二の新規アプリケーション管理部は、
自身の管理する新規アプリケーションがあるハードウェアへのアクセスを同時に実行 しないように排他制御を行う排他制御部を備えることを特徴とする請求項 3から 8まで のいずれ力、 1項に記載の電子機器。
[10] 前記代理管理機能は、
他のプロセスとの間で通信を行う対他プロセス通信部と、前記 API変換部と、前記リソ ース管理部と、を備えることを特徴とする請求項 4から 9までのいずれ力、 1項に記載の 電子機器。
[11] 前記アプリケーション管理部は、
リソースの管理に関して前記第一の新規アプリケーション管理部を自身よりも下位の 階層として极うことを特徴とする請求項 1に記載の電子機器
[12] 前記アプリケーション管理部は、
リソースの管理に関して前記第一の新規アプリケーション管理部における新規アプリ ケーシヨンの追加を前記第一の新規アプリケーション管理部の追加のみとみなすよう に管理を行うことを特徴とする
請求項 1または 11に記載の電子機器。
[13] 前記アプリケーション管理部と、前記第一の新規アプリケーション管理部と、 、同一 のプロセスに含まれることを特徴とする請求項 1または請求項 11から 12までのいずれ 力、 1項に記載の電子機器。
[14] さらに、新規に付加される機能を実現するためのアプリケーションである新規アプリケ ーシヨン部を管理し、前記第一の新規アプリケーション管理部とリソースに関する情報 を共有するアプリケーションである第二の新規アプリケーション管理部を備えることを 特徴とする請求項 1または請求項 11から 13までのいずれ力、 1項に記載の電子機器。
[15] 前記第一の新規アプリケーション管理部は、
前記アプリケーション管理部との間でリソース管理を行うと共に前記第二の新規アブ リケーシヨン管理部との間におけるリソース管理を行うことを特徴とする請求項 14に記 載の電子機器。
[16] 前記第二の新規アプリケーション管理部は、
前記第一の新規アプリケーション管理部との間でリソース管理を行うと共に前記新規 アプリケーションとの間におけるリソース管理を行うことを特徴とする請求項 1または請 求項 11から 15までのいずれか 1項に記載の電子機器。
[17] 前記第一の新規アプリケーション管理部は、
あるハードウェアに対する制御が同時に発生しないように排他制御を行う排他制御部 を備えることを特徴とする請求項 14から 16までのいずれ力、 1項に記載の電子機器。
PCT/JP2007/066719 2006-08-31 2007-08-29 Dispositif électronique WO2008026618A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US12/439,469 US20090265723A1 (en) 2006-08-31 2007-08-29 Electronic device and control method of the same

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2006-235104 2006-08-31
JP2006235304A JP2008059269A (ja) 2006-08-31 2006-08-31 電子機器及びその制御方法
JP2006235104A JP2008059252A (ja) 2006-08-31 2006-08-31 電子機器及びその制御方法
JP2006-235304 2006-08-31

Publications (1)

Publication Number Publication Date
WO2008026618A1 true WO2008026618A1 (fr) 2008-03-06

Family

ID=39135900

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2007/066719 WO2008026618A1 (fr) 2006-08-31 2007-08-29 Dispositif électronique

Country Status (2)

Country Link
US (1) US20090265723A1 (ja)
WO (1) WO2008026618A1 (ja)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5904018B2 (ja) * 2012-06-01 2016-04-13 ソニー株式会社 情報処理装置、情報処理方法、並びにプログラム
JP5939180B2 (ja) * 2013-03-15 2016-06-22 ブラザー工業株式会社 情報処理装置、中継サーバ、情報中継方法、情報中継プログラム及び通信システム
US10078361B2 (en) 2014-10-08 2018-09-18 Apple Inc. Methods and apparatus for running and booting an inter-processor communication link between independently operable processors
US10572247B2 (en) * 2016-06-01 2020-02-25 Dell Products L.P. Prototype management system
US11792307B2 (en) 2018-03-28 2023-10-17 Apple Inc. Methods and apparatus for single entity buffer pool management
US10846224B2 (en) 2018-08-24 2020-11-24 Apple Inc. Methods and apparatus for control of a jointly shared memory-mapped region
US11477123B2 (en) 2019-09-26 2022-10-18 Apple Inc. Methods and apparatus for low latency operation in user space networking
US11558348B2 (en) 2019-09-26 2023-01-17 Apple Inc. Methods and apparatus for emerging use case support in user space networking
US11829303B2 (en) 2019-09-26 2023-11-28 Apple Inc. Methods and apparatus for device driver operation in non-kernel space
US11606302B2 (en) 2020-06-12 2023-03-14 Apple Inc. Methods and apparatus for flow-based batching and processing
US11775359B2 (en) 2020-09-11 2023-10-03 Apple Inc. Methods and apparatuses for cross-layer processing
US11954540B2 (en) 2020-09-14 2024-04-09 Apple Inc. Methods and apparatus for thread-level execution in non-kernel space
US11799986B2 (en) 2020-09-22 2023-10-24 Apple Inc. Methods and apparatus for thread level execution in non-kernel space
US11876719B2 (en) 2021-07-26 2024-01-16 Apple Inc. Systems and methods for managing transmission control protocol (TCP) acknowledgements
US11882051B2 (en) 2021-07-26 2024-01-23 Apple Inc. Systems and methods for managing transmission control protocol (TCP) acknowledgements

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003330732A (ja) * 2002-05-17 2003-11-21 Canon Inc 画像形成装置、制御方法、制御プログラム

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6519594B1 (en) * 1998-11-14 2003-02-11 Sony Electronics, Inc. Computer-implemented sharing of java classes for increased memory efficiency and communication method
FR2873466A1 (fr) * 2004-07-21 2006-01-27 St Microelectronics Sa Procede de programmation d'un controleur de dma dans un systeme sur puce et systeme sur puce associe
US7810105B2 (en) * 2004-12-29 2010-10-05 Motorola, Inc. Method and apparatus for running different types of applications on a wireless mobile device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003330732A (ja) * 2002-05-17 2003-11-21 Canon Inc 画像形成装置、制御方法、制御プログラム

Also Published As

Publication number Publication date
US20090265723A1 (en) 2009-10-22

Similar Documents

Publication Publication Date Title
WO2008026618A1 (fr) Dispositif électronique
US6874145B1 (en) Methods and apparatus for implementing an application lifecycle design for applications
US8789105B2 (en) Methods and apparatus for delivering content from a television channel
AU781357B2 (en) Methods and apparatus for managing an application according to an application lifecycle
US8850511B2 (en) Program replacing method
CA2377486A1 (en) Running and testing applications
US20130145417A1 (en) Service executing apparatus
US8813084B2 (en) Broadcast receiving apparatus and scheduling method thereof
CN109803151B (zh) 多媒体数据流切换方法、装置、存储介质及电子装置
US10728486B2 (en) Smart television playing method and device
CN112165640B (zh) 一种显示设备
CN112188279A (zh) 一种频道切换方法和显示设备
JP4960175B2 (ja) デジタル放送受信機
CN111935510B (zh) 一种双浏览器应用加载方法及显示设备
US20050273786A1 (en) Applications manager with variable management instruction set
US20040189872A1 (en) Method of and apparatus for maintaining smooth video transition between distinct applications
CN112040309A (zh) 一种频道切换方法及显示设备
CN111885665A (zh) 一种无线网络连接控制方法及显示设备
JP2002513253A (ja) レシーバ/デコーダおよびビデオデータの処理方法
JP2015073322A (ja) デジタルテレビ用アプリケーション実行システム、デジタルテレビ用アプリケーション実行装置、および該システムの実装方法
JP2008059269A (ja) 電子機器及びその制御方法
KR100750141B1 (ko) 디지털 데이터 방송 수신기의 해상도 제어 방법, 장치 및그 디지털 데이터 방송 수신기
JP2008059252A (ja) 電子機器及びその制御方法
CN113971049A (zh) 一种后台服务管理方法及显示设备
JP2008210398A (ja) 電子機器及びその制御方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07806196

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 12439469

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

NENP Non-entry into the national phase

Ref country code: RU

122 Ep: pct application non-entry in european phase

Ref document number: 07806196

Country of ref document: EP

Kind code of ref document: A1