KR930001443B1 - Data researching method in electronic switching center - Google Patents
Data researching method in electronic switching center Download PDFInfo
- Publication number
- KR930001443B1 KR930001443B1 KR1019900013520A KR900013520A KR930001443B1 KR 930001443 B1 KR930001443 B1 KR 930001443B1 KR 1019900013520 A KR1019900013520 A KR 1019900013520A KR 900013520 A KR900013520 A KR 900013520A KR 930001443 B1 KR930001443 B1 KR 930001443B1
- Authority
- KR
- South Korea
- Prior art keywords
- relation
- register
- user
- storing
- tuple
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/22—Arrangements for supervision, monitoring or testing
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A40/00—Adaptation technologies in agriculture, forestry, livestock or agroalimentary production
- Y02A40/10—Adaptation technologies in agriculture, forestry, livestock or agroalimentary production in agriculture
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
제1도는 본 발명에 적용된 시스템 구성도.1 is a system configuration applied to the present invention.
제2도는 본 발명을 설명하기위한 블럭도.2 is a block diagram for explaining the present invention.
제3도는 본 발명에 따른 메모리 맵도.3 is a memory map diagram according to the present invention.
제4도는 본 발명에 따른 사용자 정의 릴레이션 검색처리 흐름도 도면의 주요부분에 대한 부호의 설명.4 is a description of the symbols for the main parts of the user-defined relation retrieval processing flowchart diagram according to the present invention.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
10 : 출입 및 스위칭 모듈10: access and switching module
20 : 상호 연결 제어 프로세서 및 번호 번역 제어 프로세서20: interconnect control processor and number translation control processor
30 : 중앙 제어 모듈 100 : 응용프로그램30: central control module 100: application
200 : 데이터 베이스 관리 시스템 300 : 데이터 베이스200: database management system 300: database
본 발명은 대용량 전전자 교환기에 있어서 데이터 베이스의 데이터 검색 방법에 관한것으로, 특히 데이터 베이스 관리 시스템에서 제공되는 검색처리 방법에 의하지 않고 사용자가 미리 정의한 규칙에따라 데이터를 검색하므로써 시스템의 효율성을 높일수 있는 사용자 정의 릴레이션(relation)에 대한 데이터 검색 방법에 관한 것이다.The present invention relates to a data retrieval method of a database in a high-capacity electronic switchboard. In particular, the data retrieval method can be improved by retrieving data according to a user-defined rule without using a retrieval processing method provided by a database management system. A data retrieval method for a user-defined relation is provided.
오늘날 다양해지는 통신 서비스와 늘어나는 정보량을 효율적으로 처리하기위하여 교환 시스템 들은 그 구조와 기능이 다각적으로 변화해가고 있으며 발전의 속도는 매우 빨라 지고 있다.In order to efficiently handle the diversified communication services and the increasing amount of information, exchange systems are changing in structure and function in various ways, and the speed of development is increasing very fast.
이러한 변화및 발전에 따라 대용량 전전자 교환기는 그 구조면에서 확장성과 유연성이 뛰어나고 기술발전에 따른 새기술의 추가 적용이 가능하며 기능면에서는 대용량 교환기능과 ISON(Integrated Service Digital Network)의 수용실현이 가능하도록 설계되어 있다.Due to these changes and developments, the high-capacity electronic exchanger has excellent scalability and flexibility in terms of its structure, and it is possible to apply new technologies according to technological development. It is designed to be possible.
상기 전전자교환기는 몇개의 주프로세서와 각각에 예속된 서브 프로세서가 공조체계를 이루는 계층적 분산구조를 가지고 있으며 CCITT(국제전신전화 자문위원회)의 권고안인 CHILL언어를 시스템의 주프로그램밍 언어로 사용하며 Z.200에 정의된 일치(Concurrency)기능을 최대한 제공하도록 되어있다.The electronic switch has a hierarchical distributed structure in which several main processors and subprocessors subordinate to each other form a cooperative system, and the CHILL language, which is the recommendation of the International Telegraph Advisory Committee (CCITT), is used as the main programming language of the system. It is intended to provide maximum concurrency as defined in Z.200.
일반적으로 전전자교환기의 각 프로세서 내에는 데이터가 모여있는 집합체 즉 데이터 베이스(Data Base)를 관리하기 위한 프로그램이 존재하는데 이를 데이터 베이스 관리 시스템이라고 한다.In general, a program for managing a collection of data, that is, a data base, exists in each processor of an electronic switchboard, which is called a database management system.
상기 데이터 베이스 관리 시스템의 주요역할은 데이터의 검색, 삭제, 변경, 추가, 일치성 및 무결성유지 등이며 데이터가 2차원의 테이블 형식으로 구성되어 있는것을 특히 릴레이셔날 데이터 베이스(relational data base)라 하고 있으며, 시스템 사용자인 응용프로그램에서 데이터 베이스 관리 시스템을 통하여 데이터에 대한 처리(또는 검색 및 변경...)를 요구할 경우에는 상기 데이터 베이스 관리 시스템이 각 릴레이셔날 데이터 베이스내의 릴레이션들을 검색하도록 되어 있다. 상기와 같은 종래의 전전자 교환기의 데이터 베이스 시스템은 릴레이셔날 데이터 베이스로 구성되어 있으며, 이에따라 해당되는 릴레이션의 검색방법은 순차검색(Sequential Search), 2진 검색(binary search), 분할 검색(index search)등이 있었다. 상기와같은 검색 방법들은 사용자의 프로그램인 응용프로그램의 검색요구에 의해 한번에 하나의 릴레이션만을 검색할 수 있도록 되어 있으므로 사용자가 다수개의 릴레이션들로 부터의 데이터가 필요할 경우에는 상기 데이터 베이스의 접근(Access)횟수가 증가되어 시스템에 대한 효율이 저하되는 문제점이 있었다.The main role of the database management system is to search, delete, change, add, maintain consistency and integrity of data, and the data is organized in a two-dimensional table form, in particular, a relational database. When an application program that is a system user requests processing (or retrieval and modification) of data through a database management system, the database management system retrieves relations in each relay database. The database system of the conventional electronic switchboard is composed of a relay database, and accordingly, a relation search method is sequential search, binary search, and index search. ) The search methods described above allow only one relation to be searched at a time by a search request of an application program that is a user's program. When a user needs data from multiple relations, the database is accessed. There has been a problem that the efficiency is reduced for the system by increasing the number of times.
즉, 다수의 릴레이션들을 억세스하고자 할 경우에는 한번에 하나씩 억세스를 하게되므로 시간상의 로스를 초래하였으며 시스템의 부하(Load)가 증가되는 단점이 있었다.In other words, when accessing a plurality of relations, access is performed one at a time, which causes a loss in time and increases the load of the system.
따라서 본 발명의 목적은 전전자 교환기의 데이터 베이스 관리 시스템에 있어서 시스템의 효율성을 높일 수 있는 사용자정의 릴레이션에 의한 검색방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a search method using a user-defined relation that can increase the efficiency of a system in a database management system of an electronic switchboard.
본 발명의 다른 목적은 사용자가 사용하기 편리한 사용자 정의 릴레이션에 의한 검색방법을 제공함에 있다.Another object of the present invention is to provide a search method by a user-defined relation, which is convenient for a user to use.
이하 본 발명을 첨부한 도면을 참조하여 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.
제1도는 본 발명에 적용된 전전자교환기의 시스템 구성도로서 다수의 가입자 회선을 수용하고 있는 출입 및 스위칭모듈(10)와, 운용 관리 프로세서 및 운용 및 유지보수 프로세서로 이루어진 중앙제어모듈(30)와, 상기 출입 및 스위칭모듈(10)와 중앙제어모듈(30)간을 인터페이싱하기 위한 상호 연결 제어 프로세서 및 번호 번역 제어프로세서(20)으로 구성되며 상기 출입 및 스위칭모듈(10)는 다수의 출입 및 스위칭 프로세서(10a-10b)으로 이루어지며 하나의 출입 및 스위칭 프로세서에는 최대 4096가입자가 수용될수 있다.1 is a system configuration diagram of an all-electronic switch system applied to the present invention, and a central control module 30 comprising an access and
상기 운용 관리 프로세서(30a)는 교환기의 상태를 관측하는 프로세서로써 보조기억 장치인 디스크등을 통하여 관측 데이터를 기억 저장하며 상기 운용 및 유지 보수 프로세서(30b)는 시스템내에서 발생되는 과금, 통계, 교환에러 체크등을 관리하는 프로세서로써 데이터의 입력또는 출력시에 이용하게는 VDT(Visual Display Terminal), PC(Personal Computer)등이 접속되어 있다.The operation management processor 30a is a processor for observing the state of the exchanger, and stores and stores the observation data through a disk, which is an auxiliary storage device, and the operation and maintenance processor 30b is used for charging, statistics, and exchange generated in the system. As a processor that manages error checking, etc., a VDT (Visual Display Terminal), a PC (Personal Computer), and the like are used to input or output data.
상기 각각의 블럭들(10, 20, 30)은 내부에서 서브 프로세서를 가지고 있으며 각각 데이터 베이스 및 데이터 베이스 관리 시스템을 구비하고 있다.Each of the
제2도는 본 발명을 설명하기위한 블럭도로서, 사용자 프로그램인 응용프로그램(100)과, 데이터를 저장하고 있는 데이터 베이스(300)와, 상기 데이터 베이스(300)를 관리하며 상기 응용프로그램(100)에서의 데이터 요구가 있을시 상기 데이터 베이스(300)의 데이터를 출력시키는 데이터 베이스 관리 시스템(200)으로 구성된다.2 is a block diagram for explaining the present invention, which is an
제3도는 본 발명에 따른 메모리맵도로서, (3A)는 상기 전전자 교환기내의 각 프로세서(31)들의 레지스터(A1-A7, d1-d7)및 메모리(32)의 포맷(format)을 나타낸것이고, (3B)는 상기 메모리(32)내의 인터페이스 영역에 나타내는 메모리맵의 구성을 나타낸것으로, 상기 응용프로그램(100)에서 사용자정의 명령어를 삽입하여 상기 데이터 베이스 관리시스템(200)으로 필요한 데이터를 요구하며 명령어 전처리기(Command Processor)에 의해 상기(3B)의 형태로써 인터페이스 영역이 변환되어 상기(3A)의 메모리(32)내에 저장되고, 상기 데이터 베이스 관리시스템(200)에서는 상기 메모리(32)를 억세스하여 검색을 수행후 상기 응용 프로그램(100)으로 검색한 데이터를 제공한다.FIG. 3 is a memory map diagram according to the present invention, where 3A shows the registers A1-A7, d1-d7 and the format of the
여기서 상기(3A)의 프로세서(31)는 MC68020을 사용 하였으며 상기 메모리(32)내의 튜플 영역(TA)은 검색이 완료된 릴레이션의 행(row)라인에 있는 데이터의군이 저장된다.In this case, the
제4도는 본 발명에 따른 사용자 정의 릴레이션의 검색처리 흐름도로서, (4a)는 상기(3A)의 프로세서(31)가 상기 메모리(32)내의 튜플영역(TA)의 어드레스를 상기 프로세서(31)내의 A3레지스터에 저장시키는 과정이고, (4b)는 로지컬 오프셋(logical offset)을 산출하여 A3레지스터에 저장시키는 과정이며, (4c)는 상기 튜플영역(TA)의 피지컬(physical)어드레스를 산출하여 A3레지스터에 저장시키는 과정이고, (4d)는 상기 A3레지스터의 내용을 튜플영역(TA)에 저장시키는 과정이며, (4e) 상기 메모리(32)내의 인터페이스 영역의 변경절 포인터에 들어있는 릴레이션 인덱스(index)를 d1레지스터에 저장시키는 과정이고, (4f) 상기 메모리(32)내의 프로세듀럴(procedural)테이블에서 1튜플의 크기와 상기(4e)의 d1레지스터에 저장된 릴레이션 인덱스를 곱하고 해당릴레이션에 관한 정보를 산출후 d2레지스터에 저장시키는 과정이며, (4g) 상기 응용 프로그램(100)에서 들어오는 요규(interrupt)가 사용자정의 릴레이션 인가를 판단하는 과정이고, (4h) 상기 (4g)의 과정에서 사용자정의 릴레이션이면 해당 검색루틴으로 점프하는 과정이며, (4i)는 상기 (4h)과정을 수행후 해당검색 루틴에 대한 수행이 이 끝나면 다시 상기 (4a)과정으로 리턴(return)하는 과정이고, (4j)는 상기 (4g)의 과정에서 사용자 정의 릴레이션이 아니면 에러처리후 다시 상기 (4a)과정으로 리턴(return)하는 과정이다.4 is a flowchart of a search process for a user-defined relation according to the present invention, wherein (4a) indicates that the
이하 본 발명을 상술한 구성에 의거 제1도-제4도를 참조하여 상세히 설명하면 제1도의 출입 및 스위칭 모듈(10) 및 상호 연결 제어 프로세서 및 번호 번역 제어 프로세서(20), 중앙 제어 모듈(30)에 있는 각각의 프로세서들은 MC68020이며 제3도에서와 같이 레지스터(A1-A7, d1-d7)와 메모리(32)를 내부에 가지고 있다.Hereinafter, the present invention will be described in detail with reference to FIGS. 1 through 4 according to the above-described configuration. Referring to FIG. 1, the access and
상기 메모리(32)내에는 인터페이스 영역 및 듀플영역 그리고 프로세듀럴 테이블 영역이 있으며 또한 제2도에서와 같이 사용자 프로그램인 응용프로그램(100)이 들어 있게 된다. 상기 응용 프로그램(100)은 데이터의 검색을 요구하는 프로그램으로서 예를들면, 전화연결프로그램, 전화요금 기록 프로그램, 번호 번역 프로그램 들로 구성되어 있다.In the
제2도에서 사용자 프로그램인 응용프로그램(100)에서 데이터 베이스(300)로 어떠한 데이터를 검색하고자 하는 경우에는 하기의 표1-1과 같은 명령어를 상기 응용 프로그램(100)내의 필요부분에 추가를 한다.In the case of searching for any data from the
[표 1-1]Table 1-1
상기 표 1-1의 명령어로써 사용자는 자신이 필요로 하는 다수의 데이터를 한번에 제공받을 수 있게 되는 것이다.With the commands of Table 1-1, the user can be provided with a plurality of data required by the user at one time.
상기 표 1-1의 명령어는 상술한 명령어 전 처리기에 의해 CHILL언어의 구조체로 변환되어 제3도에서와 같이 메모리(32)의 인테페이스 영역에는 (3B)의 형태로써 해당필드에 들어 있게된다.The instructions of Table 1-1 are converted into the structure of the CHILL language by the instruction preprocessor described above, and are included in the corresponding field in the form of (3B) in the interface area of the
상기 명령어 전처리기와 컴파일링 단계는 오프라인 즉 교환기에 올려지지 않는 상태에서 처리되므로 상세한 설명은 생략한다.The instruction preprocessor and the compiling step are processed offline, i.e., not loaded on the exchange, so a detailed description thereof will be omitted.
상기에서 컴파일링을 거친 프로그램이 온라인 상태에서 수행이되면 상기 사용자 정의 릴레이션 명령어가 들어있는 응용프로그램(100)은 상기 데이터 베이스 관리 시스템(200)으로 데이터 검색요구를 하게된다.When the compiled program is executed in the online state, the
따라서 상기 검색 요구의 과정은 제4도와 같은 수행되는데, 이때의 해당 프로세서는 제1도의 출입 및 스위칭모듈(10), 상호 연결 제어 프로세서 및 번호 번역 제어 프로세서(20), 중앙 제어 모듈(30) 등의 어떠한 프로세서에도 해당되며 모든 프로세서에서 동일하게 수행된다.Therefore, the process of the search request is performed as shown in FIG. 4, wherein the corresponding processor includes the access and
즉, 상기 제3도의 프로세서(31)는 메모리(32)내의 튜플 영역(TA)의 어드레스를 상기 프로세서(31)내의 A3레지스터에 저장 시키는(4a)과정을 수행한후 상기 a3레지스터에 저장된 값에서 상기 인터페이스 영역내의 트랜잭션번호의 값을 감산하여 상기 a3레지스터에 튜플영역(TA)의 로지컬 오프셋 값을 다시 저장시키는 (4b)과정을 수행한다.That is, the
이때 상기 프로세서(31)내의 A1레지스터에는 인터페이스영역의 피지컬(Physical)어드레스가 들어 있으며 (4c)의 과정에서 상기 피지컬 어드레스값과 상기 A3레지스터의 값을 가산하여 다시 A3레지스터에 저장시키면 튜플영역(TA)의 피지컬어드레스가 저장된다. (4d)의 과정에서는 상기 A3레지스터의 값을 상기 메모리(32)내의 튜플영역에 다시 저장하는데 이는 릴레이션의 검색이 끝난후 이 영역을 이용하여 응용 프로그램(100)으로 데이터를 전송할수 있도록 하기 위함이다.At this time, the A1 register in the
다음으로(4e)의 과정에서는 상기 메모리(32)내의 인터페이스 영역인 변경절 포인터에 들어 있는 릴레이션 인텍스를 상기 프로세서(31)내의 d1레지스터에 저장시킨다.Next, in the process (4e), the relation index contained in the change clause pointer, which is the interface region in the
여기서 릴레이션 인덱스는 사전에 릴레이션에 부여된 고유의 값으로 전처리기를 거치면서 릴레이션의 종류에따라 인덱스값이 인터페이스 영역의 변경절 포인터에 들어가게된다.Here, the relation index is a unique value previously assigned to the relation, and the index value enters the change clause pointer of the interface area according to the relation type while passing through the preprocessor.
이어서 (4f)의 과정에서는 상기(4e)과정에서 저장된 d1레지스터에 저장된값과 상기 메모리(32)내의 프로세듀럴 테이블내의 1튜플의 크기를 곱하여 d2레지스터에 저장하게 된다.Subsequently, in the process of (4f), the value stored in the register d1 stored in the process (4e) is multiplied by the size of one tuple in the procedure table in the
여기서 프로세듀럴 테이블내의 해당릴레이션에 관한 정보가 어디에 있는지 알수 있는데 즉 프로세듀럴 테이블도 릴레이션 형태로 구성되어 있는데 예를들어 인덱스가 3이고 1튜플의 크기가 20이라면 이때의 릴레이션 정보의 시작 주소는 3×20=60이 된다.Here, we can see where the information about the relevant relation in the procedural table is. In other words, the procedural table is composed of relation type. For example, if the index is 3 and the size of 1 tuple is 20, the start address of the relation information is 3x20 = 60.
다음에는 (4g)의 과정에서 사용자정의 릴레이션이 들어 왔는지를 판단하여 사용자 정의 릴레이션 이면(4h)-(4i)를 수행후 다시(4a)과정으로 리턴하며 사용자 정의 릴레이션이 아닌 경우에는 (4j)의 과정을 수행후 (4a)과정으로 리턴하게 된다.Next, it is determined whether a user-defined relation has been entered in the process of (4g), and after performing the user-defined relations (4h)-(4i), the process returns to the process (4a) again. After executing the process, the process returns to (4a).
따라서 상술한 바와같이 사용자가 정의한 규칙에따라 다수의 릴레이션으로부터 데이터를 한번에 억세싱 할 수 있으므로 데이터 베이스의 억세싱 횟수를 줄일수 있는 이점이 있으며 또한 시스템의 부하를 감소시킬수 있으므로 프로그램의 효율이 좋은 장점이 있다.Therefore, as described above, data can be accessed from multiple relations at once according to a user-defined rule, thereby reducing the number of database accesses and reducing the load on the system. There is this.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019900013520A KR930001443B1 (en) | 1990-08-30 | 1990-08-30 | Data researching method in electronic switching center |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019900013520A KR930001443B1 (en) | 1990-08-30 | 1990-08-30 | Data researching method in electronic switching center |
Publications (2)
Publication Number | Publication Date |
---|---|
KR920005560A KR920005560A (en) | 1992-03-28 |
KR930001443B1 true KR930001443B1 (en) | 1993-02-27 |
Family
ID=19302950
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019900013520A KR930001443B1 (en) | 1990-08-30 | 1990-08-30 | Data researching method in electronic switching center |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR930001443B1 (en) |
-
1990
- 1990-08-30 KR KR1019900013520A patent/KR930001443B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR920005560A (en) | 1992-03-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3269849B2 (en) | Parallel database processing system and its retrieval method | |
Schuster et al. | RAP. 2—An associative processor for databases and its applications | |
JP4285770B2 (en) | Index specification for relational databases | |
CN110134516A (en) | Finance data processing method, device, equipment and computer readable storage medium | |
CN110110165A (en) | Dynamic routing method and device for query engine in precomputation system | |
CN109446252A (en) | A kind of unified access method and system for power grid regulation | |
CN108363741B (en) | Big data unified interface method, device, equipment and storage medium | |
JP3022378B2 (en) | Search method for database system composed of different programming languages | |
JP2516703B2 (en) | Logic automatic generation method and logic automatic generation system | |
KR930001443B1 (en) | Data researching method in electronic switching center | |
JPH08147201A (en) | Traffic data cache method | |
KR930010286B1 (en) | Maintenace system in electronic exchange | |
KR950005987B1 (en) | Maintenance system in electronic exchange | |
JP2679972B2 (en) | Information service processing method | |
KR930010285B1 (en) | Database processing method in electronic exchange | |
KR100258073B1 (en) | Registration and retrival method of object-oriented chill class | |
KR0168914B1 (en) | Relation processing method of atm | |
KR100198440B1 (en) | A method indexing technique and dynamic update-propagations in memory-resident object-oriented database systems | |
KR970010152B1 (en) | Subscriber location information management system | |
JP2770758B2 (en) | OSI management agent system | |
Lee et al. | A study on CSD-based storage engine scheduling for high-speed processing of large-scale data | |
CN114138812A (en) | Query method, query device, electronic equipment and storage medium | |
KR960001080B1 (en) | A data backup method for a real time database management | |
KR100957343B1 (en) | An apparatus and method a plurality of processors for accessing system database in umts system | |
KR930010951B1 (en) | Database in switching centre |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
G160 | Decision to publish patent application | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20070115 Year of fee payment: 15 |
|
LAPS | Lapse due to unpaid annual fee |