Patent ID: 7904954

Claim:
A method for controlling a communication border security, the method comprising: performing a security processing on a data packet, wherein the data packet comprises a media packet and a signaling packet; and performing a protocol processing on the data packet if the data packet passes the security processing; wherein the security processing performed on the data packet comprises: determining a type of the data packet; if the data packet is the media packet, querying whether a corresponding active session record exists in an active session information table, if yes, determining that the media packet passes the security processing; if no, discarding the media packet, wherein the corresponding active session record comprises a media channel address, a calling number, a calling ID, a called number and a called ID; and if the data packet is the signaling packet, querying a registered user information table to determine whether the signaling packet is a signaling packet sent by a registered user, if yes, determining that the signaling packet passes the security processing.