Summary of the invention
Based on above-mentioned situation, the present invention proposes document transmission method and document transmission system, can between electronic equipment, carry out more simply, intuitively file transfer.
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, participator and can be used network, GPS location by participator and in same sharing platform situation (this sharing platform has good friend's concept).In LAN (Local Area Network), participator and can be utilized blue tooth interface, wifi equipment or even the infrared receiving device of mobile terminal equipment by participator both sides, forms in LAN (Local Area Network) one to one, the one-to-many connection status of multi-to-multi even.
, comprising:
Enter operation interface; The first electronic equipment detects touch gestures, according to the glide direction Information generation request data package of 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, connect; The files through network that the first electronic equipment user selects sends to the second electronic equipment; The glide direction information of the second electronic equipment touch gestures in described response data packet is the first default glide direction information.
The action that the second default glide direction information of the file that described the first electronic equipment user selects by the first electronic equipment touch gestures moves to predeterminated position sends to the second electronic equipment.
Described predeterminated position is display screen interface edge or preset icon place.
The described first default glide direction information is roughly the same or roughly contrary with the glide direction information of the first electronic equipment touch gestures;
And/or
Described the second electronic equipment detects touch gestures, if the glide direction information of the second electronic equipment touch gestures detected, is the 3rd default glide direction information, receives file.
The described second default glide direction information is roughly the same or roughly contrary with the glide direction information of the first electronic equipment touch gestures.
The described the 3rd default glide direction information is roughly the same or roughly contrary with the glide direction information of the first electronic equipment touch gestures.
If described file is electronic book documentary, log file is finally opened the page number, and the second electronic equipment receives after described electronic book documentary, opens electronic book documentary and shows the described page number that records.
If the electronic book documentary in described browsing file, when sending instruction by click screen to generation and sending by the 3rd default glide direction information, the current page number information of log file, when the second electronic equipment receives after described electronic book documentary, open electronic book documentary and show described record page digital content.
, this system comprises:
Touch gestures detection module, the positional information of the touch point after the touch point of clicking on touch-screen for detection of user and movement, and produce glide direction information according to the position of touch point;
Data processing module, for the request data package establishing a communications link according to request of described touch point glide direction Information generation and the second electronic equipment; Also for generating the file of the first electronic equipment user selection, send to the instruction of the second electronic equipment;
Respond detection module, whether in Preset Time, receive the response data packet of the second electronic equipment for detection of the first electronic equipment, the glide direction information of the second electronic equipment touch gestures in described response data packet is the first default glide direction information;
First communication module, for receiving the information of response detection module, connects according to information and described the second electronic equipment, also for send to the instruction of the second electronic equipment according to the file of the first electronic equipment user selection, carrys out Transmit message.
Described data processing module generates the instruction that file that the first electronic equipment user selects sends to the second electronic equipment and according to second of the first electronic equipment touch gestures the default glide direction information, moves to the action triggers of predeterminated position.
With respect to prior art, document transmission system provided by the invention and method can be carried out file transfer simply, intuitively between two electronic equipments, and simplifying interface operation improves user and experiences; Meanwhile, user is precisely mated in practicable scope, though multi-user is common also can be exactly when using by file transfer to targeted customer.
Embodiment
Below in conjunction with better embodiment wherein, the present invention program is described in detail.
The schematic flow sheet of document transmission method 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) and have a common service network.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, the first electronic equipment detects whether there is one or more fingers (or touch objects) touch screen, if (100ms) finger is slided left by touch point in Preset Time, the request msg producing comprises the information moving to left.If there are a plurality of fingers to move toward different directions, the request msg of generation 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, comprises in LAN (Local Area Network) or wide area network.As preferred embodiment, adopted the wireless network in LAN (Local Area Network) here.In this step, request data package can not send in network, as just a flag data, preserves.The data that serve as a mark, are 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 the first 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, there will not be this situation), have suggestedly, user need only be touched corresponding gesture or be pressed corresponding prompting button by prompting.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 user to perplex; On the other hand, the first electronic equipment user can not connect 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 in to be placed one or more fingers on touch-screen 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 there are one or more fingers (or touch objects) in touch screen, and (100ms) finger is slided left by touch point in Preset Time.If there are a plurality of fingers to move toward different directions, and the request msg producing 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.The first electronic equipment receives after response data packet, can judge whether the glide direction information in response data packet is the first default glide direction information, if so, connects, and if not, returns 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.
In general, the information in response data packet has several situations below:
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 and the directional information of request data package are roughly the same or roughly contrary, if 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 and the directional information of request data package substantially vertical upwards or substantially vertical downwards, if the moving direction information of request data package is " left side ", and the moving direction information of the response data packet requiring 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 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, connect.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 of first in response data packet is roughly the same or roughly contrary with the glide direction information of the first electronic equipment touch gestures.Because the first electronic equipment and the second electronic equipment are when the practical operation, can not obtain absolutely identical glide direction information, therefore, in the present invention, roughly the same or roughly refer on the contrary that the glide direction information of the first electronic equipment touch gestures and the angle of the first default glide direction information differ and be no more than 30
o.In other application scenarios, this angular range also can be different, in addition also can by system calibration glide direction information (as whether being greater than 45 by judgement " upper left " and the angle of horizontal direction
oif the system that is greater than is judged to be direction vertically upward, if the system that is less than is judged to be level direction left).An if link information of first 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 ", he can tell the operation that glide direction information that the second electronic equipment user carries 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 be connected with them easily.This is than searching out successively traditionally their user name, then the efficiency connecting 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 targeted customer.By actual direction of operating (being glide direction information), user is classified, be useful on 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 is simply convenient to public use on the one hand, on the other hand, can reduce " mistake connects ".The technical program can allow specific user in LAN (Local Area Network) carry out the connection of " can identify " and mutual, and then improves the efficiency of linking up.
In above-mentioned steps, the first electronic equipment does not receive response data packet within the default time, or the time that 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 the first 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 rule in advance of the first electronic equipment (be directional information be the first preset direction information) in above-mentioned response data packet, 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 recording 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 being connected with the first electronic equipment by writing successively the stroke order of " king " this word, and then connect.And the same time, by a plurality of fingers while touch screen, then slide, may produce 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, for multi-user, apply this technology simultaneously and there is certain secret protection effect.
According to above-mentioned steps, can produce following effect: the first, by finger touch, move touch, possess directional information, make its user that can establish a connection with it at least be divided into 4 classifications (be respectively up and down four direction), each classification can have a plurality of different electronic equipments.Like this, user just has certain purpose in shared file or data, can greatly improve the effective rate of utilization of resource; The second, gesture is simple, has simplified traditional attended operation; The 3rd, connect 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.
S104: the files through network that the first electronic equipment user selects sends to the second electronic equipment; The electronic equipment connecting by S101 to S103, user has possessed the information of having classified, need only operate and Transmit message according to button prompting, or find out equipment corresponding in classification, carry out again transmit operation and just can send corresponding file by network, or the action that the file of user's selection also can move to predeterminated position by the second default glide direction information of the first electronic equipment touch gestures is sent to the second electronic equipment.
As good embodiment, the action that the file that user selects can move to predeterminated position by the second default glide direction information of the first electronic equipment touch gestures is sent to the second electronic equipment.In above-mentioned steps, the first electronic equipment may have annexation with many other electronic equipments, for avoiding transfer files to occur " misinformation ", can to transmitted object, distinguish by the mobile message of different directions.If the matching connection relation of the first electronic equipment and the second electronic equipment is " left side " (being that directional information in request data package and corresponding data bag is " left side "), when it need to select the file of current interface or icon to point out movably, turns left and move to display screen edge.In like manner, the matching connection relation of the first electronic equipment and the 3rd electronic equipment is " right side " (being that directional information in request data package and corresponding data bag is " right side "), when it need to select the file of current interface or icon to point out movably, turn right and move to interfacial boundary, can realize copying or transmitting or share of file or picture.By that analogy, the file that user the selects action that all the second default glide direction information by the first electronic equipment touch gestures moves to interface edge is sent to the second electronic equipment.In order there to be better adaptability, the information of glide direction for the first time that the second default glide direction information of saying here adopts in the time of can using the first electronic equipment to be connected with the second electronic equipment, can be also that user is according to the glide direction information of the needs definition of oneself.As shown in Figure 2, as substituting of display screen edge, the present embodiment also can be according to the number of directional information (8), corresponding icon is set on the assigned address of screen, each icon correspondence different matched rules, while realizing, file need only be moved to preset icon place, can realize copying or transmitting or share of file or icon.Like this, because each directional information has an icon corresponding, during Transmit message, only need know which icon file moves to and can find corresponding electronic equipment.
For guaranteeing that the file of transmission can transmit smoothly, the first electronic equipment can trigger file transfer according to predetermined touch gestures, but can increase like this user's operation easier and running time.As the first electronic equipment can slide or the specified rule of example of multi-direction slip be carried out file transmission with reference to multiple spot in embodiment mono-after selecting files, difference is, its must have move to predeterminated position) action.
From step S101 to S104 institute description document transmission method file need only the first electronic equipment and the second electronic equipment First Contact Connections the match is successful, when transfer files, do not need to agree to or response through the second electronic equipment, can be by file transfer to the second electronic equipment of the first electronic equipment, some unnecessary interface operations have been greatly reduced, for user has saved the time.If but the file that the second electronic equipment need to select checking to accept increases the security of file, needs to add step S105, as shown in Figure 3.
S105: send response message if the second electronic equipment receives the file transmission order of the first electronic equipment, receive file.Here the response message of saying refers to that the second electronic equipment user agrees to accept file, agrees to accept the operation of file.In the present embodiment, response message refers to that the glide direction information that the second electronic equipment touch gestures detected is the 3rd default glide direction information.In order there to be better adaptability, the information of glide direction for the first time that the 3rd default glide direction information of saying here adopts in the time of can using the first electronic equipment to be connected with the second electronic equipment, also can make user according to the glide direction information of the needs definition of oneself.
The present invention is on the basis by above-mentioned connection, when the electronic book documentary of the forms such as transmission PDF, EXE, CHM, UMD, PDG, JAR, PDB, TXT, BRM, the information of reading or using in order immediately to share the first electronic equipment, judging that described file after corresponding form, records the current page number that the described file while transmitting shows as e-book.The second electronic equipment completes and receives after described electronic book documentary, the current page number that the log file when opening electronic book documentary and showing described transmission shows.
There are particularly two kinds of embodiments.The first, with the form transmission not opening file, log file is finally opened the page number, and the second electronic equipment receives after described electronic book documentary, opens electronic book documentary and shows the described page number that records.
The second, with the form (browsing form transmission) opening file.When transfer files, can first share its first interface of electronic equipment and the page number information of its reading is issued to the second electronic equipment in the lump, user can see the content of use the very first time when the information of reception like this, call background program by the current page of File Open to the first content that electronic equipment is seen of user's reception simultaneously, and refresh alternative.Specifically refer to when generating transmission instruction and sending by the 3rd default glide direction information by click screen the current page number information of log file.When the second electronic equipment receives after described electronic book documentary, open electronic book documentary and show described record page digital content.Generating and send instruction can be to push button or touch screen key to produce, and can be also in Preset Time, to click screen to produce, and can also be that the predeterminated position of clicking screen produces.
According to above-mentioned steps, the first electronic equipment can be set up different annexations from multiple electronic equipment, and this effect producing from Chinese patent < < document transmission system and the method > > of patent No. CN 102546353A has larger different.The first, by single finger touch displacement, and possess directional information, make its user that can establish a connection with it at least be divided into 4 classifications (be respectively up and down four direction), each classification can have a plurality of different electronic equipments.Like this, user just has certain purpose in shared file or data, can greatly improve the effective rate of utilization of resource.The second, connect user need to predetermined slip touch gestures could with this electronic equipment, is connected, avoid occurring the probability of " missing transmission " in the same area;
The structural representation of a kind of document transmission system embodiment of the present invention has been shown in Fig. 4.
, be applied to the first electronic equipment, comprising:
Touch gestures detection module, the positional information of the touch point after the touch point of clicking on touch-screen for detection of user and slip, and produce glide direction information according to the position of touch point;
Data processing module, for the request data package establishing a communications link according to request of described touch point glide direction Information generation and the second electronic equipment; After the first electronic equipment and the second electronic equipment connect, data processing module also sends to the instruction of the second electronic equipment for generating file that the first electronic equipment user selects;
Data processing module generates Dictating user that file that the first electronic equipment user selects sends to the second electronic equipment except can, according to interface operation prompting, moving to according to second of the first electronic equipment touch gestures the default glide direction information the action triggers of predeterminated position.
Response detection module, for detection of the first electronic equipment, whether in Preset Time, receive the response data packet that the second electronic equipment is replied, the glide direction information of the second electronic equipment touch gestures in described response data packet is the first default glide direction information.
The action that the second default glide direction information of the file that described the first electronic equipment user selects by the first electronic equipment touch gestures moves to predeterminated position sends to the second electronic equipment.
First communication module, for receiving the information of response detection module, connects according to information and described the second electronic equipment, also for send to the instruction of the second electronic equipment according to the file of the first electronic equipment user selection, carrys out Transmit message.
, be applied to the second electronic equipment, comprising:
Touch gestures detection module, the positional information of the touch point after the touch point of clicking on touch-screen for detection of user and slip, and produce glide direction information according to the position of touch point;
Whether response detection module, send corresponding document for detection of the first electronic equipment and send a command to the second electronic equipment.
It can be by the second default glide direction information of the first electronic equipment touch gestures, to move to the action of predeterminated position that above-mentioned file sends order.
Data processing module, for according to response data packet establishing a communications link with the first electronic equipment of described touch point glide direction Information generation, and is 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, establishes a communications link with the first electronic equipment, and can be used for receiving file.
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, data processing module produces glide direction information according to the position of touch point, data processing module receives the glide direction information that 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.Now, the second electronic equipment receives this request data package, and it detects user's screen by 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, if the first electronic equipment detected, within the default time, receive the response data packet that the second electronic equipment is replied, and the glide direction information of the second electronic equipment touch gestures in response data packet is the first default glide direction information, control first communication module and communicate by letter with the second communication module of the second electronic equipment, and connect.
In addition, if do not receive while carrying out under the first electronic equipment requests packet at the second electronic equipment, the glide direction Information generation response data packet of the touch gestures that the second electronic equipment detects, if the first electronic equipment detected, within the default time, receive the response data packet that the second electronic equipment is replied, if the glide direction information of the second electronic equipment touch gestures in response data packet is the first 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.
After establishing a connection, user has possessed the information of having classified, need only operate and Transmit message according to button prompting, or find out equipment corresponding in classification, carry out again transmit operation and just can send corresponding file by network, or the action that the file of user's selection also can move to predeterminated position by the second default glide direction information of the first electronic equipment touch gestures is sent to the second electronic equipment.The principle of work of this part is, touch gestures detection module detects user's touch gestures, in data processing module, process gesture information, and judge whether to generate the instruction that file that the first electronic equipment user selects sends to the second electronic equipment, if have, then control first communication module to the second electronic equipment Transmit message.In order to strengthen security, the second electronic equipment can also receive the file transmission order of the first electronic equipment again and send response message, just rear reception file.Here the response message of saying refers to that the second electronic equipment user agrees to accept file, agrees to accept the operation of file.In the present embodiment, response message refers to that the glide direction information that the second electronic equipment touch gestures detected is the 3rd default glide direction information.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 the confidentiality connecting is strengthened, 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 recording 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 Transmit message or other information that the second electronic equipment can be wanted to oneself in conjunction with glide direction information.
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.