CN110134306A - A kind of data sharing method, device and computer readable storage medium - Google Patents
A kind of data sharing method, device and computer readable storage medium Download PDFInfo
- Publication number
- CN110134306A CN110134306A CN201910277275.2A CN201910277275A CN110134306A CN 110134306 A CN110134306 A CN 110134306A CN 201910277275 A CN201910277275 A CN 201910277275A CN 110134306 A CN110134306 A CN 110134306A
- Authority
- CN
- China
- Prior art keywords
- sharing
- display area
- contents
- data
- request
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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
- G06F3/0488—Interaction 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 using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction 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 using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/543—User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
This application involves a kind of data sharing method, device and computer readable storage mediums.The data sharing method is applied to terminal, and the terminal includes the first display area and the second display area, and the data sharing method includes: the sharing request and sharing contents obtained on first display area;In response to the sharing request, the sharing contents are transmitted to the first application component being in active state in second display area;The sharing contents are injected into the input window of first application component.Data sharing method provided by the present application is after obtaining sharing request and the sharing contents on first display area, the sharing contents are transmitted to the first application component by underlying mechanisms, and the sharing contents are injected into the input window of first application component, the intermediate steps that cumbersome needs are manually operated are eliminated, the user experience is improved.
Description
Technical field
This application involves technical field of data processing more particularly to a kind of data sharing methods, device and computer-readable
Storage medium.
Background technique
With the rise of double screen, Folding screen, user can run different App on different screens, but between App
Data interaction mechanism synchronized update, user experience do not remain to be further improved, attempt and for example descend scene:
Scene one: user runs wechat in preceding screen, if user is intended to other side and sends contact information, user can at this time
To open contact person App in rear screen, corresponding contact person is found, but there is still a need for pass through traditional stickup to contact information
Plate first replicates, cumbersome in the wechat App shielded before then pasting again, and can only once send a contact person.
Scene two: user runs wechat in preceding screen, if user discusses where have supper with good friend, user at this time
Meituan App can be opened in rear screen, alternative restaurant is sent to wechat good friend.The sharing mode of Meituan App at present, needs us
Wechat contact person interface is first opened, then selects corresponding contact person, then shared.Obviously my good friend is shielded before with me
Chat, will I also difficultly find him in wechat contact person? finding step can be saved, it is transmitted directly to him?
Scene three: user reads in preceding screen, encounters interested great names in history, Literary quotation or knotty problem etc., thinks
It has wanted detailed and has taken off, but be not desired to interrupt reading progress.At this point, user can open search engine App in rear screen, carry out related
Access.But current interactive mode, user need screen duplication keyword in the past, then arrive vice screen and execute stickup, utilize later
Search engine is retrieved.
Scene four: user runs QQ in preceding screen, chats with certain good friend, in Hou Pingguang Taobao, encounters and admire clothes, it is desirable to send out
QQ friends are given, allow good friend's help to give advice whether beautiful.User needs first to save the picture at this time, then looks for inside picture library
To the picture, reselection is shared, and selects QQ, then find the QQ friends to send.
Summary of the invention
In order to solve the above-mentioned technical problem or it at least is partially solved above-mentioned technical problem, this application provides a kind of numbers
According to sharing method, device and computer readable storage medium.
In a first aspect, the data sharing method is applied to terminal, described this application provides a kind of data sharing method
Terminal includes the first display area and the second display area, and the data sharing method includes:
Obtain the sharing request and sharing contents on first display area;
In response to the sharing request, the sharing contents are transmitted in second display area and are in active state
The first application component;
The sharing contents are injected into the input window of first application component.
According to the technical solution that the application some embodiments provide, the sharing contents packet on first display area is obtained
It includes:
Before obtaining sharing request, the sharing contents are obtained, the sharing contents include: the content that user selectes;
Alternatively,
After obtaining sharing request, the sharing contents are obtained, the sharing contents, which include in the first display area, is in
Existing specified content.
According to the technical solution that the application some embodiments provide, the specified content includes:
Picture, text or the sharing path determined based on touch action, wherein the sharing path and first display
The second application component attribute being in active state in region is related.
It is obtained in the sharing after obtaining sharing request according to the technical solution that the application some embodiments provide
Appearance includes:
Judge in preset time with the presence or absence of user's touch control operation;
If it exists, judge that the corresponding regional display content of touch control operation is picture, text or blank;
If picture, then using the picture as sharing contents;
If text, then using this section of text as sharing contents;
If blank, then sharing road corresponding with the second application component being in active state in the first display area is obtained
Diameter, using the sharing path as sharing contents;The path of sharing includes the information for identifying application component access address.
According to the technical solution that the application some embodiments provide, it is in active state in acquisition and the first display area
The corresponding sharing path of second application component includes:
White list is shared in inquiry, includes the second application component information and its corresponding sharing road in the sharing white list
Diameter information.
According to the technical solution that the application some embodiments provide, in response to the sharing request, by the sharing contents
Being transmitted to the first application component being in active state in second display area includes:
In response to the sharing request, the sharing contents are transmitted to second display by pasting boards or intent
The first application component being in active state in region.
According to the technical solution that the application some embodiments provide, the sharing request packet on first display area is obtained
It includes:
The sharing request is generated according to the input pressing gesture on first display area detected;Alternatively,
The sharing request is generated according to the pressure value that pressure sensor is sent.
According to the technical solution that the application some embodiments provide, the data sharing method further include:
Movement is executed according to what the attribute of the input window determined next step, is acted and is executed according to the determining execution
The sharing contents.
Second aspect, this application provides a kind of data sharing device, the data sharing device includes:
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor;
The computer program realizes data sharing method as described in any one of the above embodiments when being executed by the processor
Step.
The third aspect, this application provides a kind of computer readable storage medium, on the computer readable storage medium
One or more programs are stored with, data sharing method described in any of the above embodiments is realized when described program is executed by processor
Step.
Above-mentioned technical proposal provided by the embodiments of the present application has the advantages that compared with prior art
Data sharing method provided by the embodiments of the present application obtains described first compared with traditional data sharing method
After sharing request and sharing contents on display area (on-screen display (osd) area of App where running sharing contents), pass through bottom
The sharing contents are transmitted to second display area and (run and receive the screen of the App of sharing contents and show by layer mechanism
Region) in the first application component for being in active state, and the sharing contents are injected into the defeated of first application component
Enter window, eliminates the intermediate steps that cumbersome needs are manually operated, the user experience is improved.Collocation double screen, Folding screen, split screen
Deng tool there are two the phone solution of display screen, user experience is promoted more obvious.
The sharing contents are injected into described first using group by the data sharing method that the application some embodiments provide
After the input window of part (such as Activity), determines that the input window is corresponding and execute movement, directly execute in the sharing
Hold.It eliminates and sharing contents is injected into the operation of the next step after the input window of first application component (as executed transmission
Operation, execution search operation etc.), further the user experience is improved.
The application some embodiments provide data sharing method, obtain the first display area on sharing contents the step of
It is included in front of obtaining sharing request, obtains the sharing contents, the sharing contents include: the content that user selectes;Alternatively,
After obtaining sharing request, the sharing contents are obtained, the sharing contents include the specified of presentation in the first display area
Content.I.e. user both can first select sharing contents and trigger sharing again when executing sharing, can also first trigger sharing and select again
Sharing contents, easy to operate, further the user experience is improved.
The data sharing method that the application some embodiments provide, the sharing request obtained on first display area can
By there are two types of in a manner of, corresponding there are two types of share triggering mode: 1. pressing gesture by predefined screen.For example, continuous pressing is same
One contact twice, to distinguish existing contact action, can define different touch control manner, show that user it is expected to carry out
" sharing " operation;2. passing through pressure sensor.Pressure sensor can be set below screen, also can be set outside screen,
Such as on mobile phone side wall, sharing trigger button is can be set in corresponding position.User's triggering sharing is convenient and efficient, further improves
User experience.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art
Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of mobile terminal hardware structural diagram that each embodiment of the application provides;
Fig. 2 is a kind of communications network system architecture diagram that each embodiment of the application provides;
Fig. 3 is a kind of general flow chart for data sharing method that the embodiment of the present application 1 provides;
Fig. 4 is a kind of detail flowchart for data sharing method that the embodiment of the present application 1 provides;
Fig. 5 be obtained in the data sharing method that provides of each embodiment of the application sharing request on the first display area and
A kind of detail flowchart of implementation of sharing contents step;
Fig. 6 be obtained in the data sharing method that provides of each embodiment of the application sharing request on the first display area and
The detail flowchart of another implementation of sharing contents step;
A kind of general flow chart for data sharing method that Fig. 7 is the embodiment of the present application 2, embodiment 3, embodiment 4 provide;
Fig. 8 is a kind of detail flowchart for data sharing method that the embodiment of the present application 2 provides;
Fig. 9 is a kind of detail flowchart for data sharing method that the embodiment of the present application 3 provides;
Figure 10 is a kind of detail flowchart for data sharing method that the embodiment of the present application 4 provides.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move
The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram,
Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103
Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 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 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 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 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 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 109 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 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection
Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
Embodiment 1
A kind of data sharing method is present embodiments provided, the data sharing method is applied to terminal, the terminal packet
Include the first display area and the second display area.Wherein, terminal can be Dual-band Handy Phone, and the first display area refers to run and divide
The on-screen display (osd) area of App where enjoying content, the second display area refers to that the screen for running the App for receiving sharing contents is shown
Region, the first display area and the second display area can be interchanged, for example, the former is shields before mobile phone, the latter be shield after mobile phone, or
Person the former to shield after mobile phone, the latter is to shield before mobile phone.The general flow chart of data sharing method provided in this embodiment such as Fig. 3 institute
Show, detail flowchart is as shown in Figure 4.
The data sharing method the following steps are included:
S100: the sharing request on first display area is obtained;
S200: the sharing contents on first display area are obtained;
S300: in response to the sharing request, the sharing contents are transmitted in second display area in work
First application component of dynamic state;
S400: the sharing contents are injected into the input window of first application component.
In above-mentioned steps, S100 obtains the sharing request on first display area and shows with S200 acquisition described first
Show the sharing contents on region, this two step does not do timing requirements.
Wherein, step S100, which obtains the specific implementation of the sharing request on first display area, is: according to inspection
Input pressing gesture on first display area surveyed generates the sharing request, including following sub-step:
S111: the input of the first display area of real-time detection presses gesture.
S112: judge whether the input pressing gesture is default screen pressing gesture.
S130: if input pressing gesture is default screen pressing gesture, the sharing request is generated.
Step S200 obtains the sharing contents on first display area, and implementation includes following two:
Before obtaining sharing request, the sharing contents are obtained, the sharing contents include: the content that user selectes;
Alternatively,
After obtaining sharing request, the sharing contents are obtained, the sharing contents, which include in the first display area, is in
Existing specified content.Wherein, the specified content is included the picture determined based on touch action, text or shares path, wherein
The second application component attribute being in active state in the sharing path and first display area is related.
Referring to FIG. 5, obtaining the implementation of the sharing contents step before obtaining sharing request are as follows:
S211: the content that user is selected is as sharing contents.
Referring to FIG. 6, obtaining the implementation of the sharing contents step after obtaining sharing request are as follows:
S221: it whether there is user's touch control operation in judgement (after acquisition sharing request) preset time (such as 10s);
S222: if there are touch control operation in preset time after obtaining sharing request, judge that touch control operation region is shown in
Appearance is picture, text or blank;
S223: if touch control operation regional display content is picture, using the picture as sharing contents;
S224: if touch control operation regional display content is text, using this section of text as sharing contents;
S225: it if touch control operation regional display content is blank, obtains and is in active state in the first display area
The corresponding sharing path of the second application component, using the sharing path as sharing contents;Sharing path can be for identifying
The information of application component access address, the mode for obtaining sharing path can be by sharing white list, share packet in white list
Contain the second application component information and its corresponding sharing routing information;
S226: touch control operation is not present in preset time after sharing request if obtaining, terminates;Terminate current data
Sharing process is restored to the state before acquisition sharing request.In other embodiments, user can also be prompted with pop-up window
Touch control operation is carried out, to determine sharing contents.
The sharing contents are transmitted in second display area and are in response to the sharing request by step S300
First application component of active state includes:
In response to the sharing request, the sharing contents are transmitted to second display by pasting boards or intent
The first application component being in active state in region.
For example, the second display area is currently running wechat APP, it is in wechat chat interface, user wishes to chat to wechat
Other side send contact information, then can open contact person App on the first display area, find corresponding contact person, it is selected
Contact information inputs default screen pressing gesture and (for example, continuously pressing the same contact twice, shows that user it is expected to carry out
Data sharing operation, and no longer it is contact action), then system believes contact person with data sharing method provided in this embodiment
Breath is injected into wechat chat interface input frame mouth.In this process, the corresponding detailed process of terminal is as follows:
Obtain the sharing contents on the first display area, sharing contents, that is, selected state contact information;
The first display area of real-time detection input pressing gesture;
Judgement input pressing gesture is default screen pressing gesture;
Generate sharing request;
Contact information is transmitted to the second display area wechat chat application component by pasting boards or intent;
Contact information is injected into wechat chat interface input window.
In the present embodiment, user presses gesture trigger data sharing by default screen, and mobile terminal is divided accordingly
Enjoy request;Directly chosen content is shared to the first application component if existing chosen content when obtaining sharing request, and is injected
To the input window of the first application component.It is not on the content of selected state when if obtaining sharing request, is being touched by client
It is selected again after hair sharing request.After sharing contents to be injected into the input window of the first application component, user can inputted
Check whether sharing contents are wrong, whether receive the first application component shared wrong, and confirmation is errorless can hand in window
The dynamic next operation of triggering.In the example above, the second display area of user is found in wechat chat interface in the first display area
And selected contact information to be shared, gesture trigger data sharing is pressed by default screen;Mobile phone obtains sharing request, and
The contact information selected is transmitted to the second display area wechat chat application component, is injected into input window, Yong Huhe
It can be directly transmitted to after, not need to pass through traditional pasting boards as traditional data sharing method, first replicate, then glue again
In the wechat App shielded before being attached to.Using data sharing method provided in this embodiment, operation is more simple and fast, and once may be used
To select and send multiple contact informations, user experience is more preferable.
Embodiment 2
A kind of data sharing method is present embodiments provided, the data sharing method is applied to terminal, the terminal packet
Include the first display area and the second display area.The general flow chart of data sharing method provided in this embodiment is as shown in fig. 7, in detail
Thin flow chart is as shown in Figure 8.
The data sharing method the following steps are included:
S100: the sharing request on first display area is obtained;
S200: the sharing contents on first display area are obtained;
S300: in response to the sharing request, the sharing contents are transmitted in second display area in work
First application component of dynamic state;
S400: the sharing contents are injected into the input window of first application component;
S500: executing movement according to what the attribute of the input window determined next step, dynamic according to the determining execution
Make to execute the sharing contents.
In above-mentioned steps, S100 obtains the sharing request on first display area and shows with S200 acquisition described first
Show the sharing contents on region, this two step does not do timing requirements.
Wherein, it is according to pressure sensing that step S100, which obtains the implementation of the sharing request on first display area,
The pressure value that device is sent generates the sharing request, including following sub-step:
S121: real-time reception pressure sensor pressure value detected.
S122: judge whether the pressure value reaches setting value.
S130: if the pressure value reaches setting value, the sharing request is generated.
In the present embodiment, pressure sensor can be set outside terminal side wall or screen edge, corresponding position setting point
Enjoy button;Pressure sensor also can be set below screen, and contact is arranged in screen corresponding position.
Step S200 obtains the sharing contents on first display area, and implementation includes following two:
Before obtaining sharing request, the sharing contents are obtained, the sharing contents include: the content that user selectes;
Alternatively,
After obtaining sharing request, the sharing contents are obtained, the sharing contents, which include in the first display area, is in
Existing specified content.Wherein, the specified content is included the picture determined based on touch action, text or shares path, wherein
The second application component attribute being in active state in the sharing path and first display area is related.
Referring to FIG. 5, obtaining the implementation of the sharing contents step before obtaining sharing request are as follows:
S211: the content that user is selected is as sharing contents.
Referring to FIG. 6, obtaining the implementation of the sharing contents step after obtaining sharing request are as follows:
S221: it whether there is user's touch control operation in judgement (after acquisition sharing request) preset time (such as 10s);
S222: if there are touch control operation in preset time after obtaining sharing request, judge that touch control operation region is shown in
Appearance is picture, text or blank;
S223: if touch control operation regional display content is picture, using the picture as sharing contents;
S224: if touch control operation regional display content is text, using this section of text as sharing contents;
S225: it if touch control operation regional display content is blank, obtains and is in active state in the first display area
The corresponding sharing path of the second application component, using the sharing path as sharing contents;Sharing path can be for identifying
The information of application component access address, the mode for obtaining sharing path can be by sharing white list, share packet in white list
Contain the second application component information and its corresponding sharing routing information;
S226: touch control operation is not present in preset time after sharing request if obtaining, terminates;Terminate current data
Sharing process is restored to the state before acquisition sharing request.In other embodiments, user can also be prompted with pop-up window
Touch control operation is carried out, to determine sharing contents.
The sharing contents are transmitted in second display area and are in response to the sharing request by step S300
First application component of active state includes:
In response to the sharing request, the sharing contents are transmitted to second display by pasting boards or intent
The first application component being in active state in region.
Step S500 executes movement according to what the attribute of the input window determined next step, according to the determining execution
Movement executes in the sharing contents, and the mode for determining the execution movement of next step according to the attribute of the input window can be
White list is acted by execution;Execution movement white list includes the input window information of the first application component and its corresponding next
Step executes action message.
For example, user runs wechat in the second display area, chats with good friend and discuss where have supper, use at this time
Family can open Meituan App in the first display area, find alternative restaurant, the button of pressing and pressure sensor corresponding position or
Screen contact, trigger data are shared, then click in Meituan App at the page empty of alternative restaurant with triggering selection sharing contents behaviour
Make, then alternative restaurant information is sent to good friend with data sharing method provided in this embodiment by system.In this process,
The corresponding detailed process of terminal is as follows:
Pressure value detected by real-time reception pressure sensor;
Judge that pressure value reaches setting value;
Generate sharing request;
There are user's touch control operations in preset time (such as 10s) after judgement acquisition sharing request;
Judge that touch control operation regional display content is blank;
It is URI by sharing white list to obtain sharing path corresponding with Meituan App Business Information, by Meituan App businessman
The URI of information is as sharing contents;The sharing white list includes Meituan App Business Information and its corresponding sharing path, such as
Shown in table 1;
1 information of table shares white list
Meituan App Business Information URI is transmitted to the chat of second display area wechat by pasting boards or intent
Application component;
Meituan App Business Information URI is injected into the input window of the second display area wechat chat interface;
Inquiry execution operation corresponding with the input window of wechat APP chat components is hair from execution movement white list
It send, sends Meituan App Business Information URI;The execution movement white list includes the input window of wechat APP chat application component
And its it is corresponding execute operation, as shown in table 2.
2 execution of table acts white list
In the present embodiment, user obtains sharing request by press pressure sensor-triggered data sharing, terminal accordingly;
Directly chosen content is shared to the first application component if existing chosen content when obtaining sharing request, and is injected into first and answers
With the input window of component, and operation is performed the next step, it is more convenient to operate.Selected shape is not on when if obtaining sharing request
The content of state is then selected after triggering sharing request by client again.In the citing of the present embodiment, the second display area of user
It is in wechat chat interface, the first display area is in Meituan Business Information interface, passes through press pressure sensor-triggered number
According to sharing, after mobile phone obtains sharing request, user clicks Meituan Business Information interface blank space, and mobile phone directly sends out Business Information
Give wechat chat buddies, it is no longer necessary to first open wechat contact person interface as in existing sharing, then select corresponding
Contact person, then shared;Therefore data method operation provided in this embodiment is more simple and fast, and user experience is more preferable.
Embodiment 3
A kind of data sharing method is present embodiments provided, the data sharing method is applied to terminal, the terminal packet
Include the first display area and the second display area.The general flow chart of data sharing method provided in this embodiment is as shown in fig. 7, in detail
Thin flow chart is as shown in Figure 9.
The data sharing method the following steps are included:
S100: the sharing request on first display area is obtained;
S200: the sharing contents on first display area are obtained;
S300: in response to the sharing request, the sharing contents are transmitted in second display area in work
First application component of dynamic state;
S400: the sharing contents are injected into the input window of first application component;
S500: executing movement according to what the attribute of the input window determined next step, dynamic according to the determining execution
Make to execute the sharing contents.
In above-mentioned steps, S100 obtains the sharing request on first display area and shows with S200 acquisition described first
Show the sharing contents on region, this two step does not do timing requirements.
Wherein, step S100 obtains the sharing request on first display area, can pass through two ways, i.e. data
Share there are two types of triggering mode, the sharing request is generated according to the input pressing gesture on first screen of detection;Or
Person generates the sharing request according to the pressure value that pressure sensor is sent.
Wherein, generating the sharing request according to the input pressing gesture on first screen of detection includes following son
Step:
S111: the input of the first display area of real-time detection presses gesture.
S112: judge whether the input pressing gesture is default screen pressing gesture.
S130: if input pressing gesture is default screen pressing gesture, the sharing request is generated.
It includes following sub-step that the pressure value sent according to pressure sensor, which generates the sharing request:
S121: real-time reception pressure sensor pressure value detected.
S122: judge whether the pressure value reaches setting value.
S130: if the pressure value reaches setting value, the sharing request is generated.
Step S200 obtains the sharing contents on first display area, and implementation includes following two:
Before obtaining sharing request, the sharing contents are obtained, the sharing contents include: the content that user selectes;
Alternatively,
After obtaining sharing request, the sharing contents are obtained, the sharing contents, which include in the first display area, is in
Existing specified content.Wherein, the specified content is included the picture determined based on touch action, text or shares path, wherein
The second application component attribute being in active state in the sharing path and first display area is related.
Referring to FIG. 5, obtaining the implementation of the sharing contents step before obtaining sharing request are as follows:
S211: the content that user is selected is as sharing contents.
Referring to FIG. 6, obtaining the implementation of the sharing contents step after obtaining sharing request are as follows:
S221: it whether there is user's touch control operation in judgement (after acquisition sharing request) preset time (such as 10s);
S222: if there are touch control operation in preset time after obtaining sharing request, judge that touch control operation region is shown in
Appearance is picture, text or blank;
S223: if touch control operation regional display content is picture, using the picture as sharing contents;
S224: if touch control operation regional display content is text, using this section of text as sharing contents;
S225: it if touch control operation regional display content is blank, obtains and is in active state in the first display area
The corresponding sharing path of the second application component, using the sharing path as sharing contents;Sharing path can be for identifying
The information of application component access address, the mode for obtaining sharing path can be by sharing white list, share packet in white list
Contain the second application component information and its corresponding sharing routing information;
S226: touch control operation is not present in preset time after sharing request if obtaining, terminates;Terminate current data
Sharing process is restored to the state before acquisition sharing request.In other embodiments, user can also be prompted with pop-up window
Touch control operation is carried out, to determine sharing contents.
The sharing contents are transmitted in second display area and are in response to the sharing request by step S300
First application component of active state includes:
In response to the sharing request, the sharing contents are transmitted to second display by pasting boards or intent
The first application component being in active state in region.
Step S500 executes movement according to what the attribute of the input window determined next step, according to the determining execution
Movement executes in the sharing contents, and the mode for determining the execution movement of next step according to the attribute of the input window can be
White list is acted by execution;Execution movement white list includes the input window information of the first application component and its corresponding next
Step executes action message.
For example, user reads in the first display area, interested great names in history, Literary quotation or knotty problem are encountered
Deng, it is desirable to it is detailed to take off, but be not desired to interrupt reading progress.Draw at this point, user can open search in the second display area
App (such as search dog search App) is held up, one of in such a way that two kinds of trigger datas are shared (for example triggering by pressure sensor)
Trigger data is shared, then clicks at the word content wanted to know about in reading page with the operation of triggering selection sharing contents, then
System with data sharing method provided in this embodiment search for it is to be understood that word content.In this process, terminal is corresponding
Detailed process it is as follows:
Pressure value detected by real-time reception pressure sensor;
Judge that pressure value reaches setting value;
Generate sharing request;
There are user's touch control operations in preset time (such as 10s) after judgement acquisition sharing request;
Judge that touch control operation regional display content is text, using this section of text as sharing contents;
In response to the sharing request, this section of teletext to search dog is searched for into homepage application by pasting boards or intent
Component;
This section of text is injected into the input window of search dog search;
White list is acted by inquiring execution as shown in Table 2, determines the corresponding next step of input window of search dog search
Execution movement for search, execute hunting action, search for this section of text.
In the present embodiment, for user there are two types of the mode that trigger data is shared, one is touched by press pressure sensor
Hair, another kind are to press gesture trigger, optional one by default screen.Terminal obtains sharing request accordingly;It obtains and divides
Directly chosen content is shared to the first application component if existing chosen content when enjoying request, and is injected into the first application component
Input window, and perform the next step operation, it is more convenient to operate.The interior of selected state is not on when if obtaining sharing request
Hold, is then selected again after triggering sharing request by client.In the citing of the present embodiment, the first display area of user is in and reads
Read interface, it is desirable to search for certain word contents, then open search engine homepage in the second display area, sense by press pressure
Device trigger data is shared, then clicks at the text that the first display area to be searched for, and can directly search in the second display area
This section of word content;Duplication keyword need not first be shielded in the past as traditional interactive mode again, vice screen is then arrived and execute stickup,
It is retrieved later using search engine;Therefore user is operated simpler fast using data sharing method provided in this embodiment
Victory, user experience are more preferable.
Embodiment 4
A kind of data sharing method is present embodiments provided, the data sharing method is applied to terminal, the terminal packet
Include the first display area and the second display area.The general flow chart of data sharing method provided in this embodiment is as shown in fig. 7, in detail
Thin flow chart is as shown in Figure 10.
The data sharing method the following steps are included:
S100: the sharing request on first display area is obtained;
S200: the sharing contents on first display area are obtained;
S300: in response to the sharing request, the sharing contents are transmitted in second display area in work
First application component of dynamic state;
S400: the sharing contents are injected into the input window of first application component;
S500: executing movement according to what the attribute of the input window determined next step, dynamic according to the determining execution
Make to execute the sharing contents.
In above-mentioned steps, S100 obtains the sharing request on first display area and shows with S200 acquisition described first
Show the sharing contents on region, this two step does not do timing requirements.
Wherein, it is according to pressure sensor that step S100, which obtains the sharing request implementation on first display area,
The pressure value of transmission generates the sharing request, including following sub-step:
S121 ': pressure sensor pressure value detected is received.
S122: judge whether the pressure value reaches setting value.
S130: if the pressure value reaches setting value, the sharing request is generated;If the pressure value is not up to set
Value, then continue to pressure sensor pressure value detected.
Step S200 obtains the sharing contents on first display area, and implementation includes following two:
Before obtaining sharing request, the sharing contents are obtained, the sharing contents include: the content that user selectes;
Alternatively,
After obtaining sharing request, the sharing contents are obtained, the sharing contents, which include in the first display area, is in
Existing specified content.Wherein, the specified content is included the picture determined based on touch action, text or shares path, wherein
The second application component attribute being in active state in the sharing path and first display area is related.
Referring to FIG. 5, obtaining the implementation of the sharing contents step before obtaining sharing request are as follows:
S211: the content that user is selected is as sharing contents.
Referring to FIG. 6, obtaining the implementation of the sharing contents step after obtaining sharing request are as follows:
S221: it whether there is user's touch control operation in judgement (after acquisition sharing request) preset time (such as 10s);
S222: if there are touch control operation in preset time after obtaining sharing request, judge that touch control operation region is shown in
Appearance is picture, text or blank;
S223: if touch control operation regional display content is picture, using the picture as sharing contents;
S224: if touch control operation regional display content is text, using this section of text as sharing contents;
S225: it if touch control operation regional display content is blank, obtains and is in active state in the first display area
The corresponding sharing path of the second application component, using the sharing path as sharing contents;Sharing path can be for identifying
The information of application component access address, the mode for obtaining sharing path can be by sharing white list, share packet in white list
Contain the second application component information and its corresponding sharing routing information;
S226: touch control operation is not present in preset time after sharing request if obtaining, terminates;Terminate current data
Sharing process is restored to the state before acquisition sharing request.In other embodiments, user can also be prompted with pop-up window
Touch control operation is carried out, to determine sharing contents.
The sharing contents are transmitted in second display area and are in response to the sharing request by step S300
First application component of active state includes:
In response to the sharing request, the sharing contents are transmitted to second display by pasting boards or intent
The first application component being in active state in region.
Step S500 executes movement according to what the attribute of the input window determined next step, according to the determining execution
Movement executes in the sharing contents, and the mode for determining the execution movement of next step according to the attribute of the input window can be
White list is acted by execution;Execution movement white list includes the input window information of the first application component and its corresponding next
Step executes action message.
For example, user runs QQ in the second display area, chat with certain QQ friends, runs Taobao in the first display area
Whether App strolls Taobao, and clothes is admired in discovery, it is desirable to be sent to QQ friends, allow good friend's help to give advice beautiful, provide with reference to meaning
See.Share at this point, user can press with the button of pressure sensor corresponding position or screen contact, trigger data, then is washing in a pan
In the precious App page want send picture at click with triggering selection sharing contents operation, then terminal use the present embodiment provides
Data sharing method Taobao's clothes picture on the first display area is sent to good friend.In this process, terminal is corresponding
Detailed process it is as follows:
Receive pressure value detected by pressure sensor;
Judge that pressure value reaches setting value;
Generate sharing request;
There are user's touch control operations in preset time (such as 10s) after judgement acquisition sharing request;
Judge that touch control operation regional display content is picture, using the picture as sharing contents;
In response to the sharing request, by pasting boards or intent by the picture transfer to QQ chat application component;
This section of text is injected into the input window of QQ chat interface;
White list is acted by inquiring execution as shown in Table 2, determination is corresponding with the input window of QQ chat application component
Execution operation for send, send the picture.
In the present embodiment, user obtains sharing request by press pressure sensor-triggered data sharing, terminal accordingly;
Directly chosen content is shared to the first application component if existing chosen content when obtaining sharing request, and is injected into first and answers
With the input window of component, and operation is performed the next step, it is more convenient to operate.Selected shape is not on when if obtaining sharing request
The content of state is then selected after triggering sharing request by client again.In the citing of the present embodiment, the second display area of user
It is in QQ chat interface, the first display area is in Taobao's merchandise news interface, passes through press pressure sensor-triggered data
Share, after mobile phone obtains sharing request, picture to be shared, mobile phone directly send out the picture in user Taobao merchandise news interface
Give QQ chat buddies, it is no longer necessary to first open QQ contact person interface as in existing sharing, then select corresponding connection
People, then shared;Therefore data method operation provided in this embodiment is more simple and fast, and user experience is more preferable.
Embodiment 5
A kind of data sharing device is present embodiments provided, the data sharing device includes:
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor;
Such as the described in any item data of embodiment 1- embodiment 4 are realized when the computer program is executed by the processor
The step of sharing method.
Embodiment 6
A kind of computer readable storage medium is present embodiments provided, is stored with one on the computer readable storage medium
A or multiple programs realize such as the described in any item data sharings of embodiment 1- embodiment 4 when described program is executed by processor
The step of method.
Comparing one-scene of background technology part scene four and specific embodiment part embodiment 1- embodiment 4 can be bright
Aobvious to find out, in the data sharing interactive mode of existing terminal, data sharing operation is varied and relatively complicated.This Shen
It is (as pre- in passed through that various data sharings operation triggering mode can be unified for a kind of triggering mode by the data sharing method that please be provided
If screen pressing gesture passes through pressure sensor), the mode that can also be unified for two or more optional one (such as passes through
Default screen presses gesture and by way of two kinds of pressure sensor optional one);In short, the application by sharing operation more
It is simple and fast, it has been obviously improved user experience effect.Data sharing method provided by the present application collocation double screen terminal, Folding screen are whole
Though end or only one physics screen can split screen display available terminal, user experience effect promoting is more obvious.
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.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
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 described 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, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of data sharing method, which is characterized in that the data sharing method is applied to terminal, and the terminal includes first
Display area and the second display area, the data sharing method include:
Obtain the sharing request and sharing contents on first display area;
In response to the sharing request, the sharing contents are transmitted to be in active state in second display area
One application component;
The sharing contents are injected into the input window of first application component.
2. data sharing method according to claim 1, which is characterized in that obtain the sharing on first display area
Content includes:
Before obtaining sharing request, the sharing contents are obtained, the sharing contents include: the content that user selectes;Alternatively,
After obtaining sharing request, the sharing contents are obtained, the sharing contents include presenting in the first display area
Specified content.
3. data sharing method according to claim 2, which is characterized in that the specified content includes:
Picture, text or the sharing path determined based on touch action, wherein the sharing path and first display area
In the second application component attribute for being in active state it is related.
4. data sharing method according to claim 3, which is characterized in that it is described after obtaining sharing request, it obtains
The sharing contents include:
Judge in preset time with the presence or absence of user's touch control operation;
If it exists, judge that the corresponding regional display content of touch control operation is picture, text or blank;
If picture, then using the picture as sharing contents;
If text, then using this section of text as sharing contents;
If blank, then sharing path corresponding with the second application component being in active state in the first display area is obtained,
Using the sharing path as sharing contents;The path of sharing includes the information for identifying application component access address.
5. data sharing method according to claim 4, which is characterized in that obtain and be in activity in the first display area
The corresponding sharing path of second application component of state includes:
White list is shared in inquiry, includes the second application component information and its corresponding sharing path letter in the sharing white list
Breath.
6. data sharing method according to claim 1, which is characterized in that, will be described point in response to the sharing request
Enjoying the first application component that content transmission is in active state into second display area includes:
In response to the sharing request, the sharing contents are transmitted to second display area by pasting boards or intent
In the first application component for being in active state.
7. data sharing method according to claim 1, which is characterized in that obtain the sharing on first display area
Request includes:
The sharing request is generated according to the input pressing gesture on first display area detected;Alternatively,
The sharing request is generated according to the pressure value that pressure sensor is sent.
8. data sharing method according to claim 1, which is characterized in that the data sharing method further include:
Execute movement according to what the attribute of the input window determined next step, executed according to determining execution movement described in
Sharing contents.
9. a kind of data sharing device, which is characterized in that the data sharing device includes:
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor;
Such as data sharing described in any item of the claim 1 to 8 is realized when the computer program is executed by the processor
The step of method.
10. a kind of computer readable storage medium, which is characterized in that be stored on the computer readable storage medium one or
Multiple programs are realized when described program is executed by processor such as data sharing method described in any item of the claim 1 to 8
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910277275.2A CN110134306B (en) | 2019-04-08 | 2019-04-08 | Data sharing method and device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910277275.2A CN110134306B (en) | 2019-04-08 | 2019-04-08 | Data sharing method and device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110134306A true CN110134306A (en) | 2019-08-16 |
CN110134306B CN110134306B (en) | 2021-12-14 |
Family
ID=67569374
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910277275.2A Active CN110134306B (en) | 2019-04-08 | 2019-04-08 | Data sharing method and device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110134306B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110737383A (en) * | 2019-09-30 | 2020-01-31 | 广州视源电子科技股份有限公司 | Element adding method and device and electronic equipment |
CN111049991A (en) * | 2019-12-27 | 2020-04-21 | 维沃移动通信有限公司 | Content sharing method and electronic equipment |
CN111954079A (en) * | 2020-05-27 | 2020-11-17 | 维沃移动通信有限公司 | Image processing method, image processing apparatus, electronic device, and medium |
WO2023142940A1 (en) * | 2022-01-28 | 2023-08-03 | 华为技术有限公司 | Application component sharing method and related device |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150074570A1 (en) * | 2013-09-10 | 2015-03-12 | Sony Corporation | Information processing apparatus, information processing method, and program |
CN107193480A (en) * | 2017-06-01 | 2017-09-22 | 浙江金华海创科技有限公司 | A kind of touch-control double screen interactive system and its control method |
CN107357483A (en) * | 2017-06-09 | 2017-11-17 | 珠海市魅族科技有限公司 | Data sharing method and device, computer equipment and computer-readable recording medium |
CN107797825A (en) * | 2017-10-24 | 2018-03-13 | 努比亚技术有限公司 | A kind of data transmission method for uplink, terminal and computer-readable recording medium |
CN108055366A (en) * | 2017-11-30 | 2018-05-18 | 努比亚技术有限公司 | Terminal call interface processing method, mobile terminal and computer readable storage medium |
CN108459803A (en) * | 2018-02-28 | 2018-08-28 | 努比亚技术有限公司 | Picture sending method, mobile terminal and readable storage medium storing program for executing based on double-sided screen |
US20180349483A1 (en) * | 2017-03-24 | 2018-12-06 | Inmentis, Llc | Social media system with navigable, artificial-intelligence-based graphical user interface and artificial-intelligence-driven search |
CN109104519A (en) * | 2018-06-25 | 2018-12-28 | 努比亚技术有限公司 | A kind of method that entertainment mode is shown, terminal and computer readable storage medium |
CN109271262A (en) * | 2018-08-29 | 2019-01-25 | 维沃移动通信有限公司 | A kind of display methods and terminal |
US20190034421A1 (en) * | 2016-03-25 | 2019-01-31 | Bank Invoice Corporation | Terminal device and display method |
CN109309753A (en) * | 2018-07-23 | 2019-02-05 | 努比亚技术有限公司 | Picture sharing method, terminal and computer readable storage medium |
CN109462692A (en) * | 2018-10-29 | 2019-03-12 | 努比亚技术有限公司 | Split screen display available operating method, mobile terminal and computer readable storage medium |
CN109491632A (en) * | 2018-10-30 | 2019-03-19 | 维沃移动通信有限公司 | A kind of resource sharing method and terminal |
CN109582477A (en) * | 2018-11-30 | 2019-04-05 | 北京小米移动软件有限公司 | Document transmission method, terminal and storage medium |
-
2019
- 2019-04-08 CN CN201910277275.2A patent/CN110134306B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150074570A1 (en) * | 2013-09-10 | 2015-03-12 | Sony Corporation | Information processing apparatus, information processing method, and program |
US20190034421A1 (en) * | 2016-03-25 | 2019-01-31 | Bank Invoice Corporation | Terminal device and display method |
US20180349483A1 (en) * | 2017-03-24 | 2018-12-06 | Inmentis, Llc | Social media system with navigable, artificial-intelligence-based graphical user interface and artificial-intelligence-driven search |
CN107193480A (en) * | 2017-06-01 | 2017-09-22 | 浙江金华海创科技有限公司 | A kind of touch-control double screen interactive system and its control method |
CN107357483A (en) * | 2017-06-09 | 2017-11-17 | 珠海市魅族科技有限公司 | Data sharing method and device, computer equipment and computer-readable recording medium |
CN107797825A (en) * | 2017-10-24 | 2018-03-13 | 努比亚技术有限公司 | A kind of data transmission method for uplink, terminal and computer-readable recording medium |
CN108055366A (en) * | 2017-11-30 | 2018-05-18 | 努比亚技术有限公司 | Terminal call interface processing method, mobile terminal and computer readable storage medium |
CN108459803A (en) * | 2018-02-28 | 2018-08-28 | 努比亚技术有限公司 | Picture sending method, mobile terminal and readable storage medium storing program for executing based on double-sided screen |
CN109104519A (en) * | 2018-06-25 | 2018-12-28 | 努比亚技术有限公司 | A kind of method that entertainment mode is shown, terminal and computer readable storage medium |
CN109309753A (en) * | 2018-07-23 | 2019-02-05 | 努比亚技术有限公司 | Picture sharing method, terminal and computer readable storage medium |
CN109271262A (en) * | 2018-08-29 | 2019-01-25 | 维沃移动通信有限公司 | A kind of display methods and terminal |
CN109462692A (en) * | 2018-10-29 | 2019-03-12 | 努比亚技术有限公司 | Split screen display available operating method, mobile terminal and computer readable storage medium |
CN109491632A (en) * | 2018-10-30 | 2019-03-19 | 维沃移动通信有限公司 | A kind of resource sharing method and terminal |
CN109582477A (en) * | 2018-11-30 | 2019-04-05 | 北京小米移动软件有限公司 | Document transmission method, terminal and storage medium |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110737383A (en) * | 2019-09-30 | 2020-01-31 | 广州视源电子科技股份有限公司 | Element adding method and device and electronic equipment |
CN110737383B (en) * | 2019-09-30 | 2021-06-18 | 广州视源电子科技股份有限公司 | Element adding method and device and electronic equipment |
CN111049991A (en) * | 2019-12-27 | 2020-04-21 | 维沃移动通信有限公司 | Content sharing method and electronic equipment |
CN111954079A (en) * | 2020-05-27 | 2020-11-17 | 维沃移动通信有限公司 | Image processing method, image processing apparatus, electronic device, and medium |
WO2023142940A1 (en) * | 2022-01-28 | 2023-08-03 | 华为技术有限公司 | Application component sharing method and related device |
Also Published As
Publication number | Publication date |
---|---|
CN110134306B (en) | 2021-12-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10775979B2 (en) | Buddy list presentation control method and system, and computer storage medium | |
CN108234295A (en) | Display control method, terminal and the computer readable storage medium of group's functionality controls | |
CN110134306A (en) | A kind of data sharing method, device and computer readable storage medium | |
CN109213401A (en) | Double-sided screen application icon method for sorting, mobile terminal and readable storage medium storing program for executing | |
CN107748645A (en) | Reading method, mobile terminal and computer-readable recording medium | |
CN109343775A (en) | Double screen terminal screen switching method, terminal and computer readable storage medium | |
CN109407957A (en) | Screen touch control method, terminal and computer readable storage medium | |
CN108551520A (en) | A kind of phonetic search response method, equipment and computer readable storage medium | |
CN110209456A (en) | Method, mobile terminal and the computer readable storage medium of the long screenshot of screen interface | |
CN109697008A (en) | A kind of content share method, terminal and computer readable storage medium | |
CN109992183A (en) | Preview picture and the method for selection, terminal and storage medium | |
CN108228033A (en) | A kind of message display method and mobile terminal | |
CN108600325A (en) | A kind of determination method, server and the computer readable storage medium of push content | |
CN108449513A (en) | A kind of interaction regulation and control method, equipment and computer readable storage medium | |
CN108521500A (en) | A kind of voice scenery control method, equipment and computer readable storage medium | |
CN110058827A (en) | A kind of vice screen wallpaper treatment method, mobile terminal and the storage medium of mobile terminal | |
CN113422863A (en) | Information display method, mobile terminal and readable storage medium | |
CN109729267A (en) | Filter selection method, mobile terminal and computer readable storage medium | |
CN108572777A (en) | A kind of terminal object method for sorting, terminal and computer readable storage medium | |
CN108012029A (en) | A kind of information processing method, equipment and computer-readable recording medium | |
CN110347306A (en) | A kind of multi-screen display method, terminal and computer readable storage medium | |
CN109710338A (en) | A kind of searching method of mobile terminal, mobile terminal and storage medium | |
CN110069182A (en) | Wallpaper control method, mobile terminal and computer readable storage medium | |
CN109255032A (en) | Public platform classification method, device and computer readable storage medium | |
CN109522276A (en) | Application icon management method, terminal and computer readable storage medium |
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 |