docs: def get_device_statistics(self, begin_date, end_date, device_id=None,
                                uuid=None, major=None, minor=None):
          """
          以设备为维度的数据统计接口
          http://mp.weixin.qq.com/wiki/0/8a24bcacad40fe7ee98d1573cb8a6764.html
  
          :param begin_date: 起始时间，最长时间跨度为30天
          :param end_date: 结束时间，最长时间跨度为30天
          :param device_id: 设备编号，若填了UUID、major、minor，则可不填设备编号，若二者都填，则以设备编号为优先
          :param uuid: UUID
          :param major: major
          :param minor: minor
          """
          data = {
              'device_identifier': {
                  'device_id': device_id,
                  'uuid': uuid,
                  'major': major,
                  'minor': minor
              },
              'begin_date': self._to_timestamp(begin_date),
              'end_date': self._to_timestamp(end_date)
          }
          res = self._post(
              'shakearound/statistics/device',
              data=data,
              result_processor=lambda x: x['data']
          )
          return res