Disclosed are a modem sharing device of a PDA phone capable of efficiently sharing a modem by constructing one parsing module respectively attached to a plurality of applications of the PDA phone in order to parse commands of the plurality of applications, and a method thereof. The modem sharing device of a PDA phone comprises: a plurality of applications; one parsing module for parsing commands generated by the plurality of applications and distributing; a transmission module for transmitting the distributed commands through one port; and a modem for receiving the transmitted commands.
|
19. A modem sharing device for a phone comprising:
two or more applications;
single parsing module for parsing commands generated by the two or more applications, sequentially storing the parsed commands in a shared memory transmission buffer, and distributing the parsed commands;
a transmission module for transmitting the distributed commands through a single port; and
a modem for receiving commands.
1. A modem sharing device of a personal digital assistant (PDA) phone comprising:
a plurality of applications;
one parsing module for parsing commands generated by the plurality of applications, sequentially storing the parsed commands in a transmission buffer of a shared memory, and distributing the parsed commands;
a transmission module for transmitting the distributed commands through one port; and
a modem for receiving the transmitted commands.
24. A modem sharing method of a phone, the method comprising:
registering two or more applications to a modem for use through a single parsing module;
transmitting a request packet from each of the two or more applications to the modem through the single parsing module, each request packet requesting a corresponding response packet according to the request packet; and
each of the two or more applications receiving the response packet corresponding to the request packet through the single parsing module,
wherein the registering the two or more applications comprises the two or more applications generating commands, and the single parsing module parsing the generated commands and sequentially storing the parsed commands in a shared memory transmission buffer.
6. A modem sharing method of a personal digital assistant (PDA) phone comprising:
a registration step in which a plurality of applications register to a modem for use through one parsing module;
a request step in which each of the plurality of applications transmit a request packet to the modem through the one parsing module and request a corresponding response packet according to the transmitted request packet; and
a response step in which each of the plurality of applications receive the corresponding response packet according to the request packet through the one parsing module,
wherein the registration step comprises the plurality of applications generating commands, and the one parsing module parsing the generated commands and sequentially storing the parsed commands in a transmission buffer of a shared memory.
2. The device of
3. The device of
4. The device of
5. The device of
7. The method of
distributing the parsed commands;
transmitting the distributed commands to the modem through one port; and
the modem receiving the transmitted commands and reversely-parsing the commands.
8. The method of
each of the plurality of applications sequentially storing the request packet in the shared memory; and
the one parsing module parsing the stored request packets and then transmitting the parsed request packets to the modem.
9. The method of
10. The method of
11. The method of
12. The method of
the one parsing module sequentially storing the corresponding response packets in the shared memory; and
each of the plurality of applications reading the sequentially stored response packets.
13. The method of
14. The method of
15. The method of
16. The method of
17. The method of
18. The method of
20. The device of
21. The device of
22. The device of
23. The device of
25. The method of
distributing the parsed commands;
transmitting the distributed commands to the modem through the single port; and
the modem reversely-parsing the distributed commands.
26. The method of
each of the two or more applications sequentially storing the request packet in the shared memory; and
the single parsing module parsing the stored request packets and then transmitting the parsed request packets to the modem.
27. The method of
28. The method of
29. The method of
30. The method of
the single parsing module sequentially storing the corresponding response packets in the shared memory; and
each of the two or more applications reading the sequentially stored response packets.
31. The method of
32. The method of
33. The method of
34. The method of
35. The method of
36. The method of
|
Pursuant to 35 U.S.C. §119(a), this application claims the benefit of earlier filing date and right of priority to Korean Application No. 18113/2004, filed on Mar. 14, 2004, the contents of which are hereby incorporated by reference herein in their entirety.
1. Field of the Invention
The present invention relates to a PDA phone, and more particularly, to a model sharing device of a PDA phone and a method thereof.
2. Description of the Conventional Art
Generally, a PDA phone has one modem, and the modem of the PDA phone is channelized with a CPU of the PDA phone through one universal asynchronous receiver/transmitter (UART). A representative application of the modem includes a dialer and a browser. The two applications can respectively write or read a desired command in the modem by using one port. However, in an operating system such as a pocket personal computer (PC), one port can not be simultaneously used by plural applications thereby to use a virtual COM.
A modem sharing device of a PDA phone according to the conventional art will be explained with reference to
As shown in
The conventional modem sharing device of a PDA phone and a method thereof will be explained in more detail as follows.
The conventional modem sharing device of a PDA Phone used in a product, POZ produced by Cyber Bank uses an AT command protocol.
The browser 11 and the dialer 12 are applications of the PDA phone, and respectively generate commands.
The command parsers 11-1 and 12-1 respectively attached to the browser 11 and the dialer 12 parse a command to be transmitted by the browser 11 and a command to be transmitted by the dialer 12 by using an AT command protocol. The AT command parsers 11-1 and 12-1 transmit the parsed commands to the Slmip.dll module 13.
The Slmip.dll module 13 having a plurality of virtual ports SMP1˜SMP6 assigns a command to be transmitted by the parsed browser 11 to the SMP 1, and assigns a command to be transmitted by the parsed dialer 12 to the SMP 2. The commands assigned to the SMP 1 and the SMP 2 are transmitted to the modem through one port COM4 of the Serial.dll module 14.
The modem 15 reversely parses the transmitted commands by the AT command protocol method thereby to restore the original commands.
According to this, the plural applications 11 and 12 of the PDA phone can share one modem 15 by using the Slmip.dll module 13 and the Serial.dll module 14.
Hereinafter, the conventional modem sharing device of a PDA phone using a high-level data link control (HDLC) protocol not the AT command protocol will be explained with reference to
As shown in
Said another conventional modem sharing device of a PDA phone will be explained in more detail as follows.
The dialer 21, the camcorder 22, and the service menu 23 generate commands as applications of the PDA phone like the browser 11 and the dialer 12 of
The HDLC dispatchers 21-1, 22-1, and 23-1 perform the same functions as the AT command parsers 11-1 and 12-1 and the Slmip.dll module 13 of
The modem 25 reversely parses the commands transmitted through the port, COM 5 thereby to restore the generated commands.
Therefore, the plural applications of the PDA phone can share one modem by using the Slmip.dll module and the Serial.dll module.
However, in the conventional modem sharing device of a PDA phone, the same parsing module for parsing commands generated by the plural applications is respectively attached to the plural applications. According to this, a redundancy that occupies a memory is generated thereby not to share one modem efficiently.
Therefore, an object of the present invention is to provide a modem sharing device of a PDA phone capable of efficiently sharing a modem by constructing one parsing module respectively attached to a plurality of applications of the PDA phone in order to parse commands of the plurality of applications.
To achieve these and other advantages and in accordance with the purpose of the present invention, as embodied and broadly described herein, there is provided a modem sharing device of a PDA phone comprising: a plurality of applications; one parsing module for parsing commands generated by the plurality of applications and distributing the parsed commands; a transmission module for transmitting the distributed commands through one port; and a modem for receiving the transmitted commands.
To achieve these and other advantages and in accordance with the purpose of the present invention, as embodied and broadly described herein, there is also provided a modem sharing method of a PDA phone comprising: a registration step that a plurality of applications register to a modem for use through one parsing module; a request step that the plurality of applications transmit each request packet to the modem through one parsing module and request each response packet according to the transmitted request packet; and a response step that the plurality of applications receive each response packet according to the request packet through one parsing module.
The foregoing and other objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings.
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention.
In the drawings:
Reference will now be made in detail to the preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings.
Hereinafter, a modem sharing device of a PDA phone capable of efficiently sharing a modem by constructing one parsing module respectively attached to a plurality of applications of the PDA phone in order to parse commands of the plurality of applications, and preferred embodiments of a method thereof will be explained in more detail with reference to
As shown, the modem sharing device of a PDA phone according to the present invention comprises: a plurality of applications 31 to 33; one parsing module 34 for parsing commands generated by the plurality of applications and distributing the commands; a transmission module 35 for transmitting the distributed commands through one port; and a modem 36 for receiving the transmitted commands.
Hereinafter, an operation of the modem sharing device of a PDA phone according to the present invention will be explained in more detail with reference to
As shown, the modem sharing method of a PDA phone comprises: a registration step that a plurality of applications register to a modem for use through one parsing module (S41); a request step that the plurality of applications transmit each request packet to the modem through one parsing module and request each response packet according to the transmitted request packet (S42); and a response step that the plurality of applications receive each response packet according to the request packet through one parsing module (S43).
The modem sharing method of a PDA phone according to the present invention further comprises: a switching step for transmitting a report packet transmitted from the modem to a corresponding application; and a registration releasing step for stopping a modem usage of an application that does not require to use the modem any longer among the plurality of applications.
The modem sharing method of a PDA phone according to the present invention will be explained in more detail as follows.
First, the registration step will be explained with reference to
As shown, the registration step S41 is a step for registering each application to the modem for use. Even if the registration method can be implemented variously, a window message transmission method is used in the preferred embodiment of the present invention.
The registration step includes: generating commands by the plurality of applications; parsing the generated commands by the one parsing module; distributing the parsed commands and transmitting the distributed commands to the modem through one port; and receiving the transmitted commands by the modem and reversely-parsing the commands.
As shown in
Next, the request step and the response step will be explained with reference to
The request step S42 is a step that each application transmits a request packet to the modem in order to receive a necessary response. The request step includes: sequentially storing each request packet in a shared memory by the plurality of applications; and parsing the stored request packets and then transmitting the parsed request packets to the modem by the one parsing module.
The response step S43 is a step that each application receives a response packet according to the request packet from the modem. The response step includes: sequentially storing the response packets transmitted from the modem in a shared memory by the one parsing module; and reading the stored response packets by the plurality of applications.
The shared memory is respectively provided with 10 TX buffers and 10 RX buffers, each buffer having 1 Kb, and the plurality of applications 31 to 33 and the HDLC dispatcher 34 can commonly write packets in the TX buffers and the RX buffers of the shared memory and read packets. Preferably, the plurality of applications 31 to 33 and the HDLC dispatcher 34 write packets in the TX buffers and the RX buffers of the shared memory by a circular queue method. In order to prevent packets from being overwritten in the TX buffers and the RX buffers, 1˜10 packets are sequentially recorded in the ten buffers, and 11th packet is again recorded in the first buffer.
As shown in
The HDLC dispatcher 34 sequentially stores the response packets transmitted from the modem in the RX buffers of the shared memory. Then, the HDLC dispatcher 34 transmits a window message of “WM_DIAG_LGEXT_FIRST_WIN_DECODE_SEND_F’ to the dialer 31 in order to inform that the response packets have been stored in the RX buffers. The dialer 31 reads the response packets stored in the RX buffers on the basis of the window message transmitted to the dialer 31, thereby receiving a response according to the request packet (S43).
The request packets are packets for the applications of the PDA phone to receive each response from the modem. For example, as the request packet, the dialer rings a phone, the camcorder transmits a stored moving image file, and the service menu transmits modem setting values. Also, the response packets are packets informing each response of the modem for the request packets. For example, the response packets include “The calling has been successfully peformed”, “The moving image file has been successfully transmitted”, “The modem setting values have been successfully transmitted”, etc.
The HDLC dispatcher 34 preferably parses packets by an HDLC protocol.
However, the HDLC dispatcher 34 does not always receive the response packets according to the request packets of the plurality of applications. That is, even when the request packets are not transmitted to the modem, a packet can be transmitted from the modem to the HDLC dispatcher. At this time, the transmitted packet is called as a report packet. For example, the report packet includes a ring packet generated when a phone rings, etc. According to this, the HDLC dispatcher 34 needs to perform a step for transmitting the report packet to a corresponding application, that is, a switching step.
The switching step will be explained with reference to
The switching step is a step for transmitting a report packet transmitted from the modem to a corresponding application among the plurality of applications by an assignment.
As shown in
While the request step, the response step, and the switching step are repeated, if one of the plurality of applications is to stop a usage of the modem, the registration release step is performed.
The registration release step will be explained with reference to
As shown, the registration release step is similar to the registration step. An application that does not require to use the modem any longer among the plurality of applications transmits a registration release window message to the HDLC dispatcher 34. That is, the first registered application, that is, the dialer 31 transmits a window message, “WM_DIAG_LGEXT_DEREGISTER_FIRST_WIN_F” to the HDLC dispatcher 34, the second registered application, that is, the camcorder 32 transmits a window message, “WM_DIAG_LGEXT_DEREGISTER_SECOND_WIN_F” to the HDLC dispatcher 34, and the third registered application, that is, the service menu 33 transmits a window message, “WM_DIAG_LGEXT_DEREGISTER_THIRD_WIN_F” to the HDLC dispatcher 34. An application that has transmitted the window message is registration-released, and does not receive a response packet and a report packet from the modem any longer.
The above applications are not limited to three, and applications more than three can be constructed.
As aforementioned, in the modem sharing device of a PDA phone and the method thereof, one parsing module is respectively attached to a plurality of applications of the PDA phone in order to parse commands of the plurality of applications, thereby efficiently sharing a modem.
As the present invention may be embodied in several forms without departing from the spirit or essential characteristics thereof, it should also be understood that the above-described embodiments are not limited by any of the details of the foregoing description, unless otherwise specified, but rather should be construed broadly within its spirit and scope as defined in the appended claims, and therefore all changes and modifications that fall within the metes and bounds of the claims, or equivalence of such metes and bounds are therefore intended to be embraced by the appended claims.
Patent | Priority | Assignee | Title |
10560373, | Apr 06 2017 | GRASS VALLEY CANADA | System and method for timely and uniform distribution for real-time packet transmission |
10999190, | Apr 06 2017 | GRASS VALLEY CANADA | System and method for timely and uniform distribution for real-time packet transmission |
11601361, | Apr 06 2017 | GRASS VALLEY CANADA | System and method for timely and uniform distribution for real-time packet transmission |
Patent | Priority | Assignee | Title |
4040014, | Sep 13 1976 | Sperry Rand Corporation | Modem sharing device |
4665519, | Nov 04 1985 | Electronic Systems Technology, Inc. | Wireless computer modem |
5699357, | Mar 06 1996 | DSS TECHNOLOGY MANAGEMENT, INC | Personal data network |
5790895, | Oct 18 1996 | Hewlett Packard Enterprise Development LP | Modem sharing |
5884103, | May 03 1995 | Nokia Technologies Oy | Data terminal with adapter for selectively modifying data transmitted to and from |
6112266, | Jan 22 1998 | Silicon Laboratories Inc | Host signal processing modem using a software circular buffer in system memory and direct transfers of samples to maintain a communication signal |
6128290, | Mar 06 1996 | DSS TECHNOLOGY MANAGEMENT, INC | Personal data network |
6353857, | Mar 31 1997 | Intel Corporation | Controllerless modem |
6957069, | Jul 31 2002 | TAIWAN SEMICONDUCTOR MANUFACTURING CO , LTD | Wireless personal communicator and communication method |
7016673, | Oct 01 2002 | InterDigital Technology Corporation | Wireless communication method and system with controlled WTRU peer-to-peer communications |
7239874, | Oct 01 2002 | InterDigital Technology Corporation | Wireless communication method and system with controlled WTRU peer-to-peer communications |
20010052026, | |||
GB2348088, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Dec 28 2004 | SONG, DONG-SUB | LG Electronics Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 016271 | /0235 | |
Dec 28 2004 | YIM, JOY | LG Electronics Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 016271 | /0235 | |
Feb 09 2005 | LG Electronics Inc. | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Sep 04 2009 | RMPN: Payer Number De-assigned. |
Jul 15 2010 | ASPN: Payor Number Assigned. |
Apr 19 2012 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
May 18 2016 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Jul 13 2020 | REM: Maintenance Fee Reminder Mailed. |
Dec 28 2020 | EXP: Patent Expired for Failure to Pay Maintenance Fees. |
Date | Maintenance Schedule |
Nov 25 2011 | 4 years fee payment window open |
May 25 2012 | 6 months grace period start (w surcharge) |
Nov 25 2012 | patent expiry (for year 4) |
Nov 25 2014 | 2 years to revive unintentionally abandoned end. (for year 4) |
Nov 25 2015 | 8 years fee payment window open |
May 25 2016 | 6 months grace period start (w surcharge) |
Nov 25 2016 | patent expiry (for year 8) |
Nov 25 2018 | 2 years to revive unintentionally abandoned end. (for year 8) |
Nov 25 2019 | 12 years fee payment window open |
May 25 2020 | 6 months grace period start (w surcharge) |
Nov 25 2020 | patent expiry (for year 12) |
Nov 25 2022 | 2 years to revive unintentionally abandoned end. (for year 12) |