KR102485811B1 - Method, system, and non-transitory computer readable record medium for filtering image using keyword extracted form image - Google Patents

Method, system, and non-transitory computer readable record medium for filtering image using keyword extracted form image Download PDF

Info

Publication number
KR102485811B1
KR102485811B1 KR1020220068840A KR20220068840A KR102485811B1 KR 102485811 B1 KR102485811 B1 KR 102485811B1 KR 1020220068840 A KR1020220068840 A KR 1020220068840A KR 20220068840 A KR20220068840 A KR 20220068840A KR 102485811 B1 KR102485811 B1 KR 102485811B1
Authority
KR
South Korea
Prior art keywords
image
processor
server
chat room
electronic device
Prior art date
Application number
KR1020220068840A
Other languages
Korean (ko)
Other versions
KR20220084246A (en
Inventor
안종윤
김동현
윤혜영
장혁재
Original Assignee
라인플러스 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from KR1020200070824A external-priority patent/KR102407665B1/en
Application filed by 라인플러스 주식회사 filed Critical 라인플러스 주식회사
Priority to KR1020220068840A priority Critical patent/KR102485811B1/en
Publication of KR20220084246A publication Critical patent/KR20220084246A/en
Application granted granted Critical
Publication of KR102485811B1 publication Critical patent/KR102485811B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/212Monitoring or handling of messages using filtering or selective blocking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/45Clustering; Classification
    • G06Q50/30
    • 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/50Business processes related to the communications industry
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Tourism & Hospitality (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Operations Research (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

메신저의 대화방을 통해 상기 대화방에 포함된 사용자의 전자 기기로부터 전송된 이미지를 수신하고, 모델링된 학습 모델을 이용하여 상기 이미지를 분석하고, 상기 이미지의 분석 결과를 기초로 상기 이미지를 분류하고, 상기 이미지의 분류 결과를 기초로 상기 대화방에 대해 상기 이미지를 필터링하는 방법을 제공한다.Receiving an image transmitted from a user's electronic device included in the chat room through a chat room of a messenger, analyzing the image using a modeled learning model, classifying the image based on the analysis result of the image, A method of filtering the image for the chat room based on the classification result of the image is provided.

Description

이미지에서 추출된 키워드를 이용하여 이미지를 필터링하기 위한 방법과 시스템 및 비-일시적인 컴퓨터 판독 가능한 기록 매체{METHOD, SYSTEM, AND NON-TRANSITORY COMPUTER READABLE RECORD MEDIUM FOR FILTERING IMAGE USING KEYWORD EXTRACTED FORM IMAGE}Method and system for filtering an image using a keyword extracted from the image, and a non-transitory computer readable recording medium

아래의 설명은 이미지를 필터링하는 기술에 관한 것이다.The description below relates to techniques for filtering images.

일반적인 커뮤니케이션 도구인 인스턴트 메신저(instant messenger)는 실시간으로 메시지나 데이터를 송수신할 수 있는 소프트웨어로서, 사용자가 메신저 상에 대화 상대를 등록하고 대화 상대 목록에 있는 상대방과 실시간으로 메시지를 주고 받을 수 있다.An instant messenger, which is a general communication tool, is software capable of transmitting and receiving messages or data in real time, and allows a user to register a contact on the messenger and send and receive messages with the other person in the contact list in real time.

이러한 메신저 기능은 PC 뿐만 아니라 이동 통신 단말의 모바일 환경에서도 메신저의 사용이 보편화되고 있다.As for the messenger function, the use of the messenger is becoming common not only in a PC but also in a mobile environment of a mobile communication terminal.

예컨대, 한국공개특허 제10-2002-0074304호(공개일 2002년 09월 30일)에는 휴대 단말기에 설치된 모바일 메신저 간에 메신저 서비스를 제공할 수 있도록 한 무선 통신망을 이용한 휴대 단말기의 모바일 메신저 서비스 시스템 및 방법이 개시되어 있다.For example, Korean Patent Publication No. 10-2002-0074304 (published on September 30, 2002) discloses a mobile messenger service system for a mobile terminal using a wireless communication network that enables a messenger service to be provided between mobile messengers installed in the mobile terminal, and A method is disclosed.

일반적으로 메신저는 대화방을 통해 사용자 간에 사진, 동영상, 파일, 연락처, 위치, 일정 등 다양한 정보를 공유하는 기능과, 대화 메시지나 공유 정보를 검색하는 기능 등을 지원한다.In general, a messenger supports a function of sharing various information such as photos, videos, files, contacts, locations, and schedules among users through a chat room, and a function of searching for chat messages or shared information.

대화방을 통해 공유하고자 하는 이미지에서 추출된 키워드를 이용하여 이미지를 필터링할 수 있다.Images can be filtered using keywords extracted from images to be shared through the chat room.

서버에서 실행되는 이미지 필터링 방법에 있어서, 상기 서버는 메모리에 포함된 컴퓨터 판독가능한 명령들을 실행하도록 구성된 적어도 하나의 프로세서를 포함하고, 상기 이미지 필터링 방법은, 상기 적어도 하나의 프로세서에 의해, 메신저의 대화방을 통해 상기 대화방에 포함된 사용자의 전자 기기로부터 전송된 이미지를 수신하는 단계; 상기 적어도 하나의 프로세서에 의해, 모델링된 학습 모델을 이용하여 상기 이미지를 분석하는 단계; 상기 적어도 하나의 프로세서에 의해, 상기 이미지의 분석 결과를 기초로 상기 이미지를 분류하는 단계; 및 상기 적어도 하나의 프로세서에 의해, 상기 이미지의 분류 결과를 기초로 상기 대화방에 대해 상기 이미지를 필터링하는 단계를 포함하는 이미지 필터링 방법을 제공한다.An image filtering method executed in a server, wherein the server includes at least one processor configured to execute computer readable instructions included in a memory, and the image filtering method is performed by the at least one processor in a chat room of a messenger. Receiving an image transmitted from a user's electronic device included in the chat room through the; analyzing, by the at least one processor, the image using a modeled learning model; Classifying, by the at least one processor, the image based on an analysis result of the image; and filtering, by the at least one processor, the image for the chat room based on a classification result of the image.

일 측면에 따르면, 상기 분석하는 단계는, 객체 분류가 가능한 칼라와 텍스처 및 카테고리를 포함하는 속성에 기반하여 모델링된 상기 학습 모델을 통해 상기 이미지로부터 적어도 하나의 객체를 검출하는 단계를 포함할 수 있다.According to one aspect, the analyzing may include detecting at least one object from the image through the learning model modeled based on attributes including a color, texture, and category capable of object classification. .

다른 측면에 따르면, 상기 이미지를 수신하는 단계는, 상기 사용자의 전자 기기로부터 동영상을 수신하는 단계를 포함하고, 상기 분석하는 단계는, 상기 동영상으로부터 적어도 하나의 객체를 검출하는 단계를 포함할 수 있다.According to another aspect, the receiving of the image may include receiving a video from the electronic device of the user, and the analyzing may include detecting at least one object from the video. .

또 다른 측면에 따르면, 상기 분석하는 단계는, 상기 서버와 연동 가능한 데이터베이스를 이용하여 상기 이미지를 분석하는 단계를 포함할 수 있다.According to another aspect, the analyzing may include analyzing the image using a database capable of interworking with the server.

또 다른 측면에 따르면, 상기 분류하는 단계는, 상기 이미지의 분석 결과를 기초로 상기 이미지를 특정 종류로 분류하는 단계를 포함하고, 상기 필터링하는 단계는, 상기 이미지가 상기 특정 종류로 분류된 경우, 상기 이미지를 필터링하는 단계를 포함할 수 있다.According to another aspect, the classifying may include classifying the image into a specific type based on a result of analyzing the image, and the filtering may include, when the image is classified into the specific type, Filtering the image may be included.

또 다른 측면에 따르면, 상기 필터링하는 단계는, 상기 이미지의 분류 결과를 기초로 상기 대화방에서 상기 이미지의 노출을 제한하는 단계를 포함할 수 있다.According to another aspect, the filtering may include limiting exposure of the image in the chat room based on a result of classifying the image.

또 다른 측면에 따르면, 상기 필터링하는 단계는, 상기 이미지의 분석 결과를 기초로 상기 이미지에 대한 정보를 포함하는 메시지를 상기 대화방을 통해 상기 대화방에 포함된 다른 사용자의 전자기기로 전송하는 단계를 포함할 수 있다.According to another aspect, the filtering may include transmitting a message including information about the image to an electronic device of another user included in the chat room through the chat room based on a result of analyzing the image. can do.

상기 이미지 필터링 방법을 상기 컴퓨터 시스템에 실행시키기 위해 컴퓨터 판독가능한 기록 매체에 저장되는 컴퓨터 프로그램을 제공한다.It provides a computer program stored in a computer readable recording medium to execute the image filtering method on the computer system.

컴퓨터로 구현되는 서버에 있어서, 메모리에 포함된 컴퓨터 판독 가능한 명령을 실행하도록 구현되는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 메신저의 대화방을 통해 상기 대화방에 포함된 사용자의 전자 기기로부터 전송된 이미지를 수신하는 과정; 모델링된 학습 모델을 이용하여 상기 이미지를 분석하는 과정; 상기 이미지의 분석 결과를 기초로 상기 이미지를 분류하는 과정; 및 상기 이미지의 분류 결과를 기초로 상기 대화방에 대해 상기 이미지를 필터링하는 과정을 처리하는 서버를 제공한다.A computer-implemented server comprising at least one processor implemented to execute computer-readable instructions contained in a memory, wherein the at least one processor is a user's electronic device included in the chat room through a chat room of a messenger. receiving an image transmitted from; analyzing the image using a modeled learning model; classifying the image based on an analysis result of the image; and a server processing a process of filtering the image for the chat room based on a result of classifying the image.

도 1은 본 발명의 일실시예에 따른 네트워크 환경의 예를 도시한 도면이다.
도 2는 본 발명의 일실시예에 있어서 전자 기기 및 서버의 내부 구성을 설명하기 위한 블록도이다.
도 3은 본 발명의 일실시예에 있어서 메신저에서의 이미지 전송을 위한 기본적인 기술 시나리오의 예를 도시한 것이다.
도 4은 본 발명의 일실시예에 따른 서버의 프로세서가 포함할 수 있는 구성요소의 예를 도시한 블록도이다.
도 5는 본 발명의 일실시예에 따른 서버가 수행할 수 있는 방법의 예를 도시한 흐름도이다.
도 6는 본 발명의 일실시예에 따른 전자 기기의 프로세서가 포함할 수 있는 구성요소의 예를 도시한 블록도이다.
도 7은 본 발명의 일실시예에 따른 전자 기기가 수행할 수 있는 방법의 예를 도시한 흐름도이다.
도 8 내지 도 10은 본 발명의 일실시예에 있어서 이미지 필터링 과정을 도시한 흐름도이다.
도 11 내지 도 12는 본 발명의 일실시예에 있어서 이미지 노출을 제한하는 대화방 화면의 예시를 도시한 것이다.
1 is a diagram illustrating an example of a network environment according to an embodiment of the present invention.
Figure 2 is a block diagram for explaining the internal configuration of the electronic device and the server in one embodiment of the present invention.
3 illustrates an example of a basic technical scenario for image transmission in a messenger according to an embodiment of the present invention.
4 is a block diagram illustrating an example of components that may be included in a processor of a server according to an embodiment of the present invention.
5 is a flowchart illustrating an example of a method performed by a server according to an embodiment of the present invention.
6 is a block diagram illustrating an example of components that may be included in a processor of an electronic device according to an embodiment of the present invention.
7 is a flowchart illustrating an example of a method performed by an electronic device according to an embodiment of the present invention.
8 to 10 are flowcharts illustrating an image filtering process according to an embodiment of the present invention.
11 and 12 illustrate examples of chat room screens for limiting image exposure according to an embodiment of the present invention.

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

본 발명의 실시예들은 이미지를 필터링하는 기술에 관한 것이다.Embodiments of the present invention relate to techniques for filtering images.

본 명세서에서 구체적으로 개시되는 것들을 포함하는 실시예들은 이미지에서 추출된 키워드를 이용하여 이미지를 자동 필터링할 수 있고, 이를 통해 이미지 규제, 이미지 관리, 편의성, 효율성, 비용 절감 등의 측면에 있어서 상당한 장점들을 달성할 수 있다.Embodiments including those specifically disclosed in this specification can automatically filter images using keywords extracted from images, and through this, significant advantages in terms of image regulation, image management, convenience, efficiency, cost reduction, etc. can achieve them.

도 1은 본 발명의 일실시예에 따른 네트워크 환경의 예를 도시한 도면이다. 도 1의 네트워크 환경은 복수의 전자 기기들(110, 120, 130, 140), 복수의 서버들(150, 160) 및 네트워크(170)를 포함하는 예를 나타내고 있다. 이러한 도 1은 발명의 설명을 위한 일례로 전자 기기의 수나 서버의 수가 도 1과 같이 한정되는 것은 아니다.1 is a diagram illustrating an example of a network environment according to an embodiment of the present invention. The network environment of FIG. 1 shows an example including a plurality of electronic devices 110 , 120 , 130 , and 140 , a plurality of servers 150 and 160 , and a network 170 . 1 is an example for explanation of the invention, and the number of electronic devices or servers is not limited as shown in FIG. 1 .

복수의 전자 기기들(110, 120, 130, 140)은 컴퓨터 시스템으로 구현되는 고정형 단말이거나 이동형 단말일 수 있다. 복수의 전자 기기들(110, 120, 130, 140)의 예를 들면, 스마트폰(smart phone), 휴대폰, 내비게이션, 컴퓨터, 노트북, 디지털방송용 단말, PDA(Personal Digital Assistants), PMP(Portable Multimedia Player), 태블릿 PC, 게임 콘솔(game console), 웨어러블 디바이스(wearable device), IoT(internet of things) 디바이스, VR(virtual reality) 디바이스, AR(augmented reality) 디바이스 등이 있다. 일례로 도 1에서는 전자 기기(110)의 예로 스마트폰의 형상을 나타내고 있으나, 본 발명의 실시예들에서 전자 기기(110)는 실질적으로 무선 또는 유선 통신 방식을 이용하여 네트워크(170)를 통해 다른 전자 기기들(120, 130, 140) 및/또는 서버(150, 160)와 통신할 수 있는 다양한 물리적인 컴퓨터 시스템들 중 하나를 의미할 수 있다.The plurality of electronic devices 110, 120, 130, and 140 may be fixed terminals implemented as computer systems or mobile terminals. Examples of the plurality of electronic devices 110, 120, 130, and 140 include a smart phone, a mobile phone, a navigation device, a computer, a laptop computer, a digital broadcast terminal, a personal digital assistant (PDA), and a portable multimedia player (PMP). ), tablet PC, game console, wearable device, internet of things (IoT) device, virtual reality (VR) device, augmented reality (AR) device, and the like. As an example, FIG. 1 shows the shape of a smartphone as an example of the electronic device 110, but in the embodiments of the present invention, the electronic device 110 substantially uses a wireless or wired communication method to transmit other information via the network 170. It may refer to one of various physical computer systems capable of communicating with the electronic devices 120 , 130 , and 140 and/or the servers 150 and 160 .

통신 방식은 제한되지 않으며, 네트워크(170)가 포함할 수 있는 통신망(일례로, 이동통신망, 유선 인터넷, 무선 인터넷, 방송망, 위성망 등)을 활용하는 통신 방식뿐만 아니라 기기들간의 근거리 무선 통신 역시 포함될 수 있다. 예를 들어, 네트워크(170)는, PAN(personal area network), LAN(local area network), CAN(campus area network), MAN(metropolitan area network), WAN(wide area network), BBN(broadband network), 인터넷 등의 네트워크 중 하나 이상의 임의의 네트워크를 포함할 수 있다. 또한, 네트워크(170)는 버스 네트워크, 스타 네트워크, 링 네트워크, 메쉬 네트워크, 스타-버스 네트워크, 트리 또는 계층적(hierarchical) 네트워크 등을 포함하는 네트워크 토폴로지 중 임의의 하나 이상을 포함할 수 있으나, 이에 제한되지 않는다.The communication method is not limited, and includes not only a communication method utilizing a communication network (eg, mobile communication network, wired Internet, wireless Internet, broadcasting network, satellite network, etc.) that the network 170 may include, but also short-range wireless communication between devices. can For example, the network 170 may include a personal area network (PAN), a local area network (LAN), a campus area network (CAN), a metropolitan area network (MAN), a wide area network (WAN), and a broadband network (BBN). , one or more arbitrary networks such as the Internet. In addition, the network 170 may include any one or more of network topologies including a bus network, a star network, a ring network, a mesh network, a star-bus network, a tree or a hierarchical network, and the like. Not limited.

서버(150, 160) 각각은 복수의 전자 기기들(110, 120, 130, 140)과 네트워크(170)를 통해 통신하여 명령, 코드, 파일, 컨텐츠, 서비스 등을 제공하는 컴퓨터 장치 또는 복수의 컴퓨터 장치들로 구현될 수 있다. 예를 들어, 서버(150)는 네트워크(170)를 통해 접속한 복수의 전자 기기들(110, 120, 130, 140)로 제1 서비스를 제공하는 시스템일 수 있으며, 서버(160) 역시 네트워크(170)를 통해 접속한 복수의 전자 기기들(110, 120, 130, 140)로 제2 서비스를 제공하는 시스템일 수 있다. 보다 구체적인 예로, 서버(150)는 복수의 전자 기기들(110, 120, 130, 140)에 설치되어 구동되는 컴퓨터 프로그램으로서의 어플리케이션을 통해, 해당 어플리케이션이 목적하는 서비스(일례로, 메신저 서비스 등)를 제1 서비스로서 복수의 전자 기기들(110, 120, 130, 140)로 제공할 수 있다. 다른 예로, 서버(160)는 상술한 어플리케이션의 설치 및 구동을 위한 파일을 복수의 전자 기기들(110, 120, 130, 140)로 배포하는 서비스를 제2 서비스로서 제공할 수 있다.Each of the servers 150 and 160 communicates with the plurality of electronic devices 110, 120, 130, and 140 through the network 170 to provide commands, codes, files, contents, services, and the like, or a computer device or a plurality of computers. Can be implemented in devices. For example, the server 150 may be a system that provides a first service to a plurality of electronic devices 110, 120, 130, and 140 accessed through the network 170, and the server 160 may also include a network ( It may be a system that provides a second service to a plurality of electronic devices 110, 120, 130, and 140 accessed through 170). As a more specific example, the server 150 provides a service (for example, a messenger service, etc.) for which the application is intended through an application as a computer program that is installed and driven in the plurality of electronic devices 110, 120, 130, and 140. As the first service, it may be provided to a plurality of electronic devices 110, 120, 130, and 140. As another example, the server 160 may provide a service for distributing files for installing and running the above-described application to the plurality of electronic devices 110, 120, 130, and 140 as a second service.

도 2는 본 발명의 일실시예에 있어서 전자 기기 및 서버의 내부 구성을 설명하기 위한 블록도이다. 도 2에서는 전자 기기에 대한 예로서 전자 기기(110), 그리고 서버(150)의 내부 구성을 설명한다. 또한, 다른 전자 기기들(120, 130, 140)이나 서버(160) 역시 상술한 전자 기기(110) 또는 서버(150)와 동일한 또는 유사한 내부 구성을 가질 수 있다.Figure 2 is a block diagram for explaining the internal configuration of the electronic device and the server in one embodiment of the present invention. In FIG. 2 , internal configurations of the electronic device 110 and the server 150 will be described as examples of electronic devices. In addition, the other electronic devices 120 , 130 , and 140 or the server 160 may also have the same or similar internal structure as the above-described electronic device 110 or server 150 .

전자 기기(110)와 서버(150)는 메모리(211, 221), 프로세서(212, 222), 통신 모듈(213, 223) 그리고 입출력 인터페이스(214, 224)를 포함할 수 있다. 메모리(211, 221)는 비-일시적인 컴퓨터 판독가능한 기록매체로서, RAM(random access memory), ROM(read only memory), 디스크 드라이브, SSD(solid state drive), 플래시 메모리(flash memory) 등과 같은 비소멸성 대용량 저장 장치(permanent mass storage device)를 포함할 수 있다. 여기서 ROM, SSD, 플래시 메모리, 디스크 드라이브 등과 같은 비소멸성 대용량 저장 장치는 메모리(211, 221)와는 구분되는 별도의 영구 저장 장치로서 전자 기기(110)나 서버(150)에 포함될 수도 있다. 또한, 메모리(211, 221)에는 운영체제와 적어도 하나의 프로그램 코드(일례로 전자 기기(110)에 설치되어 구동되는 브라우저나 특정 서비스의 제공을 위해 전자 기기(110)에 설치된 어플리케이션 등을 위한 코드)가 저장될 수 있다. 이러한 소프트웨어 구성요소들은 메모리(211, 221)와는 별도의 컴퓨터에서 판독가능한 기록매체로부터 로딩될 수 있다. 이러한 별도의 컴퓨터에서 판독가능한 기록매체는 플로피 드라이브, 디스크, 테이프, DVD/CD-ROM 드라이브, 메모리 카드 등의 컴퓨터에서 판독가능한 기록매체를 포함할 수 있다. 다른 실시예에서 소프트웨어 구성요소들은 컴퓨터에서 판독가능한 기록매체가 아닌 통신 모듈(213, 223)을 통해 메모리(211, 221)에 로딩될 수도 있다. 예를 들어, 적어도 하나의 프로그램은 개발자들 또는 어플리케이션의 설치 파일을 배포하는 파일 배포 시스템(일례로, 상술한 서버(160))이 네트워크(170)를 통해 제공하는 파일들에 의해 설치되는 컴퓨터 프로그램(일례로 상술한 어플리케이션)에 기반하여 메모리(211, 221)에 로딩될 수 있다.The electronic device 110 and the server 150 may include memories 211 and 221, processors 212 and 222, communication modules 213 and 223, and input/output interfaces 214 and 224. The memories 211 and 221 are non-transitory computer readable recording media, such as RAM (random access memory), ROM (read only memory), disk drive, SSD (solid state drive), flash memory, and the like. It may include a permanent mass storage device. Here, a non-perishable mass storage device such as a ROM, SSD, flash memory, or disk drive may be included in the electronic device 110 or the server 150 as a separate permanent storage device from the memories 211 and 221. In addition, the memories 211 and 221 include an operating system and at least one program code (for example, a browser installed and driven in the electronic device 110 or a code for an application installed in the electronic device 110 to provide a specific service). can be stored. These software components may be loaded from a computer-readable recording medium separate from the memories 211 and 221 . The separate computer-readable recording medium may include a computer-readable recording medium such as a floppy drive, a disk, a tape, a DVD/CD-ROM drive, and a memory card. In another embodiment, software components may be loaded into the memories 211 and 221 through the communication modules 213 and 223 rather than computer-readable recording media. For example, at least one program is a computer program installed by files provided by developers or a file distribution system (for example, the above-described server 160) that distributes installation files of applications through the network 170. It may be loaded into the memories 211 and 221 based on (for example, the above-described application).

프로세서(212, 222)는 기본적인 산술, 로직 및 입출력 연산을 수행함으로써, 컴퓨터 프로그램의 명령을 처리하도록 구성될 수 있다. 명령은 메모리(211, 221) 또는 통신 모듈(213, 223)에 의해 프로세서(212, 222)로 제공될 수 있다. 예를 들어 프로세서(212, 222)는 메모리(211, 221)와 같은 기록 장치에 저장된 프로그램 코드에 따라 수신되는 명령을 실행하도록 구성될 수 있다.The processors 212 and 222 may be configured to process commands of a computer program by performing basic arithmetic, logic, and input/output operations. Instructions may be provided to processors 212 and 222 by memories 211 and 221 or communication modules 213 and 223 . For example, the processors 212 and 222 may be configured to execute instructions received according to program codes stored in a recording device such as the memories 211 and 221 .

통신 모듈(213, 223)은 네트워크(170)를 통해 전자 기기(110)와 서버(150)가 서로 통신하기 위한 기능을 제공할 수 있으며, 전자 기기(110) 및/또는 서버(150)가 다른 전자 기기(일례로 전자 기기(120)) 또는 다른 서버(일례로 서버(160))와 통신하기 위한 기능을 제공할 수 있다. 일례로, 전자 기기(110)의 프로세서(212)가 메모리(211)와 같은 기록 장치에 저장된 프로그램 코드에 따라 생성한 요청이 통신 모듈(213)의 제어에 따라 네트워크(170)를 통해 서버(150)로 전달될 수 있다. 역으로, 서버(150)의 프로세서(222)의 제어에 따라 제공되는 제어 신호나 명령, 컨텐츠, 파일 등이 통신 모듈(223)과 네트워크(170)를 거쳐 전자 기기(110)의 통신 모듈(213)을 통해 전자 기기(110)로 수신될 수 있다. 예를 들어 통신 모듈(213)을 통해 수신된 서버(150)의 제어 신호나 명령, 컨텐츠, 파일 등은 프로세서(212)나 메모리(211)로 전달될 수 있고, 컨텐츠나 파일 등은 전자 기기(110)가 더 포함할 수 있는 저장 매체(상술한 영구 저장 장치)로 저장될 수 있다.The communication modules 213 and 223 may provide a function for the electronic device 110 and the server 150 to communicate with each other through the network 170, and the electronic device 110 and/or the server 150 may communicate with each other. A function for communicating with an electronic device (eg, the electronic device 120) or another server (eg, the server 160) may be provided. For example, a request generated according to a program code stored in a recording device such as the memory 211 by the processor 212 of the electronic device 110 is sent to the server 150 through the network 170 under the control of the communication module 213. ) can be transmitted. Conversely, control signals, commands, contents, files, etc. provided under the control of the processor 222 of the server 150 pass through the communication module 223 and the network 170 to the communication module 213 of the electronic device 110. ) through which it can be received by the electronic device 110 . For example, control signals, commands, contents, files, etc. of the server 150 received through the communication module 213 may be transmitted to the processor 212 or the memory 211, and the contents or files may be transferred to the electronic device ( 110) may be stored in a storage medium (the permanent storage device described above) that may be further included.

입출력 인터페이스(214)는 입출력 장치(215)와의 인터페이스를 위한 수단일 수 있다. 예를 들어, 입력 장치는 키보드, 마우스, 마이크로폰, 카메라 등의 장치를, 그리고 출력 장치는 디스플레이, 스피커, 햅틱 피드백 디바이스(haptic feedback device) 등과 같은 장치를 포함할 수 있다. 다른 예로 입출력 인터페이스(214)는 터치스크린과 같이 입력과 출력을 위한 기능이 하나로 통합된 장치와의 인터페이스를 위한 수단일 수도 있다. 입출력 장치(215)는 전자 기기(110)와 하나의 장치로 구성될 수도 있다. 또한, 서버(150)의 입출력 인터페이스(224)는 서버(150)와 연결되거나 서버(150)가 포함할 수 있는 입력 또는 출력을 위한 장치(미도시)와의 인터페이스를 위한 수단일 수 있다. 보다 구체적인 예로, 전자 기기(110)의 프로세서(212)가 메모리(211)에 로딩된 컴퓨터 프로그램의 명령을 처리함에 있어서 서버(150)나 전자 기기(120)가 제공하는 데이터를 이용하여 구성되는 서비스 화면이나 컨텐츠가 입출력 인터페이스(214)를 통해 디스플레이에 표시될 수 있다.The input/output interface 214 may be a means for interface with the input/output device 215 . For example, the input device may include devices such as a keyboard, mouse, microphone, and camera, and the output device may include devices such as a display, a speaker, and a haptic feedback device. As another example, the input/output interface 214 may be a means for interface with a device in which functions for input and output are integrated into one, such as a touch screen. The input/output device 215 and the electronic device 110 may be configured as one device. Also, the input/output interface 224 of the server 150 may be connected to the server 150 or may be a means for interface with a device (not shown) for input or output that may be included in the server 150 . As a more specific example, a service configured using data provided by the server 150 or the electronic device 120 when the processor 212 of the electronic device 110 processes a command of a computer program loaded into the memory 211. A screen or content may be displayed on the display through the input/output interface 214 .

또한, 다른 실시예들에서 전자 기기(110) 및 서버(150)는 도 2의 구성요소들보다 더 많은 구성요소들을 포함할 수도 있다. 그러나, 대부분의 종래기술적 구성요소들을 명확하게 도시할 필요성은 없다. 예를 들어, 전자 기기(110)는 상술한 입출력 장치(215) 중 적어도 일부를 포함하도록 구현되거나 또는 트랜시버(transceiver), GPS(Global Positioning System) 모듈, 카메라, 각종 센서, 데이터베이스 등과 같은 다른 구성요소들을 더 포함할 수도 있다. 보다 구체적인 예로, 전자 기기(110)가 스마트폰인 경우, 일반적으로 스마트폰이 포함하고 있는 가속도 센서나 자이로 센서, 카메라 모듈, 각종 물리적인 버튼, 터치패널을 이용한 버튼, 입출력 포트, 진동을 위한 진동기 등의 다양한 구성요소들이 전자 기기(110)에 더 포함되도록 구현될 수 있다.Also, in other embodiments, the electronic device 110 and the server 150 may include more components than those shown in FIG. 2 . However, there is no need to clearly show most of the prior art components. For example, the electronic device 110 is implemented to include at least some of the aforementioned input/output devices 215 or other components such as a transceiver, a global positioning system (GPS) module, a camera, various sensors, and a database. may further include. As a more specific example, when the electronic device 110 is a smartphone, an acceleration sensor or gyro sensor, a camera module, various physical buttons, a button using a touch panel, an input/output port, and a vibrator for vibration, which are generally included in the smartphone. Various components such as may be implemented to be further included in the electronic device 110.

도 3은 본 발명의 일실시예에 있어서 메신저에서의 이미지 전송을 위한 기본적인 기술 시나리오의 예를 도시한 것이다.3 illustrates an example of a basic technical scenario for image transmission in a messenger according to an embodiment of the present invention.

도 3은 메신저를 통해 사용자 간에 이미지를 주고 받는 과정의 예를 나타내고 있다.3 illustrates an example of a process of exchanging images between users through a messenger.

1. 전자 기기(110)의 사용자(사용자 A)는 전자 기기(110) 상에 설치된 메신저를 실행한 후 전자 기기(120)의 사용자(사용자 B)와의 대화방 내에서 사용자 B와 공유하고자 하는 이미지를 선택한다. 대화방은 사용자 A의 계정과 사용자 B의 계정 간에 설정된 통신 세션과 대응되는 메신저 대화 화면이다.1. The user (user A) of the electronic device 110 executes the messenger installed on the electronic device 110, and then sends an image to be shared with user B in a chat room with the user (user B) of the electronic device 120. choose The chat room is a messenger conversation screen corresponding to a communication session established between user A's account and user B's account.

2. 전자 기기(110)는 메신저의 파일 전송 요청에 따라 사용자 A가 선택한 이미지를 서버(150)로 전송한다.2. The electronic device 110 transmits the image selected by user A to the server 150 according to the messenger's file transmission request.

3. 서버(150)는 전자 기기(110)로부터 사용자 B에게 전송할 이미지를 수신하여 파일 DB(예컨대, 메모리(221))에 저장한다.3. The server 150 receives an image to be transmitted to user B from the electronic device 110 and stores it in a file DB (eg, memory 221).

4. 전자 기기(120)는 메신저 상의 사용자 A와의 대화방을 통해 사용자 B의 요청에 따라 서버(150)로부터 사용자 A가 보낸 이미지를 다운로드 받는다.4. The electronic device 120 downloads the image sent by user A from the server 150 at the request of user B through a chat room with user A on the messenger.

5. 서버(150)는 사용자 A가 사용자 B에게 보낸 이미지를 보관하고 있다가 사용자 B가 다운로드 받으면 일정 시간 후에 해당 이미지를 파일 DB 상에서 삭제한다.5. The server 150 stores the image sent by user A to user B, and deletes the image from the file DB after a certain period of time when user B downloads it.

서버(150)는 사용자 A가 보낸 이미지 파일을 사용자 B에게 바로 전송하는 것이 아니라, 이미지에 대한 대화 메시지로서 해당 이미지의 썸네일(thumbnail)을 포함하는 이미지 타입 메시지를 우선 전달하고, 사용자 B의 요청이 있을 때 해당 이미지 파일을 전자 기기(120)로 다운로드 할 수 있다.The server 150 does not immediately transmit the image file sent by user A to user B, but first transmits an image type message including a thumbnail of the image as a conversation message about the image, and when user B's request is When there is, the corresponding image file can be downloaded to the electronic device 120 .

이하에서는 이미지를 필터링하는 방법 및 시스템의 구체적인 실시예를 설명하기로 한다.Hereinafter, specific embodiments of a method and system for filtering an image will be described.

본 명세서에서 이미지는 사진과 같은 정지 영상은 물론이고 동영상 등 이미지 기반의 모든 컨텐츠를 포괄하여 의미할 수 있다.In this specification, an image may include all image-based content such as a moving picture as well as a still image such as a photograph.

도 4은 본 발명의 일실시예에 따른 서버의 프로세서가 포함할 수 있는 구성요소의 예를 도시한 블록도이고, 도 5는 본 발명의 일실시예에 따른 서버가 수행할 수 있는 방법의 예를 도시한 흐름도이다.4 is a block diagram illustrating an example of components that may be included in a processor of a server according to an embodiment of the present invention, and FIG. 5 is an example of a method that the server may perform according to an embodiment of the present invention. It is a flow chart showing

본 실시예에 따른 서버(150)는 클라이언트(client)인 복수의 전자 기기들(110, 120, 130, 140)을 대상으로 메신저 서비스를 제공하는 플랫폼 역할을 한다. 서버(150)는 전자 기기들(110, 120, 130, 140) 상에 설치되는 어플리케이션과 연동하여 메신저 서비스를 제공할 수 있다.The server 150 according to the present embodiment serves as a platform for providing a messenger service to a plurality of electronic devices 110, 120, 130, and 140 serving as clients. The server 150 may provide a messenger service in conjunction with applications installed on the electronic devices 110, 120, 130, and 140.

서버(150)는 도 5에 따른 이미지 필터링 방법을 수행할 수 있고, 이를 위해 서버(150)의 프로세서(222)는 구성요소로서 도 4에 도시된 바와 같이, 이미지 수신부(410), 키워드 추출부(420), 및 메시지 전달부(430)를 포함할 수 있다. 실시예에 따라 프로세서(222)의 구성요소들은 선택적으로 프로세서(222)에 포함되거나 제외될 수도 있다. 또한, 실시예에 따라 프로세서(222)의 구성요소들은 프로세서(222)의 기능의 표현을 위해 분리 또는 병합될 수도 있다.The server 150 may perform the image filtering method according to FIG. 5 , and for this purpose, the processor 222 of the server 150 includes an image receiver 410 and a keyword extractor as shown in FIG. 4 as components. 420, and a message transfer unit 430. Depending on embodiments, components of the processor 222 may be selectively included in or excluded from the processor 222 . Also, components of the processor 222 may be separated or merged to express functions of the processor 222 according to embodiments.

이러한 프로세서(222) 및 프로세서(222)의 구성요소들은 도 5의 이미지 필터링 방법이 포함하는 단계들(S510 내지 S540)을 수행하도록 서버(150)를 제어할 수 있다. 예를 들어, 프로세서(222) 및 프로세서(222)의 구성요소들은 메모리(221)가 포함하는 운영체제의 코드와 적어도 하나의 프로그램의 코드에 따른 명령(instruction)을 실행하도록 구현될 수 있다.The processor 222 and components of the processor 222 may control the server 150 to perform steps S510 to S540 included in the image filtering method of FIG. 5 . For example, the processor 222 and components of the processor 222 may be implemented to execute instructions according to an operating system code and at least one program code included in the memory 221 .

여기서, 프로세서(222)의 구성요소들은 서버(150)에 저장된 프로그램 코드가 제공하는 명령에 따라 프로세서(222)에 의해 수행되는 프로세서(222)의 서로 다른 기능들(different functions)의 표현들일 수 있다. 예를 들어, 서버(150)가 대화방을 통해 공유하고자 하는 이미지를 수신하도록 상술한 명령에 따라 서버(150)를 제어하는 프로세서(222)의 기능적 표현으로서 이미지 수신부(410)가 이용될 수 있다.Here, components of the processor 222 may be representations of different functions of the processor 222 performed by the processor 222 according to instructions provided by program codes stored in the server 150. . For example, the image receiving unit 410 may be used as a functional expression of the processor 222 that controls the server 150 according to the above-described commands to receive an image to be shared by the server 150 through a chat room.

단계(S510)에서 프로세서(222)는 서버(150)의 제어와 관련된 명령이 로딩된 메모리(221)로부터 필요한 명령을 읽어들일 수 있다. 이 경우, 상기 읽어들인 명령은 프로세서(222)가 이후 설명될 단계들(S520 내지 S540)을 실행하도록 제어하기 위한 명령을 포함할 수 있다.In step S510, the processor 222 may read necessary commands from the memory 221 loaded with commands related to the control of the server 150. In this case, the read command may include a command for controlling the processor 222 to execute steps S520 to S540 to be described later.

단계(S520)에서 이미지 수신부(410)는 전자 기기(110)로부터 전자 기기(110)의 사용자가 포함된 대화방을 통해 공유하고자 하는 이미지를 수신할 수 있다. 전자 기기(110)의 사용자는 다른 사용자와 공유하고자 하는 이미지를 대화방을 통해 서버(150)에 업로드하게 된다.In step S520, the image receiving unit 410 may receive an image to be shared from the electronic device 110 through a chat room in which a user of the electronic device 110 is included. A user of the electronic device 110 uploads an image to be shared with other users to the server 150 through a chat room.

단계(S530)에서 키워드 추출부(420)는 전자 기기(110)로부터 수신된 이미지에서 이미지와 관련된 키워드를 추출할 수 있다. 일례로, 키워드 추출부(420)는 객체 검출(object detecting)을 통해 이미지에 포함된 객체를 인식하여 해당 객체의 이름을 획득함으로써 이미지와 관련된 키워드를 추출할 수 있다. 키워드 추출부(420)는 기계 학습(machine learning) 엔진(예컨대, TensorFlow 등)을 포함하는 것으로, 학습 이미지 셋으로 미리 학습된 딥 러닝(deep learning) 모델을 기반으로 한 객체 검출 알고리즘을 적용할 수 있다. 키워드 추출부(420)는 전자 기기(110)로부터 수신된 이미지가 입력으로 들어오면 딥러닝 모델 기반 객체 검출 알고리즘을 바탕으로 해당 이미지 안에 포함된 객체를 찾아 해당 객체의 특징을 추출할 수 있다. 이때, 키워드 추출부(420)는 객체 분류가 가능한 다양한 속성들(예컨대, 칼라, 텍스처, 카테고리 등)에 기반하여 모델링 된 학습 모델을 적용하여 이미지에서 검출된 객체의 특징을 추출할 수 있다. 상기한 방법 이외에도 기 공지된 기술, 예컨대 SIFT(scale invariant feature transform), SURF(speeded up robust features), HOG(histogram of oriented gradient), MCT(modified census transform) 등의 이미지 인식 알고리즘들 중에서 적어도 어느 하나의 알고리즘을 이용하여 이미지에 포함된 특징을 추출하고 추출된 특징을 서버(150) 상의 데이터베이스(일례로, 메모리(221)) 또는 서버(150)와 연동 가능한 다른 데이터베이스에 사전에 등록된 객체의 특징과의 유사도를 계산하는 방식으로 이미지에서 키워드를 추출할 수 있다. 키워드를 추출하는 것 이외에도 이미지 분석 결과를 바탕으로 음란물 여부 등 특정 종류의 컨텐츠를 분류할 수 있다.In step S530, the keyword extraction unit 420 may extract keywords related to the image from the image received from the electronic device 110. For example, the keyword extraction unit 420 may extract a keyword related to the image by recognizing an object included in an image through object detecting and obtaining a name of the corresponding object. The keyword extractor 420 includes a machine learning engine (eg, TensorFlow, etc.), and an object detection algorithm based on a pre-trained deep learning model can be applied to a set of training images. there is. When the image received from the electronic device 110 is entered as an input, the keyword extractor 420 finds an object included in the image based on a deep learning model-based object detection algorithm and extracts features of the object. In this case, the keyword extractor 420 may extract features of objects detected in the image by applying a learning model modeled based on various attributes capable of object classification (eg, color, texture, category, etc.). In addition to the above method, at least one of known techniques, for example, image recognition algorithms such as scale invariant feature transform (SIFT), speeded up robust features (SURF), histogram of oriented gradient (HOG), and modified census transform (MCT) The features included in the image are extracted using an algorithm of and the extracted features are registered in advance in a database on the server 150 (for example, the memory 221) or another database that can be linked with the server 150. Keywords can be extracted from an image by calculating the similarity with the image. In addition to extracting keywords, it is possible to classify specific types of content, such as pornography based on image analysis results.

단계(S540)에서 메시지 전달부(430)는 전자 기기(110)로부터 수신된 이미지에 대해 단계(S530)에서 추출된 키워드를 포함하는 대화 메시지를 대화방을 통해 다른 사용자의 전자 기기(120)로 전달할 수 있다. 서버(150)는 전자 기기(110)의 사용자가 대화방을 통해 이미지를 업로드하는 경우 이미지를 해당 대화방과 관련된 데이터로 저장할 수 있고, 이때 이미지에서 추출된 키워드를 함께 저장할 수 있다. 이때, 메시지 전달부(430)는 전자 기기(110)의 사용자에 의해 업로드된 이미지에 대해 해당 이미지에 대한 정보를 포함하는 대화 메시지를 상대방에게 전달할 수 있다. 다시 말해, 메시지 전달부(430)는 이미지 파일을 바로 전달하는 것이 아니라 이미지에 대한 정보를 포함하는 이미지 타입 메시지로 우선 전달할 수 있다. 특히, 메시지 전달부(430)는 이미지 타입 메시지를 전달할 때 해당 이미지에서 추출된 키워드를 함께 전달할 수 있다. 이때, 이미지 타입 메시지의 경우 이미지에서 추출된 키워드를 포함하거나, 혹은 이미지에서 추출된 키워드와 함께 해당 이미지의 썸네일을 포함할 수 있다.In step S540, the message delivery unit 430 transmits a conversation message including the keyword extracted in step S530 with respect to the image received from the electronic device 110 to the electronic device 120 of another user through the chat room. can When a user of the electronic device 110 uploads an image through a chat room, the server 150 may store the image as data related to the chat room, and may also store keywords extracted from the image. At this time, the message delivery unit 430 may deliver a chat message including information about the image uploaded by the user of the electronic device 110 to the other party. In other words, the message delivery unit 430 may first deliver an image type message including information about an image instead of directly delivering an image file. In particular, when delivering an image type message, the message delivery unit 430 may also deliver a keyword extracted from a corresponding image. In this case, in the case of an image type message, a keyword extracted from an image may be included, or a thumbnail of a corresponding image may be included together with a keyword extracted from an image.

따라서, 서버(150)는 대화방을 통해 공유하고자 하는 이미지에 대해 해당 이미지에서 키워드를 추출하여 추출된 키워드를 포함하는 대화 메시지를 해당 대화방으로 전달할 수 있다.Accordingly, the server 150 may extract a keyword from the image to be shared through the chat room and transmit a chat message including the extracted keyword to the chat room.

도 6는 본 발명의 일실시예에 따른 전자 기기의 프로세서가 포함할 수 있는 구성요소의 예를 도시한 블록도이고, 도 7은 본 발명의 일실시예에 따른 전자 기기가 수행할 수 있는 방법의 예를 도시한 흐름도이다.6 is a block diagram illustrating an example of components that may be included in a processor of an electronic device according to an embodiment of the present invention, and FIG. 7 is a method that the electronic device according to an embodiment of the present invention may perform. It is a flow chart showing an example of

본 실시예에 따른 전자 기기(110)에는 컴퓨터로 구현된 이미지 필터링 시스템이 구성될 수 있다. 일례로, 이미지 필터링 시스템은 독립적으로 동작하는 프로그램 형태로 구현되거나, 혹은 특정 어플리케이션의 인-앱(in-app) 형태로 구성되어 상기 특정 어플리케이션 상에서 동작이 가능하도록 구현될 수 있고 서버(150)와의 연동을 통해 이미지 필터링을 수행할 수 있다.An image filtering system implemented by a computer may be configured in the electronic device 110 according to the present embodiment. For example, the image filtering system may be implemented in the form of a program that operates independently, or may be configured in the form of an in-app of a specific application to enable operation on the specific application, Image filtering can be performed through linkage.

전자 기기(110)에 설치된 어플리케이션이 제공하는 명령에 기반하여 전자 기기(110)에 구현된 이미지 필터링 시스템은 이미지 필터링 방법을 수행할 수 있다. 도 7에 따른 이미지 필터링 방법을 수행하기 위해, 전자 기기(110)의 프로세서(212)는 구성요소로서 도 6에 도시된 바와 같이, 필터링 설정부(610), 메시지 수신부(620), 및 이미지 필터링부(630)를 포함할 수 있다. 실시예에 따라 프로세서(212)의 구성요소들은 선택적으로 프로세서(212)에 포함되거나 제외될 수도 있다. 또한, 실시예에 따라 프로세서(212)의 구성요소들은 프로세서(212)의 기능의 표현을 위해 분리 또는 병합될 수도 있다.An image filtering system implemented in the electronic device 110 may perform an image filtering method based on a command provided by an application installed in the electronic device 110 . To perform the image filtering method according to FIG. 7 , the processor 212 of the electronic device 110 includes a filtering setting unit 610, a message receiving unit 620, and image filtering as shown in FIG. 6 as components. A portion 630 may be included. Depending on embodiments, components of the processor 212 may be selectively included in or excluded from the processor 212 . Also, components of the processor 212 may be separated or merged to express functions of the processor 212 according to embodiments.

이러한 프로세서(212) 및 프로세서(212)의 구성요소들은 도 7의 이미지 필터링 방법이 포함하는 단계들(S710 내지 S740)을 수행하도록 전자 기기(110)를 제어할 수 있다. 예를 들어, 프로세서(212) 및 프로세서(212)의 구성요소들은 메모리(211)가 포함하는 운영체제의 코드와 적어도 하나의 프로그램의 코드에 따른 명령(instruction)을 실행하도록 구현될 수 있다.The processor 212 and components of the processor 212 may control the electronic device 110 to perform steps S710 to S740 included in the image filtering method of FIG. 7 . For example, the processor 212 and components of the processor 212 may be implemented to execute instructions according to an operating system code and at least one program code included in the memory 211 .

여기서, 프로세서(212)의 구성요소들은 전자 기기(110)에 저장된 프로그램 코드가 제공하는 명령(일례로, 전자 기기(110)에서 구동된 어플리케이션이 제공하는 명령)에 따라 프로세서(212)에 의해 수행되는 프로세서(212)의 서로 다른 기능들(different functions)의 표현들일 수 있다. 예를 들어, 전자 기기(110)가 이미지 필터링을 위한 조건을 설정하도록 상술한 명령에 따라 전자 기기(110)를 제어하는 프로세서(212)의 기능적 표현으로서 필터링 설정부(610)가 이용될 수 있다.Here, components of the processor 212 are performed by the processor 212 according to commands provided by program codes stored in the electronic device 110 (for example, commands provided by applications running in the electronic device 110). may be representations of different functions of the processor 212 being For example, the filtering setting unit 610 may be used as a functional representation of the processor 212 that controls the electronic device 110 according to the above-described command so that the electronic device 110 sets conditions for image filtering. .

단계(S710)에서 프로세서(212)는 전자 기기(110)의 제어와 관련된 명령이 로딩된 메모리(211)로부터 필요한 명령을 읽어들일 수 있다. 이 경우, 상기 읽어들인 명령은 프로세서(212)가 이후 설명될 단계들(S720 내지 S740)을 실행하도록 제어하기 위한 명령을 포함할 수 있다.In step S710, the processor 212 may read necessary commands from the memory 211 loaded with commands related to control of the electronic device 110. In this case, the read command may include a command for controlling the processor 212 to execute steps S720 to S740 to be described later.

단계(S720)에서 필터링 설정부(610)는 이미지 필터링을 위한 조건으로 적어도 하나의 키워드를 포함하는 키워드 리스트를 설정할 수 있다. 이미지 필터링을 위한 키워드 리스트는 전자 기기(110)의 사용자의 설정에 의해 정해질 수 있으며, 전자 기기(110)의 사용자와 관련된 정보(예컨대, 나이 등)를 기준으로 디폴트 값으로 정해지는 키워드를 더 포함할 수 있다. 그리고, 키워드 리스트는 전자 기기(110)에 설치된 메신저의 대화방 전체를 대상으로 일괄 설정될 수 있고, 혹은 대화방 각각에 대하여 개별 조건으로 설정되는 것 또한 가능하다.In step S720, the filtering setting unit 610 may set a keyword list including at least one keyword as a condition for image filtering. The keyword list for image filtering may be determined by the user's setting of the electronic device 110, and keywords determined as default values based on information (eg, age, etc.) related to the user of the electronic device 110 may be further selected. can include In addition, the keyword list may be collectively set for all chat rooms of the messenger installed in the electronic device 110, or may be set for each chat room as an individual condition.

단계(S730)에서 메시지 수신부(620)는 전자 기기(110)의 사용자가 포함된 대화방을 통해 다른 사용자가 전송한 대화 메시지를 수신할 수 있으며, 이때 수신 메시지가 다른 사용자가 보낸 이미지에 대한 정보를 포함하는 이미지 타입 메시지인 경우 해당 이미지에서 추출된 키워드를 함께 수신할 수 있다. 다시 말해, 메시지 수신부(620)는 대화방을 통해 전자 기기(110)의 사용자에게 전송된 이미지에 대해 서버(150)로부터 해당 이미지에서 추출된 키워드를 포함하는 대화 메시지를 수신할 수 있다. 이때, 대화 메시지에는 전자 기기(110)의 사용자에게 전송된 이미지의 썸네일이 더 포함될 수 있다.In step S730, the message receiving unit 620 may receive a conversation message transmitted by another user through a chat room including a user of the electronic device 110. At this time, the received message contains information about an image sent by another user. In the case of an included image type message, keywords extracted from the corresponding image may be received together. In other words, the message receiver 620 may receive a chat message including a keyword extracted from the image from the server 150 about the image transmitted to the user of the electronic device 110 through the chat room. In this case, the conversation message may further include a thumbnail of an image transmitted to the user of the electronic device 110 .

단계(S740)에서 이미지 필터링부(630)는 대화방에 전자 기기(110)의 사용자가 주고 받은 대화 메시지를 표시하는 과정에서 이미지 타입 메시지의 경우 해당 메시지와 함께 수신된 키워드가 키워드 리스트에 포함되어 있으면 대화방에서의 이미지 노출을 제한할 수 있다. 이미지 필터링부(630)는 이미지 타입 메시지 별로 해당 이미지에서 추출된 키워드를 로컬 저장 공간(예컨대, 메모리(211))에 저장한 후 저장된 키워드가 이미지 필터링을 위한 조건으로 설정된 키워드와 매칭되는 경우 이미지 필터링을 수행할 수 있다. 일례로, 이미지 필터링부(630)는 대화방에 이미지 타입 메시지에 포함된 키워드, 즉 이미지에서 추출된 키워드만을 표시함으로써 대화방을 통해 받은 이미지가 필터링 대상에 속한 이미지임을 나타낼 수 있다. 다른 예로, 이미지 필터링부(630)는 대화방에 이미지 타입 메시지를 표시할 때 해당 이미지의 썸네일을 표시하는 경우 썸네일에 이미지 노출을 제한하는 필터링 효과(예컨대, 블러(blur) 처리 등)를 적용하여 대화방을 통해 받은 이미지가 필터링 대상에 속한 이미지임을 나타낼 수 있다. 또 다른 예로, 이미지 필터링부(630)는 대화방에 이미지 타입 메시지를 표시할 때 별도의 인증(예컨대, 성인 인증, 패스워드 인증 등)을 요구하여 대화방을 통해 받은 이미지가 필터링 대상에 속한 이미지임을 나타낼 수 있다. 이미지 필터링부(630)는 필터링 대상 이미지에 대해 사용자 요청이 입력되거나 인증이 완료되면 서버(150)로 요청하여 해당 이미지를 다운로드 받아 로컬에 저장할 수 있다. 이때, 이미지 필터링부(630)는 다운로드 받은 각 이미지 별로 해당 이미지에서 추출된 키워드를 함께 저장할 수 있다.In step S740, the image filtering unit 630, in the process of displaying the conversation messages exchanged by the user of the electronic device 110 in the chat room, in the case of an image type message, if the keyword received with the message is included in the keyword list You can restrict image exposure in chat rooms. The image filtering unit 630 stores keywords extracted from corresponding images for each image type message in a local storage space (eg, memory 211), and then filters images when the stored keywords match keywords set as conditions for image filtering. can be performed. For example, the image filtering unit 630 may indicate that the image received through the chat room belongs to the filtering target by displaying only keywords included in the image type message, that is, keywords extracted from images, in the chat room. As another example, the image filtering unit 630 applies a filtering effect (eg, blur processing, etc.) to limit image exposure to thumbnails when displaying a thumbnail of a corresponding image when displaying an image type message in a chat room. It may indicate that the received image is an image belonging to the filtering target. As another example, when displaying an image type message in a chat room, the image filtering unit 630 may request separate authentication (eg, adult authentication, password authentication, etc.) to indicate that an image received through the chat room belongs to a filtering target. there is. When a user request is input for an image to be filtered or authentication is completed, the image filtering unit 630 requests the server 150 to download the corresponding image and store the image locally. At this time, the image filtering unit 630 may also store keywords extracted from the image for each downloaded image.

더 나아가, 이미지 필터링부(630)는 전자 기기(110)의 사용자에게 전송된 이미지가 음란물 컨텐츠에 해당되는 경우 해당 이미지를 필터링 조건과는 무관하게 자동 숨김이나 삭제 처리할 수 있다. 한편, 이미지 필터링부(630)는 이미지 노출을 제한하는 것과는 반대로, 전자 기기(110)의 사용자에게 전송된 이미지가 사용자에 의해 사전에 설정된 특정 키워드에 매칭되는 이미지인 경우 별도의 사용자 요청이 없어도 즉시 다운로드 하여 로컬에 자동 저장할 수 있다. 그리고, 이미지 필터링부(630)는 시각 장애인의 접근성을 위해 대화방에 이미지 타입 메시지가 수신되는 경우 해당 이미지에서 추출된 키워드를 TTS(text to speech)를 통해 음성으로 출력할 수 있다. 또한, 이미지 필터링부(630)는 대화방의 메시지 입력창이나 검색창에 키워드가 입력되는 경우 대화방을 통해 다운로드 받아 저장한 이미지 중 입력된 키워드와 매칭되는 이미지를 자동 추천할 수 있다.Furthermore, if the image transmitted to the user of the electronic device 110 corresponds to pornographic content, the image filtering unit 630 may automatically hide or delete the corresponding image regardless of filtering conditions. On the other hand, the image filtering unit 630, contrary to limiting the image exposure, if the image transmitted to the user of the electronic device 110 matches a specific keyword set in advance by the user, immediately without a separate user request. You can download it and save it locally automatically. In addition, the image filtering unit 630 may output a keyword extracted from a corresponding image as voice through text to speech (TTS) when an image type message is received in a chat room for accessibility of the visually impaired. In addition, the image filtering unit 630 may automatically recommend an image that matches the entered keyword among images downloaded and stored through the chat room when a keyword is input into the message input window or search window of the chat room.

따라서, 메신저가 설치된 클라이언트 측에서는 메신저의 대화방을 통해 주고 받는 이미지에 대해 이미지에서 추출된 키워드를 이용하여 이미지 필터링을 수행할 수 있다.Accordingly, the client side in which the messenger is installed may perform image filtering on images exchanged through the chat room of the messenger using keywords extracted from images.

이미지와 관련된 키워드를 추출하는 주체는 앞서 설명한 바와 같이 서버(150)가 될 수 있으며, 경우에 따라서는 발신 측 클라이언트 또는 수신 측 클라이언트가 키워드 추출 주체가 될 수 있다.As described above, the subject for extracting keywords related to the image may be the server 150, and in some cases, the originating client or the receiving client may be the keyword extracting subject.

도 8 내지 도 10은 본 발명의 일실시예에 있어서 이미지 필터링 과정을 도시한 흐름도이다. 전자 기기(110)의 사용자 A가 전자 기기(120)의 사용자 B에게 이미지를 보내는 상황을 전제한 것이다.8 to 10 are flowcharts illustrating an image filtering process according to an embodiment of the present invention. A situation in which user A of the electronic device 110 sends an image to user B of the electronic device 120 is assumed.

도 8은 서버(150)가 키워드 추출 주체인 경우의 이미지 필터링 과정을 나타내고 있다.8 illustrates an image filtering process when the server 150 is a subject of keyword extraction.

전자 기기(110)는 사용자 A에 의해 사용자 B와의 대화방을 통해 공유하고자 하는 이미지가 선택되면 선택된 이미지를 서버(150)로 업로드할 수 있다(S81).The electronic device 110 may upload the selected image to the server 150 when user A selects an image to be shared through the chat room with user B (S81).

서버(150)는 전자 기기(110)로부터 이미지가 수신되면 수신된 이미지에서 이미지와 관련된 키워드를 추출할 수 있다(S82).When an image is received from the electronic device 110, the server 150 may extract keywords related to the image from the received image (S82).

서버(150)는 전자 기기(110)로부터 수신된 이미지를 해당 이미지에서 추출된 키워드와 함께 저장할 수 있다(S83).The server 150 may store the image received from the electronic device 110 together with a keyword extracted from the corresponding image (S83).

서버(150)는 전자 기기(110)로부터 수신된 이미지, 즉 사용자 A가 보낸 이미지에 대한 대화 메시지로서 이미지 타입 메시지를 해당 대화방을 통해 사용자 B의 전자 기기(120)로 전달할 수 있다(S84).The server 150 may deliver an image type message as a chat message for an image received from the electronic device 110, that is, an image sent by user A, to the electronic device 120 of user B through the corresponding chat room (S84).

전자 기기(120)로 전달되는 이미지 타입 메시지는 이미지에서 추출된 키워드를 포함하거나, 혹은 이미지에서 추출된 키워드와 함께 해당 이미지의 썸네일을 포함할 수 있다.The image type message delivered to the electronic device 120 may include a keyword extracted from the image or a thumbnail of the corresponding image together with the keyword extracted from the image.

전자 기기(120)는 사용자 A와의 대화방에 사용자 A와 주고 받은 대화 메시지를 표시하는 과정에서 이미지 타입 메시지의 경우 이미지에서 추출된 키워드를 이용하여 해당 대화방에서의 이미지 필터링을 진행할 수 있다(S85).In the process of displaying chat messages exchanged with user A in the chat room with user A, the electronic device 120 may perform image filtering in the chat room by using a keyword extracted from an image in the case of an image type message (S85).

도 9는 발신 측 클라이언트인 전자 기기(110)가 키워드 추출 주체인 경우의 이미지 필터링 과정을 나타내고 있다.9 illustrates an image filtering process when the electronic device 110, which is the originating client, is the subject of keyword extraction.

전자 기기(110)는 사용자 A에 의해 사용자 B와의 대화방을 통해 공유하고자 하는 이미지가 선택되면 선택된 이미지에서 이미지와 관련된 키워드를 추출할 수 있다(S91).When an image to be shared with user B is selected by user A through a chat room, the electronic device 110 may extract a keyword related to the image from the selected image (S91).

전자 기기(110)는 이미지를 서버(150)로 업로드하기 전에 이미지에서 추출된 키워드를 편집 화면을 통해 사용자 A에게 제공할 수 있고, 이때 사용자 A는 편집 화면을 통해 이미지에서 추출된 키워드를 확인할 수 있고 필요에 따라 키워드를 수정, 추가, 삭제 등 직접 편집할 수 있다.The electronic device 110 may provide a keyword extracted from the image to user A through an editing screen before uploading the image to the server 150, and at this time, user A may check the keyword extracted from the image through the editing screen. You can edit, edit, add, or delete keywords as needed.

전자 기기(110)는 사용자 A에 의해 선택된 이미지와 관련 키워드(추출된 키워드 또는 편집된 키워드)를 로컬에 저장한 후 서버(150)로 업로드할 수 있다(S92).The electronic device 110 may locally store the image selected by user A and related keywords (extracted keywords or edited keywords) and then upload them to the server 150 (S92).

서버(150)는 전자 기기(110)로부터 수신된 이미지와 키워드를 함께 저장할 수 있다(S93).The server 150 may store the image and keywords received from the electronic device 110 together (S93).

서버(150)는 전자 기기(110)로부터 수신된 이미지, 즉 사용자 A가 보낸 이미지에 대한 대화 메시지로서 이미지 타입 메시지를 해당 대화방을 통해 사용자 B의 전자 기기(120)로 전달할 수 있다(S94).The server 150 may deliver an image type message as a chat message for an image received from the electronic device 110, that is, an image sent by user A, to the electronic device 120 of user B through the corresponding chat room (S94).

전자 기기(120)로 전달되는 이미지 타입 메시지는 이미지에서 추출된 키워드를 포함하거나, 혹은 이미지에서 추출된 키워드와 함께 해당 이미지의 썸네일을 포함할 수 있다.The image type message delivered to the electronic device 120 may include a keyword extracted from the image or a thumbnail of the corresponding image together with the keyword extracted from the image.

전자 기기(120)는 사용자 A와의 대화방에 사용자 A와 주고 받은 대화 메시지를 표시하는 과정에서 이미지 타입 메시지의 경우 이미지에서 추출된 키워드를 이용하여 해당 대화방에서의 이미지 필터링을 진행할 수 있다(S95).In the process of displaying chat messages exchanged with user A in the chat room with user A, the electronic device 120 may perform image filtering in the chat room by using a keyword extracted from an image in the case of an image type message (S95).

도 10은 수신 측 클라이언트인 전자 기기(120)가 키워드 추출 주체인 경우의 이미지 필터링 과정을 나타내고 있다.10 illustrates an image filtering process when the electronic device 120, which is a receiving client, is a subject of keyword extraction.

전자 기기(110)는 사용자 A에 의해 사용자 B와의 대화방을 통해 공유하고자 하는 이미지가 선택되면 선택된 이미지를 서버(150)로 업로드할 수 있다(S101).When an image to be shared by user A through a chat room with user B is selected, the electronic device 110 may upload the selected image to the server 150 (S101).

서버(150)는 전자 기기(110)로부터 이미지가 수신되면 수신된 이미지를 저장할 수 있다(S102).When an image is received from the electronic device 110, the server 150 may store the received image (S102).

서버(150)는 전자 기기(110)로부터 수신된 이미지, 즉 사용자 A가 보낸 이미지에 대한 대화 메시지로서 이미지 타입 메시지를 해당 대화방을 통해 사용자 B의 전자 기기(120)로 전달할 수 있다(S103).The server 150 may deliver an image type message as a chat message for an image received from the electronic device 110, that is, an image sent by user A, to the electronic device 120 of user B through the corresponding chat room (S103).

전자 기기(120)로 전달되는 이미지 타입 메시지는 이미지의 썸네일을 포함할 수 있다.The image type message transmitted to the electronic device 120 may include a thumbnail of an image.

전자 기기(120)는 사용자 A와의 대화방에 사용자 A와 주고 받은 대화 메시지를 표시하는 과정에서 이미지 타입 메시지의 경우 썸네일 이미지에서 이미지와 관련된 키워드를 추출할 수 있다(S104).In the process of displaying conversation messages exchanged with user A in the chat room with user A, the electronic device 120 may extract a keyword related to the image from the thumbnail image in the case of an image type message (S104).

전자 기기(120)는 사용자 A가 보낸 이미지의 썸네일 이미지와 키워드를 로컬에 저장한 후 썸네일 이미지에서 추출된 키워드를 이용하여 해당 대화방에서의 이미지 필터링을 진행할 수 있다(S105).The electronic device 120 may locally store the thumbnail image and keywords of the image sent by user A, and then perform image filtering in the corresponding chat room using the keywords extracted from the thumbnail image (S105).

이미지와 관련된 키워드를 추출하는 주체는 서버(150)뿐 만 아니라 발신 측 클라이언트나 수신 측 클라이언트에 키워드 추출을 위한 학습 모델을 포함하는 경우 키워드 추출 주체로 이용 가능하다.An entity that extracts a keyword related to an image can be used as a keyword extraction entity when a learning model for keyword extraction is included in the server 150 as well as the originating client or the receiving client.

수신 측 클라이언트에서는 이미지에서 추출된 키워드가 필터링 조건으로 설정된 키워드 리스트에 포함되어 있는 경우 대화방에서의 이미지 노출을 제한할 수 있다.The receiving client may limit image exposure in the chat room when a keyword extracted from an image is included in a keyword list set as a filtering condition.

도 11을 참조하면, 전자 기기(120)는 사용자 A와의 대화방(1100)에 사용자 A와 주고 받은 대화 메시지를 표시하게 되는데, 이때 사용자 A가 이미지를 전송한 경우 썸네일은 표시하지 않고 이미지에서 추출된 키워드만으로 이미지 타입 메시지(1110)를 표시함으로써 이미지 노출을 제한할 수 있다.Referring to FIG. 11, the electronic device 120 displays a conversation message exchanged with user A in a chat room 1100 with user A. At this time, when user A transmits an image, the thumbnail is not displayed and extracted from the image Image exposure can be limited by displaying the image type message 1110 only with keywords.

도 12를 참조하면, 전자 기기(120)는 사용자 A와의 대화방(1200)에 썸네일 이미지를 이용하여 이미지 타입 메시지(1220)를 표시하는 경우 썸네일에 블러 처리하여 이미지 노출을 제한할 수 있다. 이때, 이미지가 어떤 물체의 이미지인지 해당 이미지에서 추출된 키워드를 함께 표시할 수 있다.Referring to FIG. 12 , when displaying an image type message 1220 using a thumbnail image in a chat room 1200 with user A, the electronic device 120 may limit image exposure by blurring the thumbnail. In this case, it is possible to display the image of an object together with a keyword extracted from the image.

이미지 노출이 제한되는 필터링 대상 이미지라 하더라도 사용자 B가 이미지 타입 메시지(1110)(1220)와 연계된 다운로드 메뉴(1111)(1221)를 입력하면 전자 기기(120)는 서버(150)로 요청하여 이미지 타입 메시지(1110)(1220)에 대응되는 이미지를 다운로드 받아 로컬에 저장할 수 있다.Even if the image is subject to filtering with limited image exposure, when user B inputs the download menu 1111 (1221) associated with the image type message 1110 (1220), the electronic device 120 requests the server 150 to send the image Images corresponding to the type messages 1110 and 1220 may be downloaded and stored locally.

이처럼 본 발명의 실시예들에 따르면, 대화방을 통해 공유하고자 하는 이미지를 대상으로 이미지에서 추출된 키워드를 이용하여 이미지를 자동 필터링할 수 있다.As such, according to embodiments of the present invention, images to be shared through a chat room may be automatically filtered using keywords extracted from images.

이상에서 설명된 장치는 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어 구성요소의 조합으로 구현될 수 있다. 예를 들어, 실시예들에서 설명된 장치 및 구성요소는, 프로세서, 콘트롤러, 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 devices described above may be implemented as hardware components, software components, and/or a combination of hardware components and software components. For example, devices and components described in the embodiments include a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA), and a programmable PLU (programmable logic unit). logic unit), microprocessor, or any other device capable of executing and responding to instructions. The 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), 물리적 장치, 컴퓨터 저장 매체 또는 장치에 구체화(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. The software and/or data may be embodied in any tangible machine, component, physical device, computer storage medium or device to be interpreted by or to provide instructions or data to a processing device. there is. 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.

실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 이때, 매체는 컴퓨터로 실행 가능한 프로그램을 계속 저장하거나, 실행 또는 다운로드를 위해 임시 저장하는 것일 수도 있다. 또한, 매체는 단일 또는 수 개의 하드웨어가 결합된 형태의 다양한 기록수단 또는 저장수단일 수 있는데, 어떤 컴퓨터 시스템에 직접 접속되는 매체에 한정되지 않고, 네트워크 상에 분산 존재하는 것일 수도 있다. 매체의 예시로는, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM 및 DVD와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical medium), 및 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. In this case, the medium may continuously store a program executable by a computer or temporarily store the program for execution or download. In addition, the medium may be various recording means or storage means in the form of a single or combined hardware, but is not limited to a medium directly connected to a certain computer system, and may be distributed on a network. Examples of the medium include magnetic media such as hard disks, floppy disks and magnetic tapes, optical recording media such as CD-ROM and DVD, magneto-optical media such as floptical disks, and ROM, RAM, flash memory, etc. configured to store program instructions. In addition, examples of other media include recording media or storage media managed by an app store that distributes applications, a site that supplies or distributes various other software, and a server.

이상과 같이 실시예들이 비록 한정된 실시예와 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기의 기재로부터 다양한 수정 및 변형이 가능하다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.As described above, although the embodiments have been described with limited examples and drawings, those skilled in the art can make various modifications and variations from the above description. 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 (18)

컴퓨터로 구현되는 서버에서 실행되는 이미지 필터링 방법에 있어서,
상기 서버는 메모리에 포함된 컴퓨터 판독가능한 명령들을 실행하도록 구성된 적어도 하나의 프로세서를 포함하고,
상기 이미지 필터링 방법은,
상기 적어도 하나의 프로세서에 의해, 메신저의 대화방을 통해 상기 대화방에 포함된 사용자의 전자 기기로부터 전송된 이미지를 수신하는 단계;
상기 적어도 하나의 프로세서에 의해, 상기 이미지를 분석하는 단계;
상기 적어도 하나의 프로세서에 의해, 상기 이미지의 분석 결과를 기초로 상기 이미지를 분류하는 단계; 및
상기 적어도 하나의 프로세서에 의해, 상기 이미지의 분류 결과를 기초로 상기 이미지에 대해 상기 대화방에 포함된 다른 사용자의 전자 기기에서의 표시를 제한하는 단계
를 포함하고,
상기 제한하는 단계는,
상기 이미지에 대한 정보를 기초로 상기 이미지의 표시를 제한하는 단계
를 포함하고,
상기 이미지에 대한 정보는 상기 이미지가 필터링 대상에 속하는 것임을 나타내는 정보를 포함하는, 이미지 필터링 방법.
In the image filtering method executed on a server implemented by a computer,
The server includes at least one processor configured to execute computer readable instructions contained in memory;
The image filtering method,
receiving, by the at least one processor, an image transmitted from a user's electronic device included in the chat room through a chat room of a messenger;
analyzing, by the at least one processor, the image;
Classifying, by the at least one processor, the image based on an analysis result of the image; and
Limiting, by the at least one processor, display of the image on electronic devices of other users included in the chat room based on a classification result of the image.
including,
The limiting step is
Limiting display of the image based on information about the image
including,
The image filtering method of claim 1 , wherein the information about the image includes information indicating that the image belongs to a filtering target.
컴퓨터로 구현되는 서버에서 실행되는 이미지 필터링 방법에 있어서,
상기 서버는 메모리에 포함된 컴퓨터 판독가능한 명령들을 실행하도록 구성된 적어도 하나의 프로세서를 포함하고,
상기 이미지 필터링 방법은,
상기 적어도 하나의 프로세서에 의해, 메신저의 대화방을 통해 상기 대화방에 포함된 사용자의 전자 기기로부터 전송된 이미지를 수신하는 단계;
상기 적어도 하나의 프로세서에 의해, 상기 이미지를 분석하는 단계;
상기 적어도 하나의 프로세서에 의해, 상기 이미지의 분석 결과를 기초로 상기 이미지를 분류하는 단계; 및
상기 적어도 하나의 프로세서에 의해, 상기 이미지의 분류 결과를 기초로 상기 이미지에 대한 정보를 저장하는 단계
를 포함하고,
상기 이미지에 대한 정보는 상기 이미지가 필터링 대상에 속하는 것임을 나타내는 정보를 포함하는, 이미지 필터링 방법.
In the image filtering method executed on a server implemented by a computer,
The server includes at least one processor configured to execute computer readable instructions contained in memory;
The image filtering method,
receiving, by the at least one processor, an image transmitted from a user's electronic device included in the chat room through a chat room of a messenger;
analyzing, by the at least one processor, the image;
Classifying, by the at least one processor, the image based on an analysis result of the image; and
Storing, by the at least one processor, information about the image based on a classification result of the image
including,
The image filtering method of claim 1 , wherein the information about the image includes information indicating that the image belongs to a filtering target.
제1항 또는 제2항에 있어서,
상기 분석하는 단계는,
모델링된 학습 모델을 이용하여 상기 이미지를 분석하는 단계
를 포함하는 이미지 필터링 방법.
According to claim 1 or 2,
The analysis step is
Analyzing the image using a modeled learning model
Image filtering method comprising a.
제1항 또는 제2항에 있어서,
상기 분석하는 단계는,
상기 서버와 연동 가능한 데이터베이스를 이용하여 상기 이미지를 분석하는 단계
를 포함하는 이미지 필터링 방법.
According to claim 1 or 2,
The analysis step is
Analyzing the image using a database capable of interworking with the server
Image filtering method comprising a.
제1항 또는 제2항에 있어서,
상기 이미지는 동영상을 포함하는 것
을 특징으로 하는 이미지 필터링 방법.
According to claim 1 or 2,
The image includes a video
Image filtering method characterized by.
제5항에 있어서,
상기 분석하는 단계는,
상기 동영상으로부터 적어도 하나의 객체를 검출하는 단계
를 포함하는 이미지 필터링 방법.
According to claim 5,
The analysis step is
Detecting at least one object from the video
Image filtering method comprising a.
제2항에 있어서,
상기 저장하는 단계는,
상기 이미지에 대한 정보를 상기 대화방과 연관하여 저장하는 단계
를 포함하는 이미지 필터링 방법.
According to claim 2,
The storing step is
Storing information about the image in association with the chat room
Image filtering method comprising a.
제2항에 있어서,
상기 저장하는 단계는,
상기 이미지를 상기 대화방과 관련된 데이터로 저장하는 단계
를 포함하는 이미지 필터링 방법.
According to claim 2,
The storing step is
Storing the image as data related to the chat room
Image filtering method comprising a.
제2항에 있어서,
상기 저장하는 단계는,
상기 이미지에서 추출된 키워드를 상기 이미지와 연관시켜 저장하는 단계
를 포함하는 이미지 필터링 방법.
According to claim 2,
The storing step is
Storing keywords extracted from the image in association with the image
Image filtering method comprising a.
제2항에 있어서,
상기 이미지 필터링 방법은,
상기 적어도 하나의 프로세서에 의해, 상기 이미지에 대한 정보를 기초로 상기 이미지를 관리하는 단계
를 더 포함하는 이미지 필터링 방법.
According to claim 2,
The image filtering method,
Managing, by the at least one processor, the image based on information about the image.
Image filtering method further comprising a.
제2항에 있어서,
상기 이미지 필터링 방법은,
상기 적어도 하나의 프로세서에 의해, 상기 이미지에 대한 정보를 포함하는 메시지를 상기 대화방에 포함된 다른 사용자의 전자 기기로 전송하는 단계
를 더 포함하는 이미지 필터링 방법.
According to claim 2,
The image filtering method,
Transmitting, by the at least one processor, a message including information about the image to another user's electronic device included in the chat room.
Image filtering method further comprising a.
제1항, 제2항, 또는 제7항 내지 제11항 중 어느 한 항의 이미지 필터링 방법을 상기 컴퓨터 시스템에 실행시키기 위해 컴퓨터 판독가능한 기록 매체에 저장되는 컴퓨터 프로그램.A computer program stored in a computer readable recording medium to cause the computer system to execute the image filtering method according to any one of claims 1, 2, or 7 to 11. 컴퓨터로 구현되는 서버에 있어서,
메모리에 포함된 컴퓨터 판독 가능한 명령을 실행하도록 구현되는 적어도 하나의 프로세서
를 포함하고,
상기 적어도 하나의 프로세서는,
메신저의 대화방을 통해 상기 대화방에 포함된 사용자의 전자 기기로부터 전송된 이미지를 수신하는 과정;
상기 이미지를 분석하는 과정;
상기 이미지의 분석 결과를 기초로 상기 이미지를 분류하는 과정; 및
상기 이미지의 분류 결과를 기초로 상기 이미지에 대해 상기 대화방에 포함된 다른 사용자의 전자 기기에서의 표시를 제한하는 과정
을 처리하고,
상기 제한하는 과정은,
상기 이미지에 대한 정보를 기초로 상기 이미지의 표시를 제한하는 과정
을 포함하고,
상기 이미지에 대한 정보는 상기 이미지가 필터링 대상에 속하는 것임을 나타내는 정보를 포함하는, 서버.
In a server implemented by a computer,
at least one processor implemented to execute computer readable instructions contained in memory;
including,
The at least one processor,
receiving an image transmitted from a user's electronic device included in the chat room through a chat room of a messenger;
analyzing the image;
classifying the image based on an analysis result of the image; and
Limiting display of the image on electronic devices of other users included in the chat room based on a classification result of the image
processing,
The limiting process is
Limiting the display of the image based on information about the image
including,
The server, wherein the information on the image includes information indicating that the image belongs to a filtering target.
컴퓨터로 구현되는 서버에 있어서,
메모리에 포함된 컴퓨터 판독 가능한 명령을 실행하도록 구현되는 적어도 하나의 프로세서
를 포함하고,
상기 적어도 하나의 프로세서는,
메신저의 대화방을 통해 상기 대화방에 포함된 사용자의 전자 기기로부터 전송된 이미지를 수신하는 과정;
상기 이미지를 분석하는 과정;
상기 이미지의 분석 결과를 기초로 상기 이미지를 분류하는 과정; 및
상기 이미지의 분류 결과를 기초로 상기 이미지에 대한 정보를 저장하는 과정
을 처리하고,
상기 이미지에 대한 정보는 상기 이미지가 필터링 대상에 속하는 것임을 나타내는 정보를 포함하는, 서버.
In a server implemented by a computer,
at least one processor implemented to execute computer readable instructions contained in memory;
including,
The at least one processor,
receiving an image transmitted from a user's electronic device included in the chat room through a chat room of a messenger;
analyzing the image;
classifying the image based on an analysis result of the image; and
Storing information about the image based on a classification result of the image
processing,
The server, wherein the information on the image includes information indicating that the image belongs to a filtering target.
제13항 또는 제14항에 있어서,
상기 이미지는 동영상을 포함하는 것
을 특징으로 하는 서버.
According to claim 13 or 14,
The image includes a video
A server characterized by
제15항에 있어서,
상기 분석하는 과정은,
상기 동영상으로부터 적어도 하나의 객체를 검출하는 과정
을 포함하는 서버.
According to claim 15,
The analysis process is
Process of detecting at least one object from the video
Server containing .
제14항에 있어서,
상기 저장하는 과정은,
상기 이미지를 상기 대화방과 관련된 데이터로 저장하는 과정
을 포함하는 서버.
According to claim 14,
The saving process is
Process of saving the image as data related to the chat room
Server containing .
제14항에 있어서,
상기 저장하는 과정은,
상기 이미지에서 추출된 키워드를 상기 이미지와 연관시켜 저장하는 과정
을 포함하는 서버.
According to claim 14,
The saving process is
A process of storing keywords extracted from the image in association with the image
Server containing .
KR1020220068840A 2020-06-11 2022-06-07 Method, system, and non-transitory computer readable record medium for filtering image using keyword extracted form image KR102485811B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020220068840A KR102485811B1 (en) 2020-06-11 2022-06-07 Method, system, and non-transitory computer readable record medium for filtering image using keyword extracted form image

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020200070824A KR102407665B1 (en) 2018-06-20 2020-06-11 Method, system, and non-transitory computer readable record medium for filtering image using keyword extracted form image
KR1020220068840A KR102485811B1 (en) 2020-06-11 2022-06-07 Method, system, and non-transitory computer readable record medium for filtering image using keyword extracted form image

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020200070824A Division KR102407665B1 (en) 2018-06-20 2020-06-11 Method, system, and non-transitory computer readable record medium for filtering image using keyword extracted form image

Publications (2)

Publication Number Publication Date
KR20220084246A KR20220084246A (en) 2022-06-21
KR102485811B1 true KR102485811B1 (en) 2023-01-06

Family

ID=82221368

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220068840A KR102485811B1 (en) 2020-06-11 2022-06-07 Method, system, and non-transitory computer readable record medium for filtering image using keyword extracted form image

Country Status (1)

Country Link
KR (1) KR102485811B1 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9195898B2 (en) * 2009-04-14 2015-11-24 Qualcomm Incorporated Systems and methods for image recognition using mobile devices
KR20160029164A (en) * 2014-09-04 2016-03-15 주식회사 케이티 Method and System for filtering image spam massage in mobile network
KR101862118B1 (en) * 2016-06-28 2018-05-30 주식회사 수산아이앤티 Method of transmitting secure message through system for classifying hazardous url

Also Published As

Publication number Publication date
KR20220084246A (en) 2022-06-21

Similar Documents

Publication Publication Date Title
JP7091504B2 (en) Methods and devices for minimizing false positives in face recognition applications
JP6684883B2 (en) Method and system for providing camera effects
US20180341878A1 (en) Using artificial intelligence and machine learning to automatically share desired digital media
US11169675B1 (en) Creator profile user interface
CN110521213B (en) Story image making method and system
KR102199735B1 (en) Method and system for sharing effects for video
CN113014863A (en) Method and system for authenticating user and computer readable recording medium
KR102550305B1 (en) Video automatic editing method and syste based on machine learning
JP2021535508A (en) Methods and devices for reducing false positives in face recognition
US11899719B2 (en) Systems and methods for determining whether to modify content
JP7393487B2 (en) Method and system for recommending profile pictures and non-transitory computer-readable storage medium
JP2021068455A (en) Method of recognizing and utilizing user's face based on image and computer system
KR102125402B1 (en) Method, system, and non-transitory computer readable record medium for filtering image using keyword extracted form image
US20180181596A1 (en) Method and system for remote management of virtual message for a moving object
KR101715708B1 (en) Automated System for Providing Relation Related Tag Using Image Analysis and Method Using Same
KR102407665B1 (en) Method, system, and non-transitory computer readable record medium for filtering image using keyword extracted form image
WO2021169811A1 (en) Method, apparatus, system and device for generating special effects, and storage medium
KR102485811B1 (en) Method, system, and non-transitory computer readable record medium for filtering image using keyword extracted form image
KR20200076273A (en) Method and system for managing image based on interworking face image and messenger account
JP2020042752A (en) Method and system for filtering image by using point of interest
KR102664791B1 (en) Method, system, and non-transitory computer readable record medium for converting image to location data
KR102147485B1 (en) Guide method and system for taking a picture
KR102502258B1 (en) A method and system for exposing a personalized background using a chroma key to broadcast viewers and a non-temporary computer readable recording medium
JP7493320B2 (en) IMAGE MANAGEMENT METHOD, COMPUTER PROGRAM, STORAGE MEDIUM, AND COMPUTER DEVICE
KR20230018049A (en) Method, computer device, and computer program to provide photo classification function using people information

Legal Events

Date Code Title Description
A107 Divisional application of patent
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant