【Invention content】
The object of the present invention is to provide it is a kind of can be realized under no internetwork environment short distance instant messaging i.e.When network communicating system and instant network communication means.
To achieve these goals, the present invention provides a kind of instant network communication system, including multiple mobile terminals, eachMobile terminal includes detecting module, MIM message input module, control module, wireless communication module, judgment module and information alert mouldBlock;The detecting module is used to detect the operation of user to open the wireless communication function of corresponding mobile terminal;Described informationInput module is used to generate the first instant message according to the operation of user to be sent to destination mobile terminal;The control module is usedIn being handled first instant message to generate the second instant message;The wireless communication module is used to receive or send outSend second instant message;Whether the judgment module disappears immediately for judgement receives second meets the requirements, and work as and connectHint instructions are sent when the second instant message received meets the requirements with control that described information reminding module will receive firstInstant message is shown in corresponding display screen that user is prompted to be operated accordingly;If the second instant message received is notIt meets the requirements, even if then second message is sent to other movements by the judgment module by corresponding wireless communication moduleTerminal.
The present invention also provides a kind of instant network communication means, are communicated wirelessly applied between multiple mobile terminals,The instant network communication means includes the following steps:
The operation of user is detected to open the wireless communication function of corresponding mobile terminal;
One of mobile terminal generates the first instant message to send destination mobile terminal according to the operation of user;
First instant message is handled to generate the second instant message;
Second instant message is sent based on wireless communication protocol;
Whether the second instant disappear that the judgement of other mobile terminals receives meets the requirements;
If the second instant message received meets the requirements, first instant message is shown in corresponding display screenIn user to be prompted to be operated accordingly;
If the second instant message received is undesirable, even if second message is forwarded to other movements eventuallyEnd.
Instant network communication system provided by the present invention and communication means, when the radio function of each mobile terminal is openedAfterwards, it can be realized by short-distance wireless transmission mode without the instant messaging under network environment, user can be allowed to lack networkUnder conditions of environment, into the transmission of row information, and then search out the people for needing to contact and linked up with carrying out easy message.
For the above-mentioned purpose of invention, feature and advantage is enable to be clearer and more comprehensible, present pre-ferred embodiments cited below particularly, andAttached drawing appended by cooperation, is described in detail below.
【Specific embodiment】
Below in conjunction with attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, completeGround describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.Usually existThe component of the embodiment of the present invention described and illustrated in attached drawing can be configured to arrange and design with a variety of different herein.CauseThis, the detailed description of the embodiment of the present invention to providing in the accompanying drawings is not intended to limit claimed invention belowRange, but it is merely representative of the selected embodiment of the present invention.Based on the embodiment of the present invention, those skilled in the art are not doingGo out all other embodiments obtained under the premise of creative work, shall fall within the protection scope of the present invention.In addition, in this hairIn bright description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that indicating or implying relatively importantProperty.
Referring to Fig. 1, Fig. 1 is the configuration diagram for the instantaneous communication system 100 that present pre-ferred embodiments provide.It is describedInstantaneous communication system 100 includes multiple mobile terminals 10 that can be carried out wireless communication in the case of no internet.At thisIn embodiment, the mobile terminal 10 is mobile phone.In other embodiments, the mobile terminal 10 can also be tablet electricityBrain, PDA (Personal Digital Assistant, palm PC) and other moveable electronic equipments.It is appreciated thatCan carry out wireless communication described in present embodiment refers in no network, for example, the mobile terminal 10 is without signalIn the case of, mode that can be by radio communication between multiple mobile terminals 10 realizes instant messaging.
It is the functional block diagram of each mobile terminal 10 in Fig. 1 referring again to Fig. 2.Specifically, each mobile terminal 10Including detecting module 11, MIM message input module 12, control module 13, wireless communication module 14, judgment module 15 and information alertModule 16.It is appreciated that above-mentioned each function module can be have specific function hardware circuit or chip or withThe form of software or firmware (firmware) is stored in the software function mould in the memory (not shown) of the mobile terminal 10Block, the processor (not shown) of the mobile terminal 10 are stored in software program and module in memory by operation, fromAnd realize corresponding function.
The detecting module 11 is used to detect the operation of user so that the wireless communication function of corresponding mobile terminal 10 to be openedIt opens.It is appreciated that the detecting module 11 can form an icon and in the display screen (not shown) of corresponding mobile terminal 10Middle display;When user touches the icon, the wireless communication function is opened;When user touches the icon again, the nothingLine communication function is closed.In addition, the icon can also show different colors to prompt wireless communication function described in userIt is turned on or off.For example, when the icon is shown as blue, represent that the wireless communication function has turned on;When the figureWhen mark appears dimmed, represent that the wireless communication function is turned off.Certainly, the icon can also be with other different colorsTo distinguish being turned on or off for wireless communication function.
Further, when the wireless communication function of multiple mobile terminals 10 in specific range is opened, multiple movementsTerminal 10 can bridge mutually in networking.For example, when a mobile terminal 10 be ready for communication when, oneself can be set based onService oneself will be set as ripe hot spot, then search neighbouring hot spot, and directly connect when finding neighbouring hot spotIt connects, into LAN.
Described information input module 12 is used to generate the first instant message according to the operation of user to be sent to target movementTerminal 10.In the present embodiment, the word content that first instant message needs to send for user.It is it is appreciated that eachOne specific software can be installed, when the software is opened, described information input module 11 forms one in mobile terminal 10It is word content that word input window is wanted to send so that user inputs.
The control module 13 is used to that first instant message to be handled to generate the second instant message.Wherein,Second instant message includes the identification code of first instant message and destination mobile terminal 10.In the present embodiment,The identification code of the destination mobile terminal 10 is the 10 corresponding telephone number of destination mobile terminal.It is appreciated that working as userWhen sending specific message content to another user's (destination mobile terminal), found in the specific software first correspondingContact person, and input corresponding word content in the corresponding word input window of the contact person.
The wireless communication module 14 is used to receiving or sending second instant message.In the present embodiment, instituteStating wireless communication module 10 can be WiFi module, can also be bluetooth module, can also be Zigbee module, also that is, describedThe wireless communication module 14 of multiple mobile terminals 10 can be supported based on WiFi or bluetooth or the wireless communication of Zigbee associationView.It is appreciated that the mobile terminal 10 serviced based on setting in LAN, that is, need to send the wireless of the mobile terminal 10 of messageFor communication module 14 for sending second instant message, the wireless communication module 14 of other mobile terminals 10 is described for receivingSecond instant message.
Whether the judgment module 15 disappears immediately for judgement receives second meets the requirements;If receive second i.e.When message meet the requirements, then send hint instructions to described information reminding module 16, described information reminding module 16 is according to describedThe first instant message received is shown in corresponding display screen so that user to be prompted to be operated accordingly by hint instructions, exampleSuch as, after user sees the content of the first instant message, the message can be replied to realize instant messaging;If it receivesSecond instant message is undesirable, though then the judgment module 15 by corresponding wireless communication module 14 by described secondMessage is sent to other mobile terminals 10.
In the present embodiment, when the identification code in the second instant message received with second disappearing immediately for receiving thisWhen the identification code of mobile terminal 10 corresponding to the wireless communication module 14 of breath is identical, then the second instant message received meetsIt is required that.It is appreciated that since WiFi, bluetooth or Zigbee communication are all to support short haul connection, if in the office of foundationIn the net of domain, destination mobile terminal 10 is not found, then other mobile terminals 10 can be serviced based on oneself again moves to otherTerminal 10 sends the second instant message, until finding destination mobile terminal 10.For example, as shown in Figure 1, if there are five mobile terminals10, wherein A, B and C may be in a LANs, and C may lead to as middle transition with D and E in another LAN, thereforeCrossing C forwards the second instant messages destination mobile terminal E can be eventually found, to D and E so as to fulfill instant messaging.
If it should be noted that not finding destination mobile terminal 10, the mobile terminal 10 of the second instant message is sentIt can show in search, user to be prompted not find target.If finding destination mobile terminal 10, the second instant message is sentMobile terminal 10 can actively send and stop forwarding instruction so that other mobile terminals 10 in LAN to be allowed to stop forwarding second i.e.When message.
Referring again to Fig. 3, the flow chart of instant network communication means provided for present pre-ferred embodiments.It should sayBright, method of the invention is not limited to the sequence of following step, and in other embodiment, and method of the invention can be onlyA portion or part steps therein including step as described below can be deleted.
Step S01 detects the operation of user to open the wireless communication function of corresponding mobile terminal 10.
Specifically, it is multiple mobile whole when the wireless communication function of multiple mobile terminals 10 in specific range is openedEnd 10 can bridge mutually in networking.For example, when a mobile terminal 10 be ready for communication when, oneself can be set based on takeBusiness oneself will be set as ripe hot spot, then search neighbouring hot spot, and be directly connected to when finding neighbouring hot spot withInto LAN.
Step S02, one of mobile terminal 10 generate the first instant message to be sent to target according to the operation of userMobile terminal.
In the present embodiment, the word content that first instant message needs to send for user.It is it is appreciated that eachOne specific software can be installed, when the software is opened, described information input module 11 forms one in mobile terminal 10It is word content that word input window is wanted to send so that user inputs.
Step S03 handles first instant message to generate the second instant message.
In the present embodiment, second instant message includes first instant message and destination mobile terminal 10Identification code.In the present embodiment, the identification code of the destination mobile terminal 10 is the 10 corresponding electricity of destination mobile terminalTalk about number.It is appreciated that when user will send specific message content to another user, first in the specific softwareCorresponding contact person is found, and corresponding word content is inputted in the corresponding word input window of the contact person.
Step S04 is sent second instant message based on wireless communication protocol.
In the present embodiment, the wireless communication protocol is WiFi communication agreement, Bluetooth communication protocol or ZigbeeCommunication protocol.
Whether step S05, the second instant disappear that the judgement of other mobile terminals 10 receives meet the requirements;If receive secondInstant message meets the requirements, then generates hint instructions and enter step S06;It will if the second instant message received is not metIt asks, then enters step S07.
In the present embodiment, when the identification code in the second instant message received with second disappearing immediately for receiving thisWhen the identification code of mobile terminal 10 corresponding to the wireless communication module 14 of breath is identical, then the second instant message received meetsIt is required that.
First instant message is shown in corresponding display screen to prompt by step S06 according to the hint instructionsUser is operated accordingly.
Step S07, even if second message is forwarded to other mobile terminals 10.
It is appreciated that since WiFi, bluetooth or Zigbee communication are all to support short haul connection, if establishingLAN in, do not find destination mobile terminal 10, then other mobile terminals 10 can be serviced based on oneself again to other moveDynamic terminal 10 forwards the second instant message, until finding destination mobile terminal 10.
Instant network communication system 100 provided by the present invention and communication means, when the wireless work(of each mobile terminal 10It after opening, can be realized by short-distance wireless transmission mode without the instant messaging under network environment, user can be allowed to lackUnder conditions of few network environment, into the transmission of row information, and then search out the people for needing to contact and linked up with carrying out easy message,Facilitate communication.
The foregoing is merely embodiments of the present invention, are not intended to limit the scope of the invention, every to utilize thisIt is relevant to be directly or indirectly used in other for the equivalent structure or equivalent flow shift that description of the invention and accompanying drawing content are madeTechnical field is included within the scope of the present invention.