Movatterモバイル変換


[0]ホーム

URL:


KR20030078349A - Home automation control system using wireless terminal - Google Patents

Home automation control system using wireless terminal
Download PDF

Info

Publication number
KR20030078349A
KR20030078349AKR1020020017346AKR20020017346AKR20030078349AKR 20030078349 AKR20030078349 AKR 20030078349AKR 1020020017346 AKR1020020017346 AKR 1020020017346AKR 20020017346 AKR20020017346 AKR 20020017346AKR 20030078349 AKR20030078349 AKR 20030078349A
Authority
KR
South Korea
Prior art keywords
home
wireless terminal
control
controlling
menu
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
KR1020020017346A
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 주식회사 필룩스filedCritical주식회사 필룩스
Priority to KR1020020017346ApriorityCriticalpatent/KR20030078349A/en
Publication of KR20030078349ApublicationCriticalpatent/KR20030078349A/en
Ceasedlegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

Translated fromKorean

본 발명은 무선 단말기를 이용한 홈 오토메이션 제어시스템에 관한 것으로, 본 발명을 이루기 위한 수단으로는 홈 오토메이션 시스템에 연결되는 각 가정내의 가전기기들을 제어할 수 있는 제어신호를 수신하여 시스템을 제어하는 시스템 제어컨트롤러와; 실내외 방문자 또는 침입자의 영상을 기록하는 카메라 및 초인종이 포함된 인터폰과 유·무선으로 연결되며, 이를 제어신호하기 위한 수신하여 제어하는 홈 시큐리티와, 유무선망으로 통해 상기 시스템 제어컨트롤러와 홈 시큐리티를 제어할 수 있는 제어신호를 발생시키는 무선 단말기를 포함하는 것을 특징으로 한다.The present invention relates to a home automation control system using a wireless terminal. As a means for achieving the present invention, a system control for controlling a system by receiving a control signal for controlling home appliances in each home connected to the home automation system is provided. Controller; Wired and wireless connection with interphone including camera and doorbell to record the image of indoor and outdoor visitors or intruders, home security to receive and control the control signal, and control the system control controller and home security through wired and wireless network It characterized in that it comprises a wireless terminal for generating a control signal capable of.

Description

Translated fromKorean
무선 단말기를 이용한 홈 오토메이션 제어시스템{Home automation control system using wireless terminal}Home automation control system using wireless terminal

본 발명은 무선 단말기를 이용한 홈 오토메이션 시스템에 관한 것으로, 더욱 상세하게는 PDA 또는 IMT-2000 등 무선 단말기의 화면으로 제공되는 메뉴에서 가정 내의 각종 가전제품의 작동을 제어할 수 있도록 하는 홈 오토메이션 시스템에 관한것이다.The present invention relates to a home automation system using a wireless terminal, and more particularly, to a home automation system for controlling operation of various home appliances in a home from a menu provided on a screen of a wireless terminal such as a PDA or an IMT-2000. It's about.

일반적으로, 홈 오토메이션 시스템은 주로 아파트 등에 설치되며, 관리자가 외부에 있는 경우 유무선 등의 통신망으로 상기 시스템과 연결한 다음 가전기기의 작동을 제어할 수 있는 특정 코드를 입력하면 상기 시스템은 특정 코드 값에 해당되는 기기를 작동하거나 정지시키게 되도록 구성한 것이다.In general, home automation systems are mainly installed in apartments and the like, and when the administrator is outside, the system connects to the system through a wired or wireless communication network and then inputs a specific code for controlling the operation of the home appliance. It is configured to operate or stop the equipment corresponding to

또한, 관리자가 내부에 있는 경우 입력수단으로서 별도의 컨트롤러와 모니터를 이용하여 왔으며, 상기 모니터가 부착된 컨트롤러에 존재하는 복수의 버튼을 조작하여 원하는 기능을 수행하여 왔다.In addition, when the manager is inside, a separate controller and a monitor have been used as input means, and a desired function has been performed by manipulating a plurality of buttons existing in the controller to which the monitor is attached.

그러나, 이러한 시스템을 운영하는 관리자는 유무선 등의 통신망을 이용하는 경우 해당 가전기기의 특정 코드 값을 누르거나, 컨트롤러의 각종 버튼을 눌러 모니터로 나타나는 사항을 확인한 후 해당 기기를 작동할 수 있는 작동버튼을 찾아 눌러야 하는 등 관리자는 가전기기의 작동 및 정지를 위해 다수의 버튼을 일일이 눌러야 하는 불편한 문제점을 갖게 되었다.However, if the administrator of such a system uses a wired or wireless communication network, the administrator presses a specific code value of the corresponding household appliance or presses various buttons of the controller to check the display on the monitor and then press an operation button for operating the corresponding device. Managers have to find and press, such as the inconvenience of having to press a number of buttons in order to operate and stop the home appliances.

상기와 같은 문제를 해소하기 위한 것으로, 본 발명은 PDA 또는 IMT-2000 등 무선 단말기의 화면으로 제공되는 메뉴에서 가정 내의 각종 가전제품의 작동을 제어할 수 있도록 하는 데 그 목적이 있다.In order to solve the above problems, an object of the present invention is to be able to control the operation of various home appliances in the home menu provided on the screen of the wireless terminal such as PDA or IMT-2000.

도 1은 본 발명에 따른 본 발명에 따른 무선 단말기를 이용한 홈 오토메이션 제어시스템의 구성도.1 is a block diagram of a home automation control system using a wireless terminal according to the present invention.

도 2는 본 발명에 따른 무선 단말기에서 생성된 데이터코드의 예를 보인 참고도2 is a reference diagram showing an example of a data code generated in a wireless terminal according to the present invention

*도면의 주요부분에 대한 부호의 설명** Description of the symbols for the main parts of the drawings *

100 : 무선 단말기200 : 시스템 제어컨트롤러100: wireless terminal 200: system control controller

210,420 : 무선 LAN카드220 : 송신부210,420: Wireless LAN card 220: Transmitter

230 : 표시창300 : 게이트웨이230: display window 300: gateway

400 : 홈 시큐리티500 : 인터폰400: home security 500: interphone

본 발명을 이루기 위한 수단으로, 홈 오토메이션 시스템에 있어서, 상기 홈 오토메이션 시스템에 연결되는 각 가정내의 가전기기들을 제어할 수 있는 제어신호를 수신하여 시스템을 제어하는 시스템 제어컨트롤러와; 실내외 방문자 또는 침입자의 영상을 기록하는 카메라 및 초인종이 포함된 인터폰과 유·무선으로 연결되며, 이를 제어신호하기 위한 수신하여 제어하는 홈 시큐리티와, 유무선망으로 통해 상기 시스템 제어컨트롤러와 홈 시큐리티를 제어할 수 있는 제어신호를 발생시키는 무선 단말기를 포함하는 것을 특징으로 하며, 상기 무선 단말기에는 가전기기 및 인터폰 등을 제어할 수 있는 아이콘 메뉴가 제공되며, 상기 아이콘 메뉴를 선택하면 전화번호, 아이디, 상위메뉴, 하위메뉴에서 제어하려는 기기의 식별부호, 제어되는 기기의 제어코드 등이 포함된 십진수 데이터코드가 생성되도록 구성한 것을 특징으로 한다.As a means for achieving the present invention, a home automation system comprising: a system control controller for controlling a system by receiving a control signal for controlling home appliances in each home connected to the home automation system; Wired and wireless connection with interphone including camera and doorbell to record the image of indoor and outdoor visitors or intruders, home security to receive and control the control signal, and control the system control controller and home security through wired and wireless network It characterized in that it comprises a wireless terminal for generating a control signal capable of, wherein the wireless terminal is provided with an icon menu for controlling home appliances and interphones, and if the icon menu is selected, the phone number, ID, higher Characterized by the menu, the sub-menu, the identification code of the device to be controlled, characterized in that it is configured to generate a decimal data code including the control code of the controlled device.

이하, 본 발명의 바람직한 실시 예를 첨부된 도면을 참조하여 상세하게 살펴보면 다음과 같다.Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 따른 무선 단말기를 이용한 홈 오토메이션 시스템의 구성도 이다.1 is a block diagram of a home automation system using a wireless terminal according to the present invention.

도 2는 본 발명에 따른 무선 단말기에서 생성된 데이터코드의 예를 보인 참고도 이다.2 is a reference diagram showing an example of a data code generated in a wireless terminal according to the present invention.

도 1 및 도 2에 도시된 바와 같이, 무선 단말기를 이용한 홈 오토메이션 제어시스템을 이루기 위한 구성으로는 무선 단말기(100), 시스템 제어컨트롤러(200), 게이트웨이(300), 홈 시큐리티(400), 인터폰(500), 전원공급수단(600) 및 카메라 등이 포함된다.As shown in FIG. 1 and FIG. 2, a configuration for forming a home automation control system using a wireless terminal includes a wireless terminal 100, a system control controller 200, a gateway 300, a home security 400, and an interphone. 500, a power supply means 600, a camera, and the like are included.

상기 가정내에 설치된 홈 오토메이션 시스템을 제어하기 위한 시스템 제어컨트롤러(200)는 무선 단말기(100)와 무선 통신망으로 연결되고, 그 내부 구성으로는 송신부(220)와 무선 LAN카드(210), 표시창(230)을 포함한다.The system control controller 200 for controlling the home automation system installed in the home is connected to the wireless terminal 100 through a wireless communication network, and its internal configuration includes a transmitter 220, a wireless LAN card 210, and a display window 230. ).

또한, 상기 홈 시큐리티(400)는 무선 단말기(100)의 유·무선 공중망 및 게이트웨이(300)를 경유하여 접속되고, 상기 게이트웨이(300)에는 무선 LAN카드(320), 유선모뎀(310)을 포함하여 구성된다.In addition, the home security 400 is connected via a wired / wireless public network and a gateway 300 of the wireless terminal 100, and the gateway 300 includes a wireless LAN card 320 and a wired modem 310. It is configured by.

상기 무선 단말기(100)는 홈 오토메이션 시스템이 설치된 가정내의 각종 가전기기 작동 및 출입문 개폐작동 등의 작동이 제어되도록 제어신호를 출력하되 상기 무선망을 경유하여 시스템 제어컨트롤러(200)의 무선 LAN카드(210)에 접속된다.The wireless terminal 100 outputs a control signal to control operations such as operation of various home appliances and door opening and closing operations in a home where a home automation system is installed, but a wireless LAN card of the system control controller 200 via the wireless network ( And 210.

또한, 상기 무선 단말기(100)는 블루투스(Bluetooth) 등의 기능을 수행할 수 있는 PCS, PDA 및 IMT-2000 등 단말기를 이용하는 것이 바람직하다.In addition, the wireless terminal 100 preferably uses a terminal such as a PCS, PDA, and IMT-2000 capable of performing a function such as Bluetooth.

한편, 무선 단말기(100)는 시스템 제어컨트롤러(200)를 제어할 수 있도록 화면으로 아이콘메뉴를 제공하며, 상기 제어메뉴에는 상위메뉴와 하위메뉴로 구분되고, 상기 하위메뉴는 상위메뉴를 통해 하위메뉴로 진행된다.On the other hand, the wireless terminal 100 provides an icon menu on the screen to control the system control controller 200, the control menu is divided into an upper menu and a lower menu, the lower menu is a lower menu through the upper menu Proceeds.

상기 상위메뉴는 가정내에 설치된 가전기기에 따라 그 구성을 달리할 수 있으며, 예를 들어 방, 거실, 화장실, 주방 등의 상위메뉴가 구성되어 있다고 가정하고, 사용자가 거실이라는 상위메뉴를 선택하게 되면 상기 거실에 설치된 가전기기 등은 아이콘 형식의 하위메뉴를 제공한다. 즉, 상위메뉴에서 거실을 선택하면 하위메뉴는 TV, 오디오, 실내등 등의 아이콘 메뉴를 제공한다.The upper menu may have a different configuration according to the home appliances installed in the home. For example, assuming that the upper menu such as a room, a living room, a toilet, a kitchen, and the like is configured, and the user selects the upper menu of the living room, Home appliances installed in the living room, etc. provide a submenu in the form of an icon. In other words, if the living room is selected from the upper menu, the lower menu provides an icon menu such as TV, audio, indoor light, and the like.

상기 하위메뉴에서 특정 아이콘이 선택되면, 선택된 가전기기의 작동을 제어하는 데이터코드를 생성하는 상기 무선 단말기(100)는 시스템 제어컨트롤러(200)에서 인식할 수 있는 제어신호로 변환한다. 즉, 제어신호는 무선 단말기의 전화번호, 아이디, 상위메뉴, 하위메뉴에서 제어하려는 기기의 식별부호, 제어되는 기기의 제어코드 등이 포함된 십진수 데이터코드(또는 어드레스)를 생성하고, 생성된 데이터코드를 무선망을 경유하여 시스템 제어컨트롤러(200)로 출력된다.When a specific icon is selected in the submenu, the wireless terminal 100 generating a data code for controlling the operation of the selected home appliance is converted into a control signal that can be recognized by the system control controller 200. That is, the control signal generates a decimal data code (or address) including a phone number of the wireless terminal, an ID, an identification code of a device to be controlled in a lower menu, a control code of a controlled device, and the like. The code is output to the system control controller 200 via the wireless network.

상기 시스템 제어컨트롤러(200)는 입력된 십진수 데이터코드를 인식하고, 인식된 기기의 작동시키기 위한 제어신호는 송신부(220)에서 송신하여 기기의 작동을 제어하게 되며, 작동된 기기의 작동상태는 표시창(230)에 표시된다.The system control controller 200 recognizes the input decimal data code, and transmits a control signal for operating the recognized device from the transmitter 220 to control the operation of the device, and the operation state of the operated device is displayed on the display window. Is indicated at 230.

또한, 무선 단말기(100)와 홈 시큐리티(400) 사이에는 게이트웨이(300)에 의해 유·무선망으로 연결되고, 상기 홈 시큐리티(400)는 실외에 설치된 인터폰(500)과 상기 인터폰(500)에 설치된 카메라를 제어하는 기존의 기능과 동일하므로 설명은 후술하는 과정에서 설명한다.In addition, the wireless terminal 100 and the home security 400 is connected to the wired and wireless network by the gateway 300, the home security 400 is connected to the interphone 500 and the interphone 500 installed outdoors Since it is the same as the existing function of controlling the installed camera, the description will be described in a process to be described later.

상기 전원공급수단(600)은 상용전원이 이용하는 것이 바람직하며, 상기 상용전원 등이 정전 등으로 인하여 전원이 차단되는 것을 방지하기 위해 UPS를 포함하여 구성된다.The power supply means 600 is preferably used by a commercial power source, the commercial power source is configured to include a UPS to prevent the power is cut off due to power failure.

이하, 본 발명의 작동상태를 좀더 구체적으로 살펴보면 다음과 같다.Hereinafter, look at in more detail the operating state of the present invention.

사용자가 외부에서, 자신의 무선 단말기(100)를 통해 시스템 제어컨트롤러(200)에 접속하거나 유·무선망 및 게이트웨이(300)를 경유하여 홈 시큐리티(400)에 접속함으로 실외에 설치된 인터폰(500)의 제어할 수 있으며, 상기 홈 시큐리티(400)에서 다시 시스템 제어컨트롤러(200)로 접속하여 가정내의 가전기기를 제어할 수 있도록 연결된다.The interphone 500 installed outdoors by a user accessing the system control controller 200 through his or her wireless terminal 100 or accessing the home security 400 through a wired / wireless network and a gateway 300. The home security 400 can be connected to the system control controller 200 again to control home appliances in the home.

먼저, 가정내의 가전기기의 제어는 상기 무선 단말기(100)로 시스템 제어컨트롤러(200)에 접속한 다음 상기 무선 단말기(100)의 화면으로 제공되는 상위메뉴에서 제어하고자 하는 하위메뉴를 선택하면 그에 대한 제어대상이 아이콘 형식으로 제공되고, 상기 사용자가 제어대상 즉, 실내등, TV, 오디오 등 가정의 가전기기를 선택하게 되면 상기 무선 단말기(100)는 해당 가전기기를 작동시키기 위한 전화번호, 아이디, 상위메뉴, 하위메뉴에서 제어하려는 기기의 식별부호, 제어되는 기기의 제어코드 등이 포함된 십진수 데이터코드를 생성하여 시스템 제어컨트롤러(200)로 전송한다.First, the control of home appliances in the home is connected to the system control controller 200 by the wireless terminal 100, and then select a lower menu to be controlled from the upper menu provided on the screen of the wireless terminal 100 When the control object is provided in the form of an icon, and the user selects a control object, that is, a home appliance such as an indoor light, a TV, or an audio device, the wireless terminal 100 calls a phone number, an ID, a higher rank to operate the corresponding home appliance. In the menu, the submenu generates a decimal data code including the identification code of the device to be controlled, the control code of the controlled device, and transmits it to the system control controller 200.

상기 시스템 제어컨트롤러(200)는 십진수 데이터코드를 인식하고, 제어대상을 작동시킬 수 있는 제어신호는 송신부(220)에 의해 해당 기기를 작동시키며, 상기 표시창(230)에 기기가 작동된 상태를 표시한다. 상기와 같은 방법에 의해 가정내의 각종 가전기기를 작동시키거나 작동을 멈추게 한다.The system control controller 200 recognizes the decimal data code, and the control signal for operating the control object operates the corresponding device by the transmitter 220, and displays the state in which the device is operated on the display window 230. do. By the method as described above to operate or stop the various home appliances in the home.

또한, 홈 시큐리티(400)는 실내외에 설치된 인터폰(500) 및 카메라를 제어한다. 즉, 실외에 설치된 인터폰(500)으로부터 호출신호를 발생되면 카메라에서 방문자의 영상을 가져와 캡쳐하고, 사용자의 무선 단말기(100)로 방문자의 영상을 제공하여 방문자를 확인한 후 상기 무선 단말기(100)를 통해 출입문을 개방하기 위한 메뉴가 선택되면 상기 홈 시큐리티(400)에 입력되고, 상기 홈 시큐리티(400)는 출입문을 개방시키게 되는 것이다.In addition, the home security 400 controls the interphone 500 and the camera installed indoors and outdoors. That is, when a call signal is generated from the intercom 500 installed outdoors, a camera takes a visitor's image and captures the image, and provides the visitor's image to the user's wireless terminal 100 to check the visitor and then check the visitor. When a menu for opening the door is selected through the home security 400, the home security 400 is to open the door.

또한, 가정내에 설치된 카메라는 사용자의 요청 또는 침입자가 발생한 경우 상기 카메라를 통해 촬영된 영상을 무선 단말기(100)로 제공하여 외부에서도 침입자여부를 확인할 수 있게 되는 것이다.In addition, the camera installed in the home will be able to check whether the intruder from the outside by providing an image captured by the camera to the wireless terminal 100 when a user request or intruder occurs.

이상에서 살펴본 바와 같이, 본 발명은 기존에 사용되는 홈 오토메이션의 불편한 점을 해소할 수 있고, 사용자의 무선 단말기의 화면으로 제공되는 각종 아이콘 메뉴를 눌러 가정내의 가전기기 작동 및 침입자 여부를 실시간 확인할 수 있는 등 사용자의 편의를 증진시킬 수 있는 효과를 갖는다.As described above, the present invention can solve the inconvenience of the existing home automation, and by pressing various icon menus provided on the screen of the user's wireless terminal, it is possible to check in real time the operation of home appliances and intruders in the home It has the effect of promoting the convenience of the user.

Claims (2)

Translated fromKorean
홈 오토메이션 시스템에 있어서,In a home automation system,상기 홈 오토메이션 시스템에 연결되는 각 가정내의 가전기기들을 제어할 수 있는 제어신호를 수신하여 시스템을 제어하는 시스템 제어컨트롤러와;A system control controller for controlling the system by receiving a control signal for controlling home appliances in each home connected to the home automation system;실내외 방문자 또는 침입자의 영상을 기록하는 카메라 및 초인종이 포함된 인터폰과 유·무선으로 연결되며, 이를 제어신호하기 위한 수신하여 제어하는 홈 시큐리티와,A wired / wireless connection with an interphone including a camera and a doorbell for recording an image of an indoor or outdoor visitor or an intruder, and a home security for receiving and controlling a control signal;유무선망으로 통해 상기 시스템 제어컨트롤러와 홈 시큐리티를 제어할 수 있는 제어신호를 발생시키는 무선 단말기를 포함하는 것을 특징으로 하는 무선 단말기를 이용한 홈 오토메이션 시스템.And a wireless terminal generating a control signal for controlling home security with the system control controller through a wired or wireless network.제 1항에 있어서, 상기 무선 단말기에는 가전기기 및 인터폰 등을 제어할 수 있는 아이콘 메뉴가 제공되며, 상기 아이콘 메뉴를 선택하면 전화번호, 아이디, 상위메뉴, 하위메뉴에서 제어하려는 기기의 식별부호, 제어되는 기기의 제어코드 등이 포함된 십진수 데이터코드가 생성되도록 구성한 것을 특징으로 하는 무선 단말기를 이용한 홈 오토메이션 시스템.The wireless terminal of claim 1, wherein the wireless terminal is provided with an icon menu for controlling home appliances and interphones, and when the icon menu is selected, an identification code of a device to be controlled in a phone number, ID, upper menu, lower menu, A home automation system using a wireless terminal, characterized in that configured to generate a decimal data code including a control code of a controlled device.
KR1020020017346A2002-03-292002-03-29Home automation control system using wireless terminalCeasedKR20030078349A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
KR1020020017346AKR20030078349A (en)2002-03-292002-03-29Home automation control system using wireless terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
KR1020020017346AKR20030078349A (en)2002-03-292002-03-29Home automation control system using wireless terminal

Publications (1)

Publication NumberPublication Date
KR20030078349Atrue KR20030078349A (en)2003-10-08

Family

ID=32377159

Family Applications (1)

Application NumberTitlePriority DateFiling Date
KR1020020017346ACeasedKR20030078349A (en)2002-03-292002-03-29Home automation control system using wireless terminal

Country Status (1)

CountryLink
KR (1)KR20030078349A (en)

Similar Documents

PublicationPublication DateTitle
EP3070557B1 (en)Smart home scenario switching method and system
US20050071879A1 (en)Smart space appliance control using a mobile communications device
US7486271B2 (en)Security system user interface with video display
US7187279B2 (en)Security system and a method of operating
CN111970180B (en)Networking configuration method and device for intelligent household equipment, electronic equipment and storage medium
US20140098227A1 (en)Remote doorbell control system and related smart doorbell device
KR100703785B1 (en) Home appliance control device and method
JP3159365U (en) Intercom system
JP2004135203A (en)Residential information management system
JP2003283524A (en)Signal repeater
KR20010068528A (en)Data system for each household in a housing development
JP3156372U (en) Integrated security device
JP2006031712A (en)Security system and method of apartment house through internet
JP2004135202A (en)Monitoring system for house
KR20030078349A (en)Home automation control system using wireless terminal
JP2007058663A (en)Interphone system
JP2004201250A (en)Apartment building interphone system
JP7503759B2 (en) Voice control system and voice control method
KR100940354B1 (en) Mobile integrated management device and home network control system using the same
JP2003348670A (en)Remote control system and its control program
JP6688524B1 (en) Door device
JP2006127296A (en) Security controller
KR100351090B1 (en)System for managing home automation having analog/digital conversion function
Dewsbury et al.Home technology systems
JPH0383480A (en) home bath system

Legal Events

DateCodeTitleDescription
A201Request for examination
PA0109Patent application

Patent event code:PA01091R01D

Comment text:Patent Application

Patent event date:20020329

PA0201Request for examination
PG1501Laying open of application
E902Notification of reason for refusal
PE0902Notice of grounds for rejection

Comment text:Notification of reason for refusal

Patent event date:20040217

Patent event code:PE09021S01D

E601Decision to refuse application
PE0601Decision on rejection of patent

Patent event date:20040913

Comment text:Decision to Refuse Application

Patent event code:PE06012S01D

Patent event date:20040217

Comment text:Notification of reason for refusal

Patent event code:PE06011S01I


[8]ページ先頭

©2009-2025 Movatter.jp