CN106951220B - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN106951220B
CN106951220B CN201610010185.3A CN201610010185A CN106951220B CN 106951220 B CN106951220 B CN 106951220B CN 201610010185 A CN201610010185 A CN 201610010185A CN 106951220 B CN106951220 B CN 106951220B
Authority
CN
China
Prior art keywords
content
operation action
application program
split screen
application
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
CN201610010185.3A
Other languages
Chinese (zh)
Other versions
CN106951220A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610010185.3A priority Critical patent/CN106951220B/en
Publication of CN106951220A publication Critical patent/CN106951220A/en
Application granted granted Critical
Publication of CN106951220B publication Critical patent/CN106951220B/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
    • 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
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a data processing method and device. Wherein, the method comprises the following steps: acquiring the content of a first application program displayed on a first split screen of the terminal when the terminal is in a split screen state; determining an operation action performed on the content; and executing the determined operation action on the content in a second application program displayed on a second split screen of the terminal. The invention solves the technical problem of complex data processing process.

Description

Data processing method and device
Technical Field
The present invention relates to the field of data processing, and in particular, to a method and an apparatus for data processing.
Background
When browsing a web page using an application, if a user desires to process viewed contents, such as sharing, opening, translating, searching, etc., the contents to be processed need to be copied, then the application capable of processing the contents needs to be opened, the copied contents are pasted in the newly opened application, and the newly opened application completes the processing operation
However, in this process, the currently browsed application program is exited first, a new application program is opened, and actions such as copy and paste are also executed, so that the process of data processing is complicated.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a data processing method and device, which at least solve the technical problem that the data processing process is complex.
According to an aspect of an embodiment of the present invention, there is provided a data processing method, including: acquiring the content of a first application program displayed on a first split screen of the terminal when the terminal is in a split screen state; determining an operation action performed on the content; performing a determined operational action on the content in a second application displayed on a second split screen of the terminal
According to another aspect of the embodiments of the present invention, there is also provided a data processing apparatus, including: the terminal comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring the content of a first application program displayed on a first split screen of the terminal when the terminal is in a split screen state; a determination unit configured to determine an operation action performed on the content; and the execution unit is used for executing the determined operation action on the content in the second application program displayed on the second split screen of the terminal.
In the embodiment of the invention, the content of a first application program displayed on a first split screen of a terminal is acquired when the terminal is in a split screen state; determining an operation action performed on the content; the method for executing the determined operation action on the content in the second application program displayed on the second split screen of the terminal avoids the situation that a user still needs to execute copying and pasting actions while switching between different application programs, simplifies the steps of data processing and solves the technical problem that the process of data processing is complex.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow diagram of a method of data processing according to an embodiment of the invention;
fig. 2 is a schematic diagram of a split screen state of a terminal according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of selecting text data on a first screen according to an embodiment of the invention;
FIG. 4 is a diagram illustrating selection of a web address on a first screen according to an embodiment of the present invention;
FIG. 5 is a schematic diagram showing a result of execution of an operation action on a second split screen according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of displaying an alternate operational action on a second split screen in accordance with an embodiment of the present invention;
FIG. 7 is a schematic diagram of an apparatus for data processing according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to an embodiment of the present invention, there is provided a data processing method, which may be set in an application program and executed by the application program in a terminal, as shown in fig. 1, and includes the following steps:
step S102, when the terminal is in a split screen state, acquiring the content of a first application program displayed on a first split screen of the terminal.
In step S104, an operation action performed on the content is determined.
And step S106, executing the determined operation action on the content in the second application program displayed on the second split screen of the terminal.
The split screen state is that the terminal displays the application program in the terminal in at least two split screens, as shown in fig. 2, two split screens are displayed on the screen of one terminal, and an interface diagram of one application program, namely a first application program and a second application program, is displayed on each split screen. The content of the first application displayed on the first split screen may be content selected by the user or may be automatically recognized content, and one or more operations may be performed on the acquired content. And after the operation which can be executed is determined, executing a corresponding operation action on the acquired content by a second application program on the second split screen. For example, a phone number or a web address or the like in the first application is automatically recognized, and when the automatically recognized content is determined to be the determined content and it is determined to perform an operation action on the automatically recognized content, the corresponding action is performed in the second application on the second split screen. In general, in order to avoid disturbing the user, corresponding operation actions are performed on the content selected by the user.
When the terminal is in a split screen state, the process can be executed by the second application program, the second application program can acquire the content in the first application program displayed on the first split screen and execute corresponding operation actions on the acquired content, actions of copying and pasting are avoided when a user switches between different application programs, steps of data processing are simplified, and the technical problem that the process of data processing is complex is solved.
Optionally, when the terminal is in a split-screen state, the obtaining content of the first application program displayed on the first split screen of the terminal includes: and acquiring the content selected by the content selection instruction received by the first screen separation.
And selecting the content needing to be processed on the first split screen by the user, wherein the content selected by the user is the content selected by the content selection instruction received by the first split screen. As shown in fig. 3, the user terminal selects a text "abcedfg" from the first split screen, the first application program prompts the user that the user can make copy, cut, and full selection, and if the user selects copy, the second application program on the second split screen obtains the copied content.
And displaying an operation action which can be executed on the text segment "abcedfg" by the second application program on the second split screen, and if the operation action is determined to be searching, performing searching by the second application program by using the text segment as searching content, and displaying a searching result on the second split screen.
The second application program can monitor the content change in the clipboard or the cache on the terminal, and acquire the content stored in the monitored clipboard or the cache when the content changes, so as to acquire the content displayed on the first split screen by the first application program selected by the user through the content selection instruction. The content selected by the content selection instruction is acquired from the clipboard or the cache, or communication is performed between the first application program and the second application program through the server, for example, the content displayed on the first screen by the first application program selected by the content selection instruction is sent to the server, and the content displayed on the first screen by the first application program selected by the content selection instruction is acquired from the server, so that content transmission between the first application program and the second application program through the server is realized. After the content of the first application program displayed on the first split screen is acquired, the operation action is executed in the second application program displayed on the second split screen, so that the data transmission and data processing between the first application program and the second application program are completed, the technical problem that the data processing process in the prior art is complex is solved, and meanwhile, the data transmission between at least two application programs displayed on the terminal screen can be realized under the split screen state of the terminal.
Optionally, determining the operation action performed on the content comprises: receiving an operation action selection instruction, wherein the operation action selection instruction is used for indicating to execute a first operation action on the content, and the first operation action is one action in a plurality of executable operation actions of the second application program on the content; the first operation action is taken as an operation action performed on the content.
The operation action selection instruction may be an instruction issued by the user, and the user selects an operation action to be performed on the determined content. The second application program can execute at least one operation action on the determined content, and the user can select one operation action from a plurality of operation actions to instruct the second application program to execute, namely, the second application program on the second split screen executes the operation action instructed by the operation action selection instruction on the determined content.
For example, the content selected by the content selection instruction is "url: www … …", as shown in fig. 4, "url: www … …" is displayed on the second split screen, and the operation actions that can be performed on the content, including "send" and "open", are also displayed, and the user may be prompted to issue an operation action selection instruction. In the example shown in fig. 4, the operation action selection instruction selects an operation action of "open" to be performed on "url: www … …", and the second application opens the web page with url "www … …" and is displayed in the second application.
Optionally, the performing of the determined operation action on the content in the second application displayed on the second split screen of the terminal includes: performing, by the second application, the determined operational action on the content; or the second application program calls other application programs to execute the determined operation action on the content.
If the operation action indicated by the operation action selection instruction can be executed by the second application program, directly executing the operation action indicated by the operation action selection instruction on the determined content by the second application program; if the operation action indicated by the operation action selection instruction cannot be executed by the second application program, the second application program calls another application program to execute the operation action indicated by the operation action selection instruction on the determined content.
For example, the content selected by the content selection command is "url: www … …", the first application is a reading application (such as multi-view reading), the second application is an instant messaging application (such as QQ), the copied "url: www … …" in the reading application is acquired, executable actions (including sending and opening) are shown on the second split screen where the instant messaging application is located, and if the operation action indicated by the operation action selection command is sending, the copied "url: www … …" is sent to friends in instant messaging; if the operation action indicated by the operation action selection instruction is open, the application program of the instant messaging calls the application program of the browser to open the web page corresponding to the url www … … from the browser, as shown in fig. 5.
In the example, if the operation action indicated by the operation action selection instruction is sending and the application program of instant messaging is in a conversation window with a friend, sending the copied url www … … to the friend in the conversation window; if the instant messaging application program is not in the conversation window with a friend, a friend selector of the instant messaging application program is called, so that the user can select a target friend to which the copied url www … … is to be sent.
It can be seen that, when the second application executes the operation action indicated by the operation action selection instruction, not only the other application may be called by the second application to execute the operation action, but also some functions of the application may be called by the second application to execute the operation action. For example, the instant messaging application program may perform an operation action of opening a web page, may perform a translation operation action, and may also perform a search operation action, where the operation actions may be performed by partial functions of the instant messaging application program, and then, when the operation action indicated by the operation action selection instruction may be performed by the functions, there is no need to call another application program to perform the corresponding operation action.
Because the second application program can execute the operation action indicated by the operation action selection instruction and can also call the operation action indicated by the operation action selection instruction of other application programs, the diversity of selectable operation actions and the flexibility of executing the operation action are increased, the data transmission and data processing in a plurality of application programs are facilitated, the repeated switching among the plurality of application programs by a user is avoided, and the practicability of the split-screen state is increased.
Optionally, when the second application calls another application to perform the determined operation action on the determined content, displaying the called application and the execution result of the operation action performed by the application on the split screen where the second application is located, that is, the calling of the other application by the second application to perform the determined operation action includes: calling other application programs for executing operation actions on a second split screen where the second application program is located; and the other application program called by the second application program executes the determined operation action on the content, wherein an operation result obtained by executing the determined operation action on the content by the other application program called by the second application program is displayed on the second split screen.
As shown in fig. 4 and 5, when the content selected by the content selection instruction is "url: www … …", the second application prompts that the operation actions that can be performed include sending and opening (fig. 4), when the received operation action selection instruction indicates that opening is performed, a browser is called, and a web page with url "url: www … …" is opened in the browser, the browser is displayed in a second split screen of the terminal in place of the second application, and the result after the operation action is performed is displayed in the second split screen (fig. 5).
Compared with the prior art that the content needing to be operated is selected from one application program, then the current application program is quitted, the application program needing to be operated is opened, the selected content is pasted into the opened application program, and then the opened application program executes the operation action on the selected content, the embodiment only needs a user to send the content selection instruction and send the operation action selection instruction, and does not need to execute the instructions for selecting the application program and opening the application program, so that the processing of selecting the content is more convenient and faster, and the user experience is improved.
Optionally, before receiving the operation action selection instruction, the method further includes: acquiring the type of the content and a plurality of executable operation actions corresponding to the type; and displaying the acquired executable operation actions on the second split screen, wherein the operation action selection instruction is used for indicating one of the executable operation actions corresponding to the type to be executed on the content.
Optionally, the type of content includes any one or more of: english text, chinese text, web page links, pictures, and numbers. The plurality of executable operational actions includes any one or more of: send, open, edit, translate, search, and the like.
Distinguishing different contents according to special identifiers in the acquired contents, wherein for example, the website carries identifiers such as 'www' or 'http'; the telephone number is 11 continuous digits, and the picture has suffixes such as bmp, jpg, jpeg and the like which represent the picture, which are not illustrated.
Different types of content correspond to the same or different operational actions.
For example, the obtained content is a string of numbers, and the plurality of executable operation actions corresponding to the numbers include making a call, sending the call to a friend, storing in an address list, searching for the numbers, and the like;
if the acquired content is the address of the picture, the corresponding multiple executable operations comprise displaying a picture thumbnail, editing the picture, sending the picture and storing the picture;
if the obtained content is English, the corresponding multiple executable operations comprise translation, search and transmission;
and if the acquired content is a website, the corresponding multiple executable operations comprise sending the website and opening the website.
The multiple executable operation actions corresponding to the acquired content may be all displayed on the second split screen where the second application program is located, or may also be displayed with a part of common operation actions, and other operation actions not displayed may be used as alternative operation actions, as shown in fig. 6, a user may click "…" and then pop up a floating layer to display alternative operation actions to guide the user to select sending or searching.
It should be noted that, because the second application executes corresponding operation actions on the obtained content, the same operation actions can be executed on different obtained contents according to the characteristics of the second application itself. If the second application program is an instant messaging application program, the operation action of sending can be executed on the acquired content; if the second application is a browser application, the operation action of "search" can be performed on the acquired content.
When the acquired multiple executable operation actions are displayed on the second split screen, a floating layer may be popped up on the second split screen where the second application program is located, and the acquired multiple executable operation actions are displayed on the floating layer.
Through the embodiment, when the terminal is in the split-screen state, data can be transmitted among the application programs displayed on the split screens, the data of other application programs can be processed, meanwhile, the operation action for processing the data is multiple optional operation actions, the technical problem that the data processing process is complex is solved, and meanwhile, the convenience of data processing is improved.
Optionally, the above manner may be applied to a terminal of an android system, and may also be applied to a terminal of an IOS system.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. 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 (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
According to an embodiment of the present invention, there is also provided an apparatus for data processing, which is used for implementing the method for data processing, and as shown in fig. 7, the apparatus includes: an acquisition unit 70, a determination unit 72 and an execution unit 74.
The obtaining unit 70 is configured to obtain the content of the first application program displayed on the first split screen of the terminal when the terminal is in the split screen state.
The determination unit 72 is used to determine an operation action performed on the content.
The execution unit 74 is configured to execute the determined operation action on the content in the second application displayed on the second split screen of the terminal.
The split screen state is that the terminal displays the application program in the terminal in at least two split screens, as shown in fig. 2, two split screens are displayed on the screen of one terminal, and an interface diagram of one application program, namely a first application program and a second application program, is displayed on each split screen. The content of the first application displayed on the first split screen may be content selected by the user or may be automatically recognized content, and one or more operations may be performed on the acquired content. And after the operation which can be executed is determined, executing a corresponding operation action on the acquired content by a second application program on the second split screen. For example, a phone number or a web address or the like in the first application is automatically recognized, and when the automatically recognized content is determined to be the determined content and it is determined to perform an operation action on the automatically recognized content, the corresponding action is performed in the second application on the second split screen. In general, in order to avoid disturbing the user, corresponding operation actions are performed on the content selected by the user.
When the terminal is in a split screen state, the process can be executed by the second application program, the second application program can acquire the content in the first application program displayed on the first split screen and execute corresponding operation actions on the acquired content, actions of copying and pasting are avoided when a user switches between different application programs, steps of data processing are simplified, and the technical problem that the process of data processing is complex is solved.
Optionally, the obtaining unit includes: and the second acquisition module is used for acquiring the content selected by the content selection instruction received by the first split screen.
And selecting the content needing to be processed on the first split screen by the user, wherein the content selected by the user is the content selected by the content selection instruction received by the first split screen. As shown in fig. 3, the user terminal selects a text "abcedfg" from the first split screen, the first application program prompts the user that the user can make copy, cut, and full selection, and if the user selects copy, the second application program on the second split screen obtains the copied content.
And displaying an operation action which can be executed on the text segment "abcedfg" by the second application program on the second split screen, and if the operation action is determined to be searching, performing searching by the second application program by using the text segment as searching content, and displaying a searching result on the second split screen.
The second application program can monitor the content change in the clipboard or the cache on the terminal, and acquire the content stored in the monitored clipboard or the cache when the content changes, so as to acquire the content displayed on the first split screen by the first application program selected by the user through the content selection instruction. The content selected by the content selection instruction is acquired from the clipboard or the cache, or communication is performed between the first application program and the second application program through the server, for example, the content displayed on the first screen by the first application program selected by the content selection instruction is sent to the server, and the content displayed on the first screen by the first application program selected by the content selection instruction is acquired from the server, so that content transmission between the first application program and the second application program through the server is realized. After the content of the first application program displayed on the first split screen is acquired, the operation action is executed in the second application program displayed on the second split screen, so that the data transmission and data processing between the first application program and the second application program are completed, the technical problem that the data processing process in the prior art is complex is solved, and meanwhile, the data transmission between at least two application programs displayed on the terminal screen can be realized under the split screen state of the terminal.
Optionally, the determining unit includes: the content processing device comprises a receiving module, a selecting module and a processing module, wherein the receiving module is used for receiving an operation action selecting instruction, the operation action selecting instruction is used for indicating that a first operation action is executed on the content, and the first operation action is one action in a plurality of executable operation actions of a second application program on the content; and the determining module is used for taking the first operation action as the operation action executed on the content.
The operation action selection instruction may be an instruction issued by the user, and the user selects an operation action to be performed on the determined content. The second application program can execute at least one operation action on the determined content, and the user can select one operation action from a plurality of operation actions to instruct the second application program to execute, namely, the second application program on the second split screen executes the operation action instructed by the operation action selection instruction on the determined content.
For example, the content selected by the content selection instruction is "url: www … …", as shown in fig. 4, "url: www … …" is displayed on the second split screen, and the operation actions that can be performed on the content, including "send" and "open", are also displayed, and the user may be prompted to issue an operation action selection instruction. In the example shown in fig. 4, the operation action selection instruction selects an operation action of "open" to be performed on "url: www … …", and the second application opens the web page with url "www … …" and is displayed in the second application.
Optionally, the execution unit includes: the first execution module is used for calling the second application program to execute the determined operation action on the content; or the second execution module is used for controlling the second application program to call other application programs to execute the determined operation action on the content.
If the operation action indicated by the operation action selection instruction can be executed by the second application program, directly executing the operation action indicated by the operation action selection instruction on the determined content by the second application program; if the operation action indicated by the operation action selection instruction cannot be executed by the second application program, the second application program calls another application program to execute the operation action indicated by the operation action selection instruction on the determined content.
For example, the content selected by the content selection command is "url: www … …", the first application is a reading application (such as multi-view reading), the second application is an instant messaging application (such as QQ), the copied "url: www … …" in the reading application is acquired, executable actions (including sending and opening) are shown on the second split screen where the instant messaging application is located, and if the operation action indicated by the operation action selection command is sending, the copied "url: www … …" is sent to friends in instant messaging; if the operation action indicated by the operation action selection instruction is open, the application program of the instant messaging calls the application program of the browser to open the web page corresponding to the url www … … from the browser, as shown in fig. 5.
In the example, if the operation action indicated by the operation action selection instruction is sending and the application program of instant messaging is in a conversation window with a friend, sending the copied url www … … to the friend in the conversation window; if the instant messaging application program is not in the conversation window with a friend, a friend selector of the instant messaging application program is called, so that the user can select a target friend to which the copied url www … … is to be sent.
It can be seen that, when the second application executes the operation action indicated by the operation action selection instruction, not only the other application may be called by the second application to execute the operation action, but also some functions of the application may be called by the second application to execute the operation action. For example, the instant messaging application program may perform an operation action of opening a web page, may perform a translation operation action, and may also perform a search operation action, where the operation actions may be performed by partial functions of the instant messaging application program, and then, when the operation action indicated by the operation action selection instruction may be performed by the functions, there is no need to call another application program to perform the corresponding operation action.
Because the second application program can execute the operation action indicated by the operation action selection instruction and can also call the operation action indicated by the operation action selection instruction of other application programs, the diversity of selectable operation actions and the flexibility of executing the operation action are increased, the data transmission and data processing in a plurality of application programs are facilitated, the repeated switching among the plurality of application programs by a user is avoided, and the practicability of the split-screen state is increased.
Optionally, when the second application calls another application to execute the determined operation action on the determined content, the called application and the execution result of the operation action executed by the application are displayed on the split screen where the second application is located, that is, the second execution module includes: the calling submodule is used for calling other application programs for executing operation actions on a second split screen where the second application program is located; and the execution submodule is used for controlling other application programs called by the second application program to execute the determined operation action on the content, wherein an operation result obtained by executing the determined operation action on the content by the other application programs called by the second application program is displayed on the second split screen.
As shown in fig. 4 and 5, when the content selected by the content selection instruction is "url: www … …", the second application prompts that the operation actions that can be performed include sending and opening (fig. 4), when the received operation action selection instruction indicates that opening is performed, a browser is called, and a web page with url "url: www … …" is opened in the browser, the browser is displayed in a second split screen of the terminal in place of the second application, and the result after the operation action is performed is displayed in the second split screen (fig. 5).
Compared with the prior art that the content needing to be operated is selected from one application program, then the current application program is quitted, the application program needing to be operated is opened, the selected content is pasted into the opened application program, and then the opened application program executes the operation action on the selected content, the embodiment only needs a user to send the content selection instruction and send the operation action selection instruction, and does not need to execute the instructions for selecting the application program and opening the application program, so that the processing of selecting the content is more convenient and faster, and the user experience is improved.
Optionally, the apparatus further comprises: the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring the type of the content and a plurality of executable operation actions corresponding to the type before receiving an operation action selection instruction; and the display module is used for displaying the acquired multiple executable operation actions on the second split screen, wherein the operation action selection instruction is used for indicating one of the multiple executable operation actions corresponding to the type to be executed on the content.
Optionally, the type of content includes any one or more of: english text, chinese text, web page links, pictures, and numbers.
The plurality of executable operational actions includes any one or more of: send, open, edit, translate, search, and the like.
Distinguishing different contents according to special identifiers in the acquired contents, wherein for example, the website carries identifiers such as 'www' or 'http'; the telephone number is 11 continuous digits, and the picture has suffixes such as bmp, jpg, jpeg and the like which represent the picture, which are not illustrated.
Different types of content correspond to the same or different operational actions.
For example, the obtained content is a string of numbers, and the plurality of executable operation actions corresponding to the numbers include making a call, sending the call to a friend, storing in an address list, searching for the numbers, and the like;
if the acquired content is the address of the picture, the corresponding multiple executable operations comprise displaying a picture thumbnail, editing the picture, sending the picture and storing the picture;
if the obtained content is English, the corresponding multiple executable operations comprise translation, search and transmission;
and if the acquired content is a website, the corresponding multiple executable operations comprise sending the website and opening the website.
The multiple executable operation actions corresponding to the acquired content may be all displayed on the second split screen where the second application program is located, or may also be displayed with a part of common operation actions, and other operation actions not displayed may be used as alternative operation actions, as shown in fig. 6, a user may click "…" and then pop up a floating layer to display alternative operation actions to guide the user to select sending or searching.
It should be noted that, because the second application executes corresponding operation actions on the obtained content, the same operation actions can be executed on different obtained contents according to the characteristics of the second application itself. If the second application program is an instant messaging application program, the operation action of sending can be executed on the acquired content; if the second application is a browser application, the operation action of "search" can be performed on the acquired content.
When the acquired multiple executable operation actions are displayed on the second split screen, a floating layer may be popped up on the second split screen where the second application program is located, and the acquired multiple executable operation actions are displayed on the floating layer.
Through the embodiment, when the terminal is in the split-screen state, data can be transmitted among the application programs displayed on the split screens, the data of other application programs can be processed, meanwhile, the operation action for processing the data is multiple optional operation actions, the technical problem that the data processing process is complex is solved, and meanwhile, the convenience of data processing is improved.
Example 3
According to an embodiment of the present invention, there is also provided a terminal for implementing the data processing method, as shown in fig. 8, the terminal includes:
the terminal mainly comprises a processor 801, a display 803, a memory 805 and a network interface 807, wherein:
the display 803 is mainly used for displaying a first application program on a first split screen in a split screen state, displaying a second application program on a second split screen, receiving a content selection instruction and an operation action selection instruction, and displaying a content selected by the received content selection instruction and an execution result of an operation action indicated by the operation action selection instruction.
The memory 805 is mainly used for storing types of contents, executable operation actions, and correspondence between them.
The network interface 807 is mainly used for performing network communication with a server and loading data required by the first application and the second application.
The processor 801 is primarily configured to perform the following operations:
acquiring the content of a first application program displayed on a first split screen of the terminal when the terminal is in a split screen state; determining an operation action performed on the content; and executing the determined operation action on the content in a second application program displayed on a second split screen of the terminal.
The processor 801 is further configured to perform the following operations:
receiving an operation action selection instruction, wherein the operation action selection instruction is used for indicating to execute a first operation action on the content, and the first operation action is one action in a plurality of executable operation actions of the second application program on the content; the first operation action is taken as an operation action performed on the content.
Optionally, the specific examples in this embodiment may refer to the examples described in embodiment 1 and embodiment 2, and this embodiment is not described herein again.
Example 4
The embodiment of the invention also provides a storage medium. Alternatively, in the present embodiment, the storage medium may be configured to store program codes for performing the following steps:
s1, acquiring the content of the first application program displayed on the first split screen of the terminal when the terminal is in the split screen state;
s2, determining the operation action executed on the content;
and S3, executing the determined operation action on the content in the second application program displayed on the second split screen of the terminal.
Optionally, the storage medium is further arranged to store program code for performing the steps of:
s1, receiving an operation action selection instruction, wherein the operation action selection instruction is used for instructing the execution of a first operation action on the content, and the first operation action is one action in a plurality of executable operation actions of the second application program on the content;
s2, the first operation action is taken as the operation action to be executed on the content.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Optionally, the specific examples in this embodiment may refer to the examples described in embodiment 1 and embodiment 2, and this embodiment is not described herein again.
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.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (14)

1. A method of data processing, comprising:
when a terminal is in a split screen state, a second application program displayed in a second split screen on the terminal monitors content change in a clipboard or a cache on the terminal, and content stored in the clipboard or the cache is acquired under the condition that the content in the clipboard or the cache changes, wherein the content stored in the clipboard or the cache is selected by a first application program displayed on a first split screen of the terminal according to a received content selection instruction;
the second application program determines an operation action performed on the content;
and executing the determined operation action on the content in a second application program displayed on a second split screen of the terminal.
2. The method of claim 1, wherein the second application determining the operational action to perform on the content comprises:
receiving an operation action selection instruction, wherein the operation action selection instruction is used for indicating to execute a first operation action on the content, and the first operation action is one action in a plurality of executable operation actions of the second application program on the content;
and taking the first operation action as an operation action executed on the content.
3. The method of claim 2, wherein prior to receiving an operation action selection instruction, the method further comprises:
obtaining a type of the content and the plurality of executable operation actions corresponding to the type;
displaying the acquired executable operation actions on the second split screen, wherein the operation action selection instruction is used for indicating that one of the executable operation actions corresponding to the type is executed on the content.
4. The method of claim 3, wherein the type of content comprises any one or more of:
english text, chinese text, web page links, pictures, and numbers.
5. The method according to claim 1, wherein the operation action of performing the determination on the content in a second application displayed on a second split screen of the terminal comprises:
performing, by the second application, the determined operational action on the content; or
Invoking, by the second application, other applications to perform the determined operational action on the content.
6. The method of claim 5, wherein invoking, by the second application, the other application to perform the determined operational action comprises:
calling the other application programs for executing the operation actions on a second split screen where the second application program is located;
and the other application program called by the second application program executes the determined operation action on the content, wherein an operation result obtained by executing the determined operation action on the content by the other application program called by the second application program is displayed on the second split screen.
7. An apparatus for processing data, the apparatus having a second application program running thereon, comprising:
the device comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for controlling a second application program displayed in a second split screen on a terminal to monitor the content change in a clipboard or a cache on the terminal when the terminal is in a split screen state, and acquiring the content stored in the clipboard or the cache under the condition that the content in the clipboard or the cache changes, wherein the content stored in the clipboard or the cache is the content selected by a received content selection instruction in a first application program displayed on a first split screen of the terminal;
a determination unit configured to control the second application to determine an operation action performed on the content;
and the execution unit is used for executing the determined operation action on the content in a second application program displayed on a second split screen of the terminal.
8. The apparatus of claim 7, wherein the determining unit comprises:
the content processing device comprises a receiving module, a selecting module and a processing module, wherein the receiving module is used for receiving an operation action selecting instruction, the operation action selecting instruction is used for indicating that a first operation action is executed on the content, and the first operation action is one action in a plurality of executable operation actions of the second application program on the content;
a determining module, configured to take the first operation action as an operation action performed on the content.
9. The apparatus of claim 8, further comprising:
the first acquisition module is used for acquiring the type of the content and the plurality of executable operation actions corresponding to the type before receiving an operation action selection instruction;
and a display module, configured to display the acquired multiple executable operation actions on the second split screen, where the operation action selection instruction is used to instruct to execute one of the multiple executable operation actions corresponding to the type on the content.
10. The apparatus of claim 9, wherein the type of content comprises any one or more of:
english text, chinese text, web page links, pictures, and numbers.
11. The apparatus of claim 7, wherein the execution unit comprises:
the first execution module is used for calling the second application program to execute the determined operation action on the content; or
And the second execution module is used for controlling the second application program to call other application programs to execute the determined operation action on the content.
12. The apparatus of claim 11, wherein the second execution module comprises:
the calling submodule is used for calling the other application programs for executing the operation action on the second split screen where the second application program is located;
and the execution sub-module is used for controlling the other application programs called by the second application program to execute the determined operation action on the content, wherein an operation result obtained by executing the determined operation action on the content by the other application programs called by the second application program is displayed on the second split screen.
13. A computer-readable storage medium, in which a computer program is stored, which computer program, when running, performs the method of any one of claims 1 to 6.
14. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 6 by means of the computer program.
CN201610010185.3A 2016-01-06 2016-01-06 Data processing method and device Active CN106951220B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610010185.3A CN106951220B (en) 2016-01-06 2016-01-06 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610010185.3A CN106951220B (en) 2016-01-06 2016-01-06 Data processing method and device

Publications (2)

Publication Number Publication Date
CN106951220A CN106951220A (en) 2017-07-14
CN106951220B true CN106951220B (en) 2020-04-07

Family

ID=59465597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610010185.3A Active CN106951220B (en) 2016-01-06 2016-01-06 Data processing method and device

Country Status (1)

Country Link
CN (1) CN106951220B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107817934A (en) * 2017-10-31 2018-03-20 努比亚技术有限公司 A kind of method for information display, terminal and computer-readable recording medium
CN108459803B (en) * 2018-02-28 2021-08-06 努比亚技术有限公司 Picture sending method based on double-sided screen, mobile terminal and readable storage medium
CN109040428A (en) * 2018-07-03 2018-12-18 深圳天珑无线科技有限公司 A kind of mutual information processing method, communication apparatus and computer storage medium
CN108984322A (en) * 2018-07-05 2018-12-11 珠海格力电器股份有限公司 Content transmission method and device under a kind of span mode
CN110045902B (en) * 2019-04-22 2021-01-29 珠海格力电器股份有限公司 Data processing method and device and folding equipment
CN110225180B (en) * 2019-04-23 2021-01-08 维沃软件技术有限公司 Content input method and terminal equipment
CN110737383B (en) * 2019-09-30 2021-06-18 广州视源电子科技股份有限公司 Element adding method and device and electronic equipment
CN111061574B (en) * 2019-11-27 2024-04-26 维沃移动通信有限公司 Object sharing method and electronic device
CN111124709A (en) * 2019-12-13 2020-05-08 维沃移动通信有限公司 Text processing method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103645897A (en) * 2013-12-05 2014-03-19 深圳市中兴移动通信有限公司 Mobile terminal and operation method thereof
CN104063071A (en) * 2014-07-18 2014-09-24 百度在线网络技术(北京)有限公司 Content input method and device
CN104794008A (en) * 2015-04-28 2015-07-22 北京数字天域科技有限责任公司 Application program synchronizing method, device and system
CN105094551A (en) * 2015-07-24 2015-11-25 联想(北京)有限公司 Information processing method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103645897A (en) * 2013-12-05 2014-03-19 深圳市中兴移动通信有限公司 Mobile terminal and operation method thereof
CN104063071A (en) * 2014-07-18 2014-09-24 百度在线网络技术(北京)有限公司 Content input method and device
CN104794008A (en) * 2015-04-28 2015-07-22 北京数字天域科技有限责任公司 Application program synchronizing method, device and system
CN105094551A (en) * 2015-07-24 2015-11-25 联想(北京)有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
CN106951220A (en) 2017-07-14

Similar Documents

Publication Publication Date Title
CN106951220B (en) Data processing method and device
US8479113B2 (en) Apparatus, system and method for an icon driven tile bar in a graphical user interface
US20210019106A1 (en) Desktop Sharing Method and Mobile Terminal
US8239772B2 (en) Apparatus, system and method for a user profiled-based OS for mobile devices
US20150074548A1 (en) Information Sharing Method and Apparatus
US11438453B2 (en) Incoming call alert method and terminal
US9336321B1 (en) Remote browsing and searching
CN105487752A (en) Application control method and terminal applying same
CN108694009B (en) Terminal control method and device
US8631236B2 (en) Auto file locker
CN106844763B (en) A kind of method showed to the Internet media file formula of modifying and its device
CN110134451B (en) Data display method and device, storage medium and electronic device
CN107608590B (en) Picture browsing method and device
CN115114253A (en) File sharing method and device, chip and electronic equipment
CN109561352B (en) Media object playing method and device, storage medium and electronic device
CN107704491B (en) Message processing method and device
US10768789B1 (en) Dynamic rendering of interactive user experience cards
CN114690996A (en) Content display method and device and electronic equipment
CN108920487B (en) Data uploading method and device
CN106998288B (en) Data transmission method and application client
CN112800374A (en) Image importing method and device of information interaction platform and electronic equipment
CN106131820A (en) The method and apparatus that country code is provided in international call business
CN107526716B (en) Mail display method and device
CN105468794A (en) Webpage access method achieved through browser and terminal
CN115357823A (en) Page generation method and device based on picture interception 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