KR102473506B1 - Method and apparatus for providing watermarked data using a neural network - Google Patents

Method and apparatus for providing watermarked data using a neural network Download PDF

Info

Publication number
KR102473506B1
KR102473506B1 KR1020220075104A KR20220075104A KR102473506B1 KR 102473506 B1 KR102473506 B1 KR 102473506B1 KR 1020220075104 A KR1020220075104 A KR 1020220075104A KR 20220075104 A KR20220075104 A KR 20220075104A KR 102473506 B1 KR102473506 B1 KR 102473506B1
Authority
KR
South Korea
Prior art keywords
watermark
original data
information
server
data
Prior art date
Application number
KR1020220075104A
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 KR1020220162589A priority Critical patent/KR20220166242A/en
Priority to KR1020220162594A priority patent/KR102681057B1/en
Application granted granted Critical
Publication of KR102473506B1 publication Critical patent/KR102473506B1/en
Priority to PCT/KR2023/006835 priority patent/WO2023243885A1/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/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/16Program or content traceability, e.g. by watermarking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/18Legal services
    • G06Q50/184Intellectual property management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • Technology Law (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Tourism & Hospitality (AREA)
  • Data Mining & Analysis (AREA)
  • Artificial Intelligence (AREA)
  • Molecular Biology (AREA)
  • Evolutionary Computation (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Biophysics (AREA)
  • Multimedia (AREA)
  • Biomedical Technology (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Operations Research (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Embodiments of the present invention provide a method and an apparatus for allowing a server to use a neural network to transmit watermarked data to at least one device. The method according to one embodiment of the present invention comprises the steps of: obtaining original data based on document information inputted into the server; determining pattern information through a pattern generation model using the neural network, based on the original data, a name for at least one receiving person, and a name for a transmitting person which is inputted in advance, wherein the at least one receiving person is selected from the list of the receiving persons pre-stored in the server; allowing the pre-stored list of the receiving persons to include the names and the contact information of the receiving persons, allowing the pattern information to include information on a first object and a second object constituting a watermark and information on a pattern configured by combination of the first object and the second object, and inserting the watermark including the first object and the second object into the original data, based on the pattern information and setting information on the pre-inputted watermark; and transmitting the watermarked data to at least one device related to the at least one receiving person, based on the contact information on the receiving person. For example, the first object can be generated based on the name of the at least one receiving person. For example, the second object can be generated based on the name of the transmitting person. For example, the watermark transmitted by the at least one device can be determined differently for each of the at least one device.

Description

뉴럴 네트워크를 이용하여 워터마크가 삽입된 데이터를 제공하는 방법 및 장치{METHOD AND APPARATUS FOR PROVIDING WATERMARKED DATA USING A NEURAL NETWORK}Method and apparatus for providing watermarked data using a neural network

본 개시의 실시예들은 워터마크가 삽입된 데이터를 제공하는 기술에 관한 것으로, 뉴럴 네트워크를 이용하여 워터마크가 삽입된 데이터를 제공하는 기술에 대한 것이다.Embodiments of the present disclosure relate to a technology for providing watermarked data, and to a technology for providing watermarked data using a neural network.

디지털 기술의 발전으로 온라인 상의 문서, 사진, 영상 데이터에 대한 수요가 증가함에 따라, 디지털 컨텐츠의 불법적인 복제나 유통으로 인한 지적재산권 문제가 발생하고 있다. 디지털 컨텐츠의 경우, 품질의 손상 없이 복사본이 제작될 수 있기 때문에, 디지털 컨텐츠의 무단 복제 및 배포가 더욱 문제될 수 있다. 따라서, 디지털 데이터에 대한 소유권을 보호하고, 불법 복제 및 배포를 방지하기 위한 저작권 보호 기술이 요구된다. As the demand for online documents, photos, and video data increases with the development of digital technology, intellectual property rights problems arise due to illegal copying or distribution of digital contents. In the case of digital content, since a copy can be produced without loss of quality, unauthorized copying and distribution of digital content may be more problematic. Accordingly, a copyright protection technology for protecting the ownership of digital data and preventing illegal copying and distribution is required.

이를 위해, 일반적으로 사용되는 기술은 디지털 워터마킹이며, 디지털 워터마킹은 각종 디지털 컨텐츠의 불법 복제 및 배포, 위조 등과 같이 상업적 도용을 근절시키기 위한 목적으로 저작권자의 고유 정보를 컨텐츠에 삽입하는 기술이다. 여기서, 삽입되는 저작권자의 고유정보를 워터마크(watermark)라고 한다.To this end, a commonly used technology is digital watermarking, and digital watermarking is a technology of inserting unique information of a copyright holder into content for the purpose of eradicating commercial theft, such as illegal copying, distribution, and counterfeiting of various digital content. Here, the embedded copyright holder's unique information is referred to as a watermark.

특히, 워터마크는 보안 문서의 유출을 방지하기 위해 보안 문서에 가시적으로 삽입될 수 있다. 예를 들어, 편의점 본사에서 전국의 점주에게 보내는 공문, 프랜차이즈 본사에서 각 사업장에 보내는 협조문, 검찰에서 부서별로 보내는 사건진행관련 문서나 판결관련 내용, 기업에서 직원에게 보내는 사내문서, 경찰서 내부에서 도는 각종 문서, 영화나 드라마팀에서 보내는 시나리오, 각종 계약서, 전자 서적 및 계약 직전의 완성된 소설과 같이 보안이 필요한 문서에 대해 워터마크를 가시적으로 삽입함으로써, 문서에 대한 유출을 사전에 방지할 수 있다.In particular, a watermark may be visibly inserted into a secure document to prevent leakage of the secure document. For example, official letters sent from the convenience store headquarters to store owners across the country, cooperation letters sent from the franchise headquarters to each business site, documents related to case progress or judgments sent by departments from the prosecution, in-house documents sent from companies to employees, and various documents sent from inside the police station. By visually embedding a watermark on documents that require security, such as documents, scenarios sent by movie or drama teams, various contracts, electronic books, and completed novels just before contracts, leakage of documents can be prevented in advance.

한편, 복수의 보안 문서를 복수의 수신인에게 발송하는 경우, 각각의 수신인에게 전송되는 보안 문서마다 워터마크를 삽입해야 하는 번거로움이 있을 수 있다. 또한, 워터마크가 삽입된 보안 문서의 일부만 유출되는 경우, 상기 보안 문서의 일부에 워터마크의 일부가 포함되면, 워터마크 전체가 아닌 워터마크의 일부만으로는 유출된 경로를 확인하기 어려울 수 있다.Meanwhile, when a plurality of security documents are sent to a plurality of recipients, it may be inconvenient to insert a watermark into each security document transmitted to each recipient. In addition, when only a part of the watermark-embedded security document is leaked, if a part of the watermark is included in the part of the security document, it may be difficult to check the leaked path with only a part of the watermark instead of the entire watermark.

이에, 사전 저장된 수신인 리스트를 통해 수신인을 용이하게 설정하고, 뉴럴 네트워크를 통해 수신인에 대한 명칭 및 발신인에 대한 명칭이 패턴으로 구성된 워터마크가 삽입된 데이터를 제공하는 방법이 필요할 수 있다. Therefore, a method of easily setting a recipient through a pre-stored recipient list and providing watermarked data composed of a recipient's name and a sender's name as a pattern through a neural network is required.

본 개시의 실시예들은, 뉴럴 네트워크를 이용하여 워터마크가 삽입된 데이터를 제공하는 방법 및 장치를 제공할 수 있다. Embodiments of the present disclosure may provide a method and apparatus for providing watermarked data using a neural network.

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

일 실시예에 따른 서버가 뉴럴 네트워크(neural network)를 이용하여 서버가 워터마크가 삽입된 데이터를 적어도 하나의 장치에게 전송하는 방법은, 상기 서버에 입력된 문서 정보를 기반으로 원본 데이터를 획득하고, 상기 원본 데이터, 적어도 하나의 수신인에 대한 명칭 및 사전 입력된 발신인에 대한 명칭을 기반으로 상기 뉴럴 네트워크를 이용한 패턴 생성 모델을 통해 패턴 정보를 결정하고, 상기 적어도 하나의 수신인은 상기 서버에 사전 저장된 수신인 리스트로부터 선택되고, 상기 사전 저장된 수신인 리스트는 수신인에 대한 명칭 및 수신인에 대한 연락 정보를 포함하고, 상기 패턴 정보는 워터마크를 구성하는 제1 오브젝트 및 제2 오브젝트에 대한 정보와 상기 제1 오브젝트 및 상기 제2 오브젝트의 조합으로 구성된 패턴에 대한 정보를 포함하고, 상기 패턴 정보 및 사전 입력된 워터마크에 대한 설정 정보를 기반으로 상기 제1 오브젝트 및 상기 제2 오브젝트를 포함하는 워터마크를 상기 원본 데이터에 삽입하고, 상기 수신인에 대한 연락 정보에 기반하여 상기 워터마크가 삽입된 데이터를 상기 적어도 하나의 수신인과 관련된 적어도 하나의 장치에게 전송하는 단계를 포함할 수 있다. 예를 들어, 상기 제1 오브젝트는 상기 적어도 하나의 수신인에 대한 명칭을 기반으로 생성될 수 있다. 예를 들어, 상기 제2 오브젝트는 상기 발신인에 대한 명칭을 기반으로 생성될 수 있다. 예를 들어, 상기 적어도 하나의 장치에게 전송되는 워터마크는 상기 적어도 하나의 장치 별로 상이하게 결정될 수 있다.A method in which a server transmits watermarked data to at least one device using a neural network by a server according to an embodiment includes obtaining original data based on document information input to the server; , Pattern information is determined through a pattern generation model using the neural network based on the original data, the name of at least one recipient, and the name of the sender input in advance, and the at least one recipient is pre-stored in the server. is selected from a list of recipients, the pre-stored recipient list includes a name of the recipient and contact information about the recipient, and the pattern information includes information about a first object and a second object constituting a watermark and the first object and information on a pattern composed of a combination of the second object, and a watermark including the first object and the second object is created based on the pattern information and pre-input setting information for the watermark, and the original watermark and transmitting the watermarked data to at least one device associated with the at least one recipient based on contact information for the recipient. For example, the first object may be created based on the name of the at least one recipient. For example, the second object may be created based on the name of the sender. For example, a watermark transmitted to the at least one device may be determined differently for each of the at least one device.

일 실시예에 따라, 상기 제1 오브젝트 및 상기 제2 오브젝트에 대한 정보는 상기 제1 오브젝트 및 상기 제2 오브젝트의 크기에 대한 정보와 상기 제1 오브젝트 및 상기 제2 오브젝트의 형태에 대한 정보를 포함할 수 있다. 예를 들어, 상기 제1 오브젝트 및 상기 제2 오브젝트의 조합으로 구성된 패턴은 둘 이상의 패턴을 포함할 수 있다. 예를 들어, 상기 원본 데이터에 포함된 텍스트의 크기에 기반하여 상기 제1 오브젝트와 상기 제2 오브젝트의 크기가 결정될 수 있다.According to an embodiment, the information about the first object and the second object includes information about the size of the first object and the second object and information about the shape of the first object and the second object. can do. For example, a pattern composed of a combination of the first object and the second object may include two or more patterns. For example, the size of the first object and the second object may be determined based on the size of text included in the original data.

일 실시예에 따라, 상기 원본 데이터에 포함된 텍스트의 분포에 기반하여 DBSCAN(Density-Based Spatial Clustering of Applications with Noise) 기법을 통해 상기 원본 데이터에 대해 복수의 제1 영역이 결정될 수 있다. 예를 들어, 상기 복수의 제1 영역 중에서 상기 워터마크의 삽입이 가능한 하나 이상의 제2 영역이 결정될 수 있다. 예를 들어, 상기 하나 이상의 제2 영역 중에서 상기 워터마크가 삽입될 수 있다.According to an embodiment, a plurality of first areas may be determined for the original data through Density-Based Spatial Clustering of Applications with Noise (DBSCAN) technique based on the distribution of text included in the original data. For example, one or more second areas in which the watermark can be inserted may be determined among the plurality of first areas. For example, the watermark may be inserted among the one or more second areas.

부가적으로, 예를 들어, 상기 복수의 제1 영역 중에서 제1 영역에 포함된 텍스트의 비율이 사전 설정된 비율보다 크거나 같은 영역이 상기 제2 영역으로 결정될 수 있다. 예를 들어, 상기 제1 영역에 포함된 텍스트의 비율은 상기 제1 영역에 포함된 텍스트들이 상기 제1 영역에 대해 차지하는 비율일 수 있다. 예를 들어, 상기 제1 영역에 포함된 텍스트의 비율은 상기 제1 영역의 크기, 상기 제1 영역 내 포함된 텍스트의 평균 크기 및 상기 제1 영역 내 포함된 텍스트의 개수에 기반하여 결정될 수 있다. 예를 들어, 서버는 상기 복수의 제1 영역 중에서 제1 영역에 포함된 텍스트의 비율이 사전 설정된 비율보다 크거나 같은 영역에 상기 워터마크를 삽입할 수 있다.Additionally, for example, among the plurality of first areas, an area in which a ratio of text included in the first area is greater than or equal to a preset ratio may be determined as the second area. For example, the ratio of the text included in the first area may be the ratio occupied by the texts included in the first area with respect to the first area. For example, the ratio of text included in the first area may be determined based on the size of the first area, the average size of text included in the first area, and the number of texts included in the first area. . For example, the server may insert the watermark into an area where the ratio of text included in the first area is greater than or equal to a preset ratio among the plurality of first areas.

예를 들어, 상기 사전 설정된 비율은 하기 수학식에 의해 결정될 수 있다.For example, the preset ratio may be determined by the following equation.

Figure 112022064308953-pat00001
Figure 112022064308953-pat00001

상기 수학식에서, 상기 rw는 상기 사전 설정된 비율이고, 상기 Ts는 상기 원본 데이터에 포함된 텍스트의 평균 크기이고, 상기 nT는 상기 원본 데이터에 포함된 텍스트의 개수이고, 상기 Ds는 상기 원본 데이터와 관련된 문서의 크기이고, 상기 n은 상기 복수의 제1 영역의 개수이고, 상기 Ai는 i번째 제1 영역의 크기이고, 상기 Ao는 현재 선택된 제1 영역의 크기일 수 있다.In the above equation, r w is the preset ratio, T s is the average size of text included in the original data, n T is the number of texts included in the original data, and D s is the The size of the document related to the original data, n is the number of the plurality of first areas, A i is the size of the ith first area, and A o is the size of the currently selected first area.

일 실시예에 따라, 상기 원본 데이터에 대한 선명도에 기반하여 상기 워터마크에 대한 투명도의 범위가 상이하게 결정될 수 있다. 예를 들어, 상기 투명도의 최솟값은 하기 수학식에 의해 결정될 수 있다.According to an embodiment, a range of transparency for the watermark may be differently determined based on the clarity of the original data. For example, the minimum value of the transparency may be determined by the following equation.

Figure 112022064308953-pat00002
Figure 112022064308953-pat00002

상기 수학식에서, 상기 amin은 상기 투명도의 최솟값이고, 상기 rt는 상기 원본 데이터에 포함된 텍스트의 비율이고, Bb는 상기 원본 데이터에 포함된 배경에 대한 평균 명도 값이고, Bt는 상기 원본 데이터에 포함된 텍스트에 대한 평균 명도 값이고, 상기 S는 상기 원본 데이터에 대한 선명도이고, 상기 a는 상기 워터마크와 관련된 가중치일 수 있다.In the above equation, a min is the minimum value of the transparency, r t is the ratio of text included in the original data, B b is the average brightness value for the background included in the original data, and B t is the An average brightness value for text included in the original data, S may be the sharpness of the original data, and a may be a weight related to the watermark.

부가적으로, 예를 들어, 상기 원본 데이터에 대한 선명도는 하기 수학식에 의해 결정될 수 있다.Additionally, for example, sharpness of the original data may be determined by the following equation.

Figure 112022064308953-pat00003
Figure 112022064308953-pat00003

상기 수학식에서, 상기 S는 상기 원본 데이터에 대한 선명도이고, 상기 k는 전체 그라디언트의 개수, 상기 Gxj는 j번째 x 방향 기울기 값의 집합, 상기 Gyj는 j번째 y 방향 기울기 값의 집합일 수 있다. 여기서, S 값은 0에서 100 사이의 값일 수 있다. 예를 들어, 상기 원본 데이터에 대한 선명도가 사전 설정된 선명도 미만인 경우, 상기 서버는 샤프닝(sharpening) 필터를 이용하여 상기 원본 데이터에 대한 선명도를 증가시킬 수 있다.In the above equation, S is the sharpness of the original data, k is the total number of gradients, G xj is a set of j-th gradient values in the x-direction, and G yj is a set of j-th gradient values in the y-direction have. Here, the S value may be a value between 0 and 100. For example, when the sharpness of the original data is less than the preset sharpness, the server may increase the sharpness of the original data by using a sharpening filter.

일 실시예에 따라, 상기 뉴럴 네트워크는 입력 레이어, 하나 이상의 히든 레이어 및 출력 레이어를 포함할 수 있다. 예를 들어, 복수의 원본 데이터, 복수의 워터마크가 삽입된 데이터 및 정답 패턴 정보로 구성된 각각의 학습 데이터는 상기 뉴럴 네트워크의 상기 입력 레이어에 입력되어 상기 하나 이상의 히든 레이어 및 출력 레이어를 통과하여 출력 벡터로 출력되고, 상기 출력 벡터는 상기 출력 레이어에 연결된 손실함수 레이어에 입력되고, 상기 손실함수 레이어는 상기 출력 벡터와 각각의 학습 데이터에 대한 정답 벡터를 비교하는 손실함수를 이용하여 손실 값을 출력하고, 상기 뉴럴 네트워크의 파라미터는 상기 손실 값이 작아지는 방향으로 학습되고, 상기 패턴 생성 모델이 생성될 수 있다.According to an embodiment, the neural network may include an input layer, one or more hidden layers, and an output layer. For example, each training data consisting of a plurality of original data, data with a plurality of watermarks inserted, and correct answer pattern information is input to the input layer of the neural network, passes through one or more hidden layers and an output layer, and is output. It is output as a vector, and 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 the correct vector for each learning data. Parameters of the neural network may be learned in a direction in which the loss value decreases, and the pattern generation model may be generated.

실시예들에 따르면, 서버는 뉴럴 네트워크를 통해 수신인에 대한 명칭 및 발신인에 대한 명칭으로 구성된 패턴을 포함하는 워터마크를 제공함으로써, 문서의 일부가 발췌된 경우에도 수신인과 발신인을 확인할 수 있다. 또한, 상기 워터마크가 둘 이상의 패턴을 포함함으로써, 수신인과 발신인이 동일한 문서들에 대해서도 유출 경로를 특정하여 확인할 수 있다.According to embodiments, the server can identify the recipient and the sender even when a part of the document is extracted by providing a watermark including a pattern composed of the name of the recipient and the name of the sender through the neural network. In addition, since the watermark includes two or more patterns, the recipient and the sender can specify and check an outflow path for the same documents.

실시예들에 따르면, 서버는 원본 데이터에 포함된 텍스트의 분포에 따라 워터마크를 삽입할 수 있는 영역을 결정하고, 원본 데이터의 선명도에 따라 워터마크의 투명도를 결정함으로써, 보다 효과적으로 워터마크를 문서에 삽입할 수 있다.According to the embodiments, the server determines the area where the watermark can be inserted according to the distribution of text included in the original data, and determines the transparency of the watermark according to the sharpness of the original data, thereby more effectively inserting the watermark into the document. can be inserted into

실시예들에 따르면, 서버는 워터마크가 삽입된 데이터를 사전 저장된 수신인 리스트를 기반으로 수신인과 관련된 장치에게 전송함으로써, 수신인과 관련된 장치마다 상이한 워터마크가 삽입된 데이터를 전송할 수 있고, 이메일 주소, 메신져 ID 또는 전화 번호에 따라 효율적으로 전송할 수 있다. According to embodiments, the server may transmit watermarked data to devices associated with recipients based on a pre-stored recipient list, thereby transmitting data with different watermarks embedded in each recipient-related device, e-mail address, It can be transmitted efficiently according to the messenger ID or phone number.

실시예들로부터 얻을 수 있는 효과들은 이상에서 언급된 효과들로 제한되지 않으며, 언급되지 않은 또 다른 효과들은 이하의 상세한 설명을 기반으로 당해 기술분야에서 통상의 지식을 가진 자에게 명확하게 도출되고 이해될 수 있다.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 skilled in the art based on the detailed description below. It can be.

실시예들에 대한 이해를 돕기 위해 상세한 설명의 일부로 포함된, 첨부 도면은 다양한 실시예들을 제공하고, 상세한 설명과 함께 다양한 실시예들의 기술적 특징을 설명한다.
도 1은 일 실시예에 따른 전자 장치의 구성을 나타내는 도면이다.
도 2는 일 실시예에 따른 프로그램의 구성을 나타내는 도면이다.
도 3은 일 실시예에 따른 뉴럴 네트워크를 이용하여 워터마크가 삽입된 데이터를 적어도 하나의 장치에게 전송하는 방법을 나타낸다.
도 4는 일 실시예에 따른 수신인 리스트가 포함된 기본 화면에 대한 예이다.
도 5는 일 실시예에 따른 워터마크의 설정과 관련된 화면에 대한 예이다.
도 6은 일 실시예에 따른 워터마크가 삽입된 데이터와 함께 전송되는 전체 메시지를 예약하는 화면에 대한 예이다.
도 7은 일 실시예에 따른 전체 메시지를 발송하기 전 화면에 대한 예이다.
도 9는 일 실시예에 따른 워터마크를 원본 데이터에 삽입하기 위해 설정하는 과정에 대한 예이다.
도 10은 일 실시예에 따른 서버의 구성을 나타내는 블록도이다.
BRIEF DESCRIPTION OF THE DRAWINGS Included as part of the detailed description to aid understanding of the embodiments, the accompanying drawings provide various embodiments and, together with the detailed description, describe 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 showing the configuration of a program according to an embodiment.
3 illustrates a method of transmitting watermarked data to at least one device using a neural network according to an exemplary embodiment.
4 is an example of a basic screen including a recipient list according to an embodiment.
5 is an example of a screen related to watermark setting according to an exemplary embodiment.
6 is an example of a screen for reserving an entire message transmitted together with watermarked data according to an embodiment.
7 is an example of a screen before sending an entire message according to an embodiment.
9 is an example of a process of setting a watermark to be inserted into original data according to an embodiment.
10 is a block diagram illustrating a configuration of a server according to an exemplary 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 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 components or features of one embodiment may be included in another embodiment, or may be replaced with corresponding components 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 by those skilled in the art are not described. did

명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함(comprising 또는 including)"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다. 또한, 명세서에 기재된 "...부", "...기", "모듈" 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어나 소프트웨어 또는 하드웨어 및 소프트웨어의 결합으로 구현될 수 있다. 또한, "일(a 또는 an)", "하나(one)", "그(the)" 및 유사 관련어는 다양한 실시예들을 기술하는 문맥에 있어서(특히, 이하의 청구항의 문맥에서) 본 명세서에 달리 지시되거나 문맥에 의해 분명하게 반박되지 않는 한, 단수 및 복수 모두를 포함하는 의미로 사용될 수 있다.Throughout the specification, when a part is said to "comprising" or "including" a certain element, it means that it may further include other elements, not excluding other elements, unless otherwise stated. do. In addition, terms such as “… unit”, “… unit”, 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 terms are used herein in the context of describing various embodiments (particularly in the context of the claims below). Unless otherwise indicated or clearly contradicted by context, both the singular and the plural can be used.

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

또한, 다양한 실시예들에서 사용되는 특정(特定) 용어들은 다양한 실시예들의 이해를 돕기 위해서 제공된 것이며, 이러한 특정 용어의 사용은 다양한 실시예들의 기술적 사상을 벗어나지 않는 범위에서 다른 형태로 변경될 수 있다.In addition, specific terms used in various embodiments are provided to help understanding of various embodiments, and the use of these specific terms may be changed into 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 within 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 through a second network 199. It may communicate with at least one of the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to one 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, an audio output module 155, a display module 160, an audio module 170, 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 the antenna module 197 may be included. In some embodiments, in the electronic device 101, at least one of these components (eg, the connection terminal 178) may be omitted or one or more other components may be added. In some embodiments, some of these components (eg, sensor module 176, camera module 180, or antenna module 197) are integrated into a single component (eg, display module 160). It can be. The electronic device 101 may also be referred to as a client, terminal, or 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, the program 140) to cause at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, the processor 120 transfers instructions or data received from other components (e.g., sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 . According to one embodiment, the processor 120 may include a 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 ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor). For example, when the electronic device 101 includes the main processor 121 and the auxiliary processor 123, the auxiliary processor 123 may use less power than the main processor 121 or be set to be specialized for a designated function. can The secondary processor 123 may be implemented separately from or as part of the main processor 121 .

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. The secondary processor 123 may, for example, take the place of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, running an application). ) state, 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 one embodiment, the auxiliary processor 123 (eg, image signal processor or communication processor) may be implemented as part of other functionally related components (eg, camera module 180 or 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.

인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(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) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.AI models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself where 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 foregoing, but is not limited to the foregoing examples. The artificial intelligence model may include, in addition or alternatively, software structures in addition to hardware structures.

메모리(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, program 140) and commands related thereto. The memory 130 may include volatile memory 132 or 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 of the electronic device 101 (eg, a user). 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 sound signals 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. A receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.

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

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

센서 모듈(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 detected state. can do. According to one embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a bio sensor, It may include a temperature sensor, humidity sensor, or light sensor.

인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device 101 to an external electronic device (eg, the electronic device 102). According to one 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 may be physically connected to an external electronic device (eg, the electronic device 102). According to one 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 electrical signals into mechanical stimuli (eg, vibration or motion) or electrical stimuli that a user may perceive through tactile or kinesthetic senses. According to one 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 one 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 one embodiment, the power management module 188 may be implemented as at least part of a power management integrated circuit (PMIC), for example.

배터리(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, the 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). Establishment and communication through the established communication channel may be supported. 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 wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : a local area network (LAN) communication module or a power line communication module). Among these communication modules, a corresponding communication module 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 telecommunications network such as a computer network (eg, a LAN or a WAN). These various types of communication modules may be integrated as one component (eg, a single chip) or implemented as a plurality of separate components (eg, multiple chips). 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, NR access technology (new radio access technology). NR access technologies include high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low latency (URLLC)). -latency communications)) can be supported. 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 technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported. The wireless communication module 192 may support various requirements defined for the electronic device 101, an external electronic device (eg, the electronic device 104), or a network system (eg, the second network 199). According to one embodiment, the wireless communication module 192 is a peak data rate for eMBB realization (eg, 20 Gbps or more), a loss coverage for mMTC realization (eg, 164 dB or less), or a U-plane latency for URLLC realization (eg, Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) may 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 signals or power to the outside (eg, an external electronic device). According to one embodiment, the antenna module 197 may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (eg, PCB). According to one 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 selected from the plurality of antennas by the communication module 190, for example. can be chosen 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)) may be additionally formed as a part of the antenna module 197 in addition to the radiator.

다양한 실시예에 따르면, 안테나 모듈(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 includes a printed circuit board, an RFIC disposed on or adjacent to a first surface (eg, a lower surface) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, array antennas) disposed on or adjacent to a second surface (eg, a top surface or a side surface) 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 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, commands 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 part of operations executed in the electronic device 101 may be executed in one or more external electronic devices among the external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 instead of executing the function or service by itself. Alternatively or additionally, one or more external electronic devices may be requested to perform the function or at least part of the service. One or more external electronic devices receiving 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 deliver the execution result to the electronic device 101 . The electronic device 101 may provide the result as at least part of a response to the request as it is or additionally processed. To this end, 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. Server 108 may be an intelligent server using machine learning and/or neural networks. According to one embodiment, the external electronic device 104 or server 108 may be included in the second network 199 . The electronic device 101 may be applied to intelligent services (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) 또는 서비스 서버(Service Server)와 동일한 구성을 가질 수 있다. 그러나, 소프트웨어적으로는, C, C++, Java, Python, Golang, kotlin 등 여하한 언어를 통하여 구현되어 여러 가지 기능을 하는 프로그램 모듈(Module)을 포함할 수 있다. 또한, 서버(108)는 일반적으로 인터넷과 같은 개방형 컴퓨터 네트워크를 통하여 불특정 다수 클라이언트 및/또는 다른 서버와 연결되어 있고, 클라이언트 또는 다른 서버의 작업수행 요청을 접수하고 그에 대한 작업 결과를 도출하여 제공하는 컴퓨터 시스템 및 그를 위하여 설치되어 있는 컴퓨터 소프트웨어(서버 프로그램)를 뜻하는 것이다. 또한, 서버(108)는, 전술한 서버 프로그램 이외에도, 서버(108) 상에서 동작하는 일련의 응용 프로그램(Application Program)과 경우에 따라서는 내부 또는 외부에 구축되어 있는 각종 데이터베이스(DB: Database, 이하 "DB"라 칭함)를 포함하는 넓은 개념으로 이해되어야 할 것이다. 따라서, 서버(108)는, 회원 가입 정보와, 게임에 대한 각종 정보 및 데이터를 분류하여 DB에 저장시키고 관리하는데, 이러한 DB는 서버(108)의 내부 또는 외부에 구현될 수 있다. 또한, 서버(108)는, 일반적인 서버용 하드웨어에 윈도우(windows), 리눅스(Linux), 유닉스(UNIX), 매킨토시(Macintosh) 등의 운영체제에 따라 다양하게 제공되고 있는 서버 프로그램을 이용하여 구현될 수 있으며, 대표적인 것으로는 윈도우 환경에서 사용되는 IIS(Internet Information Server)와 유닉스환경에서 사용되는 CERN, NCSA, APPACH, TOMCAT 등을 이용하여 웹 서비스를 구현할 수 있다. 또한, 서버(108)는, 서비스의 사용자 인증이나 서비스와 관련된 구매 결제를 위한 인증 시스템 및 결제 시스템과 연동할 수도 있다.The server 108 is connected to the electronic device 101 and can provide a service to the connected electronic device 101 . In addition, the server 108 may proceed with a membership sign-up procedure, store and manage various types of information of users subscribed as members, and provide various purchase and payment functions related to services. In addition, the server 108 may share execution data of service applications executed in each of the plurality of electronic devices 101 in real time so that the service can be shared among users. This server 108 may have the same configuration as a conventional web server or service 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, Python, Golang, or kotlin 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, and receives requests from clients or other servers to perform tasks and derives and provides work results. It means a computer system and the computer software (server program) installed for it. In addition, the server 108, in addition to the above-described server program, a series of application programs operating on the server 108 and various databases (DB: Database, hereinafter referred to as It should be understood as a broad concept including DB"). Accordingly, the server 108 classifies member registration information and various information and data about games, stores them in a DB, and manages them. This DB may be implemented inside or outside the server 108 . In addition, the server 108 may be implemented using server programs that are provided in various ways according to operating systems such as Windows, Linux, UNIX, and Macintosh on general server hardware, As a representative example, a web service can be implemented using IIS (Internet Information Server) used in a Windows environment and CERN, NCSA, APPACH, TOMCAT, etc. used in a Unix environment. In addition, the server 108 may interoperate with an authentication system and a payment system for user authentication of services or payment for purchases related to services.

제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 프로토콜, TCP, UDP(user datagram protocol) 등의 프로토콜 및 그 상위계층에 존재하는 여러 서비스, 즉 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 nodes such as terminals and servers, or a network connecting the server 108 and the electronic devices 101 and 104. means (Network). The first network 198 and the second network 199 include Internet, Local Area Network (LAN), Wireless Local Area Network (Wireless Local Area Network), Wide Area Network (WAN), Personal Area Network (PAN), and 3G , 4G, LTE, 5G, Wi-Fi, etc., but are not limited thereto. The first network 198 and the second network 199 may be closed first networks 198 and second networks 199 such as LAN and WAN, but are preferably open such as the Internet. The Internet includes protocols such as the TCP/IP protocol, TCP, and User Datagram Protocol (UDP), and various services that exist in the upper layer, such as HTTP (HyperText Transfer Protocol), Telnet, FTP (File Transfer Protocol), and DNS (Domain Name System). ), Simple Mail Transfer Protocol (SMTP), Simple Network Management Protocol (SNMP), Network File Service (NFS), and Network Information Service (NIS). ) structure.

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

도 2는 일 실시예에 따른 프로그램의 구성을 나타내는 도면이다.2 is a diagram showing the configuration of a program according to an 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 according to various embodiments. According to one embodiment, the program 140 includes 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. can include The 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 in the electronic device 101 at the time of manufacture, or when used by a user, an external electronic device (eg, the electronic device 102 or 104), or a server ( 108)) can be downloaded or updated. All or part of 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 reclamation) of one or more system resources (eg, process, memory, or power) of the electronic device 101 . Operating system 142 may additionally or alternatively include other hardware devices of electronic device 101 , such as input module 150 , sound output module 155 , display module 160 , 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 the function 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, the application manager 201, the window manager 203, the multimedia manager 205, the resource manager 207, the power manager 209, the database manager 211, and the package manager 213. ), connectivity manager 215, notification manager 217, location manager 219, graphics manager 221, security manager 223, call manager 225, or 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 a screen, for example. The multimedia manager 205 identifies, for example, one or more formats necessary for reproducing 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 a source code of the application 146 or a memory space of the memory 130 . The power manager 209 may manage, for example, the capacity, temperature, or power of the battery 189, and determine or provide related information necessary for the operation of the electronic device 101 by using corresponding information among them. . According to an embodiment, the power manager 209 may interoperate 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, search, or change a database to be used by the application 146, for example. The package manager 213 may manage installation or update of applications distributed in the form of package files, 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 a function for notifying a user of occurrence of a designated event (eg, an incoming call, message, or alarm), for example. 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 system security or user authentication, for example. 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 transmits, for example, the user's voice data to the server 108, and at least partially based on the voice data, a command corresponding to a function to be performed in the electronic device 101; Alternatively, text data converted at least partially based on the voice data may be received from the server 108 . According to one embodiment, the middleware 244 may dynamically delete some existing components or add new components. According to one embodiment, at least part of the middleware 144 may be included as part of the operating system 142 or may be implemented as separate software different 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)의 사용자에게 제공할 수 있다. The application 146 includes, for example, a home 251, a dialer 253, an SMS/MMS 255, an instant message (IM) 257, a browser 259, a camera 261, and an alarm 263. , Contacts (265), Voice Recognition (267), Email (269), Calendar (271), Media Player (273), Albums (275), Watch (277), Health (279) (e.g. exercise or blood sugar) measurement of biometric information) or environmental information 281 (eg, measurement of 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 designated information (eg, a call, message, or alarm) to an external electronic device, or a device management application configured to manage an external electronic device. have. The notification relay application, for example, transmits notification information corresponding to a designated event (eg, mail reception) generated in another application (eg, the email application 269) of the electronic device 101 to an external electronic device. can Additionally or alternatively, the notification relay application may receive notification information from an external electronic device and provide the notification information 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 component thereof (eg, a display module or a camera module of the external electronic device). ) or functions (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, and a network function may be used interchangeably. A neural network may consist 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 includes 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 form a relative relationship of an input node and an output node. The concept of an input node and an output node is relative, and any node in an output node relationship with one node may have an input node relationship with another node, and vice versa. As described above, the input node to output node relationship can be created around the link. More than one output node can be connected to one input node through a link, and vice versa.

하나의 링크를 통해 연결된 입력 노드 및 출력 노드 관계에서, 출력 노드는 입력 노드에 입력된 데이터에 기초하여 그 값이 결정될 수 있다. 여기서, 입력 노드와 출력 노드를 상호 연결하는 노드는 가중치를 가질 수 있다. 가중치는 가변적일 수 있으며, 뉴럴 네트워크가 원하는 기능을 수행하기 위해, 사용자 또는 알고리즘에 의해 가변될 수 있다. 예를 들어, 하나의 출력 노드에 하나 이상의 입력 노드가 각각의 링크에 의해 상호 연결된 경우, 출력 노드는 상기 출력 노드와 연결된 입력 노드들에 입력된 값들 및 각각의 입력 노드들에 대응하는 링크에 설정된 가중치에 기초하여 출력 노드 값을 결정할 수 있다.In a relationship between an input node and an 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 by respective links to one output node, the output node is set to a link corresponding to values input to input nodes connected to the output node and 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 output node relationship in the neural network. Characteristics of the neural network may be determined according to the number of nodes and links in the neural network, an association between the nodes and links, and a weight value assigned to each link. For example, when there are two neural networks having the same number of nodes and links and different weight values between the links, the two neural networks may be recognized as different from each other.

도 3은 일 실시예에 따른 뉴럴 네트워크를 이용하여 워터마크가 삽입된 데이터를 적어도 하나의 장치에게 전송하는 방법을 나타낸다. 도 3의 일 실시예는 본 개시의 다양한 실시예들과 결합될 수 있다.3 illustrates a method of transmitting watermarked data to at least one device using a neural network according to an exemplary embodiment. One embodiment of FIG. 3 may be combined with various embodiments of the present disclosure.

도 3을 참조하면, 단계 S301에서, 서버(예: 도 1의 서버(108))는 상기 서버에 입력된 문서 정보를 기반으로 원본 데이터를 획득할 수 있다. 여기서, 문서 정보는 텍스트 데이터 또는 이미지 데이터를 포함하는 문서에 대한 정보일 수 있다. 예를 들어, 문서 정보는 워드프로세서 소프트웨어 파일(예: doc 파일, docx 파일, HWP 파일), pdf(portable document format) 파일 및 이미지 파일을 포함할 수 있다. 예를 들어, 상기 문서 정보는 적어도 하나의 장치(예: 도 1의 전자 장치(101))로부터 수신될 수 있다. 여기서, 원본 데이터는 상기 문서의 픽셀과 관련된 값들을 포함할 수 있다. 예를 들어, 원본 데이터는 상기 문서에 포함된 텍스트에 대한 정보 및 상기 문서에 포함된 배경에 대한 정보를 포함할 수 있다. 예를 들어, 텍스트에 대한 정보는 텍스트의 개수, 텍스트의 크기 및 텍스트의 색공간과 관련된 값을 포함할 수 있다. 예를 들어, 배경에 대한 정보는 배경의 색공간과 관련된 값을 포함할 수 있다. 여기서, 색공간은 색 표시계(color system)를 3차원으로 표현한 공간 개념일 수 있다. 예를 들어, 색공간은 RGB(red, green, blue), HSV(hue, saturation, value), YUV 등 다양한 방식으로 표현될 수 있다. 예를 들어, RGB는 빨강, 초록, 파랑 세 종류의 색상에 대한 좌표 값으로 나타낸 방식일 수 있다. 예를 들어, HSV는 색조(Hue), 채도(Saturation), 밝기 정보(예를 들어, 밸류(Value))를 고려한 방식일 수 있다. 예를 들어, YUV는 y축은 밝기 성분을 U, V 두 축을 이용하여 색상을 표현할 수 있다. 여기서, U축은 파란색에서 밝기 성분을 뺀 값이고, V축은 빨간색에서 밝기 성분을 뺀 값일 수 있다.Referring to FIG. 3 , in step S301, a server (eg, the server 108 of FIG. 1) may obtain original data based on document information input to the server. Here, the document information may be information about a document including text data or image data. For example, document information may include word processor software files (eg, doc files, docx files, HWP files), pdf (portable document format) files, and image files. For example, the document information may be received from at least one device (eg, the electronic device 101 of FIG. 1 ). Here, the original data may include values related to pixels of the document. For example, the original data may include text information included in the document and background information included in the document. For example, the text information may include values related to the number of texts, the size of the texts, and the color space of the texts. For example, the background information may include a value related to a color space of the background. Here, the color space may be a space concept expressing a color system in three dimensions. For example, the color space may be expressed in various ways such as RGB (red, green, blue), HSV (hue, saturation, value), YUV, and the like. For example, RGB may be a method expressed as coordinate values for three types of colors, red, green, and blue. For example, HSV may be a method that considers hue, saturation, and brightness information (eg, value). For example, in YUV, color can be expressed using two axes, U and V, with a brightness component on the y-axis. Here, the U-axis may be a value obtained by subtracting the brightness component from blue, and the V-axis may be a value obtained by subtracting the brightness component from red.

단계 S302에서, 서버는 상기 원본 데이터, 적어도 하나의 수신인에 대한 명칭 및 사전 입력된 발신인에 대한 명칭을 기반으로 상기 뉴럴 네트워크를 이용한 패턴 생성 모델을 통해 패턴 정보를 결정할 수 있다. In step S302, the server may determine pattern information through a pattern generation model using the neural network based on the original data, at least one recipient name, and a pre-input sender name.

예를 들어, 상기 적어도 하나의 수신인은 상기 서버에 사전 저장된 수신인 리스트로부터 선택될 수 있다. 예를 들어, 상기 사전 저장된 수신인 리스트는 수신인에 대한 명칭 및 수신인에 대한 연락 정보를 포함할 수 있다. 예를 들어, 상기 적어도 하나의 수신인에 대한 수정된 명칭이 상기 서버에 대해 입력되는 경우, 상기 선택된 수신인에 대한 명칭이 상기 수정된 명칭으로 변경될 수 있다. 예를 들어, 상기 수신인에 대한 연락 정보는 이메일 주소, 메신져 ID 및 전화 번호를 포함할 수 있다. 예를 들어, 상기 사전 저장된 수신인 리스트는 스프레드시트 프로그램 파일(예: 엑셀(excel) 파일)을 통해 입력되거나 업데이트될 수 있다. For example, the at least one recipient may be selected from a list of recipients pre-stored in the server. For example, the pre-stored recipient list may include a name for the recipient and contact information for the recipient. For example, when a corrected name for the at least one recipient is input to the server, the name for the selected recipient may be changed to the corrected name. For example, the contact information for the recipient may include an email address, a messenger ID, and a phone number. For example, the pre-stored recipient list may be entered or updated via a spreadsheet program file (eg, an Excel file).

예를 들어, 상기 패턴 정보는 워터마크를 구성하는 제1 오브젝트 및 제2 오브젝트에 대한 정보와 상기 제1 오브젝트 및 상기 제2 오브젝트의 조합으로 구성된 패턴 정보를 포함할 수 있다. 예를 들어, 상기 제1 오브젝트 및 상기 제2 오브젝트에 대한 정보는 상기 제1 오브젝트 및 상기 제2 오브젝트의 크기에 대한 정보와 상기 제1 오브젝트 및 상기 제2 오브젝트의 형태에 대한 정보를 포함할 수 있다. 예를 들어, 상기 제1 오브젝트는 상기 적어도 하나의 수신인에 대한 명칭을 기반으로 생성될 수 있다. 예를 들어, 상기 제1 오브젝트는 상기 수신인에 대한 명칭이 세모 형태, 네모 형태, 원 형태, 별 형태와 같이 다양한 형태 중 어느 하나의 형태로 이루어진 것일 수 있다. 예를 들어, 상기 제2 오브젝트는 상기 발신인에 대한 명칭을 기반으로 생성될 수 있다. 예를 들어, 상기 제2 오브젝트는 상기 발신인에 대한 명칭이 세모 형태, 네모 형태, 원 형태, 별 형태와 같이 다양한 형태 중 어느 하나의 형태로 이루어진 것일 수 있다. 예를 들어, 상기 제1 오브젝트 및 상기 제2 오브젝트의 조합으로 구성된 패턴은 둘 이상의 패턴을 포함할 수 있다. 여기서, 상기 패턴은 가로 패턴, 세로 패턴, 대각 패턴, 도트 패턴 및 격자 패턴과 같이 다양한 패턴을 포함할 수 있다. 즉, 예를 들어, 상기 제1 오브젝트 및 상기 제2 오브젝트의 조합으로 구성된 패턴은 가로 패턴 및 세로 패턴으로 생성될 수 있다. For example, the pattern information may include information about the first object and the second object constituting the watermark and pattern information composed of a combination of the first object and the second object. For example, the information about the first object and the second object may include information about the size of the first object and the second object and information about the shape of the first object and the second object. have. For example, the first object may be created based on the name of the at least one recipient. For example, the first object may have the name of the recipient in any one of various shapes such as a triangle shape, a square shape, a circle shape, and a star shape. For example, the second object may be created based on the name of the sender. For example, the second object may have the name of the sender in any one of various shapes such as a triangle shape, a square shape, a circle shape, and a star shape. For example, a pattern composed of a combination of the first object and the second object may include two or more patterns. Here, the pattern may include various patterns such as a horizontal pattern, a vertical pattern, a diagonal pattern, a dot pattern, and a lattice pattern. That is, for example, a pattern composed of a combination of the first object and the second object may be created as a horizontal pattern and a vertical pattern.

예를 들어, 상기 뉴럴 네트워크는 입력 레이어, 하나 이상의 히든 레이어 및 출력 레이어를 포함할 수 있다. 예를 들어, 복수의 원본 데이터, 복수의 워터마크가 삽입된 데이터 및 정답 패턴 정보로 구성된 각각의 학습 데이터는 상기 뉴럴 네트워크의 상기 입력 레이어에 입력되어 상기 하나 이상의 히든 레이어 및 출력 레이어를 통과하여 출력 벡터로 출력되고, 상기 출력 벡터는 상기 출력 레이어에 연결된 손실함수 레이어에 입력되고, 상기 손실함수 레이어는 상기 출력 벡터와 각각의 학습 데이터에 대한 정답 벡터를 비교하는 손실함수를 이용하여 손실 값을 출력하고, 상기 뉴럴 네트워크의 파라미터는 상기 손실 값이 작아지는 방향으로 학습되고, 상기 패턴 생성 모델이 생성될 수 있다.For example, the neural network may include an input layer, one or more hidden layers, and an output layer. For example, each training data consisting of a plurality of original data, data with a plurality of watermarks inserted, and correct answer pattern information is input to the input layer of the neural network, passes through one or more hidden layers and an output layer, and is output. It is output as a vector, and 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 the correct vector for each learning data. Parameters of the neural network may be learned in a direction in which the loss value decreases, and the pattern generation model may be generated.

따라서, 서버는 뉴럴 네트워크를 통해 결정된 패턴 정보에 기반하여 제1 오브젝트 및 제2 오브젝트로 구성된 패턴을 포함하는 워터마크를 제공함으로써, 문서의 일부가 발췌된 경우에도 상기 워터마크에 포함된 패턴을 구성하는 제1 오브젝트 및 제2 오브젝트를 통해 수신인과 발신인을 확인할 수 있다. 또한, 상기 워터마크가 둘 이상의 패턴을 포함함으로써, 수신인과 발신인이 동일한 문서들에 대해서도 상기 워터마크를 통해 유출 경로를 특정할 수 있다.Therefore, the server configures the pattern included in the watermark even when a part of the document is extracted by providing a watermark including a pattern composed of the first object and the second object based on the pattern information determined through the neural network. It is possible to check the recipient and the sender through the first object and the second object. In addition, since the watermark includes two or more patterns, an outflow path can be specified through the watermark even for the same documents by the recipient and the sender.

예를 들어, 서버는 데이터 전처리를 통해 원본 데이터에 포함된 텍스트의 크기, 텍스트과 관련된 색공간에 대한 값 및 배경과 관련된 색공간에 대한 값을 벡터화할 수 있다. 예를 들어, 서버는 데이터 전처리를 통해 워터마크가 삽입된 데이터에 포함된 제1 오브젝트 및 제2 오브젝트의 크기와 형태, 상기 제1 오브젝트 및 제2 오브젝트의 조합으로 구성된 패턴을 벡터화할 수 있다. For example, the server may vectorize the size of text included in the original data, a color space value related to the text, and a color space related value related to the background through data preprocessing. For example, the server may vectorize a pattern composed of sizes and shapes of first and second objects included in watermarked data through data preprocessing and a combination of the first and second objects.

예를 들어, 상기 원본 데이터에 포함된 텍스트의 크기에 기반하여 상기 제1 오브젝트와 상기 제2 오브젝트의 크기가 결정될 수 있다. 예를 들어, 상기 원본 데이터에 포함된 텍스트의 크기보다 사전 설정된 비율만큼 작은 크기로 상기 제1 오브젝트와 상기 제2 오브젝트의 크기가 결정될 수 있다. 이로 인해, 상기 제1 오브젝트와 상기 제2 오브젝트의 크기가 항상 고정되지 않고, 상기 원본 데이터에 포함된 텍스트의 크기에 따라 상이할 수 있고, 보다 자연스러운 패턴으로 워터마크를 구성할 수 있다.For example, the size of the first object and the second object may be determined based on the size of text included in the original data. For example, the sizes of the first object and the second object may be determined to be smaller than the size of text included in the original data by a preset ratio. As a result, the sizes of the first object and the second object are not always fixed, and may be different according to the size of text included in the original data, and a watermark may be formed in a more natural pattern.

단계 S303에서, 서 버는 상기 패턴 정보 및 사전 입력된 워터마크에 대한 설정 정보를 기반으로 상기 제1 오브젝트 및 상기 제2 오브젝트를 포함하는 워터마크를 상기 원본 데이터에 삽입할 수 있다. 예를 들어, 서버는 워터마크로 설정된 문구를 사전 입력된 문구로 결정할 수 있다. 예를 들어, 상기 워터마크에 대한 설정 정보는 워터마크의 위치, 모양, 색깔, 기울기, 글씨체, 크기 및 투명도를 포함할 수 있다. 예를 들어, 상기 워터마크에 대한 설정 정보는 상기 서버에 사전 입력될 수 있다. 예를 들어, 상기 워터마크에 대한 설정 정보는 상기 서버와 연결된 장치로부터 상기 서버에게 수신될 수 있다.In step S303, the server may embed a watermark including the first object and the second object into the original data based on the pattern information and previously input watermark setting information. For example, the server may determine a phrase set as a watermark as a pre-input phrase. For example, the setting information for the watermark may include the location, shape, color, slant, font, size, and transparency of the watermark. For example, setting information for the watermark may be pre-entered into the server. For example, the watermark setting information may be received by the server from a device connected to the server.

부가적으로, 예를 들어, 사전 입력된 문구가 존재하지 않는 경우, 서버는 상기 문서 정보에 기반하여 상기 워터마크로 설정된 문구를 결정할 수 있다. 예를 들어, 서버는 상기 문서 정보에 기반하여 복수의 카테고리 중에서 어느 하나의 카테고리를 결정할 수 있다. 예를 들어, 복수의 카테고리는 공문서, 기획서, 기안서, 보고서, 설명서, 계약서 및 비즈니스 레터를 포함할 수 있다. 예를 들어, 복수의 카테고리 각각과 관련된 단어들은 상기 서버에 사전 저장될 수 있다. 예를 들어, 복수의 카테고리 각각에 대해 복수의 문구가 상기 서버에 사전 저장될 수 있다. 예를 들어, 서버는 상기 문서 정보에 포함된 단어들 중에서 상기 복수의 카테고리 각각과 관련된 단어들과 매칭되는 복수의 제1 단어를 결정할 수 있고, 상기 복수의 제1 단어 중에 가장 빈도수가 많은 제2 단어를 결정할 수 있다. 이후, 서버는 상기 제2 단어가 포함된 카테고리에 대응하는 복수의 문구 중에서 상기 워터마크에 대한 문구를 랜덤하게 설정할 수 있다. Additionally, for example, if a pre-input phrase does not exist, the server may determine a phrase set as the watermark based on the document information. For example, the server may determine one of a plurality of categories based on the document information. For example, the plurality of categories may include official documents, planning documents, draft documents, reports, specifications, contracts, and business letters. For example, words related to each of a plurality of categories may be pre-stored in the server. For example, a plurality of phrases for each of a plurality of categories may be pre-stored in the server. For example, the server may determine a plurality of first words that are matched with words related to each of the plurality of categories from among words included in the document information, and a second most frequent second word among the plurality of first words. words can be determined. Thereafter, the server may randomly set a phrase for the watermark among a plurality of phrases corresponding to the category including the second word.

예를 들어, 상기 문서 정보가 이미지 파일인 경우, 서버는 다양한 OCR(optical character recognition) 기법을 통해 상기 이미지 파일에 포함된 텍스트들을 인식할 수 있다. 예를 들어, 서버는 상기 이미지의 밝기 또는 색과 같은 메타데이터를 전처리할 수 있고, 상기 이미지 내 텍스트들이 존재하는 위치를 결정하고, 해당 위치의 텍스트들에 대해 경계 박스(bounding box)를 설정하고, 상기 경계 박스 내 텍스트들을 인식할 수 있다. 이후, 서버는 인식된 텍스트들 중에서 상기 복수의 카테고리 각각과 관련된 단어들과 매칭되는 단어를 검출함으로써, 상기 복수의 카테고리 중에서 하나의 카테고리를 결정할 수 있다. 즉, 예를 들어, 서버는 인식된 텍스트들 중에서 복수의 카테고리 각각과 관련된 단어들과 매칭되는 복수의 제1 단어를 결정할 수 있고, 상기 복수의 제1 단어 중에 가장 빈도수가 많은 제2 단어를 결정할 수 있다. 이후, 서버는 상기 제2 단어가 포함된 카테고리에 대응하는 복수의 문구 중에서 상기 워터마크에 대한 문구를 랜덤하게 설정할 수 있다. 이로 인해, 워터마크에 대한 문구가 입력되지 않아도, 서버는 문서의 종류에 따라 적절한 워터마크 문구를 자동으로 제공할 수 있다.For example, when the document information is an image file, the server may recognize texts included in the image file through various optical character recognition (OCR) techniques. For example, the server may pre-process metadata such as brightness or color of the image, determine a location where texts in the image exist, set a bounding box for the texts at that location, and , texts within the bounding box can be recognized. Thereafter, the server may determine one category from among the plurality of categories by detecting a word matching words related to each of the plurality of categories among the recognized texts. That is, for example, the server may determine a plurality of first words that match words related to each of a plurality of categories from among the recognized texts, and determine a second word having the highest frequency among the plurality of first words. can Thereafter, the server may randomly set a phrase for the watermark among a plurality of phrases corresponding to the category including the second word. For this reason, even if a phrase for a watermark is not input, the server can automatically provide an appropriate watermark phrase according to the document type.

예를 들어, 상기 원본 데이터에 포함된 텍스트의 분포에 기반하여 상기 DBSCAN(Density-Based Spatial Clustering of Applications with Noise) 기법을 통해 상기 원본 데이터에 대한 복수의 제1 영역이 결정될 수 있다. 예를 들어, 서버는 상기 복수의 제1 영역을 상기 원본 데이터에 포함된 텍스트의 분포에 기반하여 뉴럴 네트워크를 이용한 클러스터링(clustering) 기법을 통해 n개의 영역으로 결정될 수 있다. 예를 들어, 클러스터링은 유사한 속성들을 갖는 데이터를 일정한 수의 군집으로 그룹핑하는 비지도 학습을 지칭할 수 있다. 예를 들어, n개의 영역은 상기 원본 데이터에 포함된 텍스트에 기반하여 DBSCAN 기법을 통해 결정될 수 있다. 예를 들어, DBSCAN은 특정 요소(point)가 클러스터에 속하는 경우, 해당 클러스터 내 다른 많은 요소와 가까운 위치에 있어야 하는 것을 전제로 하며, 이러한 계산을 위해 직경(radius)과 최소 요소(minimum points)가 사용될 수 있다. 예를 들어, 직경은 특정 데이터 요소를 기준으로 하는 반경일 수 있고, 이를 밀도 영역(dense area)이라 지칭할 수 있다. 예를 들어, 최소 요소는 핵심 요소(core point)를 지정하기 위해 핵심 요소 주변으로 요소가 몇 개 필요한 지를 나타낼 수 있다. 예를 들어, 상기 직경과 최소 요소는 사전 설정될 수 있다. 또한, 데이터 세트의 각 요소는 핵심(core), 경계(border), 이상치 요소(outlier point)로 구분될 수 있다.For example, based on the distribution of text included in the original data, a plurality of first regions of the original data may be determined through the Density-Based Spatial Clustering of Applications with Noise (DBSCAN) technique. For example, the server may determine the plurality of first areas as n areas through a clustering technique using a neural network based on the distribution of text included in the original data. For example, clustering may refer to unsupervised learning that groups data having similar properties into a certain number of clusters. For example, n areas may be determined through a DBSCAN technique based on text included in the original data. For example, DBSCAN assumes that if a certain point belongs to a cluster, it must be located close to many other points in the cluster, and for this calculation, the radius and minimum points are can be used For example, the diameter may be a radius based on a specific data element, and may be referred to as a dense area. For example, the minimum element could indicate how many elements are needed around the core point to specify a core point. For example, the diameter and minimum element may be preset. In addition, each element of the data set can be divided into a core, a border, and an outlier point.

예를 들어, 서버는 데이터 전처리를 통해 상기 원본 데이터에 포함된 텍스트마다 대응하는 좌표를 벡터화할 수 있다. 예를 들어, 서버는 상기 벡터화된 텍스트의 좌표를 하나의 요소로 간주할 수 있고, 서버는 요소별로 직경의 크기를 체크하고, 주변의 요소가 몇 개 있는지를 탐색할 수 있다. 이후, 서버는 직경의 범위 내에 m개 이상의 요소가 존재하면, 해당 요소를 핵심 요소로 결정할 수 있다. 그리고, 서버는 핵심 요소로부터 직경의 범위 내에 포함된 요소를 경계 요소로 결정할 수 있다. 그리고, 서버는 핵심 요소로부터 직경의 범위 내에 포함되지 않은 요소는 이상치 요소로 결정할 수 있고, 상기 이상치 요소는 해당 클러스터에서 제외될 수 있다. 또한, 서버는 핵심 요소들 사이의 거리가 직경보다 작을 경우, 해당 요소들을 동일한 클러스터로 분류할 수 있다.For example, the server may vectorize coordinates corresponding to each text included in the original data through data preprocessing. For example, the server may regard the coordinates of the vectorized text as one element, and the server may check the size of the diameter for each element and search for how many elements are around. Thereafter, if m or more elements exist within the diameter range, the server may determine the corresponding element as a key element. And, the server may determine an element included within a range of a diameter from the core element as a boundary element. Also, the server may determine an element not included within a diameter range from the core element as an outlier element, and the outlier element may be excluded from the corresponding cluster. In addition, when the distance between core elements is smaller than the diameter, the server may classify the corresponding elements into the same cluster.

이로 인해, 서버는 원본 데이터에 포함된 텍스트의 분포에 따라 워터마크를 삽입할 수 있는 영역을 결정함으로써, 보다 효율적으로 워터마크를 원본 데이터에 삽입할 수 있다.For this reason, the server can more efficiently embed the watermark into the original data by determining an area where the watermark can be inserted according to the distribution of text included in the original data.

예를 들어, 상기 복수의 제1 영역 중에서 상기 워터마크의 삽입이 가능한 하나 이상의 제2 영역이 결정될 수 있다. 예를 들어, 상기 복수의 제1 영역 중에서 제1 영역에 포함된 텍스트의 비율이 사전 설정된 비율보다 크거나 같은 영역이 상기 제2 영역으로 결정될 수 있다. 예를 들어, 상기 제1 영역에 포함된 텍스트의 비율은 상기 제1 영역에 포함된 텍스트들이 상기 제1 영역에 대해 차지하는 비율일 수 있다. 예를 들어, 상기 제1 영역에 포함된 텍스트의 비율은 상기 제1 영역의 크기, 상기 제1 영역 내 포함된 텍스트의 평균 크기 및 상기 제1 영역 내 포함된 텍스트의 개수에 기반하여 결정될 수 있다. 예를 들어, 서버는 상기 복수의 제1 영역 중에서 제1 영역에 포함된 텍스트의 비율이 사전 설정된 비율보다 크거나 같은 영역에 상기 워터마크를 삽입할 수 있다.For example, one or more second areas in which the watermark can be inserted may be determined among the plurality of first areas. For example, among the plurality of first areas, an area in which a ratio of text included in the first area is greater than or equal to a preset ratio may be determined as the second area. For example, the ratio of the text included in the first area may be the ratio occupied by the texts included in the first area with respect to the first area. For example, the ratio of text included in the first area may be determined based on the size of the first area, the average size of text included in the first area, and the number of texts included in the first area. . For example, the server may insert the watermark into an area where the ratio of text included in the first area is greater than or equal to a preset ratio among the plurality of first areas.

예를 들어, 상기 사전 설정된 비율은 하기 수학식 1에 의해 결정될 수 있다.For example, the preset ratio may be determined by Equation 1 below.

Figure 112022064308953-pat00004
Figure 112022064308953-pat00004

상기 수학식 1에서, 상기 rw는 상기 사전 설정된 비율이고, 상기 Ts는 상기 원본 데이터에 포함된 텍스트의 평균 크기이고, 상기 nT는 상기 원본 데이터에 포함된 텍스트의 개수이고, 상기 Ds는 상기 원본 데이터와 관련된 문서의 크기이고, 상기 n은 상기 복수의 제1 영역의 개수이고, 상기 Ai는 i번째 제1 영역의 크기이고, 상기 Ao는 현재 선택된 제1 영역의 크기일 수 있다. 따라서, 텍스트의 비율에 대한 기준이 항상 동일하지 않고, 원본 데이터와 관련된 문서 전체의 텍스트 비율을 고려하여 변경됨으로써, 워터마크를 삽입할 영역이 보다 정확하게 결정될 수 있다.In Equation 1, r w is the preset ratio, T s is the average size of text included in the original data, n T is the number of texts included in the original data, and D s is the size of the document related to the original data, n is the number of the plurality of first areas, A i is the size of the ith first area, and A o is the size of the currently selected first area. have. Therefore, the criterion for the text ratio is not always the same, and the area to insert the watermark can be more accurately determined by changing it in consideration of the text ratio of the entire document related to the original data.

또는, 예를 들어, 서버는 상기 복수의 제1 영역 중 적어도 하나의 제1 영역에 대한 입력 값에 기반하여 상기 입력 값에 대응하는 적어도 하나의 제1 영역에 상기 워터마크를 삽입할 수 있다. 예를 들어, 서버는 상기 복수의 제1 영역에 대한 정보를 상기 서버와 연결된 장치에 전송할 수 있고, 상기 서버와 연결된 장치로부터 적어도 하나의 제1 영역에 대한 입력 값을 수신할 수 있다.Alternatively, for example, the server may insert the watermark into at least one first area corresponding to the input value based on an input value for at least one first area among the plurality of first areas. For example, the server may transmit information on the plurality of first areas to a device connected to the server, and may receive an input value for at least one first area from a device connected to the server.

예를 들어, 발신인과 관련된 워터마크가 상기 워터마크가 삽입된 데이터에 추가적으로 삽입될 수 있다. 예를 들어, 서버는 상기 서버와 연결된 장치로부터 발신인과 관련된 워터마크에 대한 정보를 수신할 수 있다. 예를 들어, 상기 발신인과 관련된 워터마크에 대한 정보는 발신인과 관련된 워터마크에 대한 문구, 발신인과 관련된 워터마크의 위치, 모양, 색깔, 기울기, 글씨체, 크기 및 투명도를 포함할 수 있다. 예를 들어, 서버는 상기 발신인과 관련된 워터마크에 대한 정보에 기반하여 상기 발신인과 관련된 워터마크를 상기 워터마크가 삽입된 데이터에 추가적으로 삽입할 수 있다.For example, a watermark related to the sender may be additionally inserted into the watermark-embedded data. For example, the server may receive information about a watermark related to a sender from a device connected to the server. For example, the information on the watermark related to the sender may include a text of the watermark related to the sender, a location, shape, color, slant, font, size, and transparency of the watermark related to the sender. For example, the server may additionally insert a watermark associated with the sender into the watermark-embedded data based on information on the watermark associated with the sender.

예를 들어, 상기 원본 데이터에 대한 선명도에 기반하여 상기 워터마크에 대한 투명도의 범위가 상이하게 결정될 수 있다. 예를 들어, 상기 투명도의 최솟값은 하기 수학식 2에 의해 결정될 수 있다.For example, a different range of transparency for the watermark may be determined based on the clarity of the original data. For example, the minimum value of the transparency may be determined by Equation 2 below.

Figure 112022064308953-pat00005
Figure 112022064308953-pat00005

상기 수학식 2에서, 상기 amin은 상기 투명도의 최솟값이고, 상기 rt는 상기 원본 데이터에 포함된 텍스트의 비율이고, Bb는 상기 원본 데이터에 포함된 배경에 대한 평균 명도 값, Bt는 상기 원본 데이터에 포함된 텍스트에 대한 평균 명도 값이고, 상기 S는 상기 원본 데이터에 대한 선명도이고, 상기 a는 상기 워터마크와 관련된 가중치일 수 있다. 여기서, 명도 값은 상술한 HSV에서 밝기 정보에 대한 값일 수 있다. 여기서, 텍스트의 비율은 상기 원본 데이터에 포함된 텍스트들이 상기 원본 데이터와 관련된 문서에 대해서 차지하는 비율일 수 있다. 여기서, 상기 투명도는 0에서 100사이의 값을 가질 수 있다. 예를 들어, 상기 투명도는 색공간과 관련된 값(예: RGB 값)을 16진수로 표현한 코드 값 앞에 위치한 두 자리 수의 16진수로 표현될 수 있다. 예를 들어, 투명도가 1%이면, '03'으로 변환되고, 투명도가 11%이면, '1C'으로 변환되고, 투명도가 85%인 경우 'D9'로 변환될 수 있다. 예를 들어, 상기 a는 1 이상의 상수일 수 있다. 예를 들어, 상기 a는 2일 수 있다. 예를 들어, 상기 a는 상기 워터마크를 구성하는 제1 오브젝트 및 제2 오브젝트의 패턴과 상기 워터마크의 크기에 따라 상이하게 설정될 수 있다. In Equation 2, a min is the minimum value of transparency, r t is the ratio of text included in the original data, B b is an average brightness value for the background included in the original data, and B t is An average brightness value of text included in the original data, S may be sharpness of the original data, and a may be a weight related to the watermark. Here, the brightness value may be a value for brightness information in the above-described HSV. Here, the text ratio may be a ratio of texts included in the original data to a document related to the original data. Here, the transparency may have a value between 0 and 100. For example, the transparency may be expressed as a two-digit hexadecimal number located in front of a code value in which a value related to a color space (eg, an RGB value) is expressed in hexadecimal. For example, if the transparency is 1%, it may be converted into '03', if the transparency is 11%, it may be converted into '1C', and if the transparency is 85%, it may be converted into 'D9'. For example, a may be a constant of 1 or greater. For example, a may be 2. For example, the a may be set differently according to the pattern of the first object and the second object constituting the watermark and the size of the watermark.

예를 들어, 상기 원본 데이터에 대한 선명도는 상기 문서 정보에 포함된 픽셀 값을 이용하여 측정될 수 있다. 이때, 예를 들어, 상기 문서에서 경계(edge)의 퍼짐 정도를 측정하여 선명도를 추정하는 경계기반 방식(edge-based method)이 사용될 수 있다. 예를 들어, 서버는 가우시안 흐림 필터(Gaussian blur filter)를 상기 문서에 적용하고, 상기 가우시안 흐림 필터가 적용된 문서에 대한 그라디언트(gradient) 값과 상기 문서의 원본 데이터에 대한 그라디언트 값을 대비하여 선명도를 측정할 수 있다. 여기서, 그라디언트는 다변수 함수의 모든 입력 값에서 모든 방향에 대한 순간변화율일 수 있다. 예를 들어, 그라디언트 크기는 두 직각 방향에 따른 이미지 방향 그라디언트의 평균 제곱근으로 정의될 수 있다. 예를 들어, 그라디언트는 상기 문서에 대해 로버츠(Roberts) 필터, 소벨(Sobel) 필터 및 프레위트(Prewitt) 필터와 같은 선형 필터로 처리함으로써, 계산될 수 있다. 즉, 선명도가 높은 영역은 경계에서 픽셀 값이 급격하게 변함으로써, 그라디언트 값이 높게 결정될 수 있고, 경계에서 흐림 현상이 발생하면 그라디언트 값이 낮게 결정될 수 있다.For example, sharpness of the original data may be measured using a pixel value included in the document information. In this case, for example, an edge-based method for estimating the sharpness by measuring the spreading degree of an edge in the document may be used. For example, the server applies a Gaussian blur filter to the document, compares a gradient value for the document to which the Gaussian blur filter is applied, and a gradient value for original data of the document to determine sharpness. can be measured Here, the gradient may be an instantaneous rate of change in all directions from all input values of the multivariate function. For example, the gradient magnitude can be defined as the root mean square of the image direction gradient along two orthogonal directions. For example, the gradient may be calculated by processing the document with a linear filter such as a Roberts filter, a Sobel filter, and a Prewitt filter. That is, a region with high sharpness may have a high gradient value when a pixel value rapidly changes at the boundary, and a low gradient value may be determined when a blur occurs at the boundary.

예를 들어, 상기 원본 데이터에 대한 선명도는 하기 수학식 3에 의해 결정될 수 있다.For example, sharpness of the original data may be determined by Equation 3 below.

Figure 112022064308953-pat00006
Figure 112022064308953-pat00006

상기 수학식 3에서, 상기 S는 상기 원본 데이터에 대한 선명도이고, 상기 k는 전체 그라디언트의 개수, 상기 Gxj는 j번째 x 방향 기울기 값의 집합, 상기 Gyj는 j번째 y 방향 기울기 값의 집합일 수 있다. 여기서, S 값은 0에서 100 사이의 값일 수 있다.In Equation 3, S is the sharpness of the original data, k is the total number of gradients, G xj is a set of j-th gradient values in the x-direction, and G yj is a set of j-th gradient values in the y-direction can be Here, the S value may be a value between 0 and 100.

따라서, 서버는 측정된 문서의 선명도에 따라 워터마크의 투명도에 대한 범위를 조절함으로써, 제공된 문서에 보다 적합한 워터마크를 제공할 수 있다.Accordingly, the server may provide a watermark more suitable for the provided document by adjusting the range of transparency of the watermark according to the measured sharpness of the document.

부가적으로, 예를 들어, 상기 원본 데이터에 대한 선명도가 사전 설정된 선명도 미만인 경우, 상기 서버는 샤프닝(sharpening) 필터를 이용하여 상기 원본 데이터에 대한 선명도를 증가시킬 수 있다. 예를 들어, 서버는 원본 데이터에 대해 라플라시안(Laplacian) 필터를 적용하여 픽셀 값이 크게 변경되는 영역을 검출하고, 상기 픽셀 값이 크게 변경되는 영역을 상기 원본 데이터에 더함으로써, 상기 원본 데이터에 대한 선명도를 증가시킬 수 있다. 여기서, 라플라시안 필터는 2차 미분을 적용한 필터로서, 경계를 검출하기 위한 필터일 수 있다. 또는, 예를 들어, 서버는 언샤프(unsharp) 마스크 필터를 기반으로 상기 원본 데이터의 고주파 성분을 획득하고, 상기 고주파 성분을 상기 원본 데이터에 더함으로써, 상기 원본 데이터에 대한 선명도를 증가시킬 수 있다. 여기서, 언샤프 마스크 필터는 원본 데이터에 적용되어 부드러운 원본 데이터를 획득하기 위한 필터일 수 있다. 예를 들어, 언샤프 마스크 필터는 평균값 필터일 수 있다. 즉, 평균값 필터를 통해 원본 데이터에서 하나의 픽셀과 해당 픽셀의 주변 픽셀들의 산술 평균 값이 결과 데이터 픽셀 값으로 저장될 수 있다. 예를 들어, 언샤프 마스크 필터는 가우시안 필터일 수 있다. 즉, 가우시안 필터는 중심부의 값은 높은 가중치를 가지고, 중심에서 멀어질수록 가중치의 작은 값을 가질 수 있다. 이를 통해, 원본 데이터에 대한 가중 산술 평균 값이 결과 데이터 픽셀 값으로 저장될 수 있다. 따라서, 서버는 선명도가 낮은 문서를 그대로 사용하지 않고, 선명도가 낮은 문서에 대해서는 문서의 선명도를 보완한 후에 워터마크를 삽입할 수 있다.Additionally, for example, when the sharpness of the original data is less than the preset sharpness, the server may increase the sharpness of the original data using a sharpening filter. For example, the server applies a Laplacian filter to the original data to detect an area where the pixel value is greatly changed, and adds the area where the pixel value is greatly changed to the original data. Sharpness can be increased. Here, the Laplacian filter is a filter to which second-order derivative is applied, and may be a filter for detecting a boundary. Alternatively, for example, the server may obtain a high-frequency component of the original data based on an unsharp mask filter and add the high-frequency component to the original data to increase sharpness of the original data. . Here, the unsharp mask filter may be applied to the original data to obtain smooth original data. For example, the unsharp mask filter may be an average value filter. That is, an arithmetic mean value of one pixel in the original data and pixels surrounding the corresponding pixel may be stored as a result data pixel value through the average filter. For example, the unsharp mask filter may be a Gaussian filter. That is, in the Gaussian filter, a value at the center may have a high weight, and a value farther from the center may have a smaller weight. Through this, the weighted arithmetic average value of the original data may be stored as the result data pixel value. Accordingly, the server may insert a watermark after supplementing the document sharpness of the low sharpness document without using the low sharpness document as it is.

단계 S304에서, 서버는 상기 수신인에 대한 연락 정보에 기반하여 상기 워터마크가 삽입된 데이터를 상기 적어도 하나의 수신인과 관련된 적어도 하나의 장치에게 전송할 수 있다.In step S304, the server may transmit the watermarked data to at least one device related to the at least one recipient based on the contact information of the recipient.

예를 들어, 서버는 상기 수신인에 대한 연락 정보에 기반하여 상기 워터마크가 삽입된 데이터를 포함하는 메시지를 상기 적어도 하나의 수신인과 관련된 적어도 하나의 장치에게 전송할 수 있다. 예를 들어, 서버는 상기 서버와 연결된 장치로부터 수신된 메시지를 상기 워터마크가 삽입된 데이터를 포함시켜 상기 적어도 하나의 수신인과 관련된 장치에게 전송할 수 있다.For example, the server may transmit a message including the watermarked data to at least one device related to the at least one recipient based on the contact information for the recipient. For example, the server may transmit a message received from a device connected to the server to a device related to the at least one recipient including data in which the watermark is inserted.

예를 들어, 상기 적어도 하나의 장치에게 전송되는 워터마크는 상기 적어도 하나의 장치 별로 상이하게 결정될 수 있다. 예를 들어, 상기 적어도 하나의 장치마다 수신인에 대한 명칭이 상이한 경우, 상기 적어도 하나의 장치에게 전송되는 워터마크는 상기 적어도 하나의 장치 별로 상이할 수 있다. For example, a watermark transmitted to the at least one device may be determined differently for each of the at least one device. For example, when the name of the recipient is different for each of the at least one device, the watermark transmitted to the at least one device may be different for each of the at least one device.

예를 들어, 서버는 이메일 주소, 메신져 ID 또는 전화 번호 중 적어도 하나에 기반하여 상기 워터마크가 삽입된 데이터를 상기 적어도 하나의 장치에게 전송할 수 있다. 예를 들어, 서버는 이메일 주소를 통해 제1 장치에게 워터마크가 삽입된 데이터를 전송하고, 메신져 ID를 통해 제2 장치에게 워터마크가 삽입된 데이터를 전송할 수 있다. 예를 들어, 서버는 워터마크가 삽입된 데이터를 포함하는 MMS(multimedia messaging service) 메시지를 상기 전화 번호를 통해 적어도 하나의 장치에게 전송할 수 있다. 여기서, MMS 메시지는 사진, 동영상과 같은 멀티미디어를 보낼 수 있는 메시지이다.For example, the server may transmit the watermarked data to the at least one device based on at least one of an email address, a messenger ID, and a phone number. For example, the server may transmit watermarked data to the first device through an email address and transmit watermarked data to the second device through a messenger ID. For example, the server may transmit a multimedia messaging service (MMS) message including watermarked data to at least one device through the phone number. Here, the MMS message is a message capable of sending multimedia such as photos and videos.

본 개시의 일 실시예에 따르면, 서버는 상기 서버와 연결된 장치(예: 도 1의 전자 장치(101))에게 워터마크를 삽입하는 인터페이스와 관련된 정보를 전송할 수 있다. 예를 들어, 상기 워터마크를 삽입하는 인터페이스와 관련된 정보는 수신인 리스트가 포함된 기본 인터페이스와 관련된 정보, 상기 워터마크의 설정에 대한 인터페이스와 관련된 정보, 상기 워터마크가 삽입된 데이터와 함께 전송되는 메시지를 예약하는 인터페이스와 관련된 정보 및 상기 메시지를 발송하기 이전에 확인하는 인터페이스와 관련된 정보를 포함할 수 있다.According to an embodiment of the present disclosure, the server may transmit information related to an interface for embedding a watermark to a device connected to the server (eg, the electronic device 101 of FIG. 1 ). For example, the information related to the interface for embedding the watermark includes information related to a basic interface including a list of recipients, information related to an interface for setting the watermark, and a message transmitted together with data in which the watermark is inserted. Information related to an interface for reserving the message and information related to an interface to be confirmed before sending the message may be included.

이하, 서버 및 상기 서버와 연결된 장치에 기반하여 특정 문서에 워터마크를 삽입하고, 상기 워터마크가 삽입된 특정 문서를 메시지와 함께 적어도 하나의 수신인과 관련된 장치에게 전송하는 일 예를 설명한다. 또한, 본 개시에서 설명된 인터페이스는 하나의 실시 예이며, 상기 실시 예에 한정되지 않고, 다양한 인터페이스로 구현될 수 있다.Hereinafter, an example of embedding a watermark in a specific document based on a server and a device connected to the server and transmitting the specific document with the watermark inserted to a device associated with at least one recipient together with a message will be described. Also, the interface described in this disclosure is one embodiment, and is not limited to the above embodiment, and may be implemented as various interfaces.

도 4는 일 실시예에 따른 수신인 리스트가 포함된 기본 화면에 대한 예이다. 도 5는 일 실시예에 따른 워터마크의 설정과 관련된 화면에 대한 예이다. 도 6은 일 실시예에 따른 워터마크가 삽입된 데이터와 함께 전송되는 전체 메시지를 예약하는 화면에 대한 예이다. 도 7은 일 실시예에 따른 전체 메시지를 발송하기 전 화면에 대한 예이다. 도 4 내지 도 7의 실시예들은 본 개시의 다양한 실시예들과 결합될 수 있다.4 is an example of a basic screen including a recipient list according to an embodiment. 5 is an example of a screen related to watermark setting according to an exemplary embodiment. 6 is an example of a screen for reserving an entire message transmitted together with watermarked data according to an embodiment. 7 is an example of a screen before sending an entire message according to an embodiment. The embodiments of FIGS. 4 to 7 can be combined with various embodiments of the present disclosure.

도 4를 참조하면, 수신인 리스트가 포함된 기본 화면은 수신인의 이름, 워터마크의 내용 및 수신인의 연락 정보를 포함할 수 있다. 예를 들어, 서버와 연결된 장치는 엑셀 파일을 통해 상기 엑셀 파일에 저장된 수신인 리스트를 서버에 입력할 수 있다. 또한, 예를 들어, 서버와 연결된 장치는 엑셀 파일을 통해 상기 서버에 사전 저장된 수신인 리스트를 변경할 수 있다. Referring to FIG. 4 , the basic screen including the recipient list may include the recipient's name, watermark content, and recipient's contact information. For example, a device connected to the server may input the recipient list stored in the Excel file to the server through an Excel file. Also, for example, a device connected to the server may change the recipient list pre-stored in the server through an Excel file.

예를 들어, 서버와 연결된 장치는 상기 서버에 사전 저장된 수신인 리스트로부터 적어도 하나의 수신인을 검색하고, 상기 적어도 하나의 수신인을 선택할 수 있다. 예를 들어, 서버와 연결된 장치는 상기 서버에 대해 사전에 입력된 워터마크에 대한 문구를 사용할 수 있다. 예를 들어, 서버와 연결된 장치는 상기 서버에 사전 입력된 워터마크에 대한 문구를 변경하여 사용할 수 있다. 예를 들어, 서버와 연결된 장치는 상기 서버에 대해 문서에 대한 서식을 사전 입력할 수 있다.For example, a device connected to the server may search for at least one recipient from a recipient list pre-stored in the server and select the at least one recipient. For example, a device connected to a server may use a phrase for a watermark previously entered into the server. For example, a device connected to a server may change and use a phrase for a watermark pre-input in the server. For example, a device connected to a server may pre-enter a form for a document to the server.

부가적으로, 예를 들어, 상기 서버에 사전 입력된 워터마크에 대한 문구가 존재하지 않는 경우, 서버와 연결된 장치는 상기 서버로부터 워터마크에 대한 문구를 수신할 수 있다. 예를 들어, 상기 워터마크에 대한 문구는 문서 정보에 기반하여 상기 서버에 의해 결정될 수 있다.Additionally, for example, when a pre-input phrase for a watermark does not exist in the server, a device connected to the server may receive a phrase for the watermark from the server. For example, a phrase for the watermark may be determined by the server based on document information.

도 5를 참조하면, 워터마크의 설정과 관련된 화면은 워터마크에 대한 세부설정 및 워터마크가 삽입된 문서에 대한 미리보기 창을 포함할 수 있다. 예를 들어, 워터마크는 수신인에 대한 명칭과 발신인에 대한 명칭으로 구성된 제1 워터마크 및 발신인에 의해 설정된 제2 워터마크를 포함할 수 있다. 예를 들어, 제1 워터마크에 대한 세부설정은 위치, 모양, 색깔, 기울기, 글씨체, 크기 및 투명도에 대한 설정을 포함할 수 있다. 예를 들어, 제2 워터마크에 대한 세부설정은 위치, 모양, 색깔, 기울기, 글씨체, 크기 및 투명도에 대한 설정을 포함할 수 있다. 예를 들어, 워터마크가 삽입된 문서에 대한 미리보기 창은 제1 워터마크와 제2 워터마크가 삽입된 문서 이미지를 포함할 수 있다.Referring to FIG. 5 , a screen related to setting a watermark may include detailed settings for the watermark and a preview window for a document in which the watermark is inserted. For example, the watermark may include a first watermark composed of a name for the recipient and a name for the sender, and a second watermark set by the sender. For example, detailed settings for the first watermark may include settings for position, shape, color, inclination, font, size, and transparency. For example, detailed settings for the second watermark may include settings for position, shape, color, slant, font, size, and transparency. For example, a preview window for a watermark-embedded document may include a first watermark and a second watermark-embedded document image.

도 6을 참조하면, 워터마크가 삽입된 데이터와 함께 전송되는 전체 메시지를 예약하는 화면은 전체 메시지, 예약 날짜, 예약 시간 및 예약 발송 여부를 포함할 수 있다. 예를 들어, 서버와 연결된 장치는 상기 워터마크가 삽입된 문서를 상기 전체 메시지와 함께 적어도 하나의 장치에게 전송할 수 있다. 예를 들어, 예약 발송이 설정된 경우, 서버와 연결된 장치는 상기 워터마크가 삽입된 문서를 상기 전체 메시지와 함께 적어도 하나의 장치에게 상기 예약 발송이 설전된 시간에 전송할 수 있다.Referring to FIG. 6 , a screen for reserving an entire message to be transmitted together with watermarked data may include the entire message, a reservation date, a reservation time, and whether or not to send a reservation. For example, a device connected to the server may transmit the watermark-embedded document to at least one device together with the entire message. For example, when reservation delivery is set, a device connected to the server may transmit the watermark-embedded document together with the entire message to at least one device at the time when reservation delivery is set.

도 7을 참조하면, 전체 메시지를 발송하기 전 화면은 수신인 리스트와 상기 수신인 리스트에 포함된 수신인에 대응하는 워터마크가 삽입된 문서를 미리 볼 수 있는 창을 포함할 수 있다. 예를 들어, 서버와 연결된 장치는 수신인 리스트에 포함된 수신인에 대응하는 워터마크가 삽입된 문서를 화면 상에 디스플레이할 수 있다.Referring to FIG. 7 , the screen before sending the entire message may include a recipient list and a window for previewing a document having a watermark corresponding to a recipient included in the recipient list. For example, a device connected to the server may display a document having a watermark corresponding to a recipient included in the recipient list on the screen.

도 8은 일 실시예에 따른 워터마크에 대한 예이다. 도 8의 실시예들은 본 개시의 다양한 실시예들과 결합될 수 있다.8 is an example of a watermark according to an embodiment. The embodiments of FIG. 8 can be combined with various embodiments of the present disclosure.

도 8을 참조하면, 워터마크는 수신인에 대한 명칭(예: 홍길동)과 발신인에 대한 명칭(예: 심청이)으로 구성된 패턴을 포함할 수 있다. 따라서, 상기 워터마크가 삽입된 문서의 일부가 발췌된 경우에도, 상기 수신인에 대한 명칭과 상기 발신인에 대한 명칭을 통해 수신인과 발신인을 확인할 수 있다.Referring to FIG. 8 , the watermark may include a pattern composed of a name of a recipient (eg, Gildong Hong) and a name of a sender (eg, Shimchungi). Therefore, even when a part of the watermark-embedded document is extracted, the recipient and the sender can be identified through the name of the recipient and the name of the sender.

부가적으로, 예를 들어, 상기 워터마크를 구성하는 상기 수신인에 대한 명칭 및 상기 발신인에 대한 명칭은 세모 형태, 네모 형태, 원 형태, 별 형태와 같이 다양한 형태 중 어느 하나의 형태로 이루어질 수 있다. 예를 들어, 상기 수신인에 대한 명칭 및 상기 발신인에 대한 명칭의 조합으로 구성된 패턴은 둘 이상의 패턴을 포함할 수 있다. 여기서, 상기 패턴은 가로 패턴, 세로 패턴, 대각 패턴, 도트 패턴 및 격자 패턴과 같이 다양한 패턴을 포함할 수 있다. 즉, 예를 들어, 상기 수신인에 대한 명칭 및 상기 발신인에 대한 명칭으로 구성된 패턴은 가로 패턴 및 세로 패턴으로 생성될 수 있다.Additionally, for example, the name of the recipient and the name of the sender constituting the watermark may be formed in any one of various shapes such as a triangle shape, a square shape, a circle shape, and a star shape. . For example, a pattern composed of a combination of the name of the recipient and the name of the sender may include two or more patterns. Here, the pattern may include various patterns such as a horizontal pattern, a vertical pattern, a diagonal pattern, a dot pattern, and a lattice pattern. That is, for example, a pattern composed of the name of the recipient and the name of the sender may be generated as a horizontal pattern and a vertical pattern.

도 9는 일 실시예에 따른 워터마크를 원본 데이터에 삽입하기 위해 설정하는 과정에 대한 예이다. 도 9의 실시예는 본 개시의 다양한 실시예들과 결합될 수 있다.9 is an example of a process of setting a watermark to be inserted into original data according to an embodiment. The embodiment of FIG. 9 can be combined with various embodiments of the present disclosure.

도 9를 참조하면, 단계 S910에서, 서버는 상기 서버에 입력된 문서 정보를 기반으로 원본 데이터를 획득할 수 있다.Referring to FIG. 9 , in step S910, the server may obtain original data based on document information input to the server.

단계 S920에서, 서버는 상기 원본 데이터에 대한 선명도가 사전 설정된 선명도 미만인지 여부를 결정할 수 있다. 예를 들어, 서버는 상술한 수학식 3에 의해 상기 원본 데이터에 대한 선명도를 결정할 수 있다. In step S920, the server may determine whether the sharpness of the original data is less than the preset sharpness. For example, the server may determine sharpness of the original data by Equation 3 above.

단계 S930에서, 상기 원본 데이터에 대한 선명도가 사전 설정된 선명도 미만인 경우, 서버는 샤프닝 필터를 상기 원본 데이터에 적용함으로써, 상기 원본 데이터에 선명도를 증가시킬 수 있다.In step S930, if the sharpness of the original data is less than the preset sharpness, the server may increase the sharpness of the original data by applying a sharpening filter to the original data.

단계 S940에서, 서버는 상기 원본 데이터에 대한 선명도에 기반하여 워터마크에 대한 투명도의 범위를 결정할 수 있다. 예를 들어, 상기 투명도의 범위에서 최솟값은 상술한 수학식 2에 의해 결정될 수 있다. 예를 들어, 상기 투명도의 범위에서 최댓값은 하기 수학식 4에 의해 결정될 수 있다.In step S940, the server may determine a range of transparency for the watermark based on the sharpness of the original data. For example, the minimum value in the range of transparency may be determined by Equation 2 above. For example, the maximum value in the range of transparency may be determined by Equation 4 below.

Figure 112022064308953-pat00007
Figure 112022064308953-pat00007

상기 수학식 4에서, 상기 amax는 상기 투명도의 최댓값이고, 상기 rt는 상기 원본 데이터에 포함된 텍스트의 비율이고, Bb는 상기 원본 데이터에 포함된 배경에 대한 평균 명도 값, Bt는 상기 원본 데이터에 포함된 텍스트에 대한 평균 명도 값이고, 상기 S는 상기 원본 데이터에 대한 선명도일 수 있다.In Equation 4, a max is the maximum value of transparency, r t is the ratio of text included in the original data, B b is the average brightness value of the background included in the original data, and B t is An average brightness value of text included in the original data, and S may be a sharpness value of the original data.

예를 들어, 상기 원본 데이터에 대한 선명도가 사전 설정된 선명도 이상인 경우, 서버는 상기 원본 데이터에 대한 선명도에 기반하여 워터마크에 대한 투명도의 범위를 결정할 수 있다.For example, when the sharpness of the original data is greater than or equal to the preset sharpness, the server may determine a range of transparency for the watermark based on the sharpness of the original data.

단계 S950에서, 서버는 원본 데이터에 대한 복수의 제1 영역을 결정할 수 있다. 예를 들어, 서버는 상기 원본 데이터에 포함된 텍스트의 분포에 기반하여 상기 DBSCAN 기법을 통해 상기 원본 데이터에 대한 복수의 제1 영역을 결정할 수 있다.In step S950, the server may determine a plurality of first areas of the original data. For example, the server may determine a plurality of first areas of the original data through the DBSCAN technique based on the distribution of text included in the original data.

단계 S960에서, 서버는 복수의 제1 영역 각각에 대해 사전 설정된 비율 이상인지 여부를 결정할 수 있다. 예를 들어, 서버는 복수의 제1 영역 각각에 대해 제1 영역에 포함된 텍스트의 비율이 사전 설정된 비율보다 크거나 같은 영역인지 여부를 결정할 수 있다. 예를 들어, 상기 사전 설정된 비율은 상술한 수학식 1에 의해 결정될 수 있다.In step S960, the server may determine whether the ratio is greater than or equal to a preset ratio for each of the plurality of first areas. For example, for each of the plurality of first areas, the server may determine whether the ratio of text included in the first area is greater than or equal to a preset ratio. For example, the preset ratio may be determined by Equation 1 above.

단계 S970에서, 서버는 사전 설정된 비율 이상인 제1 영역을 제2 영역으로 결정할 수 있다. 예를 들어, 상기 제2 영역은 상기 워터마크의 삽입이 가능한 영역일 수 있다. 예를 들어, 상기 제2 영역은 하나 이상일 수 있다. In step S970, the server may determine a first area equal to or greater than a preset ratio as a second area. For example, the second area may be an area where the watermark can be inserted. For example, the second area may be one or more.

단계 S980에서, 서버는 하나 이상의 제2 영역에 워터마크를 삽입할 수 있다. 예를 들어, 하나 이상의 제2 영역 중에서 상기 서버와 연결된 장치로부터 수신된 입력 값에 대응하는 제2 영역에 워터마크가 삽입될 수 있다.In step S980, the server may insert a watermark into one or more second areas. For example, a watermark may be inserted into a second area corresponding to an input value received from a device connected to the server among one or more second areas.

상기 도 9의 실시예는 하나의 예이며, 서버는 사전 설정된 선명도에 대한 판단 과정 및 사전 설정된 비율에 대한 판단 과정을 독립적으로 수행할 수 있다. 또는, 예를 들어, 서버는 상기 판단 과정들을 병렬적으로 수행할 수 있다.The embodiment of FIG. 9 is an example, and the server may independently perform a process of determining a preset sharpness and a process of determining a preset ratio. Or, for example, the server may perform the above determination processes in parallel.

도 10은 일 실시예에 따른 서버의 구성을 나타내는 블록도이다. 도 10의 일 실시예는 본 개시의 다양한 실시예들과 결합될 수 있다.10 is a block diagram illustrating a configuration of a server according to an exemplary embodiment. One embodiment of FIG. 10 may be combined with various embodiments of the present disclosure.

도 10에 도시된 바와 같이, 서버(1000)는 프로세서(1010), 통신부(1020) 및 메모리(1030)를 포함할 수 있다. 그러나, 도 10에 도시된 구성 요소 모두가 서버(1000)의 필수 구성 요소인 것은 아니다. 도 10에 도시된 구성 요소보다 많은 구성 요소에 의해 서버(1000)가 구현될 수도 있고, 도 10에 도시된 구성 요소보다 적은 구성 요소에 의해 서버(1000)가 구현될 수도 있다. 예를 들어, 일부 실시예에 따른 서버(1000)는 프로세서(1010), 통신부(1020) 및 메모리(1030) 이외에 사용자 입력 인터페이스(미도시), 출력부(미도시) 등을 더 포함할 수도 있다.As shown in FIG. 10 , the server 1000 may include a processor 1010, a communication unit 1020, and a memory 1030. However, not all components shown in FIG. 10 are essential components of the server 1000 . The server 1000 may be implemented with more components than those shown in FIG. 10 , or the server 1000 may be implemented with fewer components than those shown in FIG. 10 . For example, the server 1000 according to some embodiments may further include a user input interface (not shown), an output unit (not shown), etc. in addition to the processor 1010, the communication unit 1020, and the memory 1030. .

프로세서(1010)는, 통상적으로 서버(1000)의 전반적인 동작을 제어한다. 프로세서(1010)는 하나 이상의 프로세서를 구비하여, 서버(1000)에 포함된 다른 구성 요소들을 제어할 수 있다. 예를 들어, 프로세서(1010)는, 메모리(1030)에 저장된 프로그램들을 실행함으로써, 통신부(1020) 및 메모리(1030) 등을 전반적으로 제어할 수 있다. 또한, 프로세서(1010)는 메모리(1030)에 저장된 프로그램들을 실행함으로써, 도 3 내지 도 9에 기재된 서버(1000)의 기능을 수행할 수 있다.The processor 1010 typically controls the overall operation of the server 1000. The processor 1010 may include one or more processors to control other elements included in the server 1000 . For example, the processor 1010 may generally control the communication unit 1020 and the memory 1030 by executing programs stored in the memory 1030 . In addition, the processor 1010 may perform the functions of the server 1000 described in FIGS. 3 to 9 by executing programs stored in the memory 1030 .

일 실시예에 따라, 프로세서(1010)는 상기 서버(1000)에 입력된 문서 정보를 기반으로 원본 데이터를 획득할 수 있다. 프로세서(1010)는 통신부(1020)를 통해 상기 문서 정보를 상기 서버(1000)와 연결된 장치로부터 네트워크를 통해 수신할 수 있다. According to an embodiment, the processor 1010 may obtain original data based on document information input to the server 1000 . The processor 1010 may receive the document information from a device connected to the server 1000 through a network through the communication unit 1020 .

프로세서(1010)는 메모리(1030)를 통해 상기 원본 데이터, 적어도 하나의 수신인에 대한 명칭 및 사전 입력된 발신인에 대한 명칭을 기반으로 상기 뉴럴 네트워크를 이용한 패턴 생성 모델을 통해 패턴 정보를 결정할 수 있다. 예를 들어, 상기 적어도 하나의 수신인은 상기 서버에 사전 저장된 수신인 리스트로부터 선택될 수 있다.The processor 1010 may determine pattern information through a pattern generation model using the neural network based on the original data, at least one recipient name and pre-input sender name through the memory 1030 . For example, the at least one recipient may be selected from a list of recipients pre-stored in the server.

예를 들어, 상기 사전 저장된 수신인 리스트는 수신인에 대한 명칭 및 수신인에 대한 연락 정보를 포함할 수 있다. 예를 들어, 상기 패턴 정보는 워터마크를 구성하는 제1 오브젝트 및 제2 오브젝트에 대한 정보와 상기 제1 오브젝트 및 상기 제2 오브젝트의 조합으로 구성된 패턴 정보를 포함할 수 있다.For example, the pre-stored recipient list may include a name for the recipient and contact information for the recipient. For example, the pattern information may include information about the first object and the second object constituting the watermark and pattern information composed of a combination of the first object and the second object.

프로세서(1010)는 메모리(1030)를 통해 상기 패턴 정보 및 사전 입력된 워터마크에 대한 설정 정보를 기반으로 상기 제1 오브젝트 및 상기 제2 오브젝트를 포함하는 워터마크를 상기 원본 데이터에 삽입할 수 있다.The processor 1010 may embed a watermark including the first object and the second object into the original data based on the pattern information and previously input watermark setting information through the memory 1030. .

프로세서(1010)는 통신부(1020)를 통해 상기 수신인에 대한 연락 정보에 기반하여 상기 워터마크가 삽입된 데이터를 상기 적어도 하나의 수신인과 관련된 적어도 하나의 장치에게 전송할 수 있다.The processor 1010 may transmit the watermark-embedded data to at least one device related to the at least one recipient based on the contact information for the recipient through the communication unit 1020 .

예를 들어, 상기 제1 오브젝트는 상기 적어도 하나의 수신인에 대한 명칭을 기반으로 생성될 수 있다. 예를 들어, 상기 제2 오브젝트는 상기 발신인에 대한 명칭을 기반으로 생성될 수 있다. 예를 들어, 상기 적어도 하나의 장치에게 전송되는 워터마크는 상기 적어도 하나의 장치 별로 상이하게 결정될 수 있다.For example, the first object may be created based on the name of the at least one recipient. For example, the second object may be created based on the name of the sender. For example, a watermark transmitted to the at least one device may be determined differently for each of the at least one device.

예를 들어, 상기 제1 오브젝트 및 상기 제2 오브젝트에 대한 정보는 상기 제1 오브젝트 및 상기 제2 오브젝트의 크기에 대한 정보와 상기 제1 오브젝트 및 상기 제2 오브젝트의 형태에 대한 정보를 포함할 수 있다. 예를 들어, 상기 제1 오브젝트 및 상기 제2 오브젝트의 조합으로 구성된 패턴은 둘 이상의 패턴을 포함할 수 있다. For example, the information about the first object and the second object may include information about the size of the first object and the second object and information about the shape of the first object and the second object. have. For example, a pattern composed of a combination of the first object and the second object may include two or more patterns.

프로세서(1010)는 상기 원본 데이터에 포함된 텍스트의 크기에 기반하여 상기 제1 오브젝트와 상기 제2 오브젝트의 크기를 결정할 수 있다.The processor 1010 may determine the size of the first object and the second object based on the size of text included in the original data.

프로세서(1010)는 상기 원본 데이터에 포함된 텍스트의 분포에 기반하여 DBSCAN(Density-Based Spatial Clustering of Applications with Noise) 기법을 통해 상기 원본 데이터에 대해 복수의 제1 영역을 결정할 수 있다. 프로세서(1010)는 상기 복수의 제1 영역 중에서 상기 워터마크의 삽입이 가능한 하나 이상의 제2 영역이 결정할 수 있다. 프로세서(1010)는 상기 하나 이상의 제2 영역 중에서 적어도 하나의 영역 상에 상기 워터마크를 삽입할 수 있다.The processor 1010 may determine a plurality of first areas of the original data through Density-Based Spatial Clustering of Applications with Noise (DBSCAN) technique based on the distribution of text included in the original data. The processor 1010 may determine one or more second areas in which the watermark may be inserted among the plurality of first areas. The processor 1010 may embed the watermark on at least one area among the one or more second areas.

프로세서(1010)는 메모리(1030)를 통해 상기 원본 데이터에 대한 선명도에 기반하여 상기 워터마크에 대한 투명도의 범위를 상이하게 결정할 수 있다. 예를 들어, 프로세서(1010)는 상기 투명도의 최솟값을 상술한 수학식 2에 의해 결정할 수 있고, 상기 투명도의 최댓값을 상술한 수학식 4에 의해 결정할 수 있다.The processor 1010 may differently determine a range of transparency for the watermark based on the sharpness of the original data through the memory 1030 . For example, the processor 1010 may determine the minimum value of the transparency by Equation 2 described above, and may determine the maximum value of the transparency by Equation 4 described above.

예를 들어, 상기 뉴럴 네트워크는 입력 레이어, 하나 이상의 히든 레이어 및 출력 레이어를 포함할 수 있다. 프로세서(1010)는 메모리(1030)를 통해 복수의 원본 데이터, 복수의 워터마크가 삽입된 데이터 및 정답 패턴 정보로 구성된 각각의 학습 데이터를 상기 뉴럴 네트워크의 상기 입력 레이어에 입력시키고, 상기 하나 이상의 히든 레이어 및 출력 레이어를 통과시켜 출력 벡터를 생성할 수 있다. 프로세서(1010)는 메모리(1030)를 통해 상기 출력 벡터를 상기 출력 레이어에 연결된 손실함수 레이어에 입력시키고, 상기 손실함수 레이어를 통해 상기 출력 벡터와 각각의 학습 데이터에 대한 정답 벡터를 비교하는 손실함수를 이용하여 손실 값을 출력하고, 상기 뉴럴 네트워크의 파라미터를 상기 손실 값이 작아지는 방향으로 학습시킴으로써, 상기 패턴 생성 모델을 생성할 수 있다.For example, the neural network may include an input layer, one or more hidden layers, and an output layer. The processor 1010 inputs each learning data composed of a plurality of original data, data with a plurality of watermarks inserted, and correct answer pattern information to the input layer of the neural network through the memory 1030, and the one or more hidden You can create output vectors by passing layers and output layers. The processor 1010 inputs the output vector to a loss function layer connected to the output layer through the memory 1030, and a loss function that compares the output vector with the correct answer vector for each training data through the loss function layer The pattern generation model may be generated by outputting a loss value using and learning parameters of the neural network in a direction in which the loss value decreases.

통신부(1020)는, 서버(1000)가 다른 장치(미도시) 및 서버(미도시)와 통신을 하게 하는 하나 이상의 구성요소를 포함할 수 있다. 다른 장치(미도시)는 서버(1000)와 같은 컴퓨팅 장치이거나, 센싱 장치일 수 있으나, 이에 제한되지 않는다. 통신부(1020)는 네트워크를 통해, 다른 전자 장치로부터의 사용자 입력을 수신하거나, 외부 장치로부터 외부 장치에 저장된 데이터를 수신할 수 있다. The communication unit 1020 may include one or more components that allow the server 1000 to communicate with other devices (not shown) and servers (not shown). The other device (not shown) may be a computing device such as the server 1000 or a sensing device, but is not limited thereto. The communication unit 1020 may receive a user input from another electronic device or data stored in an external device from an external device through a network.

예를 들어, 통신부(1020)는 적어도 하나의 장치와 연결을 확립하기 위한 메시지를 송수신할 수 있다. 통신부(1020)는 프로세서(1010)에서 생성된 정보를 서버와 연결된 적어도 하나의 장치에게 전송할 수 있다. 통신부(1020)는 서버와 연결된 적어도 하나의 장치로부터 정보를 수신할 수 있다. 통신부(1020)는 적어도 하나의 장치로부터 수신한 정보에 대응하여, 수신한 정보와 관련된 정보를 전송할 수 있다.For example, the communication unit 1020 may transmit/receive a message for establishing a connection with at least one device. The communication unit 1020 may transmit information generated by the processor 1010 to at least one device connected to the server. The communication unit 1020 may receive information from at least one device connected to the server. The communication unit 1020 may transmit information related to the received information in response to information received from at least one device.

메모리(1030)는, 프로세서(1010)의 처리 및 제어를 위한 프로그램을 저장할 수 있다. 예를 들어, 메모리(1030)는 서버에 입력된 정보 또는 네트워크를 통해 다른 장치로부터 수신된 정보를 저장할 수 있다. 또한, 메모리(1030)는 프로세서(1010)에서 생성된 데이터를 저장할 수 있다. 예를 들어, 메모리(1030)는 프로세서(1010)가 생성한 패턴 정보, 제1 오브젝트, 제2 오브젝트, 상기 제1 오브젝트 및 상기 제2 오브젝트의 조합으로 구성된 패턴에 대한 정보, 워터마크에 대한 정보, 복수의 제1 영역, 하나 이상의 제2 영역, 원본 데이터에 대한 선명도를 저장할 수 있다. 메모리(1030)는 서버(1000)로 입력되거나 서버(1000)로부터 출력되는 정보를 저장할 수도 있다. 예를 들어, 메모리(1030)는 텍스트의 크기에 대해 사전 설정된 비율, 텍스트의 비율에 대해 사전 설정된 비율, 원본 데이터에 대해 사전 설정된 선명도, 사전 입력된 발신인에 대한 명칭 및 사전 입력된 워터마크에 대한 설정 정보를 저장할 수 있다.The memory 1030 may store programs for processing and control of the processor 1010 . For example, the memory 1030 may store information input to a server or information received from another device through a network. Also, the memory 1030 may store data generated by the processor 1010 . For example, the memory 1030 may include pattern information generated by the processor 1010, information about a first object, a second object, information about a pattern composed of a combination of the first object and the second object, and information about a watermark. , a plurality of first areas, one or more second areas, and sharpness of original data may be stored. The memory 1030 may store information input to or output from the server 1000 . For example, the memory 1030 may store a preset ratio for the size of text, a preset ratio for text ratio, a preset sharpness for original data, a pre-set name for the sender and a pre-set watermark for the original data. Settings information can be saved.

메모리(1030)는 플래시 메모리 타입(flash memory type), 하드디스크 타입(hard disk type), 멀티미디어 카드 마이크로 타입(multimedia card micro type), 카드 타입의 메모리(예를 들어 SD 또는 XD 메모리 등), 램(RAM, Random Access Memory) SRAM(Static Random Access Memory), 롬(ROM, Read-Only Memory), EEPROM(Electrically Erasable Programmable Read-Only Memory), PROM(Programmable Read-Only Memory), 자기 메모리, 자기 디스크, 광디스크 중 적어도 하나의 타입의 저장매체를 포함할 수 있다.The memory 1030 is a flash memory type, a hard disk type, a multimedia card micro type, a card type memory (eg SD or XD memory, etc.), RAM (RAM, Random Access Memory) SRAM (Static Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), PROM (Programmable Read-Only Memory), magnetic memory, magnetic disk , an optical disk, and at least one type of storage medium.

이상에서 설명된 실시예들은 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어 구성요소의 조합으로 구현될 수 있다. 예를 들어, 실시예들에서 설명된 장치, 방법 및 구성요소는, 예를 들어, 프로세서, 콘트롤러, 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 as hardware components, software components, and/or a combination of hardware components and software components. For example, the devices, 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), programmable logic units (PLUs), microprocessors, or any other device capable of executing and responding to instructions. A processing device may run an operating system (OS) and one or more software applications running on the operating system. A processing device may also access, store, manipulate, process, and generate data in response to execution of software. For convenience of understanding, there are cases in which one processing device is used, but those skilled in the art will understand that the processing device includes a plurality of processing elements and/or a plurality of types of processing elements. It can be seen that it can include. For example, a processing device may include a plurality of processors or a processor and a controller. Other processing configurations are also possible, such as parallel processors.

소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로(collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 가상 장치(virtual equipment), 컴퓨터 저장 매체 또는 장치, 또는 전송되는 신호 파(signal wave)에 영구적으로, 또는 일시적으로 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매체에 저장될 수 있다.Software may include a computer program, code, instructions, or a combination of one or more of the foregoing, which configures a processing device to operate as desired or processes independently or collectively. The device can be commanded. Software and/or data may be any tangible machine, component, physical device, virtual equipment, computer storage medium or device, intended to be interpreted by or provide instructions or data to a processing device. , or may be permanently or temporarily embodied in a transmitted signal wave. Software may be distributed on networked computer systems and stored or executed in a distributed manner. Software and data may be stored on one or more computer readable 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 on a computer readable medium. The computer readable medium may include program instructions, data files, data structures, etc. alone or in combination. Program commands recorded on the medium may be specially designed and configured for the embodiment or may be known and usable to those skilled in computer software. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks and magnetic tapes, optical media such as CD-ROMs and DVDs, and magnetic media such as floptical disks. - includes hardware devices specially configured to store and execute program instructions, such as magneto-optical media, and ROM, RAM, flash memory, and the like. Examples of program instructions include high-level language codes that can be executed by a computer using an interpreter, as well as machine language codes such as those produced by a compiler. 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 limited drawings, those skilled in the art can apply various technical modifications and variations based on the above. For example, the described techniques may be performed in an order different from the method described, and/or components of the described system, structure, device, circuit, etc. may be combined or combined in a different form than the method described, or other components may be used. Or even if it is replaced or substituted by equivalents, appropriate results can be achieved.

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

Claims (12)

뉴럴 네트워크(neural network)를 이용하여 서버가 워터마크가 삽입된 데이터를 적어도 하나의 장치에게 전송하는 방법에 있어서,
상기 서버에 입력된 문서 정보를 기반으로 원본 데이터를 획득하는 단계;
상기 원본 데이터, 적어도 하나의 수신인에 대한 명칭 및 사전 입력된 발신인에 대한 명칭을 기반으로 상기 뉴럴 네트워크를 이용한 패턴 생성 모델을 통해 패턴 정보를 결정하는 단계 -상기 적어도 하나의 수신인은 상기 서버에 사전 저장된 수신인 리스트로부터 선택됨-;
상기 사전 저장된 수신인 리스트는 수신인에 대한 명칭 및 수신인에 대한 연락 정보를 포함하고,
상기 패턴 정보는 워터마크를 구성하는 제1 오브젝트 및 제2 오브젝트에 대한 정보와 상기 제1 오브젝트 및 상기 제2 오브젝트의 조합으로 구성된 패턴에 대한 정보를 포함하고,
상기 패턴 정보 및 사전 입력된 워터마크에 대한 설정 정보를 기반으로 상기 제1 오브젝트 및 상기 제2 오브젝트를 포함하는 워터마크를 상기 원본 데이터에 삽입하는 단계; 및
상기 수신인에 대한 연락 정보에 기반하여 상기 워터마크가 삽입된 데이터를 상기 적어도 하나의 수신인과 관련된 적어도 하나의 장치에게 전송하는 단계를 포함하되,
상기 제1 오브젝트는 상기 적어도 하나의 수신인에 대한 명칭을 기반으로 생성되고,
상기 제2 오브젝트는 상기 발신인에 대한 명칭을 기반으로 생성되고,
상기 적어도 하나의 장치에게 전송되는 워터마크는 상기 적어도 하나의 장치 별로 상이하게 결정되고,
상기 원본 데이터에 대한 선명도에 기반하여 상기 워터마크에 대한 투명도의 범위가 상이하게 결정되고,
상기 투명도의 최솟값은 하기 수학식에 의해 결정되고,
Figure 112022099499154-pat00020

상기 수학식에서, 상기 amin은 상기 투명도의 최솟값이고, 상기 rt는 상기 원본 데이터에 포함된 텍스트의 비율이고, 상기 Bb는 상기 원본 데이터에 포함된 배경에 대한 평균 명도 값이고, 상기 Bt는 상기 원본 데이터에 포함된 텍스트에 대한 평균 명도 값이고, 상기 S는 상기 원본 데이터에 대한 선명도이고, 상기 a는 상기 워터마크와 관련된 가중치인,
방법.
A method in which a server transmits watermarked data to at least one device using a neural network, the method comprising:
obtaining original data based on document information input to the server;
Determining pattern information through a pattern generation model using the neural network based on the original data, the name of at least one recipient, and the name of the sender input in advance - The at least one recipient is pre-stored in the server selected from recipient list-;
The pre-stored recipient list includes names of recipients and contact information about recipients;
The pattern information includes information about a first object and a second object constituting a watermark and information about a pattern composed of a combination of the first object and the second object,
inserting a watermark including the first object and the second object into the original data based on the pattern information and previously input watermark setting information; and
Transmitting the watermarked data to at least one device related to the at least one recipient based on the contact information for the recipient,
The first object is created based on the name of the at least one recipient,
The second object is created based on the name of the sender,
The watermark transmitted to the at least one device is determined differently for each of the at least one device,
A range of transparency for the watermark is determined differently based on the clarity of the original data;
The minimum value of the transparency is determined by the following equation,
Figure 112022099499154-pat00020

In the above equation, a min is the minimum value of the transparency, r t is the ratio of text included in the original data, B b is the average brightness value of the background included in the original data, and the B t Is the average brightness value of text included in the original data, S is the sharpness of the original data, and a is a weight related to the watermark.
Way.
제 1항에 있어서,
상기 제1 오브젝트 및 상기 제2 오브젝트에 대한 정보는 상기 제1 오브젝트 및 상기 제2 오브젝트의 크기에 대한 정보와 상기 제1 오브젝트 및 상기 제2 오브젝트의 형태에 대한 정보를 포함하고,
상기 제1 오브젝트 및 상기 제2 오브젝트의 조합으로 구성된 패턴은 둘 이상의 패턴을 포함하고,
상기 원본 데이터에 포함된 텍스트의 크기에 기반하여 상기 제1 오브젝트와 상기 제2 오브젝트의 크기가 결정되는,
방법.
According to claim 1,
The information about the first object and the second object includes information about the size of the first object and the second object and information about the shape of the first object and the second object,
The pattern composed of the combination of the first object and the second object includes two or more patterns,
The size of the first object and the second object is determined based on the size of text included in the original data.
Way.
제 1항에 있어서,
상기 원본 데이터에 포함된 텍스트의 분포에 기반하여 DBSCAN(Density-Based Spatial Clustering of Applications with Noise) 기법을 통해 상기 원본 데이터에 대해 복수의 제1 영역이 결정되고,
상기 복수의 제1 영역 중에서 상기 워터마크의 삽입이 가능한 하나 이상의 제2 영역이 결정되고,
상기 하나 이상의 제2 영역 중에서 상기 워터마크가 삽입되는,
방법.
According to claim 1,
A plurality of first regions are determined for the original data through a Density-Based Spatial Clustering of Applications with Noise (DBSCAN) technique based on a distribution of text included in the original data;
One or more second areas in which the watermark can be inserted are determined among the plurality of first areas;
Among the one or more second areas, the watermark is inserted.
Way.
삭제delete 제 1항에 있어서,
상기 뉴럴 네트워크는 입력 레이어, 하나 이상의 히든 레이어 및 출력 레이어를 포함하고,
복수의 원본 데이터, 복수의 워터마크가 삽입된 데이터 및 정답 패턴 정보로 구성된 각각의 학습 데이터는 상기 뉴럴 네트워크의 상기 입력 레이어에 입력되어 상기 하나 이상의 히든 레이어 및 출력 레이어를 통과하여 출력 벡터로 출력되고, 상기 출력 벡터는 상기 출력 레이어에 연결된 손실함수 레이어에 입력되고, 상기 손실함수 레이어는 상기 출력 벡터와 각각의 학습 데이터에 대한 정답 벡터를 비교하는 손실함수를 이용하여 손실 값을 출력하고, 상기 뉴럴 네트워크의 파라미터는 상기 손실 값이 작아지는 방향으로 학습되고, 상기 패턴 생성 모델이 생성되는,
방법.
According to claim 1,
The neural network includes an input layer, one or more hidden layers and an output layer;
Each learning data consisting of a plurality of original data, data with a plurality of watermarks inserted, and correct answer pattern information is input to the input layer of the neural network, passes through the one or more hidden layers and output layers, and is output as 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 the correct answer vector for each learning data, and outputs a loss value, Parameters of the network are learned in a direction in which the loss value becomes smaller, and the pattern generation model is generated.
Way.
적어도 하나의 프로세서, 적어도 하나의 메모리 및 통신부를 포함하는 서버에 있어서,
상기 적어도 하나의 프로세서는:
상기 서버에 입력된 문서 정보를 기반으로 원본 데이터를 획득하고,
상기 원본 데이터, 적어도 하나의 수신인에 대한 명칭 및 사전 입력된 발신인에 대한 명칭을 기반으로 뉴럴 네트워크를 이용한 패턴 생성 모델을 통해 패턴 정보를 결정하고,
상기 적어도 하나의 수신인은 상기 서버에 사전 저장된 수신인 리스트로부터 선택되고,
상기 사전 저장된 수신인 리스트는 수신인에 대한 명칭 및 수신인에 대한 연락 정보를 포함하고,
상기 패턴 정보는 워터마크를 구성하는 제1 오브젝트 및 제2 오브젝트에 대한 정보와 상기 제1 오브젝트 및 상기 제2 오브젝트의 조합으로 구성된 패턴 정보를 포함하고,
상기 패턴 정보 및 사전 입력된 워터마크에 대한 설정 정보를 기반으로 상기 제1 오브젝트 및 상기 제2 오브젝트를 포함하는 워터마크를 상기 원본 데이터에 삽입하고,
상기 수신인에 대한 연락 정보에 기반하여 상기 워터마크가 삽입된 데이터를 상기 적어도 하나의 수신인과 관련된 적어도 하나의 장치에게 전송하되,
상기 제1 오브젝트는 상기 적어도 하나의 수신인에 대한 명칭을 기반으로 생성되고,
상기 제2 오브젝트는 상기 발신인에 대한 명칭을 기반으로 생성되고,
상기 적어도 하나의 장치에게 전송되는 워터마크는 상기 적어도 하나의 장치 별로 상이하게 결정되고,
상기 원본 데이터에 대한 선명도에 기반하여 상기 워터마크에 대한 투명도의 범위가 상이하게 결정되고,
상기 투명도의 최솟값은 하기 수학식에 의해 결정되고,
Figure 112022099499154-pat00021

상기 수학식에서, 상기 amin은 상기 투명도의 최솟값이고, 상기 rt는 상기 원본 데이터에 포함된 텍스트의 비율이고, 상기 Bb는 상기 원본 데이터에 포함된 배경에 대한 평균 명도 값이고, 상기 Bt는 상기 원본 데이터에 포함된 텍스트에 대한 평균 명도 값이고, 상기 S는 상기 원본 데이터에 대한 선명도이고, 상기 a는 상기 워터마크와 관련된 가중치인,
서버.
In a server including at least one processor, at least one memory and a communication unit,
The at least one processor is:
Acquiring original data based on document information input to the server;
Determining pattern information through a pattern generation model using a neural network based on the original data, at least one name of a recipient, and a pre-input name of a sender;
the at least one recipient is selected from a list of recipients pre-stored in the server;
The pre-stored recipient list includes names of recipients and contact information about recipients;
The pattern information includes information on a first object and a second object constituting a watermark and pattern information composed of a combination of the first object and the second object,
inserting a watermark including the first object and the second object into the original data based on the pattern information and pre-input setting information for the watermark;
Transmitting the watermarked data to at least one device related to the at least one recipient based on the contact information for the recipient;
The first object is created based on the name of the at least one recipient,
The second object is created based on the name of the sender,
The watermark transmitted to the at least one device is determined differently for each of the at least one device,
A range of transparency for the watermark is determined differently based on the clarity of the original data;
The minimum value of the transparency is determined by the following equation,
Figure 112022099499154-pat00021

In the above equation, a min is the minimum value of the transparency, r t is the ratio of text included in the original data, B b is the average brightness value of the background included in the original data, and the B t Is the average brightness value of text included in the original data, S is the sharpness of the original data, and a is a weight related to the watermark.
server.
제 6항에 있어서,
상기 제1 오브젝트 및 상기 제2 오브젝트에 대한 정보는 상기 제1 오브젝트 및 상기 제2 오브젝트의 크기에 대한 정보와 상기 제1 오브젝트 및 상기 제2 오브젝트의 형태에 대한 정보를 포함하고,
상기 제1 오브젝트 및 상기 제2 오브젝트의 조합으로 구성된 패턴은 둘 이상의 패턴을 포함하고,
상기 원본 데이터에 포함된 텍스트의 크기에 기반하여 상기 제1 오브젝트와 상기 제2 오브젝트의 크기가 결정되는,
서버.
According to claim 6,
The information about the first object and the second object includes information about the size of the first object and the second object and information about the shape of the first object and the second object,
The pattern composed of the combination of the first object and the second object includes two or more patterns,
The size of the first object and the second object is determined based on the size of text included in the original data.
server.
제 6항에 있어서,
상기 원본 데이터에 포함된 텍스트의 분포에 기반하여 DBSCAN(Density-Based Spatial Clustering of Applications with Noise) 기법을 통해 상기 원본 데이터에 대해 복수의 제1 영역이 결정되고,
상기 복수의 제1 영역 중에서 상기 워터마크의 삽입이 가능한 하나 이상의 제2 영역이 결정되고,
상기 하나 이상의 제2 영역 중에서 상기 워터마크가 삽입되는,
서버.
According to claim 6,
A plurality of first regions are determined for the original data through a Density-Based Spatial Clustering of Applications with Noise (DBSCAN) technique based on a distribution of text included in the original data;
One or more second areas in which the watermark can be inserted are determined among the plurality of first areas;
Among the one or more second areas, the watermark is inserted.
server.
삭제delete 제 6항에 있어서,
상기 뉴럴 네트워크는 입력 레이어, 하나 이상의 히든 레이어 및 출력 레이어를 포함하고,
복수의 원본 데이터, 복수의 워터마크가 삽입된 데이터 및 정답 패턴 정보로 구성된 각각의 학습 데이터는 상기 뉴럴 네트워크의 상기 입력 레이어에 입력되어 상기 하나 이상의 히든 레이어 및 출력 레이어를 통과하여 출력 벡터로 출력되고, 상기 출력 벡터는 상기 출력 레이어에 연결된 손실함수 레이어에 입력되고, 상기 손실함수 레이어는 상기 출력 벡터와 각각의 학습 데이터에 대한 정답 벡터를 비교하는 손실함수를 이용하여 손실 값을 출력하고, 상기 뉴럴 네트워크의 파라미터는 상기 손실 값이 작아지는 방향으로 학습되고, 상기 패턴 생성 모델이 생성되는,
서버.
According to claim 6,
The neural network includes an input layer, one or more hidden layers and an output layer;
Each learning data consisting of a plurality of original data, data with a plurality of watermarks inserted, and correct answer pattern information is input to the input layer of the neural network, passes through the one or more hidden layers and output layers, and is output as 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 the correct answer vector for each learning data, and outputs a loss value, Parameters of the network are learned in a direction in which the loss value becomes smaller, and the pattern generation model is generated.
server.
하드웨어와 결합되어 제1항의 방법을 실행시키기 위하여 컴퓨터 판독 가능한 기록매체에 저장된 컴퓨터 프로그램.
A computer program stored in a computer readable recording medium in order to execute the method of claim 1 in combination with hardware.
하드웨어와 결합되어 제1항의 방법을 실행시키기는 컴퓨터 프로그램이 저장된 컴퓨터 판독 가능한 기록매체.A computer readable recording medium storing a computer program combined with hardware to execute the method of claim 1.
KR1020220075104A 2022-06-16 2022-06-20 Method and apparatus for providing watermarked data using a neural network KR102473506B1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
KR1020220162589A KR20220166242A (en) 2022-06-16 2022-11-29 Method and apparatus for providing watermarked data using a neural network
KR1020220162594A KR102681057B1 (en) 2022-06-16 2022-11-29 Method and apparatus for inserting micro watermark using a neural network
PCT/KR2023/006835 WO2023243885A1 (en) 2022-06-16 2023-05-19 Method and apparatus for providing watermarked data by using neural network

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR20220073716 2022-06-16
KR1020220073716 2022-06-16
KR1020220074379 2022-06-17
KR20220074379 2022-06-17

Related Child Applications (2)

Application Number Title Priority Date Filing Date
KR1020220162589A Division KR20220166242A (en) 2022-06-16 2022-11-29 Method and apparatus for providing watermarked data using a neural network
KR1020220162594A Division KR102681057B1 (en) 2022-06-16 2022-11-29 Method and apparatus for inserting micro watermark using a neural network

Publications (1)

Publication Number Publication Date
KR102473506B1 true KR102473506B1 (en) 2022-12-05

Family

ID=84392154

Family Applications (2)

Application Number Title Priority Date Filing Date
KR1020220075104A KR102473506B1 (en) 2022-06-16 2022-06-20 Method and apparatus for providing watermarked data using a neural network
KR1020220162589A KR20220166242A (en) 2022-06-16 2022-11-29 Method and apparatus for providing watermarked data using a neural network

Family Applications After (1)

Application Number Title Priority Date Filing Date
KR1020220162589A KR20220166242A (en) 2022-06-16 2022-11-29 Method and apparatus for providing watermarked data using a neural network

Country Status (2)

Country Link
KR (2) KR102473506B1 (en)
WO (1) WO2023243885A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023243885A1 (en) * 2022-06-16 2023-12-21 김태진 Method and apparatus for providing watermarked data by using neural network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050065254A (en) * 2004-06-24 2005-06-29 이덕남 Method for providing certification service to electronic mail
KR20130120046A (en) * 2012-04-25 2013-11-04 양진수 System for transfering transformed text message and method thereof
KR20140059975A (en) * 2012-11-09 2014-05-19 주식회사 디투믹스 Internet certificates issuing system and method thereof
KR20180105210A (en) * 2016-01-25 2018-09-27 알리바바 그룹 홀딩 리미티드 Image processing method and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102473506B1 (en) * 2022-06-16 2022-12-05 김태진 Method and apparatus for providing watermarked data using a neural network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050065254A (en) * 2004-06-24 2005-06-29 이덕남 Method for providing certification service to electronic mail
KR20130120046A (en) * 2012-04-25 2013-11-04 양진수 System for transfering transformed text message and method thereof
KR20140059975A (en) * 2012-11-09 2014-05-19 주식회사 디투믹스 Internet certificates issuing system and method thereof
KR20180105210A (en) * 2016-01-25 2018-09-27 알리바바 그룹 홀딩 리미티드 Image processing method and apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023243885A1 (en) * 2022-06-16 2023-12-21 김태진 Method and apparatus for providing watermarked data by using neural network

Also Published As

Publication number Publication date
WO2023243885A1 (en) 2023-12-21
KR20220166242A (en) 2022-12-16
KR20220166243A (en) 2022-12-16

Similar Documents

Publication Publication Date Title
CN111091132B (en) Image recognition method and device based on artificial intelligence, computer equipment and medium
CN108595634B (en) Short message management method and device and electronic equipment
KR102360727B1 (en) Method and apparatus for garmet suggestion using neural networks
KR102582594B1 (en) Method and apparatus for garmet suggestion using neural networks
KR102480969B1 (en) Method and apparatus for supplying power according to a result of detecting a hidden camera based on a value set using a neural network
KR20190026560A (en) Image display apparatus and operating method thereof
KR102473506B1 (en) Method and apparatus for providing watermarked data using a neural network
KR102576380B1 (en) Method and system for managing products marked with a date overlaapied on a rectangular micro quick response code using neural networks
KR102476292B1 (en) System for processing pedal box photographing image data of a vehicle using artificial intelligence
KR102550862B1 (en) Method and apparatus for matching freelancers related to video production using a neural network
KR102681057B1 (en) Method and apparatus for inserting micro watermark using a neural network
KR102433654B1 (en) Method and apparatus for providing information related to a psychological state based on a color image to a terminal by a server using neural network
KR102422153B1 (en) Method and apparatus for suggestion of consultation guide information using neural networks
KR102439212B1 (en) System for providing online rental integrated service
KR102454774B1 (en) Apparatus and method for virtualization of apparatus
KR102479534B1 (en) Apparatus and method for providing user-customized one-stop printing service based on neural network
KR102513048B1 (en) Method and apparatus for transmitting diagnostic information to a mentor terminal based on report information related to a support project and progress information related to the support project using a neural network
KR102486525B1 (en) Method and apparatus for minting non fungible token
KR102468193B1 (en) Method and apparatus for monitoring ip-cam
KR102585090B1 (en) Method and apparatus for providing a game linked with webtoon to a user terminal using neural networks
KR102596451B1 (en) Method and apparatus for matching a counselor terminal and a client terminal using a neural network
KR102564511B1 (en) Apparatus and method for providing menu board interface based on user customization
KR20220139255A (en) Apparatus and method for virtualization of apparatus
KR102456402B1 (en) Method and apparatus for supporting design co-work using neural networks
KR102602594B1 (en) Method and device for tracking a position of an avatar based on semantic information of space in a metaverse

Legal Events

Date Code Title Description
AMND Amendment
AMND Amendment
E601 Decision to refuse application
X091 Application refused [patent]
AMND Amendment
X701 Decision to grant (after re-examination)
A107 Divisional application of patent
GRNT Written decision to grant