CN115454286B - Application data processing method and device and terminal equipment - Google Patents

Application data processing method and device and terminal equipment Download PDF

Info

Publication number
CN115454286B
CN115454286B CN202210933195.XA CN202210933195A CN115454286B CN 115454286 B CN115454286 B CN 115454286B CN 202210933195 A CN202210933195 A CN 202210933195A CN 115454286 B CN115454286 B CN 115454286B
Authority
CN
China
Prior art keywords
display data
data
application
interface
event information
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
CN202210933195.XA
Other languages
Chinese (zh)
Other versions
CN115454286A (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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210933195.XA priority Critical patent/CN115454286B/en
Publication of CN115454286A publication Critical patent/CN115454286A/en
Application granted granted Critical
Publication of CN115454286B publication Critical patent/CN115454286B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • 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]
    • 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

Landscapes

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

Abstract

The invention provides a processing method and device of application data and terminal equipment. The method comprises the following steps: receiving a triggering instruction of a user; acquiring display data of a source application on a current display interface according to a trigger instruction, and displaying a processing interface; the display data is processed according to the data operation instruction of the user, so that the terminal equipment can perform random collection or sharing processing on the event information of the display data, the operation of the user is simplified, and the experience effect of the user is greatly improved.

Description

Application data processing method and device and terminal equipment
The application is a divisional application of an invention patent application with the application number of 201680087057.7, the application date of 2016, 08 and 19, and the invention and creation name of 'application data processing method, device and terminal equipment'.
Technical Field
The present invention relates to communications technologies, and in particular, to a method, an apparatus, and a terminal device for processing application data.
Background
With the continuous development of mobile devices, various Application programs (APP) appear on the mobile devices, so as to provide convenience and entertainment for the life of users.
At present, some developers of third party applications endow the third party applications with functions of content collection and content sharing, so that users can collect or share the content concerned by themselves to other applications, for example, if the users currently view a piece of news on the "today's headline" APP, the users need to share the piece of news into the "WeChat" APP, after clicking a sharing button on the "today's headline" APP, the users pop up a sharing interface displayed by the application, and the users can select a target application needing to be shared at the interface, namely select to share to the "WeChat" APP.
The collection and sharing functions of the application content are functions provided by the application itself, so that collected data can only be checked in the source APP, and the user operation is complicated; for content sharing, the content cannot be shared with WeChat (target APP) under the authorized influence of the source APP, such as commodity links in Taobao (source APP). Therefore, the collection and sharing modes of the application data in the prior art cannot completely meet the use requirements of users, and the user experience is poor.
Disclosure of Invention
The application data processing method, device and terminal equipment provided by the embodiment of the invention are used for solving the technical problems that the collection and sharing modes of application data in the prior art cannot completely meet the use requirements of users, the user experience is poor, and the man-machine interaction is not intelligent enough.
In a first aspect, an embodiment of the present invention provides a method for processing application data, including:
receiving a trigger instruction input by a user;
acquiring display data of a source application on a current display interface according to the trigger instruction, and displaying a processing interface on the current display interface; the processing interface comprises event information of the display data and a processing control, and the processing control is used for receiving a data operation instruction of a user;
and processing the display data according to a data operation instruction input by a user based on the processing control.
According to the application data processing method provided by the first aspect, the terminal equipment obtains the display data of the source application on the current display interface through the received trigger instruction of the user, and displays event information comprising the display data and a processing control processing interface on the current display interface, so that the display data is processed according to the data operation instruction input by the user based on the processing control. According to the method provided by the embodiment of the invention, as the terminal equipment has acquired the display data of the source application on the current display interface and has displayed the event information of the display data on the processing interface of the APP with the content collection and sharing functions, which is equivalent to the fact that the display data is separated from the authorization limit of the source application, the terminal equipment can perform any collection or sharing processing on the event information of the display data on the processing interface according to the data operation instruction input by the user, and the target APP for collecting the display data or the target APP for sharing the display data is not limited by the authorization limit of the source APP, so that the operation of the user is simplified, the sharing experience of the user is greatly improved, and the interaction between the user and the application program on the terminal equipment is more intelligent; in addition, the embodiment of the invention can collect or share the display data on the system-level application which cannot provide the sharing or collecting function, does not need to collect or share in a mode of capturing screen and saving pictures, greatly saves processing expenditure and the memory of the terminal equipment, and further improves the intellectualization of the interaction between the system-level application and the user.
In one possible design, the displaying the processing interface on the current display interface specifically includes:
determining event information of display data according to the data type of the display data; the data type of the display data comprises any one or more of data of a multimedia application, data of a social chat application, data of a reading application, data of a shopping application and data of an express application;
and displaying the event information of the display data and the processing control on the processing interface.
In one possible design, the determining the event information of the display data according to the data type of the display data specifically includes one or more of the following:
if the display data are the data of the multimedia application, determining that the event information of the display data comprises the name of the multimedia file and the creator and performer of the multimedia file;
if the display data are the data of the social chat application, determining that the event information of the display data comprises time information, place information and event content related to schedule events in the dialogue content;
if the display data are the data of the reading application, determining that the event information of the display data comprises the title of the reading content and the source of the reading content;
If the display data are data of shopping application, determining that event information of the display data comprises commodity names and commodity prices;
if the display data are data of express application, determining that the event information of the display data comprises an express bill number and logistics information corresponding to the express bill number.
In one possible design, if the user inputs the data operation instruction based on the sharing control, the processing the display data according to the data operation instruction input by the user based on the processing control specifically includes:
judging whether event information of the display data meets a first preset condition corresponding to the data type of the display data according to the data type of the display data; the first preset condition comprises at least one of a display data name, a data type of the display data, a data content of the display data, a source of the display data and a user name related to the display data carried in event information of the display data;
determining interface contents to be displayed on the sharing selection interface according to the judging result;
and displaying the sharing selection interface according to the interface content, and sharing the interface content to a first target sharing application according to the first target sharing application selected by the user.
In one possible design, the determining, according to the determination result, the interface content to be displayed on the sharing selection interface specifically includes one or two of the following:
if the event information of the display data meets the first preset condition, determining that the interface content comprises the event information of the display data and a target sharing application matched with the data type of the display data;
if the event information of the display data does not meet the first preset condition, a first data processing request carrying the display data is sent to a network server, so that the event information of the display data meeting the first preset condition is obtained through the network server, and the interface content is determined to comprise the event information of the display data meeting the first preset condition and all target sharing applications matched with the data type of the display data in the terminal equipment.
According to the processing method of the application data provided in each possible design, after the user inputs the sharing instruction on the processing interface based on the sharing control, whether the event information of the display data meets the first preset condition corresponding to the data type of the display data is judged according to the data type of the display data, when the event information of the display data on the processing interface is determined not to meet the first preset condition, the terminal equipment obtains the event information of the display data meeting the first preset condition through interaction with the network server, the event information is used as interface content to be displayed on the sharing selection interface, and the interface content is displayed on the sharing selection interface, so that after the user selects the first target sharing application, the event information of the display data meeting the first preset condition is shared to the first target sharing application, effective sharing of the data among the applications is achieved, the target application can provide service for the user better, and the experience effect of the user is improved greatly.
In one possible design, if the user inputs a data operation instruction based on the collection control, the processing the display data according to the data operation instruction input by the user based on the processing control specifically includes:
determining a first target collection application matched with the data type according to the data type of the display data and a preset first mapping relation; the first mapping relation comprises corresponding relations between different data types and different types of target collection applications, wherein the target collection applications are system-level applications integrated by a system and cannot be deleted;
judging whether the event information of the display data meets a second preset condition corresponding to the first target collection application according to the application type of the first target collection application; the second preset condition comprises at least one of a display data name, a data type of the display data, a data content of the display data, a source of the display data and a user name related to the display data carried in event information of the display data;
and determining the collection content to be collected to the first target collection application according to the judgment result, and collecting the collection content to the first target collection application.
In one possible design, the determining, according to the determination result, collection content to be collected to the first target collection application specifically includes one or more of the following:
if the event information of the display data meets the second preset condition, determining that the collection content comprises the event information of the display data;
if the event information of the display data does not meet the second preset condition, sending a second data processing request carrying the display data to a network server so as to acquire the event information of the display data meeting the second preset condition through the network server, and determining that the collection content comprises the event information of the display data meeting the second preset condition.
According to the application data processing method provided in each possible design, the first target collection application matched with the data type is determined according to the data type of the display data and the preset first mapping relation, whether the event information of the display data meets the second preset condition corresponding to the first target collection application or not is judged according to the application type of the first target collection application, and when the event information of the display data does not meet the second preset condition, the event information of the display data meeting the second preset condition is obtained through interaction with the network server and collected into the first target collection application, so that a user can check perfect data through the first target collection application, and can check the data without a source application, operation of the user is greatly simplified, and effectiveness of the data is improved.
In one possible design, if the source application is a system-level application, the acquiring, according to the trigger instruction, display data of the source application on a current display interface specifically includes:
and calling an acquisition shared data interface getShareData () of the source application according to the trigger instruction, and acquiring the display data through the acquisition shared data interface.
In one possible design, if the source application is a non-system-level application, the acquiring, according to the trigger instruction, display data of the source application on a current display interface specifically includes:
acquiring the content of each control on the current display interface of the source application according to the trigger instruction and the preset configuration; the preset configuration comprises at least one of a version number of the source application, an application identifier of the source application, a page identifier of the current display interface, a control type of the control and a data type of the display data;
and acquiring the display data according to the content of each control.
In one possible design, the obtaining the display data according to the content of each control specifically includes:
Determining an effective control on the current display interface of the source application according to the data attribute of the content of each control; the effective control is a control carrying data meeting a third preset condition; the data attribute comprises at least one of text length in the control, size of a picture in the control accounting for a current interface and size of an animation in the control accounting for the current interface;
and acquiring the display data according to the content of each effective control.
In one possible design, the determining, according to the data attribute of the content of each control, the active control on the current display interface of the source application specifically includes:
if the data attribute of the control is the text length in the control and the text length of the content in the control is larger than a preset first threshold, determining that the control is an effective control;
or,
if the data attribute of the control is that the picture in the control occupies the size of the current interface and the picture in the control occupies the size of the current interface is larger than a preset second threshold, determining that the control is an effective control;
or,
if the data attribute of the control is that the animation in the control occupies the size of the current interface and is larger than a preset third threshold, determining that the control is an effective control;
The third preset condition includes any one of the text length of the content in the control being greater than the first threshold, the size of the picture in the control occupying the current interface being greater than the second threshold, and the size of the animation in the control occupying the current interface being greater than the third threshold.
According to the method provided by the above possible designs, the terminal equipment obtains the content of each control by traversing the control of the source application on the current display interface according to the data obtaining method carried by the control, and determines the effective control of the source application on the current display interface according to the data attribute of the content of each control, so that the display data of the source application on the current display interface is obtained according to the content of each effective control, and the display data obtained by the method is subordinate to the APP with the content collection and sharing function in FIG. 5, and is not limited by the authorization of the source application, so that the terminal equipment can randomly share or collect the display data based on the APP with the content collection and sharing function, and the target APP for collecting the display data or the target APP for sharing the display data is not limited by the authorization of the source APP, thereby simplifying the operation of a user, greatly improving the user and the collection experience, and enabling the interaction of the user and the application programs on the terminal equipment to be more intelligent.
In a second aspect, an embodiment of the present invention provides an apparatus for processing application data, including:
the receiving module is used for receiving a trigger instruction input by a user;
the acquisition module is used for acquiring display data of the source application on the current display interface according to the trigger instruction;
the display module is used for displaying a processing interface on the current display interface; the processing interface comprises event information of the display data and a processing control, and the processing control is used for receiving a data operation instruction of a user;
and the processing module is used for processing the display data according to a data operation instruction input by a user based on the processing control.
In one possible design, the display module specifically includes:
a first determining unit, configured to determine event information of display data according to a data type of the display data; the data type of the display data comprises any one or more of data of a multimedia application, data of a social chat application, data of a reading application, data of a shopping application and data of an express application;
and the display unit is used for displaying the event information of the display data and the processing control on the processing interface.
In one possible design, the first determination unit is specifically configured for one or more of the following: when the display data is data of a multimedia application, determining event information of the display data to comprise names of multimedia files and creators and performers of the multimedia files; the method comprises the steps that when display data are data of a social chat application, event information of the display data is determined to comprise time information, place information and event content related to schedule events in dialogue content; when the display data are data of a reading application, determining that event information of the display data comprises a title of reading content and a source of the reading content; when the display data is data of a shopping application, determining that event information of the display data comprises commodity names and commodity prices; when the display data are data of express application, determining that event information of the display data comprises express bill numbers and logistics information corresponding to the express bill numbers.
In one possible design, the processing controls include at least one of a sharing control, a favorites control.
In one possible design, if the user inputs a data operation instruction based on the sharing control, the processing module specifically includes: the device comprises a first judging unit, a second determining unit and a sharing unit;
The first judging unit is used for judging whether the event information of the display data meets a first preset condition corresponding to the data type of the display data according to the data type of the display data; the first preset condition comprises at least one of a display data name, a data type of the display data, a data content of the display data, a source of the display data and a user name related to the display data carried in event information of the display data;
the second determining unit is used for determining interface contents to be displayed on the sharing selection interface according to the judging result;
the display module is further used for displaying the sharing selection interface according to the interface content;
and the sharing unit is used for sharing the interface content to the first target sharing application according to the first target sharing application selected by the user.
In one possible design, the second determination unit is specifically configured for one or both of the following: when the event information of the display data meets the first preset condition, determining that the interface content comprises the event information of the display data and a target sharing application matched with the data type of the display data; when the event information of the display data does not meet the first preset condition, a first data processing request carrying the display data is sent to a network server, so that the event information of the display data meeting the first preset condition is obtained through the network server, and the interface content is determined to comprise the event information of the display data meeting the first preset condition and all target sharing applications matched with the data type of the display data in the terminal equipment.
In one possible design, if the user inputs a data operation instruction based on the collection control, the processing module includes:
the third determining unit is used for determining a first target collection application matched with the data type according to the data type of the display data and a preset first mapping relation; the first mapping relation comprises corresponding relations between different data types and different types of target collection applications, wherein the target collection applications are system-level applications integrated by a system and cannot be deleted;
the second judging unit is used for judging whether the event information of the display data meets a second preset condition corresponding to the first target collection application according to the application type of the first target collection application; the second preset condition comprises at least one of a display data name, a data type of the display data, a data content of the display data, a source of the display data and a user name related to the display data carried in event information of the display data;
and the collection unit is used for determining the collection content to be collected to the first target collection application according to the judgment result and collecting the collection content to the first target collection application.
In one possible design, the storage unit is specifically configured for one or more of the following: when the event information of the display data meets the second preset condition, determining that the collection content comprises the event information of the display data; and when the event information of the display data does not meet the second preset condition, sending a second data processing request carrying the display data to a network server so as to acquire the event information of the display data meeting the second preset condition through the network server, and determining that the collection content comprises the event information of the display data meeting the second preset condition.
In one possible design, the source application includes a system-level application or a non-system-level application that is a non-system integrated and deletable application.
In one possible design, if the source application is a system level application, the obtaining module is specifically configured to invoke, according to the trigger instruction, a getShareData () of the source application, and obtain the display data through the getShareData () interface.
In one possible design, if the source application is a non-system-level application, the acquiring module is specifically configured to acquire, according to the trigger instruction and a preset configuration, content of each control on a current display interface of the source application, and acquire the display data according to the content of each control;
The control is an interface element on the current display interface, and the preset configuration comprises at least one of a version number of the source application, an application identifier of the source application, a page identifier of the current display interface, a control type of the control and a data type of the display data.
In one possible design, the obtaining module is specifically configured to determine, according to a data attribute of the content of each control, an effective control on the current display interface of the source application, and obtain the display data according to the content of each effective control;
the effective control is a control carrying data meeting a third preset condition; the data attribute comprises at least one of text length in the control, size of the picture in the control accounting for the current interface, and size of the animation in the control accounting for the current interface.
In one possible design, the obtaining module is specifically configured to determine that the control is an effective control when the data attribute of the control is a text length in the control and the text length in the control is greater than a preset first threshold; or when the data attribute of the control is that the picture in the control occupies the size of the current interface and is larger than a preset second threshold, determining that the control is an effective control; or when the data attribute of the control is that the animation in the control occupies the size of the current interface and is larger than a preset third threshold, determining that the control is an effective control;
The third preset condition includes any one of the text length in the control being greater than the first threshold, the size of the picture in the control occupying the current interface being greater than the second threshold, and the size of the animation in the control occupying the current interface being greater than the third threshold.
The advantages of the application data processing apparatus provided by the second aspect and the possible designs of the second aspect may refer to the advantages brought by the first aspect and the possible designs of the first aspect, and are not described herein again.
In a third aspect, an embodiment of the present invention provides a terminal device, including:
input device for receiving trigger instruction input by user
The processor is used for acquiring display data of the source application on the current display interface according to the trigger instruction;
the display device is used for displaying a processing interface on the current display interface; the processing interface comprises event information of the display data and a processing control, and the processing control is used for receiving a data operation instruction of a user;
the processor is further used for processing the display data according to a data operation instruction input by a user based on the processing control.
In one possible design, the processor is further configured to determine event information of the display data according to a data type of the display data; the data type of the display data comprises any one or more of data of a multimedia application, data of a social chat application, data of a reading application, data of a shopping application and data of an express application;
the display device is specifically configured to display the event information of the display data and the processing control on the processing interface.
In one possible design, the processor is further configured to determine event information of the display data according to a data type of the display data, and specifically includes:
the processor is specifically configured to one or more of the following: when the display data is data of a multimedia application, determining event information of the display data to comprise names of multimedia files and creators and performers of the multimedia files; when the display data is the data of the social chat application, determining that the event information of the display data comprises time information, place information and event content related to schedule events in dialogue content; when the display data are data of a reading application, determining that event information of the display data comprises a title of reading content and a source of the reading content; when the display data is data of a shopping application, determining that event information of the display data comprises commodity names and commodity prices; and when the display data are data of the express application, determining that the event information of the display data comprises an express bill number and logistics information corresponding to the express bill number.
In one possible design, the processing controls include at least one of a sharing control, a favorites control.
In one possible design, if the user inputs a data operation instruction based on the sharing control, the processor is configured to process the display data according to the data operation instruction input by the user based on the processing control, and specifically includes:
the processor is specifically configured to determine, according to a data type of the display data, whether event information of the display data meets a first preset condition corresponding to the data type of the display data, and determine, according to a determination result, interface content to be displayed on a sharing selection interface; the first preset condition comprises at least one of a display data name, a data type of the display data, a data content of the display data, a source of the display data and a user name related to the display data carried in event information of the display data;
the display device is further used for displaying the sharing selection interface according to the interface content;
the processor is further configured to share the interface content to a first target sharing application according to a first target sharing application selected by a user.
In one possible design, the terminal device further comprises a transceiver;
the processor is configured to determine, according to a determination result, interface content to be displayed on the sharing selection interface, and specifically includes:
the processor is specifically configured to one or both of the following: when the event information of the display data meets the first preset condition, determining that the interface content comprises the event information of the display data and a target sharing application matched with the data type of the display data; when the event information of the display data does not meet the first preset condition, a first data processing request carrying the display data is sent to a network server through the transceiver, so that the event information of the display data meeting the first preset condition is obtained through the network server, and the interface content is determined to comprise the event information of the display data meeting the first preset condition and all target sharing applications matched with the data type of the display data in the terminal equipment.
In one possible design, if the user inputs a data operation instruction based on the collection control, the processor is configured to process the display data according to the data operation instruction input by the user based on the processing control, and specifically includes:
The processor is specifically configured to determine a first target collection application that is matched with the data type according to the data type of the display data and a preset first mapping relationship, and determine whether event information of the display data meets a second preset condition corresponding to the first target collection application according to an application type of the first target collection application; determining the collection content to be collected to the first target collection application according to the judgment result, and collecting the collection content to the first target collection application;
the first mapping relation comprises corresponding relations between different data types and different types of target collection applications, wherein the target collection applications are system-level applications integrated by a system and cannot be deleted; the second preset condition comprises at least one of a display data name, a data type of the display data, a data content of the display data, a source of the display data and a user name related to the display data carried in the event information of the display data.
In one possible design, the processor is configured to determine, according to a result of the determination, collection contents to be collected into the first target collection application, and specifically includes:
The processor is specifically configured to one or more of the following: when the event information of the display data meets the second preset condition, determining that the collection content comprises the event information of the display data; when the event information of the display data does not meet the second preset condition, a second data processing request carrying the display data is sent to a network server through a transceiver so as to acquire the event information of the display data meeting the second preset condition through the network server, and the collection content is determined to comprise the event information of the display data meeting the second preset condition.
In one possible design, the source application includes a system-level application or a non-system-level application that is a non-system integrated and deletable application.
In one possible design, if the source application is a system-level application, the processor is configured to obtain, according to the trigger instruction, display data of the source application on a current display interface, and specifically includes:
the processor is specifically configured to invoke, according to the trigger instruction, an acquire shared data interface getShareData () of the source application, and acquire the display data through the acquire shared data interface.
In one possible design, if the source application is a non-system-level application, the processor is configured to obtain display data of the source application on a current display interface according to the trigger instruction, and specifically includes:
the processor is specifically configured to obtain, according to the trigger instruction and a preset configuration, content of each control on a current display interface of the source application, and obtain, according to the content of each control, the display data;
the control is an interface element on the current display interface, and the preset configuration comprises at least one of a version number of the source application, an application identifier of the source application, a page identifier of the current display interface, a control type of the control and a data type of the display data.
In one possible design, the processor is configured to obtain the display data according to the content of each control, and specifically includes:
the processor is specifically configured to determine an effective control on the current display interface of the source application according to the data attribute of the content of each control, and acquire the display data according to the content of each effective control;
The effective control is a control carrying data meeting a third preset condition; the data attribute comprises at least one of text length in the control, size of the picture in the control accounting for the current interface, and size of the animation in the control accounting for the current interface.
In one possible design, the processor is configured to determine, according to the data attribute of the content of each control, a valid control on the current display interface of the source application, and specifically includes:
the processor is specifically configured to determine that the control is an effective control when the data attribute of the control is a text length in the control and the text length in the control is greater than a preset first threshold; or when the data attribute of the control is that the picture in the control occupies the size of the current interface and is larger than a preset second threshold, determining that the control is an effective control; or when the data attribute of the control is that the animation in the control occupies the size of the current interface and is larger than a preset third threshold, determining that the control is an effective control;
The third preset condition includes any one of the text length in the control being greater than the first threshold, the size of the picture in the control occupying the current interface being greater than the second threshold, and the size of the animation in the control occupying the current interface being greater than the third threshold.
The advantages of the terminal device provided by the third aspect and the possible designs of the third aspect may refer to the advantages brought by the first aspect and the possible designs of the first aspect, which are not described herein.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an application data sharing scenario provided in an embodiment of the present invention;
FIG. 2 is a schematic view of an application data collection scenario provided in an embodiment of the present invention;
Fig. 3 is a block diagram of a hardware structure of a mobile phone according to an embodiment of the present invention;
fig. 4 is a block diagram of an android operating system in the prior art according to an embodiment of the present invention;
FIG. 5 is a block diagram of an android operating system according to an embodiment of the present invention;
fig. 6 is a flowchart of a first embodiment of a method for processing application data according to an embodiment of the present invention;
fig. 7 is a schematic flow chart of a second embodiment of a method for processing application data according to the embodiment of the present invention;
fig. 8 is a schematic flow chart of a third embodiment of a method for processing application data according to the embodiment of the present invention;
FIG. 9 is a first schematic diagram of a processing interface according to an embodiment of the present invention;
FIG. 10 is a first schematic diagram of a sharing selection interface according to an embodiment of the present invention;
FIG. 11 is a current display interface of shelled shrimp music provided by an embodiment of the invention;
FIG. 12 is a second schematic diagram of a processing interface according to an embodiment of the present invention;
FIG. 13 is a second schematic diagram of a sharing selection interface according to an embodiment of the present invention;
fig. 14 is a flowchart of a fourth embodiment of a method for processing application data according to the present invention;
fig. 15 is a flowchart of a fifth embodiment of a method for processing application data according to the embodiment of the present invention;
Fig. 16 is a schematic structural diagram of a first embodiment of an application data processing apparatus according to an embodiment of the present invention;
fig. 17 is a schematic structural diagram of a second embodiment of an application data processing device according to the present invention;
fig. 18 is a schematic structural diagram of a third embodiment of an application data processing apparatus according to the present invention;
fig. 19 is a schematic structural diagram of a fourth embodiment of an application data processing apparatus according to the present invention;
fig. 20 is a schematic structural diagram of an embodiment of a terminal device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The Application data processing method provided by the embodiment of the invention not only can be suitable for a scene of sharing Application data between any two Application programs on the terminal equipment, but also can be suitable for a scene of collecting some data related in the Application programs by the terminal equipment, referring to an Application program data sharing scene diagram shown in fig. 1 and an Application program data collecting scene diagram shown in fig. 2, and the Application programs in the scenes shown in fig. 1 and 2 are Application programs (APP) facing users and being operated by the users.
In fig. 1, it is generally valuable for a user to generate process data when using an APP, and the user wants a third party application in a terminal device to provide better services for the user by using the process data, for example, the user chatts with friends in WeChat, and chat content may include personal information, travel information, picture information, etc. of the user, so that part or all of the data in the chat content may be shared to the third party application according to the chat content, for example, a schedule reminder of 3 pm in open to the day may be created for the user in the schedule APP (i.e. the message content is shared to the schedule application) according to a message "eat at 3 pm in open to the day" sent by the user to a friend in WeChat. In fig. 2, in the prior art, data of the application a is to be collected, the data can be collected according to a mode of the prior art, but when the collected data is to be viewed, the data can be viewed only through the application a, the viewing mode of a user is limited, in fig. 2, the data of the application a can be collected into a certain system-level application, the user can directly view the data through the system-level application, the data is not limited by the application a, the viewing mode is various, and a specific process is described in the following embodiments.
In addition, the terminal device according to the embodiment of the present invention may include a mobile phone, a tablet computer, a PDA (Personal Digital Assistant ), a POS (Point of Sales), a car-mounted computer, and the like.
Taking a mobile terminal as an example of a mobile phone, fig. 3 is a block diagram illustrating a part of the structure of a mobile phone 100 according to an embodiment of the present invention. Referring to fig. 3, a mobile phone 100 includes components such as an RF (Radio Frequency) circuit 110, a memory 120, other Input devices 130, a display 140, a sensor 150, an audio circuit 160, an Input or Output (I/O) subsystem 170, a processor 180, and a power supply 190. It will be appreciated by those skilled in the art that the handset construction shown in fig. 3 is not limiting of the handset and may include more or fewer components than shown, or may combine certain components, or split certain components, or a different arrangement of components. Those skilled in the art will appreciate that the display 140 pertains to a User Interface (UI), and that the handset 100 may include fewer User interfaces than shown or otherwise.
The following describes the components of the mobile phone 100 in detail with reference to fig. 3:
The RF circuit 110 may be used for receiving and transmitting signals during the process of receiving and transmitting information or communication, specifically, after receiving downlink information of the base station, the downlink information is processed by the processor 180; in addition, the data of the design uplink is sent to the base station. Typically, RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, an LNA (Low Noise Amplifier ), a duplexer, and the like. In addition, RF circuit 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol including, but not limited to, GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service ), CDMA (Code Division Multiple Access, code division multiple access), WCDMA (Wideband Code Division Multiple Access ), LTE (Long Term Evolution, long term evolution), email, SMS (Short Messaging Service, short message service), and the like.
The memory 120 may be used to store software programs and modules, and the processor 180 performs various functional applications and data processing of the mobile phone 100 by running the software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, application programs required for 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, phonebook, etc.) created according to the use of the handset 100, etc. In addition, memory 120 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.
Other input devices 130 may be used to receive entered numeric or character information and to generate key signal inputs related to user settings and function control of the handset 100. In particular, other input devices 130 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, a light mouse (a light mouse is a touch-sensitive surface that does not display visual output, or an extension of a touch-sensitive surface formed by a touch screen), and the like. The other input devices 130 are connected to the other input device controllers 171 of the I/O subsystem 170 and interact with the processor 180 under control of the other device input controllers 171.
The display 140 may be used to display information entered by a user or provided to a user as well as various menus of the handset 100 and may also accept user inputs. Specifically, the display screen 140 may include a display panel 141, and a touch panel 142. The display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. The touch panel 142, also referred to as a touch screen, a touch sensitive screen, etc., may collect touch or non-touch operations on or near the user (e.g., operations of the user using any suitable object or accessory such as a finger, a stylus, etc., on the touch panel 142 or near the touch panel 142, may also include somatosensory operations; the operations include single-point control operations, multi-point control operations, etc., operation types.) and drive the corresponding connection devices according to a preset program. Alternatively, the touch panel 142 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth and the touch gesture of a user, detects signals brought by touch operation and transmits the signals to the touch controller; the touch controller receives touch information from the touch detection device, converts the touch information into information which can be processed by the processor, sends the information to the processor 180, and can receive and execute commands sent by the processor 180. In addition, the touch panel 142 may be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave, and the touch panel 142 may be implemented by any technology developed in the future. Further, the touch panel 142 may overlay the display panel 141, and a user may operate on or near the touch panel 142 overlaid on the display panel 141 based on content displayed by the display panel 141 (including, but not limited to, a soft keyboard, a virtual mouse, virtual keys, icons, etc.), and upon detection of an operation thereon or thereabout by the touch panel 142, the touch panel 142 is passed to the processor 180 via the I/O subsystem 170 to determine user input, and the processor 180 then provides a corresponding visual output on the display panel 141 via the I/O subsystem 170 based on the user input. Although in fig. 2, the touch panel 142 and the display panel 141 are two separate components to implement the input and output functions of the mobile phone 100, in some embodiments, the touch panel 142 and the display panel 141 may be integrated to implement the input and output functions of the mobile phone 100.
The handset 100 may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the mobile phone 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may be configured with the mobile phone 100 are not described herein.
Audio circuitry 160, speaker 161, and microphone 162 can provide an audio interface between the user and the handset 100. The audio circuit 160 may transmit the received audio data converted signal to the speaker 161, and the speaker 161 converts the signal into a sound signal to output; on the other hand, the microphone 162 converts the collected sound signal into a signal, which is received by the audio circuit 160 and converted into audio data, which is output to the RF circuit 110 for transmission to, for example, another cellular phone, or to the memory 120 for further processing.
The I/O subsystem 170 is used to control input and output external devices, which may include other device input controllers 171, sensor controllers 172, and display controllers 173. Optionally, one or more other input control device controllers 171 receive signals from other input devices 130 and/or send signals to other input devices 130, and other input devices 130 may include physical buttons (push buttons, rocker buttons, etc.), dials, slider switches, joysticks, click wheels, optical mice (optical mice are touch-sensitive surfaces that do not display visual output, or extensions of touch-sensitive surfaces formed by touch screens). It is noted that other input control device controller 171 may be coupled to any one or more of the above devices. The display controller 173 in the I/O subsystem 170 receives signals from the display screen 140 and/or transmits signals to the display screen 140. After the display screen 140 detects the user input, the display controller 173 converts the detected user input into an interaction with the user interface object displayed on the display screen 140, i.e., a man-machine interaction is realized. The sensor controller 172 may receive signals from one or more sensors 150 and/or transmit signals to one or more sensors 150.
The processor 180 is a control center of the mobile phone 100, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile phone 100 and processes data by running or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the mobile phone. Optionally, the processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The handset 100 also includes a power supply 190 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 180 via a power management system so as to provide for the management of charge, discharge, and power consumption by the power management system.
Although not shown, the mobile phone 100 may further include a camera, a bluetooth module, etc., which will not be described herein.
In summary, fig. 3 describes a structure frame of a terminal device, taking a mobile phone as an example, from a hardware composition perspective, and the method for processing application data according to the embodiment of the present invention also relates to a system architecture of a software layer of the terminal device, and it should be noted that, the method according to the embodiment of the present invention may be applicable to an Android (Android) system, an OS system, a Darwin system, an RTXC system, a Linux system, a Unix system, a Windows system, and an embedded operating system, for example, an operating system such as VxWorks. Similarly, based on the above-mentioned example of fig. 3 taking a mobile phone as an example, fig. 4 below takes an operating system as an example of an Android system on the mobile phone, and describes a system framework of a software operating system related to the method according to the embodiment of the present invention.
Specifically, android is an open-source mobile operating system, which is used as a mobile device platform, and its hierarchical structure includes an operating system, middleware (middleware Ware) and Application (Application), as shown in fig. 4, where the Android operating system is divided into the following layers:
(1) Application layer (Application)
A developer may develop an application program based on an android software development kit (Software Development Kit, abbreviated as SDK), and the operating system itself may also include some basic applications, such as a system-level application such as a sms, a phone, a picture viewer, and a Web browser.
(2) Application framework layer (Application Framework)
The Android application framework layer provides various application program interfaces (Application Programming Interface, abbreviated as APIs) for the application layer, and includes various controls required in a User Interface (UI) program, for example: view (view component) includes textView (text control), listView (list), buttons, webView (web browser control)
(3) System library and Runtime environment layer (Libraries & Android run time)
The layer comprises various libraries and a runtime environment, wherein the various libraries mainly comprise a C library, a multimedia library, a graphic processing engine and the like; the runtime environment is mainly a Dalvik virtual machine, which is different from a standard JAVA virtual machine, and which executes a dex file, which is a virtual machine tailored and optimized for mobile devices.
(4) Linux Kernel layer (Kernel)
Android is based on Linux kernel development, and core system services, memory management, process management, network protocols and drivers of the Android depend on the Linux kernel. The lower part of the Linux kernel layer is the hardware layer of the mobile phone introduced in fig. 2.
The above-described fig. 3 and 4 illustrate the architecture of the terminal device from a hardware and software perspective, respectively. In the prior art, for an APP (set as a source APP) currently running on a terminal device, if a user wants to collect related data related to the APP, the data can only be checked by logging in the source APP when checking in the future, for example, if the user currently checks a piece of news on the "today's headline" APP, the user wants to collect the piece of news, but after the collected news, the user can only check in the "today's headline" APP, and the user operation is complicated; in addition, if the user wants to share some data in the source APP into other APPs, whether the user can share the data is limited by the authorization of the source APP, for example, the commodity link in the panning (source APP) cannot be shared into the WeChat (target APP) because the developer of the panning APP does not have authorization to share the panning data into the WeChat APP. Therefore, the collection and sharing modes of the application data in the prior art cannot completely meet the use requirements of users, and the user experience is poor.
Therefore, the processing method, the processing device and the terminal equipment of the application data provided by the embodiment of the invention aim to solve the technical problems that the collection and sharing modes of the application data in the prior art cannot completely meet the use requirements of users, the user experience is poor, and the human-computer interaction is not intelligent enough.
Referring to fig. 5, in order to solve the above-mentioned problems in the prior art, taking the Android system as an example, the embodiment of the present invention is based on the Android operating system architecture hierarchy shown in fig. 4, and an Application layer (Application) and an Application framework layer (Application Framework) of the Android operating system are improved, that is, an APP having functions of collecting and sharing data of any Application is added in the Application layer, and a content acquiring device, a content collecting and sharing service device is added in the Application framework layer, where the content collecting and sharing service device integrates a content acquiring interface for acquiring data from the content acquiring device, and a sharing interface for receiving a sharing request from a third party Application and a collecting interface for receiving a collecting request of the third party Application, and these interfaces may be software interfaces, for example, API interfaces. Based on fig. 5, in the embodiment of the present invention, display data of a source application on a current display interface is obtained through a content obtaining device (it should be noted that, in the prior art, the display data of the source application is obtained by the source application, and the sharing and collection of the display data are controlled by the authorization of the source application), alternatively, the present invention may obtain the display data by traversing a control of the source application on the current display interface, and when the source application is a system-level application, may also obtain the display data by calling an obtained data sharing interface "get data share ()" of the source application, where the obtained display data is APP of the function of collection and sharing in fig. 5, that is, the collection and sharing of the display data are not controlled by the authorization of the source application. Therefore, the user can trigger the APP with the function of collecting and sharing the data of any application through a corresponding trigger instruction (the specific content of the trigger instruction can be described in the following embodiments), the APP is used for collecting or sharing the display data of the source application, the shared object is not limited by the authorization of the source APP, the collected content can be collected to different APPs, and the limitation that the collected content must be checked based on the source APP in the prior art is also not limited. Meanwhile, when the architecture level of the android operating system is improved, the APP with the function of collecting and sharing data of any application in the embodiment of the invention can enable the content of sharing or collection to better meet the requirements of users through interaction with a network server side, and a specific process can be described in the following embodiments.
Alternatively, the execution body of the method embodiment described below may be a terminal device, or may be a processing apparatus of application data integrated in the terminal device, where the apparatus may be implemented by using software, hardware, or a combination of software and hardware. Optionally, the following method embodiments are described taking an execution body as an example of a terminal device.
The technical scheme of the invention is described in detail below by specific examples. The following embodiments may be combined with each other, and some embodiments may not be repeated for the same or similar concepts or processes.
Fig. 6 is a flowchart of an embodiment of a method for processing application data according to an embodiment of the present invention. The embodiment relates to a specific process that a terminal device triggers the terminal device to acquire display data on a current display interface of a source application according to a trigger instruction input by a user, and processes the display data according to a generated processing interface and operation of the user on the processing interface, so that processing of the display data is not limited by authorization of a source APP. As shown in fig. 6, the method includes the steps of:
s101: and receiving a trigger instruction input by a user.
Specifically, the triggering instruction in the embodiment of the present invention may trigger the APP having a function of collecting and sharing data of any application in fig. 5, and when triggering the APP, it is equivalent to triggering the terminal device to obtain the display data of the source application on the current display interface, where the triggering instruction may be determined by the terminal device according to the triggering operation on the current display interface. Optionally, a trigger operation set may be preset in the terminal device, where the set may include one or more trigger operations, and as long as the trigger operation currently input by the user matches the trigger operation in the set, the terminal device determines that the trigger instruction input by the user is currently received. Optionally, the triggering operation in the triggering operation set may be an operation of sliding along a preset track, for example, an up-sliding operation or a down-pulling operation on a current screen, or a sliding operation of a user along an S-shaped track, etc., optionally, the triggering operation may also be an operation of pressing a virtual control for a long time, for example, an operation of pressing a home key for a long time, optionally, the triggering operation may also be a click operation of a preset number of times or a preset frequency, for example, a double click operation, a multiple click operation, etc.
S102: and acquiring display data of the source application on the current display interface according to the trigger instruction, and displaying a processing interface on the current display interface.
The processing interface comprises event information of the display data and a processing control, and the processing control is used for receiving a data operation instruction of a user.
Specifically, when the terminal device receives a trigger instruction input by a user, the terminal device acquires display data of the source application on the current display interface, and optionally, the display data may be part or all of the display data of the source application on the current display interface. Optionally, the terminal device may acquire the display data of the source application on the current display interface through the content acquiring device in fig. 5, and transmit the display data to the APP with the content collecting and sharing function in fig. 5 through the content collecting and sharing service device, that is, the display data of the source application acquired by the terminal device on the current display interface is currently affiliated to the APP with the content collecting and sharing function, which is separated from the authorization limitation of the source application. The source application related in the embodiment of the invention is an application which is currently running on the terminal equipment and is being displayed. Alternatively, the source application may be a system-level application, which is a non-deletable application integrated by a system, such as a call, a sms, a gallery, or the like, or a non-system-level application (a third party application) which is a non-system-integrated and deletable application (i.e., an application installed by a user from an application market or a network, such as a WeChat, a microblog, a QQ, or the like).
After the terminal device obtains the display data of the source application on the current display interface, the terminal device generates a processing interface (in combination with fig. 5, the triggering instruction triggers the APP start with the function of collecting and sharing the data of any application, the APP displays a processing interface), the processing interface floats on the current display interface, the processing interface includes event information of the display data and a processing control corresponding to the event information of the display data, and the processing control is used for receiving a data operation instruction of a user. Alternatively, the event information of the display data may be part of the display data, or may be all of the display data, where the event information of the display data is related to a data type of the display data, and different types of display data correspond to different event information of the display data, for example, if the display data is music data of a music application, the event information of the display data may be a name of music and a singer of the music, and the content of the event information of the display data is not limited in this embodiment.
Optionally, the processing control may be at least one of a collection control and a sharing control, if the user clicks the collection control to represent the data operation instruction input by the user as a collection instruction, if the user clicks the sharing control to represent the data operation instruction input by the user as a sharing instruction, optionally, the processing control may also be a voice input control, the user may input a corresponding voice instruction through the voice input control, and the terminal device analyzes the voice instruction to determine whether the voice instruction is the collection instruction or the sharing instruction; in summary, the embodiments of the present invention do not limit the type of processing control.
S103: and processing the display data according to a data operation instruction input by a user based on the processing control.
Specifically, when the terminal device receives a data operation instruction input by a user based on the processing control on the display interface, the terminal device processes the event information of the display data according to the data operation instruction. Because the terminal device has acquired the display data of the source application on the current display interface, the display data belongs to the APP with the content collection and sharing function in fig. 5, and the APP with the content collection and sharing function displays the event information of the display data on the processing interface, which is equivalent to that the display data is separated from the authorization limit of the source application, so that the terminal device can perform any processing on the event information of the display data on the processing interface according to the data operation instruction input by the user, for example, the event information of the display data is shared into any target APP without obtaining the authorization of the source APP or considering the authorization limit of the target APP, the experience degree of the user is greatly improved, or the event information of the display data is collected into other APPs, so that the user can view without logging in the source APP when viewing the display data, and the operation of the user is greatly simplified.
In addition, the embodiment of the invention does not limit the type of the source application, that is, if the source application is a system-level application, because the event information of the display data is already displayed on the processing interface (which is equivalent to that the display data is separated from the authorization limit of the source application), the technical scheme of the embodiment of the invention can collect or share the display data of the system-level application on the current display interface without collecting or sharing the display data in a mode of capturing and saving pictures, thereby greatly saving processing expenditure and the memory of the terminal equipment and further improving the intellectualization of the interaction between the system-level application and the user.
According to the application data processing method provided by the embodiment of the invention, the terminal equipment acquires the display data of the source application on the current display interface through the received trigger instruction of the user, and displays the event information comprising the display data and the processing control processing interface on the current display interface, so that the display data is processed according to the data operation instruction input by the user based on the processing control. According to the method provided by the embodiment of the invention, as the terminal equipment has acquired the display data of the source application on the current display interface and has displayed the event information of the display data on the processing interface of the APP with the content collection and sharing functions, which is equivalent to the fact that the display data is separated from the authorization limit of the source application, the terminal equipment can perform any collection or sharing processing on the event information of the display data on the processing interface according to the data operation instruction input by the user, and the target APP for collecting the display data or the target APP for sharing the display data is not limited by the authorization limit of the source APP, so that the operation of the user is simplified, the sharing experience of the user is greatly improved, and the interaction between the user and the application program on the terminal equipment is more intelligent; in addition, the embodiment of the invention can collect or share the display data on the system-level application which cannot provide the sharing or collecting function, does not need to collect or share in a mode of capturing screen and saving pictures, greatly saves processing expenditure and the memory of the terminal equipment, and further improves the intellectualization of the interaction between the system-level application and the user.
Fig. 7 is a flowchart of a second embodiment of a processing method of application data according to an embodiment of the present invention. The embodiment relates to a specific process of determining an event message of display data according to the data type of the display data after the terminal equipment acquires the display data of a source application on a current display interface. Further, the process of displaying the processing interface on the current display interface in S102 may include the following steps:
s201: and determining event information of the display data according to the data type of the display data.
The data type of the display data comprises any one or more of data of a multimedia application, data of a social chat application, data of a reading application, data of a shopping application and data of an express application.
Alternatively, the multimedia application may include a music application, a video application, an animation application, etc., and the data of the multimedia application may include music type data, video type data, animation type data, etc.; the social chat application may be, for example, a WeChat application, a SMS application, a QQ application, or the like, which involves the user performing voice, text, or video chat, where the data of the social chat application may include text data, picture data, or the like in the dialogue content; the reading application may be, for example, an electronic book application, an application capable of browsing news, etc., and the data of the reading application may include text content, picture content, etc. in the reading content; the shopping application may be, for example, an application related to commodity transaction such as naughty, jingdong, etc., and the data of the shopping application may include the commodity name of the transaction, the merchant to which the commodity belongs, the price of the commodity, etc.; the application of the express class can be, for example, an application related to logistics information, such as express 100, and the data of the application of the express class can be information, such as the name of an article, a single number, and the like of the express.
After acquiring the display data of the source application on the current display interface, the terminal device determines the data type of the display data, and further determines event information of the display data, which should be displayed on the processing interface, according to the display type of the display data, wherein the event information specifically may include one or more of the following:
when the display data are data of the multimedia application, the terminal equipment determines that the event information of the display data comprises the name of the multimedia file and the creator and performer of the multimedia file; for example, if the display data is data of a music application, event information of the display data is a name of music and a singer of the music, and if the display data is data of a video application, event information of the display data is a name of the video and director or performer information of the video.
If the display data are the data of the social chat application, the terminal equipment determines that the event information of the display data comprises time information, place information and event content related to schedule events in the dialogue content; for example, if the display data is data of a sms application, and if the dialogue content of the sms application includes schedule information agreed by both parties, the event information of the display data may include time information, place information and corresponding event content of the schedule event, for example, see an interface schematic diagram shown in fig. 9.
If the display data are the data of the reading application, the terminal equipment determines that the event information of the display data comprises the title of the reading content and the source of the reading content; for example, assuming that the display data is data of a news application, for example, the display data of the current display interface of the present headline application, and assuming that the display of the present display interface of the present headline application is a news content, the terminal device determines that the event information of the display data may include a headline of news and a source website of news.
If the display data are data of shopping application, the terminal equipment determines that the event information of the display data comprises commodity names and commodity prices; if the display data are data of express application, determining that event information of the display data comprises express bill numbers and logistics information corresponding to the express bill numbers.
S202: and displaying the event information of the display data and the processing control on the processing interface.
The specific technical scheme of the embodiment of the invention is introduced from two aspects of collection and sharing respectively, and the sharing mode in the embodiment of the invention is not limited by the authorization of the source APP, and the collection mode and the collection content are not limited by the source APP. In addition, the technical scheme of the embodiment of the invention also solves the technical problem that the system-level application in the prior art cannot provide sharing and collecting functions, and through the technical scheme of the embodiment, the display data in the system-level application can be collected and shared correspondingly without screen capturing.
Fig. 8 is a flowchart of a third embodiment of a method for processing application data according to an embodiment of the present invention. On the basis of the above embodiment, the processing control includes at least one of a sharing control and a collection control, and the processing interface may be shown in fig. 9, and the sharing selection interface may be suspended on the current display interface of the source APP, for example, may be shown in fig. 10. The embodiment relates to a specific process of sharing data of a source application on a current display interface by a terminal device, and in the embodiment, a user inputs a data operation instruction based on a sharing control in the processing interface, wherein the data operation instruction is a sharing instruction. In combination with the above embodiment, the method may include the steps of:
s301: and receiving a trigger instruction input by a user.
S302: and acquiring display data of the source application on the current display interface according to the trigger instruction, and displaying a processing interface on the current display interface.
The processing interface comprises event information of the display data and a processing control, and the processing control is used for receiving a data operation instruction of a user.
In this embodiment, the processing control includes a separate sharing control, or includes two controls, a sharing control and a collection control.
Optionally, when the source application is a system-level application, after receiving a sharing instruction input by a user, the source application actively reports display data on a current display interface to the content acquisition device in fig. 5, for example, the terminal device may call an acquire shared data interface getShareData () of the source application according to the triggering instruction, and acquire the display data of the source application on the current display interface through the acquire shared data interface.
Optionally, when the source application is a non-system-level application, after the terminal device receives the sharing instruction input by the user, since the interface of the third party application does not implement the getshareddata () interface, the content obtaining device in fig. 5 may obtain, according to the triggering instruction and the preset configuration, data of each control on the current display interface of the source application, for example, traverse the control of the current display interface of the source application, for example, textView, imageView, webView, obtain the content of each control, and further obtain, according to the content of each control on the interface, the display data. The preset configuration may be a version number of the source application, an identification of the source application, a page identification of the current display interface, a control type in the page, keywords of each control, a data type (music, picture, article, video) in the page, and the like. Alternatively, the display data may be JSON-format data. Assuming that the music name in the playing interface of the shelled shrimp music needs to be acquired, in the Android system, the id of a text space can be used for: the player_song_name obtains the currently played music name "the ocean sky", and the preset configuration here specifically may be:
S303: if the user inputs a sharing instruction based on the sharing control on the processing interface, judging whether event information of the display data meets a first preset condition corresponding to the data type of the display data according to the data type of the display data.
The first preset condition comprises at least one of a display data name, a data type of the display data, a data content of the display data, a source of the display data and a user name related to the display data carried in event information of the display data.
Specifically, since the source application may be a system-level application or a non-system-level application, when the source application is a non-system-level application, there may be a case that the terminal device may not meet a first preset condition (for example, the captured display data is incomplete) corresponding to a data type of the current display data by a trigger instruction and a preset configuration, where the first preset condition may include at least one of a name of the display data, a data type of the display data, a data content of the display data, a source of the display data, and a user name related to the display data in event information of the display data. It should be noted that, different types of display data have different contents of the corresponding first preset conditions. For example, when the display data is data of a music application, the first preset condition corresponding to the event information of the display data may include content of the display data (i.e., lyrics and cover of the music), name of the music (name of the display data), singer of the music (user name related to the display data), lyrics link of the music (source of the display data), assuming that the source application is a music application "shrimp music", the current display interface is shown in fig. 11, after receiving the trigger instruction, the terminal device obtains the display data of the current display interface from the source application, assuming that the obtained display data includes { "name": "sea sky", "artist": "Beyond", "source": "shrimp music" }; the terminal device may then display the event information of the display data on the processing interface, where the event information of the display data includes "ocean sky" and "Beyond", and may refer to the processing interface schematic diagram shown in fig. 12; after the user inputs the sharing instruction on the processing interface based on the sharing control, the terminal device judges that the event information of the display data does not include the link of the music and the cover information according to the data type of the display data, so that the event information of the display data is determined not to meet the first preset condition corresponding to the source application.
Based on the above reasons, the terminal device wants to share the data to the target sharing application to meet the corresponding first preset condition, that is, wants to share the data to the target sharing application in more detail and perfect, so as to realize effective sharing of the data between the applications. Accordingly, the steps of S304 and S305 described below are performed.
S304: and determining the interface content to be displayed on the sharing selection interface according to the judging result.
S305: and displaying the sharing selection interface according to the interface content, and sharing the interface content to a first target sharing application according to the first target sharing application selected by the user.
Specifically, as can be seen from steps S304 and S305, no matter what the judgment result of S303 is, S305 displays the sharing selection interface, that is, the displaying step of the sharing selection interface is not affected by S303, but the interface content in the sharing selection interface is related to the judgment result of S303.
Optionally, when the event information of the display data meets a first preset condition corresponding to the data type of the display data, the terminal device determines that the interface content of the sharing selection interface may include the event information of the display data and a target sharing application matched with the data type of the display data, so as to display the interface content on the sharing selection interface. Optionally, when the data type of the display data is data of the reading application, the target sharing application matched with the data type may be a target sharing application capable of processing WeChat, microblog, browser, QQ and the like of the reading data.
Optionally, when the event information of the display data does not meet a first preset condition corresponding to the data type of the display data, the terminal device sends a first data processing request carrying the display data to the network server, so that the network server obtains the event information of the display data meeting the first preset condition from the network side according to the first data processing request, returns the event information to the terminal device, and further determines that the interface content to be displayed on the sharing selection interface comprises the event information of the display data meeting the first preset condition and all target sharing applications matched with the data type of the display data in the terminal device. Continuing taking the above source application as a music application "dried shrimp music" as an example, the first data processing request sent by the terminal device to the network server carries { "name": "sea sky", "artist": "Beyond", "source": "dried shrimp music" }, so as to query more detailed content (namely, event information of the display data meeting the first preset condition) from the display data to the network server side, and the network server returns the following content to the terminal device according to the display data in the first data processing request:
{
"album" is "the marine sky",
"artist":"Beyond",
"download_url":"http://m.xiami.com/song/174652",
"name" is "the broadsky in the sea",
"pic_url":
http://pic.xiami.net/images/album/img29/2629/141351342055007.jpg
@"!c-640-640",
"source":"XiaMi"
}
in this way, the terminal device can obtain the information of the link "download_url" and the cover map "pic_url" of the music, so as to obtain the event information of the display data meeting the first preset condition, and further display the event information of the display data meeting the first preset condition and the target sharing APP together on the sharing selection interface, where the sharing selection interface in this example may be shown in fig. 13.
It should be noted that, the target sharing application on the sharing selection interface is only related to the data type of the display data displayed on the current display interface by the source application, and is not limited by the authorization of the source APP, that is, all applications on the terminal device that can be matched with the data type of the display data can be used as the target sharing application. Meanwhile, even if the source APP itself does not provide a sharing function (for example, the source APP itself is a system level application), the sharing selection interface may still display the target sharing application capable of sharing the display data of the source APP.
After the terminal equipment displays the sharing selection interface to the user, the user can select one of the target sharing applications as the first target sharing application based on the target sharing application in the sharing selection interface, so that the terminal equipment shares the display data on the sharing selection interface to the first target sharing application according to the first target sharing application selected by the user, and the target sharing application can acquire more detailed sharing data, thereby realizing effective sharing of the data between the applications. Based on the above, when the display data of the source application is shared, the embodiment of the invention can share the display data of the source APP at will without the authorization limit of the source APP, thereby greatly improving the sharing experience of users.
According to the application data processing method provided by the embodiment of the invention, after a user inputs a sharing instruction on a processing interface based on a sharing control, whether the event information of the display data meets a first preset condition corresponding to the data type of the display data is judged according to the data type of the display data, when the event information of the display data on the processing interface does not meet the first preset condition is determined, the terminal equipment obtains the event information of the display data meeting the first preset condition through interaction with a network server, the event information is used as interface content to be displayed on a sharing selection interface, and the interface content is displayed on the sharing selection interface, so that after the user selects a first target sharing application, the event information of the display data meeting the first preset condition is shared to the first target sharing application, the effective sharing of the data among the applications is realized, the target sharing application can better provide services for the user, and the experience effect of the user is greatly improved.
Fig. 14 is a flowchart of a fourth embodiment of a method for processing application data according to an embodiment of the present invention. The processing interface in this embodiment can also be seen in fig. 9 described above. The embodiment relates to a specific process that the terminal device collects display data of a source application on a current display interface, and in the embodiment, a user inputs a data operation instruction based on a collection control in the processing interface, wherein the data operation instruction is a collection instruction. In combination with the above embodiment, the method specifically may include the following steps:
S401: and receiving a trigger instruction input by a user.
S402: and acquiring display data of the source application on the current display interface according to the trigger instruction, and displaying a processing interface on the current display interface.
The processing interface comprises the display data and a processing control, and the processing control is used for receiving a data operation instruction of a user.
In this embodiment, the processing control includes a separate collection control, or includes two controls, a sharing control and a collection control. The step of obtaining, by the terminal device, the display data of the source application on the current display interface according to the trigger instruction may be described in S302 above, which is not described herein.
S403: if the user inputs a collection instruction based on the collection control, determining a first target collection application matched with the data type according to the data type of the display data and a preset first mapping relation.
The first mapping relation comprises corresponding relations between different data types and different types of target collection applications, wherein the target collection applications are system-level applications integrated by a system and cannot be deleted.
Specifically, after the terminal device inputs a collection instruction on the processing interface based on the collection control, the terminal device determines a first target collection application matched with the data type of the display data according to the data type of the obtained display data of the source application on the current display interface and a preset first mapping relation, wherein the first target collection application is a system-integrated and undeletable system-level application, such as a memo application, a gallery application and the like. Alternatively, assuming that the display data is text data of the reading application, the determined first target collection application may be a collection application of text, such as a memo application; optionally, assuming that the display data is picture data of the reading application, the determined first target collection application is a collection application of a picture, for example, a gallery application; alternatively, assuming that the display data is data of a video application, the determined first target collection application is a video collection application, for example, a system-level video application built into the system.
S404: and judging whether the event information of the display data meets a second preset condition corresponding to the first target collection application according to the application type of the first target collection application.
The second preset condition comprises at least one of a display data name, a data type of the display data, a data content of the display data, a source of the display data and a user name related to the display data carried in the event information of the display data.
Alternatively, since the source application may be a system-level application or a non-system-level application, when the source application is a non-system-level application, there may be a case that the display data grabbed from the current display interface of the source application by the trigger instruction and the preset configuration does not meet the second preset condition (for example, the grabbed display data is incomplete) corresponding to the first target collection application. The second preset condition may include at least one of a display data name carried in event information of the display data, a data type of the display data, a data content of the display data, a source of the display data, and a user name related to the display data. It should be noted that, the content of the corresponding second preset condition is different for different types of target collection applications. For example, assuming that the user is viewing the internet entertainment application, and wants to collect the currently viewed article into the gallery application (i.e., the gallery application is the first target collection application determined by the terminal device), the corresponding second preset condition may include the name of the display data (the title of the news), the source of the display data (the source website of the news or the uniform location identifier URL), and the content of the display data (the picture content in the news), whereas in the above embodiment, the event information corresponding to the display data when the display data is the data of the news application only includes the title of the news and the source website of the news, so that the second preset condition corresponding to the first target collection application is not satisfied.
Based on the above reasons, the terminal device hopes that the display data collected to the target collection application can meet the second preset condition corresponding to the target collection application, namely, the data hopes to be collected to the target collection application is more detailed and perfect, so that the user can conveniently and effectively view the data. Thus, the step of S404 described above is performed.
S405: and determining the collection content to be collected to the first target collection application according to the judgment result, and collecting the collection content to the first target collection application.
Optionally, when the event information of the display data meets a second preset condition, the terminal device determines that the collection content to be collected to the first target collection application includes the event information of the display data, so as to collect the event information of the display data to the first target collection application.
Optionally, when the event information of the display data does not meet the second preset condition, the terminal device sends a second data processing request carrying the display data to the network server, so as to obtain the event information of the display data meeting the second preset condition through the network server, and determine that the collection content to be collected in the first target collection application includes the event information of the display data meeting the second preset condition, thereby collecting the collection content in the first target collection application. .
Based on the above scheme, when a user needs to view the display data later, the user can view the display data directly through the first target collection application without going through the source application, so that the operation of the user is greatly simplified, and even if the source application is a system-level application which does not support the collection function, the embodiment of the invention can view the collected display data through the first target collection application, because the embodiment of the invention obtains the display data of the source application on the current display interface and displays the display data on the processing interface before data collection is performed, which is equivalent to that the display data is separated from the limitation of the source application, therefore, the terminal equipment can perform any collection on the display data according to the data type of the obtained display data.
Optionally, after the user clicks the collection control, the terminal device may pop up a collection selection interface, where the collection selection interface includes a first target collection application, so that the user may click the first target collection application and collect the display data in the first target collection application.
According to the application data processing method provided by the embodiment of the invention, the first target collection application matched with the data type is determined according to the data type of the display data and the preset first mapping relation, whether the event information of the display data meets the second preset condition corresponding to the first target collection application or not is judged according to the application type of the first target collection application, and when the event information of the display data does not meet the second preset condition, the event information of the display data meeting the second preset condition is obtained through interaction with the network server and collected into the first target collection application, so that a user can check more perfect data through the first target collection application, and can check the data without a source application, the operation of the user is greatly simplified, and the effectiveness of data collection is also improved.
Fig. 15 is a flowchart of a fifth embodiment of a method for processing application data according to an embodiment of the present invention. The embodiment relates to a specific process that a terminal device obtains display data of a current display interface of a source application through a control on the current display interface of the source application when the source application is a non-system application. On the basis of the above embodiments, the method specifically may include the following steps:
s501: and determining the effective control on the current display interface of the source application according to the data attribute of the content of each control.
The effective control is a control carrying data meeting a third preset condition; the data attribute comprises at least one of text length in the control, size of the picture in the control accounting for the current interface, and size of the animation in the control accounting for the current interface.
Specifically, after the terminal device obtains the content of each control on the current display interface of the source application according to the trigger instruction and the preset configuration of the user, firstly determining whether the content carried on the first control meets the third preset condition according to the data attribute of the content of each control, if so, determining that the control is an effective control by the terminal device, thereby determining all the effective controls on the current display interface of the source application. It should be noted that, in this embodiment, the control is an interface element on the current display interface of the source application, for example, assuming that the source application is a WeChat and the current display interface is a chat interface of the WeChat, the whole chat interface, text content, image or time in the chat interface, and even the emotion picture inserted in the text content are all controls in the chat interface.
Optionally, the data attribute may include at least one of a text length in the first control, a size of a picture in the first control that occupies a current interface, and a size of an animation in the first control that occupies a current interface, and the third preset condition may include any one of a text length of content in the control that is greater than a preset first threshold, a size of a picture in the control that occupies a current interface that is greater than a preset second threshold, and a size of an animation in the control that occupies a current interface that is greater than a preset third threshold.
Therefore, the terminal device determines, according to the data attribute of the content of each control and in combination with the third preset condition, the effective control on the current display interface of the source application, specifically: if the data attribute of the content of the control is the text length in the first control and the text length in the control is larger than a preset first threshold value, determining that the content on the control meets the third preset condition, namely determining that the control is an effective control; or if the data attribute of the content of the control is that the picture in the control occupies the size of the current interface and is larger than a preset second threshold, determining that the content on the control meets the third preset condition, namely determining that the control is an effective control; or if the data attribute of the content of the control is that the animation in the control occupies the current interface, and the animation in the control occupies the current interface, the size of which is larger than a preset third threshold, determining that the content on the control meets the third preset condition, namely determining that the control is an effective control.
By adopting the method of S501, it can be determined that all the active controls on the current display interface of the source application.
S502: and acquiring the display data according to the content of each effective control.
Optionally, the terminal device may use the content of each effective control as a set, and directly use the content as display data of the current display interface of the source application; optionally, the terminal device may further integrate the content of each obtained effective control, and use the integrated data as display data of the current display interface of the source application, where the display data belongs to the APP with content collection and sharing functions in fig. 5, and is not limited by authorization of the source application.
According to the application data processing method provided by the embodiment of the invention, the terminal equipment acquires the content of each control by traversing the control of the source application on the current display interface according to the data acquisition method carried by the control, and determines the effective control of the source application on the current display interface according to the data attribute of the content of each control, so that the display data of the source application on the current display interface is acquired according to the content of each effective control, and the display data acquired by the method belongs to the APP with the content collection and sharing function in FIG. 5, and is not limited by the authorization of the source application, so that the terminal equipment can randomly share or collect the display data based on the APP with the content collection and sharing function, and the target APP for collecting the display data or the target APP for sharing the display data is not limited by the authorization of the source APP, thereby not only simplifying the operation of a user, but also greatly improving the user and collection experience, and enabling the interaction of the user and an application program on the terminal equipment to be more intelligent.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware associated with program instructions, where the foregoing program may be stored in a computer readable storage medium, and when executed, the program performs steps including the above method embodiments; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Fig. 16 is a schematic structural diagram of a first embodiment of an application data processing device according to an embodiment of the present invention. The processing device may be a stand-alone terminal device or may be integrated in the terminal device, i.e. the processing device may be implemented in software, hardware or a combination of both. As shown in fig. 16, the processing apparatus for application data includes: a receiving module 10, an acquiring module 11, a display module 12 and a processing module 13.
Specifically, the receiving module 10 is configured to receive a trigger instruction input by a user;
the acquiring module 11 is configured to acquire display data of a source application on a current display interface according to the trigger instruction;
a display module 12 for displaying a processing interface on the current display interface; the processing interface comprises event information of the display data and a processing control, and the processing control is used for receiving a data operation instruction of a user;
And the processing module 13 is used for processing the display data according to a data operation instruction input by a user based on the processing control.
The processing device for application data provided by the embodiment of the present invention may execute the above method embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
Fig. 17 is a schematic structural diagram of a second embodiment of an application data processing device according to the present invention. Further, the display module 12 specifically includes a first determining unit 121 and a display unit 122, based on the embodiment shown in fig. 16.
Specifically, the first determining unit 121 is configured to determine event information of the display data according to a data type of the display data; the data type of the display data comprises any one of data of a multimedia application, data of a social chat application, data of a reading application, data of a shopping application and data of an express application;
and the display unit 122 is used for displaying the event information of the display data and the processing control on the processing interface.
Further, the first determining unit 121 is specifically configured to one or more of the following: when the display data is data of a multimedia application, determining event information of the display data to comprise names of multimedia files and creators and performers of the multimedia files; when the display data is the data of the social chat application, determining that the event information of the display data comprises time information, place information and event content related to schedule events in dialogue content; when the display data are data of a reading application, determining that event information of the display data comprises a title of reading content and a source of the reading content; when the display data is data of a shopping application, determining that event information of the display data comprises commodity names and commodity prices; when the display data are data of express application, determining that event information of the display data comprises express bill numbers and logistics information corresponding to the express bill numbers.
The processing device for application data provided by the embodiment of the present invention may execute the above method embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
Optionally, the processing control includes at least one of a sharing control and a collection control.
Fig. 18 is a schematic structural diagram of a third embodiment of an application data processing apparatus according to the present invention. Further, on the basis of the embodiment shown in fig. 17, if the user inputs the data operation instruction based on the sharing control, the processing module 13 specifically includes: a first judgment unit 131, a second determination unit 132, and a sharing unit 133;
the first judging unit 131 is configured to judge, according to the data type of the display data, whether event information of the display data meets a first preset condition corresponding to the data type of the display data; the first preset condition comprises at least one of a display data name, a data type of the display data, a data content of the display data, a source of the display data and a user name related to the display data carried in event information of the display data;
the second determining unit 132 is configured to determine, according to the determination result, interface content to be displayed on the sharing selection interface;
The display module 12 is further configured to display the sharing selection interface according to the interface content;
the sharing unit 133 is configured to share the interface content to a first target sharing application according to the first target sharing application selected by the user.
Further, the second determining unit 132 is specifically configured to one or two of the following: when the event information of the display data meets the first preset condition, determining that the interface content comprises the event information of the display data and a target sharing application matched with the data type of the display data; when the event information of the display data does not meet the first preset condition, a first data processing request carrying the display data is sent to a network server, so that the event information of the display data meeting the first preset condition is obtained through the network server, and the interface content is determined to comprise the event information of the display data meeting the first preset condition and all target sharing applications matched with the data type of the display data in the terminal equipment.
The processing device for application data provided by the embodiment of the present invention may execute the above method embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
Fig. 19 is a schematic structural diagram of a fourth embodiment of an application data processing apparatus according to an embodiment of the present invention. Further, on the basis of the embodiment shown in fig. 18, if the user inputs a data operation instruction based on the collection control, the processing module 13 includes:
a third determining unit 134, configured to determine, according to a data type of the display data and a preset first mapping relationship, a first target collection application that matches the data type; the first mapping relation comprises corresponding relations between different data types and different types of target collection applications, wherein the target collection applications are system-level applications integrated by a system and cannot be deleted;
a second judging unit 135, configured to judge, according to an application type of the first target collection application, whether event information of the display data meets a second preset condition corresponding to the first target collection application; the second preset condition comprises at least one of a display data name, a data type of the display data, a data content of the display data, a source of the display data and a user name related to the display data carried in event information of the display data;
And a collection unit 136, configured to determine, according to a determination result, collection contents to be collected into the first target collection application, and collect the collection contents into the first target collection application.
Further, the storage unit 136 is specifically configured to one or more of the following: when the event information of the display data meets the second preset condition, determining that the collection content comprises the event information of the display data; and when the event information of the display data does not meet the second preset condition, sending a second data processing request carrying the display data to a network server so as to acquire the event information of the display data meeting the second preset condition through the network server, and determining that the collection content comprises the event information of the display data meeting the second preset condition.
Optionally, the source application includes a system level application or a non-system level application, and the non-system level application is a non-system integrated and deletable application. If the source application is a system-level application, the obtaining module 11 is specifically configured to invoke, according to the trigger instruction, a getShareData () of the source application, and obtain the display data through the getshareddata () of the source application.
Optionally, if the source application is a non-system-level application, the obtaining module 11 is specifically configured to obtain, according to the trigger instruction and a preset configuration, content of each control on a current display interface of the source application, and obtain, according to the content of each control, the display data; the control is an interface element on the current display interface, and the preset configuration comprises at least one of a version number of the source application, an application identifier of the source application, a page identifier of the current display interface, a control type of the control and a data type of the display data.
Further, the obtaining module 11 is specifically configured to determine, according to a data attribute of the content of each control, an effective control on the current display interface of the source application, and obtain the display data according to the content of each effective control; the effective control is a control carrying data meeting a third preset condition; the data attribute comprises at least one of text length in the control, size of the picture in the control accounting for the current interface, and size of the animation in the control accounting for the current interface.
Further, the obtaining module 11 is specifically configured to determine that the control is an effective control when the data attribute of the control is a text length in the control and the text length in the control is greater than a preset first threshold; or when the data attribute of the control is that the picture in the control occupies the size of the current interface and is larger than a preset second threshold, determining that the control is an effective control; or when the data attribute of the control is that the animation in the control occupies the size of the current interface and is larger than a preset third threshold, determining that the control is an effective control;
the third preset condition includes any one of the text length in the control being greater than the first threshold, the size of the picture in the control occupying the current interface being greater than the second threshold, and the size of the animation in the control occupying the current interface being greater than the third threshold.
The processing device for application data provided by the embodiment of the present invention may execute the above method embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
Fig. 20 is a schematic structural diagram of an embodiment of a terminal device according to an embodiment of the present invention. As shown in fig. 20, the terminal device may include an input device 20, a processor 21, such as a CPU, a memory 22, at least one communication bus 23, and a display device 24. The communication bus 23 is used to enable communication connections between the elements. The memory 22 may comprise a high-speed RAM memory or may further comprise a non-volatile memory NVM, such as at least one magnetic disk memory, in which various programs may be stored in the memory 22 for performing various processing functions and implementing the method steps of the present embodiment; the input device 20 is used for providing an input interface for a user, receiving operations or instructions input by the user, and the like. Optionally, the terminal device may further include a transceiver 25, where the transceiver 25 integrates a transmitter 251 and a receiver 252, and the receiver 252 may be a corresponding input interface with a communication function and a function of receiving information, and may also be a radio frequency module or a baseband module on the terminal device, and the transmitter 251 may be a corresponding output interface with a communication function and a function of sending information, and may also be a radio frequency module or a baseband module on the terminal device.
Specifically, in the present embodiment, the input device 20 is configured to receive a trigger instruction input by a user
A processor 21, configured to obtain display data of a source application on a current display interface according to the trigger instruction;
a display device 24 for displaying a processing interface on the current display interface; the processing interface comprises event information of the display data and a processing control, and the processing control is used for receiving a data operation instruction of a user;
the processor 21 is further configured to process the display data according to a data operation instruction input by a user based on the processing control.
The terminal device provided by the embodiment of the present invention may execute the above method embodiment, and its implementation principle and technical effects are similar, and will not be described herein.
Optionally, the processor 21 is further configured to determine event information of the display data according to a data type of the display data; the data type of the display data comprises any one or more of data of a multimedia application, data of a social chat application, data of a reading application, data of a shopping application and data of an express application;
the display device 24 is specifically configured to display the event information of the display data and the processing control on the processing interface.
Further, the processor 21 is further configured to determine event information of the display data according to a data type of the display data, and specifically includes:
the processor 21 is specifically configured to one or more of the following: when the display data is data of a multimedia application, determining event information of the display data to comprise names of multimedia files and creators and performers of the multimedia files; when the display data is the data of the social chat application, determining that the event information of the display data comprises time information, place information and event content related to schedule events in dialogue content; when the display data are data of a reading application, determining that event information of the display data comprises a title of reading content and a source of the reading content; or when the display data is data of a shopping application, determining that event information of the display data comprises commodity names and commodity prices; and when the display data are data of the express application, determining that the event information of the display data comprises an express bill number and logistics information corresponding to the express bill number.
The terminal device provided by the embodiment of the present invention may execute the above method embodiment, and its implementation principle and technical effects are similar, and will not be described herein.
Optionally, the processing control includes at least one of a sharing control and a collection control.
As a possible implementation manner, if the user inputs a data operation instruction based on the sharing control, the processor 21 is configured to process the display data according to the data operation instruction input by the user based on the processing control, and specifically includes:
the processor 21 is specifically configured to determine, according to the data type of the display data, whether event information of the display data meets a first preset condition corresponding to the data type of the display data, and determine, according to a determination result, interface content to be displayed on a sharing selection interface; the first preset condition comprises at least one of a display data name, a data type of the display data, a data content of the display data, a source of the display data and a user name related to the display data carried in event information of the display data;
the display device 24 is further configured to display the sharing selection interface according to the interface content;
the processor 21 is further configured to share the interface content to a first target sharing application according to a first target sharing application selected by a user.
In this possible implementation manner, the processor 21 is further configured to determine, according to a determination result, interface contents to be displayed on the sharing selection interface, and specifically includes:
the processor 21 is specifically configured to one or both of the following: when the event information of the display data meets the first preset condition, determining that the interface content comprises the event information of the display data and a target sharing application matched with the data type of the display data; when the event information of the display data does not meet the first preset condition, a first data processing request carrying the display data is sent to a network server through the transceiver 25, so that the event information of the display data meeting the first preset condition is obtained through the network server, and the interface content is determined to comprise the event information of the display data meeting the first preset condition and all target sharing applications matched with the data type of the display data in the terminal equipment.
The terminal device provided by the embodiment of the present invention may execute the above method embodiment, and its implementation principle and technical effects are similar, and will not be described herein.
As another possible implementation manner of the embodiment of the present invention, if the user inputs a data operation instruction based on the collection control, the processor 21 is configured to process the display data according to the data operation instruction input by the user based on the processing control, and specifically includes:
The processor 21 is specifically configured to determine a first target collection application that matches the data type according to the data type of the display data and a preset first mapping relationship, and determine, according to an application type of the first target collection application, whether event information of the display data meets a second preset condition corresponding to the first target collection application; determining the collection content to be collected to the first target collection application according to the judgment result, and collecting the collection content to the first target collection application;
the first mapping relation comprises corresponding relations between different data types and different types of target collection applications, wherein the target collection applications are system-level applications integrated by a system and cannot be deleted; the second preset condition comprises at least one of a display data name, a data type of the display data, a data content of the display data, a source of the display data and a user name related to the display data carried in the event information of the display data.
In this possible implementation manner, the processor 21 is configured to determine, according to a determination result, collection contents to be collected into the first target collection application, and specifically includes:
The processor 21 is specifically configured to one or more of the following: when the event information of the display data meets the second preset condition, determining that the collection content comprises the event information of the display data; when the event information of the display data does not meet the second preset condition, a second data processing request carrying the display data is sent to a network server through a transceiver 25, so that the event information of the display data meeting the second preset condition is obtained through the network server, and the collection content is determined to comprise the event information of the display data meeting the second preset condition.
The terminal device provided by the embodiment of the present invention may execute the above method embodiment, and its implementation principle and technical effects are similar, and will not be described herein.
Optionally, the source application includes a system level application or a non-system level application, and the non-system level application is a non-system integrated and deletable application.
If the source application is a system-level application, the processor 21 is configured to obtain display data of the source application on a current display interface according to the trigger instruction, and specifically includes:
the processor 21 is specifically configured to invoke an getshareddata () of the source application according to the trigger instruction, and obtain the display data through the getshareddata () interface.
If the source application is a non-system-level application, the processor 21 is configured to obtain display data of the source application on a current display interface according to the trigger instruction, and specifically includes:
the processor 21 is specifically configured to obtain, according to the trigger instruction and a preset configuration, content of each control on a current display interface of the source application, and obtain, according to the content of each control, the display data;
the control is an interface element on the current display interface, and the preset configuration comprises at least one of a version number of the source application, an application identifier of the source application, a page identifier of the current display interface, a control type of the control and a data type of the display data.
Further, the processor 21 is configured to obtain the display data according to the content of each control, and specifically includes:
the processor 21 is specifically configured to determine an effective control on the current display interface of the source application according to the data attribute of the content of each control, and obtain the display data according to the content of each effective control;
the effective control is a control carrying data meeting a third preset condition; the data attribute comprises at least one of text length in the control, size of the picture in the control accounting for the current interface, and size of the animation in the control accounting for the current interface.
Still further, the processor 21 is configured to determine, according to the data attribute of the content of each control, a valid control on the current display interface of the source application, and specifically includes:
the processor 21 is specifically configured to determine that the control is an effective control when the data attribute of the control is a text length in the control and the text length in the control is greater than a preset first threshold; or when the data attribute of the control is that the picture in the control occupies the size of the current interface and is larger than a preset second threshold, determining that the control is an effective control; or when the data attribute of the control is that the animation in the control occupies the size of the current interface and is larger than a preset third threshold, determining that the control is an effective control;
the third preset condition includes any one of the text length in the control being greater than the first threshold, the size of the picture in the control occupying the current interface being greater than the second threshold, and the size of the animation in the control occupying the current interface being greater than the third threshold.
An embodiment provides a method for processing application data, including:
receiving a trigger instruction input by a user;
acquiring display data of a source application on a current display interface according to the trigger instruction, and displaying a processing interface on the current display interface; the processing interface comprises event information of the display data and a processing control, and the processing control is used for receiving a data operation instruction of a user;
and processing the display data according to a data operation instruction input by a user based on the processing control.
In one possible implementation manner, the displaying the processing interface on the current display interface specifically includes:
determining event information of display data according to the data type of the display data; the data type of the display data comprises any one or more of data of a multimedia application, data of a social chat application, data of a reading application, data of a shopping application and data of an express application;
and displaying the event information of the display data and the processing control on the processing interface.
In a possible implementation manner, the determining the event information of the display data according to the data type of the display data specifically includes one or more of the following:
If the display data are the data of the multimedia application, determining that the event information of the display data comprises the name of the multimedia file and the creator and performer of the multimedia file;
if the display data are the data of the social chat application, determining that the event information of the display data comprises time information, place information and event content related to schedule events in the dialogue content;
if the display data are the data of the reading application, determining that the event information of the display data comprises the title of the reading content and the source of the reading content;
if the display data are data of shopping application, determining that event information of the display data comprises commodity names and commodity prices;
if the display data are data of express application, determining that the event information of the display data comprises an express bill number and logistics information corresponding to the express bill number.
In one possible implementation, the processing control includes at least one of a sharing control, a collection control.
In a possible implementation manner, if the user inputs a data operation instruction based on the sharing control, the processing the display data according to the data operation instruction input by the user based on the processing control specifically includes:
Judging whether event information of the display data meets a first preset condition corresponding to the data type of the display data according to the data type of the display data; the first preset condition comprises at least one of a display data name, a data type of the display data, a data content of the display data, a source of the display data and a user name related to the display data carried in event information of the display data;
determining interface contents to be displayed on the sharing selection interface according to the judging result;
and displaying the sharing selection interface according to the interface content, and sharing the interface content to a first target sharing application according to the first target sharing application selected by the user.
In a possible implementation manner, the determining, according to the determination result, the interface content to be displayed on the sharing selection interface specifically includes one or two of the following:
if the event information of the display data meets the first preset condition, determining that the interface content comprises the event information of the display data and a target sharing application matched with the data type of the display data;
if the event information of the display data does not meet the first preset condition, a first data processing request carrying the display data is sent to a network server, so that the event information of the display data meeting the first preset condition is obtained through the network server, and the interface content is determined to comprise the event information of the display data meeting the first preset condition and all target sharing applications matched with the data type of the display data in the terminal equipment.
In one possible implementation, if the user inputs a data operation instruction based on the collection control, the processing the display data according to the data operation instruction input by the user based on the processing control specifically includes:
determining a first target collection application matched with the data type according to the data type of the display data and a preset first mapping relation; the first mapping relation comprises corresponding relations between different data types and different types of target collection applications, wherein the target collection applications are system-level applications integrated by a system and cannot be deleted;
judging whether the event information of the display data meets a second preset condition corresponding to the first target collection application according to the application type of the first target collection application; the second preset condition comprises at least one of a display data name, a data type of the display data, a data content of the display data, a source of the display data and a user name related to the display data carried in event information of the display data;
and determining the collection content to be collected to the first target collection application according to the judgment result, and collecting the collection content to the first target collection application.
In a possible implementation manner, the determining, according to the determination result, collection content to be collected to the first target collection application specifically includes one or more of the following:
if the event information of the display data meets the second preset condition, determining that the collection content comprises the event information of the display data;
if the event information of the display data does not meet the second preset condition, sending a second data processing request carrying the display data to a network server so as to acquire the event information of the display data meeting the second preset condition through the network server, and determining that the collection content comprises the event information of the display data meeting the second preset condition.
In one possible implementation, the source application includes a system-level application or a non-system-level application, which is a non-system integrated and deletable application.
In one possible implementation, if the source application is a system-level application, the acquiring, according to the trigger instruction, display data of the source application on a current display interface specifically includes:
and calling an acquisition shared data interface getShareData () of the source application according to the trigger instruction, and acquiring the display data through the acquisition shared data interface.
In one possible implementation manner, if the source application is a non-system-level application, the acquiring, according to the trigger instruction, display data of the source application on a current display interface specifically includes:
acquiring the content of each control on the current display interface of the source application according to the trigger instruction and the preset configuration; the preset configuration comprises at least one of a version number of the source application, an application identifier of the source application, a page identifier of the current display interface, a control type of the control and a data type of the display data;
and acquiring the display data according to the content of each control.
In a possible implementation manner, the acquiring the display data according to the content of each control specifically includes:
determining an effective control on the current display interface of the source application according to the data attribute of the content of each control; the effective control is a control carrying data meeting a third preset condition; the data attribute comprises at least one of text length in the control, size of a picture in the control accounting for a current interface and size of an animation in the control accounting for the current interface;
And acquiring the display data according to the content of each effective control.
In a possible implementation manner, the determining, according to the data attribute of the content of each control, the valid control on the current display interface of the source application specifically includes:
if the data attribute of the control is the text length of the content in the control and the text length of the content in the control is larger than a preset first threshold, determining that the control is an effective control;
or,
if the data attribute of the control is that the picture in the control occupies the size of the current interface and the picture in the control occupies the size of the current interface is larger than a preset second threshold, determining that the control is an effective control;
or,
if the data attribute of the control is that the animation in the control occupies the size of the current interface and is larger than a preset third threshold, determining that the control is an effective control;
the third preset condition includes any one of the text length of the content in the control being greater than the first threshold, the size of the picture in the control occupying the current interface being greater than the second threshold, and the size of the animation in the control occupying the current interface being greater than the third threshold.
An embodiment II, a terminal device, includes:
input device for receiving trigger instruction input by user
The processor is used for acquiring display data of the source application on the current display interface according to the trigger instruction;
the display device is used for displaying a processing interface on the current display interface; the processing interface comprises event information of the display data and a processing control, and the processing control is used for receiving a data operation instruction of a user;
the processor is further used for processing the display data according to a data operation instruction input by a user based on the processing control.
In a possible implementation, the processor is further configured to determine event information of the display data according to a data type of the display data; the data type of the display data comprises any one or more of data of a multimedia application, data of a social chat application, data of a reading application, data of a shopping application and data of an express application;
the display device is specifically configured to display the event information of the display data and the processing control on the processing interface.
In a possible implementation manner, the processor is further configured to determine event information of the display data according to a data type of the display data, and specifically includes:
The processor is specifically configured to one or more of the following:
when the display data is data of a multimedia application, determining event information of the display data to comprise names of multimedia files and creators and performers of the multimedia files; when the display data is the data of the social chat application, determining that the event information of the display data comprises time information, place information and event content related to schedule events in dialogue content; when the display data are data of a reading application, determining that event information of the display data comprises a title of reading content and a source of the reading content; when the display data is data of a shopping application, determining that event information of the display data comprises commodity names and commodity prices; and when the display data are data of the express application, determining that the event information of the display data comprises an express bill number and logistics information corresponding to the express bill number.
In one possible implementation, the processing control includes at least one of a sharing control, a collection control.
In a possible implementation manner, if the user inputs a data operation instruction based on the sharing control, the processor is configured to process the display data according to the data operation instruction input by the user based on the processing control, and specifically includes:
The processor is specifically configured to determine, according to a data type of the display data, whether event information of the display data meets a first preset condition corresponding to the data type of the display data, and determine, according to a determination result, interface content to be displayed on a sharing selection interface; the first preset condition comprises at least one of a display data name, a data type of the display data, a data content of the display data, a source of the display data and a user name related to the display data carried in event information of the display data;
the display device is further used for displaying the sharing selection interface according to the interface content;
the processor is further configured to share the interface content to a first target sharing application according to a first target sharing application selected by a user.
In one possible implementation, the terminal device further comprises a transceiver; the processor is configured to determine, according to a determination result, interface content to be displayed on the sharing selection interface, and specifically includes:
the processor is specifically configured to one or both of the following:
when the event information of the display data meets the first preset condition, determining that the interface content comprises the event information of the display data and a target sharing application matched with the data type of the display data; when the event information of the display data does not meet the first preset condition, a first data processing request carrying the display data is sent to a network server through the transceiver, so that the event information of the display data meeting the first preset condition is obtained through the network server, and the interface content is determined to comprise the event information of the display data meeting the first preset condition and all target sharing applications matched with the data type of the display data in the terminal equipment.
In one possible implementation, if the user inputs a data operation instruction based on the collection control, the processor is configured to process the display data according to the data operation instruction input by the user based on the processing control, and specifically includes:
the processor is specifically configured to determine a first target collection application that is matched with the data type according to the data type of the display data and a preset first mapping relationship, and determine whether event information of the display data meets a second preset condition corresponding to the first target collection application according to an application type of the first target collection application; determining the collection content to be collected to the first target collection application according to the judgment result, and collecting the collection content to the first target collection application;
the first mapping relation comprises corresponding relations between different data types and different types of target collection applications, wherein the target collection applications are system-level applications integrated by a system and cannot be deleted; the second preset condition comprises at least one of a display data name, a data type of the display data, a data content of the display data, a source of the display data and a user name related to the display data carried in the event information of the display data.
In a possible implementation manner, the processor is configured to determine, according to a result of the determination, collection contents to be collected into the first target collection application, and specifically includes:
the processor is specifically configured to one or more of the following:
when the event information of the display data meets the second preset condition, determining that the collection content comprises the event information of the display data; when the event information of the display data does not meet the second preset condition, a second data processing request carrying the display data is sent to a network server through a transceiver so as to acquire the event information of the display data meeting the second preset condition through the network server, and the collection content is determined to comprise the event information of the display data meeting the second preset condition.
In one possible implementation, the source application includes a system-level application or a non-system-level application, which is a non-system integrated and deletable application.
In one possible implementation, if the source application is a system-level application, the processor is configured to obtain, according to the trigger instruction, display data of the source application on a current display interface, and specifically includes:
The processor is specifically configured to invoke, according to the trigger instruction, an acquire shared data interface getShareData () of the source application, and acquire the display data through the acquire shared data interface.
In one possible implementation, if the source application is a non-system-level application, the processor is configured to obtain, according to the trigger instruction, display data of the source application on a current display interface, and specifically includes:
the processor is specifically configured to obtain, according to the trigger instruction and a preset configuration, content of each control on a current display interface of the source application, and obtain, according to the content of each control, the display data;
the control is an interface element on the current display interface, and the preset configuration comprises at least one of a version number of the source application, an application identifier of the source application, a page identifier of the current display interface, a control type of the control and a data type of the display data.
In a possible implementation manner, the processor is configured to obtain the display data according to the content of each control, and specifically includes:
the processor is specifically configured to determine an effective control on the current display interface of the source application according to the data attribute of the content of each control, and acquire the display data according to the content of each effective control;
The effective control is a control carrying data meeting a third preset condition; the data attribute comprises at least one of text length in the control, size of the picture in the control accounting for the current interface, and size of the animation in the control accounting for the current interface.
In a possible implementation manner, the processor is configured to determine, according to the data attribute of the content of each control, a valid control on the current display interface of the source application, and specifically includes:
the processor is specifically configured to determine that the control is an effective control when the data attribute of the control is a text length in the control and the text length in the control is greater than a preset first threshold; or when the data attribute of the control is that the picture in the control occupies the size of the current interface and is larger than a preset second threshold, determining that the control is an effective control; or when the data attribute of the control is that the animation in the control occupies the size of the current interface and is larger than a preset third threshold, determining that the control is an effective control;
The third preset condition includes any one of the text length in the control being greater than the first threshold, the size of the picture in the control occupying the current interface being greater than the second threshold, and the size of the animation in the control occupying the current interface being greater than the third threshold.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (41)

1. The application data processing method is applied to terminal equipment, and is characterized in that the terminal equipment is provided with a first application program with collection and sharing functions, and the method comprises the following steps:
displaying a first interface of a source application, the first interface comprising display data of the source application;
receiving a triggering operation at the first interface;
Responding to the triggering operation, displaying a processing interface of the first application program on the first interface, wherein the processing interface comprises event information of the display data, the event information is part or all of the display data, and the processing interface further comprises a processing control, and the processing control comprises a collection control and a sharing control;
receiving a first operation acting on the collection control, and collecting event information of the display data to a first target application program;
receiving an operation acting on the first target application program to view event information of the display data in the first target application program, the first target application program being different from the source application;
responding to a second operation acting on the sharing control, and displaying a sharing interface, wherein the sharing interface comprises a second target application icon; when the event information of the display data meets a first preset condition corresponding to the data type of the display data, the second target application program is an application program matched with the data type;
receiving an operation acting on the second target application icon to view event information of the display data in the second target application, the second target application being different from the source application;
The triggering operation includes a sliding operation, a long press operation, or a clicking operation.
2. The method of claim 1, wherein viewing display data of the source application in the first target application is not limited by the source application.
3. The method according to claim 1, wherein the method further comprises: the source application also has a second collection function to view display data of the source application in the source application after the display data of the source application is collected using the second collection function.
4. The method of claim 1, wherein the source application comprises a system level application or a third party application; the first target application is a system level application.
5. The method of claim 1, wherein the source application comprises a system-integrated non-deletable application.
6. The method of claim 1, wherein the source application comprises a non-system integrated deletable application.
7. The method of claim 1, wherein the processing interface is suspended over the first interface.
8. The method of claim 1, wherein the processing control is a voice input control.
9. The method of claim 1, wherein the display data has deviated from the limitations of the source application when event information of the display data is displayed on the processing interface.
10. The method of claim 1, wherein the first application comprises a content acquisition device, a content collection and sharing service device, wherein the content collection and sharing service device comprises a content acquisition interface that acquires data from the content acquisition device, and a sharing interface that receives a sharing request from a third party application and a collection interface that receives a collection request of the third party application.
11. The method according to claim 1, wherein the method further comprises: when the source application is a system-level application, the display data is obtained by calling an acquisition data sharing interface 'get data share ()' of the source application; or when the source application is a third party application, obtaining the display data by traversing the content of each control of the first interface.
12. The method of claim 1, wherein the first target application program includes a web address corresponding to display data of the source application.
13. The method of claim 1, wherein if the display data is data of the multimedia application, the event information of the display data includes a name of a multimedia file and an creator and an artist of the multimedia file; or (b)
If the display data are the data of the music application, the event information of the display data comprises the name of music and singer of the music; or (b)
If the display data are the data of the video application, the event information of the display data comprises the name of the video and director or performer information of the video; or (b)
If the display data are the data of the social chat application, the event information of the display data comprises time information, place information and event content related to schedule events in dialogue content; or (b)
If the display data are the data of the reading application, the event information of the display data comprises the title of the reading content and the source of the reading content; or (b)
If the display data are the data of the shopping application, the event information of the display data comprises commodity names and commodity prices; or (b)
And if the display data are the data of the express application, the event information of the display data comprises an express bill number and logistics information corresponding to the express bill number.
14. The method of claim 1, wherein the sharing interface is suspended over the first interface.
15. The method according to claim 1, wherein the terminal device transmits a first data request to a web server when the event information of the display data does not satisfy a first preset condition corresponding to the display data type, the first data request including the display data;
the terminal equipment receives event information of the display data returned by the network server;
and displaying a target application matched with the data type of the display data on the sharing interface.
16. The method of claim 1 or 15, wherein the data type of the display data includes any one or more of data of a multimedia application, data of a music application, data of a video application, data of a social chat application, data of a reading application, data of a shopping application, and data of an express class application.
17. The method according to claim 1 or 15, wherein the first preset condition includes at least one of a display data name, a data type of the display data, a data content of the display data, a source of the display data, and a user name related to the display data carried in the event information of the display data.
18. The method of claim 1, wherein when the display data is text data, the first target application is a text collection application; or when the display data is picture data, the first target application program is a picture collection application; or when the display data is video data, the first target application program is a video collection application.
19. The method according to claim 1, wherein the method further comprises: and when the event information of the display data meets a second preset condition corresponding to the first target application program, collecting the event information of the display data to the first target application program.
20. The method according to claim 1, wherein the method further comprises: when the event information of the display data does not meet a second preset condition corresponding to the first target application program, the terminal equipment sends a second data request to a network server, and the first data request comprises the display data;
the terminal equipment receives event information of the display data returned by the network server;
and collecting the event information of the display data to the first target application program.
21. The method according to claim 1, wherein the method further comprises: after receiving a first operation on the favorites control, viewing display data of the source application in a first target application program includes:
receiving a first operation acting on the collection control, and displaying a collection selection interface, wherein the collection selection interface comprises the first target application program;
and receiving a third operation of a user aiming at the first target application, and collecting the display data to the first target application program.
22. The method of claim 1, wherein the event information of the display data is determined according to a data type of the display data.
23. A method for processing application data, applied to a terminal device, wherein the terminal device is provided with a first application program, the method comprising:
displaying a first interface of a source application, the first interface comprising display data of the source application;
receiving a triggering operation at the first interface;
responding to the triggering operation, displaying a processing interface of the first application program on the first interface, wherein the processing interface comprises event information of the display data, the event information is part or all of the display data, and the processing interface further comprises a processing control, and the processing control comprises a collection control;
Responsive to a first operation acting on the collection control, collecting event information of the display data to a first target application;
an operation is received that acts on the first target application to view event information for the display data in the first target application, the first target application being different from the source application.
24. The method of claim 23, wherein viewing display data of the source application in the first target application is not limited by the source application.
25. The method of claim 23, wherein the method further comprises: the source application also has a second collection function to view display data of the source application in the source application after the display data of the source application is collected using the second collection function.
26. The method of claim 23, wherein the source application comprises a system level application or a third party application; the first target application is a system level application.
27. The method of claim 23, wherein the source application comprises a system-integrated non-deletable application.
28. The method of claim 23, wherein the source application comprises a non-system integrated deletable application.
29. The method of claim 23, wherein the processing interface is suspended over the first interface.
30. The method of claim 23, wherein the processing control is a voice input control.
31. The method of claim 23, wherein the display data has deviated from the limitations of the source application when event information of the display data is displayed on the processing interface.
32. The method of claim 23, wherein the first application comprises a content acquisition device, a content collection device, wherein the content collection device comprises a content acquisition interface to acquire data from the content acquisition device, and a collection interface to receive a collection request of a third party application.
33. The method of claim 23, wherein the method further comprises: when the source application is a system-level application, the display data is obtained by calling an acquisition data sharing interface 'get data share ()' of the source application; or when the source application is a third party application, obtaining the display data by traversing the content of each control of the first interface.
34. The method of claim 23, wherein if the display data is data of the multimedia application, the event information of the display data includes a name of a multimedia file and an creator and an artist of the multimedia file; or (b)
If the display data are the data of the music application, the event information of the display data comprises the name of music and singer of the music; or (b)
If the display data are the data of the video application, the event information of the display data comprises the name of the video and director or performer information of the video; or (b)
If the display data are the data of the social chat application, the event information of the display data comprises time information, place information and event content related to schedule events in dialogue content; or (b)
If the display data are the data of the reading application, the event information of the display data comprises the title of the reading content and the source of the reading content; or (b)
If the display data are the data of the shopping application, the event information of the display data comprises commodity names and commodity prices; or (b)
And if the display data are the data of the express application, the event information of the display data comprises an express bill number and logistics information corresponding to the express bill number.
35. The method of claim 23, wherein the data type of the display data comprises any one or more of data of a multimedia application, data of a music application, data of a video application, data of a social chat application, data of a reading application, data of a shopping application, and data of an express class application.
36. The method of claim 23, wherein when the display data is text data, the first target application is a text collection application; or when the display data is picture data, the first target application program is a picture collection application; or when the display data is video data, the first target application program is a video collection application.
37. The method of claim 23, wherein the method further comprises:
judging whether the event information of the display data meets a second preset condition corresponding to the first target application program according to the application type of the first target application program;
and when the event information of the display data meets a second preset condition corresponding to the first target application program, collecting the event information of the display data to the first target application program.
38. The method of claim 37, wherein the method further comprises:
the second preset condition comprises at least one of a display data name, a data type of the display data, a data content of the display data, a source of the display data and a user name related to the display data carried in the event information of the display data.
39. The method of claim 23, wherein the method further comprises: after receiving a first operation on the favorites control, viewing display data of the source application in a first target application program includes:
receiving a first operation acting on the collection control, and displaying a collection selection interface, wherein the collection selection interface comprises the first target application program;
and receiving a third operation of a user aiming at the first target application program, and collecting the display data to the first target application program.
40. The method of claim 23, wherein the event information of the display data is determined according to a data type of the display data.
41. An application data processing apparatus, applying the application data processing method according to any one of claims 1 to 40, comprising:
The receiving module is used for receiving a trigger instruction input by a user;
the acquisition module is used for acquiring display data of the source application on the current display interface according to the trigger instruction;
the display module is used for displaying a processing interface on the current display interface; the processing interface comprises event information of the display data and a processing control, and the processing control is used for receiving a data operation instruction of a user;
and the processing module is used for processing the display data according to a data operation instruction input by a user based on the processing control.
CN202210933195.XA 2016-08-19 2016-08-19 Application data processing method and device and terminal equipment Active CN115454286B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210933195.XA CN115454286B (en) 2016-08-19 2016-08-19 Application data processing method and device and terminal equipment

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201680087057.7A CN109328329A (en) 2016-08-19 2016-08-19 Using the processing method of data, device and terminal device
CN202210933195.XA CN115454286B (en) 2016-08-19 2016-08-19 Application data processing method and device and terminal equipment
PCT/CN2016/096108 WO2017193496A1 (en) 2016-08-19 2016-08-19 Application data processing method and apparatus, and terminal device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201680087057.7A Division CN109328329A (en) 2016-08-19 2016-08-19 Using the processing method of data, device and terminal device

Publications (2)

Publication Number Publication Date
CN115454286A CN115454286A (en) 2022-12-09
CN115454286B true CN115454286B (en) 2024-04-02

Family

ID=60267827

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202210933195.XA Active CN115454286B (en) 2016-08-19 2016-08-19 Application data processing method and device and terminal equipment
CN201680087057.7A Pending CN109328329A (en) 2016-08-19 2016-08-19 Using the processing method of data, device and terminal device

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201680087057.7A Pending CN109328329A (en) 2016-08-19 2016-08-19 Using the processing method of data, device and terminal device

Country Status (2)

Country Link
CN (2) CN115454286B (en)
WO (1) WO2017193496A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10979551B2 (en) 2016-09-09 2021-04-13 Huawei Technologies Co., Ltd. Method and apparatus for pushing notification, mobile terminal, and graphical user interface
CN110224920B (en) * 2019-04-23 2022-02-01 维沃移动通信有限公司 Sharing method and terminal equipment
CN112016580B (en) * 2019-05-31 2023-07-25 北京百度网讯科技有限公司 Application program name identification method, device and terminal
CN114461111B (en) * 2019-10-31 2022-09-23 华为技术有限公司 Function starting method and electronic equipment
CN114125546B (en) * 2020-08-27 2023-02-28 荣耀终端有限公司 Information sharing method and device, terminal equipment and storage medium
CN114679511A (en) * 2020-12-24 2022-06-28 荣耀终端有限公司 Operation control method and device and electronic equipment
CN115884167B (en) * 2022-03-25 2023-08-22 北京字跳网络技术有限公司 Data processing method, device, equipment and storage medium
CN115391448B (en) * 2022-10-08 2023-02-03 数兑科技(杭州)有限公司 Intelligent counting method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808995A (en) * 2015-05-04 2015-07-29 卓易畅想(北京)科技有限公司 Method and device for storing application contents over applications
CN105653178A (en) * 2015-05-28 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Information sharing method and apparatus
CN105872767A (en) * 2016-04-06 2016-08-17 乐视控股(北京)有限公司 Method and apparatus for guiding sharing based on user behaviors

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239297A (en) * 2013-06-06 2014-12-24 腾讯科技(北京)有限公司 Webpage bookmarking method, system and device
KR101832045B1 (en) * 2013-06-09 2018-02-23 애플 인크. Device, method, and graphical user interface for sharing content from a respective application
CN103530020B (en) * 2013-10-18 2017-04-05 北京搜狗科技发展有限公司 The method and device of information operation
CN104657423B (en) * 2015-01-16 2018-07-06 白天 Using content share method and its device
CN104899083A (en) * 2015-05-19 2015-09-09 小米科技有限责任公司 Application share method and device
CN105183899A (en) * 2015-09-29 2015-12-23 上海斐讯数据通信技术有限公司 Collection function sharing system and method
CN105739891A (en) * 2016-01-27 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Music processing method and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808995A (en) * 2015-05-04 2015-07-29 卓易畅想(北京)科技有限公司 Method and device for storing application contents over applications
CN105653178A (en) * 2015-05-28 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Information sharing method and apparatus
CN105872767A (en) * 2016-04-06 2016-08-17 乐视控股(北京)有限公司 Method and apparatus for guiding sharing based on user behaviors

Also Published As

Publication number Publication date
CN109328329A (en) 2019-02-12
WO2017193496A1 (en) 2017-11-16
CN115454286A (en) 2022-12-09

Similar Documents

Publication Publication Date Title
CN115454286B (en) Application data processing method and device and terminal equipment
AU2010327453B2 (en) Method and apparatus for providing user interface of portable device
WO2019174611A1 (en) Application configuration method and mobile terminal
US11798107B2 (en) Scenario-based application recommendation method and apparatus
WO2018153100A1 (en) Method for displaying collected object, and terminal
WO2020238351A1 (en) Application downloading and classification method and terminal device
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
CN107329985B (en) Page collection method and device and mobile terminal
CN111064655B (en) Template message pushing method, device, equipment and storage medium
CN109416652B (en) Application data sharing method and device and terminal equipment
US11079926B2 (en) Method and apparatus for providing user interface of portable device
US11481357B2 (en) Album display method, electronic device, and storage medium
JP2021517319A (en) Video preview method and electronic device
CN111104236B (en) Paste control method and electronic equipment
CN111600931A (en) Information sharing method and electronic equipment
CN113127773A (en) Page processing method and device, storage medium and terminal equipment
WO2015003636A1 (en) Method and device for interception of page elements
CN111656347B (en) Project display method and terminal
CN110865765A (en) Terminal and map control method
CN108780400B (en) Data processing method and electronic equipment
CN109491670A (en) A kind of page display method and terminal device
KR20220154825A (en) How to create notes and electronic devices
CN113176899A (en) Operation method of multi-android operating system and terminal equipment
CN110502169B (en) Display control method and terminal
JP7319431B2 (en) Application function implementation method and electronic device

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