CN105163272A - Position sharing method and device - Google Patents
Position sharing method and device Download PDFInfo
- Publication number
- CN105163272A CN105163272A CN201510381058.XA CN201510381058A CN105163272A CN 105163272 A CN105163272 A CN 105163272A CN 201510381058 A CN201510381058 A CN 201510381058A CN 105163272 A CN105163272 A CN 105163272A
- Authority
- CN
- China
- Prior art keywords
- information
- client
- lan
- locating
- locating information
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a position sharing method, and the method comprises the steps: connecting a local area network; broadcasting identity information comprising the address of a client local area network, and receiving and recording the identity information broadcasted by other clients; obtaining the positioning information of the client; coding the positioning information, and carrying out protocol packaging; and broadcasting and sharing the positioning information or transmitting the positioning information between at least two clients according to the identity information of other clients. The invention also provides a position sharing device.
Description
Technical field
The present invention relates to the communications field, particularly relate to a kind of position and share method and apparatus.
Background technology
In a lot of scene, such as organizations is movable and when travelling outdoors, and usually needs to position participant shared.In most cases, if public network network signal is better, participant can select, by public network, real time position is uploaded to cloud server, then carrys out sharing position information by cloud process.
But carry out sharing position information by cloud server and have certain limitation, such as, when public network signal is poor (such as in field, deserted mountain), networking real-time is bad; Again such as, Cloud Server environment is set up needs time and higher cost etc.
Summary of the invention
In order to solve the problem, the invention provides a kind of position and sharing method and apparatus.
One embodiment of the invention provides a kind of position to share method, comprising: connect local area network (LAN); Broadcast packet containing the identity information of client own LAN network network address, and receives and records the identity information that other client broadcast goes out; Obtain the locating information of client self; Locating information is encoded and carries out protocol encapsulation; And according to the identity information of other clients, locating information described in broadcasting share or send described locating information between at least two clients.
Another embodiment of the present invention provides a kind of position sharing means, comprising: networking module, for connecting local area network (LAN); Broadcast module, for broadcast packet containing the identity information of client own LAN network network address, and receives and records the identity information that other client broadcast goes out; Locating module, for obtaining the locating information of client self; Coding package module, for encoding locating information and carrying out protocol encapsulation; And sharing module, for the identity information according to other clients, locating information described in broadcasting share or send described locating information between at least two clients.
Position of the present invention sharing means and method, the local area network (LAN) location information set up by this locality is shared, and does not need public network server to participate in, convenient and swift, good stability, and cost is also low.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The applied environment schematic diagram of the position sharing means that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 is for position that the embodiment of the present invention provides sharing the flow chart of method;
Fig. 3 is the flow chart that the step S103 of method is shared in the position of Fig. 2;
The functional block diagram of the position sharing means that Fig. 4 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, more detailed description is further done to technical scheme of the present invention.Obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under the prerequisite of not making creative work, all should belong to the scope of protection of the invention.
As shown in Figure 1, 2, method is shared in its a kind of position provided for the embodiment of the present invention.In certain embodiments, described position share method can be used for support Wireless Fidelity the SmartClient equipment such as notebook computer, panel computer, PDA, mobile phone, psp, ipodtouch, router in.In the present embodiment, described client device is mobile phone.
More specifically, described position is shared method and is comprised the following steps:
Step S101, client's side link local area network (LAN).In the present embodiment, described local area network (LAN) is set up by Wifi focus, and multiple cell-phone customer terminal is connected to same router, composition local area network (LAN) group.
Step S102, broadcast packet containing the identity information of client own LAN network network address, and receives and records the identity information that other client broadcast goes out.In the present embodiment, after each mobile phone is connected to described local area network (LAN), at set intervals, agreement according to a preconcerted arrangement, broadcasts the identity information of oneself, comprises the local area network (LAN) network address of this cell-phone customer terminal in described identity information.And, after each cell-phone customer terminal is connected to local area network (LAN), monitors and receive the identity information that in local area network (LAN), other cell-phone customer terminals are broadcasted, and this information is recorded.So, the website information of other clients in local area network (LAN) can be known.
Step S103, client locates the geographical location information of oneself in real time, and obtains the locating information of each client.In the present embodiment, obtained the locating information of client by GPS, architecture, Big Dipper location or other positioning means.Step S104, encodes locating information and carries out protocol encapsulation.In the present embodiment, locating information is encoded to the data that can be transferred to local area network (LAN), and described agreement is the agreement of each client self definition in group.
Step S105, according to the identity information of other clients, locating information described in broadcasting share or send described locating information between at least two clients.In the present embodiment, according to different business scenario demands, client broadcasts the geographical location information of oneself in local area network (LAN), or sends the geographical location information of oneself to certain client specific, realizes sharing of positional information.
Refer to Fig. 3, in another embodiment, the step of the locating information of described acquisition client comprises following sub-step:
Step S103a, launch client and transmitted by sky alignment different directions, described signal comprises directional information.Concrete, described transmitting client sends signal by other clients of sky alignment, includes directional information in described signal, as all directions directional information and longitude and latitude information.After other clients obtain described signal, the described directional information of correspondence can be added in feedback information, and pass back in described transmitting client.The transmitting-receiving process of described signal and Principles of Radar similar, therefore to repeat no more.In addition, described transmitting client can be any communication equipment with antenna transmission-receiving function, as router, mobile phone etc.
Step S103b, launches the feedback signal that client receives other clients.
Step S103c, launches client according to the time obtaining described feedback signal, and in conjunction with described directional information, calculates the locating information of client.Concrete, described transmitting client, according to the time obtaining described feedback signal, calculates the distance between other clients and transmitting client, and then in conjunction with described directional information, obtains the locating information of each client.
Refer to Fig. 4, the present invention also provides a kind of position sharing means.In the present embodiment, described position sharing means is used in mobile phone.In other embodiments, described position sharing means can be used for supporting in the SmartClient equipment such as notebook computer, panel computer, PDA, mobile phone, psp, ipodtouch, router of Wireless Fidelity.
Described position sharing means 100 comprises networking module 10, broadcast module 20, locating module 30, coding package module 40 and sharing module 50.
Described networking module 10 is for connecting local area network (LAN).In the present embodiment, described local area network (LAN) is set up by Wifi focus, and multiple cell-phone customer terminal is connected to same router, composition local area network (LAN) group.
Described broadcast module 20 containing the identity information of client own LAN network network address, and receives and records the identity information that other client broadcast goes out for broadcast packet.In the present embodiment, after each mobile phone is connected to described local area network (LAN), at set intervals, agreement according to a preconcerted arrangement, broadcasts the identity information of oneself, comprises the local area network (LAN) network address of this cell-phone customer terminal in described identity information.And, after each cell-phone customer terminal is connected to local area network (LAN), monitors and receive the identity information that in local area network (LAN), other cell-phone customer terminals are broadcasted, and this information is recorded.So, the website information of other clients in local area network (LAN) can be known.
Described locating module 30 is for obtaining the locating information of client.In certain embodiments, described locating module 30 is GPS module, architecture module or other locating modules, in order to obtain the locating information of client self.In the present embodiment, described locating module 30 comprises transmitter unit 31, receiving element 32 and computing unit 33.Described transmitter unit 31 is for transmitting by sky alignment different directions, and described signal comprises directional information.Concrete, described transmitter unit 31 sends signal to other clients, includes directional information in described signal, as all directions directional information and longitude and latitude information.After other clients obtain described signal, the described directional information of correspondence can be added in feedback information, and pass back in described transmitter unit 31.The transmitting-receiving process of described signal and Principles of Radar similar, therefore to repeat no more.Described receiving element 32 is for receiving the feedback signal of client.Described computing unit 33 for the time according to the described feedback signal of acquisition, and in conjunction with described directional information, calculates the locating information of client.Concrete, described computing unit 33, according to the time obtaining described feedback signal, calculates the distance between other clients and own customers end, and then in conjunction with described directional information, obtains the locating information of each other clients.Described coding package module 40 is for encoding locating information and carrying out protocol encapsulation.In the present embodiment, described agreement is the agreement of each client self definition in group.
Described sharing module 50 for the identity information according to other clients, locating information described in broadcasting share or send described locating information between at least two clients.
Position of the present invention sharing means and method, the local area network (LAN) location information set up by this locality is shared, and does not need public network server to participate in, convenient and swift, good stability, and cost is also low.
It should be noted that, through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required hardware platform by software and realize, and can certainly all be implemented by hardware.Based on such understanding, what technical scheme of the present invention contributed to background technology can embody with the form of software product in whole or in part, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the present invention or embodiment.
The above disclosed preferred embodiment be only in the embodiment of the present invention, certainly can not limit the interest field of the present invention, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained with this.
Claims (10)
1. a method is shared in position, comprising:
Connect local area network (LAN);
Broadcast packet containing the identity information of client own LAN network network address, and receives and records the identity information that other client broadcast goes out;
Obtain the locating information of client;
Locating information is encoded and carries out protocol encapsulation; And
According to the identity information of other clients, locating information described in broadcasting share or send described locating information between at least two clients.
2. method is shared in position as claimed in claim 1, and it is characterized in that, described local area network (LAN) is set up by Wifi focus.
3. method is shared in position as claimed in claim 1, it is characterized in that, in the step of the locating information of described acquisition client self, obtains described locating information by GPS, Big Dipper location or architecture mode.
4. method is shared in position as claimed in claim 1, and it is characterized in that, the step of the locating information of described acquisition client comprises:
Transmitted by sky alignment different directions, described signal comprises directional information;
Receive the feedback signal of client;
According to the time obtaining described feedback signal, and in conjunction with described directional information, calculate the locating information of client.
5. method is shared in position as claimed in claim 1, it is characterized in that, comprises step further: set up group, and make group member be connected to described local area network (LAN).
6. a position sharing means, is characterized in that, comprising:
Networking module, for connecting local area network (LAN);
Broadcast module, for broadcast packet containing the identity information of client own LAN network network address, and receives and records the identity information that other client broadcast goes out;
Locating module, for obtaining the locating information of client;
Coding package module, for encoding locating information and carrying out protocol encapsulation; And
Sharing module, for the identity information according to other clients, locating information described in broadcasting share or send described locating information between at least two clients.
7. position as claimed in claim 6 sharing means, it is characterized in that, described local area network (LAN) is set up by Wifi focus.
8. position as claimed in claim 6 sharing means, is characterized in that, described locating module obtains described locating information by GPS, Big Dipper location or architecture mode.
9. position as claimed in claim 6 sharing means, it is characterized in that, described locating module comprises:
Transmitter unit, for being transmitted by sky alignment different directions, described signal comprises directional information;
Receiving element, for receiving the feedback signal of client;
Computing unit, for the time according to the described feedback signal of acquisition, and in conjunction with described directional information, calculates the locating information of client.
10. position as claimed in claim 6 sharing means, is characterized in that, comprises cohort module further, for setting up group, and making group member be connected to described local area network (LAN).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510381058.XA CN105163272A (en) | 2015-06-30 | 2015-06-30 | Position sharing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510381058.XA CN105163272A (en) | 2015-06-30 | 2015-06-30 | Position sharing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105163272A true CN105163272A (en) | 2015-12-16 |
Family
ID=54804008
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510381058.XA Pending CN105163272A (en) | 2015-06-30 | 2015-06-30 | Position sharing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105163272A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106028284A (en) * | 2016-06-29 | 2016-10-12 | 北京奇虎科技有限公司 | Method for identifying relative positions between smart devices and smart device |
CN109672971A (en) * | 2017-10-12 | 2019-04-23 | 中兴通讯股份有限公司 | The localization method, mobile terminal and storage medium of member in group |
TWI759555B (en) * | 2017-12-29 | 2022-04-01 | 香港商阿里巴巴集團服務有限公司 | Method, device and system for accessing network hotspot device by network device to be distributed |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101651591A (en) * | 2008-08-14 | 2010-02-17 | 曹斌 | Information system and information method |
CN101951552A (en) * | 2010-10-12 | 2011-01-19 | 北京车灵通科技发展有限公司 | Hotspot position uploading and sharing method |
US20140219261A1 (en) * | 2012-04-11 | 2014-08-07 | Kerstin Johnsson | Operator-assisted device-to-device (d2d) discovery |
-
2015
- 2015-06-30 CN CN201510381058.XA patent/CN105163272A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101651591A (en) * | 2008-08-14 | 2010-02-17 | 曹斌 | Information system and information method |
CN101951552A (en) * | 2010-10-12 | 2011-01-19 | 北京车灵通科技发展有限公司 | Hotspot position uploading and sharing method |
US20140219261A1 (en) * | 2012-04-11 | 2014-08-07 | Kerstin Johnsson | Operator-assisted device-to-device (d2d) discovery |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106028284A (en) * | 2016-06-29 | 2016-10-12 | 北京奇虎科技有限公司 | Method for identifying relative positions between smart devices and smart device |
CN106028284B (en) * | 2016-06-29 | 2019-06-07 | 北京奇虎科技有限公司 | The method and smart machine of relative position between identification intelligent equipment |
CN109672971A (en) * | 2017-10-12 | 2019-04-23 | 中兴通讯股份有限公司 | The localization method, mobile terminal and storage medium of member in group |
TWI759555B (en) * | 2017-12-29 | 2022-04-01 | 香港商阿里巴巴集團服務有限公司 | Method, device and system for accessing network hotspot device by network device to be distributed |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9813852B2 (en) | System and method for positioning terminal | |
EP3429260B1 (en) | Data transmission method and system | |
US20140280990A1 (en) | Shared data communication bandwidths among mobile devices | |
CN102572956B (en) | Method and system for location based wireless tower caching | |
US20110103293A1 (en) | Internet based partitioning wireless communication system | |
CN105430286A (en) | Pan/tilt, system, method and unmanned aerial vehicle for realizing network live broadcast | |
Patzold | 5G is coming around the corner [mobile radio] | |
CN104052539A (en) | Method and device for satellite communication of smart phones through Beidou terminals | |
CN105850218A (en) | D2D communication detection method, device and system | |
CN104125654A (en) | Data transmission method and devices for wifi network and terminal devices | |
CN103905981A (en) | Method and system for sharing position information | |
CN103024895A (en) | Positioning method for positioning by combining GPS (global positioning system) with base station | |
CN105163272A (en) | Position sharing method and device | |
US10700884B2 (en) | Method, apparatus and computer program product for data distribution | |
CN104010362A (en) | Method and apparatus for positioning terminal position, and positioning device | |
CN115023964A (en) | WLAN (Wireless local area network) perception measurement establishment termination method and device, electronic equipment and storage medium | |
CN103024212B (en) | The method of voice service, terminal and system are provided | |
CN105933869B (en) | Method of locating terminal, device and terminal server | |
CN106550493B (en) | Media resource sharing method and mobile terminal | |
CN110392347A (en) | Data transmission method and device | |
CN104683464A (en) | Method, device and system for positioning computer | |
CN108195386A (en) | Air navigation aid, server and navigation system | |
WO2023024541A1 (en) | Device location method and system, and storage medium and electronic apparatus | |
Casetti | The 5G Ecosystem Forges Ahead as Remote Services Take Center Stage [Mobile Radio] | |
WO2023108645A1 (en) | Method, device and computer program product for wireless communication |
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: 20151216 |
|
WD01 | Invention patent application deemed withdrawn after publication |