KR100297559B1 - Timer identifier protecting method of cdma system - Google Patents

Timer identifier protecting method of cdma system Download PDF

Info

Publication number
KR100297559B1
KR100297559B1 KR1019970071201A KR19970071201A KR100297559B1 KR 100297559 B1 KR100297559 B1 KR 100297559B1 KR 1019970071201 A KR1019970071201 A KR 1019970071201A KR 19970071201 A KR19970071201 A KR 19970071201A KR 100297559 B1 KR100297559 B1 KR 100297559B1
Authority
KR
South Korea
Prior art keywords
identifier
timer
key
protection
bits
Prior art date
Application number
KR1019970071201A
Other languages
Korean (ko)
Other versions
KR19990051807A (en
Inventor
윤지훈
Original Assignee
박종섭
주식회사 하이닉스반도체
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 박종섭, 주식회사 하이닉스반도체 filed Critical 박종섭
Priority to KR1019970071201A priority Critical patent/KR100297559B1/en
Publication of KR19990051807A publication Critical patent/KR19990051807A/en
Application granted granted Critical
Publication of KR100297559B1 publication Critical patent/KR100297559B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/24Radio transmission systems, i.e. using radiation field for communication between two or more posts
    • H04B7/26Radio transmission systems, i.e. using radiation field for communication between two or more posts at least one of which is mobile
    • H04B7/2628Radio transmission systems, i.e. using radiation field for communication between two or more posts at least one of which is mobile using code-division multiple access [CDMA] or spread spectrum multiple access [SSMA]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Storage Device Security (AREA)

Abstract

PURPOSE: A timer identifier protecting method of a CDMA system is provided to improve a reliability of a system by minimizing a timer cancellation probability due to a program error by effectively protecting a timer identifier provided from an operation system on a real time basis. CONSTITUTION: When a timer registration request is received, a non-use identifier(ID) is searched(S1,S2). A key is generated according to a predetermined method and its value is stored in a specific region of a memory controlling the identifier(ID)(S3). The key and the identifier(ID) are combined to create a protective identifier P and returns(S4).

Description

씨디엠에이 시스템의 타이머 식별자 보호방법How to protect timer identifier in CDM system

본 발명은 씨디엠에이(코드 분할 다중 방식;이하 CDMA라 함)시스템에 관한 것으로, 특히 실시간 운영체제가 제공하는 타이머 식별자를 효과적으로 보호하여 프로그램 오류에 의해 시스템에 악영향을 미치는 것을 방지하여 시스템의 신뢰성을 향상시킬 수 있도록 하는 CDMA시스템의 타이머 식별자 보호방법에 관한 것이다.The present invention relates to a CDA (code division multiplexing) system, and in particular, to effectively protect the timer identifier provided by the real-time operating system to prevent the system from being adversely affected by a program error to improve the reliability of the system A timer identifier protection method of a CDMA system can be improved.

일반적으로 실시간 운영체제가 제공하는 타이머 식별자를 효과적으로 보호하여 시스템의 신뢰도를 향상시키는데 이용될 수 있다.In general, it can be used to improve the reliability of the system by effectively protecting the timer identifier provided by the real-time operating system.

실시간 운영체제는 타이머를 등록하고 취소하는 기능을 기본적으로 제공하고 있다.The real-time operating system basically provides the ability to register and cancel timers.

타이머 등록 요구가 들어오면 운영체제는 타이머를 생성하고 타이머 식별자를 반환하며 반환된 타이머 식별자는 해당 타이머의 취소에 사용된다.When a timer registration request comes in, the operating system creates a timer, returns a timer identifier, and the returned timer identifier is used to cancel the timer.

타이머 취소 요구가 들어오면 운영체제는 타이머 식별자에 해당하는 타이머를 삭제한다.When a timer cancellation request comes in, the operating system deletes the timer corresponding to the timer identifier.

종래의 실시간 운영체제들은 최대 생성 가능한 타이머의 수가 N인 경우 0부터 N-1까지의 타이머 식별자를 제공한다.Conventional real-time operating systems provide timer identifiers from 0 to N-1 when the maximum number of timers that can be generated is N.

동적으로 타이머가 생성되고 취소되는 환경에서 프로그램 오류에 의해 취소되지 말아야 하는 타이머가 취소 되는 경우 시스템에 따라 치명적인 악영향을 줄 수 있다.In a situation where a timer is dynamically generated and canceled, if a timer is canceled which should not be canceled by a program error, the system may have a fatal adverse effect.

일예로, 원자력 발전소에서 원자로의 상태를 주기적으로 검사하는 타이머가 프로그램 오류에 의해 취소되는 경우 그 부작용은 매우 심하다.For example, if a timer that periodically checks the state of a reactor in a nuclear power plant is canceled by a program error, the side effects are very severe.

여러 가능한 오류중 대표적인 예를들면 다음과 같다. 첫 번째 예로,응용 프로그램에서 초기화 되지 않은 타이머 식별자를 타이머 취소에 사용하는 경우이다.Representative examples of various possible errors are as follows. The first example is when an application uses a timer identifier that has not been initialized to cancel the timer.

즉, 프로세서 A는 주기 T인 타이머를 등록하고 식별자 0을 반환받으며,프로세서 B에 해당하는 응용 프로그램의 오류로 초기화되어 있지 않은 변수 TID를 타이머 취소 요구에 사용한 후 초기화되어 있지 않은 변수 TID의 값이 0인 경우, 식별자 O인 타이머가 취소되며,이어 프로세서 A가 등록한 주기 T의 타이머는 더 이상 수행되지 않는다.That is, processor A registers a timer with period T and receives the identifier 0, uses a variable TID that is not initialized due to an error in the application corresponding to processor B in the timer cancel request, and then the value of the variable TID that is not initialized If 0, the timer with identifier O is canceled, and then the timer of period T registered by processor A is no longer performed.

두 번째 예로, 타이머 X가 취소되어 해당 식별자는 다른 타이머 Y를 위해 할당되었는데 그 상황을 파악하지 못한 응용 프로그램이 타이머 X를 취소하려다 타이머 Y가 삭제되는 경우다.In the second example, if timer X is canceled and its identifier is assigned for another timer Y, but an application that does not understand the situation attempts to cancel timer X, timer Y is deleted.

즉,프로세서 A는 일정시간 T가 지난후 관련 기능을 수행하고 자동적으로 취소되는 타이머 X를 등록하고 식별자 N을 반환받으며, 시간 T가 지난후 타이머 X는 관련 기능을 수행하고 자동적으로 취소되어 식별자 n은 비사용 상태가 되고,프로세서 B가 타이머 Y를 등록하고 식별자 n을 반환받은 후 프로세서 A는 타이머 X가 이미 삭제된 것을 파악하지 못하고 식별자 N을 사용하여 타이머를 취소시키며, 프로세서 B가 등록한 타이머 Y가 삭제된다.That is, processor A registers timer X, which performs the relevant function and automatically cancels after a certain period of time T, and returns identifier N. After time T, timer X performs the relevant function and automatically cancels and identifier n Becomes unused, and after processor B registers timer Y and receives the identifier n, processor A does not know that timer X has already been deleted and cancels the timer using identifier N, and timer Y registered by processor B Is deleted.

본 발명은 이와같은 종래의 문제점을 해결하기 위하여 안출한 것으로, 본 발명의 목적은 본 발명은 타이머 식별자에 열쇠에 해당하는 키 값이 추가된 보호 식별자를 이용하여 프로그램 오류에 의해 취소되지 말아야 되는 타이머가 취소되는 확률을 최대한 낮출 수 있는 CDMA시스템의 타이머 식별자 보호방법을 제공하는데 있다.The present invention has been made to solve such a conventional problem, and an object of the present invention is a timer that should not be canceled by a program error using a protection identifier in which a key value corresponding to a key is added to a timer identifier. The present invention provides a method for protecting a timer identifier of a CDMA system, which can minimize the probability of the cancellation.

이와같은 목적을 달성하기 위한 본 발명은 타이머 등록 요구가 들어오면 미사용중인 식별자를 찾아내어 정해진 방식에 의해 생성되는 키를 만들어 특정 영역에 저장하며 키와 식별자를 결합하여 보호 식별자를 만드는 타이머 등록과정; 보호 식별자에 타이머 최소 요구가 들어오면 식별자와 키를 분리하여 식별자에 해당하는 메모리에 저장된 키와 비교하는 타이머 취소과정으로 이루어짐을 특징으로 한다.In order to achieve the above object, the present invention provides a timer registration process for finding an unused identifier when a timer registration request is received, creating a key generated by a predetermined method, storing the generated key in a specific area, and creating a protection identifier by combining the key and the identifier; When a timer minimum request is received in the protection identifier, a timer cancellation process is performed in which the identifier and the key are separated and compared with the key stored in the memory corresponding to the identifier.

도 1은 본 발명의 보호 식별자의 구성을 나타낸 도면1 is a diagram showing the configuration of a protection identifier of the present invention;

도 2는 본 발명의 보호 식별자를 사용한 타이머 등록과정을 나타낸 동작흐름도2 is a flowchart illustrating a timer registration process using a protection identifier according to the present invention.

도 3은 본 발명의 보호 식별자를 사용한 타이머 취소과정을 나타낸 동작흐름도3 is a flowchart illustrating a timer cancellation process using the protection identifier according to the present invention.

이하, 본 발명의 실시예를 첨부된 도면을 참고로 하여 상세히 설명하면 다음과 같다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 보호 식별자를 나타낸 것으로, 이 보호 식별자는 32비트로 구성되며 X 비트의 키(KEY)와 Y비트의 식별자(ID)를 가진다. 여기서 X+Y는 31이여야 하며,최상위 비트는 항상 0이다.1 shows a protection identifier of the present invention, which is composed of 32 bits and has a key of X bits and an ID of Y bits. Where X + Y must be 31 and the most significant bit is always zero.

도 2는 본 발명의 보호 식별자를 사용한 타이머 등록과정을 나타낸 동작흐름도이고, 도 3은 본 발명의 보호 식별자를 사용한 타이머 취소과정을 나타낸 동작흐름도이다.2 is a flowchart illustrating a timer registration process using the protection identifier of the present invention, and FIG. 3 is a flowchart illustrating a timer cancellation process using the protection identifier of the present invention.

본 발명의 보호 식별자를 사용한 타이머 등록 과정을 살펴보면,먼저 타이머 등록 요구가 들어오면 미사용중인 식별자(ID)를 찾아낸다(S1,S2).Looking at the timer registration process using the protection identifier of the present invention, first finds the identifier (ID) that is not in use when the timer registration request (S1, S2).

그리고 정해진 방식에 의해 생성되는 키(KEY)를 만들고 이 값을 식별자 (ID)를 제어하는 메모리의 특정 영역에 저장한다(S3).In addition, a key generated by a predetermined method is generated, and the value is stored in a specific area of the memory that controls the identifier ID (S3).

다음에 키(KEY)와 식별자(ID)를 결합하여 보호 식별자 P를 만들어 리턴한다(S4).Next, the protection identifier P is generated and returned by combining the key and the identifier ID (S4).

한편, 보호 식별자 P를 사용한 타이머의 취소 과정을 살펴보면, 보호 식별자 P에 타이머 최소 요구가 들어오면 식별자(ID)와 키(KEY)를 분리한다(S11,S12)On the other hand, looking at the cancellation process of the timer using the protection identifier P, when the timer minimum request is received in the protection identifier P, the identifier (ID) and the key (KEY) are separated (S11, S12).

분리된 키(KEY)를 식별자(ID)에 해당하는 제어 메모리에 저장된 키(KEY)와 비교하여 동일하면 해당 타이머를 취소하고 다르면 타이머 취소가 실패되었음을 알리는 오류값을 반환한다(S13-S15).If the same key is compared with the key stored in the control memory corresponding to the identifier ID, the corresponding key is canceled and if different, an error value indicating that the timer cancellation has failed is returned (S13-S15).

이상에서 설명한 바와같은 본 발명은 실시간 운영체제가 제공하는 타이머 식별자를 효과적으로 보호하여 프로그램 오류에 의한 타이머 취소 가능성을 최소화함으로써 시스템의 신뢰성을 향상시킬 수 있는 효과가 있다.As described above, the present invention has the effect of effectively protecting the timer identifier provided by the real-time operating system, thereby minimizing the possibility of timer cancellation due to a program error, thereby improving the reliability of the system.

Claims (3)

CDMA시스템의 32비트 프로세서용 실시간 운영체제에 있어서,In the real-time operating system for 32-bit processors of the CDMA system, 타이머 등록 요구가 들어오면 미사용중인 식별자를 찾아내어 정해진 방식에 의해 생성되는 키를 만들고 이 값을 식별자를 제어하는 메모리의 특정 영역에 저장하며 키와 식별자를 결합하여 보호 식별자를 만들어 리턴하는 타이머 등록과정과;When a timer registration request comes in, it finds an unused identifier, creates a key generated by a specified method, stores this value in a specific area of the memory that controls the identifier, and creates and returns a protection identifier by combining the key and the identifier. and; 보호 식별자에 타이머 최소 요구가 들어오면 식별자와 키를 분리하고,분리된 키를 식별자에 해당하는 제어 메모리에 저장된 키와 비교하여 동일하면 해당 타이머를 취소하고 다르면 타이머 취소가 실패되었음을 알리는 오류값을 반환하는 타이머 취소과정으로 이루어진 것을 특징으로 하는 씨디엠에이(CDMA)시스템의 타이머 식별자 보호방법.When the protection identifier receives a timer minimum request, it separates the identifier from the key, compares the separated key with the key stored in the control memory corresponding to the identifier, cancels the timer if it is the same, and returns an error value indicating that the timer cancel failed if different. A method of protecting a timer identifier of a CDA system, characterized in that the timer cancellation process. 제 1항에 있어서, 상기 보호 식별자가, 32비트로 구성되며 X 비트의 키와 Y비트의 식별자를 갖는 것을 특징으로 하는 씨디엠에이(CDMA)시스템의 타이머 식별자 보호방법.2. The method of claim 1, wherein the protection identifier is composed of 32 bits and has a key of X bits and an identifier of Y bits. 제 2항에 있어서,상기 X비트+Y비트는 31이여야 하며,최상위 비트는 항상 0인 것을 특징으로 하는 씨디엠에이(CDMA)시스템의 타이머 식별자 보호방법.The method of claim 2, wherein the X bit + Y bit must be 31 and the most significant bit is always 0. 4.
KR1019970071201A 1997-12-20 1997-12-20 Timer identifier protecting method of cdma system KR100297559B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970071201A KR100297559B1 (en) 1997-12-20 1997-12-20 Timer identifier protecting method of cdma system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970071201A KR100297559B1 (en) 1997-12-20 1997-12-20 Timer identifier protecting method of cdma system

Publications (2)

Publication Number Publication Date
KR19990051807A KR19990051807A (en) 1999-07-05
KR100297559B1 true KR100297559B1 (en) 2001-08-07

Family

ID=37528190

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970071201A KR100297559B1 (en) 1997-12-20 1997-12-20 Timer identifier protecting method of cdma system

Country Status (1)

Country Link
KR (1) KR100297559B1 (en)

Also Published As

Publication number Publication date
KR19990051807A (en) 1999-07-05

Similar Documents

Publication Publication Date Title
US8010788B2 (en) Program security through stack segregation
KR970701469A (en) Tracing with keys and locks on a telecommunication network
US20040168078A1 (en) Apparatus, system and method for protecting function return address
US5361356A (en) Storage isolation with subspace-group facility
Namjoo et al. Watchdog processors and capability checking
WO2002093334A3 (en) Temporal access control for computer virus outbreaks
ES8405972A1 (en) Data processing system with virtual machines.
US4519036A (en) Program storage hardware with security scheme
CA2288892A1 (en) Method for preventing buffer deadlock in dataflow computations
KR100297559B1 (en) Timer identifier protecting method of cdma system
Madeira et al. On-line signature learning and checking
KR100791815B1 (en) Privilege promotion based on check of previous privilege level
US4660142A (en) Digital data processing system employing an object-based addressing system with a single object table
EP0117930B1 (en) Interactive work station with auxiliary microprocessor for storage protection
JPH011038A (en) Control memory error correction control method
RU2001112417A (en) METHOD FOR PROTECTING ENTRANCE ADDRESSES
JPS6232555A (en) Memory protecting system for multi-processor system
Corsini et al. The implementation of abstract objects in a capability based addressing architecture
GB2114331A (en) Program storage hardware
JPS6488834A (en) Program addition correcting system
CN116305089A (en) Method and system for realizing interrupt isolation in trusted execution environment of RISC-V architecture
Vasek et al. A comparison of two context allocation approaches for fast protected calls
JPH04284555A (en) Processor and processing method for executing outside ring transition
WO1990005951A1 (en) Method of handling unintended software interrupt exceptions
JPH0619703A (en) Data processor

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee