1.File conversion message
school account upload file after the transformation can receive this message
| Parameter names |
type |
instructions |
| Cmd |
String |
type is string,'FileCov' |
| FileID |
init |
file conversion ID |
| Result |
init |
conversion results:2 is success,3 is error |
| Data |
object |
conversion file describe |
| └ addTime |
init |
upload time |
| └ changeTime |
init |
conversion time |
| └ fileName |
string |
file name |
Response sample(The normal return json packet example)
{
'ActionTime': 1521541032,
'Cmd': 'FileCov',
'Result': 2,
'SID': 1001921,
'Data': {
'addTime': 1521541000,
'changeTime': 1521541032,
'fileName': 'origin'
},
'FileID': 9300
}
2.Test report of equipment outside the classroom
| Parameter names |
type |
instructions |
| Cmd |
String |
Type is String,'UserCheck' |
| Data |
Object |
Detailed equipment test results |
| └ OperatingSystem |
string |
operating system |
| └ ServerName |
string |
servere name |
| └ ClientIP |
string |
user IP |
| └ CPU |
string |
user CPU |
| └ NetworkDelay |
string |
network delay |
| └ FrameLoss |
string |
packet loss probability |
| └ MicrophoneArbitrary |
number |
The state of the microphone selected by the user(0:undetected,1:normal,2:abnormality) |
| └ HeadphoneArbitrary |
number |
The user selects the headset status (0:undetected,1:normal,2:abnormality) |
| └ CameraArbitrary |
number |
The user selects the camera status(0:undetected,1:normal,2:abnormality) |
| └ EEO_VIDEO_DEVICE_NAME |
string |
Choose the camera device name |
| └ EEO_AUDIO_DEVICE_NAME |
string |
Choose the microphone device name |
| └ EEO_AUDIO_OUTPUT_NAME |
string |
Choose the headset device name |
| └ EEO_DEVICE_LIST |
Object |
The hardware list |
| └ camera |
array |
List of all camera device names |
| └ micphone |
array |
List of all microphone equipment names |
| └ speaker |
array |
List of all speaker equipment names |
| └ MicrophoneImpersonal |
number |
Program detects microphone status(0:undetected,1:normal,2:abnormality) |
| └ HeadphoneImpersonal |
number |
Program detects headset status((0:undetected,1:normal,2:abnormality) |
| └ CameraImpersonal |
number |
Program detects camera status((0:undetected,1:normal,2:abnormality) |
| └ MicrophoneAttachment |
string |
Microphone accessories |
| └ HeadphoneAttachment |
string |
headset accessories (Temporary is empty) |
| └ CameraAttachment |
string |
camera accessories |
| └ ClassInVersion |
string |
Client version |
| └ Mac |
string |
MAC address |
| └ addTime |
string |
Self-checking time(timestamp) |
| └ InfoSource |
number |
Upload self-check timing:3,The introspection to complete;7,Self-inspection interrupt; |
Response sample(The normal return json packet example)
{
"_id" : "5ae021b6e826ef1964cb18d3",
"ActionTime" : 1524638134,
"UID" : 1577526,
"Cmd" : "UserCheck",
"SID" : 1228552,
"Data" : {
"MicrophoneArbitrary" : null,
"ClassInVersion" : "2.1.2.123",
"OperatingSystem" : "Windows 7",
"FrameLoss" : "0%",
"EEO_AUDIO_DEVICE_NAME" : "",
"CameraImpersonal" : 0,
"addTime" : 1524638134,
"CPU" : "Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz",
"EEO_AUDIO_OUTPUT_NAME" : "",
"Mac" : "00:FF:B3:D7:DC:D2",
"CameraArbitrary" : null,
"HeadphoneImpersonal" : 0,
"EEO_VIDEO_DEVICE_NAME" : "",
"ServerName" : "EEO-A1012 (Auto)",
"HeadphoneAttachment" : "",
"ClientIP" : "59.60.9.*",
"MicrophoneAttachment" : "https://root_url/upload/autocheck/",
"EEO_DEVICE_LIST" : "{\"camera\": [\"Logitech HD Webcam C270\"], \"micphone\": [\"HD Webcam C270\"], \"speaker\": [\"LG HDR 4K\"]}",
"MicrophoneImpersonal" : 0,
"CameraAttachment" : "",
"HeadphoneArbitrary" : null,
"InfoSource" : 3,
"NetworkDelay" : "50ms"
}
}