CN106059863A - Device searching method and apparatus - Google Patents

Device searching method and apparatus Download PDF

Info

Publication number
CN106059863A
CN106059863A CN201610323393.9A CN201610323393A CN106059863A CN 106059863 A CN106059863 A CN 106059863A CN 201610323393 A CN201610323393 A CN 201610323393A CN 106059863 A CN106059863 A CN 106059863A
Authority
CN
China
Prior art keywords
application
message
log
terminal unit
lan
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610323393.9A
Other languages
Chinese (zh)
Inventor
李欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Holding Beijing Co Ltd
LeTV Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LeTV Holding Beijing Co Ltd, LeTV Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610323393.9A priority Critical patent/CN106059863A/en
Publication of CN106059863A publication Critical patent/CN106059863A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2801Broadband local area networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

The invention discloses a device searching method and apparatus and is applied to terminal devices which are accessed to a local area network. The method includes the following steps: detecting whether a preset application in a terminal device is started; when the preset application is started, acquiring application register information of the preset application, wherein the application register information includes application identifier of the preset application which is started and device identifier of the terminal device; transmitting the application register information of the preset application to a network device within the local area network; receiving the application register information which are transmitted by the network device and belongs to all terminal devices within the local area network; determining whether the received application register information includes an object application identifier corresponding to the preset application; when the received application register information includes an object application identifier corresponding to the preset application, exhibiting the device identifier corresponding to the object application identifier on the terminal device. According to the technical solution of the invention, the device identifier exhibited on the terminal device is the terminal device which is provided with the object application. Compared with prior art, the method and the apparatus realize a simple process when a user selects the terminal device where the object application is and improve user experience.

Description

A kind of equipment searching method and device
Technical field
The present invention relates to communication technical field, particularly to a kind of equipment searching method and device.
Background technology
Owing to local area network communication has efficiency of transmission height, the advantages such as the bit error rate is low, increasing company, hospital, office Starting to apply LAN to communicate etc. unit, even, along with the development of science and technology, people have developed and have realized answering by LAN With the communication mode of level communication, this kind of communication mode has better met the various demands of user.And for realizing same local Net the communication between different application on interior different terminal equipment, after a certain terminal unit starts and presets application, this terminal unit First have to by LanExplorer to being positioned at the other-end equipment of LAN and showing, then user from search other Terminal unit selects the terminal unit at intended application place link, and then realize presetting the logical of application and intended application Letter.
At present, in correlation technique, at a certain terminal unit by show on this terminal unit after LanExplorer it is It is positioned at the every other terminal unit of LAN.And in actual use, user may be not aware that other ends shown In end equipment, which is the terminal unit being provided with intended application, and when other-end equipment in LAN is more, institute's exhibition Having, in the other-end equipment shown, the terminal unit being much fitted without intended application, this all selects intended application institute to user Terminal unit bring inconvenience, make user select the process of intended application place terminal unit to become complicated, the body of user Test bad.
Summary of the invention
The embodiment of the present invention provides a kind of equipment searching method and device, selects intended application place simplifying user The process of terminal unit, promotes Consumer's Experience.
In order to solve above-mentioned technical problem, the embodiment of the invention discloses following technical scheme:
A kind of equipment searching method, is applied to the terminal unit being linked in LAN, and described method includes:
Detect and described terminal unit presets whether application starts;
When described default application starts, obtain the application log-on message of described default application, described application log-on message Including: it is in application identities and the device identification of described terminal unit of the default application of starting state;
The network equipment in described LAN sends the application log-on message of described default application;
Receive the described network equipment sends, the application log-on message of all terminal units accessed in described LAN;
Judge whether the application log-on message received comprises the intended application mark corresponding with described default application;
When the application log-on message received comprises the intended application mark corresponding with described default application, described The device identification that described intended application mark is corresponding is shown on terminal unit.
Preferably, the application log-on message of the described default application of described acquisition, including:
Call registration LAN service interface;
Described registration lan interfaces is utilized to generate the application log-on message of described default application.
Preferably, whether the application log-on message that described judgement receives comprises the target corresponding with described default application Application identities, including:
Filter out from the application log-on message of all terminal units received except the application of described terminal unit is registered Expectation application log-on message outside information;
Judge whether described expectation application log-on message comprises the intended application mark corresponding with described default application.
Preferably, also include:
Judge whether to detect the shutoff operation of described default application;
When the shutoff operation of described default application being detected, send to the described network equipment and delete described default application The instruction of application log-on message, so that the described network equipment deletes the application log-on message of described default application.
Preferably, when the application log-on message received does not comprises the intended application mark corresponding with described default application Time, also include:
Information acquisition request is sent to the described network equipment every Preset Time;
Receive all terminals that the described network equipment sends, that access in described LAN according to described information acquisition request The application log-on message of equipment.
A kind of equipment searching method, the network equipment being applied in LAN, including:
The application log-on message that the terminal unit being linked in described LAN sends, described application log-on message bag Include: described terminal unit is in application identities and the device identification of described terminal unit of the default application of starting state;
The application log-on message of all terminal units being linked in described LAN is sent to described terminal unit.
Preferably, also include:
Receive the instruction of the application log-on message deleting described default application that described terminal unit sends;
Delete the application log-on message of described default application.
Preferably, also include:
Receive described terminal unit send information acquisition request, wherein, described terminal unit every Preset Time to institute State the network equipment and send described information acquisition request;
The application log-on message of all terminal units being currently accessed in described LAN is sent to described terminal unit.
A kind of equipment searcher, is applied to the terminal unit being linked in LAN, and described device includes:
Detector unit, is used for detecting in described terminal unit and presets whether application starts;
Application log-on message acquiring unit, for when described default application starts, obtains the application of described default application Log-on message, described application log-on message includes: be in the application identities of the default application of starting state and described terminal unit Device identification;
Application log-on message transmitting element, sends answering of described default application for the network equipment in described LAN Use log-on message;
First receives unit, sets for receiving all terminals that the described network equipment sends, that access in described LAN Standby application log-on message;
Whether the first judging unit, comprise corresponding with described default application in the application log-on message that judgement receives Intended application mark;
Device identification display unit, for corresponding with described default application when comprising in the application log-on message received During intended application mark, described terminal unit is shown the device identification that described intended application mark is corresponding.
Preferably, described application log-on message acquiring unit, including:
Interface interchange subelement, is used for calling registration LAN service interface;
Application log-on message generates subelement, for utilizing described registration lan interfaces to generate answering of described default application Use log-on message.
Preferably, described first judging unit, including:
Screening subelement, for filtering out except described terminal from the application log-on message of all terminal units received Expectation application log-on message outside the application log-on message of equipment;
Judgment sub-unit, for judge described expectation application log-on message in whether comprise with described default application corresponding Intended application identifies.
Preferably, also include:
Second judging unit, for judging whether to detect the shutoff operation of described default application;
Instruction sending unit, for when the shutoff operation of described default application being detected, sends to the described network equipment Delete the instruction of the application log-on message of described default application, so that the described network equipment deletes the application note of described default application Volume information.
Preferably, when the application log-on message received does not comprises the intended application mark corresponding with described default application Time, also include:
Information acquisition request transmitting element, for sending information acquisition request every Preset Time to the described network equipment;
Second receives unit, for receive that the described network equipment sends according to described information acquisition request, access described The application log-on message of all terminal units in LAN.
A kind of equipment searcher, the network equipment being applied in LAN, including:
First receives unit, the application log-on message that the terminal unit for being linked in described LAN sends, Described application log-on message includes: be in the application identities of the default application of starting state and described terminal in described terminal unit The device identification of equipment;
First transmitting element, for sending, to described terminal unit, all terminal units being linked in described LAN Application log-on message.
Preferably, also include:
Instruction reception unit, for receiving the application log-on message deleting described default application that described terminal unit sends Instruction;
Delete unit, for deleting the application log-on message of described default application.
Preferably, also include:
Second receives unit, for receiving the information acquisition request that described terminal unit sends, wherein, described terminal unit Described information acquisition request is sent to the described network equipment every Preset Time;
Second transmitting element, for being currently accessed described according to described information acquisition request to the transmission of described terminal unit The application log-on message of all terminal units in LAN.
The technical scheme that embodiments of the invention provide can include following beneficial effect:
A kind of equipment searching method of embodiment of the present invention offer and device, the terminal unit inspection in being linked into LAN When measuring default application startup in described terminal unit, obtaining the application log-on message of described default application, described application is registered Information includes: be in application identities and the device identification of described terminal unit of the default application of starting state, to described local The network equipment in net sends the application log-on message of described default application, receives described in the transmission of the described network equipment, access The application log-on message of all terminal units in LAN, further, it is judged that in the application log-on message received whether Comprise the intended application mark corresponding with described default application, and comprise default with described in the application log-on message received When the intended application of application correspondence identifies, described terminal unit is shown the device identification that described intended application mark is corresponding.
When applying the scheme of the embodiment of the present invention, owing to comprising in the application log-on message received and presetting application When corresponding intended application identifies, the most only show the device identification that described intended application mark is corresponding, i.e. at end The device identification shown on end equipment is all the terminal unit being provided with intended application, so technical scheme is with existing Technology is compared, and user selects the process of intended application place terminal unit simply, and Consumer's Experience is good.
It should be appreciated that it is only exemplary and explanatory, not that above general description and details hereinafter describe The disclosure can be limited.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, for those of ordinary skill in the art Speech, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The flow chart of a kind of equipment searching method that Fig. 1 provides for the embodiment of the present invention;
The flow chart of the another kind of equipment searching method that Fig. 2 provides for the embodiment of the present invention;
The flow chart of another equipment searching method that Fig. 3 provides for the embodiment of the present invention;
The flow chart of another equipment searching method that Fig. 4 provides for the embodiment of the present invention;
The structural representation of a kind of equipment searcher that Fig. 5 provides for the embodiment of the present invention;
The structural representation of the another kind of equipment searcher that Fig. 6 provides for the embodiment of the present invention;
The structural representation of another equipment searcher that Fig. 7 provides for the embodiment of the present invention;
The structural representation of another equipment searcher that Fig. 8 provides for the embodiment of the present invention.
Detailed description of the invention
Below embodiment of the present invention provides a kind of equipment searching method and device, selects intended application institute simplifying user In the process of terminal unit, promote Consumer's Experience.
For the technical scheme making those skilled in the art be more fully understood that in the embodiment of the present invention, and make the present invention real Execute the above-mentioned purpose of example, feature and advantage can become apparent from understandable, below in conjunction with the accompanying drawings to technical side in the embodiment of the present invention Case is described in further detail.
As it is shown in figure 1, the flow chart of a kind of equipment searching method provided for present example, it is applied to be linked into local Terminal unit in net, this equipment searching method may comprise steps of:
In step S101, detect and described terminal unit presets whether application starts.
In this step, the terminal unit being linked in LAN detects and presets whether application starts in this terminal unit. Wherein, described terminal unit can be the electronic equipments such as mobile phone, intelligent television, ipad, computer, and described default application is described end On end equipment install with described LAN in be different from the other-end equipment of described terminal unit install application have logical The application of letter demand.
In step s 102, when described default application starts, the application log-on message of described default application is obtained.
In this step, when the default application in described terminal unit starts, obtain the application note of described default application Volume information.Described application log-on message may include that the application identities of the default application being in starting state and described terminal set Standby device identification.Wherein, described application identities can be the Apply Names of described default application, application version information etc., institute The device identification stating terminal unit can be the device name of described terminal unit, Electronic Serial Number, international mobile station equipment identity etc., Told application identities is for presetting application described in labelling, described device identification is for terminal unit described in labelling.Need explanation It is, during the present invention is embodied as, described application log-on message may also to include other guide, such as equipment class Not, unit type, the information such as startup time, this is not limited by the present invention.It addition, for distinguishing not in application log-on message Same content, can be by the content in application log-on message according to certain arrangement, such as, within comprising in application log-on message When having application identities, device identification and startup time, can be successively according to the time of startup, application identities and the order of device identification Arrange.
In step s 103, the network equipment in described LAN sends the application log-on message of described default application.
In this step, the described default application obtained in the network equipment forwarding step S102 in described LAN Application log-on message.Wherein, described LAN here refers to be made up of the network equipment and multiple terminal unit, the described network equipment Can be the electronic equipments such as computer, router, switch.
In step S104, receive answering of all terminal units in the described LAN of access that the described network equipment sends Use log-on message.
In this step, the application of all terminal units accessed in described LAN that the described network equipment sends is received Log-on message.Specifically, access to start on any terminal equipment in described LAN and remove this arbitrary end in described LAN When the application installed on other-end equipment outside end equipment has the application of communication requirement, it is performed both by step S101, step S102 With step S103, log-on message will be applied accordingly to send to the described network equipment, this applies log-on message with described accordingly The application log-on message of the described default application that terminal unit sends is the same, includes corresponding application identities and device identification. When the described network equipment receives the application log-on message that described terminal unit sends, the described network equipment will be currently received All terminal units send application log-on message be sent to described terminal unit.And then described terminal unit receives described The application log-on message of all terminal units accessed in described LAN that the network equipment sends.Obviously, all ends here The application log-on message of end equipment refers to be sent to when all terminal units start respective application the application of the described network equipment Log-on message.
In step S105, it is judged that whether the application log-on message received comprises the mesh corresponding with described default application Mark application identities.
In this step, it is judged that whether the application log-on message received comprises the target corresponding with described default application Application identities.Specifically, described terminal unit prestores the target of the intended application having communication requirement with described default application Application identities, the application registration after described terminal receives the application log-on message of all terminal units, received by extraction Application identities in information, then judging whether there is, in the application identities extracted, the target prestored in described terminal unit should By mark.
When the application log-on message received comprises the intended application mark corresponding with described default application, in step In S106, described terminal unit is shown the device identification that described intended application mark is corresponding.
In this step, when the application log-on message received comprises the intended application mark corresponding with described default application During knowledge, described terminal unit is shown the device identification that described intended application mark is corresponding.Specifically, when the application received When log-on message comprises the intended application mark corresponding with described default application, extract the application note containing intended application mark Device identification in volume information, and on described terminal unit, show the device identification extracted.
The method that the embodiment of the present invention provides, the terminal unit in being linked into LAN detects described terminal unit In preset application start time, obtain the application log-on message of described default application, described application log-on message includes: be in startup The application identities of the default application of state and the device identification of described terminal unit, the network equipment in described LAN sends The application log-on message of described default application, receives all terminals that the described network equipment sends, that access in described LAN The application log-on message of equipment, further, it is judged that whether the application log-on message received comprises and described default application Corresponding intended application mark, and in the application log-on message received, comprise the intended application corresponding with described default application During mark, described terminal unit is shown the device identification that described intended application mark is corresponding.
When applying the scheme of the embodiment of the present invention, owing to comprising in the application log-on message received and presetting application When corresponding intended application identifies, the most only show the device identification that described intended application mark is corresponding, i.e. at end The device identification shown on end equipment is all the terminal unit being provided with intended application, so technical scheme is with existing Technology is compared, and user selects the process of intended application place terminal unit simply, and Consumer's Experience is good.
Furthermore, it is necessary to supplementary notes: during the present invention is embodied as, may be more than on described terminal unit Install one with described LAN in be different from the other-end equipment of described terminal unit install application have communication requirement Application, now, for being different from other of described terminal unit in each on described terminal unit and described LAN The application installed on terminal unit has the application of communication requirement, all can perform step S101 to the step in step S106 and after Step in continuous embodiment.
It addition, during the present invention is embodied as, step S102 can have multiple implementation, it is preferable that at this In a kind of detailed description of the invention of invention, step S102 may include that
Call registration LAN service interface;
Described registration lan interfaces is utilized to generate the application log-on message of described default application.
Specifically, when described default application starts, described terminal unit calls registration LAN service interface, further Ground, utilizes described registration LAN service interface to generate the application log-on message of described default application.As it was previously stated, for convenience of district Content in the application log-on message of mitogenetic one-tenth, can be containing interior in application log-on message in described registration LAN service interface The ordering rule held, in the application log-on message generated, content is ranked up according to this ordering rule.Now, described application note Volume information can also include the relevant information of described registration lan interfaces.It addition, this embodiment is only step S102 A kind of specific implementation, step S102 can also have other implementations, for example, it is possible to prestore in described default application The application log-on message of described default application, when described default application starts, directly obtains.
During the present invention is embodied as, step S105 can also have multiple implementation, it is preferable that in the present invention A kind of detailed description of the invention in, step S105 may include that
Filter out from the application log-on message of all terminal units received except the application of described terminal unit is registered Expectation application log-on message outside information;
Judge whether described expectation application log-on message comprises the intended application mark corresponding with described default application.
Specifically, send in the step S104 described network equipment of reception, all terminals accessed in described LAN set After standby application log-on message, described terminal unit filters out from the application log-on message of all terminal units received and removes Expectation application log-on message outside the application log-on message of described terminal unit, then, it is judged that described expectation application registration letter Whether breath comprises the intended application mark corresponding with described default application.The application log-on message of described terminal unit here Peace it is different from the other-end equipment of described terminal unit in described LAN including each on described terminal unit The application of dress has the application of communication requirement to be sent to the application log-on message of the described network equipment, the most described expectation application when starting The application registration that the other-end equipment of described terminal unit is sent it is different from log-on message only comprises described LAN Information.It addition, this embodiment is only a kind of specific implementation of step S105, step S105 can also have other to realize Mode, for example, it is possible to using all terminal units received application log-on message in comprise intended application mark equal as The intended application mark corresponding with described default application, it is also possible to first obtain in the application log-on message of all terminal units and comprise Intended application mark, the most therefrom filter out other-end equipment intended application mark as with described default application corresponding Intended application mark, other-end equipment here refers to the terminal being linked into described LAN in addition to described terminal unit Equipment.
Further, as in figure 2 it is shown, in a kind of detailed description of the invention of the present invention, it is also possible to including:
In step s 201, it may be judged whether the shutoff operation of described default application detected;
In step S202, when the shutoff operation of described default application being detected, send to the described network equipment and delete The instruction of the application log-on message of described default application, so that the described network equipment deletes the application registration letter of described default application Breath.
Specifically, in this specific embodiment, the shutoff operation of described default application can have many forms, example As, can be user's operation of clicking on the X button of described default application, it is also possible to be to stop before the shutdown of described terminal unit Operation that only described default application runs etc..When the shutoff operation of described default application being detected, described terminal unit to The described network equipment sends the instruction of the application log-on message deleting described default application, and the described network equipment is receiving instruction Time, delete the application log-on message of described default application, here for enabling the described network equipment to find correspondence according to instruction Application log-on message, can comprise the information such as corresponding application identities, device identification in described instruction.By this specific embodiment party Formula, when described default application is closed, the described network equipment deletes the application log-on message of described default application in time so that It is different from after described default application is closed in the application log-on message acquired in the other-end equipment of described terminal unit not Comprise unnecessary application log-on message, reduce internal memory and CPU consumes.
As it is shown on figure 3, in the another kind of detailed description of the invention of the present invention, it is also possible to including:
In step S301, send information acquisition request every Preset Time to the described network equipment;
In step s 302, receive that the described network equipment sends according to described information acquisition request, access described local The application log-on message of all terminal units in net.
Specifically, in this specific embodiment, described terminal unit sends to the described network equipment every Preset Time Information acquisition request, when the described network equipment often receives the most described information acquisition request, sends to described terminal unit and works as The application log-on message of all terminal units in the described LAN of front access, described terminal unit is receiving presently described office During the application log-on message of all terminal units in the net of territory, carry out subsequent step S105 and step S106, concrete in the present invention During enforcement, described Preset Time can be set according to actual needs, and such as, described Preset Time can be 1s, 2s, 1min etc..By this detailed description of the invention, can realize on described terminal unit, showing described intended application mark correspondence Device identification constantly update so that after described default application starts, the device identification of intended application place terminal unit also can Show on described terminal unit in time.
For making technical scheme more clear complete, below the equipment search of network equipment side in local area network The flow process of method is specifically described.
As shown in Figure 4, for the flow chart of a kind of equipment searching method that the embodiment of the present invention provides, it is applied in LAN The network equipment, this equipment searching method may comprise steps of:
In step S401, the application log-on message that the terminal unit being linked in described LAN sends.
In this step, what the terminal unit in the network equipment in LAN is linked into described LAN sent should Use log-on message.Wherein, described application log-on message includes: described terminal unit is in starting state default application should With mark and the device identification of described terminal unit, during the present invention is embodied as, the described network equipment can be meter The electronic equipments such as calculation machine, router, switch, described terminal unit can be the electronics such as mobile phone, intelligent television, ipad, computer Equipment, described default application be install on described terminal unit and be different from described terminal unit in described LAN its The application installed on his terminal unit has the application of communication requirement, and described application identities can be the application name of described default application Title, application version information etc., the device identification of described terminal unit can be the device name of described terminal unit, E-serial Number, international mobile station equipment identity etc., told application identities is for presetting application described in labelling, described device identification is for described in labelling Terminal unit.
In step S402, send the application of all terminal units being linked in described LAN to described terminal unit Log-on message.
In this step, the described network equipment sends, to described terminal unit, all terminals being linked in described LAN The application log-on message of equipment.Specifically, access and start on any terminal equipment in described LAN and in described LAN When the application installed on other-end equipment in addition to this any terminal equipment has the application of communication requirement, all will be started application , application log-on message send to the described network equipment.The described network equipment is receiving answering of described terminal unit transmission When using log-on message, send the application registration letter of all terminal units being linked in described LAN to described terminal unit Breath.
It should be added that, during the present invention is embodied as, in described LAN, include many station terminals Equipment, the described network equipment receive any terminal equipment to the described network equipment send application log-on message after, be performed both by step Rapid S401 and step S402.
The method that the embodiment of the present invention provides, what the terminal unit being first linked in described LAN sent should With log-on message, described application log-on message includes: be in the application mark of the default application of starting state in described terminal unit Know and the device identification of described terminal unit, further, send, to described terminal unit, the institute being linked in described LAN There is the application log-on message of terminal unit.
When applying the scheme of the embodiment of the present invention, the described network equipment sends to described terminal unit and is linked into described office The application log-on message of all terminal units in the net of territory, described application log-on message includes: is in described terminal unit and opens The application identities of the default application of dynamic state and the device identification of described terminal unit, described terminal unit can be at described network The application log-on message that equipment is sent obtains the intended application mark corresponding with described default application, and by corresponding target Device identification corresponding to application identities is shown on described terminal unit so that the device identification shown on described terminal unit is all Being the terminal unit being provided with intended application, so technical scheme is compared with prior art, user selects target to answer Simple by the process of place terminal unit, Consumer's Experience is good.
Further, in a kind of detailed description of the invention of the present invention, it is also possible to including:
Receive the instruction of the application log-on message deleting described default application that described terminal unit sends;
Delete the application log-on message of described default application.
Specifically, in this specific embodiment, the described network equipment receives the deletion institute that described terminal unit sends State the instruction of the application log-on message presetting application, then delete the application log-on message of described default application.Here for making State the network equipment and can find the application log-on message of correspondence according to instruction, described instruction can comprise and apply mark accordingly The information such as knowledge, device identification.By this detailed description of the invention, when described default application is closed, the described network equipment is deleted in time Application log-on message except described default application so that be different from its of described terminal unit after described default application is closed Application log-on message acquired in his terminal unit does not comprise unnecessary application log-on message, reduces internal memory and CPU consumes.
Further, in a kind of detailed description of the invention of the present invention, it is also possible to including:
Receive described terminal unit send information acquisition request, wherein, described terminal unit every Preset Time to institute State the network equipment and find described information acquisition request;
The application log-on message of all terminal units being currently accessed in described LAN is sent to described terminal unit.
Specifically, in this specific embodiment, the described network equipment receives the acquisition of information that described terminal unit sends Request, then sends the application registration letter of all terminal units being currently accessed in described LAN to described terminal unit Breath, wherein, described terminal unit every Preset Time to the described network equipment find described information acquisition request, described default time Between can be set according to actual needs, such as, described Preset Time can be 1s, 2s, 1min etc..Concrete by this Embodiment, described terminal unit sends information acquisition request, the described network equipment every Preset Time to the described network equipment When often receiving the most described information acquisition request, send, to described terminal unit, all ends being currently accessed in described LAN The application log-on message of end equipment, the application log-on message received to realize described terminal unit is constantly updated, and then is realized The device identification continuous renewal that described intended application mark is corresponding is shown so that open in described default application on described terminal unit After dynamic, the device identification of intended application place terminal unit also can be shown in time on described terminal unit.
Additionally, in preceding method embodiment, identical step can mutually be used for reference, different steps can with independent assortment, And the scheme formed after different step combinations, falls within protection scope of the present invention.
Relative to above method embodiment, the embodiment of the present invention additionally provides a kind of equipment searcher.Such as Fig. 5 institute Show, for the structural representation of a kind of equipment searcher that the embodiment of the present invention provides, be applied to the end being linked in LAN End equipment, this equipment searcher may include that detector unit 501, application log-on message acquiring unit 502, application registration letter Breath transmitting element 503, first receives unit the 504, first judging unit 505 and device identification display unit 506.
Detector unit 501 is used for detecting in described terminal unit presets whether application starts;
Application log-on message acquiring unit 502, for when described default application starts, obtains answering of described default application With log-on message, described application log-on message includes: the application identities and the described terminal that are in the default application of starting state set Standby device identification;
Application log-on message transmitting element 503 sends described default application for the network equipment in described LAN Application log-on message;
First receives unit 504 for receiving all terminals that the described network equipment sends, that access in described LAN The application log-on message of equipment;
First judging unit 505 is right with described default application for judging whether comprise in the application log-on message received The intended application mark answered;
Device identification display unit 506 is for corresponding with described default application when comprising in the application log-on message received Intended application mark time, described terminal unit is shown the device identification that described intended application mark is corresponding.
This device that the embodiment of the present invention provides, the terminal unit in being linked into LAN detects described terminal unit In preset application start time, obtain the application log-on message of described default application, described application log-on message includes: be in startup The application identities of the default application of state and the device identification of described terminal unit, the network equipment in described LAN sends The application log-on message of described default application, receives all terminals that the described network equipment sends, that access in described LAN The application log-on message of equipment, further, it is judged that whether the application log-on message received comprises and described default application Corresponding intended application mark, and in the application log-on message received, comprise the intended application corresponding with described default application During mark, described terminal unit is shown the device identification that described intended application mark is corresponding.
When applying the scheme of the embodiment of the present invention, owing to comprising in the application log-on message received and presetting application When corresponding intended application identifies, the most only show the device identification that described intended application mark is corresponding, i.e. at end The device identification shown on end equipment is all the terminal unit being provided with intended application, so technical scheme is with existing Technology is compared, and user selects the process of intended application place terminal unit simply, and Consumer's Experience is good.
Preferably, in a kind of detailed description of the invention of the present invention, described application log-on message acquiring unit 502 can wrap Include: interface interchange subelement and application log-on message generate subelement.
Interface interchange subelement is used for calling registration LAN service interface;
Application log-on message generates subelement for utilizing described registration lan interfaces to generate answering of described default application Use log-on message.
Preferably, in a kind of detailed description of the invention of the present invention, described first judging unit 505 may include that screening Subelement and judgment sub-unit.
Screening subelement is for filtering out except described terminal from the application log-on message of all terminal units received Expectation application log-on message outside the application log-on message of equipment;
Judgment sub-unit for judge described expectation application log-on message in whether comprise with described default application corresponding Intended application identifies.
Preferably, as shown in Figure 6, in a kind of detailed description of the invention of the present invention, described equipment searcher is all right Including: the second judging unit 601 and instruction sending unit 602.
Second judging unit 601 is for judging whether to detect the shutoff operation of described default application;
Instruction sending unit 602, for when the shutoff operation of described default application being detected, is sent out to the described network equipment Send the instruction of the application log-on message deleting described default application, so that the described network equipment deletes the application of described default application Log-on message.
Preferably, as it is shown in fig. 7, work as and the application log-on message received does not comprises the mesh corresponding with described default application During mark application identities, in a kind of detailed description of the invention of the present invention, described equipment searcher can also include: acquisition of information Request transmitting unit 701 and second receives unit 702.
Information acquisition request transmitting element 701 please for sending acquisition of information every Preset Time to the described network equipment Ask;
Second receives unit 702 for receiving the described network equipment sends, access institute according to described information acquisition request State the application log-on message of all terminal units in LAN.
Relative to above method embodiment, the embodiment of the present invention additionally provides a kind of equipment searcher.Such as Fig. 8 institute Show, the structural representation of a kind of equipment searcher provided for the embodiment of the present invention, the network equipment being applied in LAN, This equipment searcher may include that the first reception unit 801 and the first transmitting element 802.
The first application registration letter receiving the unit 801 terminal unit transmission for being linked in described LAN Breath, described application log-on message includes: be in the application identities of the default application of starting state and described in described terminal unit The device identification of terminal unit;
First transmitting element 802 is for sending, to described terminal unit, all terminal units being linked in described LAN Application log-on message.
This device that the embodiment of the present invention provides, what the terminal unit being first linked in described LAN sent should With log-on message, described application log-on message includes: be in the application mark of the default application of starting state in described terminal unit Know and the device identification of described terminal unit, further, send, to described terminal unit, the institute being linked in described LAN There is the application log-on message of terminal unit.
When applying the scheme of the embodiment of the present invention, the described network equipment sends to described terminal unit and is linked into described office The application log-on message of all terminal units in the net of territory, described application log-on message includes: is in described terminal unit and opens The application identities of the default application of dynamic state and the device identification of described terminal unit, described terminal unit can be at described network The application log-on message that equipment is sent obtains the intended application mark corresponding with described default application, and by corresponding target Device identification corresponding to application identities is shown on described terminal unit so that the device identification shown on described terminal unit is all Being the terminal unit being provided with intended application, so technical scheme is compared with prior art, user selects target to answer Simple by the process of place terminal unit, Consumer's Experience is good.
Preferably, in a kind of detailed description of the invention of the present invention, described equipment searcher can also include: instruction connects Receive unit and delete unit.
Instruction reception unit is for receiving the application log-on message deleting described default application that described terminal unit sends Instruction;
Delete unit for deleting the application log-on message of described default application.
Preferably, in a kind of detailed description of the invention of the present invention, described equipment searcher can also include: second connects Receive unit and the second transmitting element.
Second receives unit for receiving the information acquisition request that described terminal unit sends, wherein, described terminal unit Described information acquisition request is sent to the described network equipment every Preset Time;
Second transmitting element is for being currently accessed described according to described information acquisition request to the transmission of described terminal unit The application log-on message of all terminal units in LAN.
About the device in above-described embodiment, wherein unit performs the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.And it is understood that in above-described embodiment By the scheme after different unit combinations, protection scope of the present invention can be fallen within independent assortment between each unit of device.
It should be noted that in this article, such as the relational terms of " first " and " second " or the like is used merely to one Individual entity or operation separate with another entity or operating space, and not necessarily require or imply these entities or operate it Between exist any this reality relation or order.And, term " includes ", " comprising " or its any other variant are intended to Contain comprising of nonexcludability, so that include that the process of a series of key element, method, article or equipment not only include those Key element, but also include other key elements being not expressly set out, or also include for this process, method, article or set Standby intrinsic key element.
Those skilled in the art it can be understood that can add by software to the technology in the embodiment of the present invention required The mode of general hardware platform realize.Based on such understanding, the technical scheme in the embodiment of the present invention substantially or Saying that the part contributing prior art can embody with the form of software product, this computer software product can be deposited Storage, in storage medium, such as ROM/RAM, magnetic disc, CD etc., is used so that a computer equipment is (permissible including some instructions It is personal computer, server, or the network equipment etc.) perform each embodiment of the present invention or some part institute of embodiment The method stated.
Invention described above embodiment, is not intended that limiting the scope of the present invention.Any in the present invention Spirit and principle within amendment, equivalent and the improvement etc. made, should be included within the scope of the present invention.

Claims (16)

1. an equipment searching method, is applied to the terminal unit being linked in LAN, it is characterised in that described method bag Include:
Detect and described terminal unit presets whether application starts;
When described default application starts, obtaining the application log-on message of described default application, described application log-on message includes: It is in application identities and the device identification of described terminal unit of the default application of starting state;
The network equipment in described LAN sends the application log-on message of described default application;
Receive the described network equipment sends, the application log-on message of all terminal units accessed in described LAN;
Judge whether the application log-on message received comprises the intended application mark corresponding with described default application;
When the application log-on message received comprises the intended application mark corresponding with described default application, in described terminal The device identification that described intended application mark is corresponding is shown on equipment.
Method the most according to claim 1, it is characterised in that the application log-on message of the described default application of described acquisition, Including:
Call registration LAN service interface;
Described registration lan interfaces is utilized to generate the application log-on message of described default application.
Method the most according to claim 1, it is characterised in that whether wrap in the application log-on message that described judgement receives Identify containing the intended application corresponding with described default application, including:
The application log-on message except described terminal unit is filtered out from the application log-on message of all terminal units received Outside expectation application log-on message;
Judge whether described expectation application log-on message comprises the intended application mark corresponding with described default application.
4. according to the method described in any one of claim 1-3, it is characterised in that also include:
Judge whether to detect the shutoff operation of described default application;
When the shutoff operation of described default application being detected, send the application deleting described default application to the described network equipment The instruction of log-on message, so that the described network equipment deletes the application log-on message of described default application.
5. according to the method described in any one of claim 1-3, it is characterised in that when the application log-on message received does not wraps When identifying containing the intended application corresponding with described default application, also include:
Information acquisition request is sent to the described network equipment every Preset Time;
Receive all terminal units that the described network equipment sends, that access in described LAN according to described information acquisition request Application log-on message.
6. an equipment searching method, the network equipment being applied in LAN, it is characterised in that described method includes:
The application log-on message that the terminal unit being linked in described LAN sends, described application log-on message includes: Described terminal unit is in application identities and the device identification of described terminal unit of the default application of starting state;
The application log-on message of all terminal units being linked in described LAN is sent to described terminal unit.
Method the most according to claim 6, it is characterised in that also include:
Receive the instruction of the application log-on message deleting described default application that described terminal unit sends;
Delete the application log-on message of described default application.
Method the most according to claim 6, it is characterised in that also include:
Receive described terminal unit send information acquisition request, wherein, described terminal unit every Preset Time to described net Network equipment sends described information acquisition request;
The application log-on message of all terminal units being currently accessed in described LAN is sent to described terminal unit.
9. an equipment searcher, is applied to the terminal unit being linked in LAN, it is characterised in that described device bag Include:
Detector unit, is used for detecting in described terminal unit and presets whether application starts;
Application log-on message acquiring unit, for when described default application starts, obtains the application registration of described default application Information, described application log-on message includes: be in the application identities of default application and the setting of described terminal unit of starting state Standby mark;
Application log-on message transmitting element, sends the application note of described default application for the network equipment in described LAN Volume information;
First receives unit, that the described network equipment sends, all terminal units accessed in described LAN for receiving Application log-on message;
First judging unit, for judging whether to comprise in the application log-on message received the mesh corresponding with described default application Mark application identities;
Device identification display unit, for when comprising the target corresponding with described default application in the application log-on message received During application identities, described terminal unit is shown the device identification that described intended application mark is corresponding.
Device the most according to claim 9, it is characterised in that described application log-on message acquiring unit, including:
Interface interchange subelement, is used for calling registration LAN service interface;
Application log-on message generates subelement, for utilizing described registration lan interfaces to generate the application note of described default application Volume information.
11. devices according to claim 9, it is characterised in that described first judging unit, including:
Screening subelement, for filtering out except described terminal unit from the application log-on message of all terminal units received Application log-on message outside expectation application log-on message;
Judgment sub-unit, for judging whether comprise the target corresponding with described default application in described expectation application log-on message Application identities.
12. according to the device described in any one of claim 9-11, it is characterised in that also include:
Second judging unit, for judging whether to detect the shutoff operation of described default application;
Instruction sending unit, for when the shutoff operation of described default application being detected, sends to the described network equipment and deletes The instruction of the application log-on message of described default application, so that the described network equipment deletes the application registration letter of described default application Breath.
13. according to the device described in any one of claim 9-11, it is characterised in that when in the application log-on message received not When comprising the intended application mark corresponding with described default application, also include:
Information acquisition request transmitting element, for sending information acquisition request every Preset Time to the described network equipment;
Second receive unit, for receive that the described network equipment sends according to described information acquisition request, access described local The application log-on message of all terminal units in net.
14. 1 kinds of equipment searchers, the network equipment being applied in LAN, it is characterised in that described device includes:
First receives unit, the application log-on message that the terminal unit for being linked in described LAN sends, described Application log-on message includes: be in the application identities of the default application of starting state and described terminal unit in described terminal unit Device identification;
First transmitting element, for sending the application of all terminal units being linked in described LAN to described terminal unit Log-on message.
15. devices according to claim 14, it is characterised in that also include:
Instruction reception unit, for receiving the finger of the application log-on message deleting described default application that described terminal unit sends Order;
Delete unit, for deleting the application log-on message of described default application.
16. devices according to claim 14, it is characterised in that also include:
Second receive unit, for receive described terminal unit send information acquisition request, wherein, described terminal unit every Preset Time sends described information acquisition request to the described network equipment;
Second transmitting element, for being currently accessed described local according to described information acquisition request to the transmission of described terminal unit The application log-on message of all terminal units in net.
CN201610323393.9A 2016-05-16 2016-05-16 Device searching method and apparatus Pending CN106059863A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610323393.9A CN106059863A (en) 2016-05-16 2016-05-16 Device searching method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610323393.9A CN106059863A (en) 2016-05-16 2016-05-16 Device searching method and apparatus

Publications (1)

Publication Number Publication Date
CN106059863A true CN106059863A (en) 2016-10-26

Family

ID=57177540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610323393.9A Pending CN106059863A (en) 2016-05-16 2016-05-16 Device searching method and apparatus

Country Status (1)

Country Link
CN (1) CN106059863A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483494A (en) * 2017-09-20 2017-12-15 宁波工程学院 A kind of automatic search of internal home network equipment and matching process
CN108156268A (en) * 2016-12-05 2018-06-12 腾讯科技(深圳)有限公司 Acquisition methods and server, the terminal device of device identification

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379469A (en) * 2012-04-13 2013-10-30 华为技术有限公司 Close quarter information registration method, query method and user equipment
CN103428630A (en) * 2012-05-21 2013-12-04 华为终端有限公司 Method and device for searching for terminals
CN104066070A (en) * 2013-03-20 2014-09-24 中兴通讯股份有限公司 Terminal registration method, terminal finding method, terminal and devices
CN104660678A (en) * 2015-01-16 2015-05-27 深圳市深信服电子科技有限公司 Application data sharing method and device
US20160147896A1 (en) * 2014-11-26 2016-05-26 Quixey, Inc. Providing Additional Functionality With Search Results

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379469A (en) * 2012-04-13 2013-10-30 华为技术有限公司 Close quarter information registration method, query method and user equipment
CN103428630A (en) * 2012-05-21 2013-12-04 华为终端有限公司 Method and device for searching for terminals
CN104066070A (en) * 2013-03-20 2014-09-24 中兴通讯股份有限公司 Terminal registration method, terminal finding method, terminal and devices
US20160147896A1 (en) * 2014-11-26 2016-05-26 Quixey, Inc. Providing Additional Functionality With Search Results
CN104660678A (en) * 2015-01-16 2015-05-27 深圳市深信服电子科技有限公司 Application data sharing method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108156268A (en) * 2016-12-05 2018-06-12 腾讯科技(深圳)有限公司 Acquisition methods and server, the terminal device of device identification
CN107483494A (en) * 2017-09-20 2017-12-15 宁波工程学院 A kind of automatic search of internal home network equipment and matching process
CN107483494B (en) * 2017-09-20 2020-06-19 宁波工程学院 Automatic searching and matching method for indoor network equipment

Similar Documents

Publication Publication Date Title
CN104852937B (en) Method for network access and device for mobile application
CN103809427B (en) A kind of method and device for updating the mobile terminal time
RU2008116875A (en) FILTRATION OF MOBILE TELEVISION CHANNELS AND ACCESS TO SERVICES
CN102548043A (en) Apparatus and method for searching access points in portable terminal
CN107818046B (en) A/B test method and device for application program page
CN103731853B (en) Cloud recognition methods, equipment and the system of double-card mobile communication device
CN105898085A (en) Harassment communication account identification method and device
CN105959934B (en) Network re-entry recognition methods and system
CN104135556A (en) Call method and call device based on mobile terminal
CN103188204A (en) Service control method and system in open platform
CN101296001A (en) Method and mobile terminal for recognizing user identity
CN102984391A (en) Mobile terminal and reply processing method for message content in mobile terminal
CN108848455A (en) Acquisition methods, device, equipment and the computer readable storage medium of available network
JP2007102584A (en) Customer-based inquiry response support system
CN110519810B (en) Service relay switching method, terminal equipment, storage medium and device
CN106059863A (en) Device searching method and apparatus
CN104184871B (en) A kind of method and apparatus prompting harassing call number
CN105872191A (en) Call reminder setting method, call reminder setting device and related equipment
CN105407205A (en) Data output method and data output apparatus
CN103905506B (en) A kind of Mobile solution offline access method, processing method, device and system
CN105681607B (en) Call number query method, device and system and mobile terminal
CN104424336B (en) A kind of information processing method and electronic equipment
JP2001007856A (en) Network system, information management unit and terminal
CN108696858A (en) A kind of method and system for establishing social networks based on phone number
CN109032723A (en) A kind of interface jump method, device and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161026

WD01 Invention patent application deemed withdrawn after publication