CN110134306B - Data sharing method and device and computer readable storage medium - Google Patents

Data sharing method and device and computer readable storage medium Download PDF

Info

Publication number
CN110134306B
CN110134306B CN201910277275.2A CN201910277275A CN110134306B CN 110134306 B CN110134306 B CN 110134306B CN 201910277275 A CN201910277275 A CN 201910277275A CN 110134306 B CN110134306 B CN 110134306B
Authority
CN
China
Prior art keywords
sharing
display area
content
application component
sharing 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.)
Active
Application number
CN201910277275.2A
Other languages
Chinese (zh)
Other versions
CN110134306A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910277275.2A priority Critical patent/CN110134306B/en
Publication of CN110134306A publication Critical patent/CN110134306A/en
Application granted granted Critical
Publication of CN110134306B publication Critical patent/CN110134306B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/0484Interaction 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/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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
    • G06F3/0488Interaction 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/04883Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-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)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application relates to a data sharing method and device and a computer readable storage medium. The data sharing method is applied to a terminal, the terminal comprises a first display area and a second display area, and the data sharing method comprises the following steps: acquiring a sharing request and sharing content on the first display area; transmitting the shared content to the first application component in an active state in the second display area in response to the sharing request; and injecting the shared content into an input window of the first application component. According to the data sharing method, after the sharing request and the sharing content on the first display area are obtained, the sharing content is transmitted to the first application component through the bottom mechanism, the sharing content is injected into the input window of the first application component, the tedious intermediate step needing manual operation is omitted, and user experience is improved.

Description

Data sharing method and device and computer readable storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a data sharing method and apparatus, and a computer-readable storage medium.
Background
With the rise of the double-screen and folding screen, a user can run different apps on different screens, but a data interaction mechanism between the apps is not updated synchronously, so that the user experience is to be further improved, and the following scenarios are tried out:
scene one: the user operates the WeChat in the front screen, if the user wants to send the contact person information to the other side, the user can open the contact person App on the rear screen at the moment to find the corresponding contact person, but the contact person information still needs to be copied firstly through a traditional pasting plate and then pasted into the WeChat App on the front screen, the operation is complicated, and only one contact person can be sent at a time.
Scene two: the user runs WeChat on the front screen, and if the user is discussing where to go to eat dinner with friends, the user can open a Mei Tuo App on the back screen at the moment and send an alternative restaurant to WeChat friends. At present, the sharing mode of the American group App requires that a WeChat contact person interface is opened firstly, then a corresponding contact person is selected, and then sharing is carried out. Is it clear that my friend chatting with me on the front screen, i need to struggle to find him from the WeChat contact? May it be impossible to omit the search step, send it directly to him?
Scene three: the user reads on the front screen, encounters interested history celebrities, history allusions or problems and the like, wants to know the history in detail, and does not want to interrupt the reading progress. At this time, the user can open the search engine App on the rear screen for related reference. However, in the current interactive mode, a user needs to copy keywords from a front screen, then paste the keywords to a secondary screen, and then retrieve the keywords by using a search engine.
Scene four: the user runs QQ on the front screen, chats with a friend, shops and sweeps in the back screen, meets the heart instrument clothes, and wants to send the QQ friend, so that the friend helps to participate whether the QQ is beautiful or not. At this time, the user needs to store the picture first, then finds the picture in the gallery, then selects sharing, selects the QQ, and then finds the QQ friend to send.
Disclosure of Invention
In order to solve the technical problems or at least partially solve the technical problems, the present application provides a data sharing method, apparatus and computer-readable storage medium.
In a first aspect, the present application provides a data sharing method, where the data sharing method is applied to a terminal, the terminal includes a first display area and a second display area, and the data sharing method includes:
acquiring a sharing request and sharing content on the first display area;
transmitting the shared content to the first application component in an active state in the second display area in response to the sharing request;
and injecting the shared content into an input window of the first application component.
According to the technical scheme provided by some embodiments of the present application, the obtaining of the shared content on the first display area includes:
before obtaining a sharing request, obtaining the shared content, wherein the shared content includes: content selected by a user; alternatively, the first and second electrodes may be,
after the sharing request is obtained, the sharing content is obtained, and the sharing content comprises the specified content presented in the first display area.
According to the technical solution provided by some embodiments of the present application, the specifying content includes:
the method comprises the steps of determining a picture, a text or a sharing path based on a touch action, wherein the sharing path is related to the attribute of a second application component in an active state in the first display area.
According to the technical scheme provided by some embodiments of the present application, after obtaining the sharing request, obtaining the sharing content includes:
judging whether a user touch operation exists within preset time;
if so, judging whether the display content of the area corresponding to the touch operation is a picture, a character or a blank;
if the picture is the picture, the picture is used as the sharing content;
if the text is the text, the section of text is used as the sharing content;
if the first display area is blank, acquiring a sharing path corresponding to the second application component in the active state in the first display area, and taking the sharing path as sharing content; the sharing path includes information identifying an application component access address.
According to the technical scheme provided by some embodiments of the present application, acquiring the sharing path corresponding to the second application component in the active state in the first display area includes:
and inquiring a sharing white list, wherein the sharing white list comprises second application component information and sharing path information corresponding to the second application component information.
According to the technical solution provided by some embodiments of the present application, transmitting the shared content to the first application component in an active state in the second display area in response to the sharing request includes:
responding to the sharing request, and transmitting the sharing content to the first application component in the active state in the second display area through a pasting board or intent.
According to the technical scheme provided by some embodiments of the present application, acquiring the sharing request on the first display area includes:
generating the sharing request according to the detected input pressing gesture on the first display area; alternatively, the first and second electrodes may be,
and generating the sharing request according to the pressure value sent by the pressure sensor.
According to the technical scheme provided by some embodiments of the present application, the data sharing method further includes:
and determining the next execution action according to the attribute of the input window, and executing the shared content according to the determined execution action.
In a second aspect, the present application provides a data sharing apparatus, including:
a memory, a processor, and a computer program stored on the memory and executable on the processor;
the computer program, when executed by the processor, implements the steps of the data sharing method as in any one of the above.
In a third aspect, the present application provides a computer readable storage medium, having one or more programs stored thereon, which when executed by a processor, implement the steps of the data sharing method of any one of the above.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
compared with the traditional data sharing method, the data sharing method provided by the embodiment of the application has the advantages that after the sharing request and the shared content on the first display area (the screen display area of the App running the shared content are acquired, the shared content is transmitted to the first application component in the active state in the second display area (the screen display area of the App running the shared content receiving) through the bottom mechanism, the shared content is injected into the input window of the first application component, the tedious intermediate step needing manual operation is omitted, and the user experience is improved. The mobile phone scheme with two display screens such as double screen, folding screen and split screen is matched, so that the user experience is improved more obviously.
In the data sharing method provided in some embodiments of the present application, after the shared content is injected into an input window of the first application component (e.g., Activity), an execution action corresponding to the input window is determined, and the shared content is directly executed. The next operation (such as sending operation execution, searching operation execution and the like) after the shared content is injected into the input window of the first application component is omitted, and the user experience is further improved.
In the data sharing method provided in some embodiments of the present application, the step of obtaining the shared content in the first display area includes, before obtaining the sharing request, obtaining the shared content, where the shared content includes: content selected by a user; or after the sharing request is obtained, obtaining the shared content, where the shared content includes specified content presented in the first display area. Namely, when the user executes sharing, the user can select the sharing content first and then trigger the sharing, and can also trigger the sharing first and then select the sharing content, so that the operation is convenient, and the user experience is further improved.
According to the data sharing method provided by some embodiments of the application, the sharing request on the first display area can be acquired in two ways, and two sharing triggering ways are correspondingly provided: -pressing a gesture through a predefined screen. For example, the same contact is continuously pressed twice, and in order to distinguish the existing touch screen operation, a different touch manner can be defined, which indicates that the user desires to perform a sharing operation; and ② passing through a pressure sensor. Pressure sensor can set up in the screen below, also can set up outside the screen, for example on the cell-phone lateral wall, and the corresponding position can set up shares the trigger button. The user triggers and shares the file conveniently and quickly, and the user experience is further improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal according to various embodiments of the present application;
fig. 2 is a communication network system architecture diagram provided in various embodiments of the present application;
fig. 3 is a general flowchart of a data sharing method according to embodiment 1 of the present application;
fig. 4 is a detailed flowchart of a data sharing method according to embodiment 1 of the present application;
fig. 5 is a detailed flowchart of one implementation manner of the step of obtaining the sharing request and the sharing content on the first display area in the data sharing method according to the embodiments of the present application;
fig. 6 is a detailed flowchart of another implementation manner of the step of obtaining the sharing request and the sharing content on the first display area in the data sharing method according to the embodiments of the present application;
fig. 7 is a general flowchart of a data sharing method provided in embodiments 2, 3, and 4 of the present application;
fig. 8 is a detailed flowchart of a data sharing method according to embodiment 2 of the present application;
fig. 9 is a detailed flowchart of a data sharing method according to embodiment 3 of the present application;
fig. 10 is a detailed flowchart of a data sharing method according to embodiment 4 of the present application.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (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, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
Example 1
The embodiment provides a data sharing method, which is applied to a terminal, wherein the terminal comprises a first display area and a second display area. The terminal can be a dual-screen mobile phone, the first display area refers to a screen display area where an App where the shared content is running is operated, the second display area refers to a screen display area where the App receiving the shared content is running, and the first display area and the second display area can be interchanged, for example, the former is a front screen of the mobile phone and the latter is a rear screen of the mobile phone, or the former is a rear screen of the mobile phone and the latter is a front screen of the mobile phone. A general flowchart of the data sharing method provided in this embodiment is shown in fig. 3, and a detailed flowchart is shown in fig. 4.
The data sharing method comprises the following steps:
s100: acquiring a sharing request on the first display area;
s200: acquiring shared content on the first display area;
s300: transmitting the shared content to the first application component in an active state in the second display area in response to the sharing request;
s400: and injecting the shared content into an input window of the first application component.
In the above steps, the step S100 obtains the sharing request on the first display area and the step S200 obtains the sharing content on the first display area, and the two steps do not make a timing requirement.
The specific implementation manner of obtaining the sharing request on the first display area in step S100 is as follows: generating the sharing request according to the detected input pressing gesture on the first display area, comprising the following sub-steps:
s111: an input press gesture of the first display region is detected in real time.
S112: and judging whether the input pressing gesture is a preset screen pressing gesture.
S130: and if the input pressing gesture is a preset screen pressing gesture, generating the sharing request.
Step S200 is to acquire the shared content on the first display area, and the implementation manners include the following two manners:
before obtaining a sharing request, obtaining the shared content, wherein the shared content includes: content selected by a user; alternatively, the first and second electrodes may be,
after the sharing request is obtained, the sharing content is obtained, and the sharing content comprises the specified content presented in the first display area. The designated content comprises pictures, characters or a sharing path determined based on a touch action, wherein the sharing path is related to the attribute of the second application component in an active state in the first display area.
Referring to fig. 5, before obtaining the sharing request, the step of obtaining the shared content is implemented as follows:
s211: and taking the content selected by the user as the shared content.
Referring to fig. 6, after obtaining the sharing request, the step of obtaining the shared content is implemented as follows:
s221: judging whether a user touch operation exists within a preset time (such as 10s) or not (after the sharing request is acquired);
s222: if touch operation exists in preset time after the sharing request is obtained, judging whether the display content of the touch operation area is pictures, characters or blanks;
s223: if the content displayed in the touch operation area is a picture, taking the picture as sharing content;
s224: if the content displayed in the touch operation area is a text, taking the section of text as the sharing content;
s225: if the content displayed in the touch operation area is blank, acquiring a sharing path corresponding to the second application component in the active state in the first display area, and taking the sharing path as the sharing content; the sharing path may be information for identifying an access address of the application component, and the manner of obtaining the sharing path may be through a sharing white list, where the sharing white list includes information of the second application component and sharing path information corresponding to the second application component;
s226: if no touch operation exists within the preset time after the sharing request is acquired, ending; namely, the current data sharing process is terminated, and the state before the sharing request is acquired is recovered. In other embodiments, a pop-up window may also be used to prompt the user to perform a touch operation to determine the content to be shared.
Step S300, in response to the sharing request, transmitting the shared content to the first application component in the active state in the second display area includes:
responding to the sharing request, and transmitting the sharing content to the first application component in the active state in the second display area through a pasting board or intent.
For example, if the second display area is running a wechat APP and is in a wechat interface, and the user wishes to send contact information to the opposite party of the wechat, the contact APP may be opened on the first display area, a corresponding contact may be found, the contact information may be selected, a preset screen pressing gesture is input (for example, the same contact is continuously pressed twice, which indicates that the user desires to perform a data sharing operation, but not a touch screen operation), and then the system injects the contact information into the input frame of the wechat interface by using the data sharing method provided in this embodiment. In this process, the detailed flow corresponding to the terminal is as follows:
obtaining shared content on a first display area, wherein the shared content is the contact information in the selected state;
detecting a pressing gesture input in the first display area in real time;
judging that the input pressing gesture is a preset screen pressing gesture;
generating a sharing request;
transmitting the contact information to the WeChat chat application component in the second display area through the pasting board or the intent;
and injecting the contact information into the WeChat chat interface input window.
In this embodiment, a user triggers data sharing through a preset screen pressing gesture, and the mobile terminal obtains a sharing request according to the data sharing; and when the sharing request is acquired, if the selected content exists, the selected content is directly shared to the first application component and is injected into an input window of the first application component. And if the content which is not in the selected state is not obtained when the sharing request is obtained, the content is selected by the client after the sharing request is triggered. After the shared content is injected into the input window of the first application component, the user can check whether the shared content is wrong or not in the input window, and whether the shared first application component is wrong or not, and can manually trigger the next operation without mistake. In the example, the user finds and selects the contact information to be shared in the first display area in the WeChat chat interface in the second display area, and data sharing is triggered through a preset screen pressing gesture; the mobile phone acquires the sharing request, transmits the selected contact information to the WeChat chat application component in the second display area, injects the selected contact information into the input window, and directly sends the selected contact information after checking by a user without copying the selected contact information firstly through a traditional pasting board and then pasting the copied contact information into a WeChat App on a front screen like a traditional data sharing method. By adopting the data sharing method provided by the embodiment, the operation is simpler and faster, a plurality of contact information can be selected and sent at one time, and the user experience is better.
Example 2
The embodiment provides a data sharing method, which is applied to a terminal, wherein the terminal comprises a first display area and a second display area. A general flowchart of the data sharing method provided in this embodiment is shown in fig. 7, and a detailed flowchart is shown in fig. 8.
The data sharing method comprises the following steps:
s100: acquiring a sharing request on the first display area;
s200: acquiring shared content on the first display area;
s300: transmitting the shared content to the first application component in an active state in the second display area in response to the sharing request;
s400: injecting the shared content into an input window of the first application component;
s500: and determining the next execution action according to the attribute of the input window, and executing the shared content according to the determined execution action.
In the above steps, the step S100 obtains the sharing request on the first display area and the step S200 obtains the sharing content on the first display area, and the two steps do not make a timing requirement.
The implementation manner of obtaining the sharing request on the first display area in step S100 is to generate the sharing request according to a pressure value sent by a pressure sensor, and includes the following substeps:
s121: and receiving the pressure value detected by the pressure sensor in real time.
S122: and judging whether the pressure value reaches a set value or not.
S130: and if the pressure value reaches a set value, generating the sharing request.
In this embodiment, the pressure sensor may be disposed outside a sidewall of the terminal or an edge of the screen, and a sharing button is disposed at a corresponding position; the pressure sensor can also be arranged below the screen, and the contact points are arranged at the corresponding positions of the screen.
Step S200 is to acquire the shared content on the first display area, and the implementation manners include the following two manners:
before obtaining a sharing request, obtaining the shared content, wherein the shared content includes: content selected by a user; alternatively, the first and second electrodes may be,
after the sharing request is obtained, the sharing content is obtained, and the sharing content comprises the specified content presented in the first display area. The designated content comprises pictures, characters or a sharing path determined based on a touch action, wherein the sharing path is related to the attribute of the second application component in an active state in the first display area.
Referring to fig. 5, before obtaining the sharing request, the step of obtaining the shared content is implemented as follows:
s211: and taking the content selected by the user as the shared content.
Referring to fig. 6, after obtaining the sharing request, the step of obtaining the shared content is implemented as follows:
s221: judging whether a user touch operation exists within a preset time (such as 10s) or not (after the sharing request is acquired);
s222: if touch operation exists in preset time after the sharing request is obtained, judging whether the display content of the touch operation area is pictures, characters or blanks;
s223: if the content displayed in the touch operation area is a picture, taking the picture as sharing content;
s224: if the content displayed in the touch operation area is a text, taking the section of text as the sharing content;
s225: if the content displayed in the touch operation area is blank, acquiring a sharing path corresponding to the second application component in the active state in the first display area, and taking the sharing path as the sharing content; the sharing path may be information for identifying an access address of the application component, and the manner of obtaining the sharing path may be through a sharing white list, where the sharing white list includes information of the second application component and sharing path information corresponding to the second application component;
s226: if no touch operation exists within the preset time after the sharing request is acquired, ending; namely, the current data sharing process is terminated, and the state before the sharing request is acquired is recovered. In other embodiments, a pop-up window may also be used to prompt the user to perform a touch operation to determine the content to be shared.
Step S300, in response to the sharing request, transmitting the shared content to the first application component in the active state in the second display area includes:
responding to the sharing request, and transmitting the sharing content to the first application component in the active state in the second display area through a pasting board or intent.
Step S500, determining a next execution action according to the attribute of the input window, and in executing the shared content according to the determined execution action, determining the next execution action according to the attribute of the input window may be through an execution action white list; the execution action white list comprises input window information of the first application component and corresponding next execution action information.
For example, the user runs WeChat in the second display area, and is chatting with friends to discuss where to eat dinner, at this time, the user can open a Mei Tuo App in the first display area, find an alternative restaurant, press a button or a screen contact at a position corresponding to the pressure sensor, trigger data sharing, and click at a blank of the alternative restaurant page in the Mei Tuo App to trigger the operation of selecting shared content, and then the system sends the information of the alternative restaurant to the friends by using the data sharing method provided by this embodiment. In this process, the detailed flow corresponding to the terminal is as follows:
receiving a pressure value detected by a pressure sensor in real time;
judging that the pressure value reaches a set value;
generating a sharing request;
judging that the user touch operation exists in preset time (such as 10s) after the sharing request is acquired;
judging whether the display content of the touch operation area is blank;
acquiring a sharing path corresponding to the information of the American group App merchant as a URI (Uniform resource identifier) through a sharing white list, and taking the URI of the information of the American group App merchant as sharing content; the sharing white list comprises information of the American group App merchant and a sharing path corresponding to the information, and is shown in table 1;
table 1 sharing white lists
Figure BDA0002020427060000171
Transmitting the information URI of the American group App merchant to the WeChat chat application component in the second display area through the pasting board or intent;
injecting information URI of the American group App merchant into an input window of the WeChat chat interface in the second display area;
inquiring an execution operation corresponding to an input window of the WeChat APP chat component from the execution action white list, namely sending, and sending information URI of a Mei Tuo App merchant; the execution action white list includes an input window of the WeChat APP chat application component and its corresponding execution operation, as shown in Table 2.
Table 2 execution action whitelist
Figure BDA0002020427060000181
In this embodiment, a user triggers data sharing by pressing a pressure sensor, and a terminal obtains a sharing request accordingly; when the sharing request is obtained, if the selected content exists, the selected content is directly shared to the first application component and is injected into an input window of the first application component, and the next operation is executed, so that the operation is more convenient and faster. And if the content which is not in the selected state is not obtained when the sharing request is obtained, the content is selected by the client after the sharing request is triggered. In the example of the embodiment, the second display area of the user is located in the WeChat chat interface, the first display area is located in the information interface of the American group merchant, data sharing is triggered by pressing the pressure sensor, after the sharing request is obtained by the mobile phone, the user clicks the blank position of the information interface of the American group merchant, the mobile phone directly sends merchant information to the WeChat chat friend, and the WeChat contact interface does not need to be opened first as in the existing sharing, then the corresponding contact is selected, and then sharing is carried out; therefore, the data method provided by the embodiment is simpler and faster to operate, and better in user experience.
Example 3
The embodiment provides a data sharing method, which is applied to a terminal, wherein the terminal comprises a first display area and a second display area. A general flowchart of the data sharing method provided in this embodiment is shown in fig. 7, and a detailed flowchart is shown in fig. 9.
The data sharing method comprises the following steps:
s100: acquiring a sharing request on the first display area;
s200: acquiring shared content on the first display area;
s300: transmitting the shared content to the first application component in an active state in the second display area in response to the sharing request;
s400: injecting the shared content into an input window of the first application component;
s500: and determining the next execution action according to the attribute of the input window, and executing the shared content according to the determined execution action.
In the above steps, the step S100 obtains the sharing request on the first display area and the step S200 obtains the sharing content on the first display area, and the two steps do not make a timing requirement.
In step S100, a sharing request on the first display area is obtained, and the sharing request may be generated according to the detected input pressing gesture on the first screen in two ways, that is, two triggering ways of data sharing; or generating the sharing request according to a pressure value sent by a pressure sensor.
Wherein generating the sharing request according to the detected input press gesture on the first screen comprises the substeps of:
s111: an input press gesture of the first display region is detected in real time.
S112: and judging whether the input pressing gesture is a preset screen pressing gesture.
S130: and if the input pressing gesture is a preset screen pressing gesture, generating the sharing request.
The step of generating the sharing request according to the pressure value sent by the pressure sensor comprises the following substeps:
s121: and receiving the pressure value detected by the pressure sensor in real time.
S122: and judging whether the pressure value reaches a set value or not.
S130: and if the pressure value reaches a set value, generating the sharing request.
Step S200 is to acquire the shared content on the first display area, and the implementation manners include the following two manners:
before obtaining a sharing request, obtaining the shared content, wherein the shared content includes: content selected by a user; alternatively, the first and second electrodes may be,
after the sharing request is obtained, the sharing content is obtained, and the sharing content comprises the specified content presented in the first display area. The designated content comprises pictures, characters or a sharing path determined based on a touch action, wherein the sharing path is related to the attribute of the second application component in an active state in the first display area.
Referring to fig. 5, before obtaining the sharing request, the step of obtaining the shared content is implemented as follows:
s211: and taking the content selected by the user as the shared content.
Referring to fig. 6, after obtaining the sharing request, the step of obtaining the shared content is implemented as follows:
s221: judging whether a user touch operation exists within a preset time (such as 10s) or not (after the sharing request is acquired);
s222: if touch operation exists in preset time after the sharing request is obtained, judging whether the display content of the touch operation area is pictures, characters or blanks;
s223: if the content displayed in the touch operation area is a picture, taking the picture as sharing content;
s224: if the content displayed in the touch operation area is a text, taking the section of text as the sharing content;
s225: if the content displayed in the touch operation area is blank, acquiring a sharing path corresponding to the second application component in the active state in the first display area, and taking the sharing path as the sharing content; the sharing path may be information for identifying an access address of the application component, and the manner of obtaining the sharing path may be through a sharing white list, where the sharing white list includes information of the second application component and sharing path information corresponding to the second application component;
s226: if no touch operation exists within the preset time after the sharing request is acquired, ending; namely, the current data sharing process is terminated, and the state before the sharing request is acquired is recovered. In other embodiments, a pop-up window may also be used to prompt the user to perform a touch operation to determine the content to be shared.
Step S300, in response to the sharing request, transmitting the shared content to the first application component in the active state in the second display area includes:
responding to the sharing request, and transmitting the sharing content to the first application component in the active state in the second display area through a pasting board or intent.
Step S500, determining a next execution action according to the attribute of the input window, and in executing the shared content according to the determined execution action, determining the next execution action according to the attribute of the input window may be through an execution action white list; the execution action white list comprises input window information of the first application component and corresponding next execution action information.
For example, the user reads in the first display area, encounters an interested history celebrity, history allusion or problem, and the like, wants to understand in detail, but does not want to interrupt the reading progress. At this time, the user may open a search engine App (e.g., a dog search App) in the second display area, trigger data sharing by one of two ways of triggering data sharing (e.g., triggering by a pressure sensor), and click on a text content to be understood in the reading page to trigger an operation of selecting shared content, so that the system searches for the text content to be understood by using the data sharing method provided in this embodiment. In this process, the detailed flow corresponding to the terminal is as follows:
receiving a pressure value detected by a pressure sensor in real time;
judging that the pressure value reaches a set value;
generating a sharing request;
judging that the user touch operation exists in preset time (such as 10s) after the sharing request is acquired;
judging whether the display content of the touch operation area is a text, and taking the section of text as the sharing content;
responding to the sharing request, and transmitting the section of characters to a search dog homepage application component through a pasting board or intent;
injecting the segment of characters into an input window of dog searching;
and determining the next execution action corresponding to the input window of the dog search as a search by inquiring the execution action white list shown in the table 2, executing the search action, and searching the section of characters.
In this embodiment, the user has two ways of triggering data sharing, one is triggered by pressing the pressure sensor, the other is triggered by pressing a preset screen, and any one of the ways is selected. The terminal obtains a sharing request according to the request; when the sharing request is obtained, if the selected content exists, the selected content is directly shared to the first application component and is injected into an input window of the first application component, and the next operation is executed, so that the operation is more convenient and faster. And if the content which is not in the selected state is not obtained when the sharing request is obtained, the content is selected by the client after the sharing request is triggered. In the example of this embodiment, when a user wants to search some text contents while the first display area is in the reading interface, a search engine home page is opened in the second display area, data sharing is triggered by pressing a pressure sensor, and then the text to be searched in the first display area is clicked, so that the text contents can be directly searched in the second display area; the keywords are not required to be copied from the front screen firstly like the traditional interactive mode, then pasting is carried out on the auxiliary screen, and then retrieval is carried out by utilizing a search engine; therefore, the data sharing method provided by the embodiment is simpler and faster to operate by the user, and the user experience is better.
Example 4
The embodiment provides a data sharing method, which is applied to a terminal, wherein the terminal comprises a first display area and a second display area. A general flowchart of the data sharing method provided in this embodiment is shown in fig. 7, and a detailed flowchart is shown in fig. 10.
The data sharing method comprises the following steps:
s100: acquiring a sharing request on the first display area;
s200: acquiring shared content on the first display area;
s300: transmitting the shared content to the first application component in an active state in the second display area in response to the sharing request;
s400: injecting the shared content into an input window of the first application component;
s500: and determining the next execution action according to the attribute of the input window, and executing the shared content according to the determined execution action.
In the above steps, the step S100 obtains the sharing request on the first display area and the step S200 obtains the sharing content on the first display area, and the two steps do not make a timing requirement.
In step S100, the implementation manner of obtaining the sharing request on the first display area is to generate the sharing request according to a pressure value sent by a pressure sensor, and the method includes the following substeps:
s121': and receiving the pressure value detected by the pressure sensor.
S122: and judging whether the pressure value reaches a set value or not.
S130: if the pressure value reaches a set value, generating the sharing request; and if the pressure value does not reach the set value, continuously receiving the pressure value detected by the pressure sensor.
Step S200 is to acquire the shared content on the first display area, and the implementation manners include the following two manners:
before obtaining a sharing request, obtaining the shared content, wherein the shared content includes: content selected by a user; alternatively, the first and second electrodes may be,
after the sharing request is obtained, the sharing content is obtained, and the sharing content comprises the specified content presented in the first display area. The designated content comprises pictures, characters or a sharing path determined based on a touch action, wherein the sharing path is related to the attribute of the second application component in an active state in the first display area.
Referring to fig. 5, before obtaining the sharing request, the step of obtaining the shared content is implemented as follows:
s211: and taking the content selected by the user as the shared content.
Referring to fig. 6, after obtaining the sharing request, the step of obtaining the shared content is implemented as follows:
s221: judging whether a user touch operation exists within a preset time (such as 10s) or not (after the sharing request is acquired);
s222: if touch operation exists in preset time after the sharing request is obtained, judging whether the display content of the touch operation area is pictures, characters or blanks;
s223: if the content displayed in the touch operation area is a picture, taking the picture as sharing content;
s224: if the content displayed in the touch operation area is a text, taking the section of text as the sharing content;
s225: if the content displayed in the touch operation area is blank, acquiring a sharing path corresponding to the second application component in the active state in the first display area, and taking the sharing path as the sharing content; the sharing path may be information for identifying an access address of the application component, and the manner of obtaining the sharing path may be through a sharing white list, where the sharing white list includes information of the second application component and sharing path information corresponding to the second application component;
s226: if no touch operation exists within the preset time after the sharing request is acquired, ending; namely, the current data sharing process is terminated, and the state before the sharing request is acquired is recovered. In other embodiments, a pop-up window may also be used to prompt the user to perform a touch operation to determine the content to be shared.
Step S300, in response to the sharing request, transmitting the shared content to the first application component in the active state in the second display area includes:
responding to the sharing request, and transmitting the sharing content to the first application component in the active state in the second display area through a pasting board or intent.
Step S500, determining a next execution action according to the attribute of the input window, and in executing the shared content according to the determined execution action, determining the next execution action according to the attribute of the input window may be through an execution action white list; the execution action white list comprises input window information of the first application component and corresponding next execution action information.
For example, the user runs QQ in the second display area to chat with a QQ friend, runs Taobao App to visit Taobao in the first display area, finds heart-shaped clothing and wants to send to the QQ friend, and enables the friend to help to attend whether to be beautiful or not, and reference opinions are provided. At this time, the user can press a button or a screen contact at a position corresponding to the pressure sensor to trigger data sharing, and then click on a picture to be sent in the pan App page to trigger an operation of selecting shared content, so that the terminal sends the pan clothes picture on the first display area to a friend by using the data sharing method provided by this embodiment. In this process, the detailed flow corresponding to the terminal is as follows:
receiving a pressure value detected by a pressure sensor;
judging that the pressure value reaches a set value;
generating a sharing request;
judging that the user touch operation exists in preset time (such as 10s) after the sharing request is acquired;
judging that the display content of the touch operation area is a picture, and taking the picture as sharing content;
responding to the sharing request, and transmitting the picture to a QQ chat application component through a pasting board or intent;
injecting the text into an input window of a QQ chat interface;
the picture is sent by querying the white list of actions performed as shown in table 2 to determine that the action performed corresponding to the input window of the QQ chat application component is send.
In this embodiment, a user triggers data sharing by pressing a pressure sensor, and a terminal obtains a sharing request accordingly; when the sharing request is obtained, if the selected content exists, the selected content is directly shared to the first application component and is injected into an input window of the first application component, and the next operation is executed, so that the operation is more convenient and faster. And if the content which is not in the selected state is not obtained when the sharing request is obtained, the content is selected by the client after the sharing request is triggered. In the example of this embodiment, the second display area of the user is in the QQ chat interface, the first display area is in the treasure panning merchandise information interface, data sharing is triggered by pressing the pressure sensor, after the mobile phone obtains the sharing request, a picture to be shared in the treasure panning merchandise information interface of the user is directly sent to the QQ chat friend by the mobile phone, and it is no longer necessary to open the QQ contact interface first as in the existing sharing, then select the corresponding contact, and then share; therefore, the data method provided by the embodiment is simpler and faster to operate, and better in user experience.
Example 5
This embodiment provides a data sharing device, data sharing device includes:
a memory, a processor, and a computer program stored on the memory and executable on the processor;
the computer program, when executed by the processor, implements the steps of the data sharing method of any of embodiments 1-4.
Example 6
The present embodiment provides a computer-readable storage medium, on which one or more programs are stored, which when executed by a processor implement the steps of the data sharing method according to any one of embodiments 1 to 4.
Compared with the background art, the scene one, the scene four and the specific implementation mode, the embodiment 1 and the embodiment 4, it is obvious that in the existing data sharing interaction mode of the terminal, data sharing operations are various and are all relatively complex. The data sharing method provided by the application can unify various data sharing operation triggering modes into one triggering mode (such as through a preset screen pressing gesture or through a pressure sensor), and can also unify into two or more optional modes (such as through one of the preset screen pressing gesture and the pressure sensor); in a word, the sharing operation is simpler and faster, and the user experience effect is obviously improved. According to the data sharing method, the double-screen terminal, the folding screen terminal or the terminal which has only one physical screen and can display in a split screen mode are matched, and the user experience effect is improved more obviously.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (6)

1. The data sharing method is applied to a terminal, the terminal comprises a first display area and a second display area, and the data sharing method comprises the following steps:
acquiring a sharing request and sharing content on the first display area; the sharing content is a sharing path, and the obtaining of the sharing content includes: after the sharing request is obtained, judging whether a user touch operation exists within preset time; if the shared content exists, judging whether the area display content corresponding to the touch operation is blank, if so, acquiring a sharing path corresponding to the second application component in the active state in the first display area, and taking the sharing path as the shared content; the sharing path comprises information for identifying an application component access address;
transmitting the shared content to the first application component in an active state in the second display area in response to the sharing request;
injecting the shared content into an input window of the first application component;
determining the next execution action according to the attribute of the input window, and executing the shared content according to the determined execution action; determining the next action to be executed according to the attribute of the input window, and determining the next action to be executed through an action white list, wherein the action white list execution comprises the following steps: and the input window information of the first application component and the corresponding next step execution action information thereof.
2. The data sharing method according to claim 1, wherein obtaining the sharing path corresponding to the second application component in the active state in the first display area comprises:
and inquiring a sharing white list, wherein the sharing white list comprises second application component information and sharing path information corresponding to the second application component information.
3. The data sharing method according to claim 1, wherein transmitting the shared content to the first application component in an active state in the second display area in response to the sharing request comprises:
responding to the sharing request, and transmitting the sharing content to the first application component in the active state in the second display area through a pasting board or intent.
4. The data sharing method according to claim 1, wherein obtaining the sharing request on the first display area comprises:
generating the sharing request according to the detected input pressing gesture on the first display area; alternatively, the first and second electrodes may be,
and generating the sharing request according to the pressure value sent by the pressure sensor.
5. A data sharing apparatus, the data sharing apparatus comprising:
a memory, a processor, and a computer program stored on the memory and executable on the processor;
the computer program implementing the steps of the data sharing method according to any one of claims 1 to 4 when executed by the processor.
6. A computer-readable storage medium, having one or more programs stored thereon which, when executed by a processor, implement the steps of the data sharing method of any one of claims 1 to 4.
CN201910277275.2A 2019-04-08 2019-04-08 Data sharing method and device and computer readable storage medium Active CN110134306B (en)

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 CN110134306A (en) 2019-08-16
CN110134306B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737383B (en) * 2019-09-30 2021-06-18 广州视源电子科技股份有限公司 Element adding method and device and electronic equipment
CN111049991B (en) * 2019-12-27 2021-06-15 维沃移动通信有限公司 Content sharing method and electronic equipment
CN111954079B (en) * 2020-05-27 2023-05-26 维沃移动通信有限公司 Image processing method, device, electronic equipment and medium
CN114339290A (en) * 2021-12-30 2022-04-12 杭州当虹科技股份有限公司 Large screen management subsystem, large screen synchronous playing system and method
WO2023142940A1 (en) * 2022-01-28 2023-08-03 华为技术有限公司 Application component sharing method and related device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
CN109271262A (en) * 2018-08-29 2019-01-25 维沃移动通信有限公司 A kind of display methods and terminal
CN109309753A (en) * 2018-07-23 2019-02-05 努比亚技术有限公司 Picture sharing method, 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

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015055913A (en) * 2013-09-10 2015-03-23 ソニー株式会社 Information processor, method of processing information and program
JP6611064B2 (en) * 2016-03-25 2019-11-27 Bank Invoice株式会社 Terminal device, display method and program
WO2018176008A1 (en) * 2017-03-24 2018-09-27 Inmentis, Llc Social media system with navigable, artificial-intelligence-based graphical user interface
CN107797825A (en) * 2017-10-24 2018-03-13 努比亚技术有限公司 A kind of data transmission method for uplink, terminal and computer-readable recording medium
CN109104519A (en) * 2018-06-25 2018-12-28 努比亚技术有限公司 A kind of method that entertainment mode is shown, 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

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
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
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

Also Published As

Publication number Publication date
CN110134306A (en) 2019-08-16

Similar Documents

Publication Publication Date Title
CN108037893B (en) Display control method and device of flexible screen and computer readable storage medium
CN110134306B (en) Data sharing method and device and computer readable storage medium
CN108234295B (en) Display control method of group function control, terminal and computer readable storage medium
CN107729160B (en) Application control method, mobile terminal and computer-readable storage medium
CN109917979B (en) Searching method and mobile terminal
CN107346200B (en) Interval screenshot method and terminal
CN107807767B (en) Communication service processing method, terminal and computer readable storage medium
CN109697008B (en) Content sharing method, terminal and computer readable storage medium
CN107741802B (en) Application starting method, terminal and computer readable storage medium
CN110180181B (en) Method and device for capturing wonderful moment video and computer readable storage medium
CN112068744A (en) Interaction method, mobile terminal and storage medium
CN112181233B (en) Message processing method, intelligent terminal and computer readable storage medium
CN114761926A (en) Information acquisition method, terminal and computer storage medium
CN107729104B (en) Display method, mobile terminal and computer storage medium
CN109408187B (en) Head portrait setting method and device, mobile terminal and readable storage medium
CN113325981B (en) Processing method, mobile terminal and storage medium
CN108810262B (en) Application configuration method, terminal and computer readable storage medium
CN108153477B (en) Multi-touch operation method, mobile terminal and computer-readable storage medium
CN109710168B (en) Screen touch method and device and computer readable storage medium
CN111931155A (en) Verification code input method, verification code input equipment and storage medium
CN108900696B (en) Data processing method, terminal and computer readable storage medium
CN107766544B (en) Information management method, terminal and computer readable storage medium
CN108566476B (en) Information processing method, terminal and computer readable storage medium
CN107562304B (en) Control method, mobile terminal and computer readable storage medium
CN115914719A (en) Screen projection display method, intelligent terminal and 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