JPH04130531A - Method for saving memory for handy terminal - Google Patents

Method for saving memory for handy terminal

Info

Publication number
JPH04130531A
JPH04130531A JP25153690A JP25153690A JPH04130531A JP H04130531 A JPH04130531 A JP H04130531A JP 25153690 A JP25153690 A JP 25153690A JP 25153690 A JP25153690 A JP 25153690A JP H04130531 A JPH04130531 A JP H04130531A
Authority
JP
Japan
Prior art keywords
program
handy terminal
personal computer
converted
memory
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP25153690A
Other languages
Japanese (ja)
Inventor
Shigeki Sugiyama
茂樹 杉山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujikura Ltd
Original Assignee
Fujikura Ltd
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
Application filed by Fujikura Ltd filed Critical Fujikura Ltd
Priority to JP25153690A priority Critical patent/JPH04130531A/en
Publication of JPH04130531A publication Critical patent/JPH04130531A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To save the memory of the handy terminal by converting a program prepared with a program based on an operating system equipped with a personal computer into the internal form of the handy terminal and eliminating a comment and unnecessary space to be transferred to the handy terminal. CONSTITUTION:A personal computer prepares a program for handy terminal, and the prepared program is converted into the internal form of the handy terminal. In such a case, the operation is performed by a program based on an operating system and is not performed by the BASIC interpreter for personal computer in the case of the internal form of the handy terminal. Further, the space unnecessary for the execution of the comment and the program is respectively eliminated from the program converted into the internal code to compress the program, and the compressed program is loaded down to the handy terminal. Thus, the effective utilization of the memory for the handy terminal can be enabled.

Description

【発明の詳細な説明】 「産業上の利用分野」 この売可は、電力、1信、および、建設業界等における
設備管理システムや、流通業界等における夜寒f夏シス
テムなどで使用されるハンディターミナルのメモリの節
約を図るハンディターミナルのメモリの節約方法に関す
る。
Detailed Description of the Invention "Industrial Application Fields" This product is a handy terminal used in equipment management systems in the electric power, telecommunication, and construction industries, as well as night-cold and summer systems in the distribution industry, etc. This paper relates to a method for saving memory on a handheld terminal.

「従来の技術」 近年、上述した各業界においては、設備管理や在庫管理
にハンディ−ターミナルが多く用いられている。ハンデ
ィターミナルは携帯性を考慮して小型・軽量に作製され
ており、その記憶装置としては内蔵メモリやメモリカー
ドが使用されている。
"Prior Art" In recent years, handheld terminals have been widely used for equipment management and inventory management in the above-mentioned industries. Handy terminals are made small and lightweight for portability, and use built-in memory or memory cards as their storage devices.

また、ハンディターミナルには、MS−DO5(マイク
ロ社の登録商標)などの汎用のOS(オペレーティング
システム)を搭載し、RAS I Cインタプリタによ
るRAS I Cプログラムの実行ができるもの6cあ
る。
Furthermore, there is a type of handy terminal 6c which is equipped with a general-purpose OS (operating system) such as MS-DO5 (registered trademark of Micro Corporation) and is capable of executing a RAS IC program using a RAS IC interpreter.

「発明が解決しようとする課題」 ところで、上述したハンディターミナルは小型・軽量に
作製することが第1条件ではあるが、増大する情報量に
対処するためにE憶容量の大容量化が望まれている。し
かし、ハードディスクやフロッピーディスクなどの外部
記憶装置あるいは大容量のメモリなどを使用することは
、形状の制約およびコストの上昇を招(という間層が生
ずる。
``Problem to be solved by the invention'' By the way, although the first condition for the above-mentioned handheld terminal is to make it small and lightweight, it is desired that the electronic storage capacity be increased in order to cope with the increasing amount of information. ing. However, the use of external storage devices such as hard disks and floppy disks or large-capacity memories leads to constraints on shape and increases in cost.

この発明はこのような事情に鑑みてなされたもので、外
部記憶装置や大容量メモリを測度せf1既存のメモリで
増大する情報量に対処できるハンディターミナルのメモ
リ節約方法を提供することを目的としている。
This invention was made in view of the above circumstances, and the purpose is to provide a memory saving method for a handy terminal that can cope with the increasing amount of information in the existing memory by measuring external storage devices and large-capacity memory. There is.

「課題を解決するための手段」 この売可のハンディターミナルのメモリ節約方法は、ハ
ンディターミナルのファイルエリアに格納するプログラ
−ムを、(−ソナルコンピュータに搭載されるオペレー
ティンrシステムに依存するプログラムで作成し、次い
でこの作成したプログラムを前訂ハンディターミナルの
内部形式に変換し次いでこの変換したプログラムからコ
メントおよびプログラムの実行に不必要なスペースをそ
れぞれ削除し、そしてこのプログラムを前記ハンディタ
ーミナルに転送することを特徴とする。
``Means to Solve the Problem'' This memory saving method for handheld terminals for sale is to save programs that are stored in the file area of the handy terminal (-programs that depend on the operating system installed in the personal Then, convert this created program into the internal format of the previous handy terminal, then delete comments and spaces unnecessary for program execution from this converted program, and transfer this program to the handy terminal. It is characterized by

「作用 」 上記方法によれば、パーソナルコンピュータに搭載され
るオペレーティングンステムに依存するプログラムでハ
ンディターミナルのプログラムを作成した後、このプロ
グラムを該ハンディターミナルの内部型式に変換し、さ
らにこのプログラムからコメントおよびプログラムの実
行に不必要なスペースの削除を行う。そして、この処理
をし終えたプログラムをハンディターミナルに転送する
"Operation" According to the above method, after creating a handy terminal program using a program that depends on the operating system installed in a personal computer, this program is converted to the internal format of the handy terminal, and further comments and comments are added from this program. Delete spaces that are unnecessary for program execution. Then, the program that has completed this processing is transferred to the handy terminal.

したがって、予めパーソナルコンピュータでハンディタ
ーミナルの内部形式に合ったプログラムが作成され石の
で、ハンディターミナル側ではプログラムを内部形式に
変換する必要がない。また、プログラム力でハンディタ
ーミナルの内部形式に変換され、さらにそのプログラム
からコメントおよびスペースが削除されるので、ハンデ
ィターミナルのファイルエリアの有効使用が可能になる
。また、プログラムからコメントが削除されることによ
り、ハンディターミナルがコメントを読み飛ばす必要が
なくなる。また、プログラムが圧縮されることにより、
ハンディターミナルへの転送時間が1くなる。また、パ
ーソナルコンピュータ側の変換プログラムは、同−O5
において互換性を有することにより、mwの異なるパー
ソナルコンピータでも動作させることが可能になる。
Therefore, since a program suitable for the internal format of the handy terminal is created in advance on the personal computer, there is no need to convert the program to the internal format on the handy terminal side. In addition, since the program converts the data into the internal format of the handy terminal, and comments and spaces are deleted from the program, the file area of the handy terminal can be used effectively. Furthermore, since comments are deleted from the program, there is no need for the handy terminal to skip over comments. Also, by compressing the program,
The transfer time to the handy terminal is reduced to 1. In addition, the conversion program on the personal computer side is -O5
By having compatibility, it is possible to operate even personal computers with different mws.

「実施例」 以下、図面を参照してこの発明の方法であるハンディタ
ーミナルのメモリ節約方法について説明する。なお、こ
の発明の詳細な説明するにあたり次のような条件を与え
る。
Embodiment Hereinafter, a memory saving method for a handy terminal, which is a method of the present invention, will be described with reference to the drawings. In addition, the following conditions will be given for detailed explanation of this invention.

(イ)ハンディターミナルはMS−DO5を搭載し、B
ASiCインタプリタによるRAS I C雷電が使用
できる−ものとす6゜この場合、ハードディスク、フロ
ッピーディスクおよび大容量のメモリは持たないものと
する。
(b) The handy terminal is equipped with MS-DO5,
RAS IC Raiden with ASiC interpreter can be used - Assume 6. In this case, it is assumed that there is no hard disk, floppy disk, or large capacity memory.

(ロ)ハンディターミナルのメモリには、第3艮に示す
ようにプログラムを格納するテキストエリアと、該プロ
グラムを実行しないときに格納しておくファイルエリア
とが設けられているものとし、ファイルエリアに格納さ
れるRAS I CファイルはASCII(アスキー)
コードまたはこのハンプ、ターミナル導層の内錐コード
に変換されたものとする。
(b) As shown in the third aspect, the memory of the handy terminal is provided with a text area for storing programs and a file area for storing the programs when they are not being executed. The stored RAS I C file is ASCII (ASCII)
The cord or this hump shall be converted into an inner cone cord of the terminal conductor layer.

(ハ)メモリを節約するには、テキストエリアおよびフ
ァイルエリアの有効利用ということになるが、テキスト
エリアはO8を使用するうえにおいて、ある大きさを確
保しておく必要があるので、このエリアの有効利用は困
難である。したがって、ファイルエリアを有効利用する
ことにする。
(c) To save memory, make effective use of the text area and file area, but the text area must be a certain size when using O8, so this area Effective use is difficult. Therefore, we will make effective use of the file area.

(ニ)ファイルエリアにRAS I Cファイルを格脚
する場合には、内部コードに変換してから格納する方が
一般的に寥量が小さくて済み有効である。
(d) When storing a RAS I C file in a file area, it is generally more effective to convert it into an internal code and then store it because the amount of data is smaller.

しかしながら、第4図に示すように、一般的にパーソナ
ルコンピュータで作成したときのプログラムはアスキー
型式になるので、内部コードで格納する場合は必ずこの
コードに変換する必要がある。
However, as shown in FIG. 4, programs created on a personal computer are generally in ASCII format, so if the program is to be stored in internal code, it must be converted to this code.

この場合、パーソナルコンピュータ上で作成されたプロ
グラムは、同コンピュータのRAS I Cインタプリ
タの内部型式に変換することは可能であるが、ハンディ
ターミナルのBAS I Cインタプリタと、パーソナ
ルコンピュータのRAS I Cインタプリタは具なる
のが一般的であるので、ハンディターミナルの内部型式
に変換することは困難である。したがって、ハンディタ
ーミナルのファイルエリアを有効に使用するには、アス
キー型式のプログラムをハンディターミナルのRAS 
I Cインタプリタでロードし、内部コードに変換して
セーブする必要がある。
In this case, a program created on a personal computer can be converted to the internal format of the computer's RAS I C interpreter, but the handheld terminal's BAS I C interpreter and the personal computer's RAS I C interpreter are Therefore, it is difficult to convert to the internal model of a handy terminal. Therefore, in order to effectively use the handy terminal's file area, you must run an ASCII program using the handy terminal's RAS.
It is necessary to load it with an IC interpreter, convert it to internal code, and save it.

以上の前提を踏まえてこの発明の方法について説明する
The method of the present invention will be explained based on the above premise.

第1図はこの発明の詳細な説明するための概念図であり
、鎖線Aを中心として図面左側がパーソナルコンピュー
タ側で、右側がハンディターミナル便丁であξ。
FIG. 1 is a conceptual diagram for explaining the present invention in detail, with the left side of the drawing centered on chain line A being a personal computer, and the right side being a handy terminal station.

パーソナルコンピュータは次のような作業を行う。Personal computers perform the following tasks.

■ハンディターミナル用のプログラムを作成する。■Create a program for the handy terminal.

■■で作成したプログラムをハンディターミナルの自重
コードに変換する。この場合、ハンディターミナルの内
部型式にするにはパーソナルコンピュータの機種によら
ず、O9に依存するプログラムで行い、パーソナルコン
ピュータのRAS I Cインタプリタでは行わない。
Convert the program created in ■■ to the weight code of the handy terminal. In this case, regardless of the model of the personal computer, the internal formatting of the handy terminal is done by a program that depends on O9, and not by the RAS IC interpreter of the personal computer.

■内部コードに変換したプログラムからコメントおよび
プログラムの実行に不必要なスペースをそれぞれ削除し
、同プログラムを圧縮する。
■Delete comments and spaces unnecessary for program execution from the program converted to internal code, and compress the program.

■圧縮したプログラムをハンディターミナルにダウンロ
ードする。
■Download the compressed program to the handy terminal.

ハンディターミナルは、転送されてきたプログラムをフ
ァイルとしてファイルエリアに格納する。
The handy terminal stores the transferred program as a file in the file area.

この場合、1送されてきたプログラムはこのハンディタ
ーミナルの内部コードに変換されており、さらにコメン
トおよびプログラムの実行において不必要なスペースが
それぞれ削除されているので、最小Iのrfになってい
る。
In this case, the received program has been converted into the internal code of this handy terminal, and comments and unnecessary spaces in program execution have been deleted, resulting in the minimum I rf.

ここで、上述した機能により、どの程度プログラムの容
量が減るかを試算した例を示す。
Here, we will show an example of a trial calculation of how much the program capacity will be reduced by the above-mentioned function.

rloo  IF  Af=  l   THEN  
1010  ビLSE  1050  :RE’輩 モ
ジ1ノ へンタ゛ン」 という50ノぐイト7行のプログラムを内」型式ζご変
換すると、 「■■■■Ag=”1’″■■■■■■■■■■■ モ
ジ′ノ ハンタ′ン」 の39バイト/行になる。この場合、 ■■、■■、■■・・・行番号を2バイトの内部−型式
■■・・・rFを内部型式(2バイト)に変換■■・・
・THENを内部型式(2バイト)に変換■■・・・E
LSEを内部型式(2バイト)に変換■■・・・REM
を内部型式(2バイト)に変換■・・・:を内部型式(
1バイト)に変換法に、コメントおよびプログラムの実
行に石必要なスペースを削除すると、 [■■■■A$・°1°■■■■■■■■」の18バイ
ト/行になる。
rloo IF Af= l THEN
1010 BiLSE 1050: RE'-Kai Moji 1 No Hentain'' If you convert a 50-word, 7-line program to the type ζ, you will get ``■■■■Ag="1'"■■■■■■■ ■■■■ This is 39 bytes/line. In this case, ■■, ■■, ■■... Line number is converted into 2-byte internal format ■■... rF is converted into internal format (2 bytes) ■■...
・Convert THEN to internal format (2 bytes) ■■...E
Convert LSE to internal format (2 bytes) ■■...REM
Convert to internal format (2 bytes) ■...: Convert internal format (2 bytes)
1 byte) and remove comments and spaces necessary for program execution, it becomes 18 bytes/line [■■■■A$・°1°■■■■■■■■''.

このように、50バイト/行のプログラムが18バイト
/行に削減されるのがわかる。なお、般的に内」型式に
変換した場合、各ラインには数バイトの情報が付けられ
るため、実際には18バイト/ffでは表せない。しか
し、この例では50%以下の容量に削減されることにな
る。
It can thus be seen that a 50 byte/line program is reduced to 18 bytes/line. In general, when converted to the "inner" format, several bytes of information are attached to each line, so it cannot actually be expressed as 18 bytes/ff. However, in this example, the capacity will be reduced to 50% or less.

また、削減される置はコメントを多くしたプログラム程
高くなるのは明らかである。
Also, it is clear that the more comments a program has, the higher the amount of space that will be reduced.

参考として第2図に上述した処理のフローチャートを示
す。なお、このフローチャートにおいては、ハンディタ
ーミナルの内部型式に変換し、さらに圧練したプログラ
ムを通信回線を使用して)\ンディターミナルへ転送す
るようにしているが、第5図に示すように、パーソナル
コンピュータに接続したメモリカードリーダライタを用
いて直接メモリカードに書込み、これを介してノ1ンデ
イターミナルに転送することも可能である。
For reference, FIG. 2 shows a flowchart of the above-mentioned processing. In this flowchart, the program is converted to the internal model of the handy terminal and the compressed program is transferred to the handy terminal (using a communication line), but as shown in Figure 5, It is also possible to write directly to a memory card using a memory card reader/writer connected to a computer and transfer it to the daily terminal via this.

「発明の効果」 以上説明したようにこの発明のハンディターミナルのメ
モリ節約方法によれば、以下に示す効果を奏で6゜ ■予めパーソナルコンピュータでハンディターミナルの
内部形式に合ったプログラムを作成するので、ハンディ
ターミナル側で内部形式に変換する必要がない。したが
って、変換に要する手間がかからない。
``Effects of the Invention'' As explained above, according to the memory saving method for a handy terminal of the present invention, the following effects can be achieved. There is no need to convert to an internal format on the handy terminal side. Therefore, no effort is required for conversion.

■プログラムをハンディターミナルの内耶形゛式に変換
し、さらにコメントおよびスペースを削除するので、必
要最小限の容量のプログラムをハンプターミナルに供給
することができる。したがって、ハンディターミナルの
メモリの有効使用が可能にある。
■Since the program is converted into the handy terminal's internal format and comments and spaces are deleted, a program with the minimum required capacity can be supplied to the hump terminal. Therefore, it is possible to effectively use the memory of the handy terminal.

■プログラムからコメントを削除するので、ハンディタ
ーミナルのインタプリタがコメントを涜み飛ばす必要が
なくなり、笑行速度が向上する。
■Since comments are deleted from the program, there is no need for the handheld terminal's interpreter to ignore comments, improving processing speed.

■10グラムを圧縮することにより、ハンディターミナ
ルへの転送時間が短くなる(通信回線を使用した場合は
通信時間だ短縮され、メモリカードを使用した場合には
書込時間が短くなる)。
- Compressing 10 grams reduces the time required to transfer data to a handy terminal (if a communication line is used, the communication time will be shortened; if a memory card is used, the writing time will be shortened).

■パーソナルコンピュータ側の変換10グラムは、同−
O3において互換性があるので、パーソナルコンピュー
タの機種が変わっても動作させることができる。
■The conversion of 10 grams on the personal computer side is the same as -
Since it is compatible with O3, it can be operated even if the model of personal computer changes.

【図面の簡単な説明】[Brief explanation of the drawing]

第1【はこの売可の一実施例であるハンディターミナル
のメモリ節約方法を説明するための概念図、第2Nは同
実施例のフローチャート、第3図および第4図は各々同
実施例の前提条件を説明するたメツ図、第5図は同実施
例によりハンディターミナルの内部型式に変換し、さら
に圧縮したプログラムのハンディターミナルへの転送を
メモリカードにより行う方法を説明するための図である
Part 1 is a conceptual diagram for explaining a memory saving method for a handy terminal, which is an example of this commercial sale, Part 2N is a flowchart of the example, and Figures 3 and 4 are the premises of the example. FIG. 5 is a diagram for explaining the method of converting the program into the internal format of the handy terminal according to the same embodiment, and further transferring the compressed program to the handy terminal using a memory card.

Claims (1)

【特許請求の範囲】[Claims] ハンディターミナルのファイルエリアに格納するプログ
ラムをパーソナルコンピュータに搭載されるオペレーテ
ィングシステムに依存するプログラムで作成し、次いで
この作成したプログラムを前記ハンディターミナルの内
部形式に変換し、次いでこの変換したプログラムからコ
メントおよびプログラムの実行に不必要なスペースをそ
れぞれ削除し、そしてこのプログラムを前記ハンディタ
ーミナルに転送することを特徴とするハンディターミナ
ルのメモリ節約方法。
A program to be stored in the file area of the handy terminal is created using a program that depends on the operating system installed on the personal computer, then this created program is converted to the internal format of the handy terminal, and comments and comments are then created from the converted program. A method for saving memory in a handy terminal, comprising deleting space unnecessary for program execution, and transferring the program to the handy terminal.
JP25153690A 1990-09-20 1990-09-20 Method for saving memory for handy terminal Pending JPH04130531A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25153690A JPH04130531A (en) 1990-09-20 1990-09-20 Method for saving memory for handy terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25153690A JPH04130531A (en) 1990-09-20 1990-09-20 Method for saving memory for handy terminal

Publications (1)

Publication Number Publication Date
JPH04130531A true JPH04130531A (en) 1992-05-01

Family

ID=17224276

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25153690A Pending JPH04130531A (en) 1990-09-20 1990-09-20 Method for saving memory for handy terminal

Country Status (1)

Country Link
JP (1) JPH04130531A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001028585A (en) * 1999-07-13 2001-01-30 Sony Corp Distribution content generating method, method and device for distributing content, and code converting method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001028585A (en) * 1999-07-13 2001-01-30 Sony Corp Distribution content generating method, method and device for distributing content, and code converting method

Similar Documents

Publication Publication Date Title
Smith Bidding and auctioning institutions: Experimental results
JP5234030B2 (en) Tag communication device, tag communication device control method, and tag communication device control program
CN106201350A (en) The storage method of data, memorizer and computer system
JP2005044375A (en) Communication card with input/output function
CN110383702A (en) Storage card, adapter for memory card and terminal
JP5042502B2 (en) System and method for storing documents in serial binary format
CN112783974A (en) Data conversion method, device, equipment and storage medium
CN107357929A (en) File reading, mobile terminal and readable storage medium storing program for executing
CN110704334B (en) Method, system and equipment for important product data management
CN108874639A (en) Log archiving method, electronic device and readable storage medium storing program for executing
CN105320669A (en) Method and device for data storage and method and device for data reading
CN202102425U (en) Port conversion device
JPH04130531A (en) Method for saving memory for handy terminal
CN104239941B (en) A kind of identification card
CN101119561A (en) Method for communication between GSM mobile communication terminal and SIM card
CN108763365A (en) Case information dynamic introduction method, device, equipment and storage medium
CN101382961A (en) Method for making update file and updating data
CN101082958A (en) General purpose data storing card recognizing/reading and data interchange device
CN101553800B (en) Migration apparatus which convert SAM/VSAM files of mainframe system into SAM/VSAM files of open system and method for thereof
CN210836166U (en) Smart card
JP2009123144A (en) Ic card reader/writer
CN101145148A (en) Processing method and apparatus for electronic table file
CN101004796B (en) Recording method, recorder and IC card
CN217640226U (en) EPC data storage circuit
CN212084197U (en) Non-card-receiving payment module