class relevant information send after class

class relevant information including msg which suppose should be send after class , as msg type of Class total data,and some other important type of msg as Appraise Message、class Recording file Generated message、 class Recording file uploaded message、EDU answering msg.

in fact those msg should be kinds of realtime msg too. They are here because these msg provide most of the data that frequently asked.

1.Class total data

The summary data will be generated after the class closed(20minutes after the class end time),json format(please see examples for reference ).

Key data Instruction
Cmd String Type is string,'End'
Data object Contains all kinds of information in the classroom
└ stageEnd object On stage and under stage ;Statistics on the number of stepping down and the time on stage or under stage, if you enter the classroom it means you on stage and the whole class is in the classroom, and did not be stepped down, the number of on stage is 1, the time on stage is in class time
└ UID object user UID
  └ DownCount Int32 The number of under stage
  └ DownTotal Int32 The time under the stage
  └ UpCount Int32 Number of times on the stage
  └ UpTotal Int32 Time on the stage
└ handsupEnd object hand up;Statistics for frequency and time of students’handsing up .If the time interval is shorter,the time of this single hands up may be 0
└ UID object user UID
  └ CTime Int64 hand up number
  └ Total Int32 hand up total time
└ inoutEnd object into the classroom and out of the classroom
└ UID object user UID
  └ Total Int64 The sum of the time of the individual in the classroom
  └ Details object array Individual access to classroom records
    └ Type String into the classroom and out of the classroom:"In"or"Out"
    └ Time Int64 The time to enter the classroom and out of the classroom
  └ Identity Int32 User's identity
└ awardEnd object rewards
└ UID object user UID
  └ Total Int32 Get times of reward
└ timerEnd object The timer
  └ Count Int32 The number of times use a timer
└ muteEnd object mute
  └ Persons object targeting individual mute
    └ Total Int64 A person is in a state of being able to speak sum of the time
  └ MuteAll object teacher used all mute
    └ Count Int32 All mute number
    └ Total Int64 All mute time
└ smallboardEnd object small blackboard
  └ Count Int32 The number of USES of small blackboard
  └ Total Int64 Use the total length of the small blackboard
  └ Period array Every time I use the small blackboard the time period
  └ DCount Int32 The number of times of the every time use of a small blackboard
└ authorizeEnd object authorise
└ UID object user UID
    └ Count Int32 Authorization number
    └ Total Int64 authorise The total length
└ diceEnd object dice
  └ Count Int32 Use the dice number
└ answerEnd object Small tool for answering questions
  └ Count Int32 The total number of tools used to answer questions
  └ AverageAccuracy float The accuracy of the average answer
  └ Answers array object Every time answer question situation
    └ Answer question person object Answer question situation
      └ SelectedItem String Student choice answer
      └ LastCommitTime Int64 Time for students to submit answers
      └ RecvQuestionTime Int64 The students received the answer time
    └ Participants object array The description of the student who took part in the answer the question
      └ Identity Int32 answer the question identity
      └ Uid Int32 student ID
      └ ShowName String student nickname
    └ CorrectItems String The correct answer
    └ Accuracy float The correct probability of this problem
└ screenshareEnd object Screen sharing
  └ Count Int32 Screen sharing number of use
  └ Total Int64 Screen sharing the total length
  └ Period array Use screen time each time
└ responderEnd object The buzzer
  └ Count Int32 The buzzer number of use
  └ Persons object Participate in answering the user
    └ buzzer person object
      └ Count Int32 This person is involved in the number of answers
      └ SCount Int32 The number of times the person has won
└ kickoutEnd object Kicked out of the classroom
└ UID object array Was kicked out of people UID
    └ Duration Int32 Kick out the duration of the classroom
    └ Time Int64 Kick out the classroom time
└ sharewidgetEnd object courseware
  └ Files object array Use courseware every time particulars
    └ StartTime Int64 Open courseware time
    └ EndTime Int64 Close courseware time
    └ FileName String Courseware name
  └ Count Int32 Use the total number of courseware
  └ Total Int64 Use the total length of courseware
└ edbEnd object edb courseware
  └ Files object array details for each edb
    └ FileKey String file index, 0 for local file
    └ ActionTime Int32 when the edb was opened
    └ FileSource Int32 source of the edb: 0 local ; 1, clouddisk
    └ FileName String file name
└ equipmentsEnd object info of equipment
  └ UID object UID
    └ Camera object camera information
      └ Total Int32 total time when camera is opened, on stage time only
└ groupEnd object detail info of group function for each class
  └ Grouping object each time when grouping
    └ Count Int32 number of times of grouping
    └ Duration Int32 total duration of grouping
    └ Items object array each record of grouping
      └ Duration Int32 duration for a grouping
      └ StartTime Int32 start time of a grouping
      └ Groups object array members of groups
        └ GroupId Int32 group id
          └ Role Int32 role in group,1:team leader,0:team member
          └ UID object UID

Instance

{
    "ClassID": 25672,
    "CourseID" : 116576,
    "Cmd" : "End",
    "CloseTime" : 1499718000,
    "StartTime" : 1499653800,
    "SID" : 1000082,
    "Data" : {
        "edbEnd" : {
            "Files" : [ 
                {
                    "FileKey" : "49450405-9650126",
                    "ActionTime" : 1577188373,
                    "FileSource" : 1,
                    "FileName" : "小二 奥数 第5讲 火柴游戏.edb"
                }, 
                {
                    "FileKey" : "49179155-9650126",
                    "ActionTime" : 1577188447,
                    "FileSource" : 1,
                    "FileName" : "小二 奥数 第4讲 锯木头.edb"
                }, 
                {
                    "FileKey" : "49450405-9650126",
                    "ActionTime" : 1577188619,
                    "FileSource" : 1,
                    "FileName" : "小二 奥数 第5讲 火柴游戏.edb"
                }
            ]
        },
        "stageEnd" : {
            "1002646" : {
                "DownCount" : 0,
                "UpTotal" : 965,
                "UpCount" : 1,
                "DownTotal" : 0
            },
            "1002647" : {
                "DownCount" : 1,
                "DownTotal" : 7,
                "UpCount" : 2,
                "UpTotal" : 957
            },
            "1002648" : {
                "DownCount" : 3,
                "DownTotal" : 11,
                "UpCount" : 4,
                "UpTotal" : 816
            }
        },
        "handsupEnd" : {
            "1002647" : {
                "CTime" : 3,
                "Total" : 1
            }
        },
        "awardEnd" : {
            "1002647" : {
                "Total" : 2
            },
            "1002648" : {
                "Total" : 2
            }
        },
        "timerEnd" : {
            "Count" : 3,
            "Timing_Count" : 0
        },
        "muteEnd" : {
            "Persons" : {
                "1002646" : {
                    "Total" : 965
                },
                "1002647" : {
                    "Total" : 957
                },
                "1002648" : {
                    "Total" : 34
                }
            },
            "MuteAll" : {

            }
        },
        "groupEnd" : {
                        "Grouping" : {
                            "Count" : 2,
                            "Items" : [ 
                                {
                                    "Duration" : 6,
                                    "Groups" : [ 
                                        {
                                            "1" : [ 
                                                {
                                                    "Role" : 1,
                                                    "UID" : 1013566
                                                }, 
                                                {
                                                    "Role" : 0,
                                                    "UID" : 1013567
                                                }
                                            ]
                                        }, 
                                        {
                                            "2" : [ 
                                                {
                                                    "Role" : 0,
                                                    "UID" : 1013564
                                                }, 
                                                {
                                                    "Role" : 1,
                                                    "UID" : 1013565
                                                }
                                            ]
                                        }
                                    ],
                                    "StartTime" : 1594868086
                                }, 
                                {
                                    "Duration" : 4,
                                    "Groups" : [ 
                                        {
                                            "1" : [ 
                                                {
                                                    "Role" : 1,
                                                    "UID" : 1013564
                                                }, 
                                                {
                                                    "Role" : 0,
                                                    "UID" : 1013567
                                                }
                                            ]
                                        }, 
                                        {
                                            "2" : [ 
                                                {
                                                    "Role" : 1,
                                                    "UID" : 1013566
                                                }
                                            ]
                                        }, 
                                        {
                                            "3" : [ 
                                                {
                                                    "Role" : 1,
                                                    "UID" : 1013565
                                                }
                                            ]
                                        }
                                    ],
                                    "StartTime" : 1594868093
                                }
                            ],
                            "Duration" : 10
                        }
        },
        "inoutEnd" : {
            "1002646" : {
                "Total" : 965,
                "Details" : [
                    {
                        "Type" : "In",
                        "Device": 0,
                        "Time" : 1499673085
                    },
                    {
                        "Type" : "Out",
                        "Time" : 1499674050
                    }
                ],
                "Identity": 1
            },
            "1002647" : {
                "Total" : 964,
                "Details" : [
                    {
                        "Type" : "In",
                        "Device": 0,
                        "Time" : 1499673094
                    },
                    {
                        "Type" : "Out",
                        "Time" : 1499674058
                    }
                ],
                "Identity": 3
            },
            "1002648" : {
                "Total" : 827,
                "Details" : [
                    {
                        "Type" : "In",
                        "Device": 0,
                        "Time" : 1499673196
                    },
                    {
                        "Type" : "Out",
                        "Time" : 1499674023
                    }
                ],
                "Identity": 1
            }
        },
        "smallboardEnd" : {
            "Count" : 1,
            "Total" : 309,
            "Period" : [
                309
            ],
            "DCount" : 4
        },
        "authorizeEnd" : {
            "1002646" : {
                "Count" : 0,
                "Total" : 0
            },
            "1002647" : {
                "Count" : 2,
                "Total" : 38
            },
            "1002648" : {
                "Count" : 0,
                "Total" : 0
            }
        },
        "diceEnd" : {
            "Count" : 5
        },
        "answerEnd" : {
            "Count" : 2,
            "AverageAccuracy" : 0.5,
            "Answers" : [
                {
                    "1002647" : {
                        "SelectedItem" : "B",
                        "LastCommitTime" : 1499673922,
                        "RecvQuestionTime" : 1499673916
                    },
                    "Participants" : [
                        {
                            "Identity" : 1,
                            "Uid" : 1002647,
                            "ShowName" : "236...0002"
                        },
                        {
                            "Identity" : 1,
                            "Uid" : 1002648,
                            "ShowName" : "236...0003"
                        }
                    ],
                    "CorrectItems" : "A",
                    "1002648" : {
                        "SelectedItem" : "A",
                        "LastCommitTime" : 1499673920,
                        "RecvQuestionTime" : 1499673915
                    },
                    "Accuracy" : 0.5
                },
                {
                    "1002647" : {
                        "SelectedItem" : "BCE",
                        "LastCommitTime" : 1499673972,
                        "RecvQuestionTime" : 1499673968
                    },
                    "Participants" : [
                        {
                            "Identity" : 1,
                            "Uid" : 1002647,
                            "ShowName" : "236...0002"
                        },
                        {
                            "Identity" : 1,
                            "Uid" : 1002648,
                            "ShowName" : "236...0003"
                        }
                    ],
                    "CorrectItems" : "BCE",
                    "1002648" : {
                        "SelectedItem" : "ABC",
                        "LastCommitTime" : 1499673978,
                        "RecvQuestionTime" : 1499673967
                    },
                    "Accuracy" : 0.5
                }
            ]
        },
        "screenshareEnd" : {
            "Count" : 1,
            "Total" : 31,
            "Period" : [
                31
            ]
        },
        "responderEnd" : {
            "Count" : 2,
            "Persons" : {
                "1002647" : {
                    "Count" : 2,
                    "SCount" : 1
                },
                "1002648" : {
                    "Count" : 2,
                    "SCount" : 1
                }
            }
        },
        "sharewidgetEnd" : {
            "Files" : [
                {
                    "EndTime" : 1502178862,
                    "StartTime" : 1502178812,
                    "FileName" : "animal.wmv"
                }
            ],
            "Count" : 1,
            "Total" : 50
        },
        "kickoutEnd" : {
            "1002648" : [
                {
                    "Duration" : 300,
                    "Time" : 1499674023
                }
            ]
        }
        "equipmentsEnd": {
            "100092": {
                "Camera": {
                    "Total": 25
                }
            }
        }
    }
}

2.Appraise message

When students or teachers leaving the classroom,they can give own after-school appraise:

  1. Every one evaluation is push separately:teacher appraise the students is one, each student's appraise of his teacher is one;

  2. If users come in and out of the classroom many times, such messages will be pushed multiple times, each time for the current latest evaluation;

Key Type meaning
Cmd String Type is string,'Rating'
TUID Int32 Teacher UID
└ Comments Object Appraise content
  └ UID Object Student UID
    └ Account String Student account
    └ T2S or S2T Object Teacher appraise the students is T2S,students appraise the teacher is S2T.
      └ Comment String Appraise content
      └ Score Int32 scoring

Instance

Teacher appraise the students

{
    "ActionTime" : 1513150417,
    "CID" : 4136927,
    "CourseID" : 1232019,
    "Cmd" : "Rating",
    "Comments" : {
        "1044042" : {
            "T2S" : {
                "Comment" : "Good student!",
                "Score" : 5
            },
            "Account" : "23605370012"
        },
        "1044040" : {
            "T2S" : {
                "Comment" : "",
                "Score" : 3
            },
            "Account" : "23605370011"
        }
    },
    "TUID" : 1024920,
    "SID" : 1024920
}

students appraise the teacher

{
    "ActionTime" : 1513150527,
    "CID" : 4136927,
    "CourseID" : 1232019,
    "Cmd" : "Rating",
    "Comments" : {
        "1044040" : {
            "Account" : "23605370011",
            "S2T" : {
                "Comment" : "Good teacher!",
                "Score" : 4
            }
        }
    },
    "TUID" : 1024920,
    "SID" : 1024920
}

3.Recording class file generated message

The recording of the class may be segmented into multiple files, and the record files will be generated with the following json format(The instance data is at the end of the text)

Key Type Instruction
Cmd String Type is a string,'Record'
VUrl String The link address of the video file
VST Int64 Video start time
VET Int64 Video end time
Duration Int64 The video time
FileId String file Id
Size Int64 file size

Instance


{
    "ClassID": 51345,
    "ActionTime": 1562838399,
    "CourseID": 18041431,
    "SID": 257,
    "TimeStamp": 1562839007,
    "VET": 1501747090,
    "VST": 1501746988,
    "Cmd": "Record",
    "VUrl": "http: //1252412222.vod2.myqcloud.com/e0d4af56vodgzp1252412222/6a0543209031868223084052851/f0.mp4",
    "Duration": 12345,
    "FileId": '123',
    "Size": 100
}

Recording class file uploaded message

Client can upload recording file for a class in eeo.cn . if the file's uploaded sucessfully , the msg will be send

Key Type Instruction
Cmd String string of 'Upload'
VUrl String address of the file
Duration Int64 duration of the file
FileId String file id
Size Int64 file size

Instance


{
    "ClassID": 51345,
    "ActionTime": 1562838399,
    "CourseID": 18041431,
    "SID": 257,
    "TimeStamp": 1562839007,
    "Cmd": "Upload",
    "VUrl": "http: //1252412222.vod2.myqcloud.com/e0d4af56vodgzp1252412222/6a059031868223084052851/f0.mp4",
    "Duration": 12345,
    "FileId": '123',
    "Size": 100
}

EDU answering msg

there's a edu course ware in classin, this msg send out when teacher finished a edu file.

Key Type Instruction
Cmd String 'EduDt'
Data object content
└ type string QRExam or clientappExam
└ startTime int start time, by ms
└ endTime int end time by ms
└ questionList array questionlist
  └ index int index of the question
  └ rightAnswer string correct answer
  └ studentAnswers array answer of the students
    └ nickname string nickname of the student
    └ answer string answer of the student  

Instance


{
    "SID": 1000082,
    "CID": 380592,
    "Data": {
        "type": "QRExam",
        "startTime": 1573097646000,
        "endTime": 1573097654009,
        "questionList": [{
            "index": 0,
            "rightAnswer": "A,B",
            "studentAnswers": [
            {
                nickname:'学生1',
                answer:'A,C'
            },{
                nickname:'学生2',
                answer:'A,D'
            }
            ]
        }, {
            "index": 1,
            "rightAnswer": "",
            "studentAnswers": []
        }, {
            "index": 2,
            "rightAnswer": "",
            "studentAnswers": []
        }]
    },
    "Cmd": "EduDt"
}

results matching ""

    No results matching ""