US 11,930,292 B2
Device state monitoring method and apparatus
Yuhua Luo, Hangzhou (CN)
Assigned to HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO., LTD., Hangzhou (CN)
Appl. No. 17/285,551
Filed by HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO., LTD., Hangzhou (CN)
PCT Filed Oct. 15, 2019, PCT No. PCT/CN2019/111323
§ 371(c)(1), (2) Date Apr. 15, 2021,
PCT Pub. No. WO2020/078355, PCT Pub. Date Apr. 23, 2020.
Claims priority of application No. 201811211115.X (CN), filed on Oct. 17, 2018.
Prior Publication US 2021/0385406 A1, Dec. 9, 2021
Int. Cl. H04N 5/77 (2006.01); G06F 11/30 (2006.01)
CPC H04N 5/77 (2013.01) [G06F 11/3024 (2013.01); G06F 11/3034 (2013.01); G06F 11/3041 (2013.01)] 20 Claims
OG exemplary drawing
 
10. An electronic device, comprising:
at least one processor, and
at least one non-transitory computer readable storage medium storing machine-executable instructions for execution by the at least one processor to perform-operations comprising:
detecting one or more current values of one or more state parameters;
for each state parameter of the one or more state parameters,
determining whether the current value of the state parameter changes relative to a recorded value of the state parameter; and
in response to determining that the current value of the state parameter changes relative to the recorded value of the state parameter, reporting the current value of the state parameter to a client through a connection between the electronic device and the client;
starting a preset timer in response to detecting that the electronic device and the client are disconnected;
if a reconnection request is received from the client before the timer expires and the reconnection request carries a full reporting identifier same as a full reporting identifier corresponding to the client which is locally recorded by the electronic device, turning off the timer and sending a second connection response to the client to reconnect with the client; and
if a reconnection request is not received from the client when the timer expires, deleting the full reporting identifier corresponding to the client which is locally recorded by the electronic device.