发明名称 |
Electronic device and method for managing names of electronic device |
摘要 |
In a method for naming an electronic device, a hash table including indices and corresponding character strings is preset. The electronic device is controlled to enter into a searchable state, and inserts a default name of the electronic device in a searchable device list. A shaking angle of the electronic device is calculated according to detected coordinate values acquired from a gravity sensor, when the electronic device is shaking in the searchable state and the default name needs to be changed. A hash value is calculated using the shaking angle, a UNIX timestamp, a number of the indices in the hash table, and a predetermined formula. The method further determines an index that is the same as the hash value, determines a character string corresponding to the determined index, and renames the electronic device using the determined character string. |
申请公布号 |
US9043335(B2) |
申请公布日期 |
2015.05.26 |
申请号 |
US201313864285 |
申请日期 |
2013.04.17 |
申请人 |
Chi Mei Communication Systems, Inc. |
发明人 |
Chen Yen-An |
分类号 |
G06F17/30;H04M1/725 |
主分类号 |
G06F17/30 |
代理机构 |
Novak Druce Connolly Bove + Quigg LLP |
代理人 |
Novak Druce Connolly Bove + Quigg LLP |
主权项 |
1. A computer-implemented method for naming an electronic device, the electronic device comprising a gravity sensor, the method comprising:
setting a hash table that comprises indices, each of the indices corresponding to a character string; controlling the electronic device to enter into a searchable state, and inserting a default name of the electronic device in a searchable device list; determining whether the default name of the electronic device needs to be changed when the electronic device is detected to be shaking using the gravity sensor; calculating a shaking angle of the electronic device according to detected coordinate values acquired from the gravity sensor, when the default name of the electronic device needs to be changed; acquiring a UNIX timestamp from the electronic device; calculating a hash value using the shaking angle, the UNIX timestamp, a number of the indices in the hash table, and a predetermined formula; determining an index that is the same as the calculated hash value, and determining a character string corresponding to the determined index; and renaming the electronic device using the determined character string. |
地址 |
New Taipei TW |