KR102438865B1 - Method and apparatus for security of data using text filtering - Google Patents

Method and apparatus for security of data using text filtering Download PDF

Info

Publication number
KR102438865B1
KR102438865B1 KR1020220031331A KR20220031331A KR102438865B1 KR 102438865 B1 KR102438865 B1 KR 102438865B1 KR 1020220031331 A KR1020220031331 A KR 1020220031331A KR 20220031331 A KR20220031331 A KR 20220031331A KR 102438865 B1 KR102438865 B1 KR 102438865B1
Authority
KR
South Korea
Prior art keywords
terminal
data
unit
payload
analysis
Prior art date
Application number
KR1020220031331A
Other languages
Korean (ko)
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 KR1020220031331A priority Critical patent/KR102438865B1/en
Application granted granted Critical
Publication of KR102438865B1 publication Critical patent/KR102438865B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/52Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
    • G06F21/53Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow by executing in a restricted environment, e.g. sandbox or secure virtual machine
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3438Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Bioethics (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Medical Informatics (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiments relate to a data security method using text filtering. According to embodiments, the method comprises: an operation of detecting, by an event detection part of a terminal, an operation signal of an Android application package file (APK); an operation of transmitting, by a transceiver of the terminal, a data packet stored in the terminal to a security server, which is externally transmitted according to a transmission request of the Android application package file, in response to the operation signal; and an operation of analyzing, by a correlation analysis part of the security server, a correlation of the data packet and obtaining the correlation instant information of the data packet. Therefore, the present invention is capable of reducing a load.

Description

텍스트 필터링을 이용한 데이터 보안 방법{METHOD AND APPARATUS FOR SECURITY OF DATA USING TEXT FILTERING}Data security method using text filtering

본 발명의 실시예들은 데이터를 보안하는 기술에 관한 것으로, 텍스트 필터링을 이용하여 데이터를 보안하는 기술에 대한 것이다.Embodiments of the present invention relate to a technology for securing data, and to a technology for securing data using text filtering.

본 발명은 피싱 범죄를 통해 유출된 피해자의 개인정보 data를 추적 및 검출에 관한 것으로, 보다 구체적으로는, 피해자 개인정보 data의 키워드를 추출하여 온라인 상 유통되고 있는 키워드들과 비교하여 피해자의 개인정보 data를 추적 및 검출할 수 있다.The present invention relates to tracking and detecting a victim's personal information data leaked through a phishing crime, and more specifically, extracting a keyword of the victim's personal information data and comparing it with keywords distributed online Data can be tracked and detected.

실시예들은, 웹 크롤링된 텍스트 데이터와 사용자의 개인 정보의 매칭하기 전에 텍스트 데이터의 가공된 정도가 임계값 미만인 경우로 필터링하여 매칭 횟수를 줄임으로써 부하를 줄일 수 있는 데이터 보안 시스템이 제공된다.Embodiments provide a data security system that can reduce the load by reducing the number of matching by filtering the processed degree of text data before the matching of web crawled text data and the user's personal information is less than a threshold value.

실시예들에서 이루고자 하는 기술적 과제들은 이상에서 언급한 사항들로 제한되지 않으며, 언급하지 않은 또 다른 기술적 과제들은 이하 설명할 다양한 실시예들로부터 당해 기술분야에서 통상의 지식을 가진 자에 의해 고려될 수 있다.The technical problems to be achieved in the embodiments are not limited to those mentioned above, and other technical problems not mentioned may be considered by those of ordinary skill in the art from various embodiments to be described below. can

실시예들에 따르면, 단말기의 이벤트 감지부에 의해, 안드로이드 어플리케이션 패키지 파일(Android application package file, APK)의 동작 신호를 감지하는 동작; 상기 동작 신호에 반응하여, 상기 단말기의 트랜시버에 의해, 상기 안드로이드 어플리케이션 패키지 파일의 전송 요청에 의해 외부로 전송되는 상기 단말기에 저장된 데이터 패킷을 보안 서버로 전송하는 동작; 상기 보안 서버의 상관관계 분석부에 의해, 상기 데이터 패킷의 상관관계를 분석하고, 상기 데이터 패킷의 상관관계 인스턴트 정보를 획득하는 동작; 상기 보안 서버의 매칭부에 의해, 상기 데이터 패킷의 상관관계 인스턴트 정보에 매칭되는 상관관계 등록 정보를 상기 보안 서버의 가상화 데이터베이스에서 검색하는 동작; 상기 상관관계 인스턴트 정보와 매칭되는 상기 상관관계 등록 정보가 검색된 경우에, 상기 보안 서버의 트랜시버에 의해, 전송 차단 요청 신호를 상기 단말기의 트랜시버로 전송하는 동작; 상기 상관관계 인스턴트 정보와 매칭되는 상기 상관관계 등록 정보가 검색되지 않은 경우에, 상기 단말기의 제어부에 의해, 상기 데이터 패킷의 통신 관리 정보를 기초로 상기 데이터 패킷을 네트워크로 전송할지 여부를 결정하는 동작; 상기 시뮬레이션 수행부에 의해, 상기 미러 패킷을 상기 단말기의 가상 머신에 입력하여 시뮬레이션을 수행하는 동작; 상기 단말기의 스위치에 의해, 상기 시뮬레이션의 결과를 기초로 상기 단말기의 트랜시버로 상기 데이터 패킷을 전달할지 여부를 결정하는 동작; 상기 단말기의 크롤링부에 의해, 상기 시뮬레이션의 결과를 기초로 상기 단말기의 트랜시버로 상기 데이터 패킷을 전달하기로 결정한 경우, 상기 데이터 패킷에 포함된 사용자의 개인 정보와 관련된 텍스트 데이터를 수집하는 동작; 상기 단말기의 텍스트 매칭부에 의해, 상기 개인 정보와 관련된 텍스트 데이터의 가공률을 계산하는 동작; 및 상기 단말기의 텍스트 매칭부에 의해, 상기 텍스트 데이터의 가공률이 임계값 미만인 경우에 상기 데이터 패킷에 포함된 사용자의 개인 정보가 노출되었다고 판단하는 동작을 포함하고, 상기 단말기의 페이로드 분석부에 의해 상기 전송할지 여부를 결정하는 동작은, 상기 단말기의 페이로드 분석부에 의해, 상기 페이로드의 분석의 결과를 기초로 상기 미러 패킷을 시뮬레이션 수행부로 전달할지 여부를 결정하는 동작을 포함하고, 상기 페이로드 분석 모델은 프로토콜 분석부, 사용자 행위 분석부, 패킷 분석부, 사용자 정의 비정상성 분석부 및 비정상성 특징 분석부를 포함하고, 상기 비정상성 특징 벡터를 출력하는 동작은, 상기 단말기의 페이로드 분석부에 의해, 상기 프로토콜 분석부에 상기 미러 패킷의 프로토콜 정보를 입력하여 프로토콜 분석 벡터를 출력하는 동작; 상기 단말기의 페이로드 분석부에 의해, 상기 사용자 행위 분석부에 상기 데이터 패킷과 관련된 사용자 행위 정보를 입력하여 사용자 행위 분석 벡터를 출력하는 동작; 상기 단말기의 페이로드 분석부에 의해, 상기 패킷 분석부에 상기 미러 패킷의 페이로드를 입력하여 패킷 분석 벡터를 출력하는 동작; 상기 단말기의 페이로드 분석부에 의해, 상기 사용자 정의 비정상성 분석부에 상기 미러 패킷의 페이로드를 입력하여 사용자 정의 비정상성 분석 벡터를 출력하는 동작; 상기 단말기의 페이로드 분석부에 의해, 상기 프로토콜 분석 벡터, 상기 사용자 행위 분석 벡터, 상기 패킷 분석 벡터 및 상기 사용자 정의 비정상성 분석 벡터에 콘케티네이션(concatenation)을 수행하여 결합 벡터를 출력하는 동작; 및 상기 단말기의 페이로드 분석부에 의해, 상기 결합 벡터를 상기 비정상성 특징 분석부에 입력하여 비정상성 특징 벡터를 출력하는 동작을 포함하고, 상기 중심 그룹 입체 모델은 정상인 것으로 판단되고 임계 밀도 이상의 복수의 정상 특징 벡터를 포함하는 중심 그룹으로부터 법선 방향으로 최소 경계 거리만큼 떨어진 상기 다차원 공간의 입체 모델을 나타내고, 상기 비정상성 특징 벡터가 다차원 공간의 중심 그룹 입체 모델에 포함되지 않는 경우에, 상기 단말기의 페이로드 분석부에 의해, 상기 비정상성 특징 벡터를 기초로 상기 중심 그룹 입체 모델을 갱신하는 동작을 더 포함할 수 있다.According to embodiments, the operation of detecting an operation signal of an Android application package file (Android application package file, APK) by the event detection unit of the terminal; transmitting, by the transceiver of the terminal in response to the operation signal, a data packet stored in the terminal, which is transmitted to the outside in response to a transmission request of the Android application package file, to a security server; analyzing, by the correlation analysis unit of the security server, the correlation of the data packet, and obtaining correlation instance information of the data packet; retrieving, by the matching unit of the security server, correlation registration information matching the correlation instance information of the data packet in the virtualization database of the security server; transmitting, by the transceiver of the security server, a transmission blocking request signal to the transceiver of the terminal when the correlation registration information matching the correlation instance information is found; When the correlation registration information matching the correlation instance information is not found, determining whether to transmit the data packet to the network based on the communication management information of the data packet, by the control unit of the terminal ; performing a simulation by inputting the mirror packet into the virtual machine of the terminal by the simulation performing unit; determining, by the switch of the terminal, whether to forward the data packet to the transceiver of the terminal based on a result of the simulation; collecting, by the crawling unit of the terminal, text data related to the user's personal information included in the data packet when it is determined to transmit the data packet to the transceiver of the terminal based on the result of the simulation; calculating, by the text matching unit of the terminal, a processing rate of text data related to the personal information; and determining, by the text matching unit of the terminal, that the user's personal information included in the data packet has been exposed when the processing rate of the text data is less than a threshold, wherein the payload analysis unit of the terminal includes: Determining whether to transmit the packet includes determining whether to transmit the mirror packet to a simulation performing unit based on a result of the analysis of the payload by the payload analysis unit of the terminal, The payload analysis model includes a protocol analysis unit, a user behavior analysis unit, a packet analysis unit, a user-defined abnormality analysis unit, and an abnormality characteristic analysis unit, and the operation of outputting the abnormality characteristic vector includes: Payload analysis of the terminal outputting a protocol analysis vector by inputting, by a unit, protocol information of the mirror packet to the protocol analysis unit; outputting a user behavior analysis vector by inputting user behavior information related to the data packet to the user behavior analysis unit by the payload analyzer of the terminal; outputting a packet analysis vector by inputting the payload of the mirror packet to the packet analysis unit by the payload analysis unit of the terminal; outputting a user-defined anomaly analysis vector by inputting the payload of the mirror packet to the user-defined abnormality analysis unit by the payload analysis unit of the terminal; outputting a concatenated vector by performing concatenation on the protocol analysis vector, the user behavior analysis vector, the packet analysis vector, and the user-defined anomaly analysis vector by the payload analysis unit of the terminal; and inputting the combined vector into the abnormality characteristic analysis unit by the payload analysis unit of the terminal to output the abnormality characteristic vector, wherein the central group three-dimensional model is determined to be normal, and a plurality of pluralities above a threshold density are determined to be normal. represents the three-dimensional model of the multi-dimensional space separated by a minimum boundary distance in the normal direction from the central group including the normal feature vector of The method may further include updating, by the payload analyzer, the central group three-dimensional model based on the non-stationary feature vector.

상기 가공률을 계산하는 동작은, 상기 단말기의 텍스트 매칭부에 의해, 상기 개인 정보의 프리시드 수치 및 복수의 C&C 서버 사이에서 상기 텍스트 데이터가 전달된 횟수를 기초로 상기 개인 정보와 관련된 텍스트 데이터의 가공률을 계산하는 동작을 포함할 수 있다.The operation of calculating the processing rate includes, by the text matching unit of the terminal, the number of times the text data is transmitted between the pre-seed value of the personal information and the plurality of C&C servers. It may include an operation of calculating the machining rate.

상기 보안 서버의 가상화부에 의해, 상기 보안 서버의 내부 데이터 베이스 및 하나 이상의 외부 서버의 외부 데이터 베이스를 가상화하여 가상화 데이터 베이스를 생성하는 동작을 더 포함할 수 있다.The method may further include, by the virtualization unit of the security server, virtualizing an internal database of the security server and an external database of one or more external servers to generate a virtualized database.

상기 가상화 데이터 베이스를 생성하는 동작은, 상기 보안 서버의 내부 데이터 베이스에 저장된 상관관계 등록 정보 및 상기 외부 데이터 베이스에 저장된 상관관계 등록 정보에 대한 상관관계 하이어라키 정보를 생성하는 동작을 포함하고, 가상화 데이터베이스에서 검색하는 동작은, 상기 상관관계 하이어라키 정보를 기초로 상기 상관관계 인스턴트 정보에 매칭되는 상관관계 등록 정보를 검색하는 동작을 포함할 수 있다.The operation of generating the virtualized database includes generating correlation hierarchical information for correlation registration information stored in an internal database of the security server and correlation registration information stored in the external database, virtualization database The operation of retrieving may include an operation of searching for correlation registration information matching the correlation instance information based on the correlation hierarchical information.

상기 단말기의 제어부에 의해 상기 전송할지 여부를 결정하는 동작은, 상기 상관관계 인스턴트 정보와 매칭되는 상기 상관관계 등록 정보가 검색되지 않은 경우에, 상기 단말기의 제어부에 의해, 상기 데이터 패킷의 통신 관리 정보를 기초로 상기 데이터 패킷을 상기 단말기의 스위치로 전달할지 여부를 결정하는 동작을 포함하고, 상기 단말기의 스위치에 의해, 상기 데이터 패킷에 대해 패턴 분석을 수행하는 동작; 및 상기 단말기의 스위치에 의해, 상기 패턴 분석의 결과를 기초로 상기 데이터 패킷을 상기 네트워크로 전송할지 여부를 결정하는 동작을 더 포함할 수 있다.In the case where the correlation registration information matching the correlation instance information is not found, the determining whether to transmit by the control unit of the terminal includes, by the control unit of the terminal, communication management information of the data packet determining whether to forward the data packet to a switch of the terminal based on and determining, by the switch of the terminal, whether to transmit the data packet to the network based on a result of the pattern analysis.

상기 미러 패킷을 시뮬레이션 수행부로 전달할지 여부를 결정하는 동작은, 상기 시뮬레이션 수행부에 의해, 상기 미러 패킷을 상기 단말기의 가상 머신에 입력하여 시뮬레이션을 수행하는 동작; 및 상기 단말기의 스위치에 의해, 상기 시뮬레이션의 결과를 기초로 상기 단말기의 트랜시버로 상기 데이터 패킷을 전달할지 여부를 결정하는 동작을 더 포함할 수 있다.The operation of determining whether to transmit the mirror packet to the simulation performing unit may include, by the simulation performing unit, inputting the mirror packet into a virtual machine of the terminal to perform a simulation; and determining, by the switch of the terminal, whether to transmit the data packet to the transceiver of the terminal based on a result of the simulation.

상기 텍스트 데이터를 입력으로 개인 정보 관련도 모델을 이용하여 복수의 개인 정보 중의 하나의 개인 정보를 분류하는 동작을 더 포함하고, 상기 개인 정보 관련도 모델은 입력 레이어, 하나 이상의 히든 레이어 및 출력 레이어를 포함하고, 학습 텍스트 데이터 및 정답 개인 정보의 레이블로 구성된 각각의 학습 데이터는 상기 개인 정보 관련도 모델의 상기 입력 레이어에 입력되어 상기 하나 이상의 히든 레이어 및 출력 레이어를 통과하여 출력 벡터를 출력하고, 상기 출력 벡터는 상기 출력 레이어에 연결된 손실함수 레이어에 입력되고, 상기 손실함수 레이어는 상기 출력 벡터와 각각의 학습 데이터에 대한 정답 벡터를 비교하는 손실 함수를 이용하여 손실값을 출력하고, 상기 개인 정보 관련도 모델의 파라미터는 상기 손실값이 작아지는 방향으로 학습되고,The method further includes an operation of classifying one piece of personal information among a plurality of personal information using a personal information relevance model as an input of the text data, wherein the personal information relevance model includes an input layer, one or more hidden layers and an output layer. Including, each training data consisting of training text data and a label of correct personal information is input to the input layer of the personal information relevance model and passes through the one or more hidden layers and output layers to output an output vector, The output vector is input to a loss function layer connected to the output layer, and the loss function layer outputs a loss value using a loss function that compares the output vector with a correct vector for each training data, and the personal information related The parameters of the model are learned in a direction in which the loss value becomes smaller,

[수학식][Equation]

Figure 112022027163467-pat00001
Figure 112022027163467-pat00001

상기 손실 함수는 상기 수학식을 따르고, 상기 수학식에서, n은 클래스 별 학습 데이터의 수, y와 j는 클래스를 나타내는 식별자, C는 상수값, M은 클래스의 개수, x_y는 학습 데이터가 클래스 y에 속할 확률값, x_j는 학습 데이터가 클래스 j에 속할 확률값, L은 손실값을 의미할 수 있다.The loss function follows the above equation, where n is the number of training data for each class, y and j are identifiers representing classes, C is a constant value, M is the number of classes, and x_y is the number of training data for each class. A probability value belonging to , x_j may mean a probability value that the training data belongs to class j, and L may mean a loss value.

실시예들에 따르면, 데이터 보안 시스템은 웹 크롤링된 텍스트 데이터와 사용자의 개인 정보의 매칭하기 전에 텍스트 데이터의 가공된 정도가 임계값 미만인 경우로 필터링하여 매칭 횟수를 줄임으로써 부하를 줄일 수 있다. According to embodiments, the data security system may reduce the load by reducing the number of matching by filtering the case where the processing degree of the text data is less than a threshold before matching between the web crawled text data and the user's personal information.

실시예들로부터 얻을 수 있는 효과들은 이상에서 언급된 효과들로 제한되지 않으며, 언급되지 않은 또 다른 효과들은 이하의 상세한 설명을 기반으로 당해 기술분야에서 통상의 지식을 가진 자에게 명확하게 도출되고 이해될 수 있다.Effects obtainable from the embodiments are not limited to the effects mentioned above, and other effects not mentioned are clearly derived and understood by those of ordinary skill in the art based on the following detailed description. can be

실시예들에 대한 이해를 돕기 위해 상세한 설명의 일부로 포함된, 첨부 도면은 다양한 실시예들을 제공하고, 상세한 설명과 함께 다양한 실시예들의 기술적 특징을 설명한다.
도 1은 일 실시예에 따른 전자 장치의 구성을 나타내는 도면이다.
도 2는 일 실시예에 따른 프로그램의 구성을 나타내는 도면이다.
도 3은 일 실시예에 따른 데이터 보안 시스템의 전체 구성을 도시한 도면이다.
도 4는 일 실시예에 따른 보안 서버의 구성을 도시한 도면이다.
도 5는 일 실시예에 따른 단말기의 구성을 도시한 도면이다.
도 6은 일 실시예에 따른 데이터 보안 방법의 일례를 나타내는 흐름도이다.
도 7은 일 실시예에 따른 다차원 공간의 중심 그룹 입체 모델을 도시한 도면이다.
도 8은 일 실시예에 따른 데이터 보안 방법의 동작을 도시한 흐름도이다.
BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are included as part of the detailed description to aid understanding of the embodiments, provide various embodiments and, together with the detailed description, explain technical features of the various embodiments.
1 is a diagram illustrating a configuration of an electronic device according to an exemplary embodiment.
2 is a diagram illustrating a configuration of a program according to an exemplary embodiment.
3 is a diagram illustrating an overall configuration of a data security system according to an embodiment.
4 is a diagram illustrating a configuration of a security server according to an embodiment.
5 is a diagram illustrating a configuration of a terminal according to an embodiment.
6 is a flowchart illustrating an example of a data security method according to an embodiment.
7 is a diagram illustrating a central group three-dimensional model of a multidimensional space according to an exemplary embodiment.
8 is a flowchart illustrating an operation of a data security method according to an embodiment.

이하의 실시예들은 실시예들의 구성요소들과 특징들을 소정 형태로 결합한 것들이다. 각 구성요소 또는 특징은 별도의 명시적 언급이 없는 한 선택적인 것으로 고려될 수 있다. 각 구성요소 또는 특징은 다른 구성요소나 특징과 결합되지 않은 형태로 실시될 수 있다. 또한, 일부 구성요소들 및/또는 특징들을 결합하여 다양한 실시예들을 구성할 수도 있다. 다양한 실시예들에서 설명되는 동작들의 순서는 변경될 수 있다. 어느 실시예의 일부 구성이나 특징은 다른 실시예에 포함될 수 있고, 또는 다른 실시예의 대응하는 구성 또는 특징과 교체될 수 있다.The following embodiments combine elements and features of the embodiments in a predetermined form. Each component or feature may be considered optional unless explicitly stated otherwise. Each component or feature may be implemented in a form that is not combined with other components or features. In addition, various embodiments may be configured by combining some components and/or features. The order of operations described in various embodiments may be changed. Some features or features of one embodiment may be included in another embodiment, or may be replaced with corresponding features or features of another embodiment.

도면에 대한 설명에서, 다양한 실시예들의 요지를 흐릴 수 있는 절차 또는 단계 등은 기술하지 않았으며, 당해 기술분야에서 통상의 지식을 가진 자의 수준에서 이해할 수 있을 정도의 절차 또는 단계는 또한 기술하지 아니하였다.In the description of the drawings, procedures or steps that may obscure the gist of various embodiments are not described, and procedures or steps that can be understood at the level of those of ordinary skill in the art are also not described. did.

명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함(comprising 또는 including)"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다. 또한, 명세서에 기재된 "...부", "...기", "모듈" 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어나 소프트웨어 또는 하드웨어 및 소프트웨어의 결합으로 구현될 수 있다. 또한, "일(a 또는 an)", "하나(one)", "그(the)" 및 유사 관련어는 다양한 실시예들을 기술하는 문맥에 있어서(특히, 이하의 청구항의 문맥에서) 본 명세서에 달리 지시되거나 문맥에 의해 분명하게 반박되지 않는 한, 단수 및 복수 모두를 포함하는 의미로 사용될 수 있다.Throughout the specification, when a part is said to "comprising or including" a certain component, it does not exclude other components unless otherwise stated, meaning that other components may be further included. do. In addition, terms such as "... unit", "... group", and "module" described in the specification mean a unit that processes at least one function or operation, which is hardware or software or a combination of hardware and software. can be implemented as Also, "a or an", "one", "the" and like related terms are used herein in the context of describing various embodiments (especially in the context of the claims that follow). Unless otherwise indicated or clearly contradicted by context, it may be used in a sense including both the singular and the plural.

이하, 다양한 실시예들에 따른 실시 형태를 첨부된 도면을 참조하여 상세하게 설명한다. 첨부된 도면과 함께 이하에 개시될 상세한 설명은 다양한 실시예들의 예시적인 실시형태를 설명하고자 하는 것이며, 유일한 실시형태를 나타내고자 하는 것이 아니다.Hereinafter, embodiments according to various embodiments will be described in detail with reference to the accompanying drawings. DETAILED DESCRIPTION The detailed description set forth below in conjunction with the appended drawings is intended to describe exemplary embodiments of various embodiments, and is not intended to represent the only embodiments.

또한, 다양한 실시예들에서 사용되는 특정(特定) 용어들은 다양한 실시예들의 이해를 돕기 위해서 제공된 것이며, 이러한 특정 용어의 사용은 다양한 실시예들의 기술적 사상을 벗어나지 않는 범위에서 다른 형태로 변경될 수 있다.In addition, specific terms used in various embodiments are provided to help the understanding of various embodiments, and the use of these specific terms may be changed to other forms without departing from the technical spirit of various embodiments. .

도 1은 일 실시예에 따른 전자 장치의 구성을 나타내는 도면이다.1 is a diagram illustrating a configuration of an electronic device according to an exemplary embodiment.

도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다. 전자 장치(101)는 클라이언트, 단말기 또는 피어로 지칭될 수도 있다.1 is a block diagram of an electronic device 101 in a network environment 100, according to various embodiments. Referring to FIG. 1 , in a network environment 100 , an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with at least one of the electronic device 104 and the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120 , a memory 130 , an input module 150 , a sound output module 155 , a display module 160 , an audio module 170 , and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or an antenna module 197 . In some embodiments, at least one of these components (eg, the connection terminal 178 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components (eg, sensor module 176 , camera module 180 , or antenna module 197 ) are integrated into one component (eg, display module 160 ). can be The electronic device 101 may also be referred to as a client, a terminal, or a peer.

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, a program 140) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or operations. According to one embodiment, as at least part of data processing or operation, the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 . may be stored in , process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 . According to an embodiment, the processor 120 is the main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, when the electronic device 101 includes the main processor 121 and the sub-processor 123 , the sub-processor 123 uses less power than the main processor 121 or is set to be specialized for a specified function. can The auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. The secondary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or when the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to an embodiment, the coprocessor 123 (eg, an image signal processor or a communication processor) may be implemented as part of another functionally related component (eg, the camera module 180 or the communication module 190 ). have. According to an embodiment, the auxiliary processor 123 (eg, a neural network processing device) may include a hardware structure specialized for processing an artificial intelligence model. Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself on which the artificial intelligence model is performed, or may be performed through a separate server (eg, the server 108). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example. The artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176 ) of the electronic device 101 . The data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto. The memory 130 may include a volatile memory 132 or a non-volatile memory 134 .

프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130 , and may include, for example, an operating system 142 , middleware 144 , or an application 146 .

입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 150 may receive a command or data to be used by a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 . The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).

음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 155 may output a sound signal to the outside of the electronic device 101 . The sound output module 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.

디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 160 may visually provide information to the outside (eg, a user) of the electronic device 101 . The display module 160 may include, for example, a control circuit for controlling a display, a hologram device, or a projector and a corresponding device. According to an embodiment, the display module 160 may include a touch sensor configured to sense a touch or a pressure sensor configured to measure the intensity of a force generated by the touch.

오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input module 150 , or an external electronic device (eg, a sound output module 155 ) connected directly or wirelessly with the electronic device 101 . The electronic device 102) (eg, a speaker or headphones) may output a sound.

센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the sensed state. can do. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.

인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more specified protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ). According to an embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102 ). According to an embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).

햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101 . According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).

배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101 . According to one embodiment, battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.

통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication performance through the established communication channel. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a local area network (LAN) communication module, or a power line communication module). A corresponding communication module among these communication modules is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN). These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented as a plurality of components (eg, multiple chips) separate from each other. The wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 . The electronic device 101 may be identified or authenticated.

무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, a new radio access technology (NR). NR access technology includes high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency) -latency communications)). The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 192 uses various techniques for securing performance in a high-frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna. The wireless communication module 192 may support various requirements defined in the electronic device 101 , an external electronic device (eg, the electronic device 104 ), or a network system (eg, the second network 199 ). According to an embodiment, the wireless communication module 192 may include a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency for realizing URLLC ( Example: Downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less) can be supported.

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern. According to an embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is connected from the plurality of antennas by, for example, the communication module 190 . can be selected. A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, a radio frequency integrated circuit (RFIC)) other than the radiator may be additionally formed as a part of the antenna module 197 .

다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, bottom side) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and a signal ( e.g. commands or data) can be exchanged with each other.

일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to an embodiment, the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 . According to an embodiment, all or a part of operations executed in the electronic device 101 may be executed in one or more external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 needs to perform a function or service automatically or in response to a request from a user or other device, the electronic device 101 may perform the function or service itself instead of executing the function or service itself. Alternatively or additionally, one or more external electronic devices may be requested to perform at least a part of the function or the service. One or more external electronic devices that have received the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 101 . The electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include an Internet of things (IoT) device. The server 108 may be an intelligent server using machine learning and/or neural networks. According to an embodiment, the external electronic device 104 or the server 108 may be included in the second network 199 . The electronic device 101 may be applied to an intelligent service (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.

서버(108)는 전자 장치(101)가 접속되며, 접속된 전자 장치(101)로 서비스를 제공할 수 있다. 또한, 서버(108)는 회원 가입 절차를 진행하여 그에 따라 회원으로 가입된 사용자의 각종 정보를 저장하여 관리하고, 서비스에 관련된 각종 구매 및 결제 기능을 제공할 수도 있다. 또한, 서버(108)는, 사용자 간에 서비스를 공유할 수 있도록, 복수의 전자 장치(101) 각각에서 실행되는 서비스 애플리케이션의 실행 데이터를 실시간으로 공유할 수도 있다. 이러한 서버(108)는 하드웨어적으로는 통상적인 웹 서버(Web Server) 또는 왑 서버(WAP Server)와 동일한 구성을 가질 수 있다. 그러나, 소프트웨어적으로는, C, C++, Java, Visual Basic, Visual C 등 여하한 언어를 통하여 구현되어 여러 가지 기능을 하는 프로그램 모듈(Module)을 포함할 수 있다. 또한, 서버(108)는 일반적으로 인터넷과 같은 개방형 컴퓨터 네트워크를 통하여 불특정 다수 클라이언트 및/또는 다른 서버와 연결되어 있고, 클라이언트 또는 다른 서버의 작업수행 요청을 접수하고 그에 대한 작업 결과를 도출하여 제공하는 컴퓨터 시스템 및 그를 위하여 설치되어 있는 컴퓨터 소프트웨어(서버 프로그램)를 뜻하는 것이다. 또한, 서버(108)는, 전술한 서버 프로그램 이외에도, 서버(108) 상에서 동작하는 일련의 응용 프로그램(Application Program)과 경우에 따라서는 내부 또는 외부에 구축되어 있는 각종 데이터베이스(DB: Database, 이하 "DB"라 칭함)를 포함하는 넓은 개념으로 이해되어야 할 것이다. 따라서, 서버(108)는, 회원 가입 정보와, 게임에 대한 각종 정보 및 데이터를 분류하여 DB에 저장시키고 관리하는데, 이러한 DB는 서버(108)의 내부 또는 외부에 구현될 수 있다. 또한, 서버(108)는, 일반적인 서버용 하드웨어에 도스(DOS), 윈도우(windows), 리눅스(Linux), 유닉스(UNIX), 매킨토시(Macintosh) 등의 운영체제에 따라 다양하게 제공되고 있는 서버 프로그램을 이용하여 구현될 수 있으며, 대표적인 것으로는 윈도우 환경에서 사용되는 웹사이트(Website), IIS(Internet Information Server)와 유닉스환경에서 사용되는 CERN, NCSA, APPACH등이 이용될 수 있다. 또한, 서버(108)는, 서비스의 사용자 인증이나 서비스와 관련된 구매 결제를 위한 인증 시스템 및 결제 시스템과 연동할 수도 있다.The server 108 is connected to the electronic device 101 and may provide a service to the connected electronic device 101 . In addition, the server 108 may store and manage various types of information of users who have joined as members by performing a membership registration procedure, and may provide various purchase and payment functions related to services. Also, the server 108 may share execution data of a service application executed in each of the plurality of electronic devices 101 in real time so that the service can be shared among users. The server 108 may have the same configuration as a typical web server (Web Server) or WAP server (WAP Server) in terms of hardware. However, in terms of software, it may include a program module that is implemented through any language such as C, C++, Java, Visual Basic, or Visual C and performs various functions. In addition, the server 108 is generally connected to an unspecified number of clients and/or other servers through an open computer network such as the Internet, receives a request to perform a task from a client or other server, and derives and provides the work result. It means a computer system and the computer software (server program) installed therefor. In addition, the server 108, in addition to the above-described server program, a series of application programs (Application Program) operating on the server 108 and in some cases, various databases (DB: Database, hereinafter " DB") should be understood as a broad concept including. Accordingly, the server 108 classifies, stores and manages member registration information, various information and data about the game in a DB, and this DB may be implemented inside or outside the server 108 . In addition, the server 108 uses a server program that is provided in various ways according to operating systems such as DOS, Windows, Linux, UNIX, and Macintosh in general server hardware. As a representative example, a website used in a Windows environment, Internet Information Server (IIS), and CERN, NCSA, APPACH, etc. used in a Unix environment may be used. In addition, the server 108 may cooperate with an authentication system and a payment system for user authentication of a service or a purchase payment related to a service.

제1 네트워크(198) 및 제2 네트워크(199)는 단말들 및 서버들과 같은 각각의 노드 상호 간에 정보 교환이 가능한 연결 구조 또는 서버(108)와 전자 장치들(101, 104)을 연결하는 망(Network)을 의미한다. 제1 네트워크(198) 및 제2 네트워크(199)는 인터넷(Internet), LAN(Local Area Network), Wireless LAN(Wireless Local Area Network), WAN(Wide Area Network), PAN(Personal Area Network), 3G, 4G, LTE, 5G, Wi-Fi 등이 포함되나 이에 한정되지는 않는다. 제1 네트워크(198) 및 제2 네트워크(199)는 LAN, WAN 등의 폐쇄형 제1 네트워크(198) 및 제2 네트워크(199)일 수도 있으나, 인터넷(Internet)과 같은 개방형인 것이 바람직하다. 인터넷은 TCP/IP 프로토콜 및 그 상위계층에 존재하는 여러 서비스, 즉 HTTP(HyperText Transfer Protocol), Telnet, FTP(File Transfer Protocol), DNS(Domain Name System), SMTP(Simple Mail Transfer Protocol), SNMP(Simple Network Management Protocol), NFS(Network File Service), NIS(Network Information Service)를 제공하는 전 세계적인 개방형 컴퓨터 제1 네트워크(198) 및 제2 네트워크(199) 구조를 의미한다.The first network 198 and the second network 199 are a connection structure capable of exchanging information between respective nodes such as terminals and servers, or a network connecting the server 108 and the electronic devices 101 and 104 . (Network). The first network 198 and the second network 199 are Internet (Internet), LAN (Local Area Network), Wireless LAN (Wireless Local Area Network), WAN (Wide Area Network), PAN (Personal Area Network), 3G , 4G, LTE, 5G, Wi-Fi, and the like. The first network 198 and the second network 199 may be the closed first network 198 and the second network 199 such as a LAN or a WAN, but preferably an open type such as the Internet. The Internet is a TCP/IP protocol and several services existing in its upper layers, namely HTTP (HyperText Transfer Protocol), Telnet, FTP (File Transfer Protocol), DNS (Domain Name System), SMTP (Simple Mail Transfer Protocol), SNMP ( Simple Network Management Protocol), NFS (Network File Service), and NIS (Network Information Service) means a worldwide open computer first network 198 and second network 199 structure.

데이터베이스는 데이터베이스 관리 프로그램(DBMS)을 이용하여 컴퓨터 시스템의 저장공간(하드디스크 또는 메모리)에 구현된 일반적인 데이터구조를 가질 수 가질 수 있다. 데이터베이스는 데이터의 검색(추출), 삭제, 편집, 추가 등을 자유롭게 행할 수 있는 데이터 저장형태를 가질 수 있다. 데이터베이스는 오라클(Oracle), 인포믹스(Infomix), 사이베이스(Sybase), DB2와 같은 관계형 데이타베이스 관리 시스템(RDBMS)이나, 겜스톤(Gemston), 오리온(Orion), O2 등과 같은 객체 지향 데이타베이스 관리 시스템(OODBMS) 및 엑셀론(Excelon), 타미노(Tamino), 세카이주(Sekaiju) 등의 XML 전용 데이터베이스(XML Native Database)를 이용하여 본 개시의 일 실시예의 목적에 맞게 구현될 수 있고, 자신의 기능을 달성하기 위하여 적당한 필드(Field) 또는 엘리먼트들을 가질 수 있다.The database may have a general data structure implemented in a storage space (hard disk or memory) of a computer system using a database management program (DBMS). The database may have a data storage form in which data can be freely searched (extracted), deleted, edited, added, and the like. Database is a relational database management system (RDBMS) such as Oracle, Infomix, Sybase, DB2, or object-oriented database management such as Gemston, Orion, O2, etc. It can be implemented for the purpose of an embodiment of the present disclosure by using a system (OODBMS) and an XML-only database (XML Native Database) such as Excelon, Tamino, and Sekaiju, and its function It may have an appropriate field or elements to achieve .

도 2는 일 실시예에 따른 프로그램의 구성을 나타내는 도면이다.2 is a diagram illustrating a configuration of a program according to an exemplary embodiment.

도 2은 다양한 실시예에 따른 프로그램(140)을 예시하는 블록도(200)이다. 일실시예에 따르면, 프로그램(140)은 전자 장치(101)의 하나 이상의 리소스들을 제어하기 위한 운영 체제(142), 미들웨어(144), 또는 상기 운영 체제(142)에서 실행 가능한 어플리케이션(146)을 포함할 수 있다. 운영 체제(142)는, 예를 들면, AndroidTM, iOSTM, WindowsTM, SymbianTM, TizenTM, 또는 BadaTM를 포함할 수 있다. 프로그램(140) 중 적어도 일부 프로그램은, 예를 들면, 제조 시에 전자 장치(101)에 프리로드되거나, 또는 사용자에 의해 사용 시 외부 전자 장치(예: 전자 장치(102 또는 104), 또는 서버(108))로부터 다운로드되거나 갱신 될 수 있다. 프로그램(140)의 전부 또는 일부는 뉴럴 네트워크를 포함할 수 있다. 2 is a block diagram 200 illustrating a program 140 in accordance with various embodiments. According to an embodiment, the program 140 executes an operating system 142 , middleware 144 , or an application 146 executable in the operating system 142 for controlling one or more resources of the electronic device 101 . may include Operating system 142 may include, for example, Android™, iOS™, Windows™, Symbian™, Tizen™, or Bada™. At least some of the programs 140 are, for example, preloaded into the electronic device 101 at the time of manufacture, or an external electronic device (eg, the electronic device 102 or 104 ), or a server (eg, the electronic device 102 or 104 ) when used by a user ( 108)), or may be updated. All or part of the program 140 may include a neural network.

운영 체제(142)는 전자 장치(101)의 하나 이상의 시스템 리소스들(예: 프로세스, 메모리, 또는 전원)의 관리(예: 할당 또는 회수)를 제어할 수 있다. 운영 체제(142)는, 추가적으로 또는 대체적으로, 전자 장치(101)의 다른 하드웨어 디바이스, 예를 들면, 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 구동하기 위한 하나 이상의 드라이버 프로그램들을 포함할 수 있다.The operating system 142 may control management (eg, allocation or retrieval) of one or more system resources (eg, a process, memory, or power) of the electronic device 101 . The operating system 142 may additionally or alternatively include other hardware devices of the electronic device 101 , for example, the input module 150 , the sound output module 155 , the display module 160 , and the audio module 170 . , sensor module 176 , interface 177 , haptic module 179 , camera module 180 , power management module 188 , battery 189 , communication module 190 , subscriber identification module 196 , or It may include one or more driver programs for driving the antenna module 197 .

미들웨어(144)는 전자 장치(101)의 하나 이상의 리소스들로부터 제공되는 기능 또는 정보가 어플리케이션(146)에 의해 사용될 수 있도록 다양한 기능들을 어플리케이션(146)으로 제공할 수 있다. 미들웨어(144)는, 예를 들면, 어플리케이션 매니저(201), 윈도우 매니저(203), 멀티미디어 매니저(205), 리소스 매니저(207), 파워 매니저(209), 데이터베이스 매니저(211), 패키지 매니저(213), 커넥티비티 매니저(215), 노티피케이션 매니저(217), 로케이션 매니저(219), 그래픽 매니저(221), 시큐리티 매니저(223), 통화 매니저(225), 또는 음성 인식 매니저(227)를 포함할 수 있다. The middleware 144 may provide various functions to the application 146 so that functions or information provided from one or more resources of the electronic device 101 may be used by the application 146 . The middleware 144 includes, for example, an application manager 201 , a window manager 203 , a multimedia manager 205 , a resource manager 207 , a power manager 209 , a database manager 211 , and a package manager 213 . ), a connectivity manager 215 , a notification manager 217 , a location manager 219 , a graphics manager 221 , a security manager 223 , a call manager 225 , or a voice recognition manager 227 . can

어플리케이션 매니저(201)는, 예를 들면, 어플리케이션(146)의 생명 주기를 관리할 수 있다. 윈도우 매니저(203)는, 예를 들면, 화면에서 사용되는 하나 이상의 GUI 자원들을 관리할 수 있다. 멀티미디어 매니저(205)는, 예를 들면, 미디어 파일들의 재생에 필요한 하나 이상의 포맷들을 파악하고, 그 중 선택된 해당하는 포맷에 맞는 코덱을 이용하여 상기 미디어 파일들 중 해당하는 미디어 파일의 인코딩 또는 디코딩을 수행할 수 있다. 리소스 매니저(207)는, 예를 들면, 어플리케이션(146)의 소스 코드 또는 메모리(130)의 메모리의 공간을 관리할 수 있다. 파워 매니저(209)는, 예를 들면, 배터리(189)의 용량, 온도 또는 전원을 관리하고, 이 중 해당 정보를 이용하여 전자 장치(101)의 동작에 필요한 관련 정보를 결정 또는 제공할 수 있다. 일실시예에 따르면, 파워 매니저(209)는 전자 장치(101)의 바이오스(BIOS: basic input/output system)(미도시)와 연동할 수 있다.The application manager 201 may manage the life cycle of the application 146 , for example. The window manager 203 may manage one or more GUI resources used in the screen, for example. The multimedia manager 205, for example, identifies one or more formats required for playback of media files, and encodes or decodes a corresponding media file among the media files using a codec suitable for the selected format. can be done The resource manager 207 may manage the space of the source code of the application 146 or the memory of the memory 130 , for example. The power manager 209 may, for example, manage the capacity, temperature, or power of the battery 189 , and determine or provide related information required for the operation of the electronic device 101 by using the corresponding information. . According to an embodiment, the power manager 209 may interwork with a basic input/output system (BIOS) (not shown) of the electronic device 101 .

데이터베이스 매니저(211)는, 예를 들면, 어플리케이션(146)에 의해 사용될 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 패키지 매니저(213)는, 예를 들면, 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 갱신을 관리할 수 있다. 커넥티비티 매니저(215)는, 예를 들면, 전자 장치(101)와 외부 전자 장치 간의 무선 연결 또는 직접 연결을 관리할 수 있다. 노티피케이션 매니저(217)는, 예를 들면, 지정된 이벤트(예: 착신 통화, 메시지, 또는 알람)의 발생을 사용자에게 알리기 위한 기능을 제공할 수 있다. 로케이션 매니저(219)는, 예를 들면, 전자 장치(101)의 위치 정보를 관리할 수 있다. 그래픽 매니저(221)는, 예를 들면, 사용자에게 제공될 하나 이상의 그래픽 효과들 또는 이와 관련된 사용자 인터페이스를 관리할 수 있다. The database manager 211 may create, retrieve, or change a database to be used by the application 146 , for example. The package manager 213 may manage installation or update of an application distributed in the form of a package file, for example. The connectivity manager 215 may manage, for example, a wireless connection or a direct connection between the electronic device 101 and an external electronic device. The notification manager 217 may provide, for example, a function for notifying the user of the occurrence of a specified event (eg, an incoming call, a message, or an alarm). The location manager 219 may manage location information of the electronic device 101 , for example. The graphic manager 221 may manage, for example, one or more graphic effects to be provided to a user or a user interface related thereto.

시큐리티 매니저(223)는, 예를 들면, 시스템 보안 또는 사용자 인증을 제공할 수 있다. 통화(telephony) 매니저(225)는, 예를 들면, 전자 장치(101)에 의해 제공되는 음성 통화 기능 또는 영상 통화 기능을 관리할 수 있다. 음성 인식 매니저(227)는, 예를 들면, 사용자의 음성 데이터를 서버(108)로 전송하고, 그 음성 데이터에 적어도 일부 기반하여 전자 장치(101)에서 수행될 기능에 대응하는 명령어(command), 또는 그 음성 데이터에 적어도 일부 기반하여 변환된 문자 데이터를 서버(108)로부터 수신할 수 있다. 일 실시예에 따르면, 미들웨어(244)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다. 일 실시예에 따르면, 미들웨어(144)의 적어도 일부는 운영 체제(142)의 일부로 포함되거나, 또는 운영 체제(142)와는 다른 별도의 소프트웨어로 구현될 수 있다.Security manager 223 may provide, for example, system security or user authentication. The telephony manager 225 may manage, for example, a voice call function or a video call function provided by the electronic device 101 . The voice recognition manager 227, for example, transmits the user's voice data to the server 108, and based at least in part on the voice data, a command corresponding to a function to be performed in the electronic device 101; Alternatively, the converted text data may be received from the server 108 based at least in part on the voice data. According to an embodiment, the middleware 244 may dynamically delete some existing components or add new components. According to an embodiment, at least a portion of the middleware 144 may be included as a part of the operating system 142 or implemented as software separate from the operating system 142 .

어플리케이션(146)은, 예를 들면, 홈(251), 다이얼러(253), SMS/MMS(255), IM(instant message)(257), 브라우저(259), 카메라(261), 알람(263), 컨택트(265), 음성 인식(267), 이메일(269), 달력(271), 미디어 플레이어(273), 앨범(275), 와치(277), 헬스(279)(예: 운동량 또는 혈당과 같은 생체 정보를 측정), 또는 환경 정보(281)(예: 기압, 습도, 또는 온도 정보 측정) 어플리케이션을 포함할 수 있다. 일실시예에 따르면, 어플리케이션(146)은 전자 장치(101)와 외부 전자 장치 사이의 정보 교환을 지원할 수 있는 정보 교환 어플리케이션(미도시)을 더 포함할 수 있다. 정보 교환 어플리케이션은, 예를 들면, 외부 전자 장치로 지정된 정보 (예: 통화, 메시지, 또는 알람)를 전달하도록 설정된 노티피케이션 릴레이 어플리케이션, 또는 외부 전자 장치를 관리하도록 설정된 장치 관리 어플리케이션을 포함할 수 있다. 노티피케이션 릴레이 어플리케이션은, 예를 들면, 전자 장치(101)의 다른 어플리케이션(예: 이메일 어플리케이션(269))에서 발생된 지정된 이벤트(예: 메일 수신)에 대응하는 알림 정보를 외부 전자 장치로 전달할 수 있다. 추가적으로 또는 대체적으로, 노티피케이션 릴레이 어플리케이션은 외부 전자 장치로부터 알림 정보를 수신하여 전자 장치(101)의 사용자에게 제공할 수 있다. Application 146 includes, for example, home 251 , dialer 253 , SMS/MMS 255 , instant message (IM) 257 , browser 259 , camera 261 , alarm 263 . , contacts 265, voice recognition 267, email 269, calendar 271, media player 273, album 275, watch 277, health 279 (such as exercise or blood sugar) measuring biometric information), or environmental information 281 (eg, measuring atmospheric pressure, humidity, or temperature information). According to an embodiment, the application 146 may further include an information exchange application (not shown) capable of supporting information exchange between the electronic device 101 and an external electronic device. The information exchange application may include, for example, a notification relay application configured to transmit specified information (eg, call, message, or alarm) to an external electronic device, or a device management application configured to manage the external electronic device. have. The notification relay application, for example, transmits notification information corresponding to a specified event (eg, mail reception) generated in another application (eg, the email application 269 ) of the electronic device 101 to the external electronic device. can Additionally or alternatively, the notification relay application may receive notification information from the external electronic device and provide it to the user of the electronic device 101 .

장치 관리 어플리케이션은, 예를 들면, 전자 장치(101)와 통신하는 외부 전자 장치 또는 그 일부 구성 요소(예: 외부 전자장치의 디스플레이 모듈 또는 카메라 모듈)의 전원(예: 턴-온 또는 턴-오프) 또는 기능(예: 밝기, 해상도, 또는 포커스)을 제어할 수 있다. 장치 관리 어플리케이션은, 추가적으로 또는 대체적으로, 외부 전자 장치에서 동작하는 어플리케이션의 설치, 삭제, 또는 갱신을 지원할 수 있다.The device management application is, for example, a power source (eg, turn-on or turn-off) of an external electronic device that communicates with the electronic device 101 or some components thereof (eg, a display module or a camera module of the external electronic device). ) or a function (eg brightness, resolution, or focus). The device management application may additionally or alternatively support installation, deletion, or update of an application operating in an external electronic device.

본 명세서에 걸쳐, 뉴럴 네트워크(neural network), 신경망 네트워크, 네트워크 함수는, 동일한 의미로 사용될 수 있다. 뉴럴 네트워크는, 일반적으로 "노드"라 지칭될 수 있는 상호 연결된 계산 단위들의 집합으로 구성될 수 있다. 이러한 "노드"들은, "뉴런(neuron)"들로 지칭될 수도 있다. 뉴럴 네트워크는, 적어도 둘 이상의 노드들을 포함하여 구성된다. 뉴럴 네트워크들을 구성하는 노드(또는 뉴런)들은 하나 이상의 "링크"에 의해 상호 연결될 수 있다.Throughout this specification, a neural network, a neural network network, and a network function may be used interchangeably. A neural network may be composed of a set of interconnected computational units, which may generally be referred to as “nodes”. These “nodes” may also be referred to as “neurons”. A neural network is configured to include at least two or more nodes. Nodes (or neurons) constituting neural networks may be interconnected by one or more “links”.

뉴럴 네트워크 내에서, 링크를 통해 연결된 둘 이상의 노드들은 상대적으로 입력 노드 및 출력 노드의 관계를 형성할 수 있다. 입력 노드 및 출력 노드의 개념은 상대적인 것으로서, 하나의 노드에 대하여 출력 노드 관계에 있는 임의의 노드는 다른 노드와의 관계에서 입력 노드 관계에 있을 수 있으며, 그 역도 성립할 수 있다. 전술한 바와 같이, 입력 노드 대 출력 노드 관계는 링크를 중심으로 생성될 수 있다. 하나의 입력 노드에 하나 이상의 출력 노드가 링크를 통해 연결될 수 있으며, 그 역도 성립할 수 있다.In a neural network, two or more nodes connected through a link may relatively form a relationship between an input node and an output node. The concepts of an input node and an output node are relative, and any node in an output node relationship with respect to one node may be in an input node relationship in a relationship with another node, and vice versa. As described above, an input node to output node relationship may be created around a link. One or more output nodes may be connected to one input node through a link, and vice versa.

하나의 링크를 통해 연결된 입력 노드 및 출력 노드 관계에서, 출력 노드는 입력 노드에 입력된 데이터에 기초하여 그 값이 결정될 수 있다. 여기서, 입력 노드와 출력 노드를 상호 연결하는 노드는 가중치를 가질 수 있다. 가중치는 가변적일 수 있으며, 뉴럴 네트워크가 원하는 기능을 수행하기 위해, 사용자 또는 알고리즘에 의해 가변될 수 있다. 예를 들어, 하나의 출력 노드에 하나 이상의 입력 노드가 각각의 링크에 의해 상호 연결된 경우, 출력 노드는 상기 출력 노드와 연결된 입력 노드들에 입력된 값들 및 각각의 입력 노드들에 대응하는 링크에 설정된 가중치에 기초하여 출력 노드 값을 결정할 수 있다.In the relationship between the input node and the output node connected through one link, the value of the output node may be determined based on data input to the input node. Here, a node interconnecting the input node and the output node may have a weight. The weight may be variable, and may be changed by a user or an algorithm in order for the neural network to perform a desired function. For example, when one or more input nodes are interconnected to one output node by respective links, the output node sets values input to input nodes connected to the output node and links corresponding to the respective input nodes. An output node value may be determined based on the weight.

전술한 바와 같이, 뉴럴 네트워크는, 둘 이상의 노드들이 하나 이상의 링크를 통해 상호연결 되어 뉴럴 네트워크 내에서 입력 노드 및 출력 노드 관계를 형성한다. 뉴럴 네트워크 내에서 노드들과 링크들의 개수 및 노드들과 링크들 사이의 연관관계, 링크들 각각에 부여된 가중치의 값에 따라, 신경망 네트워크의 특성이 결정될 수 있다. 예를 들어, 동일한 개수의 노드 및 링크들이 존재하고, 링크들 사이의 가중치 값이 상이한 두 신경망 네트워크가 존재하는 경우, 두 개의 신경망 네트워크들은 서로 상이한 것으로 인식될 수 있다.As described above, in a neural network, two or more nodes are interconnected through one or more links to form an input node and an output node relationship within the neural network. The characteristics of the neural network may be determined according to the number of nodes and links in the neural network, the correlation between the nodes and the links, and the value of a weight assigned to each of the links. For example, when the same number of nodes and links exist and there are two neural network networks having different weight values between the links, the two neural network networks may be recognized as different from each other.

도 3은 일 실시예에 따른 데이터 보안 시스템의 전체 구성을 도시한 도면이다.3 is a diagram illustrating an overall configuration of a data security system according to an embodiment.

피싱의 방식은 단말기(320)의 운영체제에 따라 다르게 적용될 수 있다. 안드로이드 기반 모바일 기기의 보급률의 증가로 피싱의 패턴이 안드로이드 기반의 모바일 기기로 확장되고 있다. 모바일 기기는 어플리케이션을 통해 사용자에게 다양한 정보를 제공 및 수집한다. 피싱 가해자는 해당 기능을 사용하여 피해자에게 어플리케이션 설치를 유도하고 어플리케이션을 통해 피해자의 사진, 연락처 등 다양한 데이터를 무단으로 수집하여 금융 범죄에 활용하고 있다.The phishing method may be applied differently depending on the operating system of the terminal 320 . With the increase in the penetration rate of Android-based mobile devices, the pattern of phishing is expanding to Android-based mobile devices. A mobile device provides and collects various information to a user through an application. Phishing perpetrators use this function to induce victims to install applications, and through the applications, various data such as photos and contact information of victims are collected without permission and used for financial crimes.

단말기(320)의 운영체제가 안드로이드인 경우, C&C 서버(350)는 안드로이드 어플리케이션 패키지 파일을 실행하도록 사용자를 유도할 수 있다. 사용자가 안드로이드 어플리케이션 패키지 파일을 실행하게 되면, 단말기(320)는 안드로이드 어플리케이션 패키지 파일의 인스트럭션에 의해 C&C 서버(350)로 다양한 데이터를 전송할 수 있다. 여기서, 가해자가 유포한 어플리케이션 파일은 안드로이드 기반의 안드로이드 어플리케이션 패키지 파일이고, 사용자가 안드로이드 어플리케이션 패키지 파일을 실행하게 되면 안드로이드 어플리케이션 패키지 파일에 의해 가해자의 C&C 서버(350)로 피해자의 데이터를 유출하는 방식이 사용되고 있다.When the operating system of the terminal 320 is Android, the C&C server 350 may induce the user to execute the Android application package file. When the user executes the Android application package file, the terminal 320 may transmit various data to the C&C server 350 according to an instruction of the Android application package file. Here, the application file distributed by the perpetrator is an Android-based Android application package file, and when the user executes the Android application package file, the victim's data is leaked to the C&C server 350 of the perpetrator by the Android application package file. is being used

안드로이드 어플리케이션 패키지(Android Application Package, APK) 파일은 안드로이드 운영 체제 또는 안드로이드를 기반으로 하는 다른 운영 체제에 의해 사용되는 형식의 파일로서, 모바일 어플리케이션, 모바일 게임 또는 미들웨어와 같은 안드로이드 운영 체제 상에서 실행될 수 있는 어플리케이션의 배포 또는 설치를 위한 형식의 파일이다. An Android application package (APK) file is a file of a format used by the Android operating system or another operating system based on Android, and is an application that can be executed on the Android operating system, such as a mobile application, a mobile game, or middleware. It is a file in the format for distribution or installation of

C&C 서버(350)는 피해자의 단말기(320)로부터 데이터를 유출하는 서버를 의미한다. C&C 서버란 일반적으로 감염된 좀비 PC가 해커가 원하는 공격을 수행하도록 원격지에서 명령을 내리거나 악성 코드를 제어하는 서버를 의미할 수 있다. 예를 들어, C&C 서버(350)는 감염된 PC 로 악성 코드를 유포시키거나, 스팸 전송 또는 DDos 공격 등을 수행할 수 있다. The C&C server 350 refers to a server that leaks data from the victim's terminal 320 . A C&C server may refer to a server that generally commands an infected zombie PC from a remote location to perform an attack desired by a hacker or controls malicious code. For example, the C&C server 350 may distribute a malicious code to an infected PC, transmit spam, or perform a DDos attack.

일 실시예에 따르면, 데이터 보안 시스템은 다양한 보안 기법을 이용하여 C&C 서버(350)을 탐지할 수 있다. 데이터 보안 시스템은 C&C 서버(350)의 IP 주소를 탐지할 수 있다. 데이터 보안 시스템은 피싱 어플리케이션에 의해 데이터가 유출되는 경로를 추적할 수 있다. 데이터 보안 시스템은 피싱 어플리케이션을 통해 통신을 하고 있는 C&C 서버(350)의 주소를 추적함으로써 가해자를 특정할 수 있다. 데이터 보안 시스템은 탐지 결과를 기초로 단말기(320)로부터 C&C 서버(350)로 데이터 패킷이 유출되는 것을 방지할 수 있다.According to an embodiment, the data security system may detect the C&C server 350 using various security techniques. The data security system may detect the IP address of the C&C server 350 . The data security system may track the path through which data is leaked by the phishing application. The data security system can identify the perpetrator by tracking the address of the C&C server 350 communicating through the phishing application. The data security system may prevent the data packet from being leaked from the terminal 320 to the C&C server 350 based on the detection result.

이를 위하여, 도 3을 참조하면, 데이터 보안 시스템은 보안 서버(310), 네트워크(340), 단말기(320)를 포함할 수 있다. 데이터 보안 시스템은 하나 이상의 외부의 서버(331, 332)를 더 포함할 수 있다. To this end, referring to FIG. 3 , the data security system may include a security server 310 , a network 340 , and a terminal 320 . The data security system may further include one or more external servers 331 and 332 .

안드로이드 어플리케이션 패키지 파일을 실행할 때 안드로이드 어플리케이션 패키지 파일과 C&C 서버(350) 간에 통신이 발생할 수 있다. 단말기(320)는 안드로이드 어플리케이션 패키지 파일(Android application package file, APK)의 동작 신호를 감지할 수 있다. 동작 신호에 반응하여, 단말기(320)는 안드로이드 어플리케이션 패키지 파일의 전송 요청에 의해 외부로 전송되는 단말기에 저장된 데이터 패킷을 보안 서버로 전송할 수 있다.When the Android application package file is executed, communication may occur between the Android application package file and the C&C server 350 . The terminal 320 may detect an operation signal of an Android application package file (APK). In response to the operation signal, the terminal 320 may transmit a data packet stored in the terminal transmitted to the outside in response to a transmission request of the Android application package file to the security server.

보안 서버(310)는 안드로이드 어플리케이션 패키지 파일에 의해 C&C 서버(350)로 전송 요청된 데이터 패킷을 분석할 수 있다. 보안 서버(310)는 분석을 통해 통신하고 있는 모든 패킷의 IP 주소를 수집할 수 있다. 보안 서버(310)는 수집된 IP 주소에서 C&C 서버(350)의 IP 주소를 특정할 수 있다. The security server 310 may analyze the data packet requested to be transmitted to the C&C server 350 by the Android application package file. The security server 310 may collect IP addresses of all packets being communicated through analysis. The security server 310 may specify the IP address of the C&C server 350 from the collected IP addresses.

보안 서버(310)는 안드로이드 어플리케이션 패키지 파일에 대한 실행 명령이 발생한 시각으로부터 짧은 시각, 예를 들어, 임계 시간 내에 전송되는 모든 데이터 패킷을 수집할 수 있다. 보안 서버(310)는 안드로이드 어플리케이션 패키지 파일을 실행하는 순간의 시각을 기초로 데이터 패킷을 분석함으로써 목적지의 IP 주소를 찾을 수 있다. 보통 안드로이드 어플리케이션 패키지 파일에 대한 실행 명령 이후에 짧은 시간에 데이터 누출이 발생하므로, 보안 서버(310)는 정확성을 유지하면서도 검사 대상을 줄일 수 있다.The security server 310 may collect all data packets transmitted within a short time, for example, a threshold time, from the time the execution command for the Android application package file is generated. The security server 310 may find the IP address of the destination by analyzing the data packet based on the time of the moment when the Android application package file is executed. Since data leakage usually occurs in a short time after the execution command for the Android application package file, the security server 310 can reduce the number of inspection targets while maintaining accuracy.

보안 서버(310)는 데이터 패킷의 상관관계를 분석하고, 데이터 패킷의 상관관계 인스턴트 정보를 획득할 수 있다. 여기서, 상관관계는 데이터 패킷의 목적지 주소들 간의 관계를 나타낼 수 있다. 예를 들어, 데이터 패킷의 제1 주소 요청 이후 해당 데이터 패킷에 대해 연달아 제2 주소 요청이 있는 경우, 요청 주소 간의 상관 관계 인스턴트 정보가 획득될 수 있다. 상관 관계 인스턴트 정보는 현재 검사 대상이 되는 데이터 패킷의 상관관계 정보를 의미하며, 상관관계 등록 정보는 미리 등록된 상관관계 정보를 의미할 수 있다.The security server 310 may analyze the correlation of the data packet and obtain correlation instance information of the data packet. Here, the correlation may indicate a relationship between destination addresses of data packets. For example, when a request for a second address is successively requested for a corresponding data packet after a request for a first address of the data packet, correlation instant information between the request addresses may be obtained. The correlation instance information may refer to correlation information of a data packet currently being inspected, and the correlation registration information may refer to pre-registered correlation information.

보안 서버(310)는 알려진 IP 주소 또는 URI를 기반으로 C&C 서버(350)에 대한 통신을 차단할 수 있다. 예를 들어, 1.1.1.2인 IP 주소가 C&C 서버(350)의 IP 주소인 것으로 알려진 경우, 보안 서버(310)는 1.1.1.2인 IP 주소를 차단할 수 있다. The security server 310 may block communication with the C&C server 350 based on a known IP address or URI. For example, if the IP address of 1.1.1.2 is known to be the IP address of the C&C server 350 , the security server 310 may block the IP address of 1.1.1.2.

데이터 보안 시스템은 외부의 서버(331, 332)와 함께 복수의 C&C 서버(350)의 IP 주소에 대한 데이터베이스를 확보하고 복수의 C&C 서버(350) 간의 상관관계를 분석하여 분석 결과를 공유할 수 있다. 데이터 보안 시스템은 자체 또는 다른 보안 업체와 협력하여 글로벌 위협 인텔리전스(Global Threat Intelligence) 정보를 구축하여 사용할 수 있다.The data security system may secure a database for the IP addresses of the plurality of C&C servers 350 together with the external servers 331 and 332 and analyze the correlation between the plurality of C&C servers 350 to share the analysis results. . Data security systems can build and use Global Threat Intelligence information, either on their own or in partnership with other security vendors.

보안 서버(310)는 보안 서버(310)의 내부 데이터 베이스 및 하나 이상의 외부 서버의 외부 데이터 베이스를 가상화하여 가상화 데이터 베이스를 생성할 수 있다. 보안 서버(310)의 가상화부는 보안 서버(310)의 내부 데이터 베이스에 저장된 상관관계 등록 정보 및 외부 데이터 베이스에 저장된 상관관계 등록 정보에 대한 상관관계 하이어라키 정보를 생성할 수 있다. 상관관계 하이어라키 정보는 복수의 상관관계에 대한 위계 관계를 나타낼 수 있다. 보안 서버(310) 및 외부의 서버(331, 332)는 가상화 데이터 베이스를 공유할 수 있다. The security server 310 may create a virtualized database by virtualizing an internal database of the security server 310 and an external database of one or more external servers. The virtualization unit of the security server 310 may generate correlation hierarchical information for correlation registration information stored in an internal database of the security server 310 and correlation registration information stored in an external database. The correlation hierarchical information may indicate a hierarchical relationship for a plurality of correlations. The security server 310 and the external servers 331 and 332 may share a virtualized database.

보안 서버(310)는 데이터 패킷의 상관관계 인스턴트 정보에 매칭되는 상관관계 등록 정보를 보안 서버(310)의 가상화 데이터베이스에서 검색할 수 있다. 보안 서버(310)의 매칭부는 상관관계 하이어라키 정보를 기초로 상관관계 인스턴트 정보에 매칭되는 상관관계 등록 정보를 검색할 수 있다. 상관관계 인스턴트 정보와 매칭되는 상관관계 등록 정보가 검색된 경우에, 보안 서버(310)는 전송 차단 요청 신호를 단말기(320)로 전송할 수 있다. The security server 310 may search for correlation registration information matching the correlation instance information of the data packet in the virtualization database of the security server 310 . The matching unit of the security server 310 may search for correlation registration information matching the correlation instance information based on the correlation hierarchical information. When correlation registration information matching the correlation instance information is found, the security server 310 may transmit a transmission blocking request signal to the terminal 320 .

데이터 보안 시스템은 알려지지 않은 C&C 서버(350)에 대해서는 C&C 서버(350)로 전송되는 데이터 패킷의 페이로드 분석을 수행할 수 있다. 이하에서는, 데이터 패킷의 페이로드를 분석하기 위한 과정이 서술된다.The data security system may perform payload analysis of the data packet transmitted to the C&C server 350 for the unknown C&C server 350 . Hereinafter, a process for analyzing the payload of a data packet is described.

상관관계 인스턴트 정보와 매칭되는 상관관계 등록 정보가 검색되지 않은 경우에, 단말기(320)는 데이터 패킷의 통신 관리 정보를 기초로 데이터 패킷을 네트워크로 전송할지 여부를 결정할 수 있다. 단말기(320)는 데이터 패킷의 통신 관리 정보를 기초로 데이터 패킷을 단말기의 스위치로 전달할지 여부를 결정할 수 있다. 통신 관리 정보는 데이터 패킷의 통신의 방식에 관한 정보를 나타낸다. When correlation registration information matching the correlation instance information is not found, the terminal 320 may determine whether to transmit the data packet to the network based on communication management information of the data packet. The terminal 320 may determine whether to forward the data packet to the switch of the terminal based on the communication management information of the data packet. The communication management information indicates information about a communication method of data packets.

예를 들어, 통신 관리 정보는 TCP 통신인지 SSL 통신인지에 관한 정보를 포함할 수 있다. 데이터 보안 시스템은 C&C 서버(350)와의 통신이 TCP 통신인지 SSL 통신인지 확인할 수 있다. C&C 서버(350)와의 통신이 SSL 통신인 경우에, 데이터 보안 시스템은 SSL 통신을 통해 전송되는 데이터 패킷의 페이로드를 SSL 인스펙션(SSL inspection) 기법을 통해 분석할 수 있다. 데이터 보안 시스템은 SSL 통신이 관리되는 SSL 통신인지 여부를 확인할 수 있다. 데이터 보안 시스템은 관리되지 않은 SSL 통신에 대해 정책적으로 미연에 통신을 차단할 수 있다. For example, the communication management information may include information on whether TCP communication or SSL communication is performed. The data security system may check whether the communication with the C&C server 350 is TCP communication or SSL communication. When communication with the C&C server 350 is SSL communication, the data security system may analyze the payload of a data packet transmitted through SSL communication through an SSL inspection technique. The data security system can verify whether the SSL communication is a managed SSL communication. The data security system can block communication in advance for unmanaged SSL communication as a policy.

데이터 보안 시스템은 전송되는 모든 데이터 패킷에 대해 단계적으로 필터링을 수행할 수 있다. 데이터 보안 시스템은 스위치를 통해 모든 데이터 패킷에 대해 1차적인 필터링을 수행할 수 있다. 데이터 보안 시스템은 필터링 결과 의심되는 데이터 패킷에 대해 페이로드 분석을 수행할 수 있다. 안전한 것으로 판단되는 데이터 패킷에 대해서는 페이로드 분석을 생략할 수 있다. 이처럼, 데이터 보안 시스템은 페이로드 분석보다 간단한 패턴 분석을 통해 페이로드 분석을 수행할 데이터 패킷을 선별함으로써 검사 속도와 정확도를 함께 높일 수 있다.The data security system may perform filtering step by step on all transmitted data packets. The data security system can perform primary filtering on all data packets through the switch. The data security system may perform payload analysis on the suspicious data packet as a result of filtering. Payload analysis may be omitted for data packets determined to be safe. In this way, the data security system can increase both inspection speed and accuracy by selecting data packets for payload analysis through simple pattern analysis rather than payload analysis.

단말기(320)의 스위치는 데이터 패킷에 대해 패턴 분석을 수행할 수 있다. 단말기(320)는 C&C 서버(350)의 통신 채널의 트래픽의 특성 정보를 학습하여 C&C 서버(350)를 탐지할 수 있다. 예를 들어, 단말기(320)의 스위치는 C&C 서버(350)의 커넥션 정보들에 대해 패턴 분석을 수행할 수 있다. 단말기(320)는 패턴 분석을 통해 통신 세션 내의 TCP 플래그 및 포트 값의 분포(Deviation)을 파악할 수 있다. 데이터 보안 시스템은 분석 결과를 통해 C&C 서버(350)와 일반 서버를 구별할 수 있다. The switch of the terminal 320 may perform pattern analysis on the data packet. The terminal 320 may detect the C&C server 350 by learning traffic characteristic information of the communication channel of the C&C server 350 . For example, the switch of the terminal 320 may perform pattern analysis on connection information of the C&C server 350 . The terminal 320 may determine the distribution of TCP flag and port values in the communication session through pattern analysis. The data security system may distinguish the C&C server 350 from the general server through the analysis result.

예를 들어, 단말기(320)는 SYN-NOP-RST-FIN 등의 순차적인 통신 패턴을 보이는 통신 세션에 대응하는 서버를 일반 서버로 구분하고, 연속된 짧은 SYN-NOP-FIN의 통신 특성을 보여주며 특정한 언노운 포트(Unknown Port)를 주로 사용하는 서버를 C&C 서버(350)로 구분할 수 있다.For example, the terminal 320 classifies a server corresponding to a communication session showing a sequential communication pattern such as SYN-NOP-RST-FIN as a general server, and shows a communication characteristic of a continuous short SYN-NOP-FIN. and a server that mainly uses a specific unknown port may be classified as the C&C server 350 .

단말기(320)의 스위치는 패턴 분석의 결과를 기초로 데이터 패킷을 네트워크로 전송할지 여부를 결정할 수 있다. 단말기(320)의 스위치는 패턴 분석의 결과를 기초로 데이터 패킷을 단말기의 미러링부로 전달할지 여부를 결정할 수 있다.The switch of the terminal 320 may determine whether to transmit the data packet to the network based on the result of the pattern analysis. The switch of the terminal 320 may determine whether to forward the data packet to the mirroring unit of the terminal based on the result of the pattern analysis.

단말기(320)의 미러링부는 데이터 패킷을 복사하여 미러 패킷을 생성할 수 있다. 단말기(320)의 페이로드 분석부는 미러 패킷의 페이로드를 분석할 수 있다. 단말기(320)의 페이로드 분석부는 페이로드의 분석의 결과를 기초로 미러 패킷을 네트워크로 전송할지 여부를 결정할 수 있다. The mirroring unit of the terminal 320 may create a mirror packet by copying the data packet. The payload analyzer of the terminal 320 may analyze the payload of the mirror packet. The payload analysis unit of the terminal 320 may determine whether to transmit the mirror packet to the network based on the result of the analysis of the payload.

페이로드 분석부는 보안 정책에 의해 단말기(320)의 다른 구성과 고립될 수 있다. 단말기(320)는 데이터 패킷과 동일한 미러 패킷을 페이로드 분석부에서 분석함으로써 분석 과정에서 발생할 수 있는 문제가 단말기(320)의 다른 구성에 영향을 미치지 않도록 제어할 수 있다. The payload analyzer may be isolated from other components of the terminal 320 by a security policy. By analyzing the mirror packet identical to the data packet by the payload analysis unit, the terminal 320 can control so that a problem that may occur in the analysis process does not affect other configurations of the terminal 320 .

데이터 보안 시스템은 비정상 행위 기반 분석 기법을 사용하여 데이터 패킷의 페이로드를 분석할 수 있다. 이하에서는, 페이로드 분석 모델을 이용하여 분석하는 과정에 대해 서술된다.The data security system may analyze the payload of the data packet by using an abnormal behavior-based analysis technique. Hereinafter, an analysis process using the payload analysis model will be described.

단말기(320)의 페이로드 분석부는 페이로드 분석 모델을 이용하여 미러 패킷으로부터 비정상성 특징 벡터를 출력할 수 있다. 여기서, 페이로드 분석 모델은 프로토콜 분석부, 사용자 행위 분석부, 패킷 분석부, 사용자 정의 비정상성 분석부 및 비정상성 특징 분석부를 포함할 수 있다. 페이로드 분석 모델을 구성하는 프로토콜 분석부, 사용자 행위 분석부, 패킷 분석부, 사용자 정의 비정상성 분석부 및 비정상성 특징 분석부 각각은 뉴럴 네트워크로 구성되며, 다량의 학습 데이터를 이용하여 미리 학습될 수 있다. The payload analysis unit of the terminal 320 may output an abnormality feature vector from the mirror packet using the payload analysis model. Here, the payload analysis model may include a protocol analysis unit, a user behavior analysis unit, a packet analysis unit, a user-defined abnormality analysis unit, and an abnormality characteristic analysis unit. Each of the protocol analysis unit, user behavior analysis unit, packet analysis unit, user-defined abnormality analysis unit, and abnormality characteristic analysis unit constituting the payload analysis model is composed of a neural network, can

페이로드 분석 모델을 구성하는 뉴럴 네트워크(neural network), 일반적으로 "노드"라 지칭될 수 있는 상호 연결된 계산 단위들의 집합으로 구성될 수 있다. 이러한 "노드"들은, "뉴런(neuron)"들로 지칭될 수도 있다. 뉴럴 네트워크는, 적어도 둘 이상의 노드들을 포함하여 구성된다. 뉴럴 네트워크들을 구성하는 노드(또는 뉴런)들은 하나 이상의 "링크"에 의해 상호 연결될 수 있다.A neural network constituting a payload analysis model may be composed of a set of interconnected computational units, which may be generally referred to as “nodes”. These “nodes” may also be referred to as “neurons”. A neural network is configured to include at least two or more nodes. Nodes (or neurons) constituting neural networks may be interconnected by one or more “links”.

뉴럴 네트워크 내에서, 링크를 통해 연결된 둘 이상의 노드들은 상대적으로 입력 노드 및 출력 노드의 관계를 형성할 수 있다. 입력 노드 및 출력 노드의 개념은 상대적인 것으로서, 하나의 노드에 대하여 출력 노드 관계에 있는 임의의 노드는 다른 노드와의 관계에서 입력 노드 관계에 있을 수 있으며, 그 역도 성립할 수 있다. 전술한 바와 같이, 입력 노드 대 출력 노드 관계는 링크를 중심으로 생성될 수 있다. 하나의 입력 노드에 하나 이상의 출력 노드가 링크를 통해 연결될 수 있으며, 그 역도 성립할 수 있다.In a neural network, two or more nodes connected through a link may relatively form a relationship between an input node and an output node. The concepts of an input node and an output node are relative, and any node in an output node relationship with respect to one node may be in an input node relationship in a relationship with another node, and vice versa. As described above, an input node to output node relationship may be created around a link. One or more output nodes may be connected to one input node through a link, and vice versa.

하나의 링크를 통해 연결된 입력 노드 및 출력 노드 관계에서, 출력 노드는 입력 노드에 입력된 데이터에 기초하여 그 값이 결정될 수 있다. 여기서, 입력 노드와 출력 노드를 상호 연결하는 노드는 가중치를 가질 수 있다. 가중치는 가변적일 수 있으며, 뉴럴 네트워크가 원하는 기능을 수행하기 위해, 사용자 또는 알고리즘에 의해 가변될 수 있다. 예를 들어, 하나의 출력 노드에 하나 이상의 입력 노드가 각각의 링크에 의해 상호 연결된 경우, 출력 노드는 상기 출력 노드와 연결된 입력 노드들에 입력된 값들 및 각각의 입력 노드들에 대응하는 링크에 설정된 가중치에 기초하여 출력 노드 값을 결정할 수 있다.In the relationship between the input node and the output node connected through one link, the value of the output node may be determined based on data input to the input node. Here, a node interconnecting the input node and the output node may have a weight. The weight may be variable, and may be changed by a user or an algorithm in order for the neural network to perform a desired function. For example, when one or more input nodes are interconnected to one output node by respective links, the output node sets values input to input nodes connected to the output node and links corresponding to the respective input nodes. An output node value may be determined based on the weight.

전술한 바와 같이, 뉴럴 네트워크는, 둘 이상의 노드들이 하나 이상의 링크를 통해 상호연결 되어 뉴럴 네트워크 내에서 입력 노드 및 출력 노드 관계를 형성한다. 뉴럴 네트워크 내에서 노드들과 링크들의 개수 및 노드들과 링크들 사이의 연관관계, 링크들 각각에 부여된 가중치의 값에 따라, 신경망 네트워크의 특성이 결정될 수 있다. 예를 들어, 동일한 개수의 노드 및 링크들이 존재하고, 링크들 사이의 가중치 값이 상이한 두 신경망 네트워크가 존재하는 경우, 두 개의 신경망 네트워크들은 서로 상이한 것으로 인식될 수 있다.As described above, in a neural network, two or more nodes are interconnected through one or more links to form an input node and an output node relationship within the neural network. The characteristics of the neural network may be determined according to the number of nodes and links in the neural network, the correlation between the nodes and the links, and the value of a weight assigned to each of the links. For example, when the same number of nodes and links exist and there are two neural network networks having different weight values between the links, the two neural network networks may be recognized as different from each other.

프로토콜 분석부는 다양한 네트워크 레이어에 따라 네트워크/프로토콜 정보에 대하여 각각의 패킷을 분석할 수 있다. 예를 들어, 프로토콜 분석부는 네트워크 인터페이스 컨트롤러 정보, 미디어 액세스 컨트롤 주소, 도메인 네임 서버/서비스 정보, 프록시 정보, 데이터의 부호화/복호화 상태 정보, 데이터가 IPv6 또는 IPv4인지, 다이나믹 호스트 구성 정보, 윈도우 인터넷 네임 서비스 정보 등을 분석할 수 있다.The protocol analyzer may analyze each packet for network/protocol information according to various network layers. For example, the protocol analysis unit includes network interface controller information, media access control address, domain name server/service information, proxy information, data encoding/decryption status information, whether data is IPv6 or IPv4, dynamic host configuration information, Windows Internet name Service information and the like can be analyzed.

사용자 행위 분석부는 사용자 행위 정보를 상기 분석 결과에 추가할 수 있다. 예를 들어, 사용자 행위 분석 모듈은 사용자 역할/그룹, 위치/지오그래피, 사용된 장치, 사용된 어플리케이션, 평균 세션 길이, 데이터 트래픽 패턴, 업로드/다운로드 데이터의 평균 양, 과거 보안 이슈 등을 분석할 수 있다.The user behavior analysis unit may add user behavior information to the analysis result. For example, the user behavior analysis module can analyze user roles/groups, location/geography, devices used, applications used, average session length, data traffic patterns, average amount of uploaded/downloaded data, past security issues, etc. can

패킷 분석부는 DPI 기술을 구현하는 패킷 관련 분석 정보를 추가로 분석할 수 있다. 예를 들어, 패킷 분석부는 파일 포맷/표준에 컨텐츠가 매칭되는지, 재전송 횟수, 불필요 패킷의 수 등을 분석할 수 있다. 예를 들어, 패킷 분석부는 재전송 횟수가 높은 데이터 패킷에 대해 데이터 누출 시도의 지표로 판단할 수 있다. 불필요한 패킷의 수가 많은 경우도 데이터 누출 시도의 지표로 볼 수 있으며, 불필요한 패킷들 사이에 개인 정보를 감추고 훔친 데이터를 해커 단에서 재조합함으로써 데이터가 누출될 수 있다. 패킷 분석부는 공백이 전혀 없는 매우 조밀한 패킷 헤더의 경우도 비정상으로 판단할 수 있다. 이는 TCP/UDP/IP 헤더에 데이터를 감추려는 의도로 데이터를 조작하는 신호로 볼 수 있다.The packet analyzer may further analyze packet-related analysis information implementing the DPI technology. For example, the packet analyzer may analyze whether the content matches the file format/standard, the number of retransmissions, the number of unnecessary packets, and the like. For example, the packet analyzer may determine a data packet having a high number of retransmissions as an index of data leakage attempt. A large number of unnecessary packets can also be seen as an indicator of data leak attempts, and data can be leaked by hiding personal information between unnecessary packets and recombination of stolen data by hackers. The packet analyzer may determine that even a very dense packet header with no spaces is abnormal. This can be seen as a signal to manipulate data with the intention of hiding the data in the TCP/UDP/IP header.

사용자 정의 비정상성 분석부는 데이터 패킷을 분석하여 분석 결과가 사용자에 의해 정의된 비정상성에 대응하는지 여부를 판단할 수 있다. 이를 통해, 사용자에 의해 레이블링된 알려지지 않은 보안/성능 이슈가 검출될 수 있다.The user-defined abnormality analyzer may analyze the data packet to determine whether the analysis result corresponds to the abnormality defined by the user. This allows unknown security/performance issues labeled by the user to be detected.

단말기의 페이로드 분석부는 프로토콜 분석부에 미러 패킷의 프로토콜 정보를 입력하여 프로토콜 분석 벡터를 출력할 수 있다. 단말기의 페이로드 분석부는 사용자 행위 분석부에 데이터 패킷과 관련된 사용자 행위 정보를 입력하여 사용자 행위 분석 벡터를 출력 할 수 있다. 단말기의 페이로드 분석부는 패킷 분석부에 미러 패킷의 페이로드를 입력하여 패킷 분석 벡터를 출력할 수 있다. 단말기의 페이로드 분석부는 사용자 정의 비정상성 분석부에 미러 패킷의 페이로드를 입력하여 사용자 정의 비정상성 분석 벡터를 출력할 수 있다. The payload analysis unit of the terminal may output protocol analysis vector by inputting protocol information of the mirror packet to the protocol analysis unit. The payload analysis unit of the terminal may output user behavior analysis vector by inputting user behavior information related to the data packet to the user behavior analysis unit. The payload analysis unit of the terminal may output a packet analysis vector by inputting the payload of the mirror packet to the packet analysis unit. The payload analysis unit of the terminal may output a user-defined abnormality analysis vector by inputting the payload of the mirror packet to the user-defined abnormality analysis unit.

단말기의 페이로드 분석부는 프로토콜 분석 벡터, 사용자 행위 분석 벡터, 패킷 분석 벡터 및 사용자 정의 비정상성 분석 벡터에 콘케티네이션(concatenation)을 수행하여 결합 벡터를 출력할 수 있다. 단말기의 페이로드 분석부는 결합 벡터를 비정상성 특징 분석부에 입력하여 비정상성 특징 벡터를 출력 할수 있다.The payload analyzer of the terminal may perform concatenation on the protocol analysis vector, the user behavior analysis vector, the packet analysis vector, and the user-defined abnormality analysis vector to output a combined vector. The payload analysis unit of the terminal may output the abnormality characteristic vector by inputting the combined vector to the abnormality characteristic analysis unit.

일 실시예에 따르면, 단말기의 페이로드 분석부는 비정상성 특징 벡터가 다차원 공간의 중심 그룹 입체 모델에 포함되는지 여부를 판단할 수 있다. 중심 그룹 입체 모델은 성능 또는 보안 기준에 따라 분석된 데이터 패킷이 적절하게 분류되도록 도와주는 모든 관련 데이터를 통해 획득될 수 있다. 중심 그룹 입체 모델은 정상인 것으로 판단되는 임계 밀도 이상의 복수의 정상 특징 벡터를 포함하는 중심 그룹으로부터 법선 방향으로 최소 경계 거리만큼 떨어진 다차원 공간의 입체 모델을 나타낼 수 있다. According to an embodiment, the payload analyzer of the terminal may determine whether the non-stationary feature vector is included in the central group stereoscopic model of the multidimensional space. A central group stereoscopic model can be obtained through all relevant data that helps to properly classify the analyzed data packets according to performance or security criteria. The centroid group three-dimensional model may represent a three-dimensional model of a multidimensional space separated by a minimum boundary distance in a normal direction from a centroid group including a plurality of normal feature vectors having a critical density or higher determined to be normal.

단말기의 페이로드 분석부는 비정상성 특징 벡터를 중심 그룹 입체 모델이 포함된 다차원 공간에 배치할 수 있다. 비정상성 특징 벡터는 프로토콜 분석, 사용자 행위 분석, 패킷 분석 및 하나 이상의 사용자 정의 비정상성 분석 축을 기준으로 다차원 공간에 배치될 수 있다. The payload analyzer of the terminal may arrange the non-stationary feature vector in a multidimensional space including the central group stereoscopic model. The anomaly feature vector may be arranged in a multidimensional space based on protocol analysis, user behavior analysis, packet analysis, and one or more user-defined anomaly analysis axes.

데이터 보안 시스템은 최소 경계 거리의 조정을 통해서 보안 수준이 조정될 수 있다. 예를 들어, 데이터 보안 시스템은 높은 보안 수준을 채택하기 위해서 최소 경계 거리를 작게 설정할 수 있고, 낮은 보안 수준을 채택하기 위해서 최소 경계 거리를 크게 설정할 수 있다.The security level of the data security system may be adjusted by adjusting the minimum boundary distance. For example, the data security system may set a small minimum boundary distance to adopt a high security level, and set a large minimum boundary distance to adopt a low security level.

다른 실시예에 따르면, 페이로드 분석부는 중심 그룹 입체 모델에 속하는 벡터들을 정상성의 대표 샘플로 보고, 중심 그룹 입체 모델에 속하는 복수의 정상 특징 벡터 각각과 검사 대상이 되는 비정상성 특징 벡터 간의 거리를 계산할 수 있다. 페이로드 분석부는 각각의 거리를 종합하여 최종 거리를 계산하고, 최종 거리와 임계 거리를 비교하여 비정상성 여부를 판단할 수도 있다.According to another embodiment, the payload analyzer considers vectors belonging to the central group three-dimensional model as representative samples of normality, and calculates the distance between each of the plurality of normal feature vectors belonging to the central group three-dimensional model and the non-stationary feature vector to be examined. can The payload analyzer may calculate the final distance by synthesizing the respective distances, and may determine whether the final distance is abnormal by comparing the final distance and the critical distance.

비정상성 특징 벡터가 다차원 공간의 중심 그룹 입체 모델에 포함되는 경우에, 단말기의 페이로드 분석부는 페이로드의 분석의 결과를 기초로 미러 패킷을 네트워크로 전송할 수 있다.When the non-stationary feature vector is included in the central group stereoscopic model of the multidimensional space, the payload analyzer of the terminal may transmit the mirror packet to the network based on the result of the payload analysis.

비정상성 특징 벡터가 다차원 공간의 중심 그룹 입체 모델에 포함되지 않는 경우에, 단말기의 페이로드 분석부는 비정상성 특징 벡터를 기초로 중심 그룹 입체 모델을 갱신할 수 있다. 단말기의 페이로드 분석부는 비정상성 특징 벡터에서 가장 가까운 정상 특징 벡터를 결정할 수 있다. 단말기의 페이로드 분석부는 결정된 정상 특징 벡터를 향하여 다차원 공간의 입체 모델의 경계를 조정할 수 있다. 예를 들어, 비정상성 특징 벡터로부터 결정된 정상 특징 벡터를 향하여, 원래의 경계로부터 비정상성 특징 벡터 까지의 거리가 원래의 경계로부터 정상 특징 벡터까지의 거리를 기초로, 경계를 조정할 수 있다. When the nonstationary feature vector is not included in the central group stereoscopic model of the multidimensional space, the payload analyzer of the terminal may update the central group stereoscopic model based on the nonstationary feature vector. The payload analyzer of the terminal may determine the closest normal feature vector from the non-stationary feature vector. The payload analyzer of the terminal may adjust the boundary of the three-dimensional model of the multidimensional space toward the determined normal feature vector. For example, toward a stationary feature vector determined from the nonstationary feature vector, the distance from the original boundary to the nonstationary feature vector may be adjusted based on the distance from the original boundary to the stationary feature vector.

단말기의 페이로드 분석부는 페이로드의 분석의 결과를 기초로 미러 패킷을 시뮬레이션 수행부로 전달할지 여부를 결정할 수 있다. 시뮬레이션 수행부는 미러 패킷을 단말기의 가상 머신에 입력하여 시뮬레이션을 수행할 수 있다. The payload analyzer of the terminal may determine whether to transmit the mirror packet to the simulation performing unit based on the result of the payload analysis. The simulation performing unit may perform a simulation by inputting the mirror packet into the virtual machine of the terminal.

데이터 보안 시스템은 전송되는 데이터 패킷을 가상 머신에서 실제로 실행해 볼 수 있다. 데이터 보안 시스템은 실행 결과를 기초로 해당 데이터 패킷에 포함된 정보가 단말기(320) 또는 단말기(320)의 사용자에게 중요한 영향을 미칠 수 있는지 판단할 수 있다. 데이터 패킷의 전송이 APT 공격으로 판단된 경우, 데이터 보안 시스템은 데이터 패킷의 전송을 차단할 수 있다.The data security system can actually run the transmitted data packet in the virtual machine. The data security system may determine whether the information included in the data packet may have a significant effect on the terminal 320 or the user of the terminal 320 based on the execution result. When it is determined that the transmission of the data packet is an APT attack, the data security system may block the transmission of the data packet.

단말기의 스위치는 시뮬레이션의 결과를 기초로 단말기의 트랜시버로 데이터 패킷을 전달할지 여부를 결정할 수 있다. 시뮬레이션의 결과가 비정상성을 나타내는 경우에, 시뮬레이션 수행부는 스위치로 데이터 패킷의 전송을 차단하는 명령을 전달할 수 있다. 시뮬레이션의 결과가 정상성을 나타내는 경우에, 시뮬레이션 수행부는 스위치로 데이터 패킷의 전송을 허용하는 명령을 전달할 수 있다.The switch of the terminal may decide whether to forward the data packet to the transceiver of the terminal based on the result of the simulation. When the simulation result indicates abnormality, the simulation performing unit may transmit a command to block transmission of the data packet to the switch. When the simulation result indicates normality, the simulation performing unit may transmit a command allowing transmission of the data packet to the switch.

단말기의 크롤링부는 시뮬레이션의 결과를 기초로 단말기의 트랜시버로 상기 데이터 패킷을 전달하기로 결정한 경우, 데이터 패킷에 포함된 사용자의 개인 정보와 관련된 텍스트 데이터를 수집할 수 있다. 단말기의 크롤링부는 복수의 C&C 서버에 저장되거나 네트워크 상에 노출된 복수의 텍스트 데이터를 대상으로 사용자의 개인 정보와의 관련도를 판단할 수 있다. When the crawler of the terminal decides to transmit the data packet to the transceiver of the terminal based on the result of the simulation, the crawler of the terminal may collect text data related to the user's personal information included in the data packet. The crawler of the terminal may determine the degree of relevance to the user's personal information for a plurality of text data stored in a plurality of C&C servers or exposed on a network.

단말기의 크롤링부는 개인 정보 관련도 모델을 이용하여 수집된 텍스트 데이터를 대상으로 사용자의 개인 정보와의 관련도를 판단할 수 있다. 크롤링부는 텍스트 데이터를 입력으로 개인 정보 관련도 모델을 이용하여 복수의 개인 정보 중의 하나의 개인 정보를 분류할 수 있다. The crawler of the terminal may determine the degree of relevance to the user's personal information based on the collected text data using the personal information relevance model. The crawler may classify one piece of personal information among a plurality of pieces of personal information by using a personal information relevance model by inputting text data.

개인 정보 관련도 모델은 입력 레이어, 하나 이상의 히든 레이어 및 출력 레이어를 포함할 수 있다. 학습 텍스트 데이터 및 정답 개인 정보의 레이블로 구성된 각각의 학습 데이터는 상기 개인 정보 관련도 모델의 상기 입력 레이어에 입력되어 상기 하나 이상의 히든 레이어 및 출력 레이어를 통과하여 출력 벡터를 출력하고, 상기 출력 벡터는 상기 출력 레이어에 연결된 손실함수 레이어에 입력되고, 상기 손실함수 레이어는 상기 출력 벡터와 각각의 학습 데이터에 대한 정답 벡터를 비교하는 손실 함수를 이용하여 손실값을 출력하고, 상기 개인 정보 관련도 모델의 파라미터는 상기 손실값이 작아지는 방향으로 학습될 수 있다.The personal information relevance model may include an input layer, one or more hidden layers, and an output layer. Each training data composed of training text data and a label of correct personal information is input to the input layer of the personal information relevance model and passes through the one or more hidden layers and output layers to output an output vector, and the output vector is It is input to a loss function layer connected to the output layer, and the loss function layer outputs a loss value using a loss function that compares the output vector with a correct vector for each training data, and the personal information relevance model of The parameter may be learned in a direction in which the loss value becomes smaller.

[수학식][Equation]

Figure 112022027163467-pat00002
Figure 112022027163467-pat00002

상기 손실 함수는 상기 수학식을 따르고, 상기 수학식에서, n은 클래스 별 학습 데이터의 수, y와 j는 클래스를 나타내는 식별자, C는 상수값, M은 클래스의 개수, x_y는 학습 데이터가 클래스 y에 속할 확률값, x_j는 학습 데이터가 클래스 j에 속할 확률값, L은 손실값을 의미할 수 있다.The loss function follows the above equation, where n is the number of training data for each class, y and j are identifiers representing classes, C is a constant value, M is the number of classes, and x_y is the number of training data for each class. A probability value belonging to , x_j may mean a probability value that the training data belongs to class j, and L may mean a loss value.

단말기의 텍스트 매칭부는 개인 정보와 관련된 텍스트 데이터의 가공률을 계산할 수 있다. 텍스트 매칭부는 개인 정보의 프리시드 수치 및 복수의 C&C 서버 사이에서 상기 텍스트 데이터가 전달된 횟수를 기초로 상기 개인 정보와 관련된 텍스트 데이터의 가공률을 계산할 수 있다.The text matching unit of the terminal may calculate a processing rate of text data related to personal information. The text matching unit may calculate a processing rate of the text data related to the personal information based on the preseed value of the personal information and the number of times the text data is transmitted between the plurality of C&C servers.

텍스트 매칭부는 프리시드 수치와 리액턴트 값을 기초로 가공률을 출력할 수 있다. 프리시드 수치는 개인 정보로부터 변형될 수 있는 출력 텍스트가 예상 가능 범위에 있는지를 나타내는 수치를 의미한다.The text matching unit may output the processing rate based on the pre-seed value and the reactant value. The preseed value refers to a number indicating whether output text that can be transformed from personal information is within a predictable range.

텍스트 매칭부는 수집된 복수의 텍스트 데이터의 가공률을 계산할 수 있다. 일 실시예에서, 가공률은 텍스트 데이터와 개인 정보의 일치율에 반비례할 수 있다.The text matching unit may calculate a processing rate of the plurality of collected text data. In an embodiment, the processing rate may be inversely proportional to the matching rate between text data and personal information.

Figure 112022027163467-pat00003
Figure 112022027163467-pat00003

가공률은 <수학식 2>에 의해 계산될 수 있다. The processing rate may be calculated by <Equation 2>.

<수학식 2>에서, T는 가공률, v_react는 리액턴트 값, S는 프리시드 수치, p는 상기 텍스트 데이터를 식별하는 자연수를 나타내는 것일 수 있다. 리액턴트 값에 대해서는 후술한다.In <Equation 2>, T may represent a processing rate, v_react may be a reactant value, S may be a preset value, and p may represent a natural number identifying the text data. The reactant value will be described later.

텍스트 매칭부는 생성된 가공률이 미리 정해진 임계치를 초과하는지 여부를 판단한다. 가공률이 제1 임계치를 초과하는 경우, 텍스트 매칭부는 해당 텍스트 데이터가 개인 정보를 나타내기에는 관련도가 부족한 것으로 판단하고 필터링할 수 있다.The text matching unit determines whether the generated processing rate exceeds a predetermined threshold. When the processing rate exceeds the first threshold, the text matching unit may determine that the corresponding text data has insufficient relevance to represent personal information and may filter it.

가공률이 제1 임계치를 초과하지 않는 경우, 텍스트 매칭부는 데이터 패킷에 포함된 사용자의 개인 정보가 해당 텍스트 데이터를 통해 노출되었다고 판단할 수 있다.When the processing rate does not exceed the first threshold, the text matching unit may determine that the user's personal information included in the data packet has been exposed through the text data.

텍스트 매칭부는 개인 정보의 프리시드 수치 및 복수의 C&C 서버 사이에서 상기 텍스트 데이터가 전달된 횟수를 기초로 리액턴트 값을 계산할 수 있다. 리액턴트 값은 복수의 C&C 서버 사이에서 상기 텍스트 데이터가 전달된 횟수에 비례할 수 있다. The text matching unit may calculate a reactant value based on the preseed value of personal information and the number of times the text data is transmitted between the plurality of C&C servers. The reactant value may be proportional to the number of times the text data is transmitted between the plurality of C&C servers.

Figure 112022027163467-pat00004
Figure 112022027163467-pat00004

리액턴트 값은 <수학식 3>에 의해 계산될 수 있다. 수학식 3에서, v_react는 리액턴트 값, N_sent는 복수의 C&C 서버 사이에서 상기 텍스트 데이터가 전달된 횟수를 의미할 수 있다.The reactant value may be calculated by <Equation 3>. In Equation 3, v_react may indicate a reactant value, and N_sent may indicate the number of times the text data is transmitted between a plurality of C&C servers.

단말기의 텍스트 매칭부는 텍스트 데이터의 가공률이 임계값 미만인 경우에 데이터 패킷에 포함된 사용자의 개인 정보가 노출되었다고 판단할 수 있다. 이처럼, 데이터 보안 시스템은 웹 크롤링된 텍스트 데이터와 사용자의 개인 정보의 매칭하기 전에 텍스트 데이터의 가공된 정도가 임계값 미만인 경우로 필터링하여 매칭 횟수를 줄임으로써 부하를 줄일 수 있다. The text matching unit of the terminal may determine that the user's personal information included in the data packet has been exposed when the processing rate of the text data is less than a threshold value. In this way, the data security system can reduce the load by reducing the number of matching by filtering the case where the processed degree of the text data is less than a threshold before matching between the web crawled text data and the user's personal information.

도 4는 일 실시예에 따른 보안 서버(310)의 구성을 도시한 도면이다.4 is a diagram illustrating a configuration of a security server 310 according to an embodiment.

일 실시예에 따르면, 보안 서버(400)는 가상화부(401), 상관관계 분석부(402), 매칭부(403) 및 트랜시버(404)를 포함할 수 있다. According to an embodiment, the security server 400 may include a virtualization unit 401 , a correlation analysis unit 402 , a matching unit 403 , and a transceiver 404 .

상관관계 분석부(402)는 데이터 패킷의 상관관계를 분석할 수 있다. 상관관계 분석부(402)는 분석 결과를 기초로 데이터 패킷의 상관관계 인스턴트 정보를 획득할 수 있다.The correlation analyzer 402 may analyze the correlation of the data packets. The correlation analyzer 402 may acquire correlation instance information of the data packet based on the analysis result.

매칭부(403)는 데이터 패킷의 상관관계 인스턴트 정보에 매칭되는 상관관계 등록 정보를 보안 서버(310)의 가상화 데이터베이스에서 검색할 수 있다.The matching unit 403 may search the virtual database of the security server 310 for correlation registration information matching the correlation instance information of the data packet.

상관관계 인스턴트 정보와 매칭되는 상관관계 등록 정보가 검색된 경우에, 트랜시버(404)는 전송 차단 요청 신호를 단말기의 트랜시버로 전송할 수 있다.When correlation registration information matching the correlation instance information is found, the transceiver 404 may transmit a transmission blocking request signal to the transceiver of the terminal.

상관관계 인스턴트 정보와 매칭되는 상관관계 등록 정보가 검색되지 않은 경우에, 트랜시버(404)는 전송 허용 신호를 단말기의 트랜시버로 전송할 수 있다.When the correlation registration information matching the correlation instance information is not found, the transceiver 404 may transmit a transmission permission signal to the transceiver of the terminal.

가상화부(401)는 보안 서버(400)의 내부 데이터 베이스 및 하나 이상의 외부 서버의 외부 데이터 베이스를 가상화하여 가상화 데이터 베이스를 생성할 수 있다.The virtualization unit 401 may create a virtualized database by virtualizing an internal database of the security server 400 and an external database of one or more external servers.

가상화부(401)는 보안 서버(310)의 내부 데이터 베이스에 저장된 상관관계 등록 정보 및 외부 데이터 베이스에 저장된 상관관계 등록 정보에 대한 상관관계 하이어라키 정보를 생성할 수 있다.The virtualization unit 401 may generate correlation hierarchical information for correlation registration information stored in an internal database of the security server 310 and correlation registration information stored in an external database.

매칭부(403)는 상관관계 하이어라키 정보를 기초로 상관관계 인스턴트 정보에 매칭되는 상관관계 등록 정보를 검색할 수 있다.The matching unit 403 may search for correlation registration information matching the correlation instance information based on the correlation hierarchical information.

도 5는 일 실시예에 따른 단말기의 구성을 도시한 도면이다.5 is a diagram illustrating the configuration of a terminal according to an embodiment.

일 실시예에 따르면, 단말기(500)는 이벤트 감지부(501), 제어부(502), 스위치(503), 트랜시버(504), 미러링부(505), 페이로드 분석부(506), 시뮬레이션 수행부(507), 프로세서(508), 크롤링부(509) 및 텍스트 매칭부(510)을 포함할 수 있다.According to an embodiment, the terminal 500 includes an event detection unit 501 , a control unit 502 , a switch 503 , a transceiver 504 , a mirroring unit 505 , a payload analysis unit 506 , and a simulation performing unit. 507 , a processor 508 , a crawling unit 509 , and a text matching unit 510 .

이벤트 감지부(501)는 안드로이드 어플리케이션 패키지 파일(Android application package file, APK)의 동작 신호를 감지할 수 있다.The event detection unit 501 may detect an operation signal of an Android application package file (APK).

동작 신호에 반응하여, 트랜시버(504)는 안드로이드 어플리케이션 패키지 파일의 전송 요청에 의해 외부로 전송되는 단말기에 저장된 데이터 패킷을 보안 서버로 전송할 수 있다.In response to the operation signal, the transceiver 504 may transmit a data packet stored in the terminal transmitted to the outside in response to a transmission request of the Android application package file to the security server.

보안 서버(400)에서 상관관계 인스턴트 정보와 매칭되는 상관관계 등록 정보가 검색되지 않은 경우에, 단말기(500)의 제어부(502)는 데이터 패킷의 통신 관리 정보를 기초로 데이터 패킷을 네트워크로 전송할지 여부를 결정할 수 있다.When the correlation registration information matching the correlation instance information is not found in the security server 400, the control unit 502 of the terminal 500 determines whether to transmit the data packet to the network based on the communication management information of the data packet. can decide whether

상관관계 인스턴트 정보와 매칭되는 상관관계 등록 정보가 검색되지 않은 경우에, 제어부(500)는 데이터 패킷의 통신 관리 정보를 기초로 데이터 패킷을 단말기의 스위치로 전달할지 여부를 결정할 수 있다. When correlation registration information matching the correlation instance information is not found, the controller 500 may determine whether to transfer the data packet to the switch of the terminal based on communication management information of the data packet.

스위치(503)는 데이터 패킷에 대해 패턴 분석을 수행할 수 있다. 스위치(503)는 패턴 분석의 결과를 기초로 데이터 패킷을 네트워크로 전송할지 여부를 결정할 수 있다. 네트워크로 전송할지 여부를 결정하기 위하여, 스위치(503)는 패턴 분석의 결과를 기초로 데이터 패킷을 단말기의 미러링부로 전달할지 여부를 결정할 수 있다.The switch 503 may perform pattern analysis on the data packet. The switch 503 may determine whether to transmit the data packet to the network based on the result of the pattern analysis. In order to determine whether to transmit the data to the network, the switch 503 may determine whether to transmit the data packet to the mirroring unit of the terminal based on the result of pattern analysis.

패턴 분석 결과가 정상으로 판단된 경우에, 미러링부(505)는 데이터 패킷을 복사하여 미러 패킷을 생성할 수 있다. 페이로드 분석부(506)는 미러 패킷의 페이로드를 분석할 수 있다. 페이로드 분석부(506)는 페이로드의 분석의 결과를 기초로 미러 패킷을 네트워크로 전송할지 여부를 결정할 수 있다.When it is determined that the pattern analysis result is normal, the mirroring unit 505 may create a mirror packet by copying the data packet. The payload analyzer 506 may analyze the payload of the mirror packet. The payload analysis unit 506 may determine whether to transmit the mirror packet to the network based on the result of the analysis of the payload.

미러 패킷을 네트워크로 전송할지 여부를 결정하기 위하여, 페이로드 분석부(506)는 페이로드의 분석의 결과를 기초로 미러 패킷을 시뮬레이션 수행부(507)로 전달할지 여부를 결정할 수 있다. In order to determine whether to transmit the mirror packet to the network, the payload analysis unit 506 may determine whether to transmit the mirror packet to the simulation performing unit 507 based on the result of the analysis of the payload.

시뮬레이션 수행부(507)는 미러 패킷을 단말기의 가상 머신에 입력하여 시뮬레이션을 수행할 수 있다. 스위치(503)는 시뮬레이션의 결과를 기초로 단말기의 트랜시버로 데이터 패킷을 전달할지 여부를 결정할 수 있다.The simulation performing unit 507 may perform a simulation by inputting the mirror packet into the virtual machine of the terminal. The switch 503 may determine whether to forward the data packet to the transceiver of the terminal based on the result of the simulation.

단말기의 크롤링부(509)는 개인 정보 관련도 모델을 이용하여 수집된 텍스트 데이터를 대상으로 사용자의 개인 정보와의 관련도를 판단할 수 있다. 크롤링부(509)는 텍스트 데이터를 입력으로 개인 정보 관련도 모델을 이용하여 복수의 개인 정보 중의 하나의 개인 정보를 분류할 수 있다. The crawler 509 of the terminal may determine the degree of relevance to the user's personal information based on the collected text data using the personal information relevance model. The crawler 509 may classify one piece of personal information among a plurality of pieces of personal information using a personal information relevance model by inputting text data.

텍스트 매칭부(510)는 개인 정보와 관련된 텍스트 데이터의 가공률을 계산할 수 있다. 텍스트 매칭부(510)는 개인 정보의 프리시드 수치 및 복수의 C&C 서버 사이에서 상기 텍스트 데이터가 전달된 횟수를 기초로 상기 개인 정보와 관련된 텍스트 데이터의 가공률을 계산할 수 있다. 텍스트 매칭부(510)는 생성된 가공률이 미리 정해진 임계치를 초과하는지 여부를 판단한다. 가공률이 제1 임계치를 초과하는 경우, 텍스트 매칭부(510)는 해당 텍스트 데이터가 개인 정보를 나타내기에는 관련도가 부족한 것으로 판단하고 필터링할 수 있다. 가공률이 제1 임계치를 초과하지 않는 경우, 텍스트 매칭부(510)는 데이터 패킷에 포함된 사용자의 개인 정보가 해당 텍스트 데이터를 통해 노출되었다고 판단할 수 있다.The text matching unit 510 may calculate a processing rate of text data related to personal information. The text matching unit 510 may calculate a processing rate of the text data related to the personal information based on the preseed value of the personal information and the number of times the text data is transmitted between the plurality of C&C servers. The text matching unit 510 determines whether the generated processing rate exceeds a predetermined threshold. When the processing rate exceeds the first threshold, the text matching unit 510 may determine that the corresponding text data has insufficient relevance to represent personal information and may filter it. When the processing rate does not exceed the first threshold, the text matching unit 510 may determine that the user's personal information included in the data packet has been exposed through the text data.

도 6은 일 실시예에 따른 데이터 보안 방법의 일례를 나타내는 흐름도이다.6 is a flowchart illustrating an example of a data security method according to an embodiment.

도 6을 참고하면, 단말기(500)는 이벤트 감지부(501), 제어부(502), 스위치(503), 트랜시버(504), 미러링부(505), 페이로드 분석부(506), 시뮬레이션 수행부(507) 및 프로세서(508)을 포함할 수 있다. 보안 서버(400)는 가상화부(401), 상관관계 분석부(402), 매칭부(403) 및 트랜시버(404)를 포함할 수 있다. Referring to FIG. 6 , the terminal 500 includes an event detection unit 501 , a control unit 502 , a switch 503 , a transceiver 504 , a mirroring unit 505 , a payload analysis unit 506 , and a simulation performing unit. 507 and a processor 508 . The security server 400 may include a virtualization unit 401 , a correlation analysis unit 402 , a matching unit 403 , and a transceiver 404 .

동작(601)에서, 이벤트 감지부(501)는 단말기(500)의 안드로이드 어플리케이션 패키지 파일에 대한 실행 명령에 대응하여 안드로이드 어플리케이션 패키지 파일의 동작 신호를 감지할 수 있다. 이벤트 감지부(501)는 안드로이드 어플리케이션 패키지 파일로부터 생성되는 단말기(500) 내부의 데이터 패킷에 대한 데이터 전송 요청 신호를 감지할 수 있다.In operation 601 , the event detection unit 501 may detect an operation signal of the Android application package file in response to an execution command for the Android application package file of the terminal 500 . The event detection unit 501 may detect a data transmission request signal for a data packet inside the terminal 500 generated from the Android application package file.

동작(602)에서, 이벤트 감지부(501)는 동작 신호의 감지에 대응하여 데이터 패킷 전송 요청 신호를 트랜시버(504)로 전송할 수 있다. 트랜시버(504)는 데이터 패킷을 보안 서버(400)로 전송할 수 있다. 보안 서버(400)의 트랜시버(404)는 데이터 패킷을 상관관계 분석부(402)로 전송할 수 있다.In operation 602 , the event detection unit 501 may transmit a data packet transmission request signal to the transceiver 504 in response to detection of the operation signal. The transceiver 504 may transmit the data packet to the security server 400 . The transceiver 404 of the security server 400 may transmit the data packet to the correlation analyzer 402 .

동작(605)에서, 상관관계 분석부(402)는 데이터 패킷의 상관관계를 분석하고, 데이터 패킷의 상관관계 인스턴트 정보를 획득할 수 있다. 여기서, 상관관계는 데이터 패킷의 목적지 주소들 간의 관계를 나타낼 수 있다.In operation 605 , the correlation analyzer 402 may analyze the correlation of the data packet and obtain correlation instance information of the data packet. Here, the correlation may indicate a relationship between destination addresses of data packets.

동작(606)에서, 상관관계 분석부(402)는 상관관계 인스턴트 정보를 매칭부(403)로 전달할 수 있다. In operation 606 , the correlation analysis unit 402 may transmit correlation instance information to the matching unit 403 .

동작(607)에서, 매칭부(403)는 상관관계 인스턴트 정보와 매칭되는 상관관계 등록 정보를 검색할 수 있다. In operation 607, the matching unit 403 may search for correlation registration information that matches the correlation instance information.

동작(608)에서, 매칭되는 상관관계 등록 정보가 존재하는 경우에, 상관관계 분석부(402)는 전송 차단 요청 신호를 트랜시버(404)로 전달할 수 있다. In operation 608 , when matching correlation registration information exists, the correlation analyzer 402 may transmit a transmission blocking request signal to the transceiver 404 .

동작(609)에서, 트랜시버(404)는 트랜시버(504)로 전송 차단 요청 신호를 전송할 수 있다. 트랜시버(504)는 전송 차단 요청 신호를 제어부(502)로 전달할 수 있다. At operation 609 , the transceiver 404 may transmit a transmit block request signal to the transceiver 504 . The transceiver 504 may transmit a transmission blocking request signal to the controller 502 .

동작(610)에서, 제어부(502)는 전송 차단 요청 신호에 반응하여 데이터 패킷의 전송을 차단할 수 있다.In operation 610 , the controller 502 may block transmission of the data packet in response to the transmission blocking request signal.

동작(638)에서, 매칭되는 상관관계 등록 정보가 존재하지 않는 경우에, 상관관계 분석부(402)는 전송 허용 신호를 트랜시버(404)로 전달할 수 있다. In operation 638 , if there is no matching correlation registration information, the correlation analyzer 402 may transmit a transmission permission signal to the transceiver 404 .

동작(639)에서, 트랜시버(404)는 트랜시버(504)로 전송 허용 신호를 전송할 수 있다. 트랜시버(504)는 전송 허용 신호를 스위치(503)로 전달할 수 있다. At operation 639 , the transceiver 404 may transmit a transmit permission signal to the transceiver 504 . The transceiver 504 may transmit a transmission permission signal to the switch 503 .

동작(611)에서, 스위치(503)는 데이터 패킷에 대해 패턴 분석을 수행할 수 있다. 패턴 분석의 결과가 비정상인 것으로 판단된 경우에, 스위치(503)는 제어부(502)로 전송 차단 신호를 전달할 수 있다.At operation 611 , the switch 503 may perform pattern analysis on the data packet. When it is determined that the pattern analysis result is abnormal, the switch 503 may transmit a transmission blocking signal to the controller 502 .

동작(612)에서, 제어부(502)는 전송 차단 신호에 반응하여 데이터 패킷의 전송을 차단할 수 있다.In operation 612 , the controller 502 may block transmission of the data packet in response to the transmission blocking signal.

패턴 분석의 결과가 정상인 것으로 판단된 경우에, 스위치(503)는 미러링부(505)로 데이터 패킷을 전달할 수 있다.When it is determined that the pattern analysis result is normal, the switch 503 may transmit the data packet to the mirroring unit 505 .

동작(613)에서, 미러링부(505)는 데이터 패킷에 대응하는 미러 패킷을 생성할 수 있다. In operation 613 , the mirroring unit 505 may generate a mirror packet corresponding to the data packet.

동작(614)에서, 미러링부(505)는 미러 패킷의 페이로드를 페이로드 분석부(506)로 전달할 수 있다. In operation 614 , the mirroring unit 505 may transmit the payload of the mirror packet to the payload analysis unit 506 .

동작(615)에서, 페이로드 분석부(506)는 미러 패킷의 페이로드를 분석할 수 있다. 페이로드의 분석 결과가 비정상이 것으로 판단된 경우, 페이로드 분석부(506)는 제어부(502)로 전송 차단 요청 신호를 전달할 수 있다. In operation 615 , the payload analyzer 506 may analyze the payload of the mirror packet. When it is determined that the payload analysis result is abnormal, the payload analysis unit 506 may transmit a transmission blocking request signal to the control unit 502 .

동작(616)에서, 제어부(502)는 전송 차단 요청 신호에 반응하여 데이터 패킷의 전송을 차단할 수 있다.In operation 616 , the controller 502 may block transmission of the data packet in response to the transmission blocking request signal.

페이로드의 분석 결과가 정상인 것으로 판단된 경우, 페이로드 분석부(506)는 시뮬레이션 수행부(507)로 미러 패킷을 전달할 수 있다. When it is determined that the payload analysis result is normal, the payload analysis unit 506 may transmit the mirror packet to the simulation performing unit 507 .

동작(617)에서, 시뮬레이션 수행부(507)는 미러 패킷을 이용하여 시뮬레이션을 수행할 수 있다. 시뮬레이션 수행부(507)은 복수의 미러 패킷을 결합하여 단말기(500)의 운영 체제를 모방한 가상 머신에서 실행시켜 보거나, 조합된 미러 패킷에 중요한 개인 정보 등이 있는지 판단할 수 있다. 시뮬레이션 수행부(507)는 시뮬레이션의 수행 결과가 정상인지 비정상인지를 판단할 수 있다.In operation 617 , the simulation performing unit 507 may perform a simulation using the mirror packet. The simulation performing unit 507 may combine a plurality of mirror packets and run them in a virtual machine that mimics the operating system of the terminal 500 , or may determine whether the combined mirror packets contain important personal information. The simulation performing unit 507 may determine whether the simulation execution result is normal or abnormal.

시뮬레이션의 수행 결과가 비정상인 경우, 시뮬레이션 수행부(507)는 제어부(502)로 전송 차단 요청 신호를 전달할 수 있다. When the simulation result is abnormal, the simulation performing unit 507 may transmit a transmission blocking request signal to the control unit 502 .

동작(618)에서, 제어부(502)는 전송 차단 요청 신호에 반응하여 데이터 패킷의 전송을 차단할 수 있다.In operation 618 , the controller 502 may block transmission of the data packet in response to the transmission blocking request signal.

시뮬레이션의 수행 결과가 정상인 경우, 시뮬레이션 수행부(507)는 제어부(502)로 전송 허용 신호를 전달할 수 있다.When the simulation execution result is normal, the simulation performing unit 507 may transmit a transmission permit signal to the control unit 502 .

동작(619)에서, 제어부(502)는 전송 허용 신호에 반응하여 네트워크로 데이터 패킷을 전송할 수 있다.In operation 619 , the controller 502 may transmit the data packet to the network in response to the transmission permission signal.

동작(631)에서, 크롤링부(509)는 데이터 크롤링을 수행할 수 있다. 단말기의 크롤링부(509)는 개인 정보 관련도 모델을 이용하여 수집된 텍스트 데이터를 대상으로 사용자의 개인 정보와의 관련도를 판단할 수 있다. 크롤링부(509)는 텍스트 데이터를 입력으로 개인 정보 관련도 모델을 이용하여 복수의 개인 정보 중의 하나의 개인 정보를 분류할 수 있다. In operation 631 , the crawler 509 may crawl data. The crawler 509 of the terminal may determine the degree of relevance to the user's personal information based on the collected text data using the personal information relevance model. The crawler 509 may classify one piece of personal information among a plurality of pieces of personal information using a personal information relevance model by inputting text data.

동작(632)에서, 텍스트 매칭부(510)는 데이터 필터링을 수행할 수 있다. 텍스트 매칭부(510)는 개인 정보와 관련된 텍스트 데이터의 가공률을 계산할 수 있다. 텍스트 매칭부(510)는 개인 정보의 프리시드 수치 및 복수의 C&C 서버 사이에서 상기 텍스트 데이터가 전달된 횟수를 기초로 상기 개인 정보와 관련된 텍스트 데이터의 가공률을 계산할 수 있다. 텍스트 매칭부(510)는 생성된 가공률이 미리 정해진 임계치를 초과하는지 여부를 판단한다. 가공률이 제1 임계치를 초과하는 경우, 텍스트 매칭부(510)는 해당 텍스트 데이터가 개인 정보를 나타내기에는 관련도가 부족한 것으로 판단하고 필터링할 수 있다. 가공률이 제1 임계치를 초과하지 않는 경우, 텍스트 매칭부(510)는 데이터 패킷에 포함된 사용자의 개인 정보가 해당 텍스트 데이터를 통해 노출되었다고 판단할 수 있다.In operation 632 , the text matching unit 510 may perform data filtering. The text matching unit 510 may calculate a processing rate of text data related to personal information. The text matching unit 510 may calculate a processing rate of the text data related to the personal information based on the preseed value of the personal information and the number of times the text data is transmitted between the plurality of C&C servers. The text matching unit 510 determines whether the generated processing rate exceeds a predetermined threshold. When the processing rate exceeds the first threshold, the text matching unit 510 may determine that the corresponding text data has insufficient relevance to represent personal information and may filter it. When the processing rate does not exceed the first threshold, the text matching unit 510 may determine that the user's personal information included in the data packet has been exposed through the text data.

도 7은 일 실시예에 따른 다차원 공간의 중심 그룹 입체 모델을 도시한 도면이다.7 is a diagram illustrating a central group three-dimensional model of a multidimensional space according to an exemplary embodiment.

일 실시예에 따르면, 단말기의 페이로드 분석부는 비정상성 특징 벡터가 다차원 공간의 중심 그룹 입체 모델에 포함되는지 여부를 판단할 수 있다. 중심 그룹 입체 모델은 성능 또는 보안 기준에 따라 분석된 데이터 패킷이 적절하게 분류되도록 도와주는 모든 관련 데이터를 통해 획득될 수 있다. 중심 그룹 입체 모델은 정상인 것으로 판단되는 임계 밀도 이상의 복수의 정상 특징 벡터를 포함하는 중심 그룹으로부터 법선 방향으로 최소 경계 거리만큼 떨어진 다차원 공간의 입체 모델을 나타낼 수 있다. According to an embodiment, the payload analyzer of the terminal may determine whether the non-stationary feature vector is included in the central group stereoscopic model of the multidimensional space. A central group stereoscopic model can be obtained through all relevant data that helps to properly classify the analyzed data packets according to performance or security criteria. The centroid group three-dimensional model may represent a three-dimensional model of a multidimensional space separated by a minimum boundary distance in a normal direction from a centroid group including a plurality of normal feature vectors having a critical density or higher determined to be normal.

단말기의 페이로드 분석부는 비정상성 특징 벡터를 중심 그룹 입체 모델이 포함된 다차원 공간에 배치할 수 있다. 비정상성 특징 벡터는 프로토콜 분석, 사용자 행위 분석, 패킷 분석 및 하나 이상의 사용자 정의 비정상성 분석 축을 기준으로 다차원 공간에 배치될 수 있다. The payload analyzer of the terminal may arrange the non-stationary feature vector in a multidimensional space including the central group stereoscopic model. The anomaly feature vector may be arranged in a multidimensional space based on protocol analysis, user behavior analysis, packet analysis, and one or more user-defined anomaly analysis axes.

데이터 보안 시스템은 최소 경계 거리의 조정을 통해서 보안 수준이 조정될 수 있다. 예를 들어, 데이터 보안 시스템은 높은 보안 수준을 채택하기 위해서 최소 경계 거리를 작게 설정할 수 있고, 낮은 보안 수준을 채택하기 위해서 최소 경계 거리를 크게 설정할 수 있다.The security level of the data security system may be adjusted by adjusting the minimum boundary distance. For example, the data security system may set a small minimum boundary distance to adopt a high security level, and set a large minimum boundary distance to adopt a low security level.

도 7을 참조하면, 다차원 공간은 데이터 패킷 내의 보안 이슈에 따라 레이블링된 코너 및 엣지를 표현한다. 예를 들어, 다차원 공간은 제1축(701), 제2축(702), 제3축(703), 제4축(704), 제5축(705)의 5개의 차원을 가질 수 있다. 예를 들어, 제1축(701), 제2축(702), 제3축(703), 제4축(704), 제5축(705)은 각각 프로토콜 분석의 결과, 사용자 행위 분석의 결과, 패킷 분석의 결과, 제1 사용자 정의 비정상성의 분석의 결과, 제2 사용자 정의 비정상성의 분석의 결과를 나타내는 지표의 기준이 되는 축일 수 있다.Referring to FIG. 7 , the multidimensional space represents corners and edges labeled according to security issues within the data packet. For example, the multidimensional space may have five dimensions: a first axis 701 , a second axis 702 , a third axis 703 , a fourth axis 704 , and a fifth axis 705 . For example, the first axis 701 , the second axis 702 , the third axis 703 , the fourth axis 704 , and the fifth axis 705 are the result of protocol analysis and the result of user behavior analysis, respectively. , a packet analysis result, a first user-defined abnormality analysis result, and a second user-defined abnormality analysis result may be an axis serving as a reference for an index indicating the analysis result.

단말기의 페이로드 분석부는 비정상성 특징 벡터를 중심 그룹 입체 모델이 포함된 다차원 공간에 배치할 수 있다. 비정상성 특징 벡터는 프로토콜 분석, 사용자 행위 분석, 패킷 분석 및 하나 이상의 사용자 정의 비정상성 분석 축을 기준으로 다차원 공간에 배치될 수 있다. The payload analyzer of the terminal may arrange the non-stationary feature vector in a multidimensional space including the central group stereoscopic model. The anomaly feature vector may be arranged in a multidimensional space based on protocol analysis, user behavior analysis, packet analysis, and one or more user-defined anomaly analysis axes.

도 7에 따르면, 복수의 포인트가 표시되며, 각각의 포인트는 비정상성 특징 벡터를 나타낸다. 비정상성 특징 벡터 각각은 하나의 데이터 패킷에 대응한다. 다차원 공간에는 하나 이상의 중심 그룹 입체 모델(720, 730)이 존재할 수 있다. 다차원 공간은 분리된 중심성을 가질 수 있으며, 예를 들어, 둘 이상의 거의 동일한 밀도를 가지는 중심 그룹 입체 모델(720, 730)을 가질 수 있다. According to FIG. 7 , a plurality of points are displayed, and each point represents an anomaly feature vector. Each of the non-stationary feature vectors corresponds to one data packet. One or more central group stereoscopic models 720 and 730 may exist in the multidimensional space. The multidimensional space may have separate centroids, for example, two or more centroid group stereoscopic models 720 and 730 having approximately equal densities.

중심 그룹 입체 모델(720)은 복수의 정상 특징 벡터(721)를 포함할 수 있다. 비정상성 특징 벡터(730)은 복수의 정상 특징 벡터(731)를 포함할 수 있다. 그 외에도, 둘 이상의 서브 그룹(741, 751)이 존재할 수 있지만, 이러한 서브 그룹들은 중심 그룹(720, 730)을 위협할 정도로 크지 않다. The central group stereoscopic model 720 may include a plurality of normal feature vectors 721 . The nonstationary feature vector 730 may include a plurality of stationary feature vectors 731 . In addition, two or more subgroups 741 and 751 may exist, but these subgroups are not large enough to threaten the central groups 720 and 730 .

정상 데이터 패킷을 표현하는 정상 특징 벡터를 포함하는 중심 그룹 입체 모델(720, 730)의 결정은 다양한 기법으로 수행될 수 있으며, 이후, 데이터 패킷들은 시스템 상에서 계속 분석되게 된다. 중심 그룹 입체 모델(720, 730)의 갱신은 비정상으로 판단되는 특징 벡터 및 정상으로 판단되는 특징 벡터에 의해 지속적으로 수행될 수 있다. 데이터 패킷은 지속적으로 분석되고 클러스터링될 수 있고, 클러스터링되는 하나 이상의 중심 그룹 입체 모델은 중심성 기능을 하는 것으로 인정되는 밀도에 도달할 수 있다. 이렇게 일정한 임계 밀도를 초과하는 중심 그룹 입체 모델은 정상성을 판단하기 위한 새로운 기준이 될 수 있다.The determination of the central group stereoscopic models 720 and 730 including the normal feature vectors representing the normal data packets may be performed using various techniques, and then, the data packets are continuously analyzed on the system. The update of the central group stereoscopic models 720 and 730 may be continuously performed by the feature vector determined to be abnormal and the feature vector determined to be normal. The data packets may be continuously analyzed and clustered, and one or more central groups that are clustered may reach a density that is recognized as serving a centrality function. The three-dimensional model of the central group exceeding a certain critical density can be a new standard for judging normality.

비정상으로 판단되는 특징 벡터들은 다차원 공간의 엣지 또는 코너에 가깝게 배치된다. 특정한 특징 벡터가 중심성으로부터 멀리 떨어지는 동시에, 코너 또는 엣지에 가깝게 배치된 알려진 비정상성에 가깝지도 않은 경우 또는 임의의 알려진 비정상성의 데이터 세트에 충분히 매칭되지 않는 경우, 데이터 보안 시스템은 사용자에 의해 정의되는 사용자 이벤트를 생성할 수 있다. 다차원 공간에 의해 개념화되는 중심 그룹 입체 모델과 비교할 때, 이러한 비정상성은 알려지지 않은 비정상성/일탈로 지칭될 수 있다. 사용자 이벤트가 발생할 경우 데이터 보안 시스템은 별도로 문제되는 데이터 패킷을 분류하거나 라벨링하기 위해 보안 서버(310)에 관리 권한을 요청할 수 있다.Feature vectors determined to be abnormal are disposed close to the edge or corner of the multidimensional space. If a particular feature vector is far from centroid, but not close to a known anomaly placed close to a corner or edge, or if it does not sufficiently match a data set of any known anomaly, the data security system will trigger a user-defined user event. can create Compared to the central group stereoscopic model conceptualized by the multidimensional space, such anomalies can be referred to as unknown abnormalities/deviations. When a user event occurs, the data security system may request management authority from the security server 310 to separately classify or label problematic data packets.

도 8은 일 실시예에 따른 데이터 보안 방법의 동작을 도시한 흐름도이다.8 is a flowchart illustrating an operation of a data security method according to an embodiment.

일 실시예에 따르면, 동작(801)에서, 단말기의 이벤트 감지부는 안드로이드 어플리케이션 패키지 파일(Android application package file, APK)의 동작 신호를 감지할 수 있다.According to an embodiment, in operation 801 , the event detection unit of the terminal may detect an operation signal of an Android application package file (APK).

일 실시예에 따르면, 동작(803)에서, 동작 신호에 반응하여, 단말기의 트랜시버는 안드로이드 어플리케이션 패키지 파일의 전송 요청에 의해 외부로 전송되는 단말기에 저장된 데이터 패킷을 보안 서버로 전송할 수 있다.According to an embodiment, in operation 803 , in response to the operation signal, the transceiver of the terminal may transmit a data packet stored in the terminal transmitted to the outside in response to a transmission request of the Android application package file to the security server.

일 실시예에 따르면, 동작(805)에서, 보안 서버의 상관관계 분석부는 데이터 패킷의 상관관계를 분석하고, 데이터 패킷의 상관관계 인스턴트 정보를 획득할 수 있다.According to an embodiment, in operation 805 , the correlation analyzer of the security server may analyze the correlation of the data packet and obtain correlation instance information of the data packet.

일 실시예에 따르면, 동작(807)에서, 보안 서버의 매칭부는 데이터 패킷의 상관관계 인스턴트 정보에 매칭되는 상관관계 등록 정보를 보안 서버의 가상화 데이터베이스에서 검색할 수 있다.According to an embodiment, in operation 807 , the matching unit of the security server may search for correlation registration information matching correlation instance information of the data packet in the virtualization database of the security server.

일 실시예에 따르면, 동작(809)에서, 상관관계 인스턴트 정보와 매칭되는 상관관계 등록 정보가 검색된 경우에, 보안 서버의 트랜시버는 전송 차단 요청 신호를 단말기의 트랜시버로 전송할 수 있다.According to an embodiment, in operation 809 , when correlation registration information matching the correlation instance information is found, the transceiver of the security server may transmit a transmission blocking request signal to the transceiver of the terminal.

일 실시예에 따르면, 동작(811)에서, 상관관계 인스턴트 정보와 매칭되는 상관관계 등록 정보가 검색되지 않은 경우에, 단말기의 제어부는 데이터 패킷의 통신 관리 정보를 기초로 데이터 패킷을 네트워크로 전송할지 여부를 결정할 수 있다.According to an embodiment, in operation 811, when correlation registration information matching the correlation instance information is not found, the control unit of the terminal determines whether to transmit the data packet to the network based on the communication management information of the data packet. can decide whether

일 실시예에 따르면, 동작(813)에서, 미러 패킷을 상기 단말기의 가상 머신에 입력하여 시뮬레이션을 수행할 수 있다.According to an embodiment, in operation 813, a mirror packet may be input to the virtual machine of the terminal to perform simulation.

일 실시예에 따르면, 동작(815)에서, 시뮬레이션의 결과를 기초로 상기 단말기의 트랜시버로 상기 데이터 패킷을 전달할지 여부를 결정할 수 있다.According to an embodiment, in operation 815, it may be determined whether to forward the data packet to the transceiver of the terminal based on a result of the simulation.

일 실시예에 따르면, 동작(817)에서, 시뮬레이션의 결과를 기초로 상기 단말기의 트랜시버로 상기 데이터 패킷을 전달하기로 결정한 경우, 상기 데이터 패킷에 포함된 사용자의 개인 정보와 관련된 텍스트 데이터를 수집할 수 있다.According to an embodiment, in operation 817, when it is determined to transmit the data packet to the transceiver of the terminal based on the result of the simulation, text data related to the user's personal information included in the data packet is collected. can

일 실시예에 따르면, 동작(819)에서, 개인 정보와 관련된 텍스트 데이터의 가공률을 계산할 수 있다.According to an embodiment, in operation 819 , a processing rate of text data related to personal information may be calculated.

일 실시예에 따르면, 동작(821)에서, 텍스트 데이터의 가공률이 임계값 미만인 경우에 상기 데이터 패킷에 포함된 사용자의 개인 정보가 노출되었다고 판단할 수 있다.According to an embodiment, in operation 821 , when the processing rate of text data is less than a threshold value, it may be determined that the user's personal information included in the data packet has been exposed.

이상에서 설명된 실시예들은 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어 구성요소의 조합으로 구현될 수 있다. 예를 들어, 실시예들에서 설명된 장치, 방법 및 구성요소는, 예를 들어, 프로세서, 콘트롤러, ALU(arithmetic logic unit), 디지털 신호 프로세서(digital signal processor), 마이크로컴퓨터, FPGA(field programmable gate array), PLU(programmable logic unit), 마이크로프로세서, 또는 명령(instruction)을 실행하고 응답할 수 있는 다른 어떠한 장치와 같이, 하나 이상의 범용 컴퓨터 또는 특수 목적 컴퓨터를 이용하여 구현될 수 있다. 처리 장치는 운영 체제(OS) 및 상기 운영 체제 상에서 수행되는 하나 이상의 소프트웨어 애플리케이션을 수행할 수 있다. 또한, 처리 장치는 소프트웨어의 실행에 응답하여, 데이터를 접근, 저장, 조작, 처리 및 생성할 수도 있다. 이해의 편의를 위하여, 처리 장치는 하나가 사용되는 것으로 설명된 경우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 처리 장치가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다. 예를 들어, 처리 장치는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 콘트롤러를 포함할 수 있다. 또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다.The embodiments described above may be implemented by a hardware component, a software component, and/or a combination of a hardware component and a software component. For example, the apparatus, methods and components described in the embodiments may include, for example, a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate (FPGA). array), a programmable logic unit (PLU), a microprocessor, or any other device capable of executing and responding to instructions, may be implemented using one or more general purpose or special purpose computers. The processing device may execute an operating system (OS) and one or more software applications running on the operating system. The processing device may also access, store, manipulate, process, and generate data in response to execution of the software. For convenience of understanding, although one processing device is sometimes described as being used, one of ordinary skill in the art will recognize that the processing device includes a plurality of processing elements and/or a plurality of types of processing elements. It can be seen that may include For example, the processing device may include a plurality of processors or one processor and one controller. Other processing configurations are also possible, such as parallel processors.

소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로(collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 가상 장치(virtual equipment), 컴퓨터 저장 매체 또는 장치, 또는 전송되는 신호 파(signal wave)에 영구적으로, 또는 일시적으로 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매체에 저장될 수 있다.The software may comprise a computer program, code, instructions, or a combination of one or more thereof, which configures a processing device to operate as desired or is independently or collectively processed You can command the device. The software and/or data may be any kind of machine, component, physical device, virtual equipment, computer storage medium or device, to be interpreted by or to provide instructions or data to the processing device. , or may be permanently or temporarily embody in a transmitted signal wave. The software may be distributed over networked computer systems and stored or executed in a distributed manner. Software and data may be stored in one or more computer-readable recording media.

실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 실시예의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.The method according to the embodiment may be implemented in the form of program instructions that can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, etc. alone or in combination. The program instructions recorded on the medium may be specially designed and configured for the embodiment, or may be known and available to those skilled in the art of computer software. Examples of the computer-readable recording medium include magnetic media such as hard disks, floppy disks and magnetic tapes, optical media such as CD-ROMs and DVDs, and magnetic such as floppy disks. - includes magneto-optical media, and hardware devices specially configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine language codes such as those generated by a compiler, but also high-level language codes that can be executed by a computer using an interpreter or the like. The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the embodiments, and vice versa.

이상과 같이 실시예들이 비록 한정된 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기를 기초로 다양한 기술적 수정 및 변형을 적용할 수 있다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.As described above, although the embodiments have been described with reference to the limited drawings, those skilled in the art may apply various technical modifications and variations based on the above. For example, the described techniques are performed in a different order than the described method, and/or the described components of the system, structure, apparatus, circuit, etc. are combined or combined in a different form than the described method, or other components Or substituted or substituted by equivalents may achieve an appropriate result.

그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 특허청구범위의 범위에 속한다.Therefore, other implementations, other embodiments, and equivalents to the claims are also within the scope of the following claims.

Claims (7)

단말기의 이벤트 감지부에 의해, 안드로이드 어플리케이션 패키지 파일(Android application package file, APK)의 동작 신호를 감지하는 동작;
상기 동작 신호에 반응하여, 상기 단말기의 트랜시버에 의해, 상기 안드로이드 어플리케이션 패키지 파일의 전송 요청에 의해 외부로 전송되는 상기 단말기에 저장된 데이터 패킷을 보안 서버로 전송하는 동작;
상기 보안 서버의 상관관계 분석부에 의해, 상기 데이터 패킷의 상관관계를 분석하고, 상기 데이터 패킷의 상관관계 인스턴트 정보를 획득하는 동작;
상기 보안 서버의 매칭부에 의해, 상기 데이터 패킷의 상관관계 인스턴트 정보에 매칭되는 상관관계 등록 정보를 상기 보안 서버의 가상화 데이터베이스에서 검색하는 동작;
상기 상관관계 인스턴트 정보와 매칭되는 상기 상관관계 등록 정보가 검색된 경우에, 상기 보안 서버의 트랜시버에 의해, 전송 차단 요청 신호를 상기 단말기의 트랜시버로 전송하는 동작;
상기 상관관계 인스턴트 정보와 매칭되는 상기 상관관계 등록 정보가 검색되지 않은 경우에, 상기 단말기의 제어부에 의해, 상기 데이터 패킷의 통신 관리 정보를 기초로 상기 데이터 패킷을 네트워크로 전송할지 여부를 결정하는 동작;
상기 데이터 패킷을 네트워크로 전송하기로 결정한 경우에, 상기 단말기의 미러링부에 의해, 상기 데이터 패킷을 복사하여 미러 패킷을 생성하는 동작;
상기 단말기의 페이로드 분석부에 의해, 상기 미러 패킷의 페이로드를 분석하는 동작;
상기 단말기의 페이로드 분석부에 의해, 상기 미러 패킷을 시뮬레이션 수행부로 전송할지 여부를 결정하는 동작;
상기 시뮬레이션 수행부에 의해, 상기 미러 패킷을 상기 단말기의 가상 머신에 입력하여 시뮬레이션을 수행하는 동작;
상기 단말기의 스위치에 의해, 상기 시뮬레이션의 결과를 기초로 상기 단말기의 트랜시버로 상기 데이터 패킷을 전달할지 여부를 결정하는 동작;
상기 단말기의 크롤링부에 의해, 상기 시뮬레이션의 결과를 기초로 상기 단말기의 트랜시버로 상기 데이터 패킷을 전달하기로 결정한 경우, 상기 데이터 패킷에 포함된 사용자의 개인 정보와 관련된 텍스트 데이터를 수집하는 동작;
상기 단말기의 텍스트 매칭부에 의해, 상기 개인 정보와 관련된 텍스트 데이터의 가공률을 계산하는 동작; 및
상기 단말기의 텍스트 매칭부에 의해, 상기 텍스트 데이터의 가공률이 임계값 미만인 경우에 상기 데이터 패킷에 포함된 사용자의 개인 정보가 노출되었다고 판단하는 동작을 포함하고,
상기 단말기의 페이로드 분석부에 의해 상기 전송할지 여부를 결정하는 동작은,
상기 단말기의 페이로드 분석부에 의해, 페이로드 분석 모델을 이용하여 상기 미러 패킷으로부터 비정상성 특징 벡터를 포함하는 상기 페이로드의 분석의 결과를 출력하는 동작; 및
상기 단말기의 페이로드 분석부에 의해, 상기 페이로드의 분석의 결과를 기초로 상기 미러 패킷을 시뮬레이션 수행부로 전달할지 여부를 결정하는 동작을 포함하고,
상기 페이로드 분석 모델은 프로토콜 분석부, 사용자 행위 분석부, 패킷 분석부, 사용자 정의 비정상성 분석부 및 비정상성 특징 분석부를 포함하고,
상기 비정상성 특징 벡터를 출력하는 동작은,
상기 단말기의 페이로드 분석부에 의해, 상기 프로토콜 분석부에 상기 미러 패킷의 프로토콜 정보를 입력하여 프로토콜 분석 벡터를 출력하는 동작;
상기 단말기의 페이로드 분석부에 의해, 상기 사용자 행위 분석부에 상기 데이터 패킷과 관련된 사용자 행위 정보를 입력하여 사용자 행위 분석 벡터를 출력하는 동작;
상기 단말기의 페이로드 분석부에 의해, 상기 패킷 분석부에 상기 미러 패킷의 페이로드를 입력하여 패킷 분석 벡터를 출력하는 동작;
상기 단말기의 페이로드 분석부에 의해, 상기 사용자 정의 비정상성 분석부에 상기 미러 패킷의 페이로드를 입력하여 사용자 정의 비정상성 분석 벡터를 출력하는 동작;
상기 단말기의 페이로드 분석부에 의해, 상기 프로토콜 분석 벡터, 상기 사용자 행위 분석 벡터, 상기 패킷 분석 벡터 및 상기 사용자 정의 비정상성 분석 벡터에 콘케티네이션(concatenation)을 수행하여 결합 벡터를 출력하는 동작;
상기 단말기의 페이로드 분석부에 의해, 상기 결합 벡터를 상기 비정상성 특징 분석부에 입력하여 비정상성 특징 벡터를 출력하는 동작; 및
상기 단말기의 페이로드 분석부에 의해, 비정상성 특징 벡터가 다차원 공간의 중심 그룹 입체 모델에 포함되는지 여부를 판단하는 동작을 포함하고,
상기 중심 그룹 입체 모델은 정상인 것으로 판단되고 임계 밀도 이상의 복수의 정상 특징 벡터를 포함하는 중심 그룹으로부터 법선 방향으로 최소 경계 거리만큼 떨어진 상기 다차원 공간의 입체 모델을 나타내고,
상기 비정상성 특징 벡터가 다차원 공간의 중심 그룹 입체 모델에 포함되지 않는 경우에, 상기 단말기의 페이로드 분석부에 의해, 상기 비정상성 특징 벡터를 기초로 상기 중심 그룹 입체 모델을 갱신하는 동작을 더 포함하는,
데이터 보안 방법.
Detecting an operation signal of an Android application package file (APK) by the event detection unit of the terminal;
transmitting, by the transceiver of the terminal in response to the operation signal, a data packet stored in the terminal, which is transmitted to the outside in response to a transmission request of the Android application package file, to a security server;
analyzing, by the correlation analysis unit of the security server, the correlation of the data packet, and obtaining correlation instance information of the data packet;
retrieving, by the matching unit of the security server, correlation registration information matching the correlation instance information of the data packet in the virtualization database of the security server;
transmitting, by the transceiver of the security server, a transmission blocking request signal to the transceiver of the terminal when the correlation registration information matching the correlation instance information is found;
When the correlation registration information matching the correlation instance information is not found, determining whether to transmit the data packet to the network based on the communication management information of the data packet, by the control unit of the terminal ;
generating a mirror packet by copying the data packet by the mirroring unit of the terminal when it is decided to transmit the data packet to the network;
analyzing the payload of the mirror packet by the payload analyzer of the terminal;
determining, by the payload analyzing unit of the terminal, whether to transmit the mirror packet to the simulation performing unit;
performing a simulation by inputting the mirror packet into the virtual machine of the terminal by the simulation performing unit;
determining, by the switch of the terminal, whether to forward the data packet to the transceiver of the terminal based on a result of the simulation;
collecting, by the crawling unit of the terminal, text data related to the user's personal information included in the data packet when it is determined to transmit the data packet to the transceiver of the terminal based on the result of the simulation;
calculating, by the text matching unit of the terminal, a processing rate of text data related to the personal information; and
determining, by the text matching unit of the terminal, that the user's personal information included in the data packet has been exposed when the processing rate of the text data is less than a threshold value;
The operation of determining whether to transmit by the payload analysis unit of the terminal comprises:
outputting, by the payload analysis unit of the terminal, a result of analysis of the payload including an abnormality feature vector from the mirror packet using a payload analysis model; and
determining, by the payload analyzing unit of the terminal, whether to transmit the mirror packet to the simulation performing unit, based on the result of the analysis of the payload;
The payload analysis model includes a protocol analysis unit, a user behavior analysis unit, a packet analysis unit, a user-defined abnormality analysis unit, and an abnormality characteristic analysis unit,
The operation of outputting the non-stationary feature vector comprises:
outputting a protocol analysis vector by inputting protocol information of the mirror packet to the protocol analysis unit by the payload analysis unit of the terminal;
outputting a user behavior analysis vector by inputting user behavior information related to the data packet to the user behavior analysis unit by the payload analyzer of the terminal;
outputting a packet analysis vector by inputting the payload of the mirror packet to the packet analysis unit by the payload analysis unit of the terminal;
outputting a user-defined anomaly analysis vector by inputting the payload of the mirror packet to the user-defined abnormality analysis unit by the payload analysis unit of the terminal;
outputting a concatenated vector by performing concatenation on the protocol analysis vector, the user behavior analysis vector, the packet analysis vector, and the user-defined anomaly analysis vector by the payload analysis unit of the terminal;
inputting the combined vector into the abnormality characteristic analysis unit by the payload analysis unit of the terminal and outputting the abnormality characteristic vector; and
determining, by the payload analysis unit of the terminal, whether the non-stationary feature vector is included in the central group stereoscopic model of the multidimensional space,
The centroid group three-dimensional model is determined to be normal and represents a three-dimensional model of the multidimensional space separated by a minimum boundary distance in the normal direction from the centroid group including a plurality of normal feature vectors having a critical density or more,
If the nonstationary feature vector is not included in the central group stereoscopic model of the multidimensional space, updating the central group stereoscopic model based on the nonstationary feature vector by the payload analyzer of the terminal. doing,
Data Security Methods.
제1항에 있어서,
상기 가공률을 계산하는 동작은,
상기 단말기의 텍스트 매칭부에 의해, 상기 개인 정보의 프리시드 수치 및 복수의 C&C 서버 사이에서 상기 텍스트 데이터가 전달된 횟수를 기초로 상기 개인 정보와 관련된 텍스트 데이터의 가공률을 계산하는 동작을 포함하는,
데이터 보안 방법.
According to claim 1,
The operation of calculating the processing rate is,
calculating, by the text matching unit of the terminal, a processing rate of text data related to the personal information based on the number of times the text data is transmitted between the pre-seed value of the personal information and a plurality of C&C servers ,
Data Security Methods.
제1항에 있어서,
상기 보안 서버의 가상화부에 의해, 상기 보안 서버의 내부 데이터 베이스 및 하나 이상의 외부 서버의 외부 데이터 베이스를 가상화하여 가상화 데이터 베이스를 생성하는 동작을 더 포함하는,
데이터 보안 방법.
According to claim 1,
Further comprising, by the virtualization unit of the security server, the operation of creating a virtualized database by virtualizing the internal database of the security server and the external database of one or more external servers,
Data Security Methods.
제3항에 있어서,
상기 가상화 데이터 베이스를 생성하는 동작은,
상기 보안 서버의 내부 데이터 베이스에 저장된 상관관계 등록 정보 및 상기 외부 데이터 베이스에 저장된 상관관계 등록 정보에 대한 상관관계 하이어라키 정보를 생성하는 동작을 포함하고,
가상화 데이터베이스에서 검색하는 동작은,
상기 상관관계 하이어라키 정보를 기초로 상기 상관관계 인스턴트 정보에 매칭되는 상관관계 등록 정보를 검색하는 동작을 포함하는,
데이터 보안 방법.
4. The method of claim 3,
The operation of creating the virtualized database is,
and generating correlation hierarchical information for correlation registration information stored in the internal database of the security server and correlation registration information stored in the external database,
The operation to search in the virtualized database is,
and searching for correlation registration information matching the correlation instance information based on the correlation hierarchical information.
Data Security Methods.
제1항에 있어서,
상기 단말기의 제어부에 의해 상기 전송할지 여부를 결정하는 동작은,
상기 상관관계 인스턴트 정보와 매칭되는 상기 상관관계 등록 정보가 검색되지 않은 경우에, 상기 단말기의 제어부에 의해, 상기 데이터 패킷의 통신 관리 정보를 기초로 상기 데이터 패킷을 상기 단말기의 스위치로 전달할지 여부를 결정하는 동작
을 포함하고,
상기 단말기의 스위치에 의해, 상기 데이터 패킷에 대해 패턴 분석을 수행하는 동작; 및
상기 단말기의 스위치에 의해, 상기 패턴 분석의 결과를 기초로 상기 데이터 패킷을 상기 네트워크로 전송할지 여부를 결정하는 동작
을 더 포함하는, 데이터 보안 방법.
According to claim 1,
The operation of determining whether to transmit by the control unit of the terminal is,
When the correlation registration information matching the correlation instance information is not found, the control unit of the terminal determines whether to forward the data packet to the switch of the terminal based on the communication management information of the data packet. action to decide
including,
performing pattern analysis on the data packet by the switch of the terminal; and
determining, by the switch of the terminal, whether to transmit the data packet to the network based on a result of the pattern analysis
Further comprising, a data security method.
제1항에 있어서,
상기 미러 패킷을 시뮬레이션 수행부로 전달할지 여부를 결정하는 동작은,
상기 시뮬레이션 수행부에 의해, 상기 미러 패킷을 상기 단말기의 가상 머신에 입력하여 시뮬레이션을 수행하는 동작; 및
상기 단말기의 스위치에 의해, 상기 시뮬레이션의 결과를 기초로 상기 단말기의 트랜시버로 상기 데이터 패킷을 전달할지 여부를 결정하는 동작
을 더 포함하는, 데이터 보안 방법.
According to claim 1,
The operation of determining whether to transmit the mirror packet to the simulation performing unit is,
performing a simulation by inputting the mirror packet into the virtual machine of the terminal by the simulation performing unit; and
determining, by the switch of the terminal, whether to forward the data packet to the transceiver of the terminal based on a result of the simulation
Further comprising, a data security method.
제1항에 있어서,
상기 텍스트 데이터를 입력으로 개인 정보 관련도 모델을 이용하여 복수의 개인 정보 중의 하나의 개인 정보를 분류하는 동작을 더 포함하고,
상기 개인 정보 관련도 모델은 입력 레이어, 하나 이상의 히든 레이어 및 출력 레이어를 포함하고,
학습 텍스트 데이터 및 정답 개인 정보의 레이블로 구성된 각각의 학습 데이터는 상기 개인 정보 관련도 모델의 상기 입력 레이어에 입력되어 상기 하나 이상의 히든 레이어 및 출력 레이어를 통과하여 출력 벡터를 출력하고, 상기 출력 벡터는 상기 출력 레이어에 연결된 손실함수 레이어에 입력되고, 상기 손실함수 레이어는 상기 출력 벡터와 각각의 학습 데이터에 대한 정답 벡터를 비교하는 손실 함수를 이용하여 손실값을 출력하고, 상기 개인 정보 관련도 모델의 파라미터는 상기 손실값이 작아지는 방향으로 학습되고,
[수학식]
Figure 112022027163467-pat00005

상기 손실 함수는 상기 수학식을 따르고,
상기 수학식에서, n은 클래스 별 학습 데이터의 수, y와 j는 클래스를 나타내는 식별자, C는 상수값, M은 클래스의 개수, x_y는 학습 데이터가 클래스 y에 속할 확률값, x_j는 학습 데이터가 클래스 j에 속할 확률값, L은 손실값을 의미하는,
데이터 보안 방법.
According to claim 1,
and classifying one piece of personal information among a plurality of personal information using a personal information relevance model by inputting the text data,
The personal information relevance model includes an input layer, one or more hidden layers and an output layer,
Each training data composed of training text data and a label of correct personal information is input to the input layer of the personal information relevance model and passes through the one or more hidden layers and output layers to output an output vector, and the output vector is It is input to a loss function layer connected to the output layer, and the loss function layer outputs a loss value using a loss function that compares the output vector with a correct vector for each training data, and the personal information relevance model of The parameter is learned in a direction in which the loss value becomes smaller,
[Equation]
Figure 112022027163467-pat00005

The loss function follows the above equation,
In the above formula, n is the number of learning data for each class, y and j are identifiers indicating classes, C is a constant value, M is the number of classes, x_y is the probability value that the learning data belongs to class y, x_j is the class Probability value belonging to j, L means loss value,
Data Security Methods.
KR1020220031331A 2022-03-14 2022-03-14 Method and apparatus for security of data using text filtering KR102438865B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020220031331A KR102438865B1 (en) 2022-03-14 2022-03-14 Method and apparatus for security of data using text filtering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020220031331A KR102438865B1 (en) 2022-03-14 2022-03-14 Method and apparatus for security of data using text filtering

Publications (1)

Publication Number Publication Date
KR102438865B1 true KR102438865B1 (en) 2022-09-02

Family

ID=83281224

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220031331A KR102438865B1 (en) 2022-03-14 2022-03-14 Method and apparatus for security of data using text filtering

Country Status (1)

Country Link
KR (1) KR102438865B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110070464A (en) * 2009-12-18 2011-06-24 한국전자통신연구원 Apparatus for capturing traffic and apparatus, system and method for analyzing traffic
KR20130093841A (en) * 2012-01-26 2013-08-23 주식회사 시큐아이 Intrusion prevention system using correlation attack pattern and method thereof
KR20200033090A (en) * 2018-09-19 2020-03-27 주식회사맥데이타 An apparatus for network monitoring and method thereof, and system
KR102197005B1 (en) * 2020-07-31 2020-12-30 (주)라바웨이브 Apparatus for protecting personal information leaked by phishing application and method using the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110070464A (en) * 2009-12-18 2011-06-24 한국전자통신연구원 Apparatus for capturing traffic and apparatus, system and method for analyzing traffic
KR20130093841A (en) * 2012-01-26 2013-08-23 주식회사 시큐아이 Intrusion prevention system using correlation attack pattern and method thereof
KR20200033090A (en) * 2018-09-19 2020-03-27 주식회사맥데이타 An apparatus for network monitoring and method thereof, and system
KR102197005B1 (en) * 2020-07-31 2020-12-30 (주)라바웨이브 Apparatus for protecting personal information leaked by phishing application and method using the same

Similar Documents

Publication Publication Date Title
CN111147504B (en) Threat detection method, apparatus, device and storage medium
CN111262887B (en) Network risk detection method, device, equipment and medium based on object characteristics
US9973517B2 (en) Computing device to detect malware
WO2020134790A1 (en) Data abnormality detection method and apparatus, and terminal device
Wang et al. A Host‐Based Anomaly Detection Framework Using XGBoost and LSTM for IoT Devices
US20190349356A1 (en) Cybersecurity intelligence platform that predicts impending cyber threats and proactively protects heterogeneous devices using highly-scalable bidirectional secure connections in a federated threat intelligence environment
KR102414167B1 (en) Method and apparatus for security using packet sending using neural networks
KR102408462B1 (en) Method and apparatus for garmet suggestion using neural networks
Niu et al. Uncovering APT malware traffic using deep learning combined with time sequence and association analysis
CN115580450A (en) Method and device for detecting flow, electronic equipment and computer readable storage medium
KR102476292B1 (en) System for processing pedal box photographing image data of a vehicle using artificial intelligence
KR102438865B1 (en) Method and apparatus for security of data using text filtering
CN115239941B (en) Countermeasure image generation method, related device and storage medium
KR102452577B1 (en) Method and apparatus for providing visualization information about a webtoon by a server using neural network
KR102483826B1 (en) Method for security of data
KR102446469B1 (en) Neural network-based file management system
US20220182412A1 (en) Systems and methods of evaluating probe attributes for securing a network
CN114422207A (en) Multi-mode-based C &amp; C communication flow detection method and device
KR102471214B1 (en) Method and apparatus for monitoring ip-cam
KR102390412B1 (en) Ai-based anti-phishing chatbot system
KR102455357B1 (en) A system of filtering phishing victim data based on a neural network
KR102468193B1 (en) Method and apparatus for monitoring ip-cam
KR102450024B1 (en) Neural network based building fire detection system
KR102653470B1 (en) Ai-based dvr video streaming system in real time
KR102575856B1 (en) Method and apparauts for compatibility of input devices

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant