Summary of the invention
Various aspects of the present invention provide a kind of device identification method and relevant device, for reducing the time of user-identification device, promote user experience.
For solving the problems of the technologies described above, provide following technical scheme:
One aspect of the present invention provides a kind of device identification method, comprising:
Show all device names that can connection device in current network;
If detect, user can connection device from above-mentioned all targets of having selected can connection device:
Read the device-dependent message that target can connection device, wherein, above-mentioned target can connection device be above-mentioned user select can connection device, the device-dependent message that above-mentioned target can connection device comprises: at least one that rolled off the production line in the time last time that above-mentioned target can connection device last time, on-line time and above-mentioned target can connection devices;
Show the device-dependent message that above-mentioned target can connection device.
Based on first aspect present invention, in the possible implementation of the first, the device-dependent message that the above-mentioned target of above-mentioned demonstration can connection device, further comprises afterwards:
If detect, user can call by connection device above-mentioned target:
Obtain the new equipment title that the above-mentioned target of user input can connection device;
Record the new equipment title that above-mentioned target can connection device, and the original equipment title that new equipment title that above-mentioned target can connection device and above-mentioned target can connection devices is associated.
The possible implementation of the first based on first aspect present invention, in the possible implementation of the second, the above-mentioned new equipment title that records above-mentioned target can connection device, comprises afterwards:
Read and show the new equipment title that above-mentioned target can connection device.
The possible implementation of the first based on first aspect present invention, in the third possible implementation, the above-mentioned new equipment title that records above-mentioned target can connection device, comprises afterwards:
In the time that above-mentioned target is can connection device again selected, reads and show the new equipment title that above-mentioned target can connection device.
Based on first aspect present invention, in the 4th kind of possible implementation,
The above-mentioned target of above-mentioned demonstration can connection device device-dependent message, further comprise afterwards:
If detect, user can carry out rename by connection device to above-mentioned target:
Obtain the new equipment title that the above-mentioned target of user input can connection device;
Use new equipment title that above-mentioned target can connection device to replace the original equipment title that above-mentioned target can connection device.
Second aspect present invention provides a kind of equipment that is applied to peer-to-peer network, comprising:
Display unit, for showing all device names that can connection device of current network;
Reading unit, for when detecting that user can connection device have selected target can connection device time from above-mentioned display unit demonstration all, read the device-dependent message that target can connection device, wherein, above-mentioned target can connection device be above-mentioned user select can connection device, the device-dependent message that above-mentioned target can connection device comprises: at least one that rolled off the production line in the time last time that above-mentioned target can connection device last time, on-line time and above-mentioned target can connection devices;
Above-mentioned display unit, the also device-dependent message for showing that target that above-mentioned reading unit reads can connection device.
Based on second aspect present invention, in the possible implementation of the first,
The said equipment further comprises:
Acquiring unit, in the time detecting that user can connection device calls target, obtains the new equipment title that the above-mentioned target of user's input can connection device;
Record cell, for recording the new equipment title that above-mentioned target that above-mentioned acquiring unit obtains can connection device, and is associated the original equipment title that new equipment title that above-mentioned target can connection device and above-mentioned target can connection devices.
The possible implementation of the first based on second aspect present invention, in the possible implementation of the second, above-mentioned reading unit also for: read the new equipment title that above-mentioned target can connection device;
Above-mentioned display unit also for: show the new equipment title that above-mentioned target that above-mentioned reading unit reads can connection device.
The possible implementation of the first based on second aspect present invention, in the third possible implementation, above-mentioned reading unit also for: in the time that above-mentioned target is can connection device again selected, read the new equipment title that above-mentioned target can connection device;
Above-mentioned display unit also for: show the new equipment title that above-mentioned target that above-mentioned reading unit reads can connection device.
Based on second aspect present invention, in the 4th kind of possible implementation,
The said equipment further comprises:
Acquiring unit, in the time detecting that user can connection device carries out rename to above-mentioned target, obtains the new equipment title that the above-mentioned target of user's input can connection device;
Rename unit, for using new equipment title that above-mentioned target that above-mentioned acquiring unit obtains can connection device to replace the original equipment title that above-mentioned target can connection device.
Therefore, the embodiment of the present invention is chosen one can connection device time user, read and show to user the device-dependent message that this can connection device, due to device-dependent message comprised that this can connection device last time on-line time and last time roll off the production line in the time at least one, therefore, it can connection device be that it wants the equipment connecting that user can be easier to identify chosen by device-dependent message, thereby greatly reduce the time of user-identification device, effectively improved user experience.
Embodiment
The embodiment of the present invention provides a kind of device identification method and relevant device.
For making goal of the invention of the present invention, feature, advantage can be more obvious and understandable, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, but not whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making each other embodiment that obtain under creative work prerequisite, belong to the scope of protection of the invention.
The technical scheme that the embodiment of the present invention provides is applied in peer-to-peer network (as Wi-Fi network, blueteeth network etc.).In peer-to-peer network, each participation device has equal ability, can initiate a communication session, the participation device of peer-to-peer network can by with network in other participation device connect to obtain the shared resource of setting on above-mentioned other participation device, correspondingly, above-mentioned other participation device also can obtain the shared resource of setting on this participation device after being that this participation device connects.In embodiments of the present invention, above-mentioned participation device refers to all equipment that can realize peer-to-peer network connection, for example: participation device can be the electronic equipment (as mobile phone, earphone, panel computer, notebook etc.) that comprises bluetooth module, again for example, participation device can be to comprise UPnP (UpnP, Universal Plug and Play) personal computer (PC, personal computer), the smart machine etc. of structure.Below of the present invention in embodiment, to set forth as executive agent using one of them participation device in peer-to-peer network, for ease of distinguishing and understanding, below in embodiment, participation device as executive agent is described as to subscriber equipment, can connection device using being in the above-mentioned participation device as executive agent that other participation device in same peer-to-peer network is described as, it should be noted that, below in embodiment, subscriber equipment refers in particular to participation device with interface display function (as mobile phone, panel computer, notebook, the participation devices such as PC), can connection device can be with interface display function, also can be without interface display function, be not construed as limiting herein.
A kind of the device identification method below embodiment of the present invention being provided is described, and refers to Fig. 1, and the device identification method in the embodiment of the present invention, comprising:
101, show all device names that can connection device in current network;
In embodiments of the present invention, in the time that subscriber equipment is in a certain peer-to-peer network, what subscriber equipment existed scanning in current network can connection device, and demonstrate all device names that can connection device that are in current network so that user on subscriber equipment to selecting by connection device.
If 102 detect that user has selected the target can connection device on subscriber equipment, read the device-dependent message that target can connection device;
What wherein, above-mentioned target can connection device refers to that user selects on subscriber equipment can connection device.
In embodiments of the present invention, above-mentioned subscriber equipment allow user only can be from step 101 shown all of synchronization can connection device, select one can connection device, synchronization target device can only be one; Or, in another implementation, above-mentioned subscriber equipment also can allow user all shown from step 101 of synchronization can connection device, select plural can connection device, synchronization target device can be more than two, is not construed as limiting herein.
Selected can connection device one or more can connection device time when subscriber equipment detects all shown from step 101 of user, subscriber equipment reads the device-dependent message that target can connection device.Wherein, the device-dependent message that target can connection device comprises: at least one in roll off the production line the time (be last target can connection device cisco unity malfunction delay total duration of machine) last time that on-line time last time that target can connection device (being total duration that last target can the normal work of connection device) and target can connection devices.
Further, above-mentioned target can connection device device-dependent message can also comprise one or more in following information: equipment identities identifier (being device id) that target can connection device, target can the current iso-ip Internetworking protocol ISO-IP (IP of connection device, Internet Protocol) address and medium access control (M AC, Media Access Control) address etc.
103, show the device-dependent message that above-mentioned target can connection device;
The target that subscriber equipment step display 102 reads can connection device device-dependent message.
It should be noted that, in embodiments of the present invention, subscriber equipment detects user in real time to selection situation that can connection device, again choose other one or two can connection device time user, subscriber equipment all by user is chosen again can connection device (be new target can connection device) execution step 102~103.Illustrate, what suppose that original user selects on subscriber equipment can connection device be device A, and in the time that user has selected equipment B again on subscriber equipment, subscriber equipment will perform step 102~103 to equipment B.
Therefore, the embodiment of the present invention is chosen one can connection device time user, read and show to user the device-dependent message that this can connection device, due to device-dependent message comprised that this can connection device last time on-line time and rolled off the production line in the time last time at least one, therefore, it can connection device be that it wants the equipment connecting that user can be easier to identify chosen by device-dependent message, thereby greatly reduce the time of user-identification device, effectively promoted user experience.
Further, on basis embodiment illustrated in fig. 1, can also further on subscriber equipment, can call by connection device target, below in conjunction with Fig. 2, with another embodiment, the device identification method in the embodiment of the present invention is described:
201, show all device names that can connection device in current network;
In embodiments of the present invention, in the time that subscriber equipment is in a certain peer-to-peer network, what subscriber equipment existed scanning in current network can connection device, and demonstrate all device names that can connection device that are in current network so that user on subscriber equipment to selecting by connection device.
If 202 detect that user has selected the target can connection device on subscriber equipment, read the device-dependent message that target can connection device;
What wherein, above-mentioned target can connection device refers to that user selects on subscriber equipment can connection device.
In embodiments of the present invention, above-mentioned subscriber equipment allow user only can be from step 201 shown all of synchronization can connection device, select one can connection device, synchronization target device can only be one; Or, in another implementation, above-mentioned subscriber equipment also can allow user all shown from step 201 of synchronization can connection device, select plural can connection device, synchronization target device can be more than two, is not construed as limiting herein.
Selected can connection device one or more can connection device time when subscriber equipment detects all shown from step 201 of user, subscriber equipment reads the device-dependent message that target can connection device.Wherein, the device-dependent message that target can connection device comprises: at least one in roll off the production line the time (be last target can connection device cisco unity malfunction delay total duration of machine) last time that on-line time last time that target can connection device (being total duration that last target can the normal work of connection device) and target can connection devices.
Further, the device-dependent message that above-mentioned target can connection device can also comprise one or more in following information: equipment identities identifier (being device id) that this can connection device, this can current IP address and the M AC address etc. of connection device.
203, show the device-dependent message that above-mentioned target can connection device;
The target that subscriber equipment step display 202 reads can connection device device-dependent message.
If 204 detect that user can call by connection device target, obtain the new equipment title that the target of user input can connection device.
205, the new equipment title that the target of recording user another name can connection device, and the original equipment title that new equipment title that this target can connection device and this target can connection devices is associated;
The target of subscriber equipment recording user another name can connection device new equipment title, new equipment title that can connection device by this target and this target can connection device original equipment title carry out associated, to show the new equipment title that this target can connection device on subscriber equipment, or, in the time that this target is can connection device again selected, reads the new equipment title that this target can connection device and show on subscriber equipment.
In one implementation, as shown in the step 305 in Fig. 3, (step 301~304 of Fig. 3 can be with reference to the description in the step 201 of Fig. 2~204, repeat no more) herein, the target that subscriber equipment obtains step 304 can connection device new equipment title be recorded in this locality (being on subscriber equipment), and new equipment title that can connection device by this target in this ground and this target can connection device original equipment title carry out associated, for example, the target that step 304 is obtained can connection device new equipment name be referred to as the original equipment title that this target can connection device canonical name in this locality.Certainly,, in other implementation, the new equipment title that the target that subscriber equipment also can obtain step 304 by network or other communication modes can connection device is recorded on server or other communication apparatus, is not construed as limiting herein.
It should be noted that, in embodiments of the present invention, subscriber equipment detects user in real time to selection situation that can connection device, again choose other one or two can connection device time user, subscriber equipment all by user is chosen again can connection device (be new target can connection device) execution step 202~205.
Therefore, the embodiment of the present invention is chosen one can connection device time user, read and show to user the device-dependent message that this can connection device, due to device-dependent message comprised that this can connection device last time on-line time and rolled off the production line in the time last time at least one, therefore, it can connection device be that it wants the equipment connecting that user can be easier to identify chosen by device-dependent message, thereby greatly reduce the time of user-identification device, effectively promoted user experience.Further, the embodiment of the present invention also provides on subscriber equipment the mechanism of can connection device calling to choosing, thereby make can connection device identification more directly perceived, further reduced time of user-identification device, user experience is promoted further.
Further, on basis embodiment illustrated in fig. 1, can also further on subscriber equipment, can carry out rename by connection device to what choose, below in conjunction with Fig. 4, with another embodiment, the device identification method in the embodiment of the present invention is described:
401, show all device names that can connection device in current network;
In embodiments of the present invention, in the time that subscriber equipment is in a certain peer-to-peer network, what subscriber equipment existed scanning in current network can connection device, and demonstrate all device names that can connection device that are in current network so that user on subscriber equipment to selecting by connection device.
If 402 detect that user has selected the target can connection device on subscriber equipment, read the device-dependent message that target can connection device;
What wherein, above-mentioned target can connection device refers to that user selects on subscriber equipment can connection device.
In embodiments of the present invention, above-mentioned subscriber equipment allow user only can be from step 401 shown all of synchronization can connection device, select one can connection device, synchronization target device can only be one; Or, in another implementation, above-mentioned subscriber equipment also can allow user all shown from step 401 of synchronization can connection device, select plural can connection device, synchronization target device can be more than two, is not construed as limiting herein.
Selected can connection device one or more can connection device time when subscriber equipment detects all shown from step 401 of user, subscriber equipment reads the device-dependent message that target can connection device.Wherein, the device-dependent message that target can connection device comprises: on-line time last time that target can connection device (last this can the normal work of connection device total duration) and target can connection device last time roll off the production line the time in (i.e. total duration of this machine of can connection device cisco unity malfunction delaying of last time) at least one.
Further, the device-dependent message that above-mentioned target can connection device can also comprise one or more in following information: equipment identities identifier (being device id), target that target can connection device can current IP address and the M AC addresses etc. of connection device.
403, show the device-dependent message that above-mentioned target can connection device;
The target that subscriber equipment step display 402 reads can connection device device-dependent message.
If 404 detect that user can carry out rename by connection device to target, obtain the new equipment title that this target of user input can connection device.
405, this target use new equipment title that the above-mentioned target of obtaining can connection device to replace the original equipment title that this target can connection device, can be carried out to rename by connection device;
Subscriber equipment step 404 obtain the target of user input can the new equipment title of connection device after, this target that use gets can connection device new equipment title replace the original equipment title that this target can connection device, utilize the new equipment title that this target that step 404 obtains can connection device can carry out rename by connection device to this target.For example, subscriber equipment can be by carrying out communication by connection device with target, new equipment title that can connection device by this target sends to this target can connection device, and makes this target can connection device use the new equipment title that this target can connection device to carry out rename.
It should be noted that, in embodiments of the present invention, subscriber equipment detects user in real time to selection situation that can connection device, again choose other one or two can connection device time user, subscriber equipment all by user is chosen again can connection device (be new target can connection device) execution step 402~405.
Therefore, the embodiment of the present invention is chosen one can connection device time user, read and show to user the device-dependent message that this can connection device, due to device-dependent message comprised that this can connection device last time on-line time and rolled off the production line in the time last time at least one, therefore, it can connection device be that it wants the equipment connecting that user can be easier to identify chosen by device-dependent message, thereby greatly reduce the time of user-identification device, effectively promoted user experience.Further, the embodiment of the present invention also provides on subscriber equipment the mechanism of can connection device carrying out rename to choosing, thereby make can connection device identification more directly perceived, further reduced time of user-identification device, user experience is promoted further.
The embodiment of the present invention also provides a kind of equipment that is applied to peer-to-peer network, be illustrated in figure 5 a kind of network architecture diagram of peer-to-peer network, in the peer-to-peer network shown in Fig. 5, each participation device (as participation device S1~S5) has equal ability, can initiate a communication session, the participation device of peer-to-peer network can by with network in other participation device connect to obtain the shared resource of setting on above-mentioned other participation device, correspondingly, after above-mentioned other participation device is that this participation device connects, also can obtain the shared resource of setting on this participation device.Below the participation device that is applied to peer-to-peer network in the embodiment of the present invention is described, equipment 600 as shown in Figure 6, it should be noted that, for ease of distinguishing and understanding, in embodiment, other participation device except equipment 600 in consolidated network is all described as can connection device below.
As shown in Figure 6, the equipment 600 in the embodiment of the present invention comprises:
Display unit 601, for showing all device names that can connection device of current network.
Reading unit 602, for when detecting that user has selected target can connection device time on equipment 600, reads the device-dependent message that target can connection device, and wherein, what above-mentioned target can connection device refers to that user selects on subscriber equipment can connection device.Target can connection device device-dependent message comprise: at least one that rolled off the production line in the time last time that target can connection device last time, on-line time and target can connection devices.Further, the device-dependent message that target can connection device can also comprise one or more in following information: device id, target that target can connection device can current IP address and the MAC Address etc. of connection device.
Display unit 601, the also device-dependent message for showing that target that reading unit 602 reads can connection device.
On basis embodiment illustrated in fig. 6, can also be further to can calling by connection device of choosing, as shown in Figure 7, equipment 700 further comprises:
Acquiring unit 703, in the time detecting that user can connection device calls target, obtains the new equipment title that this target of user's input can connection device.
Record cell 704, for recording the new equipment title that target that acquiring unit 703 obtains can connection device, and is associated the original equipment title that new equipment title that this target can connection device and this target can connection devices.
In one implementation, the target that record cell 704 obtains acquiring unit 703 can connection device new equipment title be recorded in this locality (being on equipment 700).Certainly,, in other implementation, the new equipment title that the target that record cell 704 also can obtain acquiring unit 703 by network or other communication modes can connection device is recorded on server or other communication apparatus, is not construed as limiting herein.
Further, on basis embodiment illustrated in fig. 7, reading unit 602 also for: read the new equipment title that the target of user alias can connection device, display unit 601 also for: show the new equipment title that target that reading unit 602 reads can connection device.Or, reading unit 602 also for: in the time that above-mentioned target is can connection device again selected, read the new equipment title that this target can connection device, display unit 601 also for: show the new equipment title that this target that reading unit 602 reads can connection device.
On basis embodiment illustrated in fig. 6, also can further can carry out heavy name by connection device to what choose, as shown in Figure 8, equipment 800 further comprises:
Acquiring unit 803, in the time detecting that user can connection device carries out rename to target, obtains the new equipment title that this target of user's input can connection device;
Rename unit 804, for using new equipment title that target that acquiring unit 803 obtains can connection device to replace the original equipment title that this target can connection device, so that this target can be carried out to rename by connection device.
It should be noted that, equipment 600 in the embodiment of the present invention or equipment 700 or equipment 800 can be as the equipment in above-mentioned embodiment of the method, can be for realizing the whole technical schemes in said method embodiment, the function of its each functional module can be according to the method specific implementation in said method embodiment, its specific implementation process can, with reference to the associated description in above-described embodiment, repeat no more herein.
Therefore, the embodiment of the present invention is chosen one can connection device time user, read and show to user the device-dependent message that this can connection device, due to device-dependent message comprised that this can connection device last time on-line time and rolled off the production line in the time last time at least one, therefore, it can connection device be that it wants the equipment connecting that user can be easier to identify chosen by device-dependent message, thereby greatly reduce the time of user-identification device, effectively promoted user experience.Further, the embodiment of the present invention also provided on subscriber equipment can connection device calling or the mechanism of rename of choosing, thereby make can connection device identification more directly perceived, further reduced time of user-identification device, user experience is promoted further.
The embodiment of the present invention also provides a kind of computer-readable storage medium, and wherein, this computer-readable storage medium has program stored therein, and this program is carried out and comprised the part or all of layout of recording in said method embodiment.
The equipment that another kind in the invention process is applied to peer-to-peer network is below described, and refers to Fig. 9, and the equipment 900 in the embodiment of the present invention comprises:
The quantity of the processor 904 of input unit 901, output device 902, memory 903 and processor 904(equipment 900 can be one or more, and Fig. 9 is taking a processor as example).In some embodiments of the invention, input unit 901, output device 902, memory 903 and processor 904 can connect by bus or alternate manner, as shown in Figure 9 to be connected to example by bus.
Wherein, processor 904 is carried out following steps:
Show all device names that can connection device in current network.
If detect, user has selected the target can connection device on equipment 900, reads the device-dependent message that target can connection device;
What wherein, above-mentioned target can connection device refers to that user selects on subscriber equipment can connection device.Target can connection device device-dependent message comprise: at least one that rolled off the production line in the time last time that target can connection device last time, on-line time and target can connection devices.
Further, the device-dependent message that target can connection device can also comprise one or more in following information: device id, target that target can connection device can current IP address and the M AC addresses etc. of connection device.
Show above-mentioned first can connection device device-dependent message.
In a kind of application scenarios, equipment 900 can be to can calling by connection device of choosing, particularly, processor 904 also for: in the time detecting that user can connection device calls target, obtain the new equipment title that this target of user's input can connection device; Record the new equipment title that this target can connection device, and the original equipment title that new equipment title that this target can connection device and this target can connection devices is associated.Processor 904 can by obtain can connection device new equipment title be recorded in this locality (being on equipment 900), certainly, processor 904 also can by network or other communication modes by above-mentioned obtain can connection device new equipment title be recorded on server or other communication apparatus, be not construed as limiting herein.Further, processor 904 also for record above-mentioned can the new equipment title of connection device after, read and show the new equipment title that this target can connection device.Or in the time that this target is can connection device again selected, processor 904 just reads and shows the new equipment title that above-mentioned this target can connection device.
In another kind of application scenarios, equipment 900 also can carry out rename by connection device to target, particularly, processor 904 also for: in the time detecting that user can connection device carries out rename to target, obtain the new equipment title that this target of user's input can connection device; This target use new equipment title that this target can connection device to replace the original equipment title that this target can connection device, can be carried out to rename by connection device.
It should be noted that, equipment 900 in the embodiment of the present invention can be as the equipment in above-mentioned embodiment of the method, can be for realizing the whole technical schemes in said method embodiment, the function of its each functional module can be according to the method specific implementation in said method embodiment, its specific implementation process can, with reference to the associated description in above-described embodiment, repeat no more herein.
Therefore, the embodiment of the present invention is chosen one can connection device time user, read and show to user the device-dependent message that this can connection device, due to device-dependent message comprised that this can connection device last time on-line time and rolled off the production line in the time last time at least one, therefore, it can connection device be that it wants the equipment connecting that user can be easier to identify chosen by device-dependent message, thereby greatly reduce the time of user-identification device, effectively promoted user experience.Further, the embodiment of the present invention also provided on subscriber equipment can connection device calling or the mechanism of rename of choosing, thereby make can connection device identification more directly perceived, further reduced time of user-identification device, user experience is promoted further.
It should be noted that, for aforesaid each embodiment of the method, for easy description, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not subject to the restriction of described sequence of movement, because according to the present invention, some step can adopt other order or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and related action and module might not be all that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part of detailed description, can be referring to the associated description of other embodiment.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks in above-described embodiment is can carry out the hardware that instruction is relevant by program to complete, this program can be stored in a computer-readable recording medium, and storage medium for example can comprise: read-only memory, random asccess memory, disk or CD etc.
Above a kind of device identification method provided by the present invention and relevant device are described in detail, for one of ordinary skill in the art, according to the thought of the embodiment of the present invention, all will change in specific embodiments and applications, this description should not be construed as limitation of the present invention.