CN115454286A - Application data processing method, device and terminal equipment - Google Patents
Application data processing method, device and terminal equipment Download PDFInfo
- Publication number
- CN115454286A CN115454286A CN202210933195.XA CN202210933195A CN115454286A CN 115454286 A CN115454286 A CN 115454286A CN 202210933195 A CN202210933195 A CN 202210933195A CN 115454286 A CN115454286 A CN 115454286A
- Authority
- CN
- China
- Prior art keywords
- data
- display data
- application
- interface
- control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
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 method and a device for processing application data and terminal equipment. The method comprises the following steps: receiving a trigger instruction of a user; acquiring display data of the source application on the current display interface according to the trigger instruction, and displaying a processing interface; the display data are processed according to the data operation instruction of the user, so that the terminal equipment can collect or share the event information of the display data at will, the operation of the user is simplified, and the experience effect of the user is greatly improved.
Description
The application is a divisional application of an invention patent application with the name of 'processing method, device and terminal equipment of application data' filed by China patent office with the application number of 201680087057.7 and the application date of 2016, 08 and 19.
Technical Field
The present invention relates to communications technologies, and in particular, to a method and an apparatus for processing application data, and a terminal device.
Background
With the continuous development of mobile devices, various Applications (APPs) appear on the mobile devices, providing convenience and entertainment for the life of users.
At present, part of developers of third-party applications endow the third-party applications with content collection and content sharing functions, and users can collect or share content concerned by themselves to other applications, for example, suppose that a user currently views a piece of news on a "today's headline" APP, and the user needs to share the news into the "WeChat" APP, and then the user clicks a sharing button on the "today's headline" APP to pop up a sharing interface displayed by the application, and the user can select a target application to be shared on 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, so that collected data can only be checked in the source APP, and the user operation is complicated; for sharing content, the content cannot be shared into WeChat (target APP) under the authorization of the source APP, for example, the commodity link in Taobao (source APP). Therefore, the collection and sharing mode of the application data in the prior art cannot completely meet the use requirements of the user, and the user experience is poor.
Disclosure of Invention
The application data processing method, the application data processing device and the terminal device are used for solving the technical problems that in the prior art, the collection and sharing mode of the application data cannot completely meet the use requirements of users, the user experience is poor, and the human-computer interaction is not intelligent enough.
In a first aspect, an embodiment of the present invention provides an application data processing method, 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 the method for processing application data provided by the first aspect, the terminal device obtains display data of the source application on the current display interface through the received trigger instruction of the user, and displays event information including the display data and a processing control processing interface on the current display interface, so that the display data is processed according to a 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 device acquires the display data of the source application on the current display interface and displays 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 device can carry out 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, 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, 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 device is more intelligent; in addition, the embodiment of the invention can also collect or share the display data on the system-level application which cannot provide the sharing or collecting function, and the collection or sharing is not needed in a mode of saving pictures by screen capture, so that the processing cost and the memory of the terminal equipment are greatly saved, and the intellectualization of the interaction between the system-level application and the user is further improved.
In a possible design, the displaying the processing interface on the current display interface specifically includes:
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 delivery application;
and displaying the event information of the display data and the processing control on the processing interface.
In a possible design, the determining, according to the data type of the display data, the event information of the display data specifically includes one or more of the following:
if the display data is data of a multimedia application, determining that the event information of the display data comprises the name of a multimedia file and the creator and performer of the multimedia file;
if the display data is data of a social chat application, determining that event information of the display data comprises time information, place information and event content related to a schedule event in conversation content;
if the display data is data of reading application, determining that the event information of the display data comprises a title of reading content and a source of the reading content;
if the display data is data of shopping application, determining that the event information of the display data comprises a commodity name and a commodity price;
and if the display data is data applied to express delivery, determining that the event information of the display data comprises an express delivery order number and logistics information corresponding to the express delivery order number.
In a possible design, if a user inputs a data operation instruction based on a 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 the event information of the display data meets a first preset condition corresponding to the data type of the display data or not according to the data type of the display data; the first preset condition comprises that event information of the display data carries at least one of a display data name, a data type of the display data, data content of the display data, a source of the display data and a user name related to the display data;
determining interface content to be displayed on the sharing selection interface according to the judgment 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 a user.
In a possible design, the determining, according to the determination result, 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, sending a first data processing request carrying the display data to a network server, so as to obtain the event information of the display data meeting the first preset condition through the network server, and determining that the interface content 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 equipment.
According to the processing method of the application data provided in each possible design, after a user inputs a sharing instruction on a processing interface based on a sharing control, whether event information of 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 device 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 a first target application, effective sharing of data among applications is achieved, the target sharing application can better provide services for the user, and experience effect of the user is greatly improved.
In a possible design, if a user inputs a data operation instruction based on a 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, and the target collection applications are system-level applications which are integrated by the 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 or not according to the application type of the first target collection application; the second preset condition comprises that the event information of the display data carries at least one of a display data name, a data type of the display data, data content of the display data, a source of the display data and a user name related to 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 design, the determining, according to the determination result, the 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 obtain the event information of the display data meeting the second preset condition through the network server, and determining that the collection content includes the event information of the display data meeting the second preset condition.
According to the processing method of the application data 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 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 acquired through interaction with the network server and collected into the first target collection application, so that a user can check more complete data through the first target collection application, the user 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.
In a possible design, if the source application is a system-level application, the obtaining, according to the trigger instruction, display data of the source application on the current display interface specifically includes:
and calling a shared data acquisition interface getShareData () of the source application according to the trigger instruction, and acquiring the display data through the shared data acquisition interface.
In a possible design, if the source application is a non-system-level application, the obtaining, according to the trigger instruction, display data of the source application on the 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 preset configuration; 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;
and acquiring the display data according to the content of each control.
In a 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 the text length in the control, the size of the current interface occupied by the picture in the control and the size of the current interface occupied by the animation in the control;
and acquiring the display data according to the content of each effective control.
In a possible design, the determining, according to the data attribute of the content of each control, an effective 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 greater than a preset first threshold value, 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 size of the picture in the control occupying 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 size of the animation in the control in the current interface is larger than a preset third threshold, determining that the control is an effective control;
the third preset condition includes any one of the conditions that the text length of the content in the control is greater than the first threshold, the size of the picture in the control in the current interface is greater than the second threshold, and the size of the animation in the control in the current interface is greater than the third threshold.
According to the method provided in each possible design, the terminal device obtains the content of each control according to the data obtaining method carried by the control by traversing the controls of the source application on the current display interface, determines the effective controls of the source application on the current display interface according to the data attributes of the content of each control, and further obtains the display data of the source application on the current display interface according to the content of each effective control, the display data obtained by the method is subordinate to the APP with the content collecting and sharing function in the figure 5 and is not limited by the authorization of the source application, so that the terminal device can arbitrarily share or collect the display data based on the APP with the content collecting and sharing function, 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, the operation of the user is simplified, the sharing and collecting experience of the user are greatly improved, and the interaction between the user and the application programs on the terminal device is 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 a possible design, the display module specifically includes:
the first determining unit is used for determining the 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 delivery 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 to perform one or more of the following: when the display data is data of a multimedia application, determining that the event information of the display data comprises the name of a multimedia file and the creator and performer of the multimedia file; the method is particularly used for determining that the event information of the display data comprises time information, place information and event content related to a schedule event in conversation content when the display data is data of a social chat application; when the display data is 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 a commodity name and a commodity price; and when the display data is data applied to express delivery, determining that the event information of the display data comprises an express delivery order number and logistics information corresponding to the express delivery order number.
In one possible design, the processing control includes at least one of a sharing control and a favorites control.
In a possible design, if a 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 or not according to the data type of the display data; the first preset condition comprises that event information of the display data carries at least one of a display data name, a data type of the display data, data content of the display data, a source of the display data and a user name related to the display data;
the second determining unit is used for determining the interface content to be displayed on the sharing selection interface according to the judgment result;
the display module is further configured to display the sharing selection interface according to the interface content;
the sharing unit is used for sharing the interface content to a first target sharing application according to the first target sharing application selected by a user.
In one possible design, the second determination unit is specifically configured to perform 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, sending a first data processing request carrying the display data to a network server, so as to obtain the event information of the display data meeting the first preset condition through the network server, and determining that the interface content 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 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, and the target collection applications are system-level applications which are integrated by the 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 or not according to the application type of the first target collection application; the second preset condition comprises that the event information of the display data carries at least one of a display data name, a data type of the display data, data content of the display data, a source of the display data and a user name related to 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 stowage unit is specifically adapted 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; 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 obtain 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 a possible design, if the source application is a system-level application, the obtaining module is specifically configured to call a get shared data interface getShareData () of the source application according to the trigger instruction, and obtain the display data through the get shared data interface.
In a possible design, if the source application is a non-system-level application, the obtaining module 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 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 includes 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 design, the obtaining module is specifically configured to determine, according to a data attribute of the content of each control, an effective control on a 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 the length of text in the control, the size of the current interface occupied by the picture in the control and the size of the current interface occupied by the animation in the control.
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 the 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 the size of the picture in the control occupying the current interface 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 size of the animation in the control in the current interface is larger than a preset third threshold, determining that the control is an effective control;
the third preset condition includes any one of that the length of text in the control is greater than the first threshold, the size of the picture in the control in the current interface is greater than the second threshold, and the size of the animation in the control in the current interface is greater than the third threshold.
The beneficial effects of the processing apparatus for application data provided by the second aspect and the possible designs of the second aspect may refer to the beneficial effects 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:
an input device for receiving a trigger instruction input by a 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 equipment 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 configured to process 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 delivery 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: when the display data is data of a multimedia application, determining that the event information of the display data comprises the name of a multimedia file and the creator and performer of the multimedia file; when the display data is data of a social chat application, determining that event information of the display data comprises time information, place information and event content related to a schedule event in conversation content; when the display data is data of a reading application, determining that the 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 a commodity name and a commodity price; and when the display data is data applied to express delivery, determining that the event information of the display data comprises an express delivery order number and logistics information corresponding to the express delivery order number.
In one possible design, the processing control includes at least one of a sharing control and a favorites control.
In a possible design, if a 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 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 interface content to be displayed on the sharing selection interface according to a determination result; the first preset condition comprises that event information of the display data carries at least one of a display data name, a data type of the display data, data content of the display data, a source of the display data and a user name related to the display data;
the display device is further configured to display 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 selected by a user according to the first target sharing application.
In one possible design, the terminal device further includes a transceiver;
the processor is configured to determine interface content to be displayed on the sharing selection interface according to the determination result, and specifically includes:
the processor is specifically configured to perform 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, sending a first data processing request carrying the display data to a network server through the transceiver, so as to obtain the event information of the display data meeting the first preset condition through the network server, and determining that the interface content 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 equipment.
In a possible design, if a 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 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 the 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, and the target collection applications are system-integrated and non-deletable system-level applications; the second preset condition includes that the event information of the display data carries at least one of a display data name, a data type of the display data, data content of the display data, a source of the display data, and a user name related to the display data.
In a possible design, the processor is configured to determine, according to a determination result, collection content to be collected to the first target collection application, and specifically includes:
the processor is specifically configured to one or more of: 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, sending a second data processing request carrying the display data to a network server through a transceiver, so as to obtain 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 a possible design, if the source application is a system-level application, the processor is configured to obtain display data of the source application on the current display interface according to the trigger instruction, and specifically includes:
the processor is specifically configured to call a shared data acquisition interface getShareData () of the source application according to the trigger instruction, and acquire the display data through the shared data acquisition interface.
In a 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 the current display interface according to the trigger instruction, and specifically includes:
the processor is specifically configured to obtain content of each control on a current display interface of the source application according to the trigger instruction and a preset configuration, and obtain 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 includes 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 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, according to the data attribute of the content of each control, an effective control on a current display interface of the source application, 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 the length of text in the control, the size of the current interface occupied by the picture in the control and the size of the current interface occupied by the animation in the control.
In a possible design, the processor is configured to determine, according to a data attribute of content of each control, an effective control on a 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 the 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 the size of the picture in the control occupying the current interface 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 size of the animation in the control in the current interface is larger than a preset third threshold, determining that the control is an effective control;
the third preset condition includes any one of that the length of text in the control is greater than the first threshold, the size of the picture in the control in the current interface is greater than the second threshold, and the size of the animation in the control in the current interface is greater than the third threshold.
The beneficial effects of the terminal device provided by the possible designs of the third aspect and the third aspect may refer to the beneficial effects brought by the possible designs of the first aspect and the first aspect, and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic view of an application data sharing scenario provided in an embodiment of the present invention;
FIG. 2 is a schematic diagram of an application data collection scenario provided by an embodiment of the 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 provided in the embodiment of the present invention;
fig. 6 is a schematic flowchart of a first embodiment of a method for processing application data according to the present invention;
fig. 7 is a flowchart illustrating a second embodiment of a method for processing application data according to the present invention;
fig. 8 is a schematic flowchart of a third embodiment of a processing method for application data according to the present invention;
FIG. 9 is a first schematic view of a processing interface according to an embodiment of the present invention;
fig. 10 is a first schematic view of a sharing selection interface according to an embodiment of the present invention;
fig. 11 is a current display interface of the shrimp music provided by the embodiment of the present invention;
FIG. 12 is a second schematic view of a processing interface provided in an embodiment of the present invention;
fig. 13 is a schematic view illustrating a sharing selection interface according to an embodiment of the present invention;
fig. 14 is a schematic flowchart of a fourth embodiment of a processing method of application data according to the present invention;
fig. 15 is a schematic flowchart of a fifth embodiment of a processing method for application data according to an embodiment of the present invention;
fig. 16 is a schematic structural diagram of a first embodiment of an apparatus for processing application data according to the present invention;
fig. 17 is a schematic structural diagram of a second embodiment of an application data processing apparatus 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
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The processing method of Application data provided in the embodiment of the present invention is not only applicable to a scenario in which Application data is shared between any two Application programs on a terminal device, but also applicable to a scenario in which some data related to an Application program is collected by the terminal device, referring to an Application program data sharing scenario diagram shown in fig. 1 and an Application program data collection scenario diagram shown in fig. 2, an Application program in the scenarios shown in fig. 1 and fig. 2 is an Application program (APP) that is user-oriented and can be operated by a user.
In fig. 1, it is generally valuable for a user to generate process data when the user uses APP, and the user wants that a third-party application in a terminal device can provide better service for the user by using the process data, for example, the user chats with friends in WeChat, and the 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 can be shared to the third-party application according to the chat content, for example, a schedule reminder of 3 pm tomorrow can be created for the user in schedule APP (i.e. the message content is shared to the schedule application) according to a message "eat at 3 pm tomorrow" sent by the user to a friend in WeChat. In fig. 2, in the prior art, data of an application a needs to be collected, the data may be collected according to a mode of the prior art, but the collected data can only be viewed through the application a when viewed, a viewing mode of a user is limited, in fig. 2, the data of the application a may be collected into a certain system-level application, the user may view directly through the system-level application without being limited by the application a, the viewing mode is various, and a specific process refers to the description of the following embodiment.
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 vehicle-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 the mobile phone 100 according to an embodiment of the present invention. Referring to fig. 3, the mobile phone 100 includes 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. Those skilled in the art will appreciate that the handset configuration shown in fig. 3 is not intended to be limiting and may include more or fewer components than those shown, or may combine certain components, or split certain components, or arranged in different components. Those skilled in the art will appreciate that the display 140 is part of a User Interface (UI) and that the cell phone 100 may include fewer than or the same User Interface as illustrated.
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 a message transmission or a call, and in particular, may be used for processing the downlink message of the base station after receiving the downlink message; in addition, the data for designing uplink is transmitted to the base station. Typically, the RF circuit 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, the RF circuitry 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 for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), and the like.
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing of the mobile phone 100 by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program 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, a phonebook, etc.) created according to the use of the cellular phone 100, and the like. Further, the 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.
The display screen 140 may be used to display information entered by or provided to the user as well as various menus of the handset 100 and may also accept user input. 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 called a touch screen, a touch sensitive screen, etc., may collect contact or non-contact operations (such as operations performed by a user on or near the touch panel 142 using any suitable object or accessory, such as a finger or a stylus, and may also include body-sensing operations, including single-point control operations, multi-point control operations, etc.) on or near the touch panel 142, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 142 may include two parts, i.e., a touch detection device and a touch controller. The touch detection device detects the touch direction and gesture of a user, detects signals brought by touch operation and transmits the signals to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into information that can be processed by the processor, sends the information to the processor 180, and receives and executes a command sent by the processor 180. In addition, the touch panel 142 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, a surface acoustic wave, and the like, and the touch panel 142 may also be implemented by any technology developed in the future. Further, the touch panel 142 may cover the display panel 141, a user may operate on or near the touch panel 142 covered on the display panel 141 according to the content displayed on the display panel 141 (the display content includes, but is not limited to, a soft keyboard, a virtual mouse, virtual keys, icons, etc.), the touch panel 142 detects the operation on or near the touch panel 142, and transmits the operation to the processor 180 through the I/O subsystem 170 to determine a user input, and then the processor 180 provides a corresponding visual output on the display panel 141 through the I/O subsystem 170 according to the user input. Although in fig. 2, the touch panel 142 and the display panel 141 are two independent 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, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 141 and/or the backlight when the mobile phone 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing gestures of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometers and taps), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone 100, further description is omitted here.
The I/O subsystem 170 controls input and output of external devices, which may include other devices, an input controller 171, a sensor controller 172, and a display controller 173. Optionally, one or more other input control device controllers 171 receive signals from and/or send signals to other input devices 130, and other input devices 130 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels, light mice (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). It is noted that other input control device controllers 171 may be connected to any one or more of the above-described devices. The display controller 173 in the I/O subsystem 170 receives signals from the display screen 140 and/or sends 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., implements a human-computer interaction. 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 by using various interfaces and lines, and performs various functions of the mobile phone 100 and processes data by operating 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. Alternatively, processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 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 to manage charging, discharging, and power consumption via 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 introduces a structural framework 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 applied 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 such as VxWorks. Similarly, based on the mobile phone shown in fig. 3, the following fig. 4 describes a system framework of a software operating system according to the method of the embodiment of the present invention, by taking an operating system as an Android system on the mobile phone.
Specifically, android is an open-source mobile operating system, as a mobile device platform, and its hierarchical structure includes an operating system, middleware (Middle Ware) and an Application program (Application), as shown in fig. 4, the Android operating system is divided into the following layers:
(1) Application program layer (Application)
Developers can develop application programs based on an android Software Development Kit (SDK), and the operating system itself also includes some basic applications, such as system level applications like short messages, phones, picture viewers, and Web browsers.
(2) Application Framework layer (Application Framework)
The Android Application framework layer provides various Application Programming Interface (API) for the Application layer, and includes various controls required in a User Interface (UI) program, for example: views (View component) includes TextView (text control), listView (list), buttons, webView (Web browser control)
(3) System library and Runtime Environment layer (Libraries & Android Runtime)
The layer comprises two parts of 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, unlike a standard JAVA virtual machine, executes a dex file, which is a virtual machine tailored and optimized for mobile devices.
(4) Linux Kernel layer (Kernel)
Android is developed based on a Linux kernel, and core system services, memory management, process management, network protocols and drivers of the Android all depend on the Linux kernel. The hardware layer of the mobile phone introduced in fig. 2 is located below the Linux kernel layer.
The above-mentioned 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 viewed through logging in the source APP when viewing in the future, for example, assuming that the user currently views a piece of news on the "today's headline" APP, the user wants to collect the piece of news, but the collected news can only be viewed in the "today's headline" APP later, and the user operation is cumbersome; in addition, if the user wants to share some data in the source APP to other APPs, whether the data can be shared is limited by the authorization of the source APP, for example, a commodity link in the panning (source APP), because the developer of the panning APP does not authorize the data of the panning to be shared in the wechat APP, the commodity link cannot be shared in the wechat (target APP) at this time. Therefore, the collection and sharing mode of the application data in the prior art cannot completely meet the use requirements of the user, and the user experience is poor.
Therefore, the method, the device and the terminal device for processing the application data provided by the embodiment of the invention aim to solve the technical problems that the collection and sharing mode 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, to solve the above problems in the prior art, taking an Android system as an example, an embodiment of the present invention improves an Application layer (Application) and an Application Framework layer (Application Framework) of the Android operating system based on the Android operating system architecture layer shown in fig. 4, that is, an APP with a function of collecting and sharing data of any Application is added to the Application layer, and a content obtaining device and a content collecting and sharing service device are added to the Application Framework layer, and the content collecting and sharing service device integrates a content obtaining interface for obtaining data from the content obtaining device, a sharing interface for receiving a sharing request from a third party Application, and a collecting interface for receiving a collecting request from a third party Application, which may be software interfaces, such as 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 acquired by a content acquisition device (it should be noted that, in the prior art, the display data of the source application is acquired by the source application, and sharing and collection of the display data are controlled by authorization of the source application), optionally, in the present invention, the display data may be acquired by traversing a control on the current display interface of the source application, and when the source application is a system-level application, the display data may also be acquired by calling an acquisition data share interface "get data share ()" of the source application, where the acquired display data is an APP of a function of collection and sharing in fig. 5, that is, collection and sharing of the display data are not controlled by authorization of the source application. Therefore, the user may trigger the APP with the function of collecting and sharing data of any application through a corresponding trigger instruction (the specific content of the trigger instruction may be referred to in the following description of the embodiment), collect or share the display data of the source application through the APP, the shared object is not limited by the authorization of the source APP, the collected content may be collected to different APPs, and is not limited by the limitation that the collected content must be viewed based on the source APP in the prior art. Meanwhile, while the architecture hierarchy 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 present invention may interact with the network server side, so that the shared or collected content better meets the requirements of the user, and the specific process may refer to the description of the following embodiment.
Optionally, an execution main body of the method embodiments described below may be a terminal device, and may also be a processing apparatus of application data integrated in the terminal device, where the apparatus may be implemented by software, hardware, or a combination of software and hardware. Optionally, the following method embodiments take an execution subject as a terminal device as an example for explanation.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 6 is a flowchart illustrating a first embodiment of a method for processing application data according to an embodiment of the present invention. The embodiment relates to a specific process that the 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 an operation of the user on the processing interface, so that the processing of the display data is not limited by the authorization of the source APP. As shown in fig. 6, the method includes the steps of:
s101: and receiving a triggering instruction input by a user.
Specifically, the trigger instruction in the embodiment of the present invention may trigger the APP in fig. 5, where the APP has a function of collecting and sharing data of any application, and when the APP is triggered, it is equivalent to trigger the terminal device to obtain display data of the source application on the current display interface, and the trigger instruction may be determined by the terminal device according to a trigger 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 currently input by the user is received. Optionally, the trigger operation in the trigger operation set may be an operation of sliding along a preset track, for example, an operation of sliding up or down on a current screen, or an operation of sliding along an S-shaped track by a user, or the like, optionally, the trigger operation may also be an operation of long-pressing a virtual control, for example, long-pressing a home key, or optionally, the trigger operation may also be a click operation of a preset number of times or a preset frequency, for example, a double-click operation, a multi-click operation, or the like.
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 obtains 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 obtain the display data of the source application on the current display interface through the content obtaining apparatus 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 apparatus, that is, the display data of the source application obtained by the terminal device on the current display interface is currently affiliated to the APP with the content collecting and sharing function, and is separated from the authorization limit of the source application. The source application related in the embodiment of the present invention is an application that is currently running on the terminal device and is currently being displayed. Optionally, the source application may be a system-level application, which is a non-deletable application integrated by the system (e.g., applications such as calls, notes, galleries, etc.), or a non-system-level application (e.g., an application installed by the user from an application market or a network, such as applications such as WeChat, microblog, QQ, etc.).
After the terminal device obtains the display data of the source application on the current display interface, the terminal device generates a processing interface (with reference to fig. 5, the triggering instruction triggers the APP with the function of collecting and sharing the data of any application to start, and the APP displays a processing interface) which is suspended on the current display interface, and the processing interface includes the 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. Optionally, 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 the data type of the display data, and the event information of the display data corresponding to different types of display data is different, 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 the 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 that the data operation instruction input by the user is a collection instruction, and if the user clicks the sharing control to represent that the data operation instruction input by the user is 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 a collection instruction or a sharing instruction; in summary, the embodiment of the present invention does not limit the type of the 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 already acquired the display data of the source application on the current display interface, the display data is subordinate to the APP with the content collecting and sharing function in fig. 5, the APP with the content collecting and sharing function displays the event information of the display data on the processing interface, which is equivalent to that the display data has already been 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 to any target APP, the authorization of the source APP is not required to be acquired or the authorization limit of the target APP is not required to be considered, the experience of the user is greatly improved, or the event information of the display data is collected to other APPs, so that the user can check the display data without logging in the source APP, and the operation of the user is greatly simplified.
In addition, the embodiment of the present invention does not limit the type of the source application, that is, if the source application is a system-level application, and since the event information of the display data is already displayed on the processing interface (which is equivalent to that the display data is already separated from the authorization limit of the source application), the technical solution of the embodiment of the present invention can also collect or share the display data of the system-level application on the current display interface, and does not need to collect or share the display data in a manner of saving pictures by capturing screens, thereby greatly saving processing overhead and memory of the terminal device, and further improving the intelligence of 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 including 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 device acquires the display data of the source application on the current display interface and displays 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 device can carry out 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, 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, 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 device is more intelligent; in addition, the embodiment of the invention can also collect or share the display data on the system-level application which cannot provide the sharing or collecting function, and the display data is not required to be collected or shared in a screen capture picture storage mode, so that the processing overhead and the memory of the terminal equipment are greatly saved, and the interaction intelligence of the system-level application and the user is further improved.
Fig. 7 is a flowchart illustrating a second embodiment of a method for processing 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 device acquires the display data of a source application on a current display interface. On the basis of the foregoing embodiment, further, the process of displaying the processing interface on the current display interface in the foregoing S102 may include the following steps:
s201: and determining the 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 delivery application.
Optionally, the multimedia application may include a music application, a video application, an animation application, and the like, and the data of the multimedia application may include music type data, video type data, animation type data, and the like; the social chat application may be, for example, a WeChat application, a short message application, a QQ application, or other applications related to a user performing a voice or text or video chat, and data of the social chat application may include text data, picture data, or the like in the conversation content; the reading application may be, for example, an electronic book application, an application capable of browsing news, and the data of the reading application may include text content, picture content, and the like in the reading content; the shopping application may be, for example, an application related to commodity transaction such as naobao, kyoto, and the like, and the data of the shopping application may include a commodity name of the transaction, a merchant to which the commodity belongs, a price of the commodity, and the like; the express application may be an application related to logistics information, such as the express 100, and the data of the express application may be information such as an article name and a single number of the express.
After acquiring display data of a source application on a current display interface, a terminal device determines a data type of the display data, and further determines event information of the display data, which should be displayed on a processing interface, according to the display type of the display data, where the determination may specifically include one or more of the following:
when the display data is data of a multimedia application, the terminal equipment determines that the event information of the display data comprises the name of a multimedia file and the creator and performer of the multimedia file; for example, if the display data is data of a music application, the event information of the display data is the name of the music and the singer of the music, and if the display data is data of a video application, the event information of the display data is the name of the video and the director or performer information of the video.
If the display data is data of a social chat application, the terminal device determines that the event information of the display data comprises time information, place information and event content related to a schedule event in the conversation content; for example, it is assumed that the display data is data of a short message application, and if the dialog content of the short message application includes schedule information agreed by both parties, the event information of the display data may include time information, location information, and corresponding event content of the schedule event, for example, see the interface diagram shown in fig. 9.
If the display data is data of a reading application, the terminal equipment determines that the event information of the display data comprises a title of the reading content and a source of the reading content; for example, assuming that the display data is data of a news application, for example, display data of a current display interface of a today's headline application, and assuming that the current display interface of the today's headline application displays a news content, the terminal device determines that the event information of the display data may include a news title and a source website of the news.
If the display data is data of a shopping application, the terminal equipment determines that the event information of the display data comprises a commodity name and a commodity price; and if the display data is data applied to express delivery, determining that the event information of the display data comprises an express delivery order number and logistics information corresponding to the express delivery order number.
S202: and displaying the event information of the display data and the processing control on the processing interface.
Specific technical solutions of the embodiments of the present invention will be described below from two aspects of collection and sharing, and it can be clearly seen based on the solutions of the following embodiments that the sharing manner in the embodiments of the present invention is not limited by the authorization of the source APP, and the collection manner and the collection content are not limited by the source APP. Moreover, 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 the sharing and collecting functions, and through the technical scheme of the following embodiment, the display data in the system-level application can be correspondingly collected and shared without screen capture processing.
Fig. 8 is a flowchart illustrating a third embodiment of a processing method for application data according to the present invention. On the basis of the above embodiment, the processing control includes at least one of a sharing control and a favorite control, the processing interface may be as shown in fig. 9, and the sharing selection interface may be suspended on a current display interface of the source APP, for example, refer to the sharing selection interface shown in fig. 10. In this embodiment, a user inputs a data operation instruction based on the sharing control in the processing interface, where the data operation instruction is a sharing instruction. In combination with the above embodiments, the method may include the steps of:
s301: and receiving a triggering 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, namely, a sharing control and a collection control.
Optionally, when the source application is a system-level application, after receiving the sharing instruction input by the user, the terminal device may actively report the display data on the current display interface to the content obtaining apparatus in fig. 5, for example, the terminal device may call the shared data obtaining interface getShareData () of the source application according to the trigger instruction, and obtain the display data of the source application on the current display interface through the shared data obtaining interface.
Optionally, when the source application is a non-system-level application, after the terminal device receives a sharing instruction input by a user, because the interface of the application to be third-party does not implement a getShareData () interface, the content obtaining device in fig. 5 obtains data of each control on the current display interface of the source application, for example, traversing the controls of the current display interface of the source application, such as TextView, imageView, and WebView, obtains the content of each control, and further obtains the display data according to the content of each control on the interface. The preset configuration may be a version number of the source application, an identifier of the source application, a page identifier of the current display interface, a control type in the page, a keyword of each control, a data type (music, picture, article, video) in the page, and the like. Optionally, the display data may be data in JSON format. Assuming that a music name in a playing interface of the shrimp music needs to be obtained, in an Android system, the name of the shrimp music can be obtained by id: the player _ song _ name acquires a name of a currently played music, "a broad sky", where the preset configuration may specifically be:
s303: if the user inputs a sharing instruction based on a sharing control on a processing interface, judging whether the event information of the display data meets a first preset condition corresponding to the data type of the display data or not according to the data type of the display data.
The first preset condition includes that the event information of the display data carries at least one of a display data name, a data type of the display data, data content of the display data, a source of the display data, and a user name related to the display data.
Specifically, because the source application may be a system-level application or a non-system-level application, when the source application is the non-system-level application, the display data captured by the terminal device from the current display interface of the source application through the trigger instruction and the preset configuration may not meet a first preset condition (for example, incomplete captured display data) corresponding to the data type of the current display data, where the first preset condition may include that at least one of a display data name, a data type of the display data, data content of the display data, a source of the display data, and a user name related to the display data is carried in the event information of the display data. It should be noted that the content of the first preset condition is different for different types of display data. 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), lyric link of the music (source of the display data), assuming that the source application is "shrimp music" of the music application, referring to fig. 11 for the current display interface, after receiving the trigger instruction, the terminal device acquires the display data of the current display interface from the source application, assuming that the acquired display data includes { "name": "broad sky", "artist": "Beyond", "source": shrimp music "; then, the terminal device may display the event information of the display data on the processing interface, where the event information of the display data includes "platysma sky" and "Beyond", and may refer to the processing interface schematic diagram shown in fig. 12; after the user inputs a 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 page information according to the data type of the display data, and therefore it is determined that the event information of the display data does not meet a first preset condition corresponding to the source application.
Based on the above reasons, the data that the terminal device wants to share to the target sharing application can meet the corresponding first preset condition, that is, the data that the terminal device wants to share to the target sharing application is more detailed and complete, so that the data can be effectively shared between the applications. Thus, 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 judgment 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 a user.
Specifically, as can be seen from the steps of S304 and S305, regardless of the determination result of S303, the sharing selection interface is displayed in S305, that is, the displaying step of the sharing selection interface is not affected by S303, but only the interface content in the sharing selection interface is related to the determination 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, and then displays 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 the reading data, such as a WeChat, a microblog, a browser, a QQ, and the like.
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 and returns the event information to the terminal device, and the terminal device determines that the interface content to be displayed on the sharing selection interface includes 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 to take the example that the source application is a music application "shrimp music", the first data processing request sent by the terminal device to the network server carries { "name": "broad sky", "artist": "Beyond", "source": shrimp music "} so as to query more detailed content (i.e. event information of display data satisfying a first preset condition) to the network server side according to the display data, and the network server returns the following content to the terminal device according to the display data in the first data processing request:
{
"album" means "the sea and sky wide",
"artist":"Beyond",
"download_url":"http://m.xiami.com/song/174652",
"name": the sea and sky),
"pic_url":
http://pic.xiami.net/images/album/img29/2629/141351342055007.jpg
@"!c-640-640",
"source":"XiaMi"
}
in this way, the terminal device may obtain information of the link "download _ url" of the music and the information of the front cover "pic _ url", so as to obtain 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, optionally, the sharing selection interface in this example may be as 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 does not provide the sharing function (for example, the source APP is a system-level application), the target sharing application capable of sharing the display data of the source APP can still be displayed in the sharing selection interface.
After the terminal device displays the sharing selection interface to the user, the user can select one of the sharing applications as a first target sharing application based on the target sharing application in the sharing selection interface, so that the terminal device 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, the target sharing application can obtain more detailed sharing data, and effective sharing of data among applications is achieved. Therefore, when the display data of the source application is shared, the display data of the source APP can be shared arbitrarily without being limited by the authorization of the source APP, and the sharing experience of the user is greatly improved.
According to the processing method of the application data, after a user inputs a sharing instruction on a processing interface based on a sharing control, whether event information of 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, and when the event information of the display data on the processing interface does not meet the first preset condition is determined, the terminal device obtains the event information of the display data meeting the first preset condition through interaction with a network server and serves as interface content to be displayed on a sharing selection interface, and the interface content is displayed on the sharing selection interface.
Fig. 14 is a flowchart illustrating a fourth embodiment of a processing method of application data according to the embodiment of the present invention. The processing interface in this embodiment can also be seen in fig. 9 described above. In this embodiment, a user inputs a data operation instruction based on the collection control in the processing interface, where the data operation instruction is a collection instruction. With reference to the foregoing embodiment, the method may specifically include the following steps:
s401: and receiving a triggering 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 a sharing control and a collection control. The terminal device may refer to the description in S302 above to obtain the display data of the source application on the current display interface according to the trigger instruction, which is not described herein again.
S403: and 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 relationship comprises corresponding relationships between different data types and different types of target collection applications, and the target collection applications are system-level applications which are integrated and cannot be deleted.
Specifically, after the terminal device inputs a collection instruction based on the collection control on the processing interface, 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 display data of the acquired source application on the current display interface and a preset first mapping relation, where the first target collection application is a system-integrated and non-deletable system-level application, such as a memo application, a gallery application, and the like. Optionally, if the display data is text data of a reading application, the determined first target collection application may be a collection application of a text, such as a memo application; optionally, assuming that the display data is picture data of a reading application, the determined first target collection application is a collection application of pictures, for example, a gallery application; optionally, 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 in 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 or not according to the application type of the first target collection application.
The second preset condition includes that the event information of the display data carries at least one of a display data name, a data type of the display data, data content of the display data, a source of the display data, and a user name related to the display data.
Optionally, because the source application may be a system-level application or a non-system-level application, when the source application is the non-system-level application, the display data that is captured by the terminal device from the current display interface of the source application through the trigger instruction and the preset configuration may not satisfy the second preset condition (for example, incomplete captured display data) corresponding to the first target collection application. The second preset condition may include that at least one of a name of 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 is carried in the event information of the display data. It should be noted that, for different types of target collection applications, the contents of the second preset conditions are different. For example, assuming that the user is viewing the internet entertainment application and wants to collect the currently viewed article into the gallery application (that is, the gallery application is the first target gallery application determined by the terminal device), the corresponding second preset condition may include a name of the display data (a title of news), a source of the display data (a source website of the news or a uniform location identifier URL), and a content of the display data (a picture content in the news).
Based on the above reasons, the terminal device expects that the display data collected to the target collection application can meet the second preset condition corresponding to the target collection application, that is, the data collected to the target collection application is expected to be more detailed and complete, so that the user can conveniently and effectively check the data. Thus, the step of S404 described above is executed.
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 satisfy 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, by the network server, the event information of the display data satisfying the second preset condition, and determine that the collection content to be collected into the first target collection application includes the event information of the display data satisfying the second preset condition, thereby collecting the collection content into the first target collection application. .
Based on the above scheme, when the user needs to view the display data later, the user can directly view the display data through the first target collection application without passing through the source application, thereby greatly simplifying the operation of the user, and even if the source application is a system-level application that does not support a collection function, the embodiment of the present invention can still view the collected display data through the first target collection application.
Optionally, the terminal device may also pop up a collection selection interface after the user clicks the collection control, where the collection selection interface includes the first target collection application, so that the user may click the first target collection application to collect the display data into the first target collection application.
According to the processing method of the application data, 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 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 acquired through interaction with the network server and collected into the first target collection application, so that a user can check more complete data through the first target collection application, check the data without a source application, greatly simplify the operation of the user, and improve the effectiveness of data collection.
Fig. 15 is a flowchart illustrating 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 of acquiring display data of a current display interface of a source application by terminal equipment 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 may specifically 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 the length of text in the control, the size of the current interface occupied by the picture in the control and the size of the current interface occupied by the animation in the control.
Specifically, after the terminal device obtains the content of each control on the current display interface of the source application according to a trigger instruction and preset configuration of a user, it is determined whether the content carried on the first control meets a third preset condition according to the data attribute of the content of each control, and if so, the terminal device determines that the control is an effective control, so that all effective controls on the current display interface of the source application are determined. It should be noted here that the control in this embodiment is an interface element on the current display interface of the source application, for example, if the source application is WeChat and the current display interface is a chat interface of WeChat, the whole chat interface, text content, image or time in the chat interface, or even emoticons 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 the current interface occupied by a picture in the first control, and a size of the current interface occupied by an animation in the first control, and the third preset condition may include any one of a condition that the text length of the content in the control is greater than a preset first threshold, a condition that the size of the current interface occupied by the picture in the control is greater than a preset second threshold, and a condition that the size of the current interface occupied by the animation in the control is greater than a preset third threshold.
Therefore, the terminal device determines the effective control on the current display interface of the source application according to the data attribute of the content of each control and by combining the third preset condition, and specifically may be: 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 greater than a preset first 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 picture in the control occupies the size of the current interface and the size of the picture in the control occupying the current interface is larger than a preset second threshold, determining that the content of 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 size of the animation in the control in the current interface is larger than a preset third threshold, determining that the content of the control meets the third preset condition, that is, determining that the control is an effective control.
By adopting the method of S501, all the active controls on the current display interface of the source application can be determined.
S502: and acquiring the display data according to the content of each effective control.
Optionally, the terminal device may use the content of each active control as a set, and directly use the set as the source to apply the display data of the current display interface; optionally, the terminal device may further integrate the obtained content of each effective control, and use the integrated data as display data of a current display interface of the source application, where the display data belongs to an APP with a content collection and sharing function in fig. 5 and is not limited by authorization of the source application.
According to the method for processing the application data, the terminal device obtains the content of each control according to the data obtaining method carried by the control by traversing the controls of the source application on the current display interface and the data obtaining method carried by the control, determines the effective controls of the source application on the current display interface according to the data attributes of the content of each control, and further obtains the display data of the source application on the current display interface according to the content of each effective control, the display data obtained by the method belongs to the APP with the content collecting and sharing functions in the figure 5, and the display data is not limited by the authorization of the source application, so that the terminal device can arbitrarily share or collect the display data based on the APP with the content collecting and sharing functions, 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, the operation of the user is simplified, the sharing and collecting experience of the user is greatly improved, and the interaction of the user and the application program on the terminal device is more intelligent.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
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. The processing device may be a stand-alone terminal device, or may be integrated in a terminal device, that is, the processing device may be implemented by software, hardware, or a combination of software and hardware. As shown in fig. 16, the apparatus for processing application data includes: the device comprises a receiving module 10, an obtaining 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 obtaining module 11 is configured to obtain display data of a source application on a current display interface according to the trigger instruction;
the display module 12 is configured to display 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 configured to process the display data according to a data operation instruction input by a user based on the processing control.
The processing apparatus for application data provided in the embodiment of the present invention may implement the method embodiments described above, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 17 is a schematic structural diagram of a second embodiment of an application data processing apparatus according to the present invention. On the basis of the embodiment shown in fig. 16, the display module 12 specifically includes a first determining unit 121 and a display unit 122.
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 configured to display 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 perform one or more of the following: when the display data is data of a multimedia application, determining that the event information of the display data comprises the name of a multimedia file and the creator and performer of the multimedia file; when the display data is data of a social chat application, determining that event information of the display data comprises time information, place information and event content related to a schedule event in conversation content; when the display data is data of a reading application, determining that the 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 a commodity name and a commodity price; and when the display data is data applied to express delivery, determining that the event information of the display data comprises an express delivery order number and logistics information corresponding to the express delivery order number.
The processing apparatus for application data provided in the embodiment of the present invention may implement the method embodiments described above, and the implementation principle and the technical effect are similar, which are not described herein again.
Optionally, the processing control includes at least one of a sharing control and a collecting control.
Fig. 18 is a schematic structural diagram of a third embodiment of an application data processing apparatus according to the present invention. On the basis of the embodiment shown in fig. 17, further, if the user inputs a data operation instruction based on the sharing control, the processing module 13 specifically includes: a first judging unit 131, a second determining unit 132, and a sharing unit 133;
the first judging unit 131 is configured to judge 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 that event information of the display data carries at least one of a display data name, a data type of the display data, data content of the display data, a source of the display data and a user name related to the display data;
the second determining unit 132 is configured to determine, according to a 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 with a first target sharing application selected by a 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, sending a first data processing request carrying the display data to a network server, so as to obtain the event information of the display data meeting the first preset condition through the network server, and determining that the interface content 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 equipment.
The processing apparatus for application data provided in the embodiment of the present invention may implement the method embodiments described above, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 19 is a schematic structural diagram of a fourth embodiment of an application data processing apparatus according to the present invention. On the basis of the embodiment shown in fig. 18, further, if the user inputs a data operation instruction based on the favorite control, the processing module 13 includes:
a third determining unit 134, configured to determine, according to the data type of the display data and a preset first mapping relationship, a first target collection application matched with the data type; the first mapping relation comprises corresponding relations between different data types and different types of target collection applications, and the target collection applications are system-level applications which are integrated by the system and cannot be deleted;
a second determining unit 135, configured to determine, according to the application type of the first target collection application, whether the event information of the display data meets a second preset condition corresponding to the first target collection application; the second preset condition comprises that the event information of the display data carries at least one of a display data name, a data type of the display data, data content of the display data, a source of the display data and a user name related to the display data;
the collection unit 136 is configured to determine, according to the determination result, collection content to be collected to the first target collection application, and collect the collection content to the first target collection application.
Further, the stowage unit 136 is specifically used 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; 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 obtain 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 call a shared data obtaining interface getShareData () of the source application according to the trigger instruction, and obtain the display data through the shared data obtaining interface.
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 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 includes 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 the 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 the length of text in the control, the size of the current interface occupied by the picture in the control and the size of the current interface occupied by the animation in the control.
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 the 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 the size of the picture in the control occupying the current interface 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 size of the animation in the control accounts for the current interface and the size of the animation in the control accounts for the current interface is larger than a preset third threshold, determining that the control is an effective control;
the third preset condition includes any one of the length of text in the control being greater than the first threshold, the size of a picture in the control occupying the current interface being greater than the second threshold, and the size of an animation in the control occupying the current interface being greater than the third threshold.
The processing apparatus for application data provided in the embodiment of the present invention may implement the method embodiments described above, and the implementation principle and the technical effect are similar, which 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, e.g., a CPU, a memory 22, at least one communication bus 23, and a display device 24. The communication bus 23 is used to realize communication connection between the elements. The memory 22 may include a high-speed RAM memory, and may also include a non-volatile memory NVM, such as at least one disk memory, in which various programs may be stored 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 an operation or instruction input by the user, and the like. Optionally, the terminal device may further include a transceiver 25, the transceiver 25 integrates a transmitter 251 and a receiver 252, the receiver 252 may be an input interface having 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, the transmitter 251 may be an output interface having a communication function and a function of transmitting 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 used for receiving a triggering instruction input by a user
The processor 21 is configured to obtain display data of the source application on the current display interface according to the trigger instruction;
the display device 24 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 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 method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
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 delivery 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 perform one or more of the following: when the display data is data of a multimedia application, determining that the event information of the display data comprises the name of a multimedia file and the creator and performer of the multimedia file; when the display data is data of a social chat application, determining that event information of the display data comprises time information, place information and event content related to a schedule event in conversation content; when the display data is 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 the event information of the display data comprises a commodity name and a commodity price; and when the display data is data applied to express delivery, determining that the event information of the display data comprises an express delivery order number and logistics information corresponding to the express delivery order number.
The terminal device provided by the embodiment of the present invention may execute the method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
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 interface content to be displayed on the sharing selection interface according to a determination result; the first preset condition comprises that event information of the display data carries at least one of a display data name, a data type of the display data, data content of the display data, a source of the display data and a user name related to 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 selected by a user according to the first target sharing application.
In this possible implementation manner, further, the processor 21 is configured to determine, according to the determination result, interface content to be displayed on the sharing selection interface, and specifically includes:
the processor 21 is specifically configured to perform 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, sending a first data processing request carrying the display data to a network server through the transceiver 25, so as to obtain the event information of the display data meeting the first preset condition through the network server, and determining that the interface content includes 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 in the embodiment of the present invention may execute the method embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
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, according to the data type of the display data and a preset first mapping relationship, a first target collection application matched with the data type, 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, and the target collection applications are system-integrated and non-deletable system-level applications; the second preset condition includes that the event information of the display data carries at least one of a display data name, a data type of the display data, data content of the display data, a source of the display data, and a user name related to the display data.
In this possible implementation manner, the processor 21 is configured to determine, according to a determination result, collection content to be collected to the first target collection application, and specifically includes:
the processor 21 is specifically configured to perform 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, sending a second data processing request carrying the display data to a network server through a transceiver 25, so as to obtain the event information of the display data meeting the second preset condition through the network server, and determining that the collection content includes 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 method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
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 the current display interface according to the trigger instruction, and specifically includes:
the processor 21 is specifically configured to call the get shared data interface getShareData () of the source application according to the trigger instruction, and obtain the display data through the get shared data 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 the current display interface according to the trigger instruction, and specifically includes:
the processor 21 is specifically configured to obtain content of each control on a current display interface of the source application according to the trigger instruction and a preset configuration, and obtain 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 includes 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, according to the data attribute of the content of each control, an effective control on the current display interface of the source application, 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 the length of text in the control, the size of the current interface occupied by the picture in the control and the size of the current interface occupied by the animation in the control.
Further, the processor 21 is configured to determine, according to the data attribute of the content of each control, an effective 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 the 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 the size of the picture in the control occupying the current interface 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 size of the animation in the control in the current interface is larger than a preset third threshold, determining that the control is an effective control;
the third preset condition includes any one of that the length of text in the control is greater than the first threshold, the size of the picture in the control in the current interface is greater than the second threshold, and the size of the animation in the control in the current interface is greater than the third threshold.
In one embodiment, a method for processing application data includes:
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 a possible implementation scheme, the displaying the processing interface on the current display interface specifically includes:
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 delivery application;
and displaying the event information of the display data and the processing control on the processing interface.
In a possible implementation scheme, the determining 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 data of the multimedia application, determining that the event information of the display data comprises the name of a multimedia file and the creator and performer of the multimedia file;
if the display data is data of a social chat application, determining that event information of the display data comprises time information, place information and event content related to a schedule event in conversation content;
if the display data is data of reading application, determining that the event information of the display data comprises a title of reading content and a source of the reading content;
if the display data is data of a shopping application, determining that the event information of the display data comprises a commodity name and a commodity price;
and if the display data is data applied to express delivery, determining that the event information of the display data comprises an express delivery order number and logistics information corresponding to the express delivery order number.
In one possible implementation, the processing control includes at least one of a sharing control and a collecting control.
In a possible implementation scheme, if a 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 the event information of the display data meets a first preset condition corresponding to the data type of the display data or not according to the data type of the display data; the first preset condition comprises that event information of the display data carries at least one of a display data name, a data type of the display data, data content of the display data, a source of the display data and a user name related to the display data;
determining interface content to be displayed on the sharing selection interface according to the judgment 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 a user.
In a possible implementation scheme, the determining, according to the determination result, 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, sending a first data processing request carrying the display data to a network server, so as to obtain the event information of the display data meeting the first preset condition through the network server, and determining that the interface content 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 equipment.
In a possible implementation scheme, if a 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, and the target collection applications are system-level applications which are integrated by the 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 or not according to the application type of the first target collection application; the second preset condition comprises that the event information of the display data carries at least one of a display data name, a data type of the display data, data content of the display data, a source of the display data and a user name related to 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 scheme, the determining, according to the determination result, the 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 obtain 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 a possible implementation scheme, if the source application is a system-level application, the obtaining, according to the trigger instruction, display data of the source application on the current display interface specifically includes:
and calling a shared data acquisition interface getShareData () of the source application according to the trigger instruction, and acquiring the display data through the shared data acquisition interface.
In a possible implementation scheme, if the source application is a non-system-level application, the obtaining, according to the trigger instruction, display data of the source application on the 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 preset configuration; 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;
and acquiring the display data according to the content of each control.
In a possible implementation scheme, 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 the text length in the control, the size of the current interface occupied by the picture in the control and the size of the current interface occupied by the animation in the control;
and acquiring the display data according to the content of each effective control.
In a possible implementation scheme, the determining, according to the data attribute of the content of each control, an effective 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 greater 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 size of the picture in the control occupying 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 size of the animation in the control in the current interface is larger than a preset third threshold, determining that the control is an effective control;
the third preset condition includes any one of that the text length of the content in the control is greater than the first threshold, that the size of the picture in the control in the current interface is greater than the second threshold, and that the size of the animation in the control in the current interface is greater than the third threshold.
In a second embodiment, a terminal device includes:
an input device for receiving a trigger instruction input by a 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 equipment 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 configured to process the display data according to a data operation instruction input by a user based on the processing control.
In a possible implementation scheme, 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 delivery 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 scheme, 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:
when the display data is data of a multimedia application, determining that the event information of the display data comprises the name of a multimedia file and the creator and performer of the multimedia file; when the display data is data of a social chat application, determining that event information of the display data comprises time information, place information and event content related to a schedule event in conversation content; when the display data is 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 a commodity name and a commodity price; and when the display data is data applied to express delivery, determining that the event information of the display data comprises an express delivery order number and logistics information corresponding to the express delivery order number.
In one possible implementation, the processing control includes at least one of a sharing control and a collection control.
In a possible implementation scheme, 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 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 interface content to be displayed on the sharing selection interface according to a determination result; the first preset condition comprises that event information of the display data carries at least one of a display data name, a data type of the display data, data content of the display data, a source of the display data and a user name related to the display data;
the display device is further configured to display 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 selected by a user according to the first target sharing application.
In one possible implementation, the terminal device further includes a transceiver; the processor is configured to determine interface content to be displayed on the sharing selection interface according to the determination result, and specifically includes:
the processor is specifically used for 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, sending a first data processing request carrying the display data to a network server through the transceiver, so as to obtain the event information of the display data meeting the first preset condition through the network server, and determining that the interface content 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 equipment.
In a possible implementation scheme, 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 matched with the data type according to the data type of the display data and a preset first mapping relation, and judge whether 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; 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, and the target collection applications are system-integrated and non-deletable system-level applications; the second preset condition includes that the event information of the display data carries at least one of a display data name, a data type of the display data, data content of the display data, a source of the display data, and a user name related to the display data.
In a possible implementation scheme, the processor is configured to determine, according to a determination result, collection content to be collected to the first target collection application, and specifically includes:
the processor is specifically configured to one or more of:
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, sending a second data processing request carrying the display data to a network server through a transceiver, so as to obtain 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 a possible implementation scheme, if the source application is a 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 call a shared data acquisition interface getShareData () of the source application according to the trigger instruction, and acquire the display data through the shared data acquisition interface.
In a possible implementation scheme, if the source application is a non-system-level application, the processor is configured to obtain display data of the source application on the current display interface according to the trigger instruction, and specifically includes:
the processor is specifically configured to obtain content of each control on a current display interface of the source application according to the trigger instruction and a preset configuration, and obtain 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 includes 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 scheme, 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, according to the data attribute of the content of each control, an effective control on a current display interface of the source application, 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 the length of text in the control, the size of the current interface occupied by the picture in the control and the size of the current interface occupied by the animation in the control.
In a possible implementation scheme, the processor is configured to determine, according to a data attribute of content of each control, an effective control on a 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 the 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 the size of the picture in the control occupying the current interface 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 size of the animation in the control in the current interface is larger than a preset third threshold, determining that the control is an effective control;
the third preset condition includes any one of that the length of text in the control is greater than the first threshold, the size of the picture in the control in the current interface is greater than the second threshold, and the size of the animation in the control in the current interface is greater than the third threshold.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (25)
1. A processing method of application data 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 trigger operation on the first interface;
responding to the trigger operation, displaying a processing interface of the first application program, wherein the processing interface comprises event information of the display data, the event information is part or all of the display data, the processing interface further comprises a processing control, and the processing control comprises at least one of a collection control or a sharing control;
receiving a first operation acting on the favorite control to view event information of the display data in a first target application program, wherein the first target application program is a system-level 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 program icon;
receiving a selection operation acting on a second target application program icon to view event information of the display data in the second target application program, wherein the second target application program is different from the source application;
the trigger operation comprises a sliding operation, a long-time pressing operation or a clicking operation.
2. The method of claim 1, wherein viewing the display data of the source application in the first target application is not restricted by the source application.
3. The method of claim 1, further comprising: the source application also has a second favorite function to view display data of the source application in the source application after the display data of the source application is favorite using the second favorite function.
4. The method of claim 1, wherein the source application comprises a system level application or a third party application.
5. The method of claim 1, wherein the source application comprises a non-deletable application integrated by a system.
6. The method of claim 1, wherein the third party application comprises a non-system integrated, deletable application.
7. The method of claim 1, wherein the processing interface is suspended above 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 been freed from a limitation 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 and a content collection and sharing service device, wherein the content collection and sharing service device comprises a content acquisition interface for acquiring data from the content acquisition device, a sharing interface for receiving a sharing request from a third-party application, and a collection interface for receiving a collection request from a third-party application.
11. The method of claim 1, further comprising: when the source application is a system-level application, obtaining the display data by calling a get data share interface 'get data share ()' of the source application; or when the source application is a third-party application, the display data is obtained by traversing the content of each control of the first interface.
12. The method of claim 1, wherein the first target application comprises a web address corresponding to the display data of the source application.
13. The method of claim 1, wherein if the display data is the data of the multimedia application, the event information of the display data comprises a name of a multimedia file and an author and an artist of the multimedia file; or
If the display data is the data of the music application, the event information of the display data comprises the name of the music and the singer of the music; or
If the display data is the data of the video application, the event information of the display data comprises the name of the video and the director or performer information of the video; or
If the display data is the data of the social chat application, the event information of the display data comprises time information, place information and event content related to a schedule event in conversation content; or
If the display data is 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
If the display data is the data of the shopping application, the event information of the display data comprises commodity names and commodity prices; or
And if the display data is 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 floats above the first interface.
15. The method of claim 1, further comprising: and when the event information of the display data meets a first preset condition corresponding to the data type of the display data, displaying a target application matched with the data type on the sharing interface.
16. The method according to claim 1, characterized in that when the event information of the display data does not satisfy a first preset condition corresponding to the display data type, the terminal device sends a first data request to a network server, wherein the first data request comprises the display data;
the terminal equipment receives the event information of the display data returned by the network server;
and displaying the target application matched with the data type of the display data on the sharing interface.
17. The method according to claim 15 or 16, 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 a courier application.
18. The method according to claim 15 or 16, wherein the first preset condition includes that the event information of the display data carries 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.
19. 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 is a picture collection application; or when the display data is video data, the first target application is a video collection application.
20. The method of claim 1, further comprising: and when the event information of the display data meets a second preset condition corresponding to the first target application, collecting the event information of the display data to the first target application.
21. The method of claim 1, further comprising: when the event information of the display data does not meet a second preset condition corresponding to the first target application, the terminal device sends a second data request to a network server, wherein the first data request comprises the display data;
the terminal equipment receives the 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.
22. The method of claim 1, further comprising: after receiving the first operation acting on the favorite control, viewing display data of the source application in a first target application program comprises:
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;
and receiving a third operation of the user for the first target application, and collecting the display data to the first target application.
23. The method of claim 1, wherein the event information of the display data is determined according to a data type of the display data.
24. A processing method of application data is applied to a terminal device, and is characterized in that the terminal device is provided with a first application program, 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 trigger operation on the first interface;
responding to the trigger operation, displaying a processing interface of the first application program, wherein the processing interface comprises event information of the display data, the event information is part or all of the display data, the event information of the display data is determined according to the data type of the display data, and the processing interface further comprises a processing control which comprises a collection control;
receiving a first operation acting on the favorite control to view event information of the display data in a first target application program, wherein the first target application program is a system-level application.
25. An apparatus for processing application data, applying the method for processing application data according to any one of claims 1 to 24, 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.
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 | Application data processing method, device and terminal device |
| PCT/CN2016/096108 WO2017193496A1 (en) | 2016-08-19 | 2016-08-19 | Application data processing method and apparatus, and terminal device |
| CN202210933195.XA CN115454286B (en) | 2016-08-19 | 2016-08-19 | Application data processing method and device and terminal equipment |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201680087057.7A Division CN109328329A (en) | 2016-08-19 | 2016-08-19 | Application data processing method, device and terminal device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN115454286A true CN115454286A (en) | 2022-12-09 |
| CN115454286B CN115454286B (en) | 2024-04-02 |
Family
ID=60267827
Family Applications (3)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202410293174.5A Active CN118519553B (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 | Application data processing method, device and terminal device |
| CN202210933195.XA Active CN115454286B (en) | 2016-08-19 | 2016-08-19 | Application data processing method and device and terminal equipment |
Family Applications Before (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202410293174.5A Active CN118519553B (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 | Application data processing method, device and terminal device |
Country Status (2)
| Country | Link |
|---|---|
| CN (3) | CN118519553B (en) |
| WO (1) | WO2017193496A1 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116701804A (en) * | 2023-04-28 | 2023-09-05 | 亿次网联(杭州)科技有限公司 | Collection method, software, computer equipment and readable storage medium |
| CN120335668A (en) * | 2024-01-10 | 2025-07-18 | 荣耀终端股份有限公司 | Data collection method, device and storage medium |
Families Citing this family (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114584651B (en) | 2016-09-09 | 2023-01-24 | 荣耀终端有限公司 | Method for pushing notification, electronic device and storage medium |
| CN110224920B (en) * | 2019-04-23 | 2022-02-01 | 维沃移动通信有限公司 | Sharing method and terminal equipment |
| CN112016580B (en) * | 2019-05-31 | 2023-07-25 | 北京百度网讯科技有限公司 | App name recognition method, device and terminal |
| CN114461111B (en) * | 2019-10-31 | 2022-09-23 | 华为技术有限公司 | Function starting method and electronic equipment |
| CN116320590B (en) * | 2020-08-27 | 2024-03-22 | 荣耀终端有限公司 | Information sharing method, system, terminal equipment and storage medium |
| CN114679511B (en) * | 2020-12-24 | 2024-12-10 | 荣耀终端有限公司 | Operation control method, device and electronic equipment |
| CN114817183A (en) * | 2021-01-22 | 2022-07-29 | 武汉斗鱼鱼乐网络科技有限公司 | An animation implementation method, device, medium and electronic device for sharing buttons |
| CN115712742A (en) * | 2021-08-23 | 2023-02-24 | 广州视源电子科技股份有限公司 | Content recording method, device, storage medium and equipment based on Android system |
| 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 |
| CN118820185A (en) * | 2023-04-17 | 2024-10-22 | 华为技术有限公司 | File operation method, electronic device and computer readable storage medium |
Citations (3)
| 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 (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104239297A (en) * | 2013-06-06 | 2014-12-24 | 腾讯科技(北京)有限公司 | Webpage bookmarking method, system and device |
| EP3843020A1 (en) * | 2013-06-09 | 2021-06-30 | Apple Inc. | 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 |
| CN103559288A (en) * | 2013-11-08 | 2014-02-05 | 惠州Tcl移动通信有限公司 | Method and mobile terminal for intelligent collecting and sharing |
| CN104090761B (en) * | 2014-07-10 | 2017-09-29 | 福州瑞芯微电子股份有限公司 | A kind of sectional drawing application apparatus and method |
| CN105471953B (en) * | 2014-09-10 | 2019-10-15 | 腾讯科技(深圳)有限公司 | Customer terminal webpage dynamic display method, device and system |
| US9606716B2 (en) * | 2014-10-24 | 2017-03-28 | Google Inc. | Drag-and-drop on a mobile device |
| CN104657423B (en) * | 2015-01-16 | 2018-07-06 | 白天 | Using content share method and its device |
| CN104835058B (en) * | 2015-04-15 | 2018-07-31 | 华为技术有限公司 | A kind of sharing method and device of goods links |
| CN104899083A (en) * | 2015-05-19 | 2015-09-09 | 小米科技有限责任公司 | Application sharing 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 |
-
2016
- 2016-08-19 CN CN202410293174.5A patent/CN118519553B/en active Active
- 2016-08-19 WO PCT/CN2016/096108 patent/WO2017193496A1/en not_active Ceased
- 2016-08-19 CN CN201680087057.7A patent/CN109328329A/en active Pending
- 2016-08-19 CN CN202210933195.XA patent/CN115454286B/en active Active
Patent Citations (3)
| 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 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116701804A (en) * | 2023-04-28 | 2023-09-05 | 亿次网联(杭州)科技有限公司 | Collection method, software, computer equipment and readable storage medium |
| CN120335668A (en) * | 2024-01-10 | 2025-07-18 | 荣耀终端股份有限公司 | Data collection method, device and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2017193496A1 (en) | 2017-11-16 |
| CN118519553A (en) | 2024-08-20 |
| CN118519553B (en) | 2025-06-03 |
| CN115454286B (en) | 2024-04-02 |
| CN109328329A (en) | 2019-02-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN118519553B (en) | Application data processing method and device and terminal equipment | |
| AU2010327453B2 (en) | Method and apparatus for providing user interface of portable device | |
| US11798107B2 (en) | Scenario-based application recommendation method and apparatus | |
| CN115174733B (en) | Interface display method, device and equipment | |
| CN112041791B (en) | Method and terminal for displaying virtual keyboard of input method | |
| RU2616536C2 (en) | Method, device and terminal device to display messages | |
| CN107092520B (en) | Recommended method, device, storage medium and mobile terminal for application program | |
| CN108156508B (en) | Barrage information processing method and device, mobile terminal, server and system | |
| WO2018153100A1 (en) | Method for displaying collected object, and terminal | |
| CN105022552B (en) | A kind of method and apparatus for showing messaging list | |
| CN109416652B (en) | Application data sharing method and device and terminal equipment | |
| US10235024B2 (en) | Buddy list presentation control method and system, and computer storage medium | |
| CN113127773A (en) | Page processing method and device, storage medium and terminal equipment | |
| WO2015014305A1 (en) | Method and apparatus for presenting clipboard contents on a mobile terminal | |
| CN107193451B (en) | Information display method, apparatus, computer equipment, and computer-readable storage medium | |
| JP2021517319A (en) | Video preview method and electronic device | |
| US20200310771A1 (en) | Application Processing Method for Terminal Device, and Terminal Device | |
| WO2020238351A1 (en) | Application downloading and classification method and terminal device | |
| CN110879680B (en) | Icon management method and electronic device | |
| CN114547436A (en) | Page display method and device, electronic equipment and storage medium | |
| CN104216929A (en) | Method and device for intercepting page elements | |
| CN117289831A (en) | Page interaction method and device, electronic equipment and storage medium | |
| CN107391732B (en) | Application program function guidance method, device and terminal device | |
| CN106230919B (en) | File uploading method and device | |
| WO2018145539A1 (en) | Streaming media data processing method and mobile terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP03 | Change of name, title or address |
Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee after: Honor Terminal Co.,Ltd. Country or region after: China Address before: 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong Patentee before: Honor Device Co.,Ltd. Country or region before: China |
|
| CP03 | Change of name, title or address |