六小象SDK(Windows)
首页
语言/Langguage
  • 中文
  • English
首页
语言/Langguage
  • 中文
  • English
  1. gRPC interface
  • Get started quickly
  • Docking availability
  • Functional classification
  • Features
    • Device activation
  • gRPC interface
    • gRPC interface documentation
  • HTTP interface
    • Version information
      • GetVersion to get version information
      • GetLatestVersion to get the latest version
    • Advanced configuration
      • AdvancedConfigGet - AdvancedConfigGet
      • AdvancedConfigSet Advanced Config - Modify
    • Camera management
      • CameraEnum Camera-enumeration device
      • CameraChange camera-device switching
      • CameraDetectRangeGet Camera-Recognition Area Get
      • CameraDetectRangeSet Camera-Recognition Area Modification
    • Device management
      • DeviceGetInfo device-get-info
      • DeviceActivate Device - Activate
      • DeviceShopChange - Store Modification
    • Intelligent recognition
      • AiPushWeight intelligently recognizes and pushes weight information
      • AiImageDetectIgnoreSet - Image Detection Filtering Settings
      • AiRegisterResultCallback - Callback of the registration recognition result
      • AiUnsafeMatching Intelligent Recognition - Non-Security AI Recognition (Strongly Not Recommended)
      • AiLearning
      • AiFastLearning Intelligent Recognition - Fast Learning
    • Product features
      • SkuFeatQueryImage Product Features - Query the learned image
      • SkuFeatQuery Product Features - Query feature information
      • SkuFeatRemove Product Features - Removes the specified characteristics of a specified product
      • SkuFeatClear Product Features - Clears all characteristics of the specified product
    • Learning data
      • LearnDataUpload Learning Data - Upload
      • LearnDataClear Learning Data - Empty
    • Algorithmic models
      • AlgoModelEnum algorithm model-enumeration
      • AlgoModelChange algorithm model-switching
    • Product data
      • SkuDataImport Product Data - Import
      • SkuDataDelete - Delete
      • SkuDataIconMatch Product Data - Main Image Match
    • Automatic syncing
      • AutoSyncGetSelfInfo Auto Sync - Get native information
      • AutoSyncGetGroupsInfo - Get grouping table information
      • AutoSyncRemoveDevice Auto Sync - Remove the device
      • AutoSyncJoinGroup
      • AutoSyncExitGroup Auto-sync-exit group
      • AutoSyncSetIntervalTime - Set the interval
      • AutoSyncUpdateDataSyncRule - Updates the data synchronization rule
      • AutoSyncCreateGroup Auto Sync - Create a group
      • AutoSyncUpdateGroupName Auto Sync - Update the group name
  1. gRPC interface

gRPC interface documentation

SanQingNiaoApi

SanQingNiaoApi is the API interface of the Three Blue Birds

Method NameRequest TypeResponse TypeDescription
GetVersionGetVersionParamsGetVersionReply
GetVersion to get version information

Permissions:

1. Any activation status can be called
GetLatestVersionGetLatestVersionParamsGetLatestVersionReply
GetLatestVersion to get the latest version

Permissions:

1. Only the activated state can be called
AdvancedConfigGetAdvancedConfigGetParamsAdvancedConfigGetReply
AdvancedConfigGet - Get

Permissions:

1. Any activation status can be called

Illustrate:

1. All configuration items are persisted and stored by the SDK, and no external storage is required
AdvancedConfigSetAdvancedConfigSetParamsAdvancedConfigSetReply
AdvancedConfigSet - Modify

Permissions:

1. Any activation status can be called

Illustrate:

1. All configuration items are persisted and stored by the SDK, and no external storage is required
CameraEnumCameraEnumParamsCameraEnumReply
CameraEnum Camera-Enumeration device

Permissions:

1. Any activation status can be called
CameraChangeCameraChangeParamsCameraChangeReply
CameraChange camera-to-device switching

Permissions:

1. Any activation status can be called
CameraFrameCameraFrameParamsCameraFrameReply
CameraFrame Camera-Image frame

Permissions:

1. Any activation status can be called
CameraDetectRangeGetCameraDetectRangeGetParamsCameraDetectRangeGetReply
CameraDetectRangeGet Camera-Recognition Area Get

Permissions:

1. Any activation status can be called
CameraDetectRangeSetCameraDetectRangeSetParamsCameraDetectRangeSetReply
CameraDetectRangeSet Camera-Recognition Area Modification

Permissions:

1. Any activation status can be called
DeviceGetInfoDeviceGetInfoParamsDeviceGetInfoReply
DeviceGetInfo Device - Get information

Permissions:

1. Any activation status can be called
DeviceActivateDeviceActivateParamsDeviceActivateReply
DeviceActivate Device - Activate

Permissions:

1. Any activation status can be called
DeviceShopChangeDeviceShopChangeParamsDeviceShopChangeReply
DeviceShopChange Device - Store Modification

Permissions:

1. Only the activated state can be called
AiPushWeightAiPushWeightParamsAiPushWeightReply
AiPushWeight Intelligent Recognition - Push weight information

Permissions:

1. Only the activated state can be called
AiImageDetectIgnoreSetAiImageDetectIgnoreSetParamsAiImageDetectIgnoreSetReply
AiImageDetectIgnoreSet - Image Detection Filtering Settings

Permissions:

1. Only the activated state can be called
AiListenResultAiListenResultParamsAiListenResultReply stream
AiListenResult Intelligent Recognition - Listens for the recognition results

Permissions:

1. Only the activated state can be called

2. You can choose one of the AiListenResult and AiRegisterResultCallback interfaces
AiRegisterResultCallbackAiRegisterResultCallbackParamsAiRegisterResultCallbackReply
AiRegisterResultCallback - Callback for registration and recognition results

Permissions:

1. Only the activated state can be called

2. You can choose one of the AiListenResult and AiRegisterResultCallback interfaces
AiUnsafeMatchingAiPushWeightParamsAiListenResultReply
AiUnsafeMatching Intelligent Recognition - Non-Security AI Recognition (Strongly Not Recommended)

Permissions:

1. Only the activated state can be called

Illustrate:

1. Please do not use this interface unless it is a special case, as it cannot guarantee the use effect of the whole life cycle
AiLearningAiLearningParamsAiLearningReply
AiLearning

Permissions:

1. Only the activated state can be called
AiFastLearningAiFastLearningParamsAiFastLearningReply
AiFastLearning Intelligent Recognition - Fast Learning

Permissions:

1. Only the activated state can be called
SkuFeatQueryImageSkuFeatQueryImageParamsSkuFeatQueryImageReply
SkuFeatQueryImage Product Features - Queries the learned image

Permissions:

1. Only the activated state can be called
SkuFeatQuerySkuFeatQueryParamsSkuFeatQueryReply
SkuFeatQuery Commodity Characteristics - Query feature information

Permissions:

1. Only the activated state can be called
SkuFeatRemoveSkuFeatRemoveParamsSkuFeatRemoveReply
SkuFeatRemove Product Characteristics - Removes the specified characteristics of the specified product

Permissions:

1. Only the activated state can be called
SkuFeatClearSkuFeatClearParamsSkuFeatClearReply
SkuFeatClear Product Features - Clears all characteristics of the specified product

Permissions:

1. Only the activated state can be called
LearnDataImportLearnDataImportParamsLearnDataImportReply
LearnDataImport Learning Data - Import

Permissions:

1. Only the activated state can be called
LearnDataExportLearnDataExportParamsLearnDataExportReply
LearnDataExport - Export

Permissions:

1. Only the activated state can be called
LearnDataUploadLearnDataUploadParamsLearnDataUploadReply
LearnDataUpload Learning Data - Upload

Permissions:

1. Only the activated state can be called
LearnDataClearLearnDataClearParamsLearnDataClearReply
LearnDataClear Learning Data - Clear

Permissions:

1. Only the activated state can be called
AlgoModelEnumAlgoModelEnumParamsAlgoModelEnumReply
AlgoModelEnum Algorithm Model-Enumeration

Permissions:

1. Only the activated state can be called
AlgoModelChangeAlgoModelChangeParamsAlgoModelChangeReply
AlgoModelChange algorithm model-switching

Permissions:

1. Only the activated state can be called
SkuDataImportSkuDataImportParamsSkuDataImportReply
SkuDataImport Product Data - Import

Permissions:

1. Only the activated state can be called
SkuDataDeleteSkuDataDeleteParamsSkuDataDeleteReply
SkuDataDelete Product Data - Delete

Permissions:

1. Only the activated state can be called
SkuDataIconMatchSkuDataIconMatchParamsSkuDataIconMatchReply
SkuDataIconMatch Product Data - Main Image Match

Permissions:

1. Only the activated state can be called
AutoSyncGetSelfInfoAutoSyncGetSelfInfoParamsAutoSyncGetSelfInfoReply
AutoSyncGetSelfInfo - Get native information

Permissions:

1. Only the activated state can be called
AutoSyncGetGroupsInfoAutoSyncGetGroupsInfoParamsAutoSyncGetGroupsInfoReply
AutoSyncGetGroupsInfo - Get group table information

Permissions:

1. Only the activated state can be called
AutoSyncRemoveDeviceAutoSyncRemoveDeviceParamsAutoSyncRemoveDeviceReply
AutoSyncRemoveDevice - Remove the device

Permissions:

1. Only the activated state can be called
AutoSyncJoinGroupAutoSyncJoinGroupParamsAutoSyncJoinGroupReply
AutoSyncJoinGroup Auto-sync-join group

Permissions:

1. Only the activated state can be called
AutoSyncExitGroupAutoSyncExitGroupParamsAutoSyncExitGroupReply
AutoSyncExitGroup Auto-sync-exit group

Permissions:

1. Only the activated state can be called
AutoSyncSetIntervalTimeAutoSyncSetIntervalTimeParamsAutoSyncSetIntervalTimeReply
AutoSyncSetIntervalTime - Set the interval time

Permissions:

1. Only the activated state can be called
AutoSyncUpdateDataSyncRuleAutoSyncUpdateDataSyncRuleParamsAutoSyncUpdateDataSyncRuleReply
AutoSyncUpdateDataSyncRule - Updates the data synchronization rule

Permissions:

1. Only the activated state can be called
AutoSyncCreateGroupAutoSyncCreateGroupParamsAutoSyncCreateGroupReply
AutoSyncCreateGroup - Creates a group

Permissions:

1. Only the activated state can be called
AutoSyncUpdateGroupNameAutoSyncUpdateGroupNameParamsAutoSyncUpdateGroupNameReply
AutoSyncUpdateGroupName Auto Sync - Updates the group name

Permissions:

1. Only the activated state can be called

Top

sanqingniaopb/message_common.proto

ActivateInfo

ActivateInfo device activation information

FieldTypeLabelDescription
activateCodestring
Activation code
activateExpireTimeint64
Activate the expiration time

AlgoModelInfo

AlgoModelInfo algorithm model information

FieldTypeLabelDescription
codeuint32
Model code
namestring
The name of the model

AutoSyncDeviceInfo

AutoSyncDeviceInfo automatically synchronizes device information

FieldTypeLabelDescription
deviceSNstring
Device SN
hostNamestring
host name
systemTypeSystemType
System type
algoModeluint32
Algorithmic models
servicePortuint32
Service port number
ipAddrListstringrepeated
List of IP addresses
dataSyncRuleAutoSyncDataSyncRule
Data synchronization rules
statusbool
Device status (false: offline, true: online)
latestPullAtuint64
Learn when the data was last pulled

AutoSyncGroupInfo

AutoSyncGroupInfo automatically synchronizes group information

FieldTypeLabelDescription
groupIDstring
Group ID
groupNamestring
Group name
groupUpdateAtuint64
The time when the group information is updated
deviceInfoListAutoSyncDeviceInforepeated
A list of devices

CameraInfo

CameraInfo camera information

FieldTypeLabelDescription
idstring
Camera ID
namestring
Camera name
usbPathstring
Device USB path
sysPathstring
Device system path
resolutionInfoListCameraResolutionInforepeated
A list of supported resolutions

CameraResolutionInfo

CameraResolutionInfo Camera resolution information

FieldTypeLabelDescription
widthuint32
Image Width (pixels)
heightuint32
Image height (pixels)
fpsuint32
Image frame rate (frames/sec)

DeviceInfo

DeviceInfo device information

FieldTypeLabelDescription
deviceSNstring
Device SN
activateInfoActivateInfo
Activation Information
shopShopInfo
Store information

PlanePositionInfo

PlanePositionInfo plane coordinate information

FieldTypeLabelDescription
xuint32
X-axis coordinate value
yuint32
Y-axis coordinate value

ShopInfo

ShopInfo store information

FieldTypeLabelDescription
codestring
Store code [no modification allowed]
namestring
The name of the store
scaleAliasstring
Scale number alias
externalCodestring
External store code

SkuFeatImageInfo

SkuFeatImageInfo Product feature image information

FieldTypeLabelDescription
idint64
Identification ID
pathstring
The HTTP access path of the image

SkuFeatNumberInfo

SkuFeatNumberInfo Quantity information for product characteristics

FieldTypeLabelDescription
skuSkuInfo
Product information
numberuint64
Number of features

SkuIconInfo

SkuIconInfo product main image information

FieldTypeLabelDescription
skuSkuInfo
Product information
iconListstringrepeated
A list of the main images of the matched products
keywordListstringrepeated
A list of keywords that were matched
preLearningLabelint32
Matched product pre-learning tags

SkuInfo

SkuInfo listings

FieldTypeLabelDescription
codestring
Product unique identifier
namestring
The title of the product
spuCodestring
Product parent code (if spuCode==code or spuCode is empty, the product is a top-level product)

SkuSaleInfo

SkuSaleInfo product sales information

FieldTypeLabelDescription
salesint32
Sales: weight (grams), quantity
priceUnitint32
Pricing method (0-weight pricing, 1-quantity pricing)
priceint32
Original unit price (min/kg)
salePriceint32
Sales unit price (min/kg)
amountint32
Total sales price (min)
barCodestring
Barcodes
priceChangeModeint32
Whether the price of the product has been changed (0 - no price change, 1 - unit price, 2 - total price)
priceTypeint32
Price type (1 - regular price, 2 - temporary price change, 3 - permanent price change, 4 - Tiered price change)

SkuStatusInfo

SkuStatusInfo Listing status information

FieldTypeLabelDescription
skuSkuInfo
Product information
statusSkuStatus
The status of the item

VendorInfo

VendorInfo vendor information

FieldTypeLabelDescription
codestring
Authorization code
keystring
Authorization key

VersionDownloadInfo

VersionInfo version download information

FieldTypeLabelDescription
versionInfoVersionInfo
Version information
urlstring
Download link

VersionInfo

VersionInfo version information

FieldTypeLabelDescription
appTypeuint32
The type of application
versionstring
Version number
internalVersionstring
Build number

AdvancedConfigKey

AdvancedConfigKey

NameNumberDescription
DetectMode0
Detection mode (value range: 0 - weight detection, 1 - image detection; Assignment field: uint32Val)
WeightDetectMode1
Weight detection mode (value range: 0 - after meeting the minimum recognition weight; Assignment field: uint32Val)
WeightDetectMinValue2
Weight detection minimum trigger weight (unit: grams; Value range: closed interval [1,10000]; Assignment field: uint32Val)
WeightDetectAppendMinValue3
Weight detection: The minimum trigger weight (unit: grams) is added to the product stack. Value range: closed interval [1,10000]; Assignment field: uint32Val)
WeightDetectStatusJudgment4
Weight detection status judgment mode (value range: 0-external incoming, 1-internal automatic; Assignment field: uint32Val)
WeightDetectCameraDelay5
Gravimetric camera photography delay time (unit: milliseconds; Value range: closed interval [0,5000]; Assignment field: uint32Val)
ImageDetectMode20
Image detection mode (value range: 0-feature similarity; Assignment field: uint32Val)
ImageDetectIgnoreThreshold21
Image detection ignores the similarity threshold (value range: closed interval [0,1000]; Assignment field: uint32Val)
ImageDetectStableNumber22
Number of stable statistics of image detection features (value range: closed interval [2,20]; Assignment field: uint32Val)
ImageDetectStableThreshold23
Stable similarity threshold of image detection features (value range: closed interval [0,1000]; Assignment field: uint32Val)
ImageDetectRepeatThreshold24
Repeat similarity threshold for image detection features (value range: closed interval [0,1000]; Assignment field: uint32Val)
ImageDetectInterval25
Image detection interval time (unit: milliseconds; Value range: closed interval [0,5000]; Assignment field: uint32Val)
MaxOutputNum100
Maximum number of recognition outputs (value range: closed interval [1,10]; Assignment field: uint32Val)
PerformanceMode101
Inference Engine Processor Usage Mode (Value range: 0-Balanced mode, 1-Performance mode; Assignment field: uint32Val)
PreLearnSwitch102
Pre-learning switch (value range: true-on, false-off; Assignment field: boolVal)

AutoSyncDataSyncRule

AutoSyncDataSyncRule automatically synchronizes data synchronization rules

NameNumberDescription
AutoSyncDataSyncRuleDisable0
Automatic Synchronization of Data Synchronization Rules: Disables data synchronization
AutoSyncDataSyncRuleDuplex1
Automatic Synchronization Data Synchronization Rules: Bidirectional data synchronization
AutoSyncDataSyncRuleOnlySend2
Auto-sync data synchronization rule: Only send data
AutoSyncDataSyncRuleOnlyReceive3
Auto-sync data synchronization rules: Receive data only

LearnDataExportMode

LearnDataExportMode to learn the data export mode

NameNumberDescription
LearnDataExportModeFull0
Full export
LearnDataExportModeIncrSku1
Incremental export of product dimensions
LearnDataExportModeIncrFeat2
Feature dimension incremental export

LearnDataImportMode

LearnDataImportMode Learn the data import mode

NameNumberDescription
LearnDataImportModeFull0
Full import
LearnDataImportModeIncrSku1
Incremental import of product dimensions
LearnDataImportModeIncrFeat2
Feature dimension incremental import
LearnDataImportModeStrictFull3
Full import in strict mode
LearnDataImportModeStrictIncrSku4
Strict mode product dimension incremental import
LearnDataImportModeStrictIncrFeat5
Strict mode feature dimension incremental import

LearningMode

LearningMode

NameNumberDescription
LearningModeSearch0
Use search to learn
LearningModeShortcut1
Use shortcuts to learn
LearningModeOutput2
Learn using the output
LearningModeSkip3
Skip learning

SkuDataImportMode

SkuDataImportMode Product data import mode

NameNumberDescription
SkuDataImportModeIncr0
Incremental imports
SkuDataImportModeFull1
Full import

SkuStatus

SkuStatus Status

NameNumberDescription
SkuStatusNone0
does not exist
SkuStatusNormal1
normal
SkuStatusTemporaryLock2
Temporary lock
SkuStatusPermanentLock3
Permanently locked

SystemType

SystemType

NameNumberDescription
SystemTypeUnknown0
SystemTypeWindows1
SystemTypeLinux2
SystemTypeAndroid3

VersionUpdateType

VersionUpdateType

NameNumberDescription
VersionUpdateTypeUnknown0
Unknown
VersionUpdateTypeOptional1
Optional updates
VersionUpdateTypeQuiet2
Silent updates
VersionUpdateTypeForce3
Mandatory updates

WeightStatus

WeightStatus

NameNumberDescription
WeightStatusUnstable0
instability
WeightStatusStable1
stable
WeightStatusUnder2
Underload
WeightStatusOverflow3
overload
WeightStatusException4
abnormal

Top

sanqingniaopb/message_params.proto

AdvancedConfigGetParams

AdvancedConfigGetParams - Get

FieldTypeLabelDescription
keyAdvancedConfigKey
Configuration item key name【Required】

AdvancedConfigSetParams

AdvancedConfigSetParams Advanced Configuration - Modify

FieldTypeLabelDescription
keyAdvancedConfigKey
Configuration item key name【Required】
doubleValdouble
Double-precision floating-point value
floatValfloat
Single-precision floating-point value
int32Valint32
Signed 32-bit integer values
int64Valint64
Signed 64-bit integer value
uint32Valuint32
Unsigned 32-bit integer values
uint64Valuint64
Unsigned 64-bit integer value
boolValbool
Boolean values
stringValstring
String-type values
bytesValbytes
Byte slices/byte arrays

AiFastLearningParams

AiFastLearningParams Intelligent Recognition - Fast Learning

FieldTypeLabelDescription
skuSkuInfo
Target product information [required]

AiImageDetectIgnoreSetParams

AiImageDetectIgnoreSetParams Smart Recognition - Image Detection Filtering Settings

AiLearningParams

AiLearningParams Intelligent Recognition-Learning

FieldTypeLabelDescription
idint64
Identification ID【Required】
skuSkuInfo
Required Learning Product Information【Required】
learningModeLearningMode
Study Mode【Required】
skuSaleInfoSkuSaleInfo
Product sales information [optional]

AiListenResultParams

AiListenResultParams Intelligent Recognition - Listens to the recognition results

AiPushWeightParams

AiPushWeightParams intelligently identifies and pushes weight information

FieldTypeLabelDescription
weightint32
Weight (unit: grams)【Required】
statusWeightStatus
Weight Status【Optional】
forceMatchingbool
Whether or not you want to make a mandatory identification of this weight (optional)
transparentDatastring
Transparent data, which will be returned together in the recognition result [optional]

AiRegisterResultCallbackParams

AiRegisterResultCallbackParams - Callback for registration and recognition results

FieldTypeLabelDescription
urlstring
Callback address【required】

AlgoModelChangeParams

AlgoModelChangeParams Algorithmic Model - Model

FieldTypeLabelDescription
codeuint32
Model Code【Required】

AlgoModelEnumParams

AlgoModelEnumParams Algorithm Model - Enum

AutoSyncCreateGroupParams

AutoSyncCreateGroupParams Auto Sync - Create a group

FieldTypeLabelDescription
groupNamestring
Group Name (up to 20 characters in length) [required]

AutoSyncExitGroupParams

AutoSyncExitGroupParams Auto-sync-exit group

AutoSyncGetGroupsInfoParams

AutoSyncGetGroupsInfoParams Auto Sync - Get group table information

AutoSyncGetSelfInfoParams

AutoSyncGetSelfInfoParams Auto Sync - Get native information

AutoSyncJoinGroupParams

AutoSyncJoinGroupParams Auto-sync-join group

FieldTypeLabelDescription
groupIDstring
Group ID【Required】
groupNamestring
Group Name【Required】

AutoSyncRemoveDeviceParams

AutoSyncRemoveDeviceParams Auto Sync - Remove the device

FieldTypeLabelDescription
groupIDstring
Group ID (blank will clear all groups)
deviceSNstring
Device SN (Empty will clear the specified group)

AutoSyncSetIntervalTimeParams

AutoSyncSetIntervalTimeParams - Sets the synchronization interval

FieldTypeLabelDescription
broadcastIntervaluint32
Broadcast Time Interval (Unit: Seconds)【Required】
dataSyncIntervaluint32
Data Synchronization Interval (Unit: Minutes)【Required】

AutoSyncUpdateDataSyncRuleParams

AutoSyncUpdateDataSyncRuleParams Auto Sync - Updates the data synchronization rule

FieldTypeLabelDescription
dataSyncRuleAutoSyncDataSyncRule
Data Synchronization Rules [Required]
dataPullRuleLearnDataExportMode
Data Pull Rules [Required]
dataImportRuleLearnDataImportMode
Data Import Rules [Required]

AutoSyncUpdateGroupNameParams

AutoSyncUpdateGroupNameParams Auto Sync - Update the group name

FieldTypeLabelDescription
groupNamestring
Group Name (up to 20 characters in length) [required]

CameraChangeParams

CameraChangeParams Camera-toggle

FieldTypeLabelDescription
idstring
Camera ID to be used【Required】
resolutionInfoCameraResolutionInfo
Camera image resolution to be used [required]

CameraDetectRangeGetParams

CameraDetectRangeGetParams Camera-Recognition Area Acquisition

FieldTypeLabelDescription
maxRenderWidthuint32
Maximum Render Width (Unit: Pixels) [Required]
maxRenderHeightuint32
Maximum Render Height (Unit: Pixel) [Required]

CameraDetectRangeSetParams

CameraDetectRangeSetParams Camera - Recognize Area Modification

FieldTypeLabelDescription
renderWidthuint32
Actual Rendering Width (Unit: Pixel) [Required]
renderHeightuint32
Actual Render Height (Unit: Pixel) [Required]
dotListPlanePositionInforepeated
List of coordinates of the recognition area (the origin is the upper left corner of the image, and the coordinates are the actual rendered values after conversion) [required]

CameraEnumParams

CameraEnumParams Camera-enumeration

CameraFrameParams

CameraFrameParams Camera-Image Frame

DeviceActivateParams

DeviceActivateParams Device - Activated

FieldTypeLabelDescription
activateCodestring
Activation Code [Required]
shopShopInfo
Store Information【Optional】

DeviceGetInfoParams

DeviceGetInfoParams Device - Get information

DeviceShopChangeParams

DeviceShopChangeParams Device-Store Modification

FieldTypeLabelDescription
shopInfoShopInfo
Store Information【Required】

GetLatestVersionParams

GetLatestVersionReply to get the latest version

GetVersionParams

GetVersionParams to get the version information

LearnDataClearParams

LearnDataClearParams Learning Data - Cleared

LearnDataExportParams

LearnDataExportParams Learning Data - Export

FieldTypeLabelDescription
modeLearnDataExportMode
Export Mode【Required】
nodeTimestampint64
Specify the millisecond timestamp of the time node, only the incremental export is valid [optional]

LearnDataImportParams

LearnDataImportParams Learning Data - Import

FieldTypeLabelDescription
modeLearnDataImportMode
Import Mode【Required】
databytes
Learning Data [Required]

LearnDataUploadParams

LearnDataUploadParams Learning Data - Upload

SkuDataDeleteParams

SkuDataDeleteParams Product Data - Delete

FieldTypeLabelDescription
skuListSkuInforepeated
Product Data List (required)

SkuDataIconMatchParams

SkuDataIconMatchParams Product Data - Main Image Match

FieldTypeLabelDescription
skuListSkuInforepeated
Product Data List (required)

SkuDataImportParams

SkuDataImportParams Product Data - Import

FieldTypeLabelDescription
modeSkuDataImportMode
Product Data Import Mode [Required]
skuListSkuStatusInforepeated
Product Data List (required)

SkuFeatClearParams

SkuFeatClearParams Product Characteristics - Clears all characteristics of the specified product

FieldTypeLabelDescription
skuListSkuInforepeated
Product Information [Required]

SkuFeatQueryImageParams

SkuFeatQueryImageParams Product Features - Query Image

FieldTypeLabelDescription
skuSkuInfo
Product Information [Required]

SkuFeatQueryParams

SkuFeatQueryParams Product Characteristics - Query feature information in batches

FieldTypeLabelDescription
skuListSkuInforepeated
Product Information [Required]

SkuFeatRemoveParams

SkuFeatRemoveParams Product Features - Removes the specified characteristics of the specified product

FieldTypeLabelDescription
skuSkuInfo
Product Information [Required]
idint64
Identification ID【Required】

Top

sanqingniaopb/message_reply.proto

AdvancedConfigGetReply

AdvancedConfigGetReply Advanced Config - Get

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason
dataAdvancedConfigGetReply.Data
Response data

AdvancedConfigGetReply.Data

AdvancedConfigGetReply_Data Declare the response data structure

FieldTypeLabelDescription
keyAdvancedConfigKey
The key name of the configuration item
doubleValdouble
Double-precision floating-point value
floatValfloat
Single-precision floating-point value
int32Valint32
Signed 32-bit integer values
int64Valint64
Signed 64-bit integer value
uint32Valuint32
Unsigned 32-bit integer values
uint64Valuint64
Unsigned 64-bit integer value
boolValbool
Boolean values
stringValstring
String-type values
bytesValbytes
Byte slices/byte arrays

AdvancedConfigSetReply

AdvancedConfigSetReply Advanced Config - Modify

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason

AiFastLearningReply

AiFastLearningReply Intelligent Recognition - Fast Learning

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason
dataAiFastLearningReply.Data
Response data

AiFastLearningReply.Data

AiFastLearningReply_Data Declare the response data structure

FieldTypeLabelDescription
featImgSkuFeatImageInfo
Product feature image information

AiImageDetectIgnoreSetReply

AiImageDetectIgnoreSetReply Smart Recognition - Image Detection Filter Settings

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason
dataAiImageDetectIgnoreSetReply.Data
Response data

AiImageDetectIgnoreSetReply.Data

AiImageDetectIgnoreSetReply_Data Declare the response data structure

FieldTypeLabelDescription
pathstring
The HTTP access path of the image

AiLearningReply

AiLearningReply intelligently recognizes-learns

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason

AiListenResultReply

AiListenResultReply Intelligent Recognition - Listens for the recognition results

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason
dataAiListenResultReply.Data
Response data

AiListenResultReply.Data

AiListenResultReply_Data Declare the response data structure

FieldTypeLabelDescription
idint64
Identification ID
skuListSkuInforepeated
Identify the list of results
transparentDatastring
Transparent transmission data, which comes from the weight push interface

AiPushWeightReply

AiPushWeightReply intelligently identifies and pushes weight information

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason

AiRegisterResultCallbackReply

AiRegisterResultCallbackReply - Registers a callback for the recognition result

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason

AlgoModelChangeReply

AlgoModelChangeReply algorithmic model-switch

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason

AlgoModelEnumReply

AlgoModelEnumReply Algorithm Model - Enum

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason
dataAlgoModelEnumReply.Data
Response data

AlgoModelEnumReply.Data

AlgoModelEnumReply_Data Declare the response data structure

FieldTypeLabelDescription
modelListAlgoModelInforepeated
List of models
modelAlgoModelInfo
The model currently in use

AutoSyncCreateGroupReply

AutoSyncCreateGroupParams Auto Sync - Create a group

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason

AutoSyncExitGroupReply

AutoSyncExitGroupParams Auto-sync-exit group

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason

AutoSyncGetGroupsInfoReply

AutoSyncGetGroupsInfoParams Auto Sync - Get group table information

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason
dataAutoSyncGetGroupsInfoReply.Data
Response data

AutoSyncGetGroupsInfoReply.Data

AutoSyncGetGroupsInfoReply_Data Declare the response data structure

FieldTypeLabelDescription
groupsAutoSyncGroupInforepeated
Grouping tables

AutoSyncGetSelfInfoReply

AutoSyncGetSelfInfoParams Auto Sync - Get native information

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason
dataAutoSyncGetSelfInfoReply.Data
Response data

AutoSyncGetSelfInfoReply.Data

AutoSyncGetSelfInfoReply_Data Declare the response data structure

FieldTypeLabelDescription
deviceSNstring
Native SN
hostNamestring
The host name of the machine
systemTypeSystemType
Native system type
algoModelCodeuint32
The code name of the algorithm model used by the machine
groupIDstring
The ID of the group to which the unit belongs
groupNamestring
The name of the group to which the unit belongs
dataSyncRuleAutoSyncDataSyncRule
Native data synchronization rules
dataPullRuleLearnDataExportMode
Native data pull rules
dataImportRuleLearnDataImportMode
Native data import rules
groupUpdateAtuint64
The last update time of the grouping information (millisecond timestamp)
broadcastIntervaluint32
Native Broadcast Time Interval (seconds)
pullIntervaluint32
Local Data Pull Interval (min)

AutoSyncJoinGroupReply

AutoSyncJoinGroupParams Auto-sync-join group

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason

AutoSyncRemoveDeviceReply

AutoSyncRemoveDeviceParams Auto Sync - Remove the device

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason

AutoSyncSetIntervalTimeReply

AutoSyncSetIntervalTimeParams - Sets the synchronization interval

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason

AutoSyncUpdateDataSyncRuleReply

AutoSyncUpdateDataSyncRuleParams Auto Sync - Updates the data synchronization rule

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason

AutoSyncUpdateGroupNameReply

AutoSyncUpdateGroupNameParams Auto Sync - Update the group name

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason

CameraChangeReply

CameraChangeReply Camera-toggle

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason

CameraDetectRangeGetReply

CameraDetectRangeGetReply Camera-Identify Area Acquisition

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason
dataCameraDetectRangeGetReply.Data
Response data

CameraDetectRangeGetReply.Data

CameraDetectRangeGetReply_Data Declare the response data structure

FieldTypeLabelDescription
renderWidthuint32
Actual Render Width (in pixels)
renderHeightuint32
Actual Render Height (in pixels)
dotListPlanePositionInforepeated
List of coordinates of the recognition area (the origin is the upper left corner of the image, and the coordinates are the actual rendered values after conversion)

CameraDetectRangeSetReply

CameraDetectRangeSetReply Camera - Recognize area modifications

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason

CameraEnumReply

CameraEnumReply camera-enumeration

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason
dataCameraEnumReply.Data
Response data

CameraEnumReply.Data

CameraEnumReply_Data Declare the response data structure

FieldTypeLabelDescription
cameraListCameraInforepeated
List of cameras
idstring
The ID of the camera currently in use
resolutionInfoCameraResolutionInfo
The camera image resolution currently in use

CameraFrameReply

CameraFrameReply Camera-Image Frame

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason
dataCameraFrameReply.Data
Response data

CameraFrameReply.Data

CameraFrameReply_Data Declare the response data structure

FieldTypeLabelDescription
imageDatabytes
Image data
imageWidthuint32
Image original width
imageHeightuint32
Image original height

DeviceActivateReply

DeviceActivateReply Device - Activate

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason
dataDeviceActivateReply.Data
Response data

DeviceActivateReply.Data

DeviceActivateReply_Data Declare the response data structure

FieldTypeLabelDescription
deviceInfoDeviceInfo
Device information

DeviceGetInfoReply

DeviceGetInfoReply Device - Get information

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason
dataDeviceGetInfoReply.Data
Response data

DeviceGetInfoReply.Data

DeviceGetInfoReply_Data Declare the response data structure

FieldTypeLabelDescription
deviceInfoDeviceInfo
Device information

DeviceShopChangeReply

DeviceShopChangeReply Device-Store Modification

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason

GetLatestVersionReply

GetLatestVersionReply to get the latest version

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason
dataGetLatestVersionReply.Data
Response data

GetLatestVersionReply.Data

GetLatestVersionReply_Data Declare the response data structure

FieldTypeLabelDescription
updateTypeVersionUpdateType
The type of version update
updateContentstring
Updated content
versionListVersionDownloadInforepeated
List of versions

GetVersionReply

GetVersionReply to get version information

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason
dataGetVersionReply.Data
Response data

GetVersionReply.Data

GetVersionReply_Data Declare the response data structure

FieldTypeLabelDescription
versionListVersionInforepeated
List of version information

LearnDataClearReply

LearnDataClearReply Learning Data - Empty

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason

LearnDataExportReply

LearnDataExportReply Learning Data - Export

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason
dataLearnDataExportReply.Data
Response data

LearnDataExportReply.Data

LearnDataExportReply_Data Declare the response data structure

FieldTypeLabelDescription
successCountint64
The number of successful exports
nodeTimestampint64
The time node of this export
databytes
Learning data

LearnDataImportReply

LearnDataImportReply Learning Data - Import

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason
dataLearnDataImportReply.Data
Response data

LearnDataImportReply.Data

LearnDataImportReply_Data Declare the response data structure

FieldTypeLabelDescription
successCountint64
The number of successful imports

LearnDataUploadReply

LearnDataUploadReply Learning Data - Upload

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason

SkuDataDeleteReply

SkuDataDeleteReply Product Data - Delete

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason

SkuDataIconMatchReply

SkuDataIconMatchReply Product Data - Main Image Match

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason
dataSkuDataIconMatchReply.Data
Response data

SkuDataIconMatchReply.Data

SkuDataIconMatchReply_Data Declare the response data structure

FieldTypeLabelDescription
downloadUrlPrefixstring
ICON download path prefix
skuIconListSkuIconInforepeated
List of product ICON information

SkuDataImportReply

SkuDataImportReply Product Data - Import

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason

SkuFeatClearReply

SkuFeatClearReply Product Features - Clears all characteristics of the specified product

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason

SkuFeatQueryImageReply

SkuFeatQueryImageReply Product Features - Query Image

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason
dataSkuFeatQueryImageReply.Data
Response data

SkuFeatQueryImageReply.Data

SkuFeatQueryImageReply_Data Declare the response data structure

FieldTypeLabelDescription
featImgListSkuFeatImageInforepeated
A list of product feature images

SkuFeatQueryReply

SkuFeatQueryReply Product Characteristics - Query feature information in batches

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason
dataSkuFeatQueryReply.Data
Response data

SkuFeatQueryReply.Data

SkuFeatQueryReply_Data Declare the response data structure

FieldTypeLabelDescription
featNumListSkuFeatNumberInforepeated
A list of the number of product features

SkuFeatRemoveReply

SkuFeatRemoveReply Product Features - Removes the specified characteristics of the specified product

FieldTypeLabelDescription
codeStatusCode
Status code
msgstring
Status reason

StatusCode

StatusCode status code definition

NameNumberDescription
ErrUnknow0
Unknown anomaly
Success1
succeed
ErrPciNetCardDisabled1000
The PCI NIC of the device has been disabled
ErrCamera1001
The device camera is abnormal
ErrImageDecode1002
Image decoding failed
ErrImageEncode1003
Image encoding failed
ErrNetwork1004
The network is abnormal
ErrCloudServer1005
The ECS is abnormal
ErrInputParam1006
The input parameter is abnormal
ErrExportLearnDataEmpty1007
The exported learning data is empty
ErrDeviceNotActivate1500
The device is not activated
ErrDeviceActivateExpire1501
The device activation status has expired
ErrDeviceSystemTime1503
The system time of the device is abnormal
ErrErLangShenAlgo2000
Erlang God's algorithm is abnormal
ErrBaiZeAlgo2500
Bai Ze's algorithm is abnormal

Scalar Value Types

.proto TypeNotesC++JavaPythonGoC#PHPRuby
doubledoubledoublefloatfloat64doublefloatFloat
floatfloatfloatfloatfloat32floatfloatFloat
int32Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead.int32intintint32intintegerBignum or Fixnum (as required)
int64Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead.int64longint/longint64longinteger/stringBignum
uint32Uses variable-length encoding.uint32intint/longuint32uintintegerBignum or Fixnum (as required)
uint64Uses variable-length encoding.uint64longint/longuint64ulonginteger/stringBignum or Fixnum (as required)
sint32Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s.int32intintint32intintegerBignum or Fixnum (as required)
sint64Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s.int64longint/longint64longinteger/stringBignum
fixed32Always four bytes. More efficient than uint32 if values are often greater than 2^28.uint32intintuint32uintintegerBignum or Fixnum (as required)
fixed64Always eight bytes. More efficient than uint64 if values are often greater than 2^56.uint64longint/longuint64ulonginteger/stringBignum
sfixed32Always four bytes.int32intintint32intintegerBignum or Fixnum (as required)
sfixed64Always eight bytes.int64longint/longint64longinteger/stringBignum
boolboolbooleanbooleanboolboolbooleanTrueClass/FalseClass
stringA string must always contain UTF-8 encoded or 7-bit ASCII text.stringStringstr/unicodestringstringstringString (UTF-8)
bytesMay contain any arbitrary sequence of bytes.stringByteStringstr[]byteByteStringstringString (ASCII-8BIT)
上一页
Device activation
下一页
GetVersion to get version information
Built with