CN110489044A - A kind of object sharing method and terminal - Google Patents

A kind of object sharing method and terminal Download PDF

Info

Publication number
CN110489044A
CN110489044A CN201910586355.6A CN201910586355A CN110489044A CN 110489044 A CN110489044 A CN 110489044A CN 201910586355 A CN201910586355 A CN 201910586355A CN 110489044 A CN110489044 A CN 110489044A
Authority
CN
China
Prior art keywords
terminal
input
screen
target object
target
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.)
Granted
Application number
CN201910586355.6A
Other languages
Chinese (zh)
Other versions
CN110489044B (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910586355.6A priority Critical patent/CN110489044B/en
Publication of CN110489044A publication Critical patent/CN110489044A/en
Application granted granted Critical
Publication of CN110489044B publication Critical patent/CN110489044B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a kind of object sharing method and terminals, are related to field of communication technology, to solve the problems, such as that operating process of the existing terminal when sharing object is cumbersome and time-consuming.This method is applied to first terminal, this method comprises: receiving the first input of first terminal user, first inputs the relative position for adjusting first side and second side under the first side of first terminal and the second side magnetism connection status of second terminal;And in response to first input, based on the relative position of first side and second side after adjusting, the target object in the first screen of first terminal is shared to second terminal and is shown.This method can be applied in the scene of terminals share object.

Description

A kind of object sharing method and terminal
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of object sharing method and terminals.
Background technique
With the continuous development of terminal technology, terminal using more and more extensive.User can be by terminal to various each The object (such as picture, text etc.) of sample is shared.
For sharing picture, the picture that user can first show terminal is stored in local, is then answered by third party The picture is shared with other users with program.Wherein, which is being shared with by other users by third party application When, user can first triggering terminal run third party application, then trigger enabling sharing function, then reselection is shared with it Its user.
However, needing user to carry out multiple selection operation to terminal during above-mentioned object is shared, so may cause The operating process that object is shared is cumbersome and time-consuming.
Summary of the invention
The embodiment of the present invention provides a kind of object sharing method and terminal, to solve behaviour of the existing terminal when object is shared Make the cumbersome and time-consuming problem of process.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, being applied to first terminal, this method packet the embodiment of the invention provides a kind of object sharing method It includes: under the first side of first terminal and the second side magnetism connection status of second terminal, receiving first terminal user's First input, first inputs the relative position for adjusting first side and second side;And in response to first input, it is based on The relative position of first side and second side after adjusting shares the target object in the first screen of first terminal to second Terminal is shown.
Second aspect, the embodiment of the invention provides a kind of terminal, which is first terminal, which includes receiving mould Block and processing module.Receiving module is used in the first side of first terminal and the second side magnetism connection status of second terminal Under, the first input of first terminal user is received, first inputs the relative position for adjusting first side and second side.Place Manage module be used in response to receiving module it is received this first input, based on after adjusting first side and second side it is opposite Target object in first screen of first terminal is shared to second terminal and is shown by position.
The third aspect, the embodiment of the invention provides a kind of terminal, which includes processor, memory and is stored in On reservoir and the computer program that can run on a processor, the computer program realize above-mentioned first party when being executed by processor The step of object sharing method in face.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage mediums Computer program is stored in matter, which realizes the object sharing method in above-mentioned first aspect when being executed by processor The step of.
In embodiments of the present invention, in the second side magnetism connection status of the first side of first terminal and second terminal Under, first terminal can receive the first input of first terminal user, and the first input is for adjusting first side and second side Relative position;And in response to first input, based on the relative position of first side and second side after adjusting, by first Target object in first screen of terminal, which is shared to second terminal, to be shown.With this solution, first terminal can be in response to User adjusts the input of the relative position of two terminals, the magnetic connection length after being adjusted based on two terminals, eventually by first The object of end display is sent to second terminal and is shown, realizes that object is shared, clicks without user and share icon and choosing It selects and shares the processes such as object.In this way, the embodiment of the present invention can promote the convenience and flexibility of terminals share object.
Detailed description of the invention
Fig. 1 is a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention;
Fig. 2 is the signal that the terminal of object sharing method provided in an embodiment of the present invention application is in magnetic connection status Figure;
Fig. 3 is one of the schematic diagram of object sharing method provided in an embodiment of the present invention;
Fig. 4 (A) is one of the interface schematic diagram of object sharing method provided in an embodiment of the present invention application;
Fig. 4 (B) is the two of the interface schematic diagram of object sharing method provided in an embodiment of the present invention application;
Fig. 4 (C) is the three of the interface schematic diagram of object sharing method provided in an embodiment of the present invention application;
Fig. 4 (D) is the four of the interface schematic diagram of object sharing method provided in an embodiment of the present invention application;
Fig. 5 (A) is the five of the interface schematic diagram of object sharing method provided in an embodiment of the present invention application;
Fig. 5 (B) is the six of the interface schematic diagram of object sharing method provided in an embodiment of the present invention application;
Fig. 6 is the seven of the interface schematic diagram of object sharing method provided in an embodiment of the present invention application;
Fig. 7 (A) is the eight of the interface schematic diagram of object sharing method provided in an embodiment of the present invention application;
Fig. 7 (B) is the nine of the interface schematic diagram of object sharing method provided in an embodiment of the present invention application;
Fig. 8 is the two of the schematic diagram of object sharing method provided in an embodiment of the present invention;
Fig. 9 is the ten of the interface schematic diagram of object sharing method provided in an embodiment of the present invention application;
Figure 10 is the three of the schematic diagram of object sharing method provided in an embodiment of the present invention;
Figure 11 is one of the structural schematic diagram of terminal provided in an embodiment of the present invention;
Figure 12 is the second structural representation of terminal provided in an embodiment of the present invention;
Figure 13 is the third structural representation of terminal provided in an embodiment of the present invention;
Figure 14 is the hardware schematic of terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
The terms "and/or" is a kind of incidence relation for describing affiliated partner, indicates may exist three kinds of relationships, For example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.Symbol herein "/" indicates that affiliated partner is relationship such as A/B expression A or B perhaps.
Term " first " and " second " in description and claims of this specification etc. are for distinguishing different pairs As, rather than it is used for the particular order of description object.For example, the first input and the second input etc. are different defeated for distinguishing Enter, rather than the particular order for describing input.
In embodiments of the present invention, " illustrative " or " such as " etc. words for indicate make example, illustration or explanation.This Be described as in inventive embodiments " illustrative " or " such as " any embodiment or design scheme be not necessarily to be construed as comparing Other embodiments or design scheme more preferably or more advantage.Specifically, use " illustrative " or " such as " etc. words purport Related notion is being presented in specific ways.
In the description of the embodiment of the present invention, unless otherwise indicated, the meaning of " plurality " is refer to two or more, For example, multiple processing units refer to two or more processing unit etc.;Multiple element refer to two or two with On element etc..
The embodiment of the present invention provides a kind of object sharing method and terminal, first side and second terminal in first terminal Second side magnetism connection status under, first terminal can receive first terminal user first input, first input be used for Adjust the relative position of first side and second side;And in response to first input, based on the first side and the after adjusting Target object in first screen of first terminal is shared to second terminal and is shown by the relative position of dual side-edge.By this Scheme, first terminal can adjust the input of the relative position of two terminals in response to user, after being adjusted based on two terminals Magnetic connection length, the object that first terminal is shown is sent to second terminal and shows, realize that object is shared, without User, which clicks, shares the processes such as icon and selection sharing object.In this way, the embodiment of the present invention can promote terminals share object Convenience and flexibility.
Terminal in the embodiment of the present invention can be the terminal with operating system.The operating system can be Android (Android) operating system can be ios operating system, can also be other possible operating systems, the embodiment of the present invention is not Make specific limit.
Below by taking Android operation system as an example, introduce applied by object sharing method provided in an embodiment of the present invention Software environment.
As shown in Figure 1, being a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention.Scheming In 1, the framework of Android operation system includes 4 layers, be respectively as follows: application layer, application framework layer, system Runtime Library layer and Inner nuclear layer (is specifically as follows Linux inner core).
Wherein, application layer includes each application program (including system application and in Android operation system Tripartite's application program).
Application framework layer is the frame of application program, and developer can be in the exploitation for the frame for abiding by application program In the case where principle, some application programs are developed based on application framework layer.
System Runtime Library layer includes library (also referred to as system library) and Android operation system running environment.Library is mainly Android behaviour As system it is provided needed for all kinds of resources.Android operation system running environment is used to provide software loop for Android operation system Border.
Inner nuclear layer is the operating system layer of Android operation system, belongs to the bottom of Android operation system software level.It is interior Stratum nucleare provides core system service and hardware-related driver based on linux kernel for Android operation system.
By taking Android operation system as an example, in the embodiment of the present invention, developer can be based on above-mentioned Android as shown in Figure 1 The software program of object sharing method provided in an embodiment of the present invention is realized in the system architecture of operating system, exploitation, so that The object sharing method can be run based on Android operation system as shown in Figure 1.I.e. processor or terminal can by The software program is run in Android operation system realizes object sharing method provided in an embodiment of the present invention.
Terminal in the embodiment of the present invention can be mobile terminal, or immobile terminal.Illustratively, mobile whole End can be mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device, super mobile personal meter Calculation machine (ultra-mobile personal computer, UMPC), net book or personal digital assistant (personal Digital assistant, PDA) etc., immobile terminal can be personal computer (personal computer, PC), electricity Depending on machine (television, TV), automatic teller machine or self-service machine etc., the embodiment of the present invention is not especially limited.
The executing subject of object sharing method provided in an embodiment of the present invention can be above-mentioned terminal, or the end It can be realized the functional module and/or functional entity of the object sharing method in end, it specifically can be according to actual use demand It determines, the embodiment of the present invention is not construed as limiting.
In the object sharing method that present example provides, mobile phone is made of two pieces of magnetic screens, two equipment each own two A cube of magnet body, cube magnet body are configured to rotate axis by the attraction of adjacent magnets.Axis connection is at least one Manage the memory of device.When the shaft is rotated, the angle and orientation that memory store instruction is rotated according to axis are changed, store instruction It enables a processor to determine and different logics is handled by the magnetic attraction of cube magnet.
The characteristic that there are magnetic screen two pieces of screens arbitrarily to link and remove, can pass through when two pieces of screens are stacked together The sliding of screen frame magnetic.Emit infrared ray by camera, then ccd sensor receives infrared ray, solves mobile phone and background The segmentation problem of virtual objects, camera have just obtained a secondary plain background for black and white and the image of mobile phone.It is then detected that mobile phone Movement, using image difference technology, subtracts each other the image for the two continuous frames that camera obtains, the part moved, just It can detecte the mobile distance of mobile phone.
With the development of communication and electronic technology, various change occurs for new trend and/or user demand, and with this A little variations, display develop in a variety of manners, and need expanded scope or enhance the various technologies development that display uses.
Magnetic-adsorption class mobile phone is attached or is separated the electronic equipment of two displays and its side of operation display by magnetic force Method.The program provides a kind of electronic device, which at two displays and has various angles by magnetic separation Coupled mode, without external hinge structure.Electronic equipment can control one or two of two displays, with basis The coupled mode while output screen of two display equipment.
Implementation:
Each cylinder-shaped magnet for having at least more than one by oneself of two equipment, cylinder-shaped magnet are configured to through adjacent magnets Attract and rotates axis.Memory of the axis connection at least one processor.When the shaft is rotated, memory store instruction is according to axis The angle and orientation of rotation are changed, and store instruction is enabled a processor to determine and be handled by the magnetic attraction of cylindrical magnet Different logics.
Is height different, what how this difference in height value obtained when the fitting of two mobile phones
Each cylinder-shaped magnet for having at least more than one by oneself of one: two equipment of scheme, cylinder-shaped magnet are configured to pass through phase The attraction of adjacent magnet and make axis stress change.When magnetic force change causes axis to be changed therewith by magnetic force, memory store instruction root It is changed according to the angle and orientation of axis variation, store instruction enables a processor to determine the magnetic for passing through different cylindrical magnets Gravitation determines the change in location between object.
Scheme two: camera actively emits infrared, and then ccd sensor receives infrared, mobile phone and background virtual objects Segmentation problem just solves, and what video camera obtained is a secondary plain background for black and white and the image of mobile phone.In next step, mobile phone is detected Movement, using image difference technology, difference is exactly that the image for the two continuous frames that camera is obtained is subtracted each other, and is obtained The part of movement, as long as thus mobile phone is moving, difference will automatically get off dynamic portion intercepts.
The embodiment of the present invention provides a kind of object sharing method, and mobile phone screen is magnetic screen, and mobile phone is by two pieces of magnetic screen structures At respectively there are two cube magnet body, cube magnet body is configured to rotate axis by the attraction of adjacent magnets two equipment. Memory of the axis connection at least one processor.When the shaft is rotated, the angle and side that memory store instruction is rotated according to axis Position is changed, and store instruction, which enables a processor to determine, handles different logics by the magnetic attraction of cube magnet.
Wherein, the characteristic that there are magnetic screen two pieces of screens arbitrarily to link and remove, can when by two pieces of screen splicings together To be slided by screen frame magnetic.There is the characteristic for arbitrarily linking and removing, two pieces of screens can between magnetic screen and magnetic screen To carry out the splicing magnetic of different distance in screen edge, structure is as shown in Figure 2.
Below by taking terminal as an example, in conjunction with each attached drawing, example is carried out to object sharing method provided in an embodiment of the present invention The explanation of property.
As shown in figure 3, the embodiment of the present invention provides a kind of object sharing method, which is applied to first eventually End, which may include following step 200- steps 201.
Step 200, under the first side of first terminal and the second side magnetism connection status of second terminal, first eventually End receives the first input of first terminal user.
Wherein, which can be used for adjusting the relative position of first side and second side.For the ease of distinguishing, The display screen of first terminal is known as the first screen, the display screen of second terminal is known as the second screen.
In the embodiment of the present invention, if user needs the special object for showing first terminal to be quickly shared with second eventually End, then user can be by the first input at this time, triggering first terminal is connect with second terminal magnetism, and triggers first terminal Shown that partial content or full content in content are sent to second terminal, to carry out pair in first terminal and second terminal As sharing.
In the embodiment of the present invention, above-mentioned first terminal and second terminal are the equipment for being provided with magnetic part, below will This kind of equipment is known as magnetic-adsorption Terminal Type (hereinafter referred to as magnetic-type terminal), which can pass through each other Respective magnetic part is magnetically coupled to together, without external hinge structure.Also, magnetic-type terminal can have magnetic connect The characteristic for connecing and removing, and two magnetic-type terminals can be spliced side by side by magnetic force attraction, when being stitched together side by side Two magnetic-type terminals can be slided along side or edge with respect to magnetic, and two magnetic-type terminals can be along side or edge Carry out the splicing (alternately splicing) of different location.
Optionally, in the embodiment of the present invention, above-mentioned magnetic part can be cylindrical magnet, or sheet bar shaped magnetic Body, can also be other magnets arbitrarily met the actual needs, and the shape of the magnetic part specifically can be according to actually making It is determined with demand, the embodiment of the present invention is not construed as limiting.
Optionally, in the embodiment of the present invention, above-mentioned magnetic part be can be set at the side (or edge) of first terminal. For example, magnetic part can be set in one or two of the longer side of first terminal side edge;Magnetic part can also be with One or two of the shorter lateral sides of first terminal side edge or magnetic part, which is arranged in, can be set in first terminal At longer side and at shorter lateral sides.Magnetic part is set to the position in first terminal specifically can be according to actual use demand It determines, the embodiment of the present invention is not construed as limiting.
Optionally, in the embodiment of the present invention, one or more magnetic parts (such as magnetic has been can be set in above-mentioned first terminal Property component can be for shown in dotted line in Fig. 2), the quantity of the magnetic part can specifically be determined according to actual use demand, this hair Bright embodiment is not construed as limiting.
It should be noted that being to describe example for quantity, shape, position of magnetic part etc. for first terminal above What property illustrated, it will be understood that quantity, shape, position of the magnetic part being arranged in second terminal etc. can in first terminal Quantity, shape, the position of the magnetic part of setting etc. are same or similar, connect in order to which magnetic-type terminal is magnetic each other, It can specifically be determined according to actual use demand, the embodiment of the present invention is not construed as limiting.
First terminal 31 and second terminal 32 can come close to or in contact with magnetic connection by magnet.Wherein, first terminal 31 and second terminal 32 by magnetic force attraction splice side by side, first terminal 31 and second terminal 32 can when being stitched together side by side To slide along side or edge with respect to magnetic, and first terminal 31 and second terminal 32 can carry out difference along side or edge The splicing of position.
In the embodiment of the present invention, the first input of above-mentioned user can be to make first terminal and the respective magnetism of second terminal Component comes close to or in contact with, so that the input that first terminal is connect with second terminal magnetism.
Optionally, in the embodiment of the present invention, the first input of above-mentioned user can trigger first terminal and second terminal simultaneously Row is stitched together, and (in the case, first terminal and the respective screen of second terminal are in the same plane, and side is whole Overlapping), it can also trigger first terminal and second terminal is alternately stitched together (in the case, first terminal and second The respective screen of terminal is in the same plane, and lateral section be overlapped), can also trigger first terminal and second terminal according to Other connecting method splicings arbitrarily met the actual needs, can specifically determine, the present invention is real according to actual use demand Example is applied to be not construed as limiting.
Illustratively, at two longer sides that magnetic part is set to first terminal, the first of above-mentioned user Input can be that come close to or in contact with first terminal with the respective longer side of second terminal (cylindrical magnet in such as Fig. 2) defeated Enter.
It should be noted that when first terminal and the respective magnetic part of second terminal come close to or in contact with, first terminal In the memory that is connect with magnetic part can store and be used to indicate magnetic part and come close to or in contact with and the finger of exposure level It enables, the processor of first terminal can handle corresponding logic and (such as generate following first and disappear according to the instruction of memory Breath).
Step 201, first terminal are in response to the first input, the opposite position based on first side and second side after adjusting It sets, the target object in the first screen of first terminal is shared to second terminal and is shown.
It may include target object in above-mentioned first message in the embodiment of the present invention, which can be the first screen Content in the object content of display.
Optionally, in the embodiment of the present invention, above-mentioned target object may include any one of following: in object content, target The picture in text, object content in appearance, the link in object content.Correspondingly, which can serve to indicate that Picture or target of two terminals in the text in the second screen display object content perhaps object content perhaps object content Link in content.
Illustratively, a certain webpage (i.e. object content is web page contents) is shown using the screen of first terminal (i.e. the first screen) For, first terminal can share full content in the webpage to second terminal, share picture in the webpage, share the net Text in page shares link in the webpage etc..
It should be noted that the embodiment of the present invention, which is not limited to above-mentioned object, shares scene, it is other right to be applied to As sharing scene, such as above-mentioned object sharing method can be used for sharing the picture of photograph album, sharing multiple messages content etc..Specifically It can be determined according to actual use demand, the embodiment of the present invention is not construed as limiting.
In this way, two magnetic-type terminals can be connected by magnetism, picture sharing, text are carried out between magnetic-type terminal Share, link and share or all show that object is shared, it is various interior to quickly sharing between different terminals so as to meet user The demand of appearance.
It is appreciated that above-mentioned target object is exemplary and enumerates, i.e., the embodiment of the present invention includes but be not limited to above-mentioned The content enumerated.In actual implementation, above-mentioned target object can also include other any possible contents, specifically can be according to reality Border use demand determines that the embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, after first terminal is connect by user by the first input with second terminal magnetism, the One terminal can send first message to second terminal, with to second terminal sharing contents in response to first input.Accordingly Ground, second terminal can show target object in the second screen after receiving first message, such as in the second screen displaying target The link in the picture or object content in text or object content in content or object content.
Object sharing method provided in an embodiment of the present invention, in the first side of first terminal and second side of second terminal Under the magnetism connection status of side, first terminal can receive the first input of first terminal user, and the first input is for adjusting first The relative position of side and second side;And in response to first input, based on the first side and second side after adjusting Target object in first screen of first terminal is shared to second terminal and is shown by relative position.With this solution, first Terminal can adjust the input of the relative position of two terminals in response to user, the magnetic connection after being adjusted based on two terminals Length, the object that first terminal is shown are sent to second terminal and show, realize that object is shared, click and divide without user It enjoys icon and the processes such as object is shared in selection.In this way, the embodiment of the present invention can be promoted terminals share object convenience and Flexibility.
In the embodiment of the present invention, first terminal can differently determine target object, realize below by first For mode and the second implementation, illustratively illustrate that first terminal in the embodiment of the present invention determines the specific reality of target object Existing mode.
First implementation
Splice side by side as described above, two magnetic-type terminals can be attracted by magnetic force, when being stitched together side by side two A magnetic-type terminal can be slided along side or edge with respect to magnetic, and two magnetic-type terminals can along side or edge into The splicing (alternately splicing) of row different location.
Illustratively, the step 201 in above-mentioned Fig. 3 can specifically be realized by following step 201a- step 201c.
Step 201a, final relative position of the first terminal based on first side and second side after adjusting, determines mesh Mark magnetic connection length.
Step 201b, first terminal is based on target magnetism connection length, determines target object type.
Optionally, in the embodiment of the present invention, above-mentioned target object type can be for literal type, picture type etc., specifically It can be determined according to actual use demand, the embodiment of the present invention is not construed as limiting.
Step 201c, first terminal by the target object for meeting target object type in the first screen of first terminal share to Second terminal is shown.
Optionally, in the embodiment of the present invention, above-mentioned step 201b can specifically be realized by following step 201b1.
Step 201b1, in the case where target magnetism connection length belongs within the scope of preset length, first terminal will with it is pre- If the corresponding object type of length range is determined as target object type.
In the embodiment of the present invention, after first terminal is connect by user by the first input with second terminal magnetism, the One terminal can determine first terminal and the spliced overlapping sideways degree of second terminal, that is, determine first terminal and second terminal Target magnetism connection length (such as pass through magnetic part obtain target magnetism connection length), first terminal is further according to the target Magnetic connection length determines target object type, and then can will meet target object type in the first screen of first terminal Target object, which is shared to second terminal, to be shown.
With this solution, which first terminal can determine according to the connecting method between first terminal and second terminal Content is object to be shared, so as to promote convenience and flexibility of the first terminal in sharing contents.
Optionally, in the embodiment of the present invention, first terminal can be according to target magnetism connection length and default value range Comparison result, determine target object.
Illustratively, above-mentioned step 201b1 can specifically pass through any one of following (1), (2), (3) and (4) It realizes.
(1), in the case where target magnetism connection length belongs within the scope of the first preset length, first terminal will be in target Appearance is determined as target object.
(2), in the case where target magnetism connection length belongs within the scope of the second preset length, first terminal will be in target Text in appearance is determined as target object.
(3), in the case where target magnetism connection length belongs within the scope of third preset length, first terminal will be in target Picture in appearance is determined as target object.
(4), in the case where target magnetism connection length belongs within the scope of the 4th preset length, first terminal will be in target Link in appearance is determined as target object.
In the embodiment of the present invention, first terminal may determine that target magnetism connection length belongs to above-mentioned each preset length model It which of encloses in range, further according to any one of above-mentioned (1), (2), (3) and (4), determines target object.
It should be noted that above-mentioned target magnetism connection length can be indicated with physical length numerical value, can also be connected with magnetic Spreading degree accounts for ratio (such as 1/4,1/2, the 3/4 or 1 etc.) expression of terminal side total length, specifically can be according to actual use need Ask determining, the embodiment of the present invention is not construed as limiting.
Illustratively, as shown in Fig. 4 (A), currently display webpage (i.e. above-mentioned object content) of first terminal 31, the webpage In include link, picture and text.After first terminal 31 and the magnetic connection of second terminal 32, first terminal 31 can be counted Calculation obtains target magnetism connection length (such as 1/4), target magnetism connection length belong to the 4th preset length range (such as In the case where in (0,1/4]), the partial link in webpage or all link can be determined as target object by first terminal.Phase Ying Di, second terminal 32 can show the target object.
As shown in Fig. 4 (B), it is default to judge that target magnetism connection length (for example, 1/2) belongs to third in first terminal 31 In the case where in length range (such as (1/4,1/2]), first terminal can be by the segment word in target webpage or whole texts Word is determined as target object.Correspondingly, second terminal 32 can show the target object.Wherein, first terminal is being determined as mesh After marking object, the web page contents that the first screen is currently shown can be parsed, extract text (the i.e. mesh in web page contents Mark object), it is sent to second terminal after being wrapped into data packet, second terminal obtains target object in the parsing data packet Afterwards, the target object is shown in the second screen.
As shown in Fig. 4 (C), it is default to judge that target magnetism connection length (for example, 3/4) belongs to second in first terminal 31 In the case where in length range (such as (1/2,3/4]), first terminal can scheme by the part picture in target webpage or all Piece is determined as target object.Correspondingly, second terminal 32 can show the target object.
As shown in Fig. 4 (D), judge that target magnetism connection length (for example, 1) belongs to the first default length in first terminal 31 In the case where spending in range (such as (3/4,1]), the full content of target webpage can be determined as target object by first terminal. Correspondingly, second terminal 32 can show the target object.
It is appreciated that above-mentioned first preset length range, the second preset length range, third preset length range, the 4th The value of preset length range is illustratively to enumerate, i.e., the embodiment of the present invention includes but be not limited to the above-mentioned numerical value model enumerated It encloses.In actual implementation, above-mentioned first preset length range, the second preset length range, third preset length range, the 4th preset The value of length range can also be other any possible numerical value, can specifically be determined according to actual use demand, the present invention Embodiment is not construed as limiting.
In the embodiment of the present invention, splice combination in a manner of magnetic by two first terminals, passes through two pieces of screen splicings Distance automatically determines object to be shared, while efficiently completing to share, and clicks without user when object is shared and shares figure It is marked with and selects to share the processes such as object, the convenience and interest when user's sharing contents can be increased, improve user's Operating experience.
With this solution, which first terminal can determine according to the connecting method between first terminal and second terminal Content is object to be shared, in this way, user can according to demand, according to different connecting methods by first terminal and second terminal It is stitched together, different content is shared in triggering, so as to promote convenience and flexibility of the first terminal in sharing contents.
Second implementation
Optionally, in the embodiment of the present invention, first terminal not only can determine mesh according to above-mentioned target magnetism connection length It marks object (referring to above-mentioned first implementation), and the selection of object content can be inputted according to user, determine target pair As (referring to the second implementation).
Illustratively, the step 201 in above-mentioned Fig. 3 can specifically be realized by following step 201d and step 201e.
Step 201d, first terminal in response to first input, based on after adjusting first side and second side it is opposite Position determines the target area in the first screen.
Step 201e, the target object in target area is shared to second terminal and is shown by first terminal.
In the embodiment of the present invention, first terminal can determine target object according to the various inputs of user, below by For mode one and mode two, illustratively illustrates to be inputted in the embodiment of the present invention according to the third of user, determine target object Specific implementation.
Mode one
Optionally, in the embodiment of the present invention, above-mentioned first input may include the first son input and the second son input.Its In, which can be used for adjusting first side and second side to the first relative position and at first of the first screen The first origin identification of display is set, which determines (such as position flushes) by first relative position.The second son input For adjusting first side and second side to the second relative position and showing the first end of identification in the second position of the first screen, The second position determines (such as position flushes) by second relative position.
In the case, above-mentioned step 201d can specifically be realized by following step 201d1.
Step 201d1, first terminal in response to first son input and second son input, based on after adjusting first side and The first relative position and the second relative position of second side, the region between the first origin identification and the first end of identification is true It is set to target area.
Wherein, which can serve to indicate that the initial position of target object, and above-mentioned first end of identification can To be used to indicate the end position of target object.Area of the above-mentioned target area between the first origin identification and the first end of identification Domain.
Below with reference to Fig. 5 (A) and Fig. 5 (B), illustratively illustrate the specific implementation of above-mentioned steps.
As shown in Fig. 5 (A), under first terminal 31 and magnetic the case where the connecting phase of second terminal 32, first terminal 31 exists First screen display has the first origin identification 33 (such as dotted line of flashing, for identifying the starting position of object to be shared).Such as Fruit user is by first terminal and second terminal relative movement (such as the mobile second terminal in direction shown in the arrow in Fig. 5 (A) 32), then as shown in Fig. 5 (B), first terminal 31 can first the first end of identification of screen display 34 (dotted line of display flashing, For identifying the end position of object to be shared).Content in target area can be determined as target object by first terminal, Region of the middle target area between the first origin identification 33 and the first end of identification 34.Correspondingly, second terminal 32 can be Second screen shows the target object in target area.
With this solution, object to be shared can be selected according to the input of user, shared so as to promote first terminal The convenience and flexibility of content.
Optionally, after above-mentioned step 201d, before above-mentioned step 201e, object provided in an embodiment of the present invention Sharing method can also include the steps that following 201f and step 201g.Correspondingly, above-mentioned step 201e can specifically pass through Following step 201e1 is realized.
Step 201f, first terminal receives the second input of first terminal user.
Wherein, above-mentioned second input can be slidably inputing on target area.
Step 201g, first terminal updates the target object shown in target area in response to the second input.
Step 201e1, target object updated in target area is shared to second terminal and is shown by first terminal.
Wherein, updated target object in displaying target region in the second screen of the second terminal.
In the embodiment of the present invention, show that the first origin identification and the first end of identification (have determined that target area in the first screen Domain) in the case where, user can slide up and down input on the first screen, and the first origin identification and the first end of identification be respectively at this time Position it is constant, object in selected target area changes as finger slides, while the content of the second screen display It can also change with target object updated in target area.
Below with reference to Fig. 5 (B) and Fig. 6 is referred to, illustratively illustrates the specific implementation of above-mentioned steps.
As shown in fig. 6, if user slidably inputed on target area (such as shown in the arrow in Fig. 6 side To slidably inputing), then first terminal 31 can will update the content in displaying target region, and will be updated in target area Content is determined as target object.Correspondingly, second terminal 32 can show the target object in the second screen.
With this solution, object to be shared can selectively be selected according to the input of user, it is convenient to selection portion Subregional object, so as to promote the convenience and flexibility of terminals share content.
Mode two
Optionally, in mode two, first terminal can slidably inputing on the first screen in response to user, selection is a large amount of Object to be shared.
Illustratively, the step 201 in above-mentioned Fig. 3 can specifically pass through following step 201h, step 201i, step 201g, step 201k and step 201l are realized.
Step 201h, relative position of the first terminal based on first side and second side after adjusting, in the first screen First position shows the first origin identification;
Step 201i, first terminal receives third input of the first terminal user in the first origin identification.
Illustratively, third input can be first terminal user to the first origin identification (such as beginning flag line) Long-pressing input.
Step 201j, first terminal is inputted in response to third, displaying target prompt information, and the target prompting information is for mentioning Show that user slidably inputs on the first screen and selects object to be shared.
Step 201k, first terminal receives the 4th input.
Wherein, the 4th input can be user's slidably inputing on the first screen.
Step 201l, first terminal in response to the 4th input, update the first screen display object, and by the first screen more The target object newly shown, which is shared to second terminal, to be shown.
Wherein, above-mentioned target object is from the first sub- content to the content of the second sub- content, which is first The content shown at origin identification, the content that last line is shown on the first screen when which is four ends of input.
Correspondingly, the target object that display is updated in the first screen of display can be updated in the second screen of second terminal.
Specifically, if user inputs the first origin identification long-pressing, first terminal open it is multipair as sharing model, this If when user slidably inputed on the first screen, first terminal control the first origin identification it is fixed, and update the first screen on The content of display (content of update can be successively in the second screen display).For example, in sharing contents, it is assumed that the first starting mark Know in the 5th row, then can be shown on the second screen in the finger of user in the case where sliding up to 20 row on the first screen From all the elements of the 5th row to the 20th row, the object that can be performed for more than screen ranges in this way is shared, so as to promote first The convenience and flexibility of terminals share content.
Below with reference to Fig. 7 (A) and Fig. 7 (B), illustratively illustrate the specific implementation of above-mentioned steps.
As shown in Fig. 7 (A), in first terminal 32 after the first screen shows the first origin identification 35, if user is to first 35 long-pressing of origin identification, then first terminal is opened multipair as sharing model.Further, if user slides on the first screen It inputs (such as direction shown in the arrow in Fig. 7 (A) slidably inputs), then the first terminal 31 as shown in Fig. 7 (B) can will more The object of new first screen display, and the target object for updating display in the first screen is shared to second terminal 32 and is shown. Correspondingly, second terminal 32 can be updated in the second screen shows the target object that display is updated in the first screen.
With this solution, object to be shared can selectively be selected according to the input of user, it is convenient to selection portion Subregional object, so as to promote the convenience and flexibility of terminals share content.
In the embodiment of the present invention, splice combination in a manner of magnetic by two terminals, user can be by triggering two ends End is relatively moved along engagement edge, selects the context for wanting to share, or slide the content shown in terminal by finger, The content for sharing lower one page or page up, can also share all the elements that finger slided, click and share without user Icon shares the processes such as object with selection, and the embodiment of the present invention can increase the convenience and interest when user's sharing contents, The operating experience of significant increase user.
Optionally, in conjunction with Fig. 3, as shown in figure 8, after above-mentioned step 201, object provided in an embodiment of the present invention point The method of enjoying can also include the steps that following 202 and step 203.
Step 202, first terminal receive the 5th input of user.
Wherein, above-mentioned 5th input can be used for triggering first terminal and second terminal according to the first direction of relative movement phase To movement, first direction of relative movement is opposite with the second direction of relative movement of the first input triggering.
It should be noted that relative motion can relatively move for first terminal and second terminal, or first eventually End and second terminal relatively rotate, and can specifically be determined according to actual use demand, the embodiment of the present invention is not construed as limiting.
For example, as shown in figure 9, the 5th input can be the input for being rotated in the clockwise direction first terminal, Huo Zhe Five inputs can be the input for rotating second terminal in the counterclockwise direction.
Step 203, first terminal send first message to second terminal, which is used in response to the 5th input Indicate that second terminal cancels displaying target object.
In the embodiment of the present invention, during object is shared, if user needs to cancel the sharing to selected content, Then user can rotate clockwise first terminal or rotate second terminal counterclockwise, and make first terminal and after having rotated The separation of two terminals, first terminal can cancel the sharing treated and share object in response to the input of user.In this way, can increase Add the convenience and interest when user's sharing web page content.
Optionally, in conjunction with Fig. 3, as shown in Figure 10, after above-mentioned step 201, object provided in an embodiment of the present invention Sharing method can also include the steps that following 204- steps 206.
Step 204, first terminal receive sixth input of the user to the target object in the first screen.
Wherein, the 6th input some or all of is chosen in target object for triggering.
Step 205, first terminal receive the 7th input of user, and the 7th input releases first terminal and for triggering The magnetic connection status of two terminals.
Illustratively, the 7th input can be the input for removing first terminal from second terminal.
Specifically, user can check whether the content (i.e. target object) that the second screen is shown is object to be shared, if with Family determines that target object is object to be shared, then first terminal and second terminal directly can be released splicing by user, with triggering First terminal indicates that second terminal stores target object, completes object and shares.
Step 206, first terminal send second message to second terminal, this in response to the 6th input and the 7th input Two message are used to indicate second terminal and store and show the target object chosen in the first screen.
In the embodiment of the present invention, after first terminal is connect by user by the first input with second terminal magnetism, the Two terminals can cache the target object in second message after receiving second message, and the screen of second terminal (i.e. Second screen) show the target object.Share to complete object, then user can trigger first terminal instruction second terminal storage The target object.
Illustratively, by taking target object is web page contents as an example, in the case where the first screen shows web page contents, Yong Huke It is stitched together side by side (i.e. above-mentioned first input) with triggering first terminal and second terminal by magnetic, first terminal can refer to Show that second terminal shows object to be shared in the second screen, and is determined after sharing object (i.e. above-mentioned second input) in user, the One terminal can indicate that second terminal saves object to be shared, so that object is completed.
In the embodiment of the present invention, after relative position between two terminals determines, can by the first screen wait share Object be marked and choose, user can choose the whole objects of transmission, or only transmitting portion object, can so promote end Share the flexibility of object in end.
As shown in figure 11, the embodiment of the present invention provides a kind of terminal 700, which is first terminal, which can be with Including receiving module 701 and processing module 702.Receiving module 701 is used for first side and second terminal in first terminal Under the magnetism connection status of second side, the first input of first terminal user is received, first input is for adjusting first side With the relative position of second side.Processing module 702 is used in response to received first input of receiving module 701, based on tune The relative position of first side and second side after section shares the target object in the first screen of first terminal to second eventually End is shown.
Optionally, in the embodiment of the present invention, processing module 702 be specifically used for based on after adjusting first side and second side The final relative position on side determines target magnetism connection length;And it is based on the target magnetism connection length, determine target object class Type;And the target object for meeting the target object type in the first screen of first terminal is shared to second terminal and is shown.
Optionally, in the embodiment of the present invention, processing module 702 is specifically used for belonging to default length in target magnetism connection length In the case where spending in range, object type corresponding with preset length range is determined as target object type.
Optionally, in the embodiment of the present invention, processing module 702 be specifically used for based on after adjusting first side and second side The relative position on side determines the target area in the first screen;And the target object in the target area is shared to second terminal It is shown.
Optionally, in the embodiment of the present invention, receiving module 701 is specifically used for receiving the first son input of first terminal user With the second son input, wherein the first son input is for adjusting first side and second side to the first relative position and the The first position of one screen shows the first origin identification, which is determined by first relative position;The second son input is used It, should in adjusting first side and second side to the second relative position and showing the first end of identification in the second position of the first screen The second position is determined by second relative position.Processing module 702 is specifically used for defeated in response to the first son input and the second son Enter, the first relative position and the second relative position based on first side and second side after adjusting, which is marked The region known between first end of identification is determined as target area.
Optionally, in conjunction with Figure 11, as shown in figure 12, terminal provided in an embodiment of the present invention can also include display module 703.Receiving module 701, the relative position of the first side and second side that are also used to after processing module 702 is based on adjusting, After determining the target area in the first screen, the target object in target area is shared to second terminal before being shown, The second input of user is received, which is slidably inputing on the target area.Display module 703 be used in response to Received second input of receiving module 701, updates the target object shown in target area.Processing module 702 is specifically used for Target object updated in the target area is shared to second terminal and is shown.Wherein, in the second screen of second terminal Show updated target object in the target area.
Optionally, in the embodiment of the present invention, processing module 702 be specifically used for based on after adjusting first side and second side The relative position on side shows the first origin identification in the first position of the first screen.Receiving module 701 is also used to receive user at this Third input in first origin identification.Display module 703 is also used in response to the received third input of receiving module 701, Displaying target prompt information, the target prompting information select object to be shared for prompting to slidably input on the first screen.It receives Module 701 is also used to receive the 4th input, and the 4th input is slidably inputing on the first screen.Display module 703 is also used to It is inputted in response to receiving module 701 the received 4th, updates the object shown in the first screen, and aobvious by updating in first screen The target object shown, which is shared to second terminal, to be shown, wherein the target object is from the first sub- content to the second sub- content Content, the first sub- content be first origin identification at show content, the second sub- content be the 4th end of input When the first screen on the content that shows of last line.Wherein, it is updated in the second screen of second terminal in the first screen of display and updates display Target object.
Optionally, in conjunction with Figure 11, as shown in figure 13, terminal provided in an embodiment of the present invention can be with sending module 704.It connects Receipts module 701 is also used to the target object in first screen of the processing module 702 by first terminal and shares to second terminal progress After display, the 5th input of user is received, the 5th input is opposite according to first for triggering first terminal and second terminal Direction of motion relative motion, first direction of relative movement are opposite with the second direction of relative movement of the first input triggering.Hair It send module 704 for inputting in response to receiving module 701 the received 5th, sends first message to the second terminal, this One message is used to indicate second terminal and cancels displaying target object.
Optionally, in the embodiment of the present invention, receiving module 701 is also used to the first of first terminal in processing module 702 Target object in screen is shared to second terminal shown after, it is defeated to the 6th of the target object in the first screen to receive user Enter, the 6th input some or all of is chosen in the target object for triggering.Receiving module 701 is also used to receive user's 7th input, the 7th input is for triggering the magnetic connection status for releasing first terminal and second terminal.Sending module 704 is also For sending second message to second terminal, this second in response to the input of receiving module 701 the received 6th and the 7th input Message is used to indicate second terminal and stores and show the target object chosen in the first screen.
Terminal provided in an embodiment of the present invention can be realized each process that terminal is realized in above method embodiment, to keep away Exempt to repeat, which is not described herein again.
Terminal provided in an embodiment of the present invention connects in the first side of first terminal and the second side magnetism of second terminal It connects under state, first terminal can receive the first input of first terminal user, and the first input is for adjusting first side and the The relative position of dual side-edge;And in response to first input, based on the relative position of first side and second side after adjusting, Target object in first screen of first terminal is shared to second terminal and is shown.With this solution, first terminal can be with The input that the relative position of two terminals is adjusted in response to user, the magnetic connection length after being adjusted based on two terminals will The object that first terminal is shown is sent to second terminal and is shown, realizes that object is shared, clicks without user and share icon And the processes such as object are shared in selection.In this way, the embodiment of the present invention can promote the convenience and flexibility of terminals share object.
A kind of hardware structural diagram of Figure 14 terminal of each embodiment to realize the present invention.As shown in figure 14, the end End 800 includes but is not limited to: radio frequency unit 801, network module 802, audio output unit 803, input unit 804, sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, processor 810 and power supply 811 etc. Component.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Figure 14, terminal can be with Including perhaps combining certain components or different component layouts than illustrating more or fewer components.In the embodiment of the present invention In, terminal include but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device and Pedometer etc..
Wherein, user input unit 807, it is magnetic for the second side in the first side of first terminal and second terminal Under connection status, the first input of first terminal user is received, first inputs the phase for adjusting first side and second side To position;Processor 810 is used in response to received first input of user input unit 807, based on the first side after adjusting Target object in first screen of first terminal is shared to second terminal and is shown by the relative position on side and second side.
The embodiment of the present invention provides a kind of terminal, which can adjust the relative position of two terminals in response to user Input, the magnetic connection length after being adjusted based on two terminals, the object that first terminal is shown be sent to second terminal into Row display realizes that object is shared, and shares icon without user's click and the processes such as object are shared in selection.In this way, of the invention Embodiment can promote the convenience and flexibility of terminals share object.
It should be understood that the embodiment of the present invention in, radio frequency unit 801 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 810 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 801 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 801 can also by wireless communication system and network and other set Standby communication.
Terminal 800 provides wireless broadband internet by network module 802 for user and accesses, and such as helps user's transmitting-receiving Email, browsing webpage and access streaming video etc..
Audio output unit 803 can be received by radio frequency unit 801 or network module 802 or in memory 809 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 803 can also provide and end The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 800 executes.Sound Frequency output unit 803 includes loudspeaker, buzzer and receiver etc..
Input unit 804 is for receiving audio or video signal.Input unit 804 may include graphics processor (graphics processing unit, GPU) 8041 and microphone 8042, graphics processor 8041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 806.Through graphics processor 8041, treated that picture frame can be deposited Storage is sent in memory 809 (or other storage mediums) or via radio frequency unit 801 or network module 802.Mike Wind 8042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 801 is converted in the case where telephone calling model.
Terminal 800 further includes at least one sensor 805, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjusts the brightness of display panel 8061, and proximity sensor can close display panel when terminal 800 is moved in one's ear 8061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify terminal posture (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 805 can be with Including fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer, Infrared sensor etc., details are not described herein.
Display unit 806 is for showing information input by user or being supplied to the information of user.Display unit 806 can wrap Display panel 8061 is included, liquid crystal display (liquid crystal display, LCD), Organic Light Emitting Diode can be used Forms such as (organic light-emitting diode, OLED) configure display panel 8061.
User input unit 807 can be used for receiving the number or character information of input, and generates and set with the user of terminal It sets and the related key signals of function control inputs.Specifically, user input unit 807 include touch panel 8071 and other Input equipment 8072.Touch panel 8071, also referred to as touch screen, collect user on it or nearby touch operation (such as User is using any suitable objects or attachment such as finger, stylus on touch panel 8071 or near touch panel 8071 Operation).Touch panel 8071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 810, receives processor 810 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch panel 8071.In addition to touch panel 8071, user input unit 807 can also include other input equipments 8072. Specifically, other input equipments 8072 can include but is not limited to physical keyboard, function key (such as volume control button, switch Key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 8071 can be covered on display panel 8061, when touch panel 8071 is detected at it On or near touch operation after, send processor 810 to determine the type of touch event, be followed by subsequent processing device 810 according to touching The type for touching event provides corresponding visual output on display panel 8061.Although in Figure 14, touch panel 8071 and aobvious Show that panel 8061 is the function that outputs and inputs of realizing terminal as two independent components, but in certain embodiments, The function that outputs and inputs that touch panel 8071 and display panel 8061 can be integrated and be realized terminal, does not limit specifically herein It is fixed.
Interface unit 808 is the interface that external device (ED) is connect with terminal 800.For example, external device (ED) may include it is wired or Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port, For connecting port, the port audio input/output (I/O), video i/o port, ear port of the device with identification module Etc..Interface unit 808 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will One or more elements that the input received is transferred in terminal 800 or can be used for terminal 800 and external device (ED) it Between transmit data.
Memory 809 can be used for storing software program and various data.Memory 809 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 809 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 810 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to It crosses operation or executes the software program and/or module being stored in memory 809, and call and be stored in memory 809 Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 810 may include one Or multiple processing units;Optionally, processor 810 can integrate application processor and modem processor, wherein application processing The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage Solution, above-mentioned modem processor can not also be integrated into processor 810.
Terminal 800 can also include the power supply 811 (such as battery) powered to all parts, and optionally, power supply 811 can be with It is logically contiguous by power-supply management system and processor 810, thus by power-supply management system realize management charging, electric discharge, with And the functions such as power managed.
In addition, terminal 800 includes some unshowned functional modules, details are not described herein.
Optionally, the embodiment of the present invention also provides a kind of terminal, including processor 810 as shown in figure 14, memory 809, it is stored in the computer program that can be run on memory 809 and on processor 810, the computer program is by processor 810 realize each process of above-mentioned object sharing method embodiment when executing, and can reach identical technical effect, to avoid weight Multiple, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned object sharing method embodiment, and energy when being executed by processor Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, which may include Read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic Dish or CD etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method disclosed in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (20)

1. a kind of object sharing method is applied to first terminal, which is characterized in that the described method includes:
Under the first side of first terminal and the second side magnetism connection status of second terminal, receive first terminal user's First input, described first inputs the relative position for adjusting the first side and the second side;
In response to first input, based on the relative position of the first side and the second side after adjusting, by institute It states the target object in the first screen of first terminal and shares to the second terminal and shown.
2. the method according to claim 1, wherein the first side and described based on after adjusting Target object in first screen of the first terminal is shared to the second terminal and is shown by the relative position of dual side-edge Show, comprising:
Based on the final relative position of the first side and the second side after the adjusting, determine that target magnetism connects Length;
Based on the target magnetism connection length, target object type is determined;
The target object for meeting the target object type in first screen of the first terminal is shared to the second terminal It is shown.
3. according to the method described in claim 2, it is characterized in that, it is described be based on the target magnetism connection length, determine mesh Mark object type, comprising:
It, will be corresponding with the preset length range in the case where the target magnetism connection length belongs within the scope of preset length Object type be determined as the target object type.
4. the method according to claim 1, wherein the first side and described based on after adjusting Target object in first screen of the first terminal is shared to the second terminal and is shown by the relative position of dual side-edge Show, comprising:
Based on the relative position of the first side and the second side after adjusting, the target area in first screen is determined Domain;
Target object in the target area is shared to the second terminal and is shown.
5. according to the method described in claim 4, it is characterized in that, first input for receiving first terminal user, comprising:
Receive the first son input and the second son input of first terminal user, wherein the first son input is described for adjusting First side and the second side to the first relative position simultaneously show the first origin identification in the first position of the first screen, described First position is determined by first relative position;The second son input is for adjusting the first side and described second side While showing the first end of identification to the second relative position and in the second position of the first screen, the second position is by second phase Position is determined;
It is described in response to first input, based on the relative position of the first side and the second side after adjusting, Determine the target area in first screen, comprising:
In response to the first son input and the second son input, based on the first side and the second side after adjusting First relative position and the second relative position determine the region between first origin identification and first end of identification For the target area.
6. according to the method described in claim 4, it is characterized in that, the first side and described based on after adjusting The relative position of dual side-edge, after determining the target area in first screen, the target pair by the target area Before being shown as sharing to the second terminal, the method also includes:
The second input of user is received, second input is slidably inputing on the target area;
In response to second input, the target object shown in target area is updated;
The target object by the target area, which is shared to the second terminal, to be shown, comprising:
Target object updated in the target area is shared to the second terminal and is shown;
Wherein, updated target object in the target area is shown in the second screen of the second terminal.
7. the method according to claim 1, wherein the first side and described based on after adjusting Target object in first screen of the first terminal is shared to the second terminal and is shown by the relative position of dual side-edge Show, comprising:
It is aobvious in the first position of first screen based on the relative position of the first side and the second side after adjusting Show the first origin identification;
Receive third input of the user in first origin identification;
It is inputted in response to the third, displaying target prompt information, the target prompting information is for prompting in first screen On slidably input and select object to be shared;
The 4th input of user is received, the 4th input is slidably inputing on first screen;
In response to the 4th input, the object shown in first screen is updated, and display will be updated in first screen Target object, which is shared to the second terminal, to be shown, wherein the target object is out of first sub- content to the second son The content of appearance, the first sub- content are the content shown at first origin identification, and the second sub- content is described the The content that last line is shown on first screen described in when four ends of input;
Wherein, the target object for showing and updating display in first screen is updated in the second screen of the second terminal.
8. method according to any one of claim 1 to 7, which is characterized in that by the first screen of the first terminal In target object share to the second terminal and shown after, the method also includes:
The 5th input of user is received, the 5th input is for triggering the first terminal and the second terminal according to first Direction of relative movement relative motion, the second direction of relative movement of first direction of relative movement and the first input triggering On the contrary;
In response to the 5th input, Xiang Suoshu second terminal sends first message, and the first message is used to indicate described the Two terminals, which are cancelled, shows the target object.
9. method according to any one of claim 1 to 7, which is characterized in that by the first screen of the first terminal In target object share to the second terminal and shown after, the method also includes:
Sixth input of the user to the target object in first screen is received, the 6th input chooses the mesh for triggering Some or all of in mark object;
The 7th input of user is received, the 7th input is for triggering the magnetic for releasing the first terminal and the second terminal Property connection status;
In response to the 6th input and the 7th input, Xiang Suoshu second terminal sends second message, the second message The second terminal is used to indicate to store and show the target object chosen in first screen.
10. a kind of terminal, which is characterized in that the terminal is first terminal, and the terminal includes receiving module and processing module;
The receiving module, under the second side magnetism connection status of the first side of first terminal and second terminal, The first input of first terminal user is received, described first inputs the phase for adjusting the first side and the second side To position;
The processing module, in response to received first input of the receiving module, based on described the after adjusting The relative position of a side and the second side shares the target object in the first screen of the first terminal to described Two terminals are shown.
11. terminal according to claim 10, which is characterized in that the processing module is specifically used for being based on the adjusting The final relative position of the first side and the second side afterwards, determines target magnetism connection length;And based on described Target magnetism connection length, determines target object type;And the target object will be met in the first screen of the first terminal The target object of type, which is shared to the second terminal, to be shown.
12. terminal according to claim 11, which is characterized in that the processing module is specifically used in the target magnetic In the case that property connection length belongs within the scope of preset length, object type corresponding with the preset length range is determined as The target object type.
13. terminal according to claim 10, which is characterized in that the processing module, after based on adjusting The relative position of the first side and the second side determines the target area in first screen;And by the target Target object in region, which is shared to the second terminal, to be shown.
14. terminal according to claim 13, which is characterized in that the receiving module is specifically used for receiving first terminal The the first son input and the second son input of user, wherein the first son input is for adjusting the first side and described the Dual side-edge shows the first origin identification to the first relative position and in the first position of the first screen, and the first position is by described One relative position determines;The second son input is for adjusting the first side and the second side to the second relative position And the first end of identification is shown in the second position of the first screen, the second position is determined by second relative position;
The processing module is specifically used for inputting in response to the first son input and the second son, based on described the after adjusting First relative position and the second relative position of a side and the second side, by first origin identification and described first Region between end of identification is determined as the target area.
15. terminal according to claim 13, which is characterized in that the terminal further includes display module;
The receiving module is also used in the processing module based on the first side and the second side after adjusting The target object in the target area is shared to described after determining the target area in first screen relative position Before second terminal is shown, the second input of user is received, second input is the sliding on the target area Input;
The display module, for updating and being shown in target area in response to received second input of the receiving module Target object;
The processing module, specifically for by target object updated in the target area share to the second terminal into Row display;
Wherein, updated target object in the target area is shown in the second screen of the second terminal.
16. terminal according to claim 15, which is characterized in that the processing module, after based on adjusting The relative position of the first side and the second side shows the first origin identification in the first position of first screen;
The receiving module is also used to receive third input of the user in first origin identification;
The display module is also used in response to the received third input of the receiving module, displaying target prompt information, The target prompting information selects object to be shared for prompting to slidably input on first screen;
The receiving module is also used to receive the 4th input of user, and the 4th input is the sliding on first screen Input;
The display module is also used to update in first screen in response to received 4th input of the receiving module The object of display, and the target object for updating display in first screen is shared to the second terminal and is shown, wherein The target object is from the first sub- content to the content of the second sub- content, and the first sub- content is first origin identification Locate the content of display, when the second sub- content is four end of input described on the first screen last line show it is interior Hold;
Wherein, the target object for showing and updating display in first screen is updated in the second screen of the second terminal.
17. terminal described in any one of 0 to 16 according to claim 1, which is characterized in that the terminal further includes sending mould Block;
The receiving module, be also used to the target object in first screen of the processing module by the first terminal share to After the second terminal is shown, the 5th input of user is received, the 5th input is for triggering the first terminal With the second terminal according to the first direction of relative movement relative motion, first direction of relative movement and first input Second direction of relative movement of triggering is opposite;
The sending module, in response to received 5th input of the receiving module, Xiang Suoshu second terminal to be sent First message, the first message are used to indicate the second terminal and cancel the display target object.
18. terminal according to claim 17, which is characterized in that the receiving module is also used in the processing module Target object in first screen of the first terminal is shared to the second terminal after being shown, receives user to institute State the 6th input of the target object in the first screen, the 6th input for trigger choose part in the target object or All;
The receiving module, is also used to receive the 7th input of user, and the 7th input releases described first eventually for triggering The magnetic connection status at end and the second terminal;
The sending module is also used to input in response to received 6th input of the receiving module and the described 7th, to The second terminal sends second message, and the second message is used to indicate the second terminal and stores and show first screen In the target object chosen.
19. a kind of terminal, which is characterized in that including processor, memory and be stored on the memory and can be at the place The computer program run on reason device is realized when the computer program is executed by the processor as appointed in claim 1 to 9 The step of object sharing method described in one.
20. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence, the computer program realize object sharing method as claimed in any one of claims 1-9 wherein when being executed by processor Step.
CN201910586355.6A 2019-07-01 2019-07-01 Object sharing method and terminal Active CN110489044B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910586355.6A CN110489044B (en) 2019-07-01 2019-07-01 Object sharing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910586355.6A CN110489044B (en) 2019-07-01 2019-07-01 Object sharing method and terminal

Publications (2)

Publication Number Publication Date
CN110489044A true CN110489044A (en) 2019-11-22
CN110489044B CN110489044B (en) 2021-02-12

Family

ID=68546420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910586355.6A Active CN110489044B (en) 2019-07-01 2019-07-01 Object sharing method and terminal

Country Status (1)

Country Link
CN (1) CN110489044B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309205A (en) * 2020-01-23 2020-06-19 维沃移动通信有限公司 Application sharing method, first electronic device and computer-readable storage medium

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201509216U (en) * 2009-09-10 2010-06-16 中兴通讯股份有限公司 Mobile phone
CN102934068A (en) * 2010-04-08 2013-02-13 诺基亚公司 Method, apparatus and computer program product for joining the displays of multiple devices
US20130169510A1 (en) * 2011-12-29 2013-07-04 Panasonic Corporation Information processing system
CN103309594A (en) * 2012-03-12 2013-09-18 联想(北京)有限公司 Touch screen input method and electronic equipment
CN103873578A (en) * 2014-03-21 2014-06-18 深圳市东方拓宇科技有限公司 Method for sending and sharing contents between terminals and corresponding terminals
US8823640B1 (en) * 2010-10-22 2014-09-02 Scott C. Harris Display reconfiguration and expansion across multiple devices
CN104063111A (en) * 2013-03-21 2014-09-24 联想(北京)有限公司 Information processing method and electronic equipment
CN104076872A (en) * 2013-03-29 2014-10-01 联想(北京)有限公司 Electronic equipment
CN104679315A (en) * 2013-11-28 2015-06-03 英业达科技有限公司 Touch control display device and touch control operation method thereof
CN104915129A (en) * 2014-03-10 2015-09-16 联想(北京)有限公司 Electronic equipment and electronic equipment module
CN105278855A (en) * 2014-06-25 2016-01-27 Lg电子株式会社 Mobile terminal and method for controlling the same
CN105765518A (en) * 2013-09-25 2016-07-13 派视特立株式会社 Apparatus and method for sharing contents
CN106055221A (en) * 2015-04-22 2016-10-26 昆山纬绩资通有限公司 Method for screen picture interactions among multiple electronic devices and electronic system
CN106126150A (en) * 2016-07-02 2016-11-16 上海摩软通讯技术有限公司 Magnetic splice matching method, splicing display method and terminal unit
CN106303067A (en) * 2016-08-31 2017-01-04 广东小天才科技有限公司 A kind of method and device of data transmission
CN106325709A (en) * 2016-08-24 2017-01-11 广东小天才科技有限公司 Method and device for capturing contents on screen
CN106445440A (en) * 2016-09-26 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Screen sharing method and terminal thereof
US9678613B2 (en) * 2013-02-25 2017-06-13 Sharp Kabushiki Kaisha Input device and display
CN108475183A (en) * 2016-01-04 2018-08-31 三星电子株式会社 It is shown using the content of multiple display equipment

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201509216U (en) * 2009-09-10 2010-06-16 中兴通讯股份有限公司 Mobile phone
CN102934068A (en) * 2010-04-08 2013-02-13 诺基亚公司 Method, apparatus and computer program product for joining the displays of multiple devices
US8823640B1 (en) * 2010-10-22 2014-09-02 Scott C. Harris Display reconfiguration and expansion across multiple devices
US20130169510A1 (en) * 2011-12-29 2013-07-04 Panasonic Corporation Information processing system
CN103309594A (en) * 2012-03-12 2013-09-18 联想(北京)有限公司 Touch screen input method and electronic equipment
US9678613B2 (en) * 2013-02-25 2017-06-13 Sharp Kabushiki Kaisha Input device and display
CN104063111A (en) * 2013-03-21 2014-09-24 联想(北京)有限公司 Information processing method and electronic equipment
CN104076872A (en) * 2013-03-29 2014-10-01 联想(北京)有限公司 Electronic equipment
CN105765518A (en) * 2013-09-25 2016-07-13 派视特立株式会社 Apparatus and method for sharing contents
CN104679315A (en) * 2013-11-28 2015-06-03 英业达科技有限公司 Touch control display device and touch control operation method thereof
CN104915129A (en) * 2014-03-10 2015-09-16 联想(北京)有限公司 Electronic equipment and electronic equipment module
CN103873578A (en) * 2014-03-21 2014-06-18 深圳市东方拓宇科技有限公司 Method for sending and sharing contents between terminals and corresponding terminals
CN105278855A (en) * 2014-06-25 2016-01-27 Lg电子株式会社 Mobile terminal and method for controlling the same
CN106055221A (en) * 2015-04-22 2016-10-26 昆山纬绩资通有限公司 Method for screen picture interactions among multiple electronic devices and electronic system
CN108475183A (en) * 2016-01-04 2018-08-31 三星电子株式会社 It is shown using the content of multiple display equipment
CN106126150A (en) * 2016-07-02 2016-11-16 上海摩软通讯技术有限公司 Magnetic splice matching method, splicing display method and terminal unit
CN106325709A (en) * 2016-08-24 2017-01-11 广东小天才科技有限公司 Method and device for capturing contents on screen
CN106303067A (en) * 2016-08-31 2017-01-04 广东小天才科技有限公司 A kind of method and device of data transmission
CN106445440A (en) * 2016-09-26 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Screen sharing method and terminal thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309205A (en) * 2020-01-23 2020-06-19 维沃移动通信有限公司 Application sharing method, first electronic device and computer-readable storage medium

Also Published As

Publication number Publication date
CN110489044B (en) 2021-02-12

Similar Documents

Publication Publication Date Title
CN109460177A (en) A kind of image processing method and terminal device
CN110456953A (en) File interface switching method and terminal device
CN109814772A (en) A kind of application program image target moving method and terminal device
CN110221885A (en) A kind of interface display method and terminal device
CN109889348A (en) A kind of images share method and device
CN109032719A (en) A kind of object recommendation method and terminal
CN109917995A (en) A kind of object processing method and terminal device
CN109656450A (en) A kind of image display method and terminal device
CN109857289A (en) Display control method and terminal device
CN109085968A (en) A kind of screenshotss method and terminal device
CN109358931A (en) A kind of interface display method and terminal
CN109947312A (en) A kind of control method and terminal device
CN110489045A (en) A kind of object displaying method and terminal device
CN109614182A (en) A kind of display methods and terminal device
CN110471589A (en) Information display method and terminal device
CN110489038A (en) Interface display method and terminal device
CN110049187A (en) A kind of display methods and terminal device
CN108920054A (en) A kind of application recommended method and terminal
CN109117054A (en) A kind of display control method and terminal
CN110167006A (en) A kind of control application program uses the method and terminal device of SIM card
CN110012152A (en) A kind of interface display method and terminal device
CN109815349A (en) A kind of information acquisition method and terminal device
CN109117037A (en) A kind of method and terminal device of image procossing
CN110502291A (en) A kind of display control method and terminal
CN110489044A (en) A kind of object sharing method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant