好不容易将Jabberd2移植到windows平台,针对Jabberd2控制台(Console)分为两部分进行,一部分是应用程序(EXE),用于启动和关闭服务,另一部分提供WEB管理。EXE部分采用DELPHI来进行,而WEB管理部分当然是PHP了,因为我的JABBER是使用mysql的数据库。
Jabber数据库结构及分析:
active | |||||
字段 | 类型 | 属性 | Null | 默认 | 额外 |
collection-owner | text |
| 否 |
|
|
object-sequence | bigint(20) |
| 否 |
| auto_increment |
time | int(11) |
| 是 | NULL |
|
authreg | |||||
字段 | 类型 | 属性 | Null | 默认 | 额外 |
username | text |
| 是 | NULL |
|
realm | tinytext |
| 是 | NULL |
|
password | tinytext |
| 是 | NULL |
|
token | varchar(10) |
| 是 | NULL |
|
sequence | int(11) |
| 是 | NULL |
|
hash | varchar(40) |
| 是 | NULL |
|
disco-items | |||||
字段 | 类型 | 属性 | Null | 默认 | 额外 |
collection-owner | text |
| 否 |
|
|
object-sequence | bigint(20) |
| 否 |
| auto_increment |
jid | text |
| 是 | NULL |
|
name | text |
| 是 | NULL |
|
node | text |
| 是 | NULL |
|
字段 | 类型 | 属性 | Null | 默认 | 额外 |
collection-owner | text |
| 否 |
|
|
object-sequence | bigint(20) |
| 否 |
| auto_increment |
time | int(11) |
| 是 | NULL |
|
字段 | 类型 | 属性 | Null | 默认 | 额外 |
collection-owner | text |
| 否 |
|
|
object-sequence | bigint(20) |
| 否 |
| auto_increment |
xml | text |
| 是 | NULL |
|
字段 | 类型 | 属性 | Null | 默认 | 额外 |
collection-owner | text |
| 否 |
|
|
object-sequence | bigint(20) |
| 否 |
| auto_increment |
time | int(11) |
| 是 | NULL |
|
字段 | 类型 | 属性 | Null | 默认 | 额外 |
collection-owner | text |
| 否 |
|
|
object-sequence | bigint(20) |
| 否 |
| auto_increment |
default | text |
| 是 | NULL |
|
字段 | 类型 | 属性 | Null | 默认 | 额外 |
collection-owner | text |
| 否 |
|
|
object-sequence | bigint(20) |
| 否 |
| auto_increment |
list | text |
| 是 | NULL |
|
type | text |
| 是 | NULL |
|
value | text |
| 是 | NULL |
|
deny | tinyint(4) |
| 是 | NULL |
|
order | int(11) |
| 是 | NULL |
|
block | int(11) |
| 是 | NULL |
|
字段 | 类型 | 属性 | Null | 默认 | 额外 |
collection-owner | text |
| 否 |
|
|
object-sequence | bigint(20) |
| 否 |
| auto_increment |
ns | text |
| 是 | NULL |
|
xml | mediumtext |
| 是 | NULL |
|
字段 | 类型 | 属性 | Null | 默认 | 额外 |
collection-owner | text |
| 否 |
|
|
object-sequence | bigint(20) |
| 否 |
| auto_increment |
xml | mediumtext |
| 是 | NULL |
|
字段 | 类型 | 属性 | Null | 默认 | 额外 |
collection-owner | text |
| 否 |
|
|
object-sequence | bigint(20) |
| 否 |
| auto_increment |
jid | Text |
| 是 | NULL |
|
group | text |
| 是 | NULL |
|
字段 | 类型 | 属性 | Null | 默认 | 额外 |
collection-owner | text |
| 否 |
|
|
object-sequence | bigint(20) |
| 否 |
| auto_increment |
jid | Text |
| 是 | NULL |
|
name | text |
| 是 | NULL |
|
to | tinyint(4) |
| 是 | NULL |
|
from | tinyint(4) |
| 是 | NULL |
|
ask | int(11) |
| 是 | NULL |
|
字段 | 类型 | 属性 | Null | 默认 | 额外 |
collection-owner | text |
| 否 |
|
|
object-sequence | bigint(20) |
| 否 |
| auto_increment |
start | int(11) |
| 是 | NULL |
|
end | int(11) |
| 是 | NULL |
|
message | text |
| 是 | NULL |
|
字段 | 类型 | 属性 | Null | 默认 | 额外 |
collection-owner | text |
| 否 |
|
|
object-sequence | bigint(20) |
| 否 |
| auto_increment |
fn | text |
| 是 | NULL |
|
nickname | text |
| 是 | NULL |
|
url | text |
| 是 | NULL |
|
tel | text |
| 是 | NULL |
|
text |
| 是 | NULL |
| |
title | text |
| 是 | NULL |
|
role | text |
| 是 | NULL |
|
bday | text |
| 是 | NULL |
|
desc | text |
| 是 | NULL |
|
n-given | text |
| 是 | NULL |
|
n-family | text |
| 是 | NULL |
|
adr-street | text |
| 是 | NULL |
|
adr-extadd | text |
| 是 | NULL |
|
adr-locality | text |
| 是 | NULL |
|
adr-region | text |
| 是 | NULL |
|
adr-pcode | text |
| 是 | NULL |
|
adr-country | text |
| 是 | NULL |
|
org-orgname | text |
| 是 | NULL |
|
org-orgunit | text |
| 是 | NULL |
|