WO2017193496A1 - Procédé et appareil de traitement de données d'application et dispositif de terminal - Google Patents

Procédé et appareil de traitement de données d'application et dispositif de terminal Download PDF

Info

Publication number
WO2017193496A1
WO2017193496A1 PCT/CN2016/096108 CN2016096108W WO2017193496A1 WO 2017193496 A1 WO2017193496 A1 WO 2017193496A1 CN 2016096108 W CN2016096108 W CN 2016096108W WO 2017193496 A1 WO2017193496 A1 WO 2017193496A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
display data
application
control
interface
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.)
Ceased
Application number
PCT/CN2016/096108
Other languages
English (en)
Chinese (zh)
Inventor
郭乃荣
李永德
仲启强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202410293174.5A priority Critical patent/CN118519553B/zh
Priority to CN201680087057.7A priority patent/CN109328329A/zh
Priority to PCT/CN2016/096108 priority patent/WO2017193496A1/fr
Priority to CN202210933195.XA priority patent/CN115454286B/zh
Publication of WO2017193496A1 publication Critical patent/WO2017193496A1/fr
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

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

Definitions

  • the present invention relates to communication technologies, and in particular, to a method, an apparatus, and a terminal device for processing application data.
  • APP applications
  • mobile devices With the continuous development of mobile devices, a variety of applications (applications, referred to as APP) appear on mobile devices to provide convenience and entertainment for users' lives.
  • third-party application developers have given content collection and content sharing functions to third-party applications. Users can collect or share their own content to other applications. For example, suppose the user is currently viewing the headlines. "A news on the APP, the user needs to share this news into the "WeChat” app, then the user clicks the share button on the "Today's Headline” APP, and the sharing interface of the application display will pop up, the user can select in this interface.
  • the target application that needs to be shared that is, choose to share with the WeChat app.
  • the collection and sharing functions of the above application content are functions provided by the application itself. Therefore, the collected data can only be viewed in the source APP, and the user operation is cumbersome; for the sharing of the content, the authorization of the source APP is affected, for example, The product link in Taobao (source APP) cannot be shared into WeChat (target APP). Therefore, the collection and sharing methods of the application data in the prior art cannot fully satisfy the user's use requirements, and the user experience is poor.
  • the method, device, and terminal device for processing application data provided by the embodiments of the present invention are used to solve the method for collecting and sharing application data in the prior art, and cannot fully satisfy the user's use requirements, and the user experience is poor, so that the human-machine interaction is insufficient. Intelligent technical issues.
  • an embodiment of the present invention provides a method for processing application data, including:
  • the display data is processed according to a data manipulation instruction input by the user based on the processing control.
  • the terminal device acquires display data of the source application on the current display interface by using the received trigger instruction of the user, and displays the display data including the display data on the current display interface.
  • the event information and the processing control process the interface to process the display data according to a data operation instruction input by the user based on the processing control.
  • the terminal device since the terminal device has acquired 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 having the content collection and sharing function,
  • the display data has been deviated from the authorization limit of the source application, so that the terminal device can perform arbitrary collection or sharing processing on the event information of the display data on the processing interface according to the data operation instruction input by the user, and the target of the display display data
  • the APP or the target APP sharing the display data is not restricted by the authorization of the source APP, which not only simplifies the operation of the user, but also greatly improves the sharing experience of the user, and makes the interaction of the application on the user and the terminal device more intelligent;
  • the embodiment of the invention can also collect or share the display data on the system-level application that cannot provide the sharing or collecting function, and save or save the processing space and the memory of the terminal device, thereby further improving the memory of the terminal device.
  • System level application and Intelligent user interaction since the terminal device has acquired the display data of the source application
  • the displaying the processing interface on the current display interface includes:
  • the data type of the display data includes data of the multimedia application, data of the social chat application, data of the reading application, data of the shopping application, data of the express application Any one or more of them;
  • the event information of the display data and the processing control are displayed on the processing interface.
  • the event information of the display data is determined according to the data type of the display data, and specifically includes one or more of the following:
  • determining event information of the display data includes a name of the multimedia file and an creator and an artist of the multimedia file
  • the display data is the data of the social chat application, determining that the event information of the display data includes time information, location information, and event content related to the schedule event in the conversation content;
  • determining event information of the display data includes reading a title of the content and a source of the reading content
  • determining event information of the display data includes a product name and a commodity price
  • determining the event information of the display data includes the delivery order number and the logistics information corresponding to the express delivery number.
  • the processing the data according to the data operation instruction input by the user based on the processing control specifically:
  • the event information 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;
  • the determining, according to the determination result, the interface content to be displayed on the sharing selection interface specifically including one or two of the following:
  • the interface content includes event information of the display data and a target sharing application that matches a data type of the display data
  • the processing method of the application data provided in each of the above possible designs, after the user inputs the sharing instruction based on the sharing control on the processing interface, determining whether the event information of the display data satisfies the content according to the data type of the display data.
  • the first preset condition corresponding to the data type of the display data when the event information of the display data on the processing interface does not satisfy the first preset condition, the terminal device obtains the first preset condition by obtaining interaction with the network server.
  • the event information is used as the interface content to be displayed on the sharing selection interface, and the interface content is displayed on the sharing selection interface, so that when the user selects the first target sharing application, the display data satisfying the first preset condition is
  • the event information is shared to the first target sharing application, and the data sharing between the applications is realized, so that the target sharing application can better provide services for the user, and the user experience is greatly improved.
  • the processing data is processed according to the data operation instruction input by the user based on the processing control, and specifically includes:
  • the target collection application is a system-level application integrated by the system and not undeletable;
  • the event information of the 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;
  • the determining, according to the determination result, the collection content to be collected to the first target collection application specifically including one or more of the following:
  • the processing method of the application data provided in each of the foregoing possible designs, by determining the first target favorite application that matches the data type according to the data type of the display data and the preset first mapping relationship, and according to the first The application type of the target collection application, and the event that determines the display data Whether the information meets the second preset condition corresponding to the first target collection application, and when the event information of the display data does not satisfy the second preset condition, by performing interaction with the network server, obtaining a display that satisfies the second preset condition
  • the event information of the data is collected in the first target collection application, so that the user can view the more complete data through the first target collection application, and the view can be viewed without using the source application, thereby greatly simplifying the operation of the user and improving the operation.
  • the effectiveness of the data collection by determining the first target favorite application that matches the data type according to the data type of the display data and the preset first mapping relationship, and according to the first The application type of the target collection application, and the event that determines the display
  • the obtaining the display data of the source application on the current display interface according to the triggering instruction includes:
  • the obtaining the display data of the source application on the current display interface according to the triggering instruction includes:
  • the control is an interface element on the current display interface
  • the preset configuration includes Determining 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;
  • the display data is acquired according to the content of each of the controls.
  • the obtaining the display data according to the content of each control includes:
  • the effective control is a control carrying data that meets a third preset condition;
  • the data attribute includes the control The length of the text in the text, the picture in the control occupies the size of the current interface, and the animation in the control occupies at least one of the size of the current interface;
  • the display data is acquired according to the content of each of the valid controls.
  • the determining, according to the data attribute of the content of each control, the effective control on the current display interface of the source application specifically includes:
  • the data attribute of the control is the length of the text 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 a valid control;
  • the data attribute of the control is that the picture in the control occupies the size of the current interface, and the picture in the control occupies the size of the current interface is greater than a preset second threshold, determining that the control is Effective control
  • the data attribute of the control is the size of the current interface in the control, and the animation in the control occupies the size of the current interface is greater than a preset third threshold, determining that the control is a valid control;
  • the third preset condition includes that the text length of the content in the control is greater than the first threshold, the size of the current interface in the control is greater than the second threshold, and the animation in the control is occupied.
  • the size of the current interface is greater than any of the third thresholds.
  • the terminal device obtains the content on each control according to the data acquisition method carried by the control itself by traversing the control of the source application on the current display interface, and according to the data of the content of each control
  • the attribute determines the effective control of the source application on the current display interface, and then obtains the display data of the source application on the current display interface according to the content of each valid control, and the display data obtained by the method belongs to the content collection and sharing in FIG.
  • the function of the APP which is not restricted by the authorization of the source application, so that the terminal device can share or collect the display data arbitrarily based on the APP having the content collection and sharing function, and collect the target APP of the display data or share the display data.
  • the target APP is not restricted by the authorization of the source APP, which not only simplifies the operation of the user, but also greatly improves the sharing and collection experience of the user, and makes the interaction of the application on the user and the terminal device more intelligent.
  • a second aspect of the present invention provides an apparatus for processing application data, including:
  • a receiving module configured to receive a trigger instruction input by a user
  • An obtaining module configured to acquire, according to the triggering instruction, display data of a source application on a current display interface
  • a display module configured to display a processing interface on the current display interface, where the processing interface includes event information and a processing control of the display data, where the processing control is configured to receive a data operation instruction of the user;
  • a processing module configured to process the display data according to a data operation instruction input by the user based on the processing control.
  • the display module specifically includes:
  • a first determining unit 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 includes data of a multimedia application, and a social chat application Any one or more of data, data for reading applications, data for shopping applications, and data for express applications;
  • a display unit configured to display event information of the display data and the processing control on the processing interface.
  • the first determining unit is specifically used for one or more of the following: when the display data is data of a multimedia application, determining event information of the display data includes a name of the multimedia file. And the creator and the performer of the multimedia file; specifically, when the display data is data of a social chat application, determining event information of the display data includes time information and location information related to a schedule event in the conversation content And event content; when the display data is data of the reading application, determining event information of the display data includes reading a title of the content and a source of the reading content; when the display data is data of the shopping application, determining The event information of the display data includes a product name and a commodity price; when the display data is data of a express application, determining event information of the display data includes a delivery order number and logistics information corresponding to the express delivery number.
  • the processing control includes at least one of a sharing control and a favorite control.
  • the processing module specifically includes: a first determining unit, a second determining unit, and a sharing unit;
  • the first determining unit is configured to determine, according to the data type of the display data, whether the event information of the display data satisfies a first preset condition corresponding to a data type of the display data; wherein the first The preset condition includes at least one of a display data name, a data type of the display data, a data content of the display data, a source of the display data, and a user name related to the display data, in the event information of the display data;
  • the second determining unit is configured to determine, according to the determination result, an interface content to be displayed on the sharing selection interface
  • the display module is further configured to display the sharing selection interface according to the interface content
  • the sharing unit is configured to share the interface content to the first target sharing application according to the first target sharing application selected by the user.
  • the second determining unit is specifically used for one or two of the following: when the event information of the display data satisfies the first preset condition, determining the interface content package The event information of the display data and the target sharing application matching the data type of the display data; when the event information of the display data does not satisfy the first preset condition, sending the display to the network server a first data processing request of the data, to acquire event information of the display data that satisfies the first preset condition by the network server, and determine that the interface content includes the event that meets the display data of the first preset condition A target sharing application in the information and terminal device that matches the data type of the display data.
  • the processing module includes:
  • a third determining unit configured to determine, according to the data type of the display data and the preset first mapping relationship, a first target favorite application that matches the data type; the first mapping relationship includes different data types and Corresponding relationship between different types of target collection applications, the target collection application being a system-level application integrated by the system and not undeletable;
  • a second determining unit configured to determine, according to an application type of the first target favorite application, whether event information of the display data meets a second preset condition corresponding to the first target favorite application; wherein, the second The preset condition includes at least one of a display data name, a data type of the display data, a data content of the display data, a source of the display data, and a user name related to the display data, in the event information of the display data;
  • a collecting unit configured to determine, according to the determination result, the collected content to be collected to the first target favorite application, and collect the collected content to the first target favorite application.
  • the collecting unit is specifically used for one or more of the following: when the event information of the display data satisfies the second preset condition, determining that the favorite content includes the display Event information of the data; when the event information of the display data does not satisfy the second preset condition, sending a second data processing request carrying the display data to the network server, to obtain, by the network server, that the information is satisfied The event information of the display data of the second preset condition, and determining that the favorite content includes event information of the display data satisfying the second preset condition.
  • the source application includes a system level application or a non-system level application, which is a non-system integrated and deletable application.
  • the acquiring module is specifically configured to invoke the acquisition shared data interface getShareData() of the source application according to the triggering instruction, by using the obtaining sharing.
  • the data interface acquires the display data.
  • the acquiring module is specifically configured to acquire, on the current display interface of the source application, according to the triggering instruction and the preset configuration.
  • the content of the control and obtaining 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 a version number of the source application, an application identifier of the source application, a page identifier of the current display interface, and the control At least one of a control type, a data type of the display data.
  • the obtaining module is specifically configured to determine, according to a data attribute of the content of each control, a valid control on the current display interface of the source application, and according to each of the effective controls Content, obtaining the display data;
  • the valid control is a control that carries data that meets a third preset condition; the data attribute includes a text length in the control, a picture in the control occupies a size of a current interface, and an animation in the control At least one of the sizes of the current interface.
  • the obtaining module is specifically configured to: when a data attribute of the control is a text length in the control, and a text length in the control is greater than a preset first threshold, determine The control is a valid control; or, when the data attribute of the control is the size of the current interface in the control, and the image in the control occupies the size of the current interface is greater than a preset second threshold, Determining that the control is a valid control; or, when the data attribute of the control is the size of the current interface in the control, and the animation in the control occupies the size of the current interface is greater than a preset third threshold , determining that the control is a valid control;
  • the third preset condition includes that the length of the text in the control is greater than the first threshold, the size of the picture in the control occupies the size of the current interface is greater than the second threshold, and the animation in the control occupies the current The size of the interface is greater than any of the third thresholds.
  • the processing results of the application data provided by the second aspect and the possible design of the second aspect may be beneficially referred to the advantages of the first aspect and the possible designs of the first aspect, and Let me repeat.
  • an embodiment of the present invention provides a terminal device, including:
  • Input device for receiving a trigger command input by a user
  • a processor configured to acquire display data of the source application on the current display interface according to the triggering instruction
  • a display device configured to display a processing interface on the current display interface; wherein the processing boundary
  • the surface includes the event information and the processing control of the display data, and the processing control is configured to receive a data operation instruction of the 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.
  • 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 includes data of the multimedia application, and data of the social chat application. , reading any one or more of the application data, the shopping application data, and the express application data;
  • the display device is specifically configured to display event information of the display data and the processing control on the processing interface.
  • the processor is further configured to determine event information of the display data according to a data type of the display data, specifically:
  • the processor is specifically used in one or more of the following: when the display data is data of a multimedia application, determining event information of the display data includes a name of the multimedia file and a creator and a performance of the multimedia file When the display data is data of a social chat application, determining event information of the display data includes time information related to a schedule event in the conversation content, location information, and event content; when the display data is a reading application At the time of data, determining event information of the display data includes reading a title of the content and a source of the read content; when the display data is data of the shopping application, determining event information of the display data includes a product name and a commodity price And when the display data is the data of the express application, determining the event information of the display data includes the delivery order number and the logistics information corresponding to the express delivery number.
  • the processing control includes at least one of a sharing control and a favorite control.
  • the processor is configured to process the display data according to a data operation instruction input by the user based on the processing control, and specifically includes:
  • the processor is configured to determine, according to the data type of the display data, whether event information of the display data satisfies a first preset condition corresponding to a data type of the display data, and determine, to be displayed, according to the determination result. And sharing the interface content of the selection interface; wherein the first preset condition includes the data type of the display data name and the display data in the event information of the display data At least one of a type, a data content of the display data, a source of the display data, and a username associated with 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 the first target sharing application according to the first target sharing application selected by the user.
  • the terminal device further includes a transceiver
  • the processor is configured to determine, according to the determination result, an interface content to be displayed on the sharing selection interface, specifically:
  • the processor is specifically configured to: when the event information of the display data satisfies the first preset condition, determining that the interface content includes event information of the display data and a target sharing application that matches the data type of the display data; when the event information of the display data does not satisfy the first preset condition, sending, by the transceiver, a first data processing request carrying the display data to the network server And acquiring, by the network server, event information that meets the display data of the first preset condition, and determining that the interface content includes event information of the display data that satisfies the first preset condition, and all the The data sharing type of the display data matches the target sharing application.
  • the processor is configured to process the display data according to a 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 and a preset first mapping relationship, a first target favorite application that matches the data type, and according to the application of the first target favorite application Type, determining whether the event information of the display data meets a second preset condition corresponding to the first target favorite application; and determining, according to the determination result, the favorite content to be collected to the first target favorite application, and determining Collecting the collected content to the first target collection application;
  • the first mapping relationship includes a correspondence between different data types and different types of target collection applications, where the target collection application is a system-level application integrated by the system and cannot be deleted;
  • the second preset condition includes
  • 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.
  • the processor is configured to determine, according to the judgment result, that the to-be-collected
  • the collection content of the first target collection application includes:
  • the processor is specifically configured to: when the event information of the display data satisfies the second preset condition, determining that the favorite content includes event information of the display data; When the event information of the display data does not satisfy the second preset condition, the second data processing request carrying the display data is sent to the network server by the transceiver, so that the second preset condition is met by the network server. Displaying event information of the data, and determining that the favorite content includes event information of the display data satisfying the second preset condition.
  • the source application includes a system level application or a non-system level application, which is a non-system integrated and deletable application.
  • the processor is configured to obtain display data of the source application on the current display interface according to the triggering instruction, and specifically includes:
  • the processor is specifically configured to invoke the acquisition shared data interface getShareData() of the source application according to the triggering instruction, and obtain the display data by using the acquired shared data interface.
  • the processor is configured to obtain display data of the source application on the current display interface according to the triggering instruction, and specifically includes:
  • the processor is configured to acquire content of each control on the current display interface of the source application according to the triggering instruction and a preset configuration, and acquire the display data according to content of each control ;
  • the control is an interface element on the current display interface, and the preset configuration includes a version number of the source application, an application identifier of the source application, a page identifier of the current display interface, and the control At least one of a control type, a data type of the display data.
  • the processor is configured to obtain the display data according to the content of each of the controls, and specifically includes:
  • the processor is specifically configured to determine, according to the data attribute of the content of each control, a valid control on the current display interface of the source application, and obtain the display data according to content of each of the effective controls;
  • the valid control is a control that carries data that meets a third preset condition; the data attribute includes a text length in the control, a picture in the control occupies a size of a current interface, and an animation in the control occupies a current At least one of the sizes of the interfaces.
  • the processor is configured to count the content of each of the controls Determining, according to the attribute, a valid control on the current display interface of the source application, specifically:
  • the processor is specifically configured to: when the data attribute of the control is a text length in the control, and the text length in the control is greater than a preset first threshold, determine that the control is a valid control; or Determining that the control is a valid control when the data attribute of the control is that the picture in the control occupies a size of the current interface, and the picture in the control occupies a size of the current interface that is greater than a preset second threshold; Alternatively, when the data attribute of the control is the size of the current interface in the control, and the animation in the control occupies the size of the current interface is greater than a preset third threshold, determining that the control is a valid control ;
  • the third preset condition includes that the length of the text in the control is greater than the first threshold, the size of the picture in the control occupies the size of the current interface is greater than the second threshold, and the animation in the control occupies the current The size of the interface is greater than any of the third thresholds.
  • FIG. 1 is a schematic diagram of an application data sharing scenario according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of an application data collection scenario according to an embodiment of the present invention.
  • FIG. 3 is a block diagram showing a hardware structure of a mobile phone according to an embodiment of the present invention.
  • FIG. 4 is a structural block diagram of an Android operating system in the prior art according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of an Android operating system according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of Embodiment 1 of a method for processing application data according to an embodiment of the present disclosure
  • FIG. 7 is a schematic flowchart of Embodiment 2 of a method for processing application data according to an embodiment of the present disclosure
  • FIG. 8 is a schematic flowchart of Embodiment 3 of a method for processing application data according to an embodiment of the present disclosure
  • FIG. 9 is a schematic diagram 1 of a processing interface according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram 1 of a sharing selection interface according to an embodiment of the present invention.
  • FIG. 11 is a current display interface of shrimp music provided by an embodiment of the present invention.
  • FIG. 12 is a schematic diagram 2 of a processing interface according to an embodiment of the present invention.
  • FIG. 13 is a schematic diagram 2 of a sharing selection interface according to an embodiment of the present invention.
  • FIG. 14 is a schematic flowchart diagram of Embodiment 4 of a method for processing application data according to an embodiment of the present disclosure
  • FIG. 15 is a schematic flowchart of Embodiment 5 of a method for processing application data according to an embodiment of the present disclosure
  • FIG. 16 is a schematic structural diagram of Embodiment 1 of an apparatus for processing application data according to an embodiment of the present disclosure
  • FIG. 17 is a schematic structural diagram of Embodiment 2 of an apparatus for processing application data according to an embodiment of the present disclosure
  • FIG. 18 is a schematic structural diagram of Embodiment 3 of an apparatus for processing application data according to an embodiment of the present disclosure
  • FIG. 19 is a schematic structural diagram of Embodiment 4 of an apparatus for processing application data according to an embodiment of the present disclosure.
  • FIG. 20 is a schematic structural diagram of an embodiment of a terminal device according to an embodiment of the present invention.
  • the application data processing method provided by the embodiment of the present invention can be applied not only to a scenario in which application data is shared between any two applications on the terminal device, but also to a scenario in which the terminal device collects some data involved in the application program.
  • the application in the scenario shown in FIG. 1 and FIG. 2 is a user-oriented, user-accessible application. (Application, referred to as APP).
  • the process data generated by the user when using the APP is generally very valuable to the user.
  • the user hopes that the third-party application in the terminal device can use the process data to provide better service for the user.
  • the user chats with the friend in WeChat, and the chat content may include the user's personal information, travel information, picture information, etc.
  • Some or all of the data in the chat content can be shared with the third party application according to the chat content. For example, according to a message sent by a user to a friend in WeChat, "Tomorrow at 3 pm in Xinjiekou tomorrow", The schedule app creates a schedule reminder for the user at 3 pm tomorrow (that is, sharing the message content to the calendar application).
  • the prior art needs to collect the data of the application A, and the data can be collected according to the prior art, but the collected data can only be viewed through the application A, and the user's viewing mode is limited.
  • the data of the application A can be collected into a system-level application, and the user can directly view the system-level application without being restricted by the application A, and the viewing manner is various.
  • the specific process refer to the description of the following embodiments.
  • the terminal device may include a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), an in-vehicle computer, and the like.
  • FIG. 3 is a block diagram showing a part of the structure of the mobile phone 100 related to the embodiment of the present invention.
  • 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, and an input/output (I/O).
  • Components such as system 170, processor 180, and power supply 190.
  • display 140 is a User Interface (UI) and that handset 100 may include a user interface that is smaller than shown or less.
  • UI User Interface
  • the components of the mobile phone 100 will be specifically described below with reference to FIG. 3:
  • the RF circuit 110 can be used for transmitting and receiving information or during a call, and receiving and transmitting the signal. Specifically, after receiving the downlink information of the base station, the processor 180 processes the data. In addition, the uplink data is designed to be sent to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like.
  • RF circuitry 110 can also communicate with the network and other devices via wireless communication.
  • the wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile) Communication, Global System for Mobile Communications, GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), etc.
  • GSM Global System of Mobile
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • SMS Short Messaging Service
  • the memory 120 can 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 running software programs and modules stored in the memory 120.
  • the memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application 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 be stored. Data created according to the use of the mobile phone 100 (such as audio data, phone book, etc.).
  • memory 120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • Other input devices 130 can be used to receive input numeric or character information, as well as generate key signal inputs related to user settings and function controls of the handset 100.
  • other input devices 130 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and light mice (the light mouse is not sensitive to display visual output).
  • function keys such as volume control buttons, switch buttons, etc.
  • trackballs mice, joysticks, and light mice (the light mouse is not sensitive to display visual output).
  • Other input devices 130 are coupled to other input device controllers 171 of I/O subsystem 170 for signal interaction with processor 180 under the control of other device input controllers 171.
  • the display screen 140 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone 100, and can also accept user input.
  • the display screen 140 may include a display panel 141 and a touch panel 142.
  • the display panel 141 can be configured by using an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch panel 142 also referred to as a touch screen, a touch sensitive screen, etc., can collect contact or non-contact operations on or near the user (eg, the user uses any suitable object or accessory such as a finger, a stylus, etc. on the touch panel 142.
  • the operation in the vicinity of the touch panel 142 may also include a somatosensory operation; the operation includes a single-point control operation, a multi-point control operation, and the like, and drives the corresponding connection device according to a preset program.
  • the touch panel 142 may include two parts: a touch detection device and a touch controller. Wherein the touch detection device detects the user's touch Azimuth, posture, and detecting a signal from a touch operation, transmitting a signal to the touch controller; the touch controller receives the touch information from the touch detection device, and converts it into information that the processor can process, and sends the signal to the processor 180. And can receive commands from the processor 180 and execute them.
  • the touch panel 142 can be implemented by using various types such as resistive, capacitive, infrared, and surface acoustic waves, and the touch panel 142 can be implemented by any technology developed in the future.
  • the touch panel 142 can cover the display panel 141, and the user can display the content according to the display panel 141 (the display content includes, but is not limited to, a soft keyboard, a virtual mouse, a virtual button, an icon, etc.) on the display panel 141. Operation is performed on or near the covered touch panel 142.
  • the touch panel 142 After detecting the operation thereon or nearby, the touch panel 142 transmits to the processor 180 through the I/O subsystem 170 to determine user input, and then the processor 180 according to the user The input provides a corresponding visual output on display panel 141 via I/O subsystem 170.
  • the touch panel 142 and the display panel 141 are two independent components to implement the input and input functions of the mobile phone 100, in some embodiments, the touch panel 142 and the display panel 141 may be Integration and implementation of the input and output functions of the handset 100.
  • the handset 100 can also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the mobile phone 100 moves to the ear. / or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.
  • the mobile phone 100 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the handset 100.
  • the audio circuit 160 can transmit the converted audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into a signal, which is received by the audio circuit 160.
  • the audio data is converted to audio data, which is then output to the RF circuit 110 for transmission to, for example, another mobile phone, or the audio data is output to the memory 120 for further processing.
  • the I/O subsystem 170 is used to control external devices for input and output, and may include other device input controllers 171, sensor controllers 172, and display controllers 173. Optional, one or more other losses
  • the incoming control device controller 171 receives signals from other input devices 130 and/or sends signals to other input devices 130.
  • Other input devices 130 may include physical buttons (press buttons, rocker buttons, etc.), dials, slide switches, joysticks Click on the wheel, light mouse (the light mouse is a touch-sensitive surface that does not display visual output, or an extension of the touch-sensitive surface formed by the touch screen). It is worth noting that other input control device controllers 171 can be connected to any one or more of the above devices.
  • Display controller 173 in I/O subsystem 170 receives signals from display 140 and/or transmits signals to display 140. After the display 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, ie, implements human-computer interaction. Sensor controller 172 can receive signals from one or more sensors 150 and/or send signals to one or more sensors 150.
  • the processor 180 is the control center of the handset 100, connecting various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120, The various functions and processing data of the mobile phone 100 are executed to perform overall monitoring of the mobile phone.
  • the processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
  • the handset 100 also includes a power source 190 (such as a battery) that supplies power to the various components.
  • a power source 190 such as a battery
  • the power source can be logically coupled to the processor 180 via a power management system to manage functions such as charging, discharging, and power consumption through the power management system.
  • the mobile phone 100 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • FIG. 3 introduces the structural framework of the terminal device by using the mobile phone as an example.
  • the method for processing application data according to the embodiment of the present invention also relates to the software architecture of the terminal device.
  • the method according to the embodiment of the present invention can be applied to an operating system such as an Android system, an OS system, a Darwin system, an RTXC system, a Linux system, a Unix system, a Windows system, an embedded operating system such as VxWorks.
  • an operating system such as an Android system, an OS system, a Darwin system, an RTXC system, a Linux system, a Unix system, a Windows system, an embedded operating system such as VxWorks.
  • the following is a system framework of the software operating system involved in the method of the embodiment of the present invention, taking the operating system as the Android system on the mobile phone as an example.
  • Android is an open source mobile operating system. As a mobile device platform, its hierarchy includes an operating system, middleware (Wareware) and applications. (Application), as shown in Figure 4, the Android operating system is divided into the following levels:
  • SDK Android Software Development Kit
  • the operating system itself also includes some basic applications, such as SMS, phone, photo viewer, web browser and other system level. application.
  • Android's application framework layer provides various application programming interfaces (APIs) for the application layer. It contains various controls required in the User Interface (UI) program, for example: Views (views) Components) include TextView, ListView, Buttons, WebView (Web Browser Control)
  • APIs application programming interfaces
  • This layer includes two parts: various libraries and runtime environment.
  • the various libraries are mainly C library, multimedia library, graphics processing engine, etc.
  • the runtime environment is mainly Dalvik virtual machine, which is different from the standard JAVA virtual machine.
  • the .dex file is a virtual machine that has been tailored and optimized for mobile devices.
  • Linux kernel development is based on the Linux kernel development, and its core system services, memory management, process management, network protocols and drivers all depend on the Linux kernel.
  • Linux kernel layer is the hardware layer of the phone described in Figure 2.
  • Figures 3 and 4 above illustrate the architecture of the terminal device from the perspective of hardware and software.
  • the APP currently running on the terminal device set as the source APP
  • the data can only be viewed by the login source APP when viewed in the future.
  • the method, device, and terminal device for processing application data provided by the embodiments of the present invention
  • the user's use requirements are not fully satisfied, the user experience is poor, and the human-computer interaction is not intelligent enough.
  • the Android system is taken as an example, and the embodiment of the present invention is based on the Android operating system architecture level shown in FIG. 4 above, and the application layer of the Android operating system is applied.
  • Improved with the Application Framework layer which adds an app with the ability to collect and share data from any application at the application layer, and adds content acquisition devices and content collections at the application framework level.
  • a sharing service device that integrates a content acquisition interface for acquiring data from the content acquisition device, and a sharing interface for receiving a sharing request from the third-party application and a collection interface for receiving a collection request of the third-party application.
  • the interface can be a software interface, such as an API interface.
  • the embodiment of the present invention obtains the display data of the source application on the current display interface by using the content obtaining device.
  • the display data of the source application in the prior art is acquired by the source application, and the display data is shared. And the collection is authorized by the source application.
  • the invention can obtain the display data by traversing the control of the source application on the current display interface.
  • the source application is a system-level application
  • the source application can also be obtained by calling the source application.
  • the data sharing interface "get data share()" obtains display data, and the obtained display data belongs to the APP of the collection and sharing function in FIG. 5, that is, the collection and sharing of the display data is not controlled by the source application.
  • the user can trigger the APP with the function of collecting and sharing the data of any application through the corresponding triggering instruction (the specific content of the triggering instruction can be referred to the description of the following embodiment), and the application is applied to the source through the APP.
  • the data is displayed for sharing or sharing, and the object to be shared is not limited to the authorization of the source APP, and the content of the collection may be collected to different APPs, and is not limited by the limitation that the prior art must view the collected content based on the source APP.
  • the APP having the function of collecting and sharing data of any application in the embodiment of the present invention can interact with the network server side to make the shared or collected content more
  • the specific process can be referred to the description of the following embodiments.
  • the executor of the following method embodiments may be a terminal device, and may also be a processing device of application data integrated in the terminal device, and the device may be implemented by software, hardware, or a combination of software and hardware.
  • the following method embodiment is described by taking an execution subject as a terminal device as an example.
  • FIG. 6 is a schematic flowchart of Embodiment 1 of a method for processing application data according to an embodiment of the present disclosure.
  • the embodiment relates to the terminal device triggering the terminal device to acquire the display data on the current display interface of the source application according to the trigger instruction input by the user, and processing the display data according to the generated processing interface and the operation of the user on the processing interface.
  • S101 Receive a trigger instruction input by a user.
  • the triggering instruction in the embodiment of the present invention may trigger the APP having the function of collecting and sharing data of any application in FIG. 5, and when the APP is triggered, it is equivalent to triggering the terminal device to obtain the source application in the current display.
  • the display data on the interface may be determined by the terminal device according to a trigger operation on the current display interface.
  • the terminal device may preset a trigger operation set, where the set may include one or more trigger operations, and the terminal device determines the current receiving as long as the trigger operation currently input by the user matches the trigger operation in the set. The trigger command to the user input.
  • the triggering operation in the foregoing triggering operation set may be a sliding operation along a preset trajectory, such as an upper sliding or pull-down operation on the current screen, or a sliding operation of the user along the S-shaped trajectory, etc.
  • the triggering operation may also be an operation of long pressing a virtual control, for example, a long press of the home button.
  • the triggering operation may also be a preset operation or a preset frequency click operation, such as a double click operation or a multiple click operation. and many more.
  • S102 Acquire display data of the source application on the current display interface according to the triggering instruction, and display a processing interface on the current display interface.
  • the processing interface includes event information and a processing control of the display data, and the processing control is configured to receive a data operation instruction of the user.
  • the terminal device acquires display data of the source application on the current display interface.
  • the display data may be part or all of the display of the source application on the current display interface.
  • the terminal device can obtain the display data of the source application on the current display interface by using the content obtaining device in FIG. 5, and transmit the content to the content collection and sharing function in FIG. 5 through the content collection and sharing service device.
  • the APP that is, the display data of the source application acquired by the terminal device on the current display interface is currently affiliated with the APP having the content collection and sharing function, which is out of the authorization restriction of the source application.
  • the source application is an application that is currently running on the terminal device and is being displayed.
  • the source application may be a system-level application, or may be a non-system-level application (a third-party application), where the system-level application is a non-deletable application integrated by the system, for example, a call, a short message, a gallery, and the like.
  • System-level applications are non-system-integrated and removable applications (that is, applications installed by users from the application market or on the network, such as WeChat, Weibo, QQ, etc.).
  • the terminal device After the terminal device obtains the display data of the source application on the current display interface, the terminal device generates a processing interface (in combination with FIG. 5 above, the triggering instruction triggers the APP startup with the function of collecting and sharing the data of any application,
  • the processing interface is suspended on the current display interface, and the processing interface includes event information of the display data and a processing control corresponding to the event information of the display data, where the processing control is used to receive the user's Data manipulation instructions.
  • the event information of the display data may be partial data in the display data, or may be all display data, the event information of the display data is related to the data type of the display data, and different types of display data, corresponding to The event information of the display data is different. For example, if the display data is music data of the music application, the event information of the display data may be the name of the music and the singer of the music. This embodiment does not do the content of the event information of the display data. limited.
  • the processing control may be at least one of a favorite control and a sharing control. If the user clicks on the favorite control to represent the data operation instruction input by the user as a favorite instruction, if the user clicks the sharing control, the data operation instruction input by the user is shared.
  • the instruction optionally, the processing control may also be a voice input control, and the user may input a corresponding voice instruction through the voice input control, and the terminal device parses the voice instruction to determine whether the voice instruction is a collection instruction or a sharing instruction; The embodiment of the present invention does not limit the type of the processing control.
  • S103 Process the display data according to a data operation instruction input by the user based on the processing control.
  • the terminal device when the terminal device receives the data operation instruction input by the 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. Since the terminal device has acquired the display data of the source application on the current display interface, the display data belongs to the APP having the content collection and sharing function in FIG. 5, and the APP with the content collection and sharing function displays the event of the data. The information is displayed on the processing interface, which is equivalent to the authorization limit of the display data, so that the terminal device can perform arbitrary processing on the event information of the display data on the processing interface according to the data operation instruction input by the user.
  • the event information of the display data is shared into any target APP, and the authorization of the source APP is not required or the authorization limit of the target APP is not considered, thereby greatly improving the user experience, or collecting the event information of the display data.
  • the user can view the data while viewing the display without having to log in to the source APP, which greatly simplifies the user's operation.
  • 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, since the event information of the display data is already displayed on the processing interface (equivalent to the display data has been separated from 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, without collecting or sharing the image by means of screen capture, which greatly saves processing overhead and terminal.
  • the memory of the device further enhances the intelligence of system-level applications and user interaction.
  • the terminal device acquires display data of the source application on the current display interface by using the received trigger instruction of the user, and displays an event including the display data on the current display interface.
  • the information and processing control processes the interface to process the display data according to a data manipulation instruction input by the user based on the processing control.
  • the terminal device since the terminal device has acquired 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 having the content collection and sharing function,
  • the display data has been deviated from the authorization limit of the source application, so that the terminal device can perform arbitrary collection or sharing processing on the event information of the display data on the processing interface according to the data operation instruction input by the user, and the target of the display display data
  • the APP or the target APP sharing the display data is not restricted by the authorization of the source APP, which not only simplifies the operation of the user, but also greatly improves the sharing experience of the user, and makes the interaction of the application on the user and the terminal device more intelligent;
  • the embodiment of the invention can also collect or share the display data on the system-level application that cannot provide the sharing or collecting function, and save or save the processing space and the memory of the terminal device, thereby further improving the memory of the terminal device.
  • System level application and Intelligent user interaction since the terminal device has acquired the display data of the source application
  • FIG. 7 is a schematic flowchart of Embodiment 2 of a method for processing application data according to an embodiment of the present disclosure.
  • the embodiment relates to a specific process for determining, by the terminal device, the event information of the display data according to the data type of the display data after acquiring the display data of the source application on the current display interface. Based on the above embodiment, further, the processing is displayed on the current display interface in the above S102.
  • the process of the interface may include the following steps:
  • S201 Determine event information of the display data according to a data type of the display data.
  • the data type of the display data includes 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 a delivery application.
  • 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 for example, may be a WeChat application.
  • the application of the social chat application may include text data, picture data, and the like in the conversation content.
  • the reading application may be, for example, an e-book application, and may be an application of the text message or a video chat.
  • the data of the reading application may include the text content, the image content, and the like in the reading content.
  • the shopping application may be, for example, an application involving commodity trading such as Taobao and Jingdong, and the data of the shopping application may include the transaction.
  • the terminal device After obtaining the display data of the source application on the current display interface, the terminal device determines the data type of the display data, and further determines event information of the display data that should be displayed on the processing interface according to the display type of the display data.
  • the terminal device determines that the event information of the display data includes the name of the multimedia file and the creator and the performer of the multimedia file; for example, if the display data is data of the music application, the display data The event information is the name of the music and the singer of the music. If the display data is the data of the video application, the event information of the display data is the name of the video and the director or artist information of the video.
  • the terminal device determines that the event information of the display data includes time information, location information, and event content related to the schedule event in the conversation content; for example, if the display data is data of the short message application, If the content of the conversation of the short message application includes the schedule information agreed by the two parties, the event information of the display data may include the time information of the schedule event, the location information, and the corresponding event content. For example, refer to the interface shown in FIG. schematic diagram.
  • the terminal device determines the event of the display data.
  • the information includes the title of the read content and the source of the read content; for example, if the display data is the data of the news application, for example, the display data of the current display interface is applied to the headline today, assuming that the current display interface of the current headline application is a news content, the terminal device determines
  • the event information of the display data may include the title of the news and the source website of the news.
  • the terminal device determines that the event information of the display data includes the product name and the product price; if the display data is the data of the express application, determining that the event information of the display data includes the express delivery number Logistics information corresponding to the express delivery number.
  • S202 Display event information of the display data and the processing control on the processing interface.
  • the sharing mode of the embodiment of the present invention is not limited by the authorization of the source APP, and the collection mode and Collections are also not restricted by the source app.
  • the technical solution of the embodiment of the present invention also solves the technical problem that the system-level application in the prior art cannot provide the sharing and collecting function.
  • the display data in the system-level application does not need to be processed by the screen capture. , can also carry out the corresponding collection and sharing.
  • FIG. 8 is a schematic flowchart diagram of Embodiment 3 of a method for processing application data according to an embodiment of the present disclosure.
  • 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.
  • the sharing selection interface may be suspended on the current display interface of the source APP.
  • the embodiment relates to a specific process of the terminal device sharing the data applied by the source device on the current display interface.
  • the user inputs a data operation instruction based on the sharing control in the processing interface, and the data operation instruction is a sharing instruction.
  • the method may include the following steps:
  • S301 Receive a trigger instruction input by a user.
  • S302 Acquire display data of the source application on the current display interface according to the triggering instruction, and display a processing interface on the current display interface.
  • the processing interface includes event information and a processing control of the display data, and the processing control is configured to receive a data operation instruction of the user.
  • the processing control includes a separate sharing control, or two controls including a sharing control and a favorite control.
  • the source application when the source application is a system-level application, when the terminal device receives the user input sharing After the command, the source application will actively report the display data on the current display interface to the content obtaining device in FIG. 5, for example, the terminal device invokes the acquisition shared data interface getShareData() of the source application according to the triggering instruction, and obtains the The shared data interface obtains display data of the source application on the current display interface.
  • the content acquiring device in FIG. 5 may Triggering instructions and preset configurations, obtaining data of each control on the current display interface of the source application, for example, traversing the control of the current display interface of the source application, such as TextView, ImageView, WebView, obtaining the content of each control, and then according to the interface On the content of each control, get the above display data.
  • 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 type of the control in the page, a keyword of each control, and a data type (music, picture, article) in the page. , video) and so on.
  • the display data may be data in a JSON format. Assume that you need to obtain the music name in the play interface of the shrimp music. In the Android system, you can get the currently playing music name “Broad Sky” by the id:player_song_name of the text space.
  • the preset configuration here can be:
  • the first preset condition includes: carrying the display data name, the data type of the display data, the data content of the display data, the source of the display data, and the user name related to the display data in the event information of the display data. At least one of them.
  • the source application may be a system-level application or a non-system-level application. Therefore, when the source application is a non-system-level application, the terminal device applies the current display interface from the source through the trigger instruction and the preset configuration.
  • the captured data captured may not satisfy the first preset condition corresponding to the data type of the currently displayed data (eg, the captured display data is incomplete), and the first preset condition may include the event information of the display data. Carrying 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. It should be noted that different types of display data have different contents of the corresponding first preset conditions.
  • the first preset condition corresponding to the event information of the display data may include content of the display data (ie, lyrics and cover of the music), name of the music (name of the display data), The singer of the music (the user name associated with the display data), the lyrics link of the music (the source of the display data), assuming that the source application is the music application "Shrimp Music", the current display interface is shown in FIG.
  • the terminal device receives After the instruction is triggered, the display data of the current display interface is obtained from the source application, and the obtained display data includes ⁇ "name": “Broad Sky”, “artist”: “Beyond”, “source”: “Shrimp Music” ⁇ Then, the terminal device can display the event information of the display data on the processing interface, wherein the event information of the display data includes “Broad Sky” and “Beyond”, and can refer to the processing interface diagram shown in FIG. 12; when the user is in the processing interface After inputting the sharing instruction based on the sharing control, the terminal device determines event information of the display data according to the data type of the display data. Does not include link information of the music and the cover, therefore, determines the event information to the display data does not satisfy a first predetermined condition corresponds to said source application.
  • 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 is desired to be shared to the target sharing application is more detailed and perfect, thereby realizing effective sharing of data between applications. Therefore, the steps of S304 and S305 described below are performed.
  • S304 Determine, according to the determination result, an interface content to be displayed on the sharing selection interface.
  • S305 Display the sharing selection interface according to the interface content, and share the interface content to the first target sharing application according to the first target sharing application selected by the user.
  • S305 displays the sharing selection interface, that is, the display step of the sharing selection interface is not affected by S303, but the interface content in the sharing selection interface. It is related to the judgment result of S303.
  • the terminal device determines that the interface content of the sharing selection interface may include the event information of the display data and the target sharing application that matches the data type of the display data, and then displays the interface content on the sharing selection interface.
  • the target sharing application matching the data type may be a target sharing application such as WeChat, Weibo, browser, QQ, etc. capable of processing the reading data.
  • the terminal device when the event information of the display data does not meet the first preset condition corresponding to the data type of the display data, the terminal device sends a first data processing request that carries the display data to the network server, thereby causing the network server Obtaining event information of the display data that meets the foregoing first preset condition from the network side according to the first data processing request, and returning to the terminal device, where the terminal device determines that the interface content to be displayed on the sharing selection interface includes satisfying the first pre- The event information of the conditional display data and all the target sharing applications in the terminal device that match the data type of the display data.
  • the first data processing request sent by the terminal device to the network server carries ⁇ "name”: “Broad Sky”, “artist”: “Beyond”, “source”:”shrimp music” ⁇ , in order to query the web server side for more detailed content according to the display data (ie, event information of the display data satisfying the first preset condition), the web server according to the display data in the first data processing request to the terminal device Return the following:
  • the terminal device can obtain the information of the link "download_url” of the music and the cover image "pic_url", thereby obtaining the event information of the display data satisfying the first preset condition, and further the event of the display data satisfying the first preset condition.
  • the information and the target sharing APP are displayed together on the sharing selection interface.
  • the sharing selection interface in this example can be seen in FIG.
  • the target sharing application on the sharing selection interface is only related to the data type of the display data displayed by the source application on the current display interface, and is not restricted by the authorization of the source APP, that is, any All applications on the terminal device that match the data type of the display data described above can be used as a target sharing application.
  • the target sharing application capable of sharing the display data of the source APP can still be displayed in the sharing selection interface.
  • the user can select a sharing application as the first target based on the target sharing application in the sharing selection interface, so that the terminal device shares the application according to the first target sharing application selected by the user.
  • the display data on the selection interface is shared to the first target sharing application, so that the target sharing application can obtain more detailed sharing data, and the data sharing between the applications is effectively realized.
  • the display data sharing of the source application when the display data sharing of the source application is performed, the display data of the source APP can be arbitrarily shared without being restricted by the authorization of the source APP, thereby greatly improving the sharing experience of the user.
  • the method for processing the application data provided by the embodiment of the present invention, after the user inputs the sharing instruction based on the sharing control on the processing interface, determining whether the event information of the display data satisfies the display data according to the data type of the display data.
  • the first preset condition corresponding to the data type when the event information of the display data on the processing interface does not satisfy the first preset condition, the terminal device obtains the display data that satisfies the first preset condition by interacting with the network server.
  • the event information is displayed as the interface content to be displayed in the sharing selection interface, and the content of the interface is displayed on the sharing selection interface, so that when the user selects the first target sharing application, the display data satisfying the first preset condition is displayed.
  • the event information is shared to the first target sharing application, and the data sharing between the applications is realized, so that the target sharing application can better provide services for the user, and the user experience is greatly improved.
  • FIG. 14 is a schematic flowchart diagram of Embodiment 4 of a method for processing application data according to an embodiment of the present disclosure.
  • the processing interface in this embodiment can also be referred to the above FIG.
  • the embodiment relates to a specific process for the terminal device to collect the display data of the source application on the current display interface.
  • the user inputs a data operation instruction based on the favorite control in the processing interface, and the data operation instruction is a collection. instruction.
  • the method may specifically include the following steps:
  • S401 Receive a trigger instruction input by a user.
  • S402 Acquire display data of the source application on the current display interface according to the triggering instruction, and display a processing interface on the current display interface.
  • the processing interface includes the display data and a processing control, and the processing control is configured to receive a data operation instruction of a user.
  • the processing control includes a separate favorite control, or two controls including a sharing control and a favorite control.
  • a separate favorite control or two controls including a sharing control and a favorite control.
  • S403 If the user inputs the collection instruction based on the collection control, determining, according to the data type of the display data and the preset first mapping relationship, the first target collection application that matches the data type.
  • the first mapping relationship includes a correspondence between different data types and different types of target collection applications, and the target collection application is a system-level application integrated by the system and not undeletable.
  • the terminal device determines and displays according to the acquired data type of the display data of the source application on the current display interface and the preset first mapping relationship.
  • the first target collection application of the data type matching of the data is a system-level application integrated by the system and not undeletable, such as a memo application, a gallery application, and the like.
  • the display data is the text data of the reading application
  • the determined first target favorite application may be a text collection application, such as a memo application; optionally, the display data is a picture data of the reading application.
  • the determined first target favorite application is a favorite application of the image, for example, a gallery application; optionally, if the display data is data of the video application, the determined first target favorite application is a video collection application, such as a system. A system-level video application built into the system.
  • S404 Determine, according to the application type of the first target favorite application, whether event information of the display data meets a second preset condition corresponding to the first target favorite application.
  • the second preset condition includes: carrying the display data name, the data type of the display data, the data content of the display data, the source of the display data, and the user name related to the display data in the event information of the display data. At least one of them.
  • the source device may be a system-level application or a non-system-level application. Therefore, when the source application is a non-system-level application, the terminal device uses the triggering command and the preset configuration to view the current display interface from the source application.
  • the captured display data does not satisfy the first corresponding to the first target favorite application.
  • the case of two preset conditions (for example, the captured display data is incomplete).
  • the second preset condition may include at least the display data name, the data type of the display data, the data content of the display data, the source of the display data, and the user name related to the display data in the event information of the display data.
  • different types of target collection applications have different contents of the corresponding second preset conditions.
  • the corresponding second preset condition may include displaying the data.
  • the name (the title of the news), the source of the display data (the source website of the news or the uniform location identifier URL), the content of the display data (the picture content in the news), and in the above embodiment, when the display data is the data of the news application
  • the corresponding event information only includes the title of the news and the source website of the news, and therefore, it does not satisfy the second preset condition corresponding to the first target favorite application.
  • the terminal device hopes that the display data of the target collection application can meet the second preset condition corresponding to the target collection application, that is, the data that is desired to be collected to the target collection application is more detailed and perfect, thereby facilitating effective viewing by the user. Therefore, the steps of the above S404 are performed.
  • S405 Determine, according to the determination result, the collected content to be collected to the first target favorite application, and collect the collected content to the first target favorite application.
  • the terminal device determines that the favorite content to be collected to the first target favorite application includes the event information of the display data, thereby collecting the event information of the display data. To the first target collection application.
  • the terminal device sends a second data processing request that carries the display data to the network server, to obtain, by using the network server, that the second preset condition is met.
  • the event information of the data is displayed, and the favorite content to be stored in the first target favorite application includes the event information of the display data satisfying the second preset condition, thereby collecting the favorite content into the first target favorite application.
  • the user when the user needs to view the display data in the future, the user can view the first target collection application directly, without using the source application, greatly simplifying the operation of the user, even if the source application is a system-level application that does not support the collection function.
  • the embodiment of the present invention can still view the collected display data by using the first target collection application, because the embodiment of the present invention obtains the display data of the source application on the current display interface and displays the data before the data collection is performed.
  • the processing interface it is equivalent to the limitation that the display data has been separated from the source application, and therefore, the terminal device can be based on The data type of the display data that has been acquired is used to arbitrarily collect the display data.
  • the terminal device may also pop up a favorite selection interface, where the favorite selection interface includes a first target collection application, so that the user can click the first target collection application to collect the display data. To the first target collection application.
  • the method for processing application data determines a first target favorite application that matches the data type according to the data type of the display data and the preset first mapping relationship, and collects the application according to the first target.
  • the application type determines whether the event information of the display data meets the second preset condition corresponding to the first target favorite application, and interacts with the network server when the event information of the display data does not satisfy the second preset condition Obtaining event information of the display data that meets the second preset condition and collecting the event information in the first target collection application, so that the user can view the more complete data through the first target favorite application, and can view the source application without using the source application. , greatly simplifying the user's operation and improving the effectiveness of data collection.
  • FIG. 15 is a schematic flowchart of Embodiment 5 of a method for processing application data according to an embodiment of the present disclosure.
  • This embodiment relates to a specific process in which the terminal device obtains display data of the current display interface of the source application by using a control on the current display interface of the source application when the source application is a non-system application.
  • the method may specifically include the following steps:
  • S501 Determine, according to the data attribute of the content of each control, a valid control on the current display interface of the source application.
  • the valid control is a control that carries data that meets a third preset condition; the data attribute includes a text length in the control, a picture in the control occupies a size of a current interface, and an animation in the control At least one of the sizes of the current interface.
  • the terminal device acquires the content of each control on the current display interface of the source application according to the triggering instruction and the preset configuration of the user, first determining, according to the data attribute of the content of each control, carrying the first control Whether the content meets the third preset condition, and if so, the terminal device determines that the control is a valid control, thereby determining all valid controls on the current display interface of the source application.
  • 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 WeChat chat interface, the chat interface as a whole and the chat interface Text content, images or time, and even emoticons inserted in text content are controls in this chat interface.
  • the foregoing data attribute may include at least one of a text length in the first control, a picture in the first control occupies a size of the current interface, and an animation in the first control occupies a size of the current interface, and the third pre-previously
  • the condition may include that the text length of the content in the control is greater than a preset first threshold, the size of the current interface in the control is greater than a preset second threshold, and the size of the current interface in the control is greater than a preset. Any of the third thresholds.
  • the terminal device determines, according to the data attribute of the content of each control, and the third preset condition, the valid control on the current display interface of the source application, which may be: if the data attribute of the content of the control is in the first control The length of the text, and the length of the text in the control is greater than the preset first threshold, determining that the content on the control meets the third preset condition, that is, determining that the control is a valid control; or, if the content of the control is a data attribute If the image in the control occupies the size of the current interface, and the image in the control occupies the size of the current interface is greater than the preset second threshold, determining that the content on the control meets the third preset condition, that is, determining the control The effective control; or, if the data property of the content of the control is the size of the current interface in the control, and the animation in the control occupies the size of the current interface is greater than a preset third threshold, then determine the The content satisfies the above third preset condition
  • S502 Acquire the display data according to content of each of the valid controls.
  • the terminal device can use the content of each valid control as a set to directly display the display data of the current display interface as a source; optionally, the terminal device can also integrate the content of each valid control obtained, and The integrated data is used as display data of the current display interface of the source application, and the display data belongs to the APP having the content collection and sharing function in FIG. 5, which is not restricted by the authorization of the source application.
  • the terminal device obtains the content on each control according to the data acquisition method carried by the control itself by traversing the control of the source application on the current display interface, and according to the content of each control
  • the data attribute determines the effective control of the source application on the current display interface, and then obtains the display data of the source application on the current display interface according to the content of each valid control, and the display data obtained by the method belongs to the content collection and the content in FIG.
  • the sharing function APP is not restricted by the authorization of the source application, so that the terminal device can share or collect the display data arbitrarily based on the APP having the content collection and sharing function, and the number of the display is displayed.
  • the target APP or the target APP sharing the display data it is not restricted by the authorization of the source APP, which not only simplifies the operation of the user, but also greatly improves the sharing and collection experience of the user, and makes the interaction between the application on the user and the terminal device more intelligent. Chemical.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
  • FIG. 16 is a schematic structural diagram of Embodiment 1 of an apparatus for processing application data according to an embodiment of the present invention.
  • the processing device can be a stand-alone terminal device, and can also be integrated in the terminal device, that is, the processing device can be implemented by software, hardware, or a combination of software and hardware.
  • the processing device for the application data includes: a receiving module 10, an obtaining module 11, a display module 12, and a processing module 13.
  • the receiving module 10 is configured to receive a trigger instruction input by the user;
  • the obtaining module 11 is configured to obtain, according to the triggering instruction, display data of the source application on the current display interface;
  • the display module 12 is configured to display a processing interface on the current display interface, where the processing interface includes event information and a processing control of the display data, where the processing control is configured to receive a data operation instruction of the user;
  • the processing module 13 is configured to process the display data according to a data operation instruction input by the user based on the processing control.
  • the device for processing the application data provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
  • FIG. 17 is a schematic structural diagram of Embodiment 2 of an apparatus for processing application data according to an embodiment of the present disclosure.
  • the display module 12 further includes a first determining unit 121 and a display unit 122.
  • 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 includes data of the multimedia application, data of the social chat application, and data of the read application. , shopping application data, express application data Any of them;
  • the display unit 122 is configured to display event information of the display data and the processing control on the processing interface.
  • the first determining unit 121 is specifically used for one or more of the following: when the display data is data of a multimedia application, determining event information of the display data includes a name of the multimedia file and the multimedia a creator and a performer of the file; when the display data is data of a social chat application, determining event information of the display data includes time information related to a schedule event in the conversation content, location information, and event content; When the display data is data of the reading application, determining event information of the display data includes reading a title of the content and a source of the reading content; and when the display data is data of the shopping application, determining event information of the display data The product name and the commodity price are included; when the display data is the data of the express application, the event information determining the display data includes the express delivery number and the logistics information corresponding to the express delivery number.
  • the device for processing the application data provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
  • the processing control includes at least one of a sharing control and a favorite control.
  • FIG. 18 is a schematic structural diagram of Embodiment 3 of an apparatus for processing application data according to an embodiment of the present invention.
  • the processing module 13 specifically includes: a first determining unit 131, a second determining unit 132, and a sharing unit. 133;
  • the first determining unit 131 is configured to determine, according to the data type of the display data, whether the event information of the display data satisfies a first preset condition corresponding to a data type of the display data; a preset condition includes at least one of a display data name, a data type of the display data, a data content of the display data, a source of the display data, and a user name related to the display data, in the event information of the display data;
  • the second determining unit 132 is configured to determine, according to the determination result, an interface content to be displayed on the sharing selection interface
  • the display module 12 is further configured to display the sharing selection interface according to the interface content
  • the sharing unit 133 is configured to share the interface content to the first target sharing application according to the first target sharing application selected by the user.
  • the second determining unit 132 is specifically used for one or two of the following: when When the event information of the display data satisfies the first preset condition, determining that the interface content includes event information of the display data and a target sharing application that matches a data type of the display data; when the event of displaying data When the information does not meet the first preset condition, the first data processing request carrying the display data is sent to the network server, so that event information of the display data that meets the first preset condition is acquired by the network server, And determining that the interface content includes event information of the display data that satisfies the first preset condition and all target sharing applications in the terminal device that match the data type of the display data.
  • the device for processing the application data provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
  • FIG. 19 is a schematic structural diagram of Embodiment 4 of an apparatus for processing application data according to an embodiment of the present invention.
  • the processing module 13 includes:
  • the third determining unit 134 is configured to determine, according to the data type of the display data and the preset first mapping relationship, a first target favorite application that matches the data type; the first mapping relationship includes different data types. Corresponding relationship with different types of target collection applications, which are system-level applications integrated by the system and not undeletable;
  • the second determining unit 135 is configured to determine, according to the application type of the first target favorite application, whether the event information of the display data meets a second preset condition corresponding to the first target favorite application;
  • the second preset condition includes at least one of a display data name, a data type of the display data, a data content of the display data, a source of the display data, and a user name related to the display data, in the event information of the display data;
  • the collecting unit 136 is configured to determine, according to the determination result, the collected content to be collected to the first target favorite application, and collect the collected content to the first target favorite application.
  • the collecting unit 136 is specifically configured to: when the event information of the display data satisfies the second preset condition, determining that the favorite content includes event information of the display data And sending, by the network server, a second data processing request that carries the display data to obtain, by the network server, that the second preset is met, when the event information of the display data does not satisfy the second preset condition.
  • the conditional display event information of the data, and determining that the favorite content includes the event information of the display data satisfying the second preset condition.
  • the source application includes a system level application or a non-system level application
  • the non-system level Applications are applications that are not integrated with the system and can be deleted.
  • the obtaining module 11 is specifically configured to invoke the acquisition shared data interface getShareData() of the source application according to the triggering instruction, and obtain the display data by using the acquiring shared data interface. .
  • the acquiring module 11 is specifically configured to acquire, according to the triggering instruction and the preset configuration, each control on the current display interface of the source application.
  • the content, and the display data is obtained according to the content of each of the controls; wherein the control is an interface element on the current display interface, the preset configuration includes a version number of the source application, and the At least one of 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.
  • the obtaining module 11 is specifically configured to determine, according to the data attribute of the content of each control, a valid control on the current display interface of the source application, and obtain the location according to the content of each of the effective controls. Displaying data; wherein the valid control is a control carrying data that satisfies a third preset condition; the data attribute includes a text length in the control, a picture in the control occupies a size of a current interface, The animation in the control occupies at least one of the sizes of the current interface.
  • the obtaining module 11 is specifically configured to: when the data attribute of the control is a text length in the control, and the text length in the control is greater than a preset first threshold, determine the control The effective control; or, when the data attribute of the control is the size of the current interface in the control, and the image in the control occupies the size of the current interface is greater than a preset second threshold, determining the The control is a valid control; or, when the data attribute of the control is the size of the current interface in the control, and the animation in the control occupies the size of the current interface is greater than a preset third threshold, then determining The control is a valid control;
  • the third preset condition includes that the length of the text in the control is greater than the first threshold, the size of the picture in the control occupies the size of the current interface is greater than the second threshold, and the animation in the control occupies the current The size of the interface is greater than any of the third thresholds.
  • the device for processing the application data provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details 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.
  • the terminal device may include an input device 20, a processor 21 such as a CPU, a memory 22, at least one communication bus 23, and a display device 24.
  • Communication bus 23 is used to implement communication between components Letter connection.
  • 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 configured to provide an input interface to a user, receive an operation or an instruction input by the user, and the like.
  • the terminal device may further include a transceiver 25, where the transmitter 251 and the receiver 252 are integrated, and the receiver 252 may be a corresponding input interface having a communication function and a function for receiving information, and may also be a terminal.
  • the RF module or the baseband module on the device, the transmitter 251 may be a corresponding 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.
  • the input device 20 is configured to receive a trigger instruction input by the user.
  • the processor 21 is configured to acquire display data of the source application on the current display interface according to the triggering instruction
  • a display device 24 configured to display a processing interface on the current display interface, where the processing interface includes event information and a processing control of the display data, where the processing control is configured to receive a data operation instruction of the 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 perform the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
  • the processor 21 is further configured to determine, according to a data type of the display data, event information of the display data; the data type of the display data includes data of a multimedia application, data of a social chat application, and a reading application. Any one or more of the data, the data of the shopping application, and the data of the express application;
  • the display device 24 is specifically configured to display event information of the display data and the processing control on the processing interface.
  • processor 21 is further configured to determine the event information of the display data according to the data type of the display data, and specifically includes:
  • the processor 21 is specifically configured to use one or more of the following: when the display data is data of a multimedia application, determining event information of the display data includes a name of the multimedia file and a creator of the multimedia file Artist; when the display data is data of a social chat application, Determining the event information of the display data includes time information related to the schedule event in the conversation content, location information, and event content; when the display data is data of the reading application, determining event information of the display data includes reading the content a title and a source of the reading content; or, when the display data is data of a shopping application, determining event information of the display data includes a product name and a commodity price; when the display data is data of a express application, The event information for determining the display data includes a delivery order number and logistics information corresponding to the delivery order number.
  • the terminal device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
  • the processing control includes at least one of a sharing control and a favorite control.
  • the processor 21 is configured to process the display data according to a data operation instruction input by the user based on the processing control, specifically including :
  • the processor 21 is configured to determine, according to the data type of the display data, whether the event information of the display data satisfies a first preset condition corresponding to a data type of the display data, and determine, according to the determination result, Displaying the interface content in the sharing selection interface; wherein the first preset condition includes the event data carrying the display data name, the data type of the display data, the data content of the display data, the source of the display data, and the event information of the display data At least one of the user names 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 the first target sharing application according to the first target sharing application selected by the user.
  • the processor 21 is configured to determine, according to the determination result, the interface content to be displayed on the sharing selection interface, which specifically includes:
  • the processor 21 is specifically configured to: when the event information of the display data satisfies the first preset condition, determine that the interface content includes event information and information of the display data. a target sharing application that matches the data type of the display data; when the event information of the display data does not satisfy the first preset condition, sending, by the transceiver 25, the first data carrying the display data to the network server Processing the request to acquire event information of the display data that meets the first preset condition by using the network server, and determining that the interface content includes the event information of the display data that meets the first preset condition, and the terminal device All data classes with the display data Type matching target sharing app.
  • the terminal device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
  • the processor 21 is configured to process the according to a data operation instruction input by the user based on the processing control.
  • Display data including:
  • the processor 21 is configured to determine, according to the data type of the display data and a preset first mapping relationship, a first target favorite application that matches the data type, and according to the first target favorite application Determining, by the application type, whether the event information of the display data meets a second preset condition corresponding to the first target favorite application; and determining, according to the determination result, the favorite content to be collected to the first target favorite application, and The collected content is collected to the first target collection application;
  • the first mapping relationship includes a correspondence between different data types and different types of target collection applications, where the target collection application is a system-level application integrated by the system and cannot be deleted;
  • the second preset condition includes
  • 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.
  • the processor 21 is configured to determine, according to the determination result, the collection content to be collected to the first target collection application, which specifically includes:
  • the processor 21 is specifically configured to: when the event information of the display data meets the second preset condition, determine that the favorite content includes event information of the display data; When the event information of the display data does not satisfy the second preset condition, the second data processing request carrying the display data is sent to the network server by the transceiver 25 to obtain the second pre-satisfaction obtained by the network server. Setting event information of the display data, and determining that the favorite content includes event information of the display data satisfying the second preset condition.
  • the terminal device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
  • the source application comprises a system level application or a non-system level application, where the non-system level application is a non-system integrated and deletable application.
  • the display data of the source application on the current display interface includes:
  • the processor 21 is specifically configured to invoke the acquisition shared data interface getShareData() of the source application according to the triggering instruction, and obtain the display data by using the acquired shared data interface.
  • the processor 21 is configured to obtain display data of the source application on the current display interface according to the triggering instruction, and specifically includes:
  • the processor 21 is configured to acquire content of each control on the current display interface of the source application according to the triggering instruction and a preset configuration, and obtain the display according to the content of each control. data;
  • the control is an interface element on the current display interface, and the preset configuration includes a version number of the source application, an application identifier of the source application, a page identifier of the current display interface, and the control At least one of a control type, a data type of the display data.
  • processor 21 is configured to acquire the display data according to the content of each control, and specifically includes:
  • the processor 21 is configured to determine, according to the data attribute of the content of each control, a valid control on the current display interface of the source application, and obtain the display data according to content of each of the effective controls. ;
  • the valid control is a control that carries data that meets a third preset condition; the data attribute includes a text length in the control, a picture in the control occupies a size of a current interface, and an animation in the control occupies a current At least one of the sizes of the interfaces.
  • the processor 21 is configured to determine, according to the data attribute of the content of each control, a valid control on the current display interface of the source application, specifically:
  • the processor 21 is configured to determine that the control is a valid control when a data attribute of the control is a text length in the control, and a text length in the control is greater than a preset first threshold; Or determining that the control is a valid control when the data attribute of the control is that the picture in the control occupies the size of the current interface, and the picture in the control occupies a size of the current interface that is greater than a preset second threshold. Or, when the data attribute of the control is the size of the current interface in the control, and the animation in the control occupies the size of the current interface is greater than a preset third threshold, determining that the control is valid Control
  • the third preset condition includes that the length of the text in the control is greater than the first threshold, the size of the picture in the control is greater than the second threshold, and the animation in the control The size of the current interface is greater than any of the third thresholds.

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

La présente invention porte sur un procédé et sur un appareil de traitement de données d'application ainsi que sur un dispositif de terminal. Le procédé consiste : à recevoir une commande de déclenchement d'un utilisateur ; en fonction de la commande de déclenchement, à obtenir des données d'affichage d'une application source sur une interface d'affichage actuelle et à afficher une interface de traitement ; à traiter les données d'affichage en fonction d'une commande d'opération de données de l'utilisateur, ce qui permet à un dispositif de terminal de réaliser un quelconque traitement de collecte ou de partage sur des informations d'événement des données d'affichage. La présente invention simplifie non seulement des opérations de l'utilisateur mais améliore également de manière significative l'expérience de l'utilisateur.
PCT/CN2016/096108 2016-08-19 2016-08-19 Procédé et appareil de traitement de données d'application et dispositif de terminal Ceased WO2017193496A1 (fr)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN202410293174.5A CN118519553B (zh) 2016-08-19 2016-08-19 应用数据的处理方法、装置和终端设备
CN201680087057.7A CN109328329A (zh) 2016-08-19 2016-08-19 应用数据的处理方法、装置和终端设备
PCT/CN2016/096108 WO2017193496A1 (fr) 2016-08-19 2016-08-19 Procédé et appareil de traitement de données d'application et dispositif de terminal
CN202210933195.XA CN115454286B (zh) 2016-08-19 2016-08-19 应用数据的处理方法、装置和终端设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/096108 WO2017193496A1 (fr) 2016-08-19 2016-08-19 Procédé et appareil de traitement de données d'application et dispositif de terminal

Publications (1)

Publication Number Publication Date
WO2017193496A1 true WO2017193496A1 (fr) 2017-11-16

Family

ID=60267827

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096108 Ceased WO2017193496A1 (fr) 2016-08-19 2016-08-19 Procédé et appareil de traitement de données d'application et dispositif de terminal

Country Status (2)

Country Link
CN (3) CN118519553B (fr)
WO (1) WO2017193496A1 (fr)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110224920A (zh) * 2019-04-23 2019-09-10 维沃移动通信有限公司 一种分享方法及终端设备
US10979551B2 (en) 2016-09-09 2021-04-13 Huawei Technologies Co., Ltd. Method and apparatus for pushing notification, mobile terminal, and graphical user interface
CN114461111A (zh) * 2019-10-31 2022-05-10 华为技术有限公司 启动功能的方法及电子设备
CN114817183A (zh) * 2021-01-22 2022-07-29 武汉斗鱼鱼乐网络科技有限公司 一种分享按键的动画实现方法、装置、介质及电子设备
CN115391448A (zh) * 2022-10-08 2022-11-25 数兑科技(杭州)有限公司 一种智能化用数方法
CN115712742A (zh) * 2021-08-23 2023-02-24 广州视源电子科技股份有限公司 基于Android系统的内容记录方法、装置、存储介质和设备
CN115884167A (zh) * 2022-03-25 2023-03-31 北京字跳网络技术有限公司 一种数据处理方法、装置、设备及存储介质
CN116320590A (zh) * 2020-08-27 2023-06-23 荣耀终端有限公司 信息分享的方法、系统、终端设备和存储介质
WO2024217349A1 (fr) * 2023-04-17 2024-10-24 华为技术有限公司 Procédé de fonctionnement de fichier, dispositif électronique et support de stockage lisible par ordinateur

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112016580B (zh) * 2019-05-31 2023-07-25 北京百度网讯科技有限公司 应用程序名称识别方法、装置及终端
CN114679511B (zh) * 2020-12-24 2024-12-10 荣耀终端有限公司 操作控制方法、装置和电子设备
CN116701804A (zh) * 2023-04-28 2023-09-05 亿次网联(杭州)科技有限公司 一种收藏内容集合方法、软件、计算机设备及可读存储介质
CN120335668A (zh) * 2024-01-10 2025-07-18 荣耀终端股份有限公司 数据收藏方法、设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530020A (zh) * 2013-10-18 2014-01-22 北京搜狗科技发展有限公司 信息操作的方法及装置
CN104239297A (zh) * 2013-06-06 2014-12-24 腾讯科技(北京)有限公司 一种网页收藏方法、系统和装置
CN104657423A (zh) * 2015-01-16 2015-05-27 北京合辉信息技术有限公司 应用间内容分享方法及其装置
CN105183899A (zh) * 2015-09-29 2015-12-23 上海斐讯数据通信技术有限公司 收藏功能共享系统及方法
CN105739891A (zh) * 2016-01-27 2016-07-06 宇龙计算机通信科技(深圳)有限公司 一种音乐处理方法及移动终端

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014200730A1 (fr) * 2013-06-09 2014-12-18 Apple Inc. Dispositif, procédé et interface graphique utilisateur permettant le partage d'un contenu provenant d'une application respective
CN103559288A (zh) * 2013-11-08 2014-02-05 惠州Tcl移动通信有限公司 一种智能收藏与分享的方法及移动终端
CN104090761B (zh) * 2014-07-10 2017-09-29 福州瑞芯微电子股份有限公司 一种截图应用装置和方法
CN105471953B (zh) * 2014-09-10 2019-10-15 腾讯科技(深圳)有限公司 客户端页面动态显示方法、装置和系统
US9606716B2 (en) * 2014-10-24 2017-03-28 Google Inc. Drag-and-drop on a mobile device
CN104835058B (zh) * 2015-04-15 2018-07-31 华为技术有限公司 一种商品链接的分享方法及装置
CN104808995B (zh) * 2015-05-04 2018-10-02 北京联翩科技有限公司 一种用于跨应用收藏应用内容的方法和装置
CN104899083A (zh) * 2015-05-19 2015-09-09 小米科技有限责任公司 应用分享方法及装置
CN105653178A (zh) * 2015-05-28 2016-06-08 宇龙计算机通信科技(深圳)有限公司 一种信息分享方法及装置
CN105872767A (zh) * 2016-04-06 2016-08-17 乐视控股(北京)有限公司 一种基于用户行为引导分享的方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239297A (zh) * 2013-06-06 2014-12-24 腾讯科技(北京)有限公司 一种网页收藏方法、系统和装置
CN103530020A (zh) * 2013-10-18 2014-01-22 北京搜狗科技发展有限公司 信息操作的方法及装置
CN104657423A (zh) * 2015-01-16 2015-05-27 北京合辉信息技术有限公司 应用间内容分享方法及其装置
CN105183899A (zh) * 2015-09-29 2015-12-23 上海斐讯数据通信技术有限公司 收藏功能共享系统及方法
CN105739891A (zh) * 2016-01-27 2016-07-06 宇龙计算机通信科技(深圳)有限公司 一种音乐处理方法及移动终端

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10979551B2 (en) 2016-09-09 2021-04-13 Huawei Technologies Co., Ltd. Method and apparatus for pushing notification, mobile terminal, and graphical user interface
US11909906B2 (en) 2016-09-09 2024-02-20 Honor Device Co., Ltd. Method and apparatus for pushing notification, mobile terminal, and graphical user interface
CN110224920A (zh) * 2019-04-23 2019-09-10 维沃移动通信有限公司 一种分享方法及终端设备
CN114461111A (zh) * 2019-10-31 2022-05-10 华为技术有限公司 启动功能的方法及电子设备
CN116320590A (zh) * 2020-08-27 2023-06-23 荣耀终端有限公司 信息分享的方法、系统、终端设备和存储介质
US11977932B2 (en) 2020-08-27 2024-05-07 Honor Device Co., Ltd. Information sharing method and apparatus, terminal device, and storage medium
CN116320590B (zh) * 2020-08-27 2024-03-22 荣耀终端有限公司 信息分享的方法、系统、终端设备和存储介质
CN114817183A (zh) * 2021-01-22 2022-07-29 武汉斗鱼鱼乐网络科技有限公司 一种分享按键的动画实现方法、装置、介质及电子设备
CN115712742A (zh) * 2021-08-23 2023-02-24 广州视源电子科技股份有限公司 基于Android系统的内容记录方法、装置、存储介质和设备
CN115884167B (zh) * 2022-03-25 2023-08-22 北京字跳网络技术有限公司 一种数据处理方法、装置、设备及存储介质
CN115884167A (zh) * 2022-03-25 2023-03-31 北京字跳网络技术有限公司 一种数据处理方法、装置、设备及存储介质
CN115391448A (zh) * 2022-10-08 2022-11-25 数兑科技(杭州)有限公司 一种智能化用数方法
WO2024217349A1 (fr) * 2023-04-17 2024-10-24 华为技术有限公司 Procédé de fonctionnement de fichier, dispositif électronique et support de stockage lisible par ordinateur

Also Published As

Publication number Publication date
CN118519553A (zh) 2024-08-20
CN115454286A (zh) 2022-12-09
CN115454286B (zh) 2024-04-02
CN109328329A (zh) 2019-02-12
CN118519553B (zh) 2025-06-03

Similar Documents

Publication Publication Date Title
JP7369833B2 (ja) タッチイベントモデルプログラミングインターフェイス
WO2017193496A1 (fr) Procédé et appareil de traitement de données d'application et dispositif de terminal
CN104794105B (zh) 一种用于处理触摸事件的方法、系统、触摸敏感设备
WO2019174611A1 (fr) Procédé de configuration d'application et terminal mobile
WO2019205065A1 (fr) Procédé d'ouverture rapide d'application ou de fonction d'application, et terminal
WO2019214072A1 (fr) Procédé pour afficher un clavier virtuel d'une méthode de saisie, et terminal
CN111459355A (zh) 内容共享方法及电子设备
CN109416652B (zh) 应用数据的共享方法、装置和终端设备
WO2018153100A1 (fr) Procédé d'affichage d'objet collecté et terminal
CN108156508B (zh) 弹幕信息处理的方法、装置、移动终端、服务器及系统
CN107193451B (zh) 信息展示方法、装置、计算机设备及计算机可读存储介质
CN113127773A (zh) 页面处理方法、装置、存储介质及终端设备
WO2019183997A1 (fr) Procédé de prévisualisation de vidéo et dispositif électronique
CN111414105A (zh) 信息提醒方法及电子设备
WO2019085533A1 (fr) Procédé de traitement d'application pour pour un dispositif terminal, et dispositif terminal
WO2020238351A1 (fr) Procédé de téléchargement et classification d'application et dispositif terminal
WO2019174541A1 (fr) Procédé de fonctionnement pour terminal mobile et terminal mobile
CN110879680B (zh) 一种图标管理方法及电子设备
WO2018107941A1 (fr) Procédé et système de liaison multi-écrans utilisés dans un scénario ar
WO2021017738A1 (fr) Procédé d'affichage d'interface et dispositif électronique
CN110752981A (zh) 一种信息控制方法及电子设备
CN108345474A (zh) 应用程序的启动方法、启动装置及移动终端
WO2015003636A1 (fr) Procédé et dispositif d'interception d'éléments de page
CN110489031A (zh) 内容显示方法及终端设备
WO2019047129A1 (fr) Procédé de déplacement d'icônes d'application, et terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16901451

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16901451

Country of ref document: EP

Kind code of ref document: A1