Summary of the invention
Based on above-mentioned situation, the present invention proposes electronic equipment communication means and electronic equipment communications system, can adopt very simple gesture to allow electronic equipment be connected, greatly reduce the number of times of user's operation interface when connecting, can also reduce the operation that repeatedly connects other users when a user connects the multi-user, make the interface operation of connection more be easily understood simultaneously.
Fundamental purpose of the present invention is to facilitate between a plurality of electronic equipments and communicates by letter, the needs that meet the daily social activity of people and share.For convenient as much as possible individual uses, the present invention is used in respectively in wide area network and LAN (Local Area Network).In wide area network, connectionist and the person of being connected can use network.In LAN (Local Area Network), connectionist and the person of being connected both sides can utilize blue tooth interface, wifi equipment or even the infrared receiving device of mobile terminal equipment, form in LAN (Local Area Network) one to one, the one-to-many connection status of multi-to-multi even.
A kind of electronic equipment communication means comprises:
Enter operation interface; The first electronic equipment detects touch gestures, glide direction Information generation request data package according to touch gestures, if the first electronic equipment receives the response data packet by the second electronic equipment touch gestures glide direction Information generation in Preset Time, described the first electronic equipment and described the second electronic equipment connect; The glide direction information of the second electronic equipment touch gestures in described response data packet is default glide direction information.
Described default glide direction information is roughly the same or roughly contrary with the glide direction information of the first electronic equipment touch gestures.
The glide direction information of described touch gestures comprises one or more glide direction information.
The glide direction information of a described above touch gestures refers to the glide direction information recorded successively by touching time sequencing.
Described the first electronic equipment is classified other connected second electronic equipments by described glide direction information.
A kind of internet dating platform adds good friend's method, comprising electronic equipment communication means recited above, is mainly that described the first electronic equipment and the second electronic equipment are connected and replace the internet dating platform user that becomes the first electronic equipment to add the internet dating platform user of the second electronic equipment be the good friend.
A kind of electronic equipment communications system, this system comprises:
The touch gestures detection module, the positional information of the touch point after the touch point of clicking on touch-screen for detection of the user and slip, and produce glide direction information according to the position of touch point;
Data processing module, for the request data package established a communications link according to request of described touch point glide direction Information generation and the second electronic equipment;
The response detection module; whether within the default time interval, receive the response data packet of the second electronic equipment for detection of the first electronic equipment, whether the glide direction information of the second electronic equipment touch gestures in the check response data packet is default glide direction information;
First communication module, first communication module, for receiving the information of response detection module, and connect according to information and described the second electronic equipment.
Described default glide direction information is identical or contrary with the glide direction information of the first electronic equipment touch gestures.
The glide direction information of described touch gestures comprises one or more glide direction information.
The glide direction information of a described above touch gestures refers to the glide direction information recorded successively by touching time sequencing.
Described the first electronic equipment is classified other connected second electronic equipments by described glide direction information.
A kind of internet dating platform adds good friend's system, comprise described electronic equipment communications system, be mainly that described the first electronic equipment and the second electronic equipment are connected, replacing the internet dating platform user become the first electronic equipment, to add the internet dating platform user of the second electronic equipment be the good friend.
Compared to prior art, electronic equipment communication means provided by the invention is simple to operate, greatly reduces user's tie-time.Even occur that user name is complicated or occur that the situation of bearing the same name can not affect user's connection speed, improves the efficiency of linking up, better user experience yet.
Embodiment
Below in conjunction with better embodiment wherein, the present invention program is described in detail.
The schematic flow sheet of electronic equipment communication means embodiment of the present invention has been shown in Fig. 1.
As shown in Figure 1, the method in the present embodiment comprises step:
S101: enter operation interface; Enter in the present embodiment operation interface and be in order to ensure each electronic equipment (also can be called electronic installation, smart mobile phone, panel computer, pc can be as implement devices of the present invention at present) a common service network is arranged.After the annexation between clear and definite electronic equipment, its operation interface can be understood as any display page of electronic equipment.
S102: the first electronic equipment detects touch gestures, according to the glide direction Information generation request data package of touch gestures and send this packet in network; In the present embodiment, whether the first electronic equipment detects one or more fingers (or touch objects) touch screen, if between default, (100ms) finger is slided left by touch point, the request data package produced comprises the information moved to left.If have a plurality of fingers to move toward different directions, and the request msg produced comprises the mobile message of different directions.Now, the first electronic equipment can be according to the different corresponding request data package of glide direction Information generation, and this request data package is sent in network, wait for the response of the second electronic equipment.Here the network of saying, comprise in LAN (Local Area Network) or wide area network.As preferred embodiment, adopted the wireless network in the LAN (Local Area Network) here.In this step, request data package also can not send in network, as just a flag data, preserves.The data that serve as a mark, be mainly that apprizing system can start to accept the packet that network sends in Preset Time, and as judging whether the data in response data packet are the sign of preset data.
S103: if the first electronic equipment receives the response data packet by the second electronic equipment touch gestures glide direction Information generation in Preset Time, connect; The glide direction information of the second electronic equipment touch gestures in described response data packet is default glide direction information.
The second electronic equipment detects touch gestures, according to user's touch gestures directional information, generates response data packet and sends this packet in network.In general, the second electronic equipment after receiving the request bag of the first electronic equipment (if step S102 request data package does not send to network, not there will be this situation), have suggestedly, the user need only touch corresponding gesture or press corresponding prompting button by prompting and get final product.But on the one hand this prompting is owing to may there be a plurality of users to send request simultaneously in the same time, prompting can be lost time one by one, also may allow the user that do not want the information that receives receive information indicating and cause the user to perplex; On the other hand, the first electronic equipment user can not be connected with the user who wants to be connected the very first time.Here the response data that said the second electronic equipment generates comprises the glide direction information that the second electronic equipment touch gestures detected.When the second electronic equipment detects touch gestures, touch gestures is included on touch-screen to be placed one or more fingers and reaches schedule time amount, and toward the direction or one above direction moves, according to glide direction Information generation response data packet.In the present embodiment, the second electronic equipment does not adopt initiatively prompting mode.The second electronic equipment detects whether one or more fingers (or touch objects) are arranged in touch screen, and (100ms) finger is slided left by touch point in Preset Time.If have a plurality of fingers to move toward different directions, and the request msg produced comprises the mobile message of each different directions.Now, the second electronic equipment can, according to the different corresponding response data packet of glide direction Information generation, send this packet in network.After the first electronic equipment receives response data packet, can judge whether the glide direction information in response data packet is default glide direction information, if, connect, if not, return to S102.
When the glide direction information in response data packet is the desired glide direction information of the first electronic equipment, the first electronic equipment just can connect with the second electronic equipment.Here, the concept connected is equivalent to mutually add as " good friend ", set up to add good friend's database in system, after the first electronic equipment and the second electronic equipment meet condition of contact, system can be recognized as it " good friend " and storage link condition.This technology of connecting can be used for the current overwhelming majority software of chatting with friends, as qq, micro-letter, rice are chatted, Fetion etc.; Concrete enforcement can be that the user opens qq software separately, and, after selecting " slide and make friends " function, enters operation interface, can realize the function of plusing good friend by interface operation.
In general, the glide direction information in response data packet has following several situation:
1, the second electronic user pushes button or touches screen key production response data packet and required data consistent by the first electronic user request data package;
2, the glide direction information of response data packet is roughly the same with the directional information of request data package or roughly contrary, as the moving direction information of request data package and response data packet is all " left side ", think that its directional information is roughly the same, the moving direction information of request data package is " left side ", the moving direction information of response data packet is " right side ", thinks that its directional information is roughly contrary;
3, the moving direction information of response data packet substantially vertical with the directional information of request data package upwards or substantially vertical downwards, as the moving direction information of request data package is " left side ", and the moving direction information of the response data packet required be " on ", think that its required direction information is " vertically upward " information;
4,, because finger repeatedly moves the moving direction information that produces request data package toward different directions, the repeatedly mobile directional information in response data packet is roughly the same or roughly contrary with the moving direction information in request data package.
Above-mentioned situation can think that the second electronic equipment mates with the first electronic equipment.These matched rules can be arranged to multiple match pattern, by user oneself, are selected.During use, the first electronic equipment user selects the Corresponding matching pattern, and rule is informed to the second electronic equipment user, and the second electronic equipment user can produce corresponding gesture by its rule.Finally by data packet matched, connected.Certainly, matched rule or match pattern can be modified and improve according to actual conditions, are not limited to above-mentioned this several modes.
As better embodiment, the default glide direction information in response data packet is roughly the same or roughly contrary with the glide direction information of the first electronic equipment touch gestures.Due to the first electronic equipment and the second electronic equipment when the practical operation, can not obtain absolutely identical glide direction information, therefore, in the present invention, roughly the same or angle that roughly refer on the contrary the glide direction information of the first electronic equipment touch gestures and default glide direction information differs and is no more than 45o(4 directions) or 22.5o(8 directions).In other application scenarios, this angular range also can be different, in addition also can by system calibration glide direction information (as whether the angle by judging itself and horizontal direction is greater than 45oif the system that is greater than is judged to be vertical direction, if the system that is less than is judged to be horizontal direction).An if link information of default glide direction information spinner the first electronic equipment user and the second electronic equipment user agreement, such as the glide direction information of the first electronic equipment user touch gestures is " left side ", the operation that the glide direction information that he can tell the second electronic equipment user to carry out touch gestures on the second electronic equipment is " left side " (contrary is " right side ").If in like manner tell the 3rd electronic equipment user, quadrielectron equipment user simultaneously ... also can with them, be connected easily.This is than searching out successively traditionally their user name, then the efficiency connected has successively improved a lot.The first electronic equipment is classified other connected electronic equipments by described glide direction information, contributes to be connected to accurately the targeted customer.By actual direction of operating (being glide direction information), the user is classified, be conducive to the Classification Management of contact data.
Due in same local network, the same time period produces identical glide direction information may be many, and response data packet adopts identical or contrary glide direction information, is because gesture simply is convenient to public use on the one hand, on the other hand, can reduce " mistake connects ".The connection that the technical program can allow the interior specific user of LAN (Local Area Network) carry out " can identify " is with mutual, and then the efficiency of raising communication.In wide area network, it is very many that the same time period produces identical glide direction information, and this coupling can be looked in current wide area network for making friends, and carries out at one time the individual's of identical slide in the section.Make friends compared with " shaking ", can save gyrostatic use in mobile phone, and increase the interest of making friends.
In above-mentioned steps, the first electronic equipment does not receive response data packet within the default time, the time that perhaps receives response data packet exceeds Preset Time, return to step S102, if the first electronic equipment receives the response data packet that the second electronic equipment is replied in Preset Time, and the directional information in response data packet is preset direction information, and the match is successful for they, the first electronic equipment and the second electronic equipment establish a communications link.
When practical application, user's two electronic equipments are put together side by side (the first electronic equipment at left the second electronic equipment on the right side), then two fingers are placed on respectively in two corresponding touch-screens of electronic equipment, left side finger is turned right to slide and is touched in the first electronic equipment touch-screen, the right finger is turned left to slide and is touched in the second electronic equipment touch-screen, carry out the action of " uniting two into one ", if meet the first electronic equipment rule in advance, can connect like this.
As the example of multiple spot slip or multi-direction slip, the glide direction information of an above touch gestures refers to the glide direction information recorded successively by touching time sequencing.As the first electronic equipment can be write successively the stroke order of " king " this word on screen, now, according to different time sequencings, the information of the glide direction that it is recorded to is first second " right side ", second second " right side ", the 3rd second D score, the 4th second " right side ", the second electronic equipment is when coupling, can obtain the authority be connected with the first electronic equipment by the stroke order of writing successively " king " this word, and then connect.And the same time, by a plurality of fingers while touch screen, then slided, may be produced in chronological order on first second " left side ", first second " left side ", first second " on ", the second electronic equipment, when coupling, must produce first second " left side ", first second " left side ", first second " on " information, so just can obtain the authority that the first electronic equipment connects, and then connect.It is pointed out that the movement simultaneously of a plurality of fingers can produce reasonable identification effect, apply this technology for the multi-user simultaneously and there is certain secret protection effect.
According to above-mentioned steps, can produce following effect: first, refer to touch mobile the touch by one hand, possesses directional information, making its user that can establish a connection with it at least be divided into 4 classifications (is respectively four direction up and down, if the customer relationship grouping can be divided into 8 directions in the time of many, be " rice " word shape), each classification can have a plurality of different electronic equipments.Like this, the user just has certain purpose in shared file or data, can greatly improve the effective rate of utilization of resource.The second, connect the user need to predetermined slip touch gestures could with this electronic equipment, is connected, reduce in the same area the probability that " connection by mistake " occurs;
Add good friend's method as a kind of internet dating platform, with the difference of the electronic equipment communication means of mentioning in the present embodiment be that step that described the first electronic equipment and the second electronic equipment are connected is replaced the internet dating platform user that becomes the first electronic equipment and added the step that the internet dating platform user of the second electronic equipment is the good friend.
The structural representation of a kind of electronic equipment communications system embodiment of the present invention has been shown in Fig. 2.
A kind of electronic equipment communications system, be applied to the first electronic equipment, comprising:
The touch gestures detection module, the positional information of the touch point after the touch point of clicking on touch-screen for detection of the user and slip, and produce glide direction information according to the position of touch point;
Data processing module, for the request data package established a communications link according to request of described touch point glide direction Information generation and the second electronic equipment;
The response detection module; whether within the default time interval, receive the response data packet of the second electronic equipment for detection of the first electronic equipment, whether the glide direction information of the second electronic equipment touch gestures in the check response data packet is default glide direction information;
First communication module, for receiving the information of response detection module, and connect according to information and described the second electronic equipment.
A kind of electronic equipment communications system, be applied to the second electronic equipment, comprising:
The touch gestures detection module, the positional information of the touch point after the touch point of clicking on touch-screen for detection of the user and slip, and produce glide direction information according to the position of touch point;
Data processing module, for according to response data packet established a communications link with the first electronic equipment of described touch point glide direction Information generation, and be sent to network by this response data packet;
Second communication module, when receiving the response data packet that the second electronic equipment replys within the default time interval when the first electronic equipment, establish a communications link with the first electronic equipment.
In the present embodiment, the principle of work of modules is: the touch point that touch gestures detection module detection user clicks on touch-screen and the positional information of the touch point after slip, and produce glide direction information according to the position of touch point, data processing module receives the glide direction information that the touch gestures detection module generates, and generate the request data package that a request and the second electronic equipment establish a communications link, this request data package is sent to network by first communication module.Now, the second electronic equipment receives this request data package, and it detects user's screen by the touch gestures detection module and carries out operational motion, and according to the glide direction Information generation response data packet of touch gestures.The second electronic equipment sends to response data packet the response detection module of the first electronic equipment again by network, receive if the first electronic equipment detected the response data packet that the second electronic equipment is replied within the default time, and the glide direction information of the second electronic equipment touch gestures in response data packet is default glide direction information, send corresponding information to first communication module, first communication module is communicated by letter with the second communication module of the second electronic equipment according to information, and connects.
In addition, if do not receive under the first electronic equipment requests packet while carrying out at the second electronic equipment, the glide direction Information generation response data packet of the touch gestures that the second electronic equipment detects, receive if the first electronic equipment detected the response data packet that the second electronic equipment is replied within the default time, if the glide direction information of the second electronic equipment touch gestures in response data packet is default glide direction information, control first communication module and communicate by letter with the second communication module of the second electronic equipment, establish a communications link.
Similar with the technical program embodiment of the method, the default glide direction information in the response data packet of the present embodiment is roughly the same or roughly contrary with the glide direction information of the first electronic equipment touch gestures.If make the confidentiality of connection strengthen, the glide direction information that touch gestures can be set has one or more glide direction information, and the glide direction information of an above touch gestures refers to the glide direction information recorded successively by touching time sequencing.The first electronic equipment is classified other connected second electronic equipments by described glide direction information.By such classification, the second electronic equipment that the second electronic equipment can be wanted to oneself in conjunction with glide direction information sends information.
Adding good friend's system as a kind of internet dating platform, is that described the first electronic equipment and the second electronic equipment are connected and replace the internet dating platform user that becomes the first electronic equipment to add the internet dating platform user of the second electronic equipment be the good friend with the difference of the electronic equipment communications system of mentioning in the present embodiment.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.