CN104394067A - Local area network communication method and device - Google Patents

Local area network communication method and device Download PDF

Info

Publication number
CN104394067A
CN104394067A CN201410764711.6A CN201410764711A CN104394067A CN 104394067 A CN104394067 A CN 104394067A CN 201410764711 A CN201410764711 A CN 201410764711A CN 104394067 A CN104394067 A CN 104394067A
Authority
CN
China
Prior art keywords
terminal
group
communication connection
access
service routine
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
CN201410764711.6A
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.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410764711.6A priority Critical patent/CN104394067A/en
Publication of CN104394067A publication Critical patent/CN104394067A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a local area network communication method and device. A group is created in a first terminal and information is released in the group. The method comprises the following steps: creating the group by using the first terminal as a service end according to a group creating requirement triggered by a first terminal user; creating a service program at the first terminal and binding the service program with an IP (internet protocol) address and a preset port of the first terminal; monitoring a communication connection request of a second terminal on the service program on the preset port; creating a communication connection between the service program and the second terminal according to the communication connection request; connecting the second terminal to the group to serve as a group member and enabling the second terminal to release the information in the group. According to the scheme, the group creation does not need to depend on the internet, and the operations of creating the group and releasing the information can be performed without available internet access.

Description

Local network communication method and apparatus
Technical field
The present invention relates to Internet technical field, be specifically related to a kind of Local network communication method and apparatus.
Background technology
Along with the development of Internet technology, undertaken exchanging by the Internet become particularly important in the social life of people.Having there is a large amount of communication applications in prior art, supports that the man-to-man dialogue of user is linked up, transmit voice, word, picture etc.
These communication applications also allow user to set up group, generally comprise multiple member in group, have topics common, hobby or correlation between member.Multiple member can simultaneously to topics common speech, and compared with man-to-man mode, the amount of information of interchange is larger.
Existing group is by relatively-stationary member composition, and the information of group group member is open to he member.The user of communication applications initiatively applies for adding group according to group number etc., becomes group members; Or user draws in group according to the number of user by keeper.When user no longer needs group's internal information and will leave in group, need operate accordingly, such as, click " the exiting this group " on client-side program, this member is removed this group by system, and meanwhile, group group member also can remove according to the application etc. of keeper by system.
In addition, the group in existing communication applications sets up and Information issued depends on the Internet, and founder or other group members by available access to netwoks the Internet, the server of communication applications must be set up group, will release news and send to each member.
Summary of the invention
In view of the above problems, propose the present invention to provide a kind of overcome the problems referred to above or to solve the problem at least in part.
According to an aspect of the present invention, provide a kind of Local network communication method, set up group at first terminal and release news in group, comprising:
Set up request according to the group that first terminal user triggers, set up group using first terminal as service end;
Service routine is set up and by the IP address of described service routine and first terminal and default port binding at described first terminal;
Described default port is monitored the communication connection request of the second terminal to described service routine;
The communication connection between described service routine and described second terminal is set up according to described communication connection request;
Described second terminal is accessed as group member in described group, releases news in described group to make described second terminal.
According to a further aspect in the invention, provide a kind of Local network communication device, set up group at first terminal and release news in group, device comprises:
Group sets up module, and the group being suitable for triggering according to first terminal user sets up request, sets up group using first terminal as service end;
Module is set up in service, is suitable for setting up service routine and by the IP address of described service routine and first terminal and default port binding at described first terminal;
Monitor module, be suitable for monitoring the communication connection request of the second terminal to described service routine on described default port;
Link block, is suitable for setting up communication connection between described service routine and described second terminal according to described communication connection request;
Access module, is suitable for described second terminal to access as group member in described group, releases news in described group to make described second terminal.
According to Local network communication method and apparatus of the present invention, the terminal of communication applications is had as server using the operation of in local area network (LAN), set up the communication connection between other-end in this terminal and local area network (LAN), have the other-end of communication applications to access in this group operation.According to the program, the foundation of group must not depend on the Internet, can under the condition without available linking Internet, set up group and release news.In addition, carry out Auto-matching according to communication connection, in group, add member, user, without the need to active searching or submit applications, just can become group member, decrease user operation.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of specification, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing is only suitable for the object that preferred implementation is shown, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows the flow chart of Local network communication method according to an embodiment of the invention;
Fig. 2 shows the flow chart of Local network communication method in accordance with another embodiment of the present invention;
Fig. 3 shows the structured flowchart of Local network communication device according to an embodiment of the invention;
Fig. 4 shows the structured flowchart of Local network communication device in accordance with another embodiment of the present invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Fig. 1 shows the flow chart of Local network communication method provided by the invention, and as shown in Figure 1, method comprises the steps:
Step S110, sets up request according to the group that first terminal user triggers, sets up group using first terminal as service end.
Method of the present invention is applicable in communication applications, as instant messaging application program, or releases news in the group of social networks application program.Wherein, the user of communication applications is without the need to can setting up group by the Internet logon server and adding member according to the connection of each terminal in local area network (LAN) in group, issue the information from each terminal, for the multiple users being currently located at the communication applications in same local area network (LAN) provide the platform of interchange.
First terminal can be the PC being provided with communication applications, smart mobile phone, notebook computer, PDA or panel computer etc.By wire cable between each terminal in local area network (LAN), bluetooth, the modes such as Wi-Fi connect.The present invention relates to the communication between first terminal and multiple second terminal, the terminal of communication should be the process of communication applications in first terminal and the second terminal or communication applications.In various embodiments of the present invention, each step in the first terminal of description and the second terminal is actually by communication applications, or communication applications calling system interface has come.
Particularly, the process receiving the group's foundation request triggered can be, provide in the communication applications of first terminal " creating local area network (LAN) group ", the option such as " create interim discussion group ", user opens communication applications and after selecting above-mentioned option, communication applications in first terminal receives group and sets up request, sets up group.
Step S120, sets up service routine and by the IP address of service routine and first terminal and default port binding at first terminal.
The interface for network programming that the operating system that above-mentioned service routine comprises first terminal provides.Communication between the application process of different terminals needs to use transition layer protocol, such as, and Transmission Control Protocol or udp protocol.These agreements are in an operating system resident.Therefore, communication applications will realize the communication between different terminals, just needs the interface for network programming that call operation system provides.Wherein, topmost interface for network programming is exactly sockets interface (socket API), such as, and Windows Socket.
Particularly, set up the socket (server socket) of a service end at first terminal, and the IP address of socket being bound first terminal and the port binding preset, as the end points communicated to connect between first terminal and the second terminal.Socket is by the communication applications program creation on first terminal, and the communication applications program on first terminal uses transition layer protocol, such as Transmission Control Protocol by calling socket function, to connect Serial Communication of going forward side by side with the second terminal.The socket binding of service end can be a default interface, what namely operating system had distributed to communication applications knows port, such as, can bind 80 ports for HTTP service.
The second terminal in local area network (LAN) is informed after creating ServerSocket in the IP address of ServerSocket and port numbers by communication applications on first terminal, and for the second terminal initiating communication connection request, at this moment, ServerSocket such as to be at the state to be connected.
Step S130, default port is monitored the communication connection request of the second terminal to service routine.
Correspondingly, the second terminal creates a client socket (client socket), binds with the IP address of the second terminal and a port numbers, as another end points of communication connection.The port numbers that second terminal is bound can be the dynamic end slogan that operating system is distributed automatically.Afterwards, the second terminal, to the ServerSocket initiating communication connection request of first terminal, needs the IP address indicating first terminal and the port preset in this communication connection request.
Step S140, sets up the communication connection between service routine and the second terminal according to communication connection request.
When after the communication connection request listening to the second terminal, accept this communication connection request, at this moment just establish the communication connection between first terminal and the second terminal.
Step S150, using second terminal access group in as group member, release news in group to make the second terminal.
Through above steps, each second terminal and first terminal form the structure of client-server end, and the communication connection released news by setting up is sent to first terminal by the second terminal, and releasing news of receiving to be issued by first terminal in group.Particularly, first terminal receive second terminal send releasing news, be transmitted to other group member by releasing news, can also forward release news in add sender, the information such as time.
Second terminal is access in after in group, and namely corresponding user becomes group member.Although the server of the user of the second terminal now not on actual log the Internet, but the account of user and the pet name can be retained in this locality by communication applications in advance, like this, still user can be used in the account of communication applications, the pet names etc. send to other members in group by releasing news, concerning user, this seems identical with after logon server.Such as, word-information display member issued in group chatting interface is in the below of the pet name.Alternatively, interim ID can also be distributed for group member, as the anonymous pet name etc., release news in group with interim ID.
According to the method that the above embodiment of the present invention provides, there is the terminal of communication applications as service end using the operation of in local area network (LAN), set up the communication connection between other-end in this terminal and local area network (LAN), have the terminal of communication applications to access in this group operation.According to the program, the foundation of group does not rely on the Internet, can set up group under without the condition of available network and release news, and it is also quicker to build group.In addition, provide the function of Auto-matching, user, without the need to active searching or submit applications, just can become group member, decrease user operation.
Fig. 2 shows the flow chart of Local network communication method in accordance with another embodiment of the present invention.In the present embodiment, first terminal is the mobile phone with wireless aps function, notebook computer etc., and is configured to Wi-Fi Hotspot, has multiple second terminal to be connected to this Wi-Fi Hotspot in addition.As shown in Figure 2, method comprises the steps:
Step S210, sets up request according to the group that first terminal user triggers, sets up group using first terminal as service end.
Step S220, first terminal sets up ServerSocket and by the IP address of socket and first terminal and default port binding.
When the communication applications on first terminal needs to use network to communicate, must first send socket system call, solicit operation system creation " socket ".This actual effect called some system resource allocation that to be solicit operation system need network service are to this application process.These resources socket descriptor represents by operating system.
After socket is created, its port numbers and IP address are all empty, and communication applications needs to call binding (bind) function to indicate the local address of socket, comprise local ip address and port numbers, what this port numbers was generally server knows port numbers, such as, and 80 ports.
Step S230, first terminal is to being connected to the IP address of the second terminal broadcast first terminal of Wi-Fi Hotspot and the default port numbers of binding with ServerSocket.
First terminal is configured to Wi-Fi Hotspot, and the second terminal is connected to Wi-Fi Hotspot and gets IP address, forms local area network (LAN).First terminal is broadcasted in local area network (LAN), and all terminals being connected to focus all receive broadcast, obtains the port numbers preset.
Do not limit the order between step S220 and step S230 in the present embodiment, yet can first broadcast and then carry out the establishment of ServerSocket.
Step S240, the second terminal creates client socket and binds IP address and the port numbers of the second terminal.
The situation of detailed process and first terminal is similar.Difference is, the second terminal, as client, can never call bound functions, and uses a dynamic end slogan automatically distributed, and in a connection request first terminal is informed in this dynamic end slogan.
Step S250, the second terminal request and first terminal establish a communications link.
Second terminal calls the request of connection (connect) function initiating communication after creating socket.
Step S260, first terminal preset monitored port.
After binding IP address and port, the communication applications of first terminal is called and is listened to (1isten) function receives the second terminal at any time communication connection request in obstruction mode.
Step S270, first terminal accepts the communication connection request listened to, and establishes a communications link.
After first terminal listens to request, call acceptance (accept) function, establish a communications link.
Step S280, accesses the second terminal in group as group member.
In reality, multiple second terminal may be had to send communication connection request, and first terminal needs to process multiple communication connection simultaneously.This can be accomplished in several ways.Such as, adopt the mode of multithreading, communication applications is that each new connection request creates a new socket, the identifier of the socket of this new establishment is returned to the second terminal initiating to connect, and opens a thread to process newly-established connection.The initial socket re invocation of process accepts (accept) interface, continues to accept next connection request, and thread connects and the transmission of deal with data and reception.
The mode of access can be send notice to the communication applications program in the second terminal, this notice of second terminal demonstration, such as, for the smart mobile phone of Android system, communication applications program can be selected to provide prompting message in the mode of Toast or Notification.After prompting message is checked in user's click, whether display accesses the confirmation page of group.When group type is open group, can directly the second terminal be accessed in group, and need not to putting up a notice.When there being new member to access, first terminal is also by the ID of existing group member, and the information such as head portrait send to the second terminal, list display in the communication applications of the second terminal.
After second terminal access group, first terminal and the second terminal just can be transmitted and receive data by the communication connection of setting up.After first terminal receives releasing news of the second terminal, send to crowd group member.
Step S290, is designated the interim ID of the second terminal distribution according to the second terminal.
The mark of the second terminal can be the information of the unique identification terminals such as the IMEI code of mobile phone, or using the account of the communication applications at terminal record as the mark of terminal, is associated by interim ID and preserve with terminal iidentification.
Step S2100, receives releasing news of the second terminal, issues releasing news of described second terminal with the interim ID of the second terminal in group.
Such as, for user's distribution is an anonymous pet name " passerby's first " temporarily, in the group chatting interface of the client-side program of communication applications, this speech member is shown as " passerby's first ", shows the information such as word, picture that speech member issues below the anonymous pet name.In this mode, group group member can exchange privacy or sensitive information and can not reveal true identity information.
In one embodiment of the invention, method also comprises: the information of group uploads onto the server by first terminal.
Particularly, multiple users of communication applications are positioned at same local area network (LAN), but cannot accessing Internet.Above-mentioned steps according to the embodiment of the present invention establishes group for the user's group chat in local area network (LAN) at first terminal.This group is based upon first terminal, and is not recorded in the server of communication applications provider.
A kind of situation is, the multiple users in local area network (LAN) may need one permanent, fixing group, but due to cannot accessing Internet, temporarily can only set up group in local area network (LAN).First terminal can also preserve the information of group, and when accessing Internet again, the information of group is sent to server.Wherein, the information of group comprises: initiator information, the information of group member, chat record, the title of group and type etc., such as, the account of promoter and group member is sent to the server of communication applications, above-mentioned information is preserved in the server by server, and is this group allocation group's account, sets up corresponding permanent group.
According to the method that the above embodiment of the present invention provides, the terminal having instant messaging to apply using the operation of in local area network (LAN) is as service end, setting up the communication connection between other-end in this terminal and local area network (LAN), accessing running the terminal having instant messaging to apply in this group.According to the program, the foundation of group does not rely on the Internet, can set up group under without the condition of available network and release news, and it is also quicker to build group.In addition, provide the function of Auto-matching, user, without the need to active searching or submit applications, just can become group member, decrease user operation.Further, when network condition is recovered, upload the information of group, make interim group be called permanent group on the Internet.
Fig. 3 shows WLAN communication device according to an embodiment of the invention, sets up group and release news in group at first terminal, and as shown in Figure 3, device comprises:
Group sets up module 310, and the group being suitable for triggering according to first terminal user sets up request, sets up group using first terminal as service end.
Module 320 is set up in service, is suitable for setting up service routine and by the IP address of service routine and first terminal and default port binding at first terminal.
Monitor module 330, be suitable on default port, monitor the communication connection request of the second terminal to service routine.
Link block 340, is suitable for setting up communication connection between service routine and the second terminal according to communication connection request.
Access module 350, be suitable for using second terminal access group in as group member, release news in group to make the second terminal.
Alternatively, local area network (LAN) is the local area network (LAN) based on Wi-Fi, and first terminal is configured to Wi-Fi Hotspot, and the second terminal is connected with described first terminal by Wi-Fi mode.
Alternatively, access module 350 is further adapted for: send group information to the second terminal connected with first terminal; Receive group's access request that the second terminal sends, according to group's access request by the second terminal access group.
Alternatively, access module 350 is further adapted for: automatically access in described group the second terminal as group member.
Fig. 4 shows WLAN communication device according to an embodiment of the invention, and as shown in Figure 4, device comprises:
Group sets up module 410, and the group being suitable for triggering according to first terminal user sets up request, sets up group using first terminal as service end.
Module 420 is set up in service, is suitable for setting up service routine and by the IP address of service routine and first terminal and default port binding at first terminal.
Monitor module 430, be suitable on default port, monitor the communication connection request of the second terminal to service routine.
Link block 440, is suitable for setting up communication connection between service routine and the second terminal according to communication connection request.
Access module 450, be suitable for using second terminal access group in as group member, release news in group to make the second terminal.
Alternatively, access module 450 is further adapted for: send group information to the second terminal connected with first terminal; Receive group's access request that the second terminal sends, according to group's access request by the second terminal access group.
Alternatively, access module 450 is further adapted for: automatically access in group the second terminal as group member.
Release module 460, what be suitable for that reception second terminal sent to service routine by described communication connection releases news, and will release news and be transmitted to other group members.
Alternatively, device also comprises: upper transmission module 470, is suitable for the information of group to upload onto the server, and preserves the information of group for server.
Alternatively, device also comprises: distribution module 480, is suitable for being designated the interim ID of the second terminal distribution according to the second terminal; Release module 460 is further adapted for: receive the releasing news of the second terminal, in group, issue releasing news of the second terminal with the interim ID of the second terminal.
According to the device that the above embodiment of the present invention provides, the terminal having instant messaging to apply using the operation of in local area network (LAN) is as service end, setting up the communication connection between other-end in this terminal and local area network (LAN), accessing running the terminal having instant messaging to apply in this group.According to the program, the foundation of group does not rely on the Internet, can set up group under without the condition of available network and release news, and it is also quicker to build group.In addition, provide the function of Auto-matching, user, without the need to active searching or submit applications, just can become group member, decrease user operation.Further, when network condition is recovered, upload the information of group, make interim group be called permanent group on the Internet.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary compound mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the client and server equipment of the embodiment of the present invention.The present invention can also be embodied as part or all the equipment or device program (such as, computer program and computer program) that are suitable for performing method as described herein.Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The invention discloses:
A1, a kind of Local network communication method, set up group at first terminal and release news in group, described method comprises:
Set up request according to the group that first terminal user triggers, set up group using first terminal as service end;
Service routine is set up and by the IP address of described service routine and first terminal and default port binding at described first terminal;
Described default port is monitored the communication connection request of the second terminal to described service routine;
The communication connection between described service routine and described second terminal is set up according to described communication connection request;
Described second terminal is accessed as group member in described group, releases news in described group to make described second terminal.
A2, method according to A1, wherein, describedly access as group member in described group using the second terminal, releasing news in described group to make described second terminal comprises further:
What receive that described second terminal sent to described service routine by described communication connection releases news;
Described releasing news is transmitted to other group members.
A3, method according to A1 or A2, wherein, described method also comprises: the information of described group uploaded onto the server, and preserves the information of described group for described server.
A4, method according to any one of A1-A3, wherein, described second terminal to be accessed as after group member in described group described, described method also comprises:
The interim ID of described second terminal distribution is designated according to described second terminal;
Receive releasing news of described second terminal, in described group, issue releasing news of described second terminal with the interim ID of described second terminal.
A5, method according to any one of A1-A4, wherein, described local area network (LAN) is the local area network (LAN) based on Wi-Fi, and described first terminal is configured to Wi-Fi Hotspot, and described second terminal is connected with described first terminal by Wi-Fi mode.
A6, method according to A1, wherein, described described second terminal access in described group comprises further as group member:
Group information is sent to the second terminal connected with described first terminal;
Receive group's access request that described second terminal sends, according to described group access request by described second terminal access group.
A7, method according to A1, wherein, described described second terminal access in described group as group member is further: automatically access in described group described second terminal as group member.
B8, a kind of WLAN communication device, set up group at first terminal and release news in group, and described device comprises:
Group sets up module, and the group being suitable for triggering according to first terminal user sets up request, sets up group using first terminal as service end;
Module is set up in service, is suitable for setting up service routine and by the IP address of described service routine and first terminal and default port binding at described first terminal;
Monitor module, be suitable for monitoring the communication connection request of the second terminal to described service routine on described default port;
Link block, is suitable for setting up communication connection between described service routine and described second terminal according to described communication connection request;
Access module, is suitable for described second terminal to access as group member in described group, releases news in described group to make described second terminal.
B9, device according to B8, wherein, device also comprises:
Release module, is suitable for receiving releasing news of being sent to described service routine by described communication connection of described second terminal, and described releasing news is transmitted to other group members.
B10, device according to B8 or B9, wherein, described device also comprises:
Upper transmission module, uploads onto the server the information of described group, preserves the information of described group for described server.
B11, device according to B9 or B10, wherein, described device also comprises:
Distribution module, is suitable for being designated the interim ID of described second terminal distribution according to described second terminal;
Described release module is further adapted for and receives releasing news of described second terminal, issues releasing news of described second terminal with the interim ID of described second terminal in described group.
B12, device according to any one of B8-B11, wherein, described local area network (LAN) is the local area network (LAN) based on Wi-Fi, and described first terminal is configured to Wi-Fi Hotspot, and described second terminal is connected with described first terminal by Wi-Fi mode.
B13, device according to B8, wherein, described access module is further adapted for: send group information to the second terminal connected with described first terminal;
Receive group's access request that described second terminal sends, according to described group access request by described second terminal access group.
B14, device according to B8, wherein, described access module is further adapted for: automatically access in described group described second terminal as group member.

Claims (10)

1. a Local network communication method, sets up group at first terminal and releases news in group, and described method comprises:
Set up request according to the group that first terminal user triggers, set up group using first terminal as service end;
Service routine is set up and by the IP address of described service routine and first terminal and default port binding at described first terminal;
Described default port is monitored the communication connection request of the second terminal to described service routine;
The communication connection between described service routine and described second terminal is set up according to described communication connection request;
Described second terminal is accessed as group member in described group, releases news in described group to make described second terminal.
2. method according to claim 1, wherein, describedly access as group member in described group using the second terminal, releasing news in described group to make described second terminal comprises further:
What receive that described second terminal sent to described service routine by described communication connection releases news;
Described releasing news is transmitted to other group members.
3. method according to claim 1 and 2, wherein, described method also comprises: the information of described group uploaded onto the server, and preserves the information of described group for described server.
4. the method according to any one of claim 1-3, wherein, described second terminal to be accessed as after group member in described group described, described method also comprises:
The interim ID of described second terminal distribution is designated according to described second terminal;
Receive releasing news of described second terminal, in described group, issue releasing news of described second terminal with the interim ID of described second terminal.
5. the method according to any one of claim 1-4, wherein, described local area network (LAN) is the local area network (LAN) based on Wi-Fi, and described first terminal is configured to Wi-Fi Hotspot, and described second terminal is connected with described first terminal by Wi-Fi mode.
6. method according to claim 1, wherein, described described second terminal access in described group comprises further as group member:
Group information is sent to the second terminal connected with described first terminal;
Receive group's access request that described second terminal sends, according to described group access request by described second terminal access group.
7. method according to claim 1, wherein, described described second terminal access in described group as group member is further: automatically access in described group described second terminal as group member.
8. a WLAN communication device, sets up group at first terminal and releases news in group, and described device comprises:
Group sets up module, and the group being suitable for triggering according to first terminal user sets up request, sets up group using first terminal as service end;
Module is set up in service, is suitable for setting up service routine and by the IP address of described service routine and first terminal and default port binding at described first terminal;
Monitor module, be suitable for monitoring the communication connection request of the second terminal to described service routine on described default port;
Link block, is suitable for setting up communication connection between described service routine and described second terminal according to described communication connection request;
Access module, is suitable for described second terminal to access as group member in described group, releases news in described group to make described second terminal.
9. device according to claim 8, wherein, device also comprises:
Release module, is suitable for receiving releasing news of being sent to described service routine by described communication connection of described second terminal, and described releasing news is transmitted to other group members.
10. device according to claim 8 or claim 9, wherein, described device also comprises:
Upper transmission module, uploads onto the server the information of described group, preserves the information of described group for described server.
CN201410764711.6A 2014-12-11 2014-12-11 Local area network communication method and device Pending CN104394067A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410764711.6A CN104394067A (en) 2014-12-11 2014-12-11 Local area network communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410764711.6A CN104394067A (en) 2014-12-11 2014-12-11 Local area network communication method and device

Publications (1)

Publication Number Publication Date
CN104394067A true CN104394067A (en) 2015-03-04

Family

ID=52611903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410764711.6A Pending CN104394067A (en) 2014-12-11 2014-12-11 Local area network communication method and device

Country Status (1)

Country Link
CN (1) CN104394067A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391702A (en) * 2015-10-29 2016-03-09 北京梦坊国际教育科技有限公司 Audio/video communication method, terminal, server and platform
CN109561340A (en) * 2017-09-25 2019-04-02 北京小鸟听听科技有限公司 Multimedia service processing method, equipment, multimedia service group and storage medium
CN109862526A (en) * 2019-01-28 2019-06-07 平安科技(深圳)有限公司 Document transmission method, device, computer equipment and storage medium
CN110493838A (en) * 2019-07-15 2019-11-22 深圳中兴网信科技有限公司 Network connection switching method, device, system, mobile terminal and storage medium
CN112118538A (en) * 2019-06-20 2020-12-22 青岛海信移动通信技术股份有限公司 Method and device for device information interaction between terminals
CN112367244A (en) * 2020-10-28 2021-02-12 每日互动股份有限公司 Communication method, terminal, server, and computer-readable storage medium
CN112527369A (en) * 2020-12-31 2021-03-19 神思电子技术股份有限公司 Resource updating method of intelligent terminal
CN112804102A (en) * 2021-01-12 2021-05-14 北京嘀嘀无限科技发展有限公司 Equipment binding method and device and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007118115A3 (en) * 2006-04-05 2008-10-09 Cisco Tech Inc Method and system for managing virtual talk groups
CN102740286A (en) * 2012-05-23 2012-10-17 杨涛 Floating vehicle-based traceability vehicle self-networking communication privacy protection method
CN103686586A (en) * 2013-12-11 2014-03-26 联想(北京)有限公司 Information processing method and electronic equipment
CN103702291A (en) * 2012-09-27 2014-04-02 中兴通讯股份有限公司 Wi-Fi (wireless fidelity)-based group establishing method and WiFi directly-connecting equipment
CN104202714A (en) * 2014-08-05 2014-12-10 深圳市元征科技股份有限公司 Mobile terminal near field communication method and system for heterogeneous operating system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007118115A3 (en) * 2006-04-05 2008-10-09 Cisco Tech Inc Method and system for managing virtual talk groups
CN102740286A (en) * 2012-05-23 2012-10-17 杨涛 Floating vehicle-based traceability vehicle self-networking communication privacy protection method
CN103702291A (en) * 2012-09-27 2014-04-02 中兴通讯股份有限公司 Wi-Fi (wireless fidelity)-based group establishing method and WiFi directly-connecting equipment
CN103686586A (en) * 2013-12-11 2014-03-26 联想(北京)有限公司 Information processing method and electronic equipment
CN104202714A (en) * 2014-08-05 2014-12-10 深圳市元征科技股份有限公司 Mobile terminal near field communication method and system for heterogeneous operating system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391702A (en) * 2015-10-29 2016-03-09 北京梦坊国际教育科技有限公司 Audio/video communication method, terminal, server and platform
CN109561340A (en) * 2017-09-25 2019-04-02 北京小鸟听听科技有限公司 Multimedia service processing method, equipment, multimedia service group and storage medium
CN109862526A (en) * 2019-01-28 2019-06-07 平安科技(深圳)有限公司 Document transmission method, device, computer equipment and storage medium
CN112118538A (en) * 2019-06-20 2020-12-22 青岛海信移动通信技术股份有限公司 Method and device for device information interaction between terminals
CN110493838A (en) * 2019-07-15 2019-11-22 深圳中兴网信科技有限公司 Network connection switching method, device, system, mobile terminal and storage medium
CN112367244A (en) * 2020-10-28 2021-02-12 每日互动股份有限公司 Communication method, terminal, server, and computer-readable storage medium
CN112367244B (en) * 2020-10-28 2023-04-07 每日互动股份有限公司 Communication method, terminal, server, and computer-readable storage medium
CN112527369A (en) * 2020-12-31 2021-03-19 神思电子技术股份有限公司 Resource updating method of intelligent terminal
CN112527369B (en) * 2020-12-31 2024-02-27 神思电子技术股份有限公司 Resource updating method of intelligent terminal
CN112804102A (en) * 2021-01-12 2021-05-14 北京嘀嘀无限科技发展有限公司 Equipment binding method and device and terminal

Similar Documents

Publication Publication Date Title
CN104394067A (en) Local area network communication method and device
US10764430B2 (en) Calling an unready terminal
US9094370B2 (en) Remote access to information on a mobile terminal from a web browser extension
US7433344B2 (en) Mobile communication system and method for providing real time messenger service among mobile communication terminals
US20110202631A1 (en) Access to information on a mobile terminal from a remote terminal
IL202955A (en) System and method for handshaking between wireless devices and servers
CN105611422B (en) Online live broadcasting method and device based on multimedia list
CN103547342A (en) Information sending method, information reading and notifying method, information receiving method and device
CN112671571B (en) Network slice selection method, device, equipment and storage medium
CN112566164B (en) Communication system and service quality control method
EP2974159B1 (en) Method, device and system for voice communication
US20040040022A1 (en) Method and apparatus for just-in-time provisioning application-related information at a communication device
US20130188559A1 (en) Method for Establishing a Communication Connection over the Internet Between Mobile Terminals, Computer Program, and Storage Medium
CN108370500B (en) Optimized settings for wireless devices
CN106385516B (en) A kind of method, apparatus and terminal of the transfer of setting business
CN103078879A (en) Certification system and method for user registration
EP3664423A1 (en) Incoming call voice calling method and terminal
CN105391702A (en) Audio/video communication method, terminal, server and platform
CN113015160B (en) Network allocation method and device of Internet of things equipment, electronic equipment and computer readable medium
US20230008728A1 (en) Method and Network Node for Communication with a Non-IP Device
CN109120578B (en) Method and device for realizing link connection processing
CN112532509A (en) Cross-application communication method and related device
JP2008502063A (en) Method and module for software for updating a gateway between an operator network and a local area network
RU2292668C1 (en) Method for controlling additional services in mobile communication networks
US11653334B2 (en) Systems and methods for reducing transcoding resource allocation during call setup to multiple terminations

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150304

RJ01 Rejection of invention patent application after publication