WO2022089276A1 - 一种收藏处理的方法及相关装置 - Google Patents
一种收藏处理的方法及相关装置 Download PDFInfo
- Publication number
- WO2022089276A1 WO2022089276A1 PCT/CN2021/124973 CN2021124973W WO2022089276A1 WO 2022089276 A1 WO2022089276 A1 WO 2022089276A1 CN 2021124973 W CN2021124973 W CN 2021124973W WO 2022089276 A1 WO2022089276 A1 WO 2022089276A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- interface
- application
- content
- information
- preset
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 22
- 238000000034 method Methods 0.000 claims abstract description 55
- 238000012545 processing Methods 0.000 claims description 71
- 238000004891 communication Methods 0.000 claims description 41
- 230000006854 communication Effects 0.000 claims description 41
- 238000003860 storage Methods 0.000 claims description 23
- 238000004590 computer program Methods 0.000 claims description 13
- 230000001976 improved effect Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 35
- 230000006870 function Effects 0.000 description 31
- 238000007726 management method Methods 0.000 description 23
- 230000005236 sound signal Effects 0.000 description 13
- 238000010295 mobile communication Methods 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 11
- 210000000988 bone and bone Anatomy 0.000 description 10
- 230000008569 process Effects 0.000 description 8
- 230000000694 effects Effects 0.000 description 7
- 238000013528 artificial neural network Methods 0.000 description 6
- 230000001360 synchronised effect Effects 0.000 description 6
- 230000009471 action Effects 0.000 description 5
- 230000001133 acceleration Effects 0.000 description 4
- 238000004422 calculation algorithm Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 4
- 238000005859 coupling reaction Methods 0.000 description 4
- 229920001621 AMOLED Polymers 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 239000002131 composite material Substances 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000009877 rendering Methods 0.000 description 3
- 230000000007 visual effect Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000036772 blood pressure Effects 0.000 description 2
- 238000013527 convolutional neural network Methods 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 230000009191 jumping Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 238000007639 printing Methods 0.000 description 2
- 239000002096 quantum dot Substances 0.000 description 2
- 230000005855 radiation Effects 0.000 description 2
- 230000003238 somatosensory effect Effects 0.000 description 2
- 230000003416 augmentation Effects 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 238000010009 beating Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000007175 bidirectional communication Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000013529 biological neural network Methods 0.000 description 1
- 230000037237 body shape Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 210000004027 cell Anatomy 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000019771 cognition Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000003862 health status Effects 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000010985 leather Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000004807 localization Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 210000002569 neuron Anatomy 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000013515 script Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 230000008093 supporting effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- JLGLQAWTXXGVEM-UHFFFAOYSA-N triethylene glycol monomethyl ether Chemical compound COCCOCCOCCO JLGLQAWTXXGVEM-UHFFFAOYSA-N 0.000 description 1
- 230000001755 vocal effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/906—Clustering; Classification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0639—Performance analysis of employees; Performance analysis of enterprise or organisation operations
- G06Q10/06393—Score-carding, benchmarking or key performance indicator [KPI] analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72469—User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72469—User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
- H04M1/72472—User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons wherein the items are sorted according to specific criteria, e.g. frequency of use
Definitions
- the present invention relates to the field of information processing, and in particular, to a collection processing method and related device.
- the technical problem to be solved by the embodiments of the present invention is to provide a collection processing method and related apparatus, which solve the problems of low collection efficiency and poor user experience when content of multiple different applications is collected.
- an implementation example of the present invention provides a collection processing method, which is characterized in that it is applied to a first application in an electronic device; the electronic device currently displays a first interface, and the first interface is a second application
- the method includes: detecting a preset operation on the first interface; the preset operation includes a double-click operation, an operation of touching a preset control, and an operation of drawing a special pattern on the first interface one or more of; when the preset operation is detected, the first information corresponding to the first interface is obtained, and the favorite label of the content of the first interface is determined according to the first information; the first The information includes one of the content information of the first interface, the original title, a screenshot of the content page, the favorite timestamp, the number of visits, the application package name of the second application, and a pre-made special kit for the content of the first interface or multiple; bookmark the content of the first interface into the first application according to the bookmark tag.
- the user when the user operates the second application on the electronic device and it is currently displayed on the first interface, if the user needs to save the content or the corresponding service on the interface, he can execute the The preset operation is to save the content or the corresponding service on the interface into the unified favorite application in this application, that is, the first application, so that when the user needs to open the content or the corresponding service again later, there is no need to open the second application.
- the multiple second application's favorite content can be obtained only by opening the first application.
- the electronic device detects whether a preset operation is received through the first application, and if so, obtains content-related information of the current interface (such as the first interface) through the first application, and determines the content-related information according to the obtained content-related information.
- a favorite tag of the content to be favorited, and then the favorite tag is generated in the first application and the content to be favorited is bookmarked under the tag.
- the electronic device may classify the content to be favorited according to the obtained content-related information through the first application, and determine the favorite tag according to the category to which the content to be favorited belongs.
- the electronic device can save the content provided by multiple applications in the first application, which avoids that the user can only save the content provided by the current application in one application, and solves the problem of installing multiple applications.
- the same type of application if you need to find the favorite content again, it is difficult for users to quickly find the application entry of the favorite content, so as to realize the collection of differentiated content across applications and simplify the user's operation of content collection, which more effectively improves user acquisition. Information efficiency and user experience.
- the determining the favorite label of the content of the first interface according to the first information includes: comparing the first information with cloud data, and generating a set of classification index items, where
- the cloud database includes application package names of various applications, content and preset keywords of various applications, content information provided by various applications, classification labels of various applications, application content classification results of multiple users, and user data.
- One or more of the classification index items, the classification index item set includes N classification index items; according to the scoring model of the M preset labels in the preset label set, each of the M preset labels is predicted. Assume that the N classification index items corresponding to the labels are scored; the scores of the N classification index items corresponding to each of the M preset labels are weighted to obtain the M preset labels respectively.
- Set the comprehensive score of the label determine the highest preset label among the comprehensive scores of the M preset labels as the favorite label of the content of the first interface.
- the first application can compare the content-related information with the content-related information.
- the information is compared with the information in the cloud database, respectively, to obtain a plurality of classification index items (such as the correlation degree index item of the application classification and the preset label, etc.), and generate a classification index item set.
- the first application will preset multiple optional preset tags (such as information category, shopping category, etc.) in advance, and then evaluate the multiple category item indicators in the category index item set according to the scoring model of each preset tag.
- the items are scored separately, and then the scoring scores are weighted to obtain the comprehensive score of the preset label. If there are M preset labels, the comprehensive score of the M preset labels will be finally obtained. Then, by comparing the M preset labels , obtain the preset tag with the highest score, and determine the preset tag as the favorite tag.
- the content to be saved can be classified more accurately, so as to obtain a more accurate collection label, and the content to be saved can be saved in the first application according to the collection label, which can make the user more quickly And accurately find the favorite content.
- the cloud database includes application package names of multiple applications; the first information and the cloud data performing the comparison to generate a set of classification index items, comprising: comparing the application package name of the second application with the application package names of multiple applications in the cloud database to obtain the first classification index item of the second application,
- the first classification index item is the degree of correlation between the application classification of the second application and the preset label; the first classification index item is added to the classification index item set.
- the application package name can be combined with multiple application package names in the cloud database (such as multiple applications in the application store) (such as the application package name, etc.) to be collected, to obtain the classification index item of the degree of correlation between the content to be collected (such as the content of the first interface of the second application) and the preset label, for example, to collect the play one provided by the NetEase Cloud Music application.
- the cloud database such as multiple applications in the application store
- the content of the interface of the song called "Supermarket flowers" can obtain the application package name of NetEase Cloud Music, and then compare it with multiple application package names in the application store to obtain the application classification of NetEase Cloud Music application, thereby obtaining NetEase Cloud Music.
- the degree of correlation between the application classification of the music application and the preset label, and the degree of correlation between the application classification and the preset label can be used as the classification index item in the set of classification index items, and a more accurate information can be obtained when determining the favorite label of the content to be favorited. collection label.
- the Comparing the first information with cloud data to generate a set of classified information includes: identifying information formats of different information on the first interface according to the content information of the first interface, and classifying the information according to the information format and the information format.
- the electronic device after the electronic device obtains the content information and the screenshot of the content page on the display interface of the content to be favorited (such as the content of the first interface displayed by the second application) through the first application, it can identify the content page on the interface.
- the information format of different information in the content information such as text, music, jumping to web pages, quick applications, etc.
- performing AI recognition on the screenshots of the content pages on the content interface to be favorited and the content information provided by various applications in the cloud database Get the proportion of information in different formats on the content to be bookmarked interface.
- the NetEase Cloud Music application For example, if you want to collect the content of the interface provided by the NetEase Cloud Music application to play a song called "Supermarket flowers", you can obtain the content information and screenshots of the content page of NetEase Cloud Music. First, identify the information format on the interface, such as on the interface. If there is music and text format information, and then perform AI recognition on the screenshot of the content page and the cloud database, it can be obtained that the format information such as music and text on the interface account for the information content of the entire interface information. For example, music format information accounts for 75%.
- Text format information accounts for 25%, so the proportion of information in different formats on the interface to the entire interface information can be used as a classification index item in the classification index item set, and a more accurate collection label is obtained when determining the collection label of the content to be collected.
- a more accurate collection label is obtained when determining the collection label of the content to be collected.
- the first information includes the original title of the first interface; the cloud database includes special keywords of various application contents; the first information and cloud data performing the comparison to generate a set of classification information, comprising: identifying keywords in the original title of the first interface, and comparing the keywords with preset keywords of various application contents in the cloud database, Obtain the third classification index item of the first interface, the third classification index item is the degree of correlation between the keyword of the content of the first interface and the preset label, and add the third classification index item to the in the set of classification index items described above.
- the first application identifies the keyword on the original title , get the keywords of the content on the interface of the content to be bookmarked (such as purchase, CCTV, season X, episode Y, etc.), and then compare these keywords with the preset keywords of various application contents in the cloud database, so that the The degree of correlation between the keyword of the content to be saved and the preset label is obtained, and the degree of correlation between the keyword of the content and the preset label can be used as a classification index item in the set of classification index items. After determining the collection label of the content to be saved to get a more accurate collection tag.
- the determining, according to the first information, the favorite tag of the content of the first interface includes: according to the The chronological order of the favorite timestamps on the first interface is used to determine the favorite tag.
- the electronic device after the electronic device receives the preset operation of saving the content to be saved (such as the content of the first interface displayed by the second application) through the first application, it obtains relevant information on the interface of the content to be saved.
- the related information includes a favorite timestamp (the time when the preset operation for favorite related content is received).
- the first application can use the favorite timestamp as a favorite tag according to the chronological sequence of the favorite timestamp, and then store the to-be-to-be based on the favorite timestamp.
- the favorited content is saved in the first application, so that the user can view the favorited content in the first application according to the chronological order of the favorite timestamps.
- the determining a favorite tag of the content of the first interface according to the first information includes: The number of times of the visits of the first interface is determined, the user's favorite degree is judged, and the favorite tag is determined.
- the electronic device after the electronic device receives the preset operation of saving the content to be saved (such as the content of the first interface displayed by the second application) through the first application, the electronic device obtains relevant information on the display interface of the content to be saved, If the relevant information includes the number of times the user has visited the interface, the first application can determine the user's liking for the content displayed on the interface according to the number of times the user has visited the interface, and then assign the user's liking to the interface. The order determines the favorite tags. Then, the content to be saved is saved under the collection tab, and the user can view the collected content in order in the first application according to the degree of liking the content of the interface.
- the determining the favorite tag of the content of the first interface according to the first information includes: According to the prefabricated special kit for the content of the first interface, the attribute information of the content of the first interface is obtained, and the attribute information of the content of the first interface is compared with the classification definition in the template of the prefabricated special kit, The favorite tag of the content of the first interface is determined.
- the electronic device after the electronic device receives the preset operation of saving the content to be saved (such as the content of the first interface displayed by the second application) through the first application, it obtains relevant information on the interface of the content to be saved.
- the relevant information includes a prefabricated special kit for the interface content.
- the first application can automatically obtain the attribute information of the interface content (such as content summary, content type, etc.), and then match the attribute information of the interface content with the prefabricated special kit. Compare the classification definitions in the template, automatically classify the content of the interface, get a favorite label (such as news, shopping, video, etc.), and then save the content to be favorited under the favorite label, so that the content to be favorited can be quickly and accurately obtained. and the user can view the favorited content according to the favorite tag in the first application.
- a favorite label such as news, shopping, video, etc.
- the method further includes: synchronizing the content of the first interface saved in the first application to the cloud database by logging in a first account, and the first interface An account is a login account of the first application.
- the favorite content stored in the first application and the corresponding favorite tag can be synchronized to the cloud database by logging in to the account corresponding to the first application.
- the method further includes: displaying, by the electronic device, a second interface, the second interface being a display interface of the first application, receiving a first interface that acts on the second interface. operation to reopen the content of the first interface, where the first operation includes touching the content of the first interface under the favorite tab.
- the electronic device after entering the first application, displays a display interface of the first application, on which a favorite label (such as shopping, video, etc.) or a prompt for opening the favorite content (such as a screenshot of the favorite content can be displayed) Wait). After receiving the operation of reopening the favorite content, the electronic device will reopen the favorite content under the favorite label and display the display interface of the favorite content.
- a favorite label such as shopping, video, etc.
- a prompt for opening the favorite content such as a screenshot of the favorite content can be displayed
- the reopening the content of the first interface includes: according to the second application The application name of the application, to determine whether an application with the same application name as the second application has been installed, and if so, jump to the application with the same application name as the second application, and according to The jump link in the content of the first interface displays the first interface. If not, open the jump link in the content of the first interface through a browser to display the first interface.
- the favorite content includes an application name of an application that provides the content and a jump link to jump to the display interface corresponding to the favorite content
- the first application can be judged according to the application name, on the electronic device Whether an application with the same application name has been installed, if the corresponding application has been installed on the electronic device, it will jump to the application according to the jump link and display the display interface of the favorite content according to the jump link.
- the display interface of the favorite content can be displayed in the browser through a jump link. This enables quick reopening of the favorites.
- the re-opening the content of the first interface includes: opening the first application saved in the first application
- the web page snapshot in the content of the first interface in the display shows the first interface.
- the electronic device after receiving the operation of reopening the favorite content through the first application, the electronic device directly reopens the favorite content by opening the webpage snapshot. display interface.
- the method further includes: if the favorite information changes, updating the information in the first application and the information in the cloud data
- the collection information includes one or more of the collection timestamp, the content of the first interface and the collection tag.
- the electronic device after reopening the display interface corresponding to the favorite content stored in the first application, if some contents on the display interface are changed, the electronic device will update the favorite content stored in the first application. Content information and favorite tags are synchronized to the cloud database at the same time.
- the present application provides a collection processing device, which is characterized in that, when applied to electronic equipment, the device includes:
- a first display unit used for the electronic device to display a first interface
- the first interface is a display interface of a second application
- a first receiving unit used for the first application in the electronic device to detect the A preset operation on an interface
- the preset operation includes one or more of a double-click operation, an operation of touching a preset control, and an operation of drawing a special pattern on the first interface
- a first processing unit used for The first application acquires first information corresponding to the first interface, and determines a favorite tag of the content of the first interface according to the first information
- the first information includes content information of the first interface, One or more of original title, screenshot of content page, favorite timestamp, number of visits, application package name of the second application, and prefabricated special kit for the content of the first interface
- the first favorite unit used for all The first application saves the content of the first interface into the first application according to the bookmark tag.
- the first processing unit is specifically configured to: the first application compares the first information with cloud data to generate a set of classification index items;
- the cloud database includes a variety of One or more of the application package name of the application, preset keywords of various application contents, content information provided by various applications, classification labels of various applications, application content classification results of multiple users, and user data;
- the classification index item set includes N classification index items; according to the scoring model of the M preset labels in the preset label set, the N corresponding to each preset label in the M preset labels is Score the classification index items; weight the scores of the N classification index items corresponding to each of the M preset labels to obtain the comprehensive scores of the M preset labels; The highest preset tag among the comprehensive scores of the M preset tags is determined as the favorite tag of the content of the first interface.
- the first processing unit is specifically configured to: The first application compares the application package name of the second application with the application package names of various applications in the cloud database to obtain a first classification index item of the second application; the first classification index The item is the degree of correlation between the application classification of the second application and the preset label; the first classification index item is added to the classification index item set.
- the first processing unit is specifically configured to: the first application identifies the information format of different information on the first interface according to the content information of the first interface, and according to the information format and the first interface
- the screenshot of the content page and the content information provided by various applications in the cloud database are AI-recognized to obtain the second classification index item of the first interface; the second classification index item is the first interface.
- the first processing unit is specifically configured to : the first application identifies the keyword in the original title of the first interface, compares the keyword with the preset keywords of various application contents in the cloud database, and obtains the first A third classification index item of an interface; the third classification index item is the degree of correlation between the keyword of the content of the first interface and the preset label; the third classification index item is added to the classification index item in the collection.
- the first processing unit is specifically configured to: the first application according to the first interface The chronological order of the favorite timestamps determines the favorite tag.
- the first information includes the number of visits to the first interface; the first processing unit is specifically configured to: the first application according to the access times of the first interface The number of visits determines the favorite tag.
- the first information includes a prefabricated dedicated kit for the content of the first interface; the first processing unit is specifically configured to: the first application according to the content of the first interface A prefabricated special kit for the content, to obtain the attribute information of the content of the first interface; compare the attribute information of the content of the first interface with the classification definition in the template of the prefabricated special kit, and determine the attribute information of the first interface.
- the first processing unit is specifically configured to: the first application according to the content of the first interface A prefabricated special kit for the content, to obtain the attribute information of the content of the first interface; compare the attribute information of the content of the first interface with the classification definition in the template of the prefabricated special kit, and determine the attribute information of the first interface.
- Favorites tab for content is specifically configured to: the first application according to the content of the first interface A prefabricated special kit for the content, to obtain the attribute information of the content of the first interface; compare the attribute information of the content of the first interface with the classification definition in the template of the prefabricated special kit, and determine the attribute information of the first interface.
- the device further includes: a first synchronization unit, used for the first application to save the content of the first interface in the first application, by logging in to the first account
- the first account is the login account of the first application.
- the device further includes: a second display unit for the electronic device to display a second interface; the second interface is a display interface of the first application; a second processing unit , for the first application to receive a first operation that acts on the second interface, and reopens the content of the first interface; the first operation includes touching the first interface under the favorites tab Content.
- the second processing unit is specifically configured to: the first application according to the For the application name of the second application, determine whether an application with the same application name as the second application has been installed; if so, jump to the application with the same application name as the second application, and display the first interface according to the jump link in the content of the first interface; if not, open the jump link in the content of the first interface through a browser to display the first interface interface.
- the second processing unit is specifically configured to: the first application is saved in the first application by opening it.
- the webpage snapshot in the content of the first interface in an application displays the first interface.
- the device further includes: a second synchronization unit, configured to update the content in the first application if the favorite information changes. information and information in the cloud data; the favorite information includes one or more of the favorite timestamp, the content of the first interface, and the favorite tag.
- an embodiment of the present invention provides an electronic device, the electronic device includes a processor, and the processor is configured to support the electronic device to implement corresponding functions in the provided collection processing method.
- the electronic device may also include a memory for coupling with the processor that holds program instructions and data necessary for the electronic device.
- the electronic device may also include a communication interface for the electronic device to communicate with other devices or a communication network.
- the present application provides a chip system
- the chip system includes a processor for supporting the collection processing device to implement the above-mentioned functions, for example, generating or processing the information involved in the above-mentioned collection processing method.
- the chip system further includes a memory for storing necessary program instructions and data of the data sending device.
- the chip system may be composed of chips, or may include chips and other discrete devices.
- the present application provides a computer storage medium, where a computer program is stored in the computer storage medium, and when the computer program is executed by a processor, the flow of any of the collection processing methods described above is implemented.
- an embodiment of the present invention provides a computer program, where the computer program includes instructions, when the computer program is executed by a computer, the computer can execute the process executed by the processor in the above-mentioned collection processing device.
- FIG. 1A is a schematic structural diagram of an electronic device 100 according to an embodiment of the present invention.
- FIG. 1B is a block diagram of a software structure of an electronic device 100 provided by an embodiment of the present invention.
- FIG. 1C is a schematic diagram of a system architecture of a collection processing provided by an embodiment of the present invention.
- FIG. 2 is a schematic flowchart of a collection processing method provided by an embodiment of the present invention.
- FIG. 3A is a schematic diagram of a video application interface provided by an embodiment of the present invention.
- FIG. 3B is a schematic diagram of a shopping application interface provided by an embodiment of the present invention.
- FIG. 3C is a schematic diagram of a music application interface provided by an embodiment of the present invention.
- FIG. 4A is a schematic diagram of a preset operation provided by an embodiment of the present invention.
- FIG. 4B is a schematic diagram showing an application on an electronic device provided by an embodiment of the present invention.
- FIG. 5 is a schematic diagram of a favorite tag provided by an embodiment of the present invention.
- FIG. 6 is a schematic diagram of a first application collection interface provided by an embodiment of the present invention.
- FIG. 7 is a detailed schematic flowchart of a collection processing method provided by an embodiment of the present invention.
- FIG. 8A is a schematic diagram of a video content interface provided by a Toutiao application according to an embodiment of the present invention.
- FIG. 8B is a schematic diagram of a basketball game news browsing interface provided by the Toutiao application according to an embodiment of the present invention.
- FIG. 9 is a schematic diagram of a multi-dimensional collection of three contents to be collected according to an embodiment of the present invention.
- FIG. 10 is a schematic diagram of a cloud database for uploading favorite content according to an embodiment of the present invention.
- FIG. 11 is a schematic structural diagram of a storage processing device according to an embodiment of the present invention.
- the electronic device may be a portable electronic device that also includes other functions such as personal digital assistant and/or music player functions, such as a cell phone, tablet computer, wearable electronic device with wireless communication capabilities (eg, a smart watch) Wait.
- portable electronic devices include, but are not limited to, carry-on Or portable electronic devices with other operating systems.
- the portable electronic device described above may also be other portable electronic devices, such as a laptop computer (Laptop) with a touch-sensitive surface or touch panel, or the like. It should also be understood that, in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer having a touch-sensitive surface or a touch panel.
- UI user interface
- the term "user interface (UI)" in the description, claims and drawings of this application is a medium interface for interaction and information exchange between an application program or an operating system and a user, and it realizes the internal form of information Conversion to and from user-acceptable forms.
- the user interface of the application is the source code written in a specific computer language such as java and extensible markup language (XML).
- the interface source code is parsed and rendered on the terminal device, and finally presented as content that the user can recognize.
- Controls also known as widgets, are the basic elements of the user interface. Typical controls include toolbars, menu bars, text boxes, buttons, and scroll bars. (scrollbar), pictures and text.
- the attributes and content of controls in the interface are defined by tags or nodes.
- XML specifies the controls contained in the interface through nodes such as ⁇ Textview>, ⁇ ImgView>, and ⁇ VideoView>.
- a node corresponds to a control or property in the interface, and the node is rendered as user-visible content after parsing and rendering.
- applications such as hybrid applications, often contain web pages in their interface.
- a web page, also known as a page can be understood as a special control embedded in an application interface.
- a web page is source code written in a specific computer language, such as hypertext markup language (GTML), cascading styles Tables (cascading style sheets, CSS), java scripts (JavaScript, JS), etc.
- GTML hypertext markup language
- cascading styles Tables cascading style sheets, CSS
- java scripts JavaScript, JS
- the specific content contained in a web page is also defined by tags or nodes in the source code of the web page.
- GTML defines the elements and attributes of web pages through ⁇ p>, ⁇ img>, ⁇ video>, and ⁇ canvas>.
- GUI graphical user interface
- GUI refers to a user interface related to computer operations that is displayed graphically. It can be an icon, window, control and other interface elements displayed on the display screen of the electronic device, wherein the control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, Widgets, etc. visual interface elements.
- FIG. 1A shows a schematic structural diagram of an electronic device 100 .
- the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, 3D camera module 193, display screen 194, and a subscriber identification module (subscriber identification module, SIM) card interface 195 and so on.
- SIM subscriber identification module
- the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
- the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100 .
- the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
- the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
- the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a central processing unit (central processing unit, CPU), a graphics processing unit (graphics processing unit, GPU) , neural-network processing unit (NPU), modem processor, image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor) processor, DSP), baseband processor, etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors. In some embodiments, electronic device 100 may also include one or more processors 110 .
- application processor application processor
- AP central processing unit
- CPU central processing unit
- graphics processing unit graphics processing unit
- NPU neural-network processing unit
- modem processor image signal processor
- image signal processor image signal processor
- ISP image signal processor
- controller memory
- video codec digital signal processor
- DSP digital signal processor
- baseband processor baseband processor
- the controller may be the nerve center and command center of the electronic device 100 .
- the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
- a memory may also be provided in the processor 110 for storing instructions and data.
- the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the waiting time of the processor 110 is reduced, thereby improving the efficiency of the electronic device 100 .
- the processor 110 may include one or more interfaces.
- the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
- I2C integrated circuit
- I2S integrated circuit built-in audio
- PCM pulse code modulation
- PCM pulse code modulation
- UART universal asynchronous transceiver
- MIPI mobile industry processor interface
- GPIO general-purpose input/output
- SIM subscriber identity module
- USB universal serial bus
- the I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL).
- the processor 110 may contain multiple sets of I2C buses.
- the processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flash, the 3D camera module 193 and the like through different I2C bus interfaces.
- the processor 110 may couple the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate with each other through the I2C bus interface, so as to realize the touch function of the electronic device 100 .
- the I2S interface can be used for audio communication.
- the processor 110 may contain multiple sets of I2S buses.
- the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 .
- the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
- the PCM interface can also be used for audio communications, sampling, quantizing and encoding analog signals.
- the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
- the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
- the UART interface is a universal serial data bus used for asynchronous communication.
- the bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
- a UART interface is typically used to connect the processor 110 with the wireless communication module 160 .
- the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function.
- the audio module 170 can transmit the audio signal to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
- the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the 3D camera module 193 .
- MIPI interfaces include camera serial interface (CSI), display serial interface (DSI), etc.
- the processor 110 communicates with the 3D camera module 193 through a CSI interface to implement the camera function of the electronic device 100 .
- the processor 110 communicates with the display screen 194 through the DSI interface to implement the display function of the electronic device 100 .
- the GPIO interface can be configured by software.
- the GPIO interface can be configured as a control signal or as a data signal.
- the GPIO interface can be used to connect the processor 110 with the 3D camera module 193 , the display screen 194 , the wireless communication module 160 , the audio module 170 , the sensor module 180 and the like.
- the GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.
- the USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
- the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones.
- the interface can also be used to connect other electronic devices, such as AR devices.
- the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
- the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
- the charging management module 140 is used to receive charging input from the charger.
- the charger may be a wireless charger or a wired charger.
- the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
- the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 charges the battery 142 , it can also supply power to the electronic device through the power management module 141 .
- the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
- the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the 3D camera module 193, and the wireless communication module 160.
- the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance).
- the power management module 141 may also be provided in the processor 110 .
- the power management module 141 and the charging management module 140 may also be provided in the same device.
- the wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
- Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
- Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
- the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
- the mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 .
- the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
- the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
- the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 .
- at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
- at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
- the modem processor may include a modulator and a demodulator.
- the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
- the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
- the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
- the application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 .
- the modem processor may be a stand-alone device.
- the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
- the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
- WLAN wireless local area networks
- BT wireless fidelity
- GNSS global navigation satellites System
- frequency modulation frequency modulation, FM
- NFC near field communication technology
- IR infrared technology
- the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
- the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
- the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
- the wireless communication module 160 may include a Bluetooth module, a Wi-Fi module, and the like.
- the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
- the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
- the GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
- global positioning system global positioning system, GPS
- global navigation satellite system global navigation satellite system, GLONASS
- Beidou navigation satellite system beidou navigation satellite system, BDS
- quasi-zenith satellite system quadsi -zenith satellite system, QZSS
- SBAS satellite based augmentation systems
- the electronic device 100 can implement a display function through a GPU, a display screen 194, an application processor, and the like.
- the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
- the GPU is used to perform mathematical and geometric calculations for graphics rendering.
- Processor 110 may include one or more GPUs that execute instructions to generate or change display information.
- Display screen 194 is used to display images, videos, and the like.
- Display screen 194 includes a display panel.
- the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light).
- LED diode AMOLED
- flexible light-emitting diode flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
- the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
- the electronic device 100 can realize the camera function through the 3D camera module 193, the ISP, the video codec, the GPU, the display screen 194, the application processor AP, the neural network processor NPU, and the like.
- the 3D camera module 193 can be used to collect color image data and depth data of the photographed object.
- the ISP can be used to process the color image data collected by the 3D camera module 193 .
- the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
- ISP can also perform algorithm optimization on image noise, brightness, and skin tone. ISP can also optimize parameters such as exposure and color temperature of the shooting scene.
- the ISP may be provided in the 3D camera module 193 .
- the 3D camera module 193 may be composed of a color camera module and a 3D sensing module.
- the photosensitive element of the camera of the color camera module may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
- CCD charge coupled device
- CMOS complementary metal-oxide-semiconductor
- the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
- the ISP outputs the digital image signal to the DSP for processing.
- DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
- the 3D sensing module may be a time of flight (TOF) 3D sensing module or a structured light (structured light) 3D sensing module.
- the structured light 3D sensing is an active depth sensing technology, and the basic components of the structured light 3D sensing module may include an infrared (Infrared) emitter, an IR camera module, and the like.
- the working principle of the structured light 3D sensing module is to first emit a light spot of a specific pattern on the object to be photographed, and then receive the light coding of the light spot pattern on the surface of the object, and then compare the similarities and differences with the original projected light spot. And use the principle of trigonometry to calculate the three-dimensional coordinates of the object.
- the three-dimensional coordinates include the distance between the electronic device 100 and the object to be photographed.
- TOF 3D sensing is also an active depth sensing technology, and the basic components of the TOF 3D sensing module may include an infrared (Infrared) transmitter, an IR camera module, and the like.
- the working principle of the TOF 3D sensing module is to calculate the distance (ie depth) between the TOF 3D sensing module and the object to be photographed through the time of infrared reentry to obtain a 3D depth map.
- Structured light 3D sensing modules can also be used in face recognition, somatosensory game consoles, industrial machine vision detection and other fields.
- TOF 3D sensing modules can also be applied to game consoles, augmented reality (AR)/virtual reality (VR) and other fields.
- AR augmented reality
- VR virtual reality
- the 3D camera module 193 may also be composed of two or more cameras.
- the two or more cameras may include color cameras, and the color cameras may be used to collect color image data of the photographed object.
- the two or more cameras may use stereo vision technology to collect depth data of the photographed object.
- Stereoscopic vision technology is based on the principle of human eye parallax. Under natural light sources, two or more cameras are used to capture images of the same object from different angles, and then operations such as triangulation are performed to obtain the electronic device 100 and the object. The distance information between the objects, that is, the depth information.
- the electronic device 100 may include one or N 3D camera modules 193 , where N is a positive integer greater than one.
- the electronic device 100 may include a front 3D camera module 193 and a rear 3D camera module 193 .
- the front 3D camera module 193 can usually be used to collect the color image data and depth data of the photographer facing the display screen 194, and the rear 3D camera module can be used to collect the shooting objects (such as people) that the photographer faces. , landscape, etc.) color image data and depth data.
- the CPU or GPU or NPU in the processor 110 may process the color image data and depth data collected by the 3D camera module 193 .
- the NPU can recognize the color images collected by the 3D camera module 193 (specifically, the color camera module) through a neural network algorithm based on the skeletal point recognition technology, such as a convolutional neural network algorithm (CNN). data to determine the skeletal points of the person being photographed.
- CNN convolutional neural network algorithm
- the CPU or GPU can also run the neural network algorithm to realize the determination of the skeletal points of the photographed person according to the color image data.
- the CPU, GPU or NPU can also be used to confirm the body of the person being photographed (eg body proportion, the fatness and thinness of the body parts between the skeleton points), and can further determine the body beautification parameters for the photographed person, and finally process the photographed image of the photographed person according to the body beautification parameters, so that the shooting The image of the subject's body shape is beautified. Subsequent embodiments will introduce in detail how to perform body beautification processing on the image of the photographed person based on the color image data and depth data collected by the 3D camera module 193 , which will not be described here.
- a digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy and so on.
- Video codecs are used to compress or decompress digital video.
- the electronic device 100 may support one or more video codecs.
- the electronic device 100 can play or record videos in various encoding formats, such as: Moving Picture Experts Group (moving picture experts group, MPEG)-1, MPEG-2, MPEG-3, MPEG-4 and so on.
- MPEG Moving Picture Experts Group
- the NPU is a neural-network (NN) computing processor.
- NN neural-network
- Applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
- the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100 .
- the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save data such as music, photos, videos, etc. in an external memory card.
- Internal memory 121 may be used to store one or more computer programs including instructions.
- the processor 110 can execute the above-mentioned instructions stored in the internal memory 121, thereby causing the electronic device 100 to execute the method for photographing and previewing the electronic device provided in some embodiments of the present application, as well as various functional applications and data processing.
- the internal memory 121 may include a storage program area and a storage data area. Wherein, the stored program area may store the operating system; the stored program area may also store one or more application programs (such as gallery, contacts, etc.) and the like.
- the storage data area may store data (such as photos, contacts, etc.) created during the use of the electronic device 100 .
- the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
- the electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
- the audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
- Speaker 170A also referred to as a "speaker" is used to convert audio electrical signals into sound signals.
- the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
- the receiver 170B also referred to as "earpiece" is used to convert audio electrical signals into sound signals.
- the voice can be answered by placing the receiver 170B close to the human ear.
- the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
- the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C.
- the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
- the earphone jack 170D is used to connect wired earphones.
- the earphone interface 170D may be the USB interface 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
- OMTP open mobile terminal platform
- CTIA cellular telecommunications industry association of the USA
- the pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals.
- the pressure sensor 180A may be provided on the display screen 194 .
- the capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes.
- the electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
- the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
- touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation whose intensity is less than the first pressure threshold acts on the short message application icon, the instruction for viewing the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.
- the gyro sensor 180B may be used to determine the motion attitude of the electronic device 100 .
- the angular velocity of electronic device 100 about three axes ie, x, y, and z axes
- the gyro sensor 180B can be used for image stabilization.
- the gyro sensor 180B detects the shaking angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse motion to achieve anti-shake.
- the gyro sensor 180B can also be used for navigation and somatosensory game scenarios.
- the air pressure sensor 180C is used to measure air pressure.
- the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.
- the magnetic sensor 180D includes a Hall sensor.
- the electronic device 100 can detect the opening and closing of the flip holster using the magnetic sensor 180D.
- the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Further, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, characteristics such as automatic unlocking of the flip cover are set.
- the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes).
- the magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
- the electronic device 100 can measure the distance through infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.
- Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
- the light emitting diodes may be infrared light emitting diodes.
- the electronic device 100 emits infrared light to the outside through the light emitting diode.
- Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100 . When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100 .
- the electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
- Proximity light sensor 180G can also be used in holster mode, pocket mode automatically unlocks and locks the screen.
- the ambient light sensor 180L is used to sense ambient light brightness.
- the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
- the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
- the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket, so as to prevent accidental touch.
- the fingerprint sensor 180H is used to collect fingerprints.
- the electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.
- the temperature sensor 180J is used to detect the temperature.
- the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J in order to reduce power consumption and implement thermal protection.
- the electronic device 100 when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 caused by the low temperature.
- the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
- the touch sensor 180K may also be referred to as a touch panel or a touch sensitive surface.
- the touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
- the touch sensor 180K is used to detect a touch operation on or near it.
- the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
- Visual output related to touch operations may be provided through display screen 194 .
- the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
- the bone conduction sensor 180M can acquire vibration signals.
- the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice.
- the bone conduction sensor 180M can also contact the pulse of the human body and receive the blood pressure beating signal.
- the bone conduction sensor 180M can also be disposed in the earphone, combined with the bone conduction earphone.
- the audio module 170 can analyze the voice signal based on the vibration signal of the vocal vibration bone block obtained by the bone conduction sensor 180M, so as to realize the voice function.
- the application processor can analyze the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M, and realize the function of heart rate detection.
- the keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key.
- the electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 .
- Motor 191 can generate vibrating cues.
- the motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback.
- touch operations acting on different applications can correspond to different vibration feedback effects.
- the motor 191 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 194 .
- Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
- the touch vibration feedback effect can also support customization.
- the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
- the SIM card interface 195 is used to connect a SIM card.
- the SIM card can be contacted and separated from the electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 .
- the electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
- the SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different.
- the SIM card interface 195 can also be compatible with different types of SIM cards.
- the SIM card interface 195 is also compatible with external memory cards.
- the electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication.
- the electronic device 100 employs an eSIM, ie: an embedded SIM card.
- the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
- the electronic device 100 exemplarily shown in FIG. 1A may display various user interfaces described in various embodiments below through the display screen 194 .
- the electronic device 100 can detect a touch operation in each user interface through the touch sensor 180K, for example, a click operation (such as a touch operation on an icon, a double-click operation) in each user interface, and, for example, an up or down operation in each user interface. Swipe down, perform a circle gesture, etc.
- the electronic device 100 may detect a motion gesture performed by the user holding the electronic device 100, such as shaking the electronic device, through the gyro sensor 180B, the acceleration sensor 180E, and the like.
- the electronic device 100 can detect non-touch gesture operations through the 3D camera module 193 (eg, a 3D camera, a depth camera).
- the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
- the embodiment of the present invention takes an Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100 as an example.
- FIG. 1B is a block diagram of a software structure of an electronic device 100 according to an embodiment of the present invention.
- the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces.
- the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and a system library, and a kernel layer.
- the application layer can include a series of application packages.
- the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
- the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
- the application framework layer includes some predefined functions.
- the application framework layer may include window managers, content providers, view systems, telephony managers, resource managers, notification managers, and the like.
- a window manager is used to manage window programs.
- the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
- Content providers are used to store and retrieve data and make these data accessible to applications.
- the data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
- the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications.
- a display interface can consist of one or more views.
- the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
- the phone manager is used to provide the communication function of the electronic device 100 .
- the management of call status including connecting, hanging up, etc.).
- the resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
- the notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc.
- the notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications on the screen in the form of dialog windows. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
- Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
- the core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.
- the application layer and the application framework layer run in virtual machines.
- the virtual machine executes the java files of the application layer and the application framework layer as binary files.
- the virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
- a system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
- surface manager surface manager
- media library Media Libraries
- 3D graphics processing library eg: OpenGL ES
- 2D graphics engine eg: SGL
- the Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
- the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
- the media library can support a variety of audio and video encoding formats, such as: MPEG4, G.264, MP3, AAC, AMR, JPG, PNG, etc.
- the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
- 2D graphics engine is a drawing engine for 2D drawing.
- the kernel layer is the layer between hardware and software.
- the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
- the software system shown in FIG. 1B involves application presentation (such as gallery, file manager) using sharing capability, instant sharing module providing sharing capability, print service and print spooler providing printing capability , and the application framework layer provides printing framework, WLAN services, Bluetooth services, and the kernel and the bottom layer provide WLAN Bluetooth capabilities and basic communication protocols.
- application presentation such as gallery, file manager
- instant sharing module providing sharing capability
- print service and print spooler providing printing capability
- application framework layer provides printing framework, WLAN services, Bluetooth services
- the kernel and the bottom layer provide WLAN Bluetooth capabilities and basic communication protocols.
- Hypertext 5.0 (HyperText Markup Language 5, HTML5) is the latest revision of HTML, which was formulated by the World Wide Web Consortium (W3C) in October 2014. The goal is to replace the HTML 4.01 and XHTML 1.0 standards formulated in 1999, with a view to making the network standards meet contemporary network requirements when Internet applications are developing rapidly.
- HTML5 When talking about HTML5 in a broad sense, it actually refers to a set of technologies including HTML, CSS and JavaScript. It hopes to reduce the web browser's need for plug-in rich web application services (Plug-in-Based Rich Internet Application, RIA), such as Adobe Flash, Microsoft Silverlight and Oracle JavaFX, and provide more to effectively strengthen the network A set of standards to apply.
- plug-in-Based Rich Internet Application RIA
- Cloud Storage is a mode of online online storage, that is, storing data on multiple virtual servers usually hosted by third parties instead of dedicated servers. Data center operators prepare storage virtualization resources at the back end according to customer needs, and provide them in the form of a storage pool, and customers can use this storage pool to store files or objects. In practice, these resources may be distributed across numerous server hosts.
- the cloud storage service is accessed through a web service application programming interface (API), or through a web-based user interface.
- API application programming interface
- Cloud backup is to back up personal data such as address book, text messages, pictures and other data on the network through cloud storage.
- backup data is more secure; multi-platform management is supported; data transmission encryption is more secure.
- cloud backup is not limited by space and equipment, and does not require data lines, nor does it need to be backed up to a memory card and there is a risk of loss.
- Scenario 1 A scenario in which the content or service provided by the mobile phone application is collected and processed.
- multiple second applications for example, mobile phone local applications or third-party applications, etc.
- these applications may include applications of the same type or applications of different types.
- Different applications can provide users with different content or services, such as QQ Music and NetEase Cloud Music.
- QQ Music and NetEase Cloud Music These two applications mainly provide users with music content or services, but due to the different music libraries of these two applications, they can There are differences in the music tracks offered.
- Another example is Jingdong, which can provide users with product content display and shopping services, and Douyin can provide users with short video content or services.
- the content or services provided by multiple second applications can be saved to the first application in this application, and all the saved content or services can be viewed in the first application. Find content or services provided by your favorite second app.
- the content or service collected in the first application can be uploaded to the cloud database, and the collected content or service can be opened on different devices, which more effectively improves the efficiency of the user to obtain information.
- Scenario 2 Favorite the content that has been downloaded to the local electronic device.
- a variety of content can be downloaded on the electronic device and stored locally, such as text content, audio and video content, and picture content.
- users store a lot of personal information content such as audio, video, pictures, and texts locally on electronic devices, and users have an increasingly high demand for viewing these personal information content in real time.
- the personal information contents (corresponding to the second in the embodiment of the present invention) can be stored locally according to the personal information contents of the electronic device.
- the content provided by the application determines the favorite tag, saves all local personal information content under the corresponding favorite tag through the first application on the electronic device, and uploads the personal information content under the favorite tag to the cloud database for cloud synchronization.
- FIG. 1C is a schematic diagram of a system architecture of a collection processing provided by an embodiment of the present invention, and the system is used to solve the problems of low collection efficiency and poor user experience when collecting content of multiple different applications.
- the system architecture may include a plurality of electronic devices 201 (a tablet, a computer smart screen and a mobile phone are taken as examples in FIG. 1C respectively) and a cloud database 202 .
- any one of the electronic devices 201 in the plurality of electronic devices 201 may be, but not limited to, the electronic device 100 described in FIG. 1A , wherein,
- the electronic device 201 may be a smart screen, a personal computer, a tablet computer, a smart phone, and other devices.
- the electronic device 201 is a smart phone
- a plurality of third-party applications can be downloaded on the smart phone and the smart phone itself can also have a plurality of local applications; at the same time, the smart phone has an independent operating system, which can be accessed through a mobile communication network Wireless network access can be realized and a connection with the cloud database 202 can be realized, and data transmission with the cloud database 202 can be realized, so that data can be shared among multiple electronic devices.
- a certain smartphone can bookmark the content provided by multiple second applications in the first application, and can upload the favorited content in the first application to the cloud database 202, and other electronic devices such as tablets have viewing rights when (such as the permission to log in to the first account), content provided by multiple second applications saved in the first application of the smartphone can also be viewed, so that content sharing across devices can be achieved through the cloud database 202 .
- the cloud database 202 refers to a database optimized or deployed in a virtual computing environment, which has the advantages of on-demand expansion, high availability, and storage integration, and has functions such as data backup, monitoring, and message notification. For example, application package names of various applications, preset keywords of various application contents, content information provided by various applications, classification labels of various applications, application content classification results of multiple users, and One or more types of user data.
- the electronic device 201 can upload the favorite content stored in the first application to the cloud database 202 to realize cloud synchronization. When other electronic devices have permission to view the data in the cloud database 202, they can obtain the data stored in the cloud database 202 from the cloud database 202. and if the content saved in the first application changes, it can also be synchronized to the cloud database 202 in real time to update the content stored in the cloud database 202 .
- FIG. 1C the architecture of a collection processing system in FIG. 1C is only an exemplary implementation in the embodiment of the present application, and the architecture of the file transmission system in the embodiment of the present application includes but is not limited to the above system architecture.
- FIG. 2 is a schematic flowchart of a collection processing method in an embodiment of the present application. The following will combine with FIG. 2 and based on the above-mentioned collection processing system architecture in FIG. 1C from the interactive side of the electronic device and the cloud database.
- the collection processing method in the embodiment is described. It should be noted that, in order to describe the collection processing method in the embodiments of the present application in more detail, the present application describes in each process step that the corresponding execution subject is an electronic device, but this does not mean that the embodiments of the present application can only use the described The execution body performs the corresponding method flow.
- Step S201 The electronic device displays a first interface.
- the first interface is a display interface of the second application.
- Multiple local applications and third-party applications may be installed on the electronic device, and the multiple applications may include multiple applications of the same type or multiple applications of different types.
- the second application is any one or more applications among multiple applications installed in the electronic device.
- the display interface for displaying the content or service provided by the second application to the user through the display screen 194 of the electronic device is the first interface.
- FIGS. 3A , 3B and 3C FIG. 3A is a schematic diagram of a video application interface
- FIG. 3B is a schematic diagram of a shopping application interface
- FIG. 3C is a schematic diagram of a music application interface.
- FIG. 3A is a schematic diagram of a video application interface
- FIG. 3B is a schematic diagram of a shopping application interface
- FIG. 3C is a schematic diagram of a music application interface.
- the electronic device 100 opens the video application, and watches the video of "Wonderful Night” in the video application. At this time, the first interface is the interface for playing the video.
- the electronic device 100 opens the shopping application and searches for an electronic watch in the shopping application. At this time, the first interface is an interface for learning the detailed information of the electronic watch.
- the electronic device 100 opens the music application, and plays a song of "Supermarket flowers” in the music application. At this time, the first interface is the interface for playing the music.
- Step S202 The electronic device detects a preset operation acting on the first interface through the first application.
- the preset operation includes one or more of a double-click operation, an operation of touching a preset control, and an operation of drawing a special pattern on the first interface.
- the first application may be a system application in the electronic device or an application installed on the electronic device by a third party.
- FIG. 4A is a schematic diagram of a preset operation. In operation 1 in the figure, the user can touch the virtual preset control through the touch sensor 180K to operate. It should be noted that the virtual preset control can be displayed on multiple third parties.
- FIG. 4B is a schematic diagram of an application display on an electronic device.
- a user can bookmark the content or service provided by the application in multiple applications such as Youku, JD.com, and Toutiao.
- Step S203 When the preset operation is detected, the electronic device obtains first information corresponding to the first interface through a first application, and determines a favorite tag of the content of the first interface according to the first information.
- the first information includes one of the content information of the first interface, the original title, a screenshot of a content page, a favorite timestamp, a webpage snapshot, a jump link, and an application package name of the second application or variety.
- the electronic device detects a preset operation on the first interface through the first application, it obtains relevant information about the content or service currently on the first interface, and determines the content or service on the first interface corresponding to the relevant information according to the relevant information. collection label. For example, the user needs to collect a shopping interface of a watch in the Jingdong shopping application, as shown in the schematic diagram of the shopping application interface in FIG.
- the first interface in the figure is the shopping interface of the watch, and the first application will obtain the shopping interface of the watch at this time.
- Content information such as watch, price, etc.
- original title such as Jingdong strong battery life smart watch bracelet sports waterproof call music
- content page screenshot such as Jingdong shopping application interface screenshot
- favorite timestamp such as June 15 21 :30
- webpage snapshot such as the webpage snapshot of the Jingdong shopping application interface
- jump links such as the relevant links that can be jumped to the interface
- the favorite tag can be a preset tag of the application (such as shopping, video, etc.), which can be a favorite timestamp. , which can be the user's liking for the content or service provided by the application. For example, when the content of the first interface is the shopping interface of the watch, the favorite tag may be "shopping".
- Step S204 The electronic device saves the content of the first interface into the first application according to the collection tag.
- the content or service on the first interface can be saved in the first application according to the favorite tag obtained in step S203, so as to facilitate the user to view the content or service on the first interface again.
- the user wants to collect a shopping interface of a watch in the Jingdong shopping application, as shown in the schematic diagram of the shopping application interface in FIG. 3B , the first interface in the figure is the shopping interface of the watch, if the favorite label of the content of the shopping interface of the watch is "Shopping", the content of the shopping interface of the watch is stored in the first application according to the "shopping" collection tag.
- FIG. 6 is a schematic diagram of the first application collection interface, (1) in FIG.
- FIG. 6 is the display interface of the first application collection label, and there are three collection labels "shopping", "video” and “information” in the figure. , and save the watch shopping interface provided by the Jingdong application under the "shopping” tab. After the user clicks "shopping” and enters the "shopping” tab, they can view the shopping interface of the watch provided by the favorite Jingdong shopping application.
- (2) in Figure 6 is the collection content display interface under the "shopping” tab. In the figure, there are two collections under this label, which are the shopping interface of the watch provided by the Jingdong shopping application and the Taobao shopping previously collected. The shopping interface for the watch provided by the app.
- the electronic device can save the content or services provided by multiple applications in the first application, avoiding that the user can only save the content or service provided by the current application in one application and search for the collection again
- content it is difficult to quickly find the application entry of the collected content, so that content or services provided by different applications can be collected across applications, and the efficiency of user acquisition of information and the user experience effect are more effectively improved.
- FIG. 7 is a detailed flowchart of a collection processing method in an embodiment of the present application. The following will be combined with FIG. 7 and based on the collection processing system architecture in the above-mentioned FIG. 1C from the interactive side of the electronic device and the cloud database.
- the collection processing method in the application embodiment is described. It should be noted that, in order to describe the collection processing method in the embodiments of the present application in more detail, the present application describes in each process step that the corresponding execution subject is an electronic device, but this does not mean that the embodiments of the present application can only use the described The execution body performs the corresponding method flow.
- Step S701 The electronic device displays a first interface.
- the first interface is a display interface of the second application.
- the display interface for displaying the content or service provided by the second application to the user through the display screen 194 of the electronic device is the first interface.
- FIG. 8A is a schematic diagram of a video content interface provided by the Toutiao application.
- the electronic device 100 opens the Toutiao application to watch the video of “natural scenery”, and the first interface is the video at this time. Playback interface.
- Step S702 The electronic device detects a preset operation on the first interface through the first application.
- the preset operation includes one or more of a double-click operation, an operation of touching a preset control, and an operation of drawing a special pattern on the first interface.
- FIG. 4A is a schematic diagram of a preset operation.
- the user can touch the virtual preset control through the touch sensor 180K to operate.
- the virtual preset control can be displayed on multiple third parties.
- you can also draw special patterns on the display interface of the application through operation 2, operation 3, pressing the entity preset control operation, operation 4, double-clicking the screen operation on the display interface of the application and other special actions.
- FIG. 4B is a schematic diagram of multiple applications, in which a user can bookmark the content or services provided by the applications in multiple applications such as Youku, JD.com, and Toutiao.
- Step S703 When the preset operation is detected, the electronic device obtains first information corresponding to the first interface through a first application, and determines a favorite tag of the content of the first interface according to the first information.
- the first information includes content information of the first interface, an original title, a screenshot of a content page, a favorite timestamp, the number of visits, an application package name of the second application, and a pre-production of the content of the first interface.
- One or more of the dedicated kits For example, an interface for a user to save a video in the Toutiao application, as shown in FIG. 8A is a schematic diagram of a video content interface provided by the Toutiao application.
- the content information on the video playback interface at this time (such as playback duration information), the original title (such as the natural scenery video), the screenshot of the content page (such as the screenshot of the "natural scenery” video playback interface), the favorite timestamp ( Such as 00:53 on October 13), webpage snapshots (such as the webpage snapshots of the "Natural Scenery” video playback interface), jump links (such as the relevant links that can jump to the "Nature Scenery” video playback interface), applications of the Toutiao application One or more of the package name and other information. Then, the favorite tag is determined according to the acquired relevant information, and the interface of the video playing is saved in the first application.
- the original title such as the natural scenery video
- the screenshot of the content page such as the screenshot of the "natural scenery” video playback interface
- the favorite timestamp Such as 00:53 on October 13
- webpage snapshots such as the webpage snapshots of the "Natural Scenery” video playback interface
- jump links such as the relevant links that can jump to the "
- the first information is compared with cloud data to generate a set of classification index items;
- the cloud database includes application package names of various applications, preset keywords of various application contents, One or more of content information provided by multiple applications, classification labels of multiple applications, application content classification results of multiple users, and user data;
- the classification index item set includes N classification index items; Assuming a scoring model of M preset tags in the tag set, score the N classification index items corresponding to each preset tag in the M preset tags; The scores of the N classification index items corresponding to each preset label of the It is determined as a favorite tag of the content of the first interface.
- the electronic device After the electronic device obtains the content-related information of the content to be bookmarked (such as the content of the first interface displayed by the second application) through the first application, it can respectively associate different information in the content-related information with the content-related information in the cloud database.
- the information is compared to obtain a plurality of classification index items (such as the correlation degree index item between the application classification and the preset label, etc.), and a set of classification index items is generated.
- the first application will preset multiple optional preset tags (such as information category, shopping category, etc.) in advance, and then according to the scoring model of each preset tag
- the index items are scored separately, and then the score is weighted to obtain the comprehensive score of the preset label.
- the comprehensive score of the M preset labels will finally be obtained, and then by comparing the M preset labels According to the comprehensive score of the tags, the preset tag with the highest score is obtained, and the preset tag is determined as the favorite tag.
- the content to be saved can be classified more accurately, so as to obtain a more accurate collection label, and the content to be saved can be saved in the first application according to the collection label, which can make the user more quickly And accurately find the favorite content.
- the set of classification index items includes a first classification index item, a second classification index item, and a third classification index item
- the first classification index item is the degree of correlation between the application classification of the second application and the preset label
- the second classification index item is The classification index item is the information weight proportion of the information related to the preset label on the first interface
- the third classification index item is the correlation degree between the keyword of the content of the first interface and the preset label.
- the weighting coefficient of the first classification index item is set to 0.3
- the weighting coefficient of the second classification index item is set to 0.4
- the weighting coefficient of the third type of index item is set to 0.3.
- the scoring model of "News” the first sub-index item, the second category indicator item and the third sub-category indicator item are scored respectively, and the scores are 60, 15, and 10 respectively.
- the composite score is 27 points.
- the scoring model of "video” the first index item, the second classification index item and the third classification index item are scored respectively, and the scores are 38, 80 and 85 respectively, and the scores of the classification index items are weighted to obtain "video”
- the composite score was 68.9 points.
- the scoring model of "shopping” the first sub-index item, the second category indicator item and the third category indicator item are scored respectively, and the scores are 2, 5, and 5 respectively, and the scores of the category indicators are weighted to obtain "video”
- the composite score is 4.1 points. It can be obtained that "video” has the highest comprehensive score among the three comprehensive scores, and "video” can be determined as a favorite tag, and the "natural scenery" video playback interface provided by the Toutiao application can be saved in the first application according to the favorite tag.
- the cloud database includes application package names of multiple applications; the first information and cloud data performing the comparison to generate a set of classification index items, comprising: comparing the application package name of the second application with the application package names of multiple applications in the cloud database to obtain the first classification index item of the second application;
- the first classification index item is the degree of correlation between the application classification of the second application and the preset label; the first classification index item is added to the classification index item set.
- the application package name can be combined with multiple application package names in the cloud database (such as the application package names of multiple applications in the application store).
- the classification index item of the degree of correlation between the content to be saved (such as the content of the first interface of the second application) and the preset label, for example, the “Natural Scenery” provided by the Toutiao application as shown in FIG. 8A will be collected.
- the degree of correlation between the application classification and the preset label can be used as the classification index item in the classification index item set, and a more accurate collection label can be obtained when the collection label of the interface of the content to be saved is determined.
- the Comparing the first information with cloud data to generate a set of classified information includes: identifying information formats of different information on the first interface according to the content information of the first interface, and classifying the information according to the information format and the information format.
- the electronic device After the electronic device obtains the content information on the display interface and the screenshot of the content page of the content to be favorited (such as the content of the first interface displayed by the second application) through the first application, it can identify the difference in the content information on the interface.
- the information format of the information such as text, music, jumping to web pages, quick applications, etc.
- performing AI recognition on the content page screenshots on the content interface to be favorited and the content information provided by various applications in the cloud database to obtain different formats.
- the proportion of information on the content to be bookmarked interface The proportion of information on the content to be bookmarked interface.
- the content information and content page screenshots of the "Natural Scenery” playback interface provided by Toutiao can be obtained.
- Information format such as video format and text format for the current interface content.
- AI recognition on the screenshot of the content page and the application content in the cloud database, and then the video and text format information on the interface account for the proportion of the information on the entire page.
- the favorite content has a high score in the score related to the "Video" preset tag, so the proportion of video and text format information on the interface to the information on the entire page can be used as the classification index item in the classification index item set, which can be determined in the A more accurate collection tag is obtained when the collection tag of the collection content is waiting.
- the first information includes the original title of the first interface; the cloud database includes preset keywords of various application contents; the first information is associated with the cloud Data is compared to generate a set of classification information, including: identifying keywords in the original title of the first interface, and comparing the keywords with preset keywords of various application contents in the cloud database to obtain the third classification index item of the first interface; the third classification index item is the degree of correlation between the keyword of the content of the first interface and the preset label; the third classification index item is added to in the set of classification index items.
- the first application identifies the keyword on the original title, and obtains the content to be saved.
- the keywords of the content on the content interface (such as purchase, CCTV, season X, episode Y, etc.), and then compare these keywords with the preset keywords of various application contents in the cloud database, so as to obtain the content to be favorited
- the degree of relevance between the keywords of the content on the interface and the preset tags, and the degree of relevance between the keywords of the content and the preset tags can be used as classification index items in the set of classification index items.
- the "Natural Scenery” video playback interface provided by the Toutiao application has the "Natural Scenery Video” preset keyword, and the content to be favorited has a higher score in the "video" preset tag.
- the bookmark label of the content to be bookmarked can be made more accurate.
- the determining, according to the first information, the favorite tag of the content of the first interface includes: according to the The chronological order of the favorite timestamps on the first interface is used to determine the favorite tag. Specifically, after the electronic device receives the preset operation of saving the content to be saved (such as the content of the first interface displayed by the second application) through the first application, it obtains relevant information on the interface of the content to be saved.
- the first application can use the favorite timestamp as a favorite tag according to the chronological order of the favorite timestamp, and then can favorite the content to be favorited according to the favorite timestamp into the first application, so that the user can view the favorited content in the first application according to the chronological order of the favorite timestamps.
- the determining a favorite tag of the content of the first interface according to the first information includes:
- the favorite label is determined according to the number of visits of the first interface.
- the electronic device receives the preset operation of saving the content to be saved (such as the content of the first interface displayed by the second application) through the first application, it obtains relevant information on the display interface of the content to be saved.
- the information includes the number of visits to the interface by the user. According to the number of visits by the user to the interface, the user's degree of liking for the content displayed on the interface can be determined, and then the favorite tags of the user can be determined in order of the degree of liking the interface. Then, the content to be saved is saved under the collection tab, and the user can view the collected content in order in the first application according to the degree of liking the content of the interface.
- the determining the favorite tag of the content of the first interface according to the first information includes: Obtain attribute information of the content of the first interface according to the prefabricated special kit for the content of the first interface; compare the attribute information of the content of the first interface with the classification definition in the template of the prefabricated special kit, The favorite tag of the content of the first interface is determined. Specifically, after the electronic device receives the preset operation of saving the content to be saved (such as the content of the first interface displayed by the second application) through the first application, it obtains relevant information on the interface of the content to be saved.
- the first application can automatically obtain the attribute information of the interface content (such as content summary, content type, etc.), and then classify the attribute information of the interface content with the classification in the template of the prefabricated special kit. Definition and comparison, the interface content is automatically classified, and the favorite label (such as news, shopping, video, etc.) is obtained, and then the first application saves the content to be favorited under the favorite label, so that the content to be favorited can be quickly and accurately obtained.
- Favorite tags and the user can view the favorite content according to the favorite tags in the first application.
- Step S704 Save the content of the first interface into the first application according to the favorite tag.
- the content or service on the first interface can be saved in the first application to facilitate the user to view the content or service on the first interface again.
- the first content to be saved is the basketball game news browsing interface provided by the Toutiao application as shown in FIG. 8B
- the second content to be saved is the “Wonderful Night” video playback interface provided by the Youku application as shown in FIG. 3A
- the third Each of the contents to be saved is shown in the detailed information interface of “an electronic watch” provided by the Jingdong application in FIG. 3B, and is described in conjunction with FIG. 9.
- FIG. 9 is a schematic diagram of multi-dimensional collection of the three contents to be saved.
- step S703 three collection tags of the content to be collected can be obtained respectively, which can be "news", “video” and “shopping” respectively, and then the content to be collected is collected in the first application according to the above three collection tags.
- the collection timestamps of the above three to-be-collected contents are 11:30 on June 18, 22:30 on June 17, and 21:00 on June 15, respectively, the chronological order of the favorite timestamps can be used.
- the above three contents to be saved are saved in the first application.
- the access times of the above three contents to be favorited are 5, 2 and 10 times respectively, then it can be determined according to the number of visits that the user likes the third content to be favorited the most, followed by the first content to be favorited, Finally, there is the second content to be bookmarked, and then a bookmark label is determined according to the user's liking for the content to be bookmarked, and the content to be bookmarked is stored in the first application.
- Step S705 Synchronize the content of the first interface saved in the first application to the cloud database by logging in to the first account.
- the first account is a login account of the first application.
- the favorite content stored in the first application and the corresponding favorite tag can be synchronized to the cloud database by logging in to the account corresponding to the first application.
- FIG. 10 is a schematic diagram of uploading the collection content to the cloud database.
- the first collection content that has been collected is shown in the basketball game news browsing interface provided by the Toutiao application as shown in FIG. 8B
- the second collection content The content is shown in Figure 3A
- the relevant information of the "an electronic watch” detailed information interface provided by the Jingdong application is synchronized to the cloud database. If the tablet or computer logs in to the first account to obtain the permission to view the cloud database, you can view the favorited content on the tablet or computer.
- Step S706 The electronic device displays a second interface.
- the second interface is a display interface of the first application.
- the electronic device After entering the first application, the electronic device displays the display interface of the first application. For example, as shown in the multi-dimensional collection schematic diagram of three contents to be saved in FIG. 9, optionally, a collection label (such as shopping, video, information, etc.) or a prompt for opening the collection content (such as a screenshot of the collection content can be displayed on this interface) Wait).
- a collection label such as shopping, video, information, etc.
- a prompt for opening the collection content such as a screenshot of the collection content can be displayed on this interface
- Wait the favorited content in the order of the favorite timestamps may be displayed.
- the favorited content collected according to the user's favorite degree may be displayed on the interface.
- Step S707 Receive a first operation acting on the second interface, and reopen the content of the first interface.
- the first operation includes touching the content of the first interface under the favorite tab. If you want to open the favorited content in the first application of the electronic device, the electronic device will reopen the favorited content under the favorites tab and display the interface of the favorited content after receiving the operation of reopening the favorited content. For example, if the user wants to open the "Wonderful Night” video playback interface provided by the favorite Youku application in the first application, the user can select the content to be opened in the first application, and the electronic device will display the relevant operation after receiving the relevant operation. The "Wonderful Night” video playback interface provided by the Youku app.
- the reopening the content of the first interface includes: according to the second application The application name of the application, to determine whether an application with the same application name as the second application has been installed; if so, jump to the application with the same application name as the second application, and according to The jump link in the content of the first interface displays the first interface; if not, the first interface is displayed by opening the jump link in the content of the first interface through a browser.
- the first application can judge whether the application has been installed on the electronic device according to the application name. For an application with the same name, if the corresponding application has been installed on the electronic device, it will jump to the application according to the jump link and display the display interface of the favorite content according to the jump link. However, if an application with the same application name is not installed on the electronic device, the display interface of the favorite content can be displayed in the browser through a jump link. This enables quick reopening of the favorites.
- the electronic device After receiving the relevant operation, the electronic device will determine whether it is installed on the device. If you have installed the Youku application on the electronic device, it will open Youku on Youku and display the “Wonderful Night” video playback interface provided by the Youku application in the Youku application according to the jump link. If Youku is not installed on the electronic device, the electronic device may open the browser and display the "Wonderful Night” video playback interface provided by the Youku application in the browser according to the jump link.
- the re-opening the content of the first interface includes: opening the first application saved in the first application
- the web page snapshot in the content of the first interface in the display shows the first interface.
- the electronic device directly reopens the display interface of the favorite content by opening the webpage snapshot.
- Step S708 If the favorite information is changed, update the information in the first application and the information in the cloud data.
- the favorite information changes, update the information in the first application and the information in the cloud data; the favorite information includes the favorite timestamp, the content of the first interface and the favorite one or more of the tags.
- the electronic device After reopening the display interface corresponding to the favorite content stored in the first application, if some contents on the display interface are changed, the electronic device will update the favorite content information and favorite label stored in the first application and simultaneously Synchronize the changed information to the cloud database.
- the electronic device can save the content or services provided by multiple applications in the first application, avoiding that the user can only save the content or service provided by the current application in one application and search for the collection again
- content it is difficult to quickly find the application entry of the collected content, so that content or services provided by different applications can be collected across applications, and the efficiency of user acquisition of information and the user experience effect are more effectively improved.
- FIG. 11 is a schematic structural diagram of a collection processing apparatus provided by an embodiment of the present invention.
- the collection processing apparatus 110 may include a first display unit 1101, a first receiving unit 1102, a first processing unit 1103, a first The collection unit 1104 , the first synchronization unit 1105 , the second display unit 1106 , the second processing unit 1107 , and the second synchronization unit 1108 , wherein the detailed description of each unit is as follows.
- the first display unit 1101 is used for the electronic device to display the first interface; the first interface is the display interface of the second application; the first receiving unit 1102 is used for the first application in the electronic device to detect the The preset operation on the first interface; the preset operation includes one or more of a double-click operation, an operation of touching a preset control, and an operation of drawing a special pattern on the first interface; the first processing unit 1103 , for the first application to obtain the first information corresponding to the first interface, and to determine the favorite tag of the content of the first interface according to the first information; the first information includes the content of the first interface.
- the first processing unit 1103 is specifically configured to: the first application compares the first information with cloud data to generate a set of classification index items; the cloud database includes multiple One or more of the application package names of various applications, preset keywords of various application contents, content information provided by various applications, classification labels of various applications, application content classification results of multiple users, and user data.
- the classification index item set includes N classification index items; according to the scoring model of the M preset labels in the preset label set, the corresponding The N classification index items are scored; the scores of the N classification index items corresponding to each of the M preset labels are weighted to obtain the comprehensive scores of the M preset labels respectively; A preset tag with the highest comprehensive score among the M preset tags is determined as a favorite tag of the content of the first interface.
- the first processing unit 1103 is specifically configured to : the first application compares the application package name of the second application with the application package names of various applications in the cloud database to obtain the first classification index item of the second application; the first classification The index item is the degree of correlation between the application classification of the second application and the preset label; the first classification index item is added to the set of classification index items.
- the first processing unit 1103 is specifically configured to: the first application identifies the information format of different information on the first interface according to the content information of the first interface, and according to the information format and the first interface
- the screenshot of the content page of the interface and the content information provided by various applications in the cloud database are AI-recognized to obtain the second classification index item of the first interface; the second classification index item is the first classification index item.
- the proportion of the information on the interface related to the preset label; the second classification index item is added to the classification index item set.
- the first processing unit 1103 specifically uses In: the first application identifies the keyword in the original title of the first interface, compares the keyword with preset keywords of various application contents in the cloud database, and obtains the The third classification index item of the first interface; the third classification index item is the degree of correlation between the keyword of the content of the first interface and the preset label; the third classification index item is added to the classification index item collection.
- the first processing unit 1103 is specifically configured to: the first application according to the first interface The chronological order of the favorite timestamps is determined to determine the favorite tag.
- the first information includes the number of visits to the first interface; the first processing unit 1103 is specifically configured to: the first application according to all access times to the first interface The number of visits is determined to determine the favorite tag.
- the first information includes a prefabricated dedicated kit for the content of the first interface; the first processing unit 1103 is specifically configured to: the first application according to the first interface The prefabricated special kit for the content of the prefabricated special kit, obtain the attribute information of the content of the first interface; compare the attribute information of the content of the first interface with the classification definition in the template of the prefabricated special kit, and determine the first interface The favorites tab for the content of .
- the apparatus further includes: a first synchronization unit 1105, configured to synchronize the content of the first interface saved in the first application to the first account by logging in the first account.
- the cloud database configured to store the content of the first interface saved in the first application.
- the first account is the login account of the first application.
- the apparatus further includes: a second display unit 1106, used for the electronic device to display a second interface; the second interface is the display interface of the first application; the second processing The unit 1107 is used for the first application to receive a first operation acting on the second interface, and reopen the content of the first interface; the first operation includes touching the first operation under the favorite tab. content of an interface.
- the second processing unit 1106 is specifically configured to: the first application according to the The application name of the second application is used to determine whether an application with the same application name as the second application has been installed; if so, jump to the application with the same application name as the second application. , and display the first interface according to the jump link in the content of the first interface; if not, open the jump link in the content of the first interface through a browser to display the first interface an interface.
- the second processing unit 1106 is specifically configured to: the first application is saved in the first application by opening it.
- the webpage snapshot in the content of the first interface in the first application displays the first interface.
- the apparatus further includes: a second synchronization unit 1107, configured to update the first application if the favorite information changes. the information in the first application and the information in the cloud data; the collection information includes one or more of the collection timestamp, the content of the first interface, and the collection tag.
- Embodiments of the present invention further provide a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program includes part or all of the steps of any of the collection processing methods described in the above method embodiments.
- the embodiment of the present invention also provides a computer program, the computer program includes instructions, when the computer program is executed by the computer, the computer can execute part or all of the steps of any collection processing method.
- the disclosed apparatus may be implemented in other manners.
- the device embodiments described above are only illustrative.
- the division of the above-mentioned units is only a logical function division.
- multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented.
- the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical or other forms.
- the units described above as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
- the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
- the integrated units are implemented in the form of software functional units and sold or used as independent products, they may be stored in a computer-readable storage medium.
- the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc., specifically a processor in a computer device) to execute all or part of the steps of the foregoing methods in the various embodiments of the present application.
- a computer device which may be a personal computer, a server, or a network device, etc., specifically a processor in a computer device
- the aforementioned storage medium may include: U disk, mobile hard disk, magnetic disk, optical disk, Read-Only Memory (Read-Only Memory, abbreviation: ROM) or Random Access Memory (Random Access Memory, abbreviation: RAM), etc.
- a medium that can store program code may include: U disk, mobile hard disk, magnetic disk, optical disk, Read-Only Memory (Read-Only Memory, abbreviation: ROM) or Random Access Memory (Random Access Memory, abbreviation: RAM), etc.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Human Resources & Organizations (AREA)
- Software Systems (AREA)
- Entrepreneurship & Innovation (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Development Economics (AREA)
- Educational Administration (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Game Theory and Decision Science (AREA)
- Databases & Information Systems (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Computation (AREA)
- Bioinformatics & Computational Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Evolutionary Biology (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Environmental & Geological Engineering (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本发明实施例公开了一种收藏处理的方法及相关装置,应用于电子设备中的第一应用;所述电子设备当前显示第一界面,所述第一界面为第二应用的显示界面;所述方法包括:检测针对所述第一界面上的预设操作;所述预设操作包括双击操作、触碰预设控件操作和在所述第一界面上绘制特殊图案操作中的一种或多种;当检测到所述预设操作,获取所述第一界面对应的第一信息,根据所述第一信息确定所述第一界面的内容的收藏标签;根据所述收藏标签将所述第一界面的内容收藏至所述第一应用中。采用本发明实施例可实现跨应用收藏并提升用户体验。
Description
本申请要求于2020年10月29日提交中国专利局、申请号为202011183418.2、申请名称为“一种收藏处理的方法及相关装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本发明涉及信息处理领域,尤其涉及一种收藏处理的方法及相关装置。
随着移动互联网的发展,智能设备和终端设备上的应用种类不断增多,应用所能提供的内容和服务种类也越来越多。用户可通过不同种类的应用获取不同的服务,例如,在流媒体应用中获取音视频服务,在新闻阅读应用中获取新闻资讯类服务等。
目前,若要对一个应用中所提供的内容和服务进行收藏,需要登录该应用账号并将待收藏内容和服务收藏于该账号下的个人文件夹中。例如,当用户通过某个音乐应用播放音乐且想要收藏该音乐时,用户需在该音乐应用中登录个人账号,才能将音乐收藏到个人文件夹中;又例如,当用户通过某个视频应用播放视频且想要收藏该视频时,用户需在该视频应用中登录个人账号,才能将视频收藏到个人文件夹中。
然而,在实际应用过程中发现,用户若要再次打开所收藏的内容和服务时,需找到之前收藏该内容和服务的应用入口和收藏的文件夹名称。比如,当该用户需要再次播放收藏的音乐和视频时,则需要分别找到收藏该音乐和该视频的应用,并分别在两个应用中登陆相应的账号,才能播放已收藏的音乐和视频。而当前,大部分用户都有安装多个同类型应用的使用习惯,这会导致用户难以快速找到已收藏的内容和服务的应用入口。另一方面,若要跨设备查看已收藏的多个应用中的内容和服务,则需要通过即时通讯应用转发不同应用中的内容和服务的相关链接并在浏览器中打开,这样繁琐的操作会影响用户体验效果。
因此,如何提升内容收藏效率和用户使用体验效果是亟待解决的问题。
发明内容
本发明实施例所要解决的技术问题在于,提供一种收藏处理的方法及相关装置,解决了对多个不同应用的内容进行收藏时收藏效率低且用户体验效果差的问题。
第一方面,本发明实施案例提供了一种收藏处理的方法,其特征在于,应用于电子设备中的第一应用;所述电子设备当前显示第一界面,所述第一界面为第二应用的显示界面;所述方法包括:检测针对所述第一界面上的预设操作;所述预设操作包括双击操作、触碰预设控件操作和在所述第一界面上绘制特殊图案操作中的一种或多种;当检测到所述预设操作,获取所述第一界面对应的第一信息,根据所述第一信息确定所述第一界面的内容的收藏标签;所述第一信息包括所述第一界面的内容信息、原始标题、内容页截图、收藏时间戳、访问次数、所述第二应用的应用包名和所述第一界面的内容的预制专用kit中的一种或多种;根据所述收藏标签将所述第一界面的内容收藏至所述第一应用中。
在本发明实施例中,当用户在电子设备上操作第二应用且当前显示在第一界面时,若用 户需要针对该界面上的内容或对应的服务进行收藏时,可通过执行针对该界面的预设操作,将该界面上的内容或对应的服务收藏至本申请中统一的收藏应用即第一应用中,以便于用户后续需要再次打开该内容或对应的服务时,无需再打开第二应用,尤其是当有多个第二应用的收藏内容时,则可以仅通过打开第一应用获得多个第二应用的收藏内容。具体地,电子设备通过第一应用检测是否接收到预设操作,若接收到,则通过第一应用获取当前界面(如第一界面)的内容相关信息,并根据所得到的内容相关信息确定该待收藏内容的收藏标签,然后在第一应用中生成该收藏标签并且将待收藏内容收藏至该标签下。可选的,电子设备通过第一应用根据得到的内容相关信息可对待收藏内容进行分类,通过待收藏内容所属的分类确定收藏标签。通过实施本发明实施例的方法,电子设备可将多个应用所提供的内容收藏在第一应用中,避免了用户只能在一个应用中收藏当前应用所提供的内容,解决了在安装多个同类型应用的情况下,如需再次查找收藏内容用户难以快速找到所收藏内容的应用入口的问题,从而实现跨应用收藏差异化内容并简化用户对内容收藏的操作,更加有效地提高了用户获取信息的效率和用户体验。
在一种可能的实现方式中,所述根据所述第一信息确定所述第一界面的内容的收藏标签,包括:将所述第一信息与云端数据进行比较,生成分类指标项集合,所述云端数据库包括多种应用的应用包名、多种应用内容的与预设关键字、多种应用提供的内容信息、多种应用的分类标签、多个用户的应用内容分类结果和用户数据中的一种或多种,所述分类指标项集合中包括N个分类指标项;根据预设标签集合中的M个预设标签的评分模型,对所述M个预设标签中的每一个预设标签对应的所述N个分类指标项进行评分;对所述M个预设标签中的每一个预设标签对应的所述N个分类指标项的评分进行加权,分别得到所述M个预设标签的综合分数;将所述M个预设标签的综合分数中最高的预设标签确定为所述第一界面的内容的收藏标签。
在本发明实施例中,当电子设备通过第一应用获取到待收藏内容(如第二应用显示的第一界面的内容)的内容相关信息后,第一应用可将与内容相关信息中的不同信息分别与云端数据库中的信息进行比较,得到多个分类指标项(如应用分类与预设标签的相关程度指标项等),生成分类指标项集合。接下来,第一应用会提前预设多个可选的预设标签(如资讯类、购物类等),然后根据每一个预设标签的评分模型对分类指标项集合中的多个分类项指标项分别进行评分,然后将评分分数进行加权得到该预设标签的综合分数,如果有M个预设标签,则最终会得到M个预设标签的综合分数,然后通过比较这M个预设标签的综合分数,得到分数最高的预设标签,将该预设标签确定为收藏标签。通过实施本发明实施例的方法,可将待收藏内容进行一个更加精准地分类,从而得到一个更加准确的收藏标签,根据该收藏标签将待收藏内容收藏至第一应用中,可让用户更加快速且准确的找到收藏内容。
在一种可能是实现方式中,若所述第一信息包括所述第二应用的应用包名,所述云端数据库包括多种应用的应用包名;所述将所述第一信息与云端数据进行比较,生成分类指标项集合,包括:将所述第二应用的应用包名与所述云端数据库中多种应用的应用包名进行比较,得到所述第二应用的第一分类指标项,所述第一分类指标项为所述第二应用的应用分类与预设标签的相关程度;将所述第一分类指标项添加到所述分类指标项集合中。
在本发明实施例中,当电子设备通过第一应用获取到第二应用的应用包名后,可将该应用包名与云端数据库中的多个应用包名(如应用商店中的多个应用的应用包名等)进行比较,得到待收藏内容(如第二应用的第一界面的内容)与预设标签的相关程度的分类指标项,例如,要收藏网易云音乐应用所提供的播放一首叫“Supermarket flowers”歌曲的界面的内容,可 获取网易云音乐的应用包名,然后与应用商店中的多个应用包名进行比较,可得到网易云音乐应用的应用分类,从而得到网易云音乐应用的应用分类与预设标签的相关程度,并且该应用分类与预设标签的相关程度可作为分类指标项集合中的分类指标项,可在确定待收藏内容的收藏标签时得到一个更加准确的收藏标签。
在一种可能的实现方式中,若所述第一信息包括所述第一界面的内容信息和所述第一界面的内容页截图,所述云端数据库包括多种应用提供的内容信息,所述将所述第一信息与云端数据进行比较,生成分类信息集合,包括:根据所述第一界面的内容信息识别所述第一界面上不同信息的信息格式,并根据所述信息格式以及将所述第一界面的所述内容页截图与所述云端数据库中的多种应用提供的内容信息进行AI识别,得到所述第一界面的第二分类指标项,所述第二分类指标项为所述第一界面上与预设标签相关的信息的信息量比重,将所述第二分类指标项添加到所述分类指标项集合中。
在本发明实施例中,当电子设备通过第一应用获取到待收藏内容(如第二应用显示的第一界面的内容)显示界面上的内容信息和内容页截图后,可识别该界面上的内容信息中不同信息的信息格式(如文字、音乐、跳转网页、快应用等),并将待收藏内容界面上的内容页截图与云端数据库中的多种应用提供的内容信息进行AI识别,得到不同格式的信息在待收藏内容界面上的信息量占比。例如要收藏网易云音乐应用所提供的播放一首叫“Supermarket flowers”歌曲的界面的内容,可获取网易云音乐的内容信息和内容页截图,首先识别该界面上的信息格式,如该界面上有音乐、文字格式信息,然后将该内容页截图与云端数据库进行AI识别,可得到该界面上音乐、文字等格式信息分别占整个界面信息的信息量比重,如音乐格式信息占比75%,文字格式信息占比25%,从而该界面上不同格式信息分别占整个界面信息的信息量比重可作为分类指标项集合中的分类指标项,在确定待收藏内容的收藏标签时得到一个更加准确的收藏标签。
在一种可能的实现方式中,若所述第一信息包括所述第一界面的原始标题;所述云端数据库包括多种应用内容的特殊关键字;所述将所述第一信息与云端数据进行比较,生成分类信息集合,包括:识别所述第一界面的所述原始标题中的关键字,将所述关键字与所述云端数据库中的多种应用内容的预设关键字进行比较,得到所述第一界面的第三分类指标项,所述第三分类指标项为所述第一界面的内容的关键字与预设标签的相关程度,将所述第三分类指标项添加到所述分类指标项集合中。
在本发明实施例中,当电子设备通过第一应用获取到待收藏内容(如第二应用显示的第一界面的内容)界面上的原始标题后,第一应用识别该原始标题上的关键字,得到待收藏内容界面上内容的关键字(如购买、CCTV、第X季第Y集等),然后将这些关键字与云端数据库中的多种应用内容的预设关键字进行比较,从而所得到待收藏内容界面上内容的关键字与预设标签的相关程度,该内容的关键字与预设标签的相关程度可作分类指标项集合中的分类指标项,在确定待收藏内容的收藏标签时得到一个更加准确的收藏标签。
在一种可能的实现方式中,若所述第一信息包括所述第一界面的收藏时间戳;所述根据所述第一信息确定所述第一界面的内容的收藏标签,包括:根据所述第一界面上的所述收藏时间戳的时间大小顺序,确定收藏标签。
在本发明实施例中,在电子设备通过第一应用接收到收藏待收藏内容(如第二应用显示的第一界面的内容)的预设操作后,获取待收藏内容界面上的相关信息,若在这些相关信息中包括收藏时间戳(接收到收藏相关内容的预设操作的时间),第一应用可根据收藏时间戳的时间顺序,将收藏时间戳作为收藏标签,然后根据收藏时间戳将待收藏内容收藏至第一应用 中,从而用户可在第一应用中根据收藏时间戳的时间顺序查看到所收藏的内容。
在一种可能的实现方式中,若所述第一信息包括所述第一界面的访问次数;所述根据所述第一信息确定所述第一界面的内容的收藏标签,包括:根据对所述第一界面的所述访问次数的多少,判断用户喜爱程度,确定所述收藏标签。
在本发明实施例中,在电子设备通过第一应用接收到收藏待收藏内容(如第二应用显示的第一界面的内容)的预设操作后,获取待收藏内容显示界面上的相关信息,若在这些相关信息中包括用户对该界面的访问次数,第一应用可根据用户对该界面的访问次数,判断用户对该界面所显示的内容的喜爱程度,然后将用户对该界面的喜爱程度顺序确定收藏标签。然后将待收藏内容收藏在该收藏标签下,用户可在第一应用中根据对该界面的内容的喜爱程度顺序查看到所收藏的内容。
在一种可能的实现方式中,若所述第一信息包括所述第一界面的内容的预制专用kit;所述根据所述第一信息确定所述第一界面的内容的收藏标签,包括:根据所述第一界面的内容的预制专用kit,获取所述第一界面的内容的属性信息,将所述第一界面的内容的属性信息与所述预制专用kit的模板中分类定义进行比较,确定所述第一界面的内容的所述收藏标签。
在本发明实施例中,在电子设备通过第一应用接收到收藏待收藏内容(如第二应用显示的第一界面的内容)的预设操作后,获取待收藏内容界面上的相关信息,若在这些相关信息中包括该界面内容的预制专用kit,第一应用可自动获取该界面内容的属性信息(如内容摘要,内容的类型等),然后将该界面内容的属性信息与预制专用kit的模板中的分类定义进行比较,将该界面内容自动进行分类,得到收藏标签(如新闻、购物、视频等),然后将待收藏内容收藏在该收藏标签下,这样能够快速准确地得到待收藏内容的收藏标签,并且用户可在第一应用中根据收藏标签查看到所收藏的内容。
在一种可能的实现方式中,所述方法还包括:将收藏在所述第一应用中的所述第一界面的内容,通过登录第一账号的方式同步至所述云端数据库,所述第一账号为所述第一应用的登录账号。
在本发明实施例中,在电子设备的第一应用中,可通过登录第一应用对应的账号,将收藏在第一应用中的收藏内容以及对应的收藏标签同步至云端数据库中。可在其他电子设备的第一应用上登录相同的账号,并且在登录账号后可查看在其他电子设备的第一应用中收藏的收藏内容以及对应的收藏标签,从而实现多设备间收藏内容及对应的收藏标签的共享。
在一种可能的实现方式中,所述方法还包括:所述电子设备显示第二界面,所述第二界面为所述第一应用的显示界面,接收作用与所述第二界面的第一操作,重新打开所述第一界面的内容,所述第一操作包括触碰所述收藏标签下的所述第一界面的内容。
在本发明实施例中,在进入第一应用后,电子设备显示第一应用的显示界面,在该界面上可显示收藏标签(如购物、视频等)或打开收藏内容的提示(如收藏内容截图等)。电子设备在接收到重新打开收藏内容的操作后,会重新打开收藏在收藏标签下的收藏内容并显示收藏内容的显示界面。
在一种可能的实现方式中,若所述第一界面的内容包括所述第二应用的应用名称和跳转链接;所述重新打开所述第一界面的内容,包括:根据所述第二应用的所述应用名称,判断是否已安装与所述第二应用的所述应用名称相同的应用,若是,则跳转至与所述第二应用的所述应用名称相同的应用中,并根据所述第一界面的内容中的所述跳转链接显示所述第一界面。若否,则通过浏览器打开所述第一界面的内容中的所述跳转链接显示所述第一界面。
在本发明实施例中,如果收藏内容中包括提供该内容应用的应用名称和跳转到该收藏内 容对应显示界面的跳转链接时,首先第一应用可根据应用名称判断,在该电子设备上是否已经安装应用名称相同的应用,如果在该电子设备上已安装对应的应用则会根据跳转链接,跳转到该应用中并根据跳转链接显示收藏内容的显示界面。但若该电子设备上没有安装应用名称相同的应用,则可在浏览器中通过跳转链接显示收藏内容的显示界面。从而实现收藏内容的快速重新打开。
在一种可能的实现方式中,若所述第一界面的内容包括所述第一界面的网页快照;所述重新打开所述第一界面的内容,包括:通过打开收藏在所述第一应用中的所述第一界面的内容中的所述网页快照显示所述第一界面。
在本发明实施例中,如果收藏内容包括对应提供该内容的网页快照,则当电子设备通过第一应用在接收到重新打开收藏内容的操作后,直接通过打开网页快照的方式,重新打开收藏内容的显示界面。
在一种可能的实现方式中,所述重新打开所述第一界面的内容之后,所述方法还包括:若收藏信息发生改变,则更新所述第一应用中的信息和所述云端数据中的信息;所述收藏信息包括所述收藏时间戳、所述第一界面的内容和所述收藏标签中的一个或多个。
在本发明实施例中,在重新打开收藏在第一应用中的收藏内容所对应的显示界面后,若该显示界面上的一些内容发生了改变则电子设备会更新第一应用中所收藏的收藏内容信息和收藏标签并同时将改动的信息同步至云端数据库。
第二方面,本申请提供了一种收藏处理装置,其特征在于,应用于电子设备,包括:
第一显示单元,用于所述电子设备显示第一界面;所述第一界面为第二应用的显示界面;第一接收单元,用于所述电子设备中的第一应用检测针对所述第一界面上的预设操作;所述预设操作包括双击操作、触碰预设控件操作和在所述第一界面上绘制特殊图案操作中的一种或多种;第一处理单元,用于所述第一应用获取所述第一界面对应的第一信息,根据所述第一信息确定所述第一界面的内容的收藏标签;所述第一信息包括所述第一界面的内容信息、原始标题、内容页截图、收藏时间戳、访问次数、所述第二应用的应用包名和所述第一界面的内容的预制专用kit中的一种或多种;第一收藏单元,用于所述第一应用根据所述收藏标签将所述第一界面的内容收藏至所述第一应用中。
在一种可能的实现方式中,所述第一处理单元,具体用于:所述第一应用将所述第一信息与云端数据进行比较,生成分类指标项集合;所述云端数据库包括多种应用的应用包名、多种应用内容的预设关键字、多种应用提供的内容信息、多种应用的分类标签、多个用户的应用内容分类结果和用户数据中的一种或多种;所述分类指标项集合中包括N个分类指标项;根据预设标签集合中的M个预设标签的评分模型,对所述M个预设标签中的每一个预设标签对应的所述N个分类指标项进行评分;对所述M个预设标签中的每一个预设标签对应的所述N个分类指标项的评分进行加权,分别得到所述M个预设标签的综合分数;将所述M个预设标签的综合分数中最高的预设标签确定为所述第一界面的内容的收藏标签。
在一种可能的实现方式中,若所述第一信息包括所述第二应用的应用包名,所述云端数据库包括多种应用的应用包名;所述第一处理单元,具体用于:所述第一应用将所述第二应用的应用包名与所述云端数据库中多种应用的应用包名进行比较,得到所述第二应用的第一分类指标项;所述第一分类指标项为所述第二应用的应用分类与预设标签的相关程度;将所述第一分类指标项添加到所述分类指标项集合中。
在一种可能的实现方式中,若所述第一信息包括所述第一界面的内容信息和所述第一界 面的内容页截图;若所述云端数据库包括多种应用提供的内容信息;所述第一处理单元,具体用于:所述第一应用根据所述第一界面的内容信息识别所述第一界面上不同信息的信息格式,并根据所述信息格式以及将所述第一界面的所述内容页截图与所述云端数据库中的多种应用提供的内容信息进行AI识别,得到所述第一界面的第二分类指标项;所述第二分类指标项为所述第一界面上与预设标签相关的信息的信息量比重;将所述第二分类指标项添加到所述分类指标项集合中。
在一种可能的实现方式中,若所述第一信息包括所述第一界面的原始标题;所述云端数据库包括多种应用内容的预设关键字;所述第一处理单元,具体用于:所述第一应用识别所述第一界面的所述原始标题中的关键字,将所述关键字与所述云端数据库中的多种应用内容的预设关键字进行比较,得到所述第一界面的第三分类指标项;所述第三分类指标项为所述第一界面的内容的关键字与预设标签的相关程度;将所述第三分类指标项添加到所述分类指标项集合中。
在一种可能的实现方式中,若所述第一信息包括所述第一界面的收藏时间戳;所述第一处理单元,具体用于:所述第一应用根据所述第一界面上的所述收藏时间戳的时间大小顺序,确定所述收藏标签。
在一种可能的实现方式中,所述第一信息包括所述第一界面的访问次数;所述第一处理单元,具体用于:所述第一应用根据对所述第一界面的所述访问次数的多少,确定所述收藏标签。
在一种可能的实现方式中,所述第一信息包括所述第一界面的内容的预制专用kit;所述第一处理单元,具体用于:所述第一应用根据所述第一界面的内容的预制专用kit,获取所述第一界面的内容的属性信息;将所述第一界面的内容的属性信息与所述预制专用kit的模板中分类定义进行比较,确定所述第一界面的内容的收藏标签。
在一种可能的实现方式中,所述设备还包括:第一同步单元,用于所述第一应用将收藏在所述第一应用中的所述第一界面的内容,通过登录第一账号的方式同步至所述云端数据库;所述第一账号为所述第一应用的登录账号。
在一种可能的实现方式中,所述设备还包括:第二显示单元,用于所述电子设备显示第二界面;所述第二界面为所述第一应用的显示界面;第二处理单元,用于所述第一应用接收作用与所述第二界面的第一操作,重新打开所述第一界面的内容;所述第一操作包括触碰所述收藏标签下的所述第一界面的内容。
在一种可能的实现方式中,若所述第一界面的内容包括所述第二应用的应用名称和跳转链接;所述第二处理单元,具体用于:所述第一应用根据所述第二应用的所述应用名称,判断是否已安装与所述第二应用的所述应用名称相同的应用;若是,则跳转至与所述第二应用的所述应用名称相同的应用中,并根据所述第一界面的内容中的所述跳转链接显示所述第一界面;若否,则通过浏览器打开所述第一界面的内容中的所述跳转链接显示所述第一界面。
在一种可能的实现方式中,若所述第一界面的内容包括所述第一界面的网页快照;所述第二处理单元,具体用于:所述第一应用通过打开收藏在所述第一应用中的所述第一界面的内容中的所述网页快照显示所述第一界面。
在一种可能的实现方式中,所述重新打开所述第一界面的内容之后,所述设备还包括:第二同步单元,用于若收藏信息发生改变,则更新所述第一应用中的信息和所述云端数据中的信息;所述收藏信息包括所述收藏时间戳、所述第一界面的内容和所述收藏标签中的一个或多个。
第三方面,本发明实施例提供一种电子设备,该电子设备中包括处理器,处理器被配置为支持该电子设备实现提供的收藏处理方法中相应的功能。该电子设备还可以包括存储器,存储器用于与处理器耦合,其保存该电子设备必要的程序指令和数据。该电子设备还可以包括通信接口,用于该电子设备与其他设备或通信网络通信。
第四方面,本申请提供了一种芯片系统,该芯片系统包括处理器,用于支持收藏处理设备实现上述所涉及的功能,例如,生成或处理上述收藏处理方法中所涉及的信息。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存数据发送设备必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。
第五方面,本申请提供一种计算机存储介质,所述计算机存储介质存储有计算机程序,该计算机程序被处理器执行时实现上述任意一项所述的收藏处理方法流程。
第六方面,本发明实施例提供了一种计算机程序,该计算机程序包括指令,当该计算机程序被计算机执行时,使得计算机可以执行上述的收藏处理设备中的处理器所执行的流程。
图1A是本发明实施例提供的电子设备100的结构示意图示意图。
图1B是本发明实施例提供的电子设备100的软件结构框图。
图1C是本发明实施例提供的一种收藏处理的系统架构示意图。
图2是本发明实施例提供的一种收藏处理方法的流程示意图。
图3A是本发明实施例提供的视频应用界面示意图。
图3B是本发明实施例提供的购物应用界面示意图。
图3C是本发明实施例提供的音乐应用界面示意图。
图4A是本发明实施例提供的预设操作示意图。
图4B是本发明实施例提供的电子设备上应用展示示意图。
图5是本发明实施例提供的收藏标签示意图。
图6是本发明实施例提供的第一应用收藏界面示意图。
图7是本发明实施例提供的一种收藏处理方法的详细流程示意图。
图8A是本发明实施例提供的今日头条应用提供的视频内容界面示意图。
图8B是本发明实施例提供的今日头条应用提供的篮球比赛新闻浏览界面示意图。
图9是本发明实施例提供的三个待收藏内容的多维度收藏示意图。
图10是本发明实施例提供的收藏内容上传云端数据库示意图。
图11是本发明实施例提供的一种收藏处理设备的结构示意图。
本申请以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括复数表达形式,除非其上下文 中明确地有相反指示。还应当理解,本申请中使用的术语“和/或”是指并包含一个或多个所列出项目的任何或所有可能组合。
以下介绍了电子设备、用于这样的电子设备的用户界面、和用于使用这样的电子设备的实施例。在一些实施例中,电子设备可以是还包含其他功能诸如个人数字助理和/或音乐播放器功能的便携式电子设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴电子设备(如智能手表)等。便携式电子设备的示例性实施例包括但不限于搭载
或者其他操作系统的便携式电子设备。上述便携式电子设备也可以是其他便携式电子设备,诸如具有触敏表面或触控面板的膝上型计算机(Laptop)等。还应当理解的是,在其他一些实施例中,上述电子设备也可以不是便携式电子设备,而是具有触敏表面或触控面板的台式计算机。
本申请的说明书和权利要求书及附图中的术语“用户界面(user interface,UI)”,是应用程序或操作系统与用户之间进行交互和信息交换的介质接口,它实现信息的内部形式与用户可以接受形式之间的转换。应用程序的用户界面是通过java、可扩展标记语言(extensible markup language,XML)等特定计算机语言编写的源代码,界面源代码在终端设备上经过解析,渲染,最终呈现为用户可以识别的内容,比如图片、文字、按钮等控件。控件(control)也称为部件(widget),是用户界面的基本元素,典型的控件有工具栏(toolbar)、菜单栏(menu bar)、文本框(text box)、按钮(button)、滚动条(scrollbar)、图片和文本。界面中的控件的属性和内容是通过标签或者节点来定义的,比如XML通过<Textview>、<ImgView>、<VideoView>等节点来规定界面所包含的控件。一个节点对应界面中一个控件或属性,节点经过解析和渲染之后呈现为用户可视的内容。此外,很多应用程序,比如混合应用(hybrid application)的界面中通常还包含有网页。网页,也称为页面,可以理解为内嵌在应用程序界面中的一个特殊的控件,网页是通过特定计算机语言编写的源代码,例如超文本标记语言(hyper text markup language,GTML),层叠样式表(cascading style sheets,CSS),java脚本(JavaScript,JS)等,网页源代码可以由浏览器或与浏览器功能类似的网页显示组件加载和显示为用户可识别的内容。网页所包含的具体内容也是通过网页源代码中的标签或者节点来定义的,比如GTML通过<p>、<img>、<video>、<canvas>来定义网页的元素和属性。
用户界面常用的表现形式是图形用户界面(graphic user interface,GUI),是指采用图形方式显示的与计算机操作相关的用户界面。它可以是在电子设备的显示屏中显示的一个图标、窗口、控件等界面元素,其中控件可以包括图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、Widget等可视的界面元素。
首先介绍本申请以下实施例中提供的示例性电子设备100。
图1A示出了电子设备100的结构示意图。
电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,3D摄像模组193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器 180M等。
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),中央处理器(central processing unit,CPU),图形处理器(graphics processing unit,GPU),神经网络处理器(neural-network processing unit,NPU),调制解调处理器,图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。在一些实施例中,电子设备100也可以包括一个或多个处理器110。
其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了电子设备100的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,3D摄像模组193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向 无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,3D摄像模组193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和3D摄像模组193通过CSI接口通信,实现电子设备100的摄像功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与3D摄像模组193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,3D摄像模组193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号 调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。示例性地,无线通信模块160可以包括蓝牙模块、Wi-Fi模块等。
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
电子设备100通过GPU,显示屏194,以及应用处理器等可以实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。
电子设备100可以通过3D摄像模组193,ISP,视频编解码器,GPU,显示屏194以及应用处理器AP、神经网络处理器NPU等实现摄像功能。
3D摄像模组193可用于采集拍摄对象的彩色图像数据以及深度数据。ISP可用于处理3D摄像模组193采集的彩色图像数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄 场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在3D摄像模组193中。
在一些实施例中,3D摄像模组193可以由彩色摄像模组和3D感测模组组成。
在一些实施例中,彩色摄像模组的摄像头的感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。
在一些实施例中,3D感测模组可以是(time of flight,TOF)3D感测模块或结构光(structured light)3D感测模块。其中,结构光3D感测是一种主动式深度感测技术,结构光3D感测模组的基本零组件可包括红外线(Infrared)发射器、IR相机模等。结构光3D感测模组的工作原理是先对被拍摄物体发射特定图案的光斑(pattern),再接收该物体表面上的光斑图案编码(light coding),进而比对与原始投射光斑的异同,并利用三角原理计算出物体的三维坐标。该三维坐标中就包括电子设备100距离被拍摄物体的距离。其中,TOF 3D感测也是主动式深度感测技术,TOF 3D感测模组的基本组件可包括红外线(Infrared)发射器、IR相机模等。TOF 3D感测模组的工作原理是通过红外线折返的时间去计算TOF 3D感测模组跟被拍摄物体之间的距离(即深度),以得到3D景深图。
结构光3D感测模组还可应用于人脸识别、体感游戏机、工业用机器视觉检测等领域。TOF 3D感测模组还可应用于游戏机、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)等领域。
在另一些实施例中,3D摄像模组193还可以由两个或更多个摄像头构成。这两个或更多个摄像头可包括彩色摄像头,彩色摄像头可用于采集被拍摄物体的彩色图像数据。这两个或更多个摄像头可采用立体视觉(stereo vision)技术来采集被拍摄物体的深度数据。立体视觉技术是基于人眼视差的原理,在自然光源下,透过两个或两个以上的摄像头从不同的角度对同一物体拍摄影像,再进行三角测量法等运算来得到电子设备100与被拍摄物之间的距离信息,即深度信息。
在一些实施例中,电子设备100可以包括1个或N个3D摄像模组193,N为大于1的正整数。具体的,电子设备100可以包括1个前置3D摄像模组193以及1个后置3D摄像模组193。其中,前置3D摄像模组193通常可用于采集面对显示屏194的拍摄者自己的彩色图像数据以及深度数据,后置3D摄像模组可用于采集拍摄者所面对的拍摄对象(如人物、风景等)的彩色图像数据以及深度数据。
在一些实施例中,处理器110中的CPU或GPU或NPU可以对3D摄像模组193所采集的彩色图像数据和深度数据进行处理。在一些实施例中,NPU可以通过骨骼点识别技术所基于的神经网络算法,例如卷积神经网络算法(CNN),来识别3D摄像模组193(具体是彩色摄像模组)所采集的彩色图像数据,以确定被拍摄人物的骨骼点。CPU或GPU也可来运行神经网络算法以实现根据彩色图像数据确定被拍摄人物的骨骼点。在一些实施例中,CPU或GPU或NPU还可用于根据3D摄像模组193(具体是3D感测模组)所采集的深度数据和已识别出的骨骼点来确认被拍摄人物的身材(如身体比例、骨骼点之间的身体部位的胖瘦情况),并可以进一步确定针对该被拍摄人物的身体美化参数,最终根据该身体美化参数对被拍摄人物的拍摄图像进行处理,以使得该拍摄图像中该被拍摄人物的体型被美化。后续实施例中会详细介绍如何基于3D摄像模组193所采集的彩色图像数据和深度数据对被拍摄人物的图像进行美体处理,这里先不赘述。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)-1,MPEG-2,MPEG-3,MPEG-4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐、照片、视频等数据保存在外部存储卡中。
内部存储器121可以用于存储一个或多个计算机程序,该一个或多个计算机程序包括指令。处理器110可以通过运行存储在内部存储器121的上述指令,从而使得电子设备100执行本申请一些实施例中所提供的电子设备的拍照预览方法,以及各种功能应用以及数据处理等。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统;该存储程序区还可以存储一个或多个应用程序(比如图库、联系人等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如照片,联系人等)。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感 器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142 的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也可称触控面板或触敏表面。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。
图1A示例性所示的电子设备100可以通过显示屏194显示以下各个实施例中所描述的各个用户界面。电子设备100可以通过触摸传感器180K在各个用户界面中检测触控操作,例如在各个用户界面中的点击操作(如在图标上的触摸操作、双击操作),又例如在各个用户界面中的向上或向下的滑动操作,或执行画圆圈手势的操作,等等。在一些实施例中,电子设备100可以通过陀螺仪传感器180B、加速度传感器180E等检测用户手持电子设备100执行的运动手势,例如晃动电子设备。在一些实施例中,电子设备100可以通过3D摄像模组193(如3D摄像头、深度摄像头)检测非触控的手势操作。
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本发明实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。
图1B是本发明实施例的电子设备100的软件结构框图。
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,Android运行时(Android runtime)和系统库,以及内核层。
应用程序层可以包括一系列应用程序包。
如图1B所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图1B所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
Android Runtime包括核心库和虚拟机。Android runtime负责Android系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是Android的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,G.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传 感器驱动。
图1B所示的软件系统涉及到使用分享能力的应用呈现(如图库,文件管理器),提供分享能力的即时分享模块,提供打印能力的打印服务(print service)和打印后台服务(print spooler),以及应用框架层提供打印框架、WLAN服务、蓝牙服务,以及内核和底层提供WLAN蓝牙能力和基本通信协议。
以下,对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。
(1)超文本5.0(HyperText Markup Language 5,HTML5)是HTML最新的修订版本,由万维网联盟(W3C)于2014年10月完成标准制定。目标是取代1999年所制定的HTML 4.01和XHTML 1.0标准,以期能在互联网应用迅速发展的时候,使网络标准达到符合当代的网络需求。广义论及HTML5时,实际指的是包括HTML、CSS和JavaScript在内的一套技术组合。它希望能够减少网页浏览器对于需要插件的丰富性网络应用服务(Plug-in-Based Rich Internet Application,RIA),例如:Adobe Flash、Microsoft Silverlight与Oracle JavaFX的需求,并且提供更多能有效加强网络应用的标准集。
(2)云存储(Cloud Storage),是一种网上在线存储的模式,即把数据存放在通常由第三方托管的多台虚拟服务器,而非专属的服务器上。数据中心营运商根据客户的需求,在后端准备存储虚拟化的资源,并将其以存储资源池(storage pool)的方式提供,客户便可自行使用此存储资源池来存放文件或对象。实际上,这些资源可能被分布在众多的服务器主机上。云存储这项服务乃透过Web服务应用程序接口(API),或是透过Web化的用户界面来访问。
(3)云备份,就是把个人数据的通讯录、短信、图片等资料通过云存储的方式备份在网络上面。云备份的特点:备份数据更加安全;支持多平台管理;数据传输加密更放心。且云备份不受空间和设备限制,也不用数据线,也不需要备份到存储卡上还有丢失的风险。
为了便于理解本发明实施例,以下示例性列举本申请中收藏处理方法所应用的场景。可以包括如下两个场景:
场景一:将手机应用提供的内容或服务进行收藏处理的场景。在该场景中,手机上安装多个第二应用(例如为手机本地应用或第三方应用等),在这些应用中可包括同类型的应用,也可包括不同类型的应用。不同的应用所能提供给用户的内容或服务有所不同,如QQ音乐和网易云音乐,这两个应用主要为用户提供音乐的内容或服务,但由于这两个应用的乐库不同所能提供的音乐曲目存在差异。又如京东可为用户提供商品内容展示和购物服务,抖音可为用户提供短视频内容或服务等。当用户在这些应用中享受应用所提供的内容或服务时,若用户想要将不同应用中内容或服务进行收藏,方便再次查找相同的内容或服务。使用本申请中的收藏处理方法,实现将多个第二应用所提供的内容或服务收藏至本申请中的第一应用,且可在第一应用中查看所有已收藏内容或服务,从而方便再次查找已收藏的第二应用提供的内容或服务。除此之外还可将收藏在第一应用中的内容或服务上传至云端数据库,在不同的设备上打开所收藏的内容或服务,更加有效地提高了用户获取信息的效率。
场景二:将已下载到电子设备本地的内容进行收藏处理。在该场景中,可在电子设备上下载多种内容并储存在本地,如文本内容、音视频内容和图片内容等。在信息量剧增的当今,用户将很多的音视频、图片、文本等个人信息内容存储在电子设备本地,且用户对即时查看这些个人信息内容的需求越来越高。面对繁多的个人信息内容,用户需要记住所有内容的存储路径,但使用本申请中的收藏处理方法,可根据这些存储在电子设备本地的个人信息内容 (对应本发明实施例中的第二应用提供的内容)确定收藏标签,通过电子设备上的第一应用把所有本地的个人信息内容收藏在对应的收藏标签下,并且可将收藏标签下的个人信息内容上传至云端数据库进行云端同步。当再次查看个人信息内容时,可在该电子设备中的收藏标签下进行查看,也可在其他设备上登录个人账号(如登录华为账号)查看个人信息内容,实现将个人信息内容的归一化处理,显著提升用户管理信息以及信息共享效率。
可以理解的是,上述两种应用场景的只是本发明实施例中的几种示例性的实施方式,本发明实施例中的应用场景包括但不仅限于以上应用场景。
下面结合附图对本申请的实施例进行描述。
基于上述提出的技术问题以及本申请中对应的应用场景,也为了便于理解本发明实施例,下面先对本发明实施例所基于的系统架构进行描述。请参考见图1C,图1C是本发明实施例提供的一种收藏处理的系统架构示意图,该系统用于解决对多个不同应用的内容进行收藏时收藏效率低且用户体验效果差的问题。该系统架构中可以包括多个电子设备201(图1C中分别以平板、电脑智慧屏和手机为例)和云端数据库202。其中,所述多个电子设备201中的任意一个电子设备201都可为但不限于上述图1A中所述的电子设备100,其中,
电子设备201,电子设备201可以为智慧屏、个人电脑、平板电脑、智能手机等设备。例如,当电子设备201为智能手机,在该智能手机上可以下载多个第三方应用且智能手机本身也可自带多个本地应用;同时,智能手机具有独立的操作系统,可以通过移动通讯网络实现无线网络接入并可实现与云端数据库202建立连接,实现与云端数据库202进行数据传输,从而多个电子设备之间可进行数据共享。例如,某个智能手机可在第一应用中收藏多个第二应用所提供的内容,并且可以将收藏在第一应用中的收藏内容上传至云端数据库202,其他电子设备如平板在有查看权限(如登录第一账号的权限)的情况下也能查看到在智能手机的第一应用中收藏的多个第二应用所提供的内容,从而通过云端数据库202实现跨设备进行内容共享。
云端数据库202,在本申请中指被优化或部署到一个虚拟计算环境中的数据库,有可实现按需扩展、高可用性以及存储整合等优点,且具有数据备份、监控与消息通知等功能。例如,在云端数据库中可存储多种应用的应用包名、多种应用内容的预设关键字、多种应用提供的内容信息、多种应用的分类标签、多个用户的应用内容分类结果和用户数据的一种或多种。电子设备201可将收藏在第一应用中的收藏内容上传至云端数据库202从而实现云端同步,当其他电子设备有权限查看云端数据库202中的数据时,可从云端数据库202中获取存储在该数据库中的内容,并且若收藏在第一应用中的内容发生变化时,也可即时同步到云端数据库202更新云端数据库202中存储的内容。
可以理解的是,图1C中的一种收藏处理系统架构只是本申请实施例中的一种示例性的实施方式,本申请实施例中的文件传输系统架构包括但不仅限于以上系统架构。
下面对本发明实施例所基于的具体方法架构进行描述。参见图2,图2是本申请实施例中的一种收藏处理方法的流程示意图,下面将结合附图2并基于上述图1C中的收藏处理系统架构从电子设备和云端数据库的交互侧对本申请实施例中的收藏处理方法进行描述。需要说明的是,为了更详细的描述本申请实施例中的收藏处理方法,本申请在各个流程步骤中描述了相应的执行主体为电子设备,但不代表本申请实施例只能通过所描述的执行主体进行对应的方法流程。
步骤S201:电子设备显示第一界面。
具体地,所述第一界面为第二应用的显示界面。在电子设备上可安装多个本地应用和第三方应用,其中多个应用中可包括多个同类型的应用,也可包括多个不同类型的应用。所述第二应用为安装在电子设备中多个应用中的任意一个或多个应用。通过电子设备的显示屏194显示第二应用为用户提供的内容或服务的显示界面,即为第一界面。例如,如图3A、图3B和图3C所示,图3A为视频应用界面示意图,图3B为购物应用界面示意图,图3C为音乐应用界面示意图。在图3A中,电子设备100打开视频应用,在视频应用中观看“奇妙夜晚”的视频,此时第一界面为该视频播放的界面。在图3B中,电子设备100打开购物应用,在购物应用中搜索了一款电子手表,此时第一界面为了解该电子手表详细信息的界面。在图3C中,电子设备100打开音乐应用,在音乐应用中播放了一首“Supermarket flowers”的歌曲,此时第一界面为该音乐播放的界面。
步骤S202:电子设备通过第一应用检测作用于所述第一界面上的预设操作。
具体地,所述预设操作包括双击操作、触碰预设控件操作和在所述第一界面上绘制特殊图案操作中的一种或多种。需要说明的是,第一应用可为电子设备中的系统应用可也为通过第三方安装在电子设备上的应用。例如,如图4A所示,图4A为预设操作示意图,图中操作1用户可通过触摸传感器180K触碰虚拟预设控件操作,需要说明的是,虚拟预设控件可显示在多个第三方应用或本地应用的显示界面上,也可通过如图操作2在应用的显示界面上绘制特殊图案操作、操作3按压实体预设控件操作、操作4在应用的显示界面上双击屏幕操作等特殊动作中的一种预设操作或多种操作组合的预设操作,通知电子设备中的第一应用有待收藏内容需要进行处理。需要说明的是,用户可在多个不同的应用中对应用所提供的内容或服务进行收藏。例如,如图4B所示,图4B为电子设备上应用展示示意图,图中用户可在优酷、京东、今日头条等多个应用中对应用所提供的内容或服务进行收藏。
步骤S203:当检测到所述预设操作,电子设备通过第一应用获取所述第一界面对应的第一信息,根据所述第一信息确定所述第一界面的内容的收藏标签。
具体地,所述第一信息包括所述第一界面的内容信息、原始标题、内容页截图、收藏时间戳、网页快照、跳转链接和所述第二应用的应用包名中的一种或多种。当电子设备通过第一应用检测到针对第一界面上的预设操作后,就获取当前第一界面上的内容或服务的相关信息,根据这些相关信息确定第一界面上的内容或服务所对应的收藏标签。例如,用户在京东购物应用中需要收藏一个手表的购物界面,如图3B购物应用界面示意图所示,图中第一界面为手表的购物界面,第一应用会获取此时手表的购物界面上的内容信息(如手表、价格等信息)、原始标题(如京东强劲续航智能手表手环运动防水通话音乐)、内容页截图(如京东购物应用界面截图)、收藏时间戳(如6月15日21:30)、网页快照(如京东购物应用界面的网页快照)、跳转链接(如可跳转到该界面的相关链接)、京东购物应用的应用包名等信息中的一种或多种。然后根据所获取到的第一信息确定收藏标签,如图5所示,图5为收藏标签示意图,图中收藏标签可为应用的预设标签(如购物、视频等),可为收藏时间戳,可为用户对应用所提供的内容或服务的喜爱程度。例如第一界面的内容为手表的购物界面时,收藏标签可为“购物”。
步骤S204:电子设备根据所述收藏标签将所述第一界面的内容收藏至所述第一应用中。
具体地,根据步骤S203得到的收藏标签可将第一界面上的内容或服务收藏在第一应用中,方便用户再次查看第一界面上的内容或服务。例如,用户在京东购物应用中要收藏一款手表的购物界面,如图3B购物应用界面示意图所示,图中第一界面为手表的购物界面,若该手 表的购物界面的内容的收藏标签为“购物”,则根据“购物”的收藏标签将该手表的购物界面的内容收藏在第一应用中。如图6所示,图6为第一应用收藏界面示意图,图6中的(1)为第一应用收藏标签显示界面,图中有“购物”,“视频”,“资讯”三个收藏标签,将京东应用提供的手表购物界面收藏在“购物”标签下,用户点击“购物”,进入“购物”标签后,可查看所收藏的京东购物应用所提供的手表的购物界面。如图6中的(2)为“购物”标签下收藏内容显示界面,图中在该标签下收藏了两个内容,分别为在京东购物应用所提供的手表的购物界面和之前收藏的淘宝购物应用提供的手表的购物界面。
通过使用本发明实施例的方法,电子设备可将多个应用所提供的内容或服务收藏在第一应用中,避免了用户只能在一个应用中收藏当前应用提供的内容或服务且再次查找收藏内容时难以快速找到所收藏内容的应用入口,从而实现跨应用收藏不同应用所提供的内容或服务,更加有效地提高了用户获取信息的效率和用户体验效果。
下面对本发明实施例所基于的具体方法架构进行描述。参见图7,图7是本申请实施例中的一种收藏处理方法的详细流程示意图,下面将结合附图7并基于上述图1C中的收藏处理系统架构从电子设备和云端数据库的交互侧对本申请实施例中的收藏处理方法进行描述。需要说明的是,为了更详细的描述本申请实施例中的收藏处理方法,本申请在各个流程步骤中描述了相应的执行主体为电子设备,但不代表本申请实施例只能通过所描述的执行主体进行对应的方法流程。
步骤S701:电子设备显示第一界面。
具体地,所述第一界面为第二应用的显示界面。通过电子设备的显示屏194显示第二应用为用户提供的内容或服务的显示界面,即为第一界面。例如,如图8A所示,图8A为今日头条应用提供的视频内容界面示意图,在图8A中,电子设备100打开今日头条应用,观看“自然风光”的视频,此时第一界面为该视频播放的界面。
步骤S702:电子设备通过第一应用检测针对所述第一界面上的预设操作。
具体地,所述预设操作包括双击操作、触碰预设控件操作和在所述第一界面上绘制特殊图案操作中的一种或多种。例如,如图4A所示,图4A为预设操作示意图,图中操作1用户可通过触摸传感器180K触碰虚拟预设控件操作,需要说明的是,虚拟预设控件可显示在多个第三方应用或本地应用的显示界面上,也可通过如图操作2在应用的显示界面上绘制特殊图案操作、操作3按压实体预设控件操作、操作4在应用的显示界面上双击屏幕操作等特殊动作中的一种预设操作或多种操作组合的预设操作,通知第一应用有待收藏内容需要进行处理。需要说明的是,用户可在多个不同的应用中对应用所提供的内容或服务进行收藏。例如,如图4B所示,图4B为多个应用示意图,图中用户可在优酷、京东、今日头条等多个应用中对应用所提供的内容或服务进行收藏。
步骤S703:当检测到所述预设操作,电子设备通过第一应用获取所述第一界面对应的第一信息,根据所述第一信息确定所述第一界面的内容的收藏标签。
具体地,所述第一信息包括所述第一界面的内容信息、原始标题、内容页截图、收藏时间戳、访问次数、所述第二应用的应用包名和所述第一界面的内容的预制专用kit中的一种或多种。例如,用户在今日头条应用中要收藏一个视频的界面,如图8A为今日头条应用提供的视频内容界面示意图,图中第一界面为“自然风光”视频播放的界面,电子设备通过第一应用会获取此时视频播放的界面上的内容信息(如播放时长信等息)、原始标题(如自然风光视频)、内容页截图(如“自然风光”视频播放界面的截图)、收藏时间戳(如10月13日00:53)、 网页快照(如自然风光”视频播放界面的网页快照)、跳转链接(如可跳转到自然风光”视频播放界面的相关链接)、今日头条应用的应用包名等信息中的一种或多种。然后根据所获取到的相关信息确定收藏标签,并将该视频播放的界面收藏在第一应用中。
在一种可能的实现方式中,将所述第一信息与云端数据进行比较,生成分类指标项集合;所述云端数据库包括多种应用的应用包名、多种应用内容的预设关键字、多种应用提供的内容信息、多种应用的分类标签、多个用户的应用内容分类结果和用户数据中的一种或多种;所述分类指标项集合中包括N个分类指标项;根据预设标签集合中的M个预设标签的评分模型,对所述M个预设标签中的每一个预设标签对应的所述N个分类指标项进行评分;对所述M个预设标签中的每一个预设标签对应的所述N个分类指标项的评分进行加权,分别得到所述M个预设标签的综合分数,将所述M个预设标签的综合分数中最高的预设标签确定为所述第一界面的内容的收藏标签。具体地,当电子设备通过第一应用获取到待收藏内容(如第二应用显示的第一界面的内容)的内容相关信息后,可将与内容相关信息中的不同信息分别与云端数据库中的信息进行比较,得到多个分类指标项(如应用分类与预设标签的相关程度指标项等),生成分类指标项集合。接下来,第一应用中会提前预设多个可选的预设标签(如资讯类、购物类等),然后根据每一个预设标签的评分模型对分类指标项集合中的多个分类项指标项分别进行评分,然后将评分分数进行加权得到该预设标签的综合分数,如果有M个预设标签,则最终会得到M个预设标签的综合分数,然后通过比较这M个预设标签的综合分数,得到分数最高的预设标签,将该预设标签确定为收藏标签。通过实施本发明实施例的方法,可将待收藏内容进行一个更加精准地分类,从而得到一个更加准确的收藏标签,根据该收藏标签将待收藏内容收藏至第一应用中,可让用户更加快速且准确的找到收藏内容。例如,将要收藏如图8A所示的今日头条应用提供的“自然风光”视频播放界面,并结合表1预设收藏标签评分表进行说明,若第一应用提供的预设标签集合中可有“新闻”、“视频”、“购物”三个预设标签。可选的,分类指标项集合中有第一分类指标项、第二分类指标项、第三分类指标项,第一分类指标项为第二应用的应用分类与预设标签的相关程度,第二分类指标项为第一界面上与预设标签相关的信息的信息量比重,第三分类指标项为第一界面的内容的关键字与预设标签的相关程度。可选的,将第一分类指标项的加权系数设置为0.3,将第二类分类指标项的加权系数设置为0.4,将第三类指标项加权系数设置为0.3。根据“新闻”的评分模型分别对第一分指标项、第二分类指标项和第三分类指标项进行评分,分数分别为60、15、10,将分类指标项的分数进行加权得到“新闻”的综合得分为27分。根据“视频”的评分模型分别对第一分指标项、第二分类指标项和第三分类指标项进行评分,分数分别为38、80、85,将分类指标项的分数进行加权得到“视频”的综合得分为68.9分。根据“购物”的评分模型分别对第一分指标项、第二分类指标项和第三分类指标项进行评分,分数分别为2、5、5,将分类指标项的分数进行加权得到“视频”的综合得分为4.1分。可得到三个综合分数中“视频”的综合分数最高,可将“视频”确定为收藏标签,根据该收藏标签将今日头条应用提供的“自然风光”视频播放界面收藏在第一应用中。
表1预设收藏标签评分表
在一种可能的实现方式中,若所述第一信息包括所述第二应用的应用包名,所述云端数据库包括多种应用的应用包名;所述将所述第一信息与云端数据进行比较,生成分类指标项集合,包括:将所述第二应用的应用包名与所述云端数据库中多种应用的应用包名进行比较,得到所述第二应用的第一分类指标项;所述第一分类指标项为所述第二应用的应用分类与预设标签的相关程度;将所述第一分类指标项添加到所述分类指标项集合中。具体地,当电子设备通过第一应用获取到第二应用的应用包名后,可将该应用包名与云端数据库中的多个应用包名(如应用商店中的多个应用的应用包名等)进行比较,得到待收藏内容(如第二应用的第一界面的内容)与预设标签的相关程度的分类指标项,例如将要收藏如图8A所示的今日头条应用提供的“自然风光”视频播放界面,可获取今日头条的应用包名然后与应用商店中的多个应用包名进行比较,可得到今日头条的应用分类,从而可得出今日头条的应用分类与预设标签的相关程度。如今日头条主要为“新闻”类应用,则待收藏内容在与“新闻”预设标签相关的评分中得分较高。因此应用分类与预设标签的相关程度可作为分类指标项集合中的分类指标项,可在确定待收藏内容的界面的收藏标签时得到一个更加准确的收藏标签。
在一种可能的实现方式中,若所述第一信息包括所述第一界面的内容信息和所述第一界面的内容页截图;所述云端数据库包括多种应用提供的内容信息;所述将所述第一信息与云端数据进行比较,生成分类信息集合,包括:根据所述第一界面的内容信息识别所述第一界面上不同信息的信息格式,并根据所述信息格式以及将所述第一界面的所述内容页截图与所述云端数据库中的多种应用提供的内容信息进行AI识别,得到所述第一界面的第二分类指标项;所述第二分类指标项为所述第一界面上与预设标签相关的信息的信息量比重;将所述第二分类指标项添加到所述分类指标项集合中。具体地,当电子设备通过第一应用获取到待收藏内容(如第二应用显示的第一界面的内容)显示界面上的内容信息和内容页截图后,可识别该界面上的内容信息中不同信息的信息格式(如文字、音乐、跳转网页、快应用等),并将待收藏内容界面上的内容页截图与云端数据库中的多种应用提供的内容信息进行AI识别,得到不同格式的信息在待收藏内容界面上的信息量占比。例如,将要收藏如图8A所示的今日头条应用提供的“自然风光”视频播放界面,可获今日头条所提供的“自然风光”播放界面的内容信息和内容页截图,首先识别该界面上的信息格式,如当前该界面内容的有视频格式、文字格式。然后将该内容页截图与云端数据库中的应用内容进行AI识别,可得到该界面上视频、文字格式信息分别占整个页面信息的信息量比重,如视频占80%,文字占20%,则待收藏内容在“视频”预设标签相关的评分中得分较高,因此该界面上视频、文字格式信息分别占整个页面信息的信息量比重可作为分类指标项集合中的分类指标项,可在确定待收藏内容的收藏标签时得到一个更加准确的收藏标签。
在一种可能的实现方式中,若所述第一信息包括所述第一界面的原始标题;所述云端数据库包括多种应用内容的预设关键字;所述将所述第一信息与云端数据进行比较,生成分类信息集合,包括:识别所述第一界面的所述原始标题中的关键字,将所述关键字与所述云端 数据库中的多种应用内容的预设关键字进行比较,得到所述第一界面的第三分类指标项;所述第三分类指标项为所述第一界面的内容的关键字与预设标签的相关程度;将所述第三分类指标项添加到所述分类指标项集合中。具体地,当电子设备通过第一应用获取到待收藏内容(如第二应用显示的第一界面的内容)界面上的原始标题后,第一应用识别该原始标题上的关键字,得到待收藏内容界面上内容的关键字(如购买、CCTV、第X季第Y集等),然后将这些关键字与云端数据库中的多种应用内容的预设关键字进行比较,从而所得到待收藏内容界面上内容的关键字与预设标签的相关程度,该内容的关键字与预设标签的相关程度可作分类指标项集合中的分类指标项。如图8A所示的今日头条应用提供的“自然风光”视频播放界面上的有“自然风光视频”预设关键字,则待收藏内容在“视频”预设标签相关的评分中得分较高,可使得待收藏内容的收藏标签更加准确。
在一种可能的实现方式中,若所述第一信息包括所述第一界面的收藏时间戳;所述根据所述第一信息确定所述第一界面的内容的收藏标签,包括:根据所述第一界面上的所述收藏时间戳的时间大小顺序,确定收藏标签。具体地,在电子设备通过第一应用接收到收藏待收藏内容(如第二应用显示的第一界面的内容)的预设操作后,获取待收藏内容界面上的相关信息,若在这些相关信息中包括收藏时间戳(接收到收藏相关内容的预设操作的时间),第一应用可根据收藏时间戳的时间顺序,将收藏时间戳作为收藏标签,然后可根据收藏时间戳将待收藏内容收藏至第一应用中,从而用户可在第一应用中根据收藏时间戳的时间顺序查看到所收藏的内容。
在一种可能的实现方式中,若所述第一信息包括所述第一界面的访问次数;所述根据所述第一信息确定所述第一界面的内容的收藏标签,包括:根据对所述第一界面的所述访问次数的多少,确定所述收藏标签。具体地,在电子设备通过第一应用接收到收藏待收藏内容(如第二应用显示的第一界面的内容)的预设操作后,获取待收藏内容显示界面上的相关信息,若在这些相关信息中包括用户对该界面的访问次数,可根据用户对该界面的访问次数,判断用户对该界面所显示的内容的喜爱程度,然后将用户对该界面的喜爱程度顺序确定收藏标签。然后将待收藏内容收藏在该收藏标签下,用户可在第一应用中根据对该界面的内容的喜爱程度顺序查看到所收藏的内容。
在一种可能的实现方式中,若所述第一信息包括所述第一界面的内容的预制专用kit;所述根据所述第一信息确定所述第一界面的内容的收藏标签,包括:根据所述第一界面的内容的预制专用kit,获取所述第一界面的内容的属性信息;将所述第一界面的内容的属性信息与所述预制专用kit的模板中分类定义进行比较,确定所述第一界面的内容的所述收藏标签。具体地,在电子设备通过第一应用接收到收藏待收藏内容(如第二应用显示的第一界面的内容)的预设操作后,获取待收藏内容界面上的相关信息,若在这些相关信息中包括该界面内容的预制专用kit,第一应用可自动获取该界面内容的属性信息(如内容摘要,内容的类型等),然后将该界面内容的属性信息与预制专用kit的模板中的分类定义进行比较,将该界面内容自动进行分类,得到收藏标签(如新闻、购物、视频等),然后第一应用将待收藏内容收藏在该收藏标签下,这样能够快速准确地得到待收藏内容的收藏标签,并且用户可在第一应用中根据收藏标签查看到所收藏的内容。
步骤S704:根据所述收藏标签将所述第一界面的内容收藏至所述第一应用中。
具体地,根据步骤S703所确定的收藏标签可将第一界面上的内容或服务收藏在第一应用中方便用户再次查看第一界面上的内容或服务。例如,将要收藏第一个待收藏内容如图8B所示的今日头条应用提供的篮球比赛新闻浏览界面、第二个待收藏内容如图3A优酷应用提 供的“奇妙夜晚”视频播放界面和第三个待收藏内容如图3B京东应用提供的“一块电子手表”详细信息界面,并结合如图9所示进行说明,图9为三个待收藏内容的多维度收藏示意图。可通过步骤S703分别得到三个待收藏内容的收藏标签可依次分别为“新闻”、“视频”和“购物”,然后根据上述三个收藏标签将待收藏内容收藏在第一应用中。可选的,若上述三个待收藏内容的收藏时间戳分别为6月18日11:30、6月17日22:30和6月15日21:00,则可根据收藏时间戳的时间顺序将上述三个待收藏内容收藏在第一应用中。可选的,若上述三个待收藏内容的访问次数分别为5次、2次和10次,则可根据访问次数的大小判断用户最喜爱第三个待收藏内容其次第一个待收藏内容,最后是第二个待收藏内容,然后根据用户的对待收藏内容的喜爱程度确定收藏标签,将待收藏内容收藏在第一应用中。
步骤S705:将收藏在所述第一应用中的所述第一界面的内容,通过登录第一账号的方式同步至所述云端数据库。
具体地,所述第一账号为所述第一应用的登录账号。在电子设备的第一应用中,可通过登录第一应用对应的账号,将收藏在第一应用中的收藏内容以及对应的收藏标签同步至云端数据库中。可在其他电子设备的第一应用上登录相同的账号,并且在登录账号后可查看在其他电子设备的第一应用中收藏的收藏内容以及对应的收藏标签,从而实现多设备间收藏内容及对应的收藏标签的共享。例如,如图10所示,图10为收藏内容上传云端数据库示意图,图中将已收藏的第一个收藏内容如图8B所示的今日头条应用提供的篮球比赛新闻浏览界面、第二个收藏内容如图3A优酷应用提供的“奇妙夜晚”视频播放界面和第三个收藏内容如图3B京东应用提供的“一块电子手表”详细信息界面的相关信息同步至云端数据库。若平板或电脑登录第一账号获得查看云端数据库的权限,则可在平板或电脑上查看已收藏内容。
步骤S706:所述电子设备显示第二界面。
具体地,所述第二界面为所述第一应用的显示界面。在进入第一应用后,电子设备显示第一应用的显示界面。例如,如图9三个待收藏内容的多维度收藏示意图所示,可选的,在该界面上可显示收藏标签(如购物、视频、资讯等)或打开收藏内容的提示(如收藏内容截图等)。可选的,在该界面上可显示根据收藏时间戳顺序的收藏的已收藏内容。可选的,在该界面上可显示根据用户喜爱程度收藏的已收藏内容。
步骤S707:接收作用与所述第二界面的第一操作,重新打开所述第一界面的内容。
具体地,所述第一操作包括触碰所述收藏标签下的所述第一界面的内容。在电子设备的第一应用中想要打开已收藏内容,电子设备会在接收到重新打开收藏内容的操作后重新打开收藏在收藏标签下的收藏内容并显示收藏内容的界面。例如,用户想要在第一应用中打开已收藏的优酷应用提供的“奇妙夜晚”视频播放界面,在第一应用中用户可选中待打开的内容,电子设备在接收到相关操作后,会显示优酷应用提供的“奇妙夜晚”视频播放界面。
在一种可能的实现方式中,若所述第一界面的内容包括所述第二应用的应用名称和跳转链接;所述重新打开所述第一界面的内容,包括:根据所述第二应用的所述应用名称,判断是否已安装与所述第二应用的所述应用名称相同的应用;若是,则跳转至与所述第二应用的所述应用名称相同的应用中,并根据所述第一界面的内容中的所述跳转链接显示所述第一界面;若否,则通过浏览器打开所述第一界面的内容中的所述跳转链接显示所述第一界面。具体地,如果收藏内容中包括提供该内容应用的应用名称和跳转到该收藏内容对应显示界面的跳转链接时,首先第一应用可根据应用名称判断,在该电子设备上是否已经安装应用名称相同的应用,如果在该电子设备上已安装对应的应用则会根据跳转链接,跳转到该应用中并根据跳转链接显示收藏内容的显示界面。但若该电子设备上没有安装应用名称相同的应用,则 可在浏览器中通过跳转链接显示收藏内容的显示界面。从而实现收藏内容的快速重新打开。例如,用户想要打开已收藏的优酷应用提供的“奇妙夜晚”视频播放界面,在第一应用中用户可选中待打开的内容,电子设备在接收到相关操作后,会判断该设备上是否安装了优酷应用,若在电子设备上已安装了优酷应用,则会打开优酷在优酷并根据跳转链接在优酷应用中显示优酷应用提供的“奇妙夜晚”视频播放界面。如果在电子设备上没有安装优酷,则电子设备可打开浏览器根据跳转链接在浏览器中显示优酷应用提供的“奇妙夜晚”视频播放界面。
在一种可能的实现方式中,若所述第一界面的内容包括所述第一界面的网页快照;所述重新打开所述第一界面的内容,包括:通过打开收藏在所述第一应用中的所述第一界面的内容中的所述网页快照显示所述第一界面。具体地,如果收藏内容包括对应提供该内容的网页快照,则当电子设备在接收到重新打开收藏内容的操作后,直接通过打开网页快照的方式,重新打开收藏内容的显示界面。
步骤S708:若收藏信息发生改变,则更新所述第一应用中的信息和所述云端数据中的信息。
具体地,若收藏信息发生改变,则更新所述第一应用中的信息和所述云端数据中的信息;所述收藏信息包括所述收藏时间戳、所述第一界面的内容和所述收藏标签中的一个或多个。在重新打开收藏在第一应用中的收藏内容所对应的显示界面后,若该显示界面上的一些内容发生了改变则电子设备会更新第一应用中所收藏的收藏内容信息和收藏标签并同时将改动的信息同步至云端数据库。
通过使用本发明实施例的方法,电子设备可将多个应用所提供的内容或服务收藏在第一应用中,避免了用户只能在一个应用中收藏当前应用提供的内容或服务且再次查找收藏内容时难以快速找到所收藏内容的应用入口,从而实现跨应用收藏不同应用所提供的内容或服务,更加有效地提高了用户获取信息的效率和用户体验效果。
上述详细阐述了本发明实施例的方法,下面提供了本发明实施例的相关装置。
请参见图11,图11是本发明实施例提供的一种收藏处理装置的结构示意图,该收藏处理装置110可以包括第一显示单元1101、第一接收单元1102、第一处理单元1103、第一收藏单元1104、第一同步单元1105、第二显示单元1106、第二处理单元1107、第二同步单元1108,其中各个单元的详细描述如下。
第一显示单元1101,用于所述电子设备显示第一界面;所述第一界面为第二应用的显示界面;第一接收单元1102,用于所述电子设备中的第一应用检测针对所述第一界面上的预设操作;所述预设操作包括双击操作、触碰预设控件操作和在所述第一界面上绘制特殊图案操作中的一种或多种;第一处理单元1103,用于所述第一应用获取所述第一界面对应的第一信息,根据所述第一信息确定所述第一界面的内容的收藏标签;所述第一信息包括所述第一界面的内容信息、原始标题、内容页截图、收藏时间戳、访问次数、所述第二应用的应用包名和所述第一界面的内容的预制专用kit中的一种或多种;第一收藏单元1104,用于所述第一应用根据所述收藏标签将所述第一界面的内容收藏至所述第一应用中。
在一种可能的实现方式中,所述第一处理单元1103,具体用于:所述第一应用将所述第一信息与云端数据进行比较,生成分类指标项集合;所述云端数据库包括多种应用的应用包名、多种应用内容的预设关键字、多种应用提供的内容信息、多种应用的分类标签、多个用户的应用内容分类结果和用户数据中的一种或多种;所述分类指标项集合中包括N个分类指标项;根据预设标签集合中的M个预设标签的评分模型,对所述M个预设标签中的每一个 预设标签对应的所述N个分类指标项进行评分;对所述M个预设标签中的每一个预设标签对应的所述N个分类指标项的评分进行加权,分别得到所述M个预设标签的综合分数;将所述M个预设标签的综合分数中最高的预设标签确定为所述第一界面的内容的收藏标签。
在一种可能的实现方式中,若所述第一信息包括所述第二应用的应用包名,所述云端数据库包括多种应用的应用包名;所述第一处理单元1103,具体用于:所述第一应用将所述第二应用的应用包名与所述云端数据库中多种应用的应用包名进行比较,得到所述第二应用的第一分类指标项;所述第一分类指标项为所述第二应用的应用分类与预设标签的相关程度;将所述第一分类指标项添加到所述分类指标项集合中。
在一种可能的实现方式中,若所述第一信息包括所述第一界面的内容信息和所述第一界面的内容页截图;若所述云端数据库包括多种应用提供的内容信息;所述第一处理单元1103,具体用于:所述第一应用根据所述第一界面的内容信息识别所述第一界面上不同信息的信息格式,并根据所述信息格式以及将所述第一界面的所述内容页截图与所述云端数据库中的多种应用提供的内容信息进行AI识别,得到所述第一界面的第二分类指标项;所述第二分类指标项为所述第一界面上与预设标签相关的信息的信息量比重;将所述第二分类指标项添加到所述分类指标项集合中。
在一种可能的实现方式中,若所述第一信息包括所述第一界面的原始标题;所述云端数据库包括多种应用内容的预设关键字;所述第一处理单元1103,具体用于:所述第一应用识别所述第一界面的所述原始标题中的关键字,将所述关键字与所述云端数据库中的多种应用内容的预设关键字进行比较,得到所述第一界面的第三分类指标项;所述第三分类指标项为所述第一界面的内容的关键字与预设标签的相关程度;将所述第三分类指标项添加到所述分类指标项集合中。
在一种可能的实现方式中,若所述第一信息包括所述第一界面的收藏时间戳;所述第一处理单元1103,具体用于:所述第一应用根据所述第一界面上的所述收藏时间戳的时间大小顺序,确定所述收藏标签。
在一种可能的实现方式中,所述第一信息包括所述第一界面的访问次数;所述第一处理单元1103,具体用于:所述第一应用根据对所述第一界面的所述访问次数的多少,确定所述收藏标签。
在一种可能的实现方式中,所述第一信息包括所述第一界面的内容的预制专用kit;所述第一处理单元1103,具体用于:所述第一应用根据所述第一界面的内容的预制专用kit,获取所述第一界面的内容的属性信息;将所述第一界面的内容的属性信息与所述预制专用kit的模板中分类定义进行比较,确定所述第一界面的内容的收藏标签。
在一种可能的实现方式中,所述装置还包括:第一同步单元1105,用于将收藏在所述第一应用中的所述第一界面的内容,通过登录第一账号的方式同步至所述云端数据库;所述第一账号为所述第一应用的登录账号。
在一种可能的实现方式中,所述装置还包括:第二显示单元1106,用于所述电子设备显示第二界面;所述第二界面为所述第一应用的显示界面;第二处理单元1107,用于所述第一应用接收作用与所述第二界面的第一操作,重新打开所述第一界面的内容;所述第一操作包括触碰所述收藏标签下的所述第一界面的内容。
在一种可能的实现方式中,若所述第一界面的内容包括所述第二应用的应用名称和跳转链接;所述第二处理单元1106,具体用于:所述第一应用根据所述第二应用的所述应用名称,判断是否已安装与所述第二应用的所述应用名称相同的应用;若是,则跳转至与所述第二应 用的所述应用名称相同的应用中,并根据所述第一界面的内容中的所述跳转链接显示所述第一界面;若否,则通过浏览器打开所述第一界面的内容中的所述跳转链接显示所述第一界面。
在一种可能的实现方式中,若所述第一界面的内容包括所述第一界面的网页快照;所述第二处理单元1106,具体用于:所述第一应用通过打开收藏在所述第一应用中的所述第一界面的内容中的所述网页快照显示所述第一界面。
在一种可能的实现方式中,所述重新打开所述第一界面的内容之后,所述装置还包括:第二同步单元1107,用于若收藏信息发生改变,所述第一应用则更新所述第一应用中的信息和所述云端数据中的信息;所述收藏信息包括所述收藏时间戳、所述第一界面的内容和所述收藏标签中的一个或多个。
需要说明的是,本发明实施例中所描述的收藏处理装置110中各功能单元的功能可参见上述图7中所述的方法实施例中步骤S701-步骤S708的相关描述,此处不再赘述。
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任意一种收藏处理方法的部分或全部步骤。
本发明实施例还提供一种计算机程序,该计算机程序包括指令,当该计算机程序被计算机执行时,使得计算机可以执行任意一种收藏处理方法的部分或全部步骤。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可能可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机装置(可以为个 人计算机、服务器或者网络设备等,具体可以是计算机设备中的处理器)执行本申请各个实施例上述方法的全部或部分步骤。其中,而前述的存储介质可包括:U盘、移动硬盘、磁碟、光盘、只读存储器(Read-Only Memory,缩写:ROM)或者随机存取存储器(Random Access Memory,缩写:RAM)等各种可以存储程序代码的介质。
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。
Claims (30)
- 一种收藏处理的方法,其特征在于,应用于电子设备中的第一应用;所述电子设备当前显示第一界面,所述第一界面为第二应用的显示界面;所述方法包括:检测针对所述第一界面上的预设操作;所述预设操作包括双击操作、触碰预设控件操作和在所述第一界面上绘制特殊图案操作中的一种或多种;当检测到所述预设操作,获取所述第一界面对应的第一信息,根据所述第一信息确定所述第一界面的内容的收藏标签;所述第一信息包括所述第一界面的内容信息、原始标题、内容页截图、收藏时间戳、访问次数、所述第二应用的应用包名和所述第一界面的内容的预制专用kit中的一种或多种;根据所述收藏标签将所述第一界面的内容收藏至所述第一应用中。
- 如权利要求1所述的方法,其特征在于,所述根据所述第一信息确定所述第一界面的内容的收藏标签,包括:将所述第一信息与云端数据进行比较,生成分类指标项集合;所述云端数据库包括多种应用的应用包名、多种应用内容的预设关键字、多种应用提供的内容信息、多种应用的分类标签、多个用户的应用内容分类结果和用户数据中的一种或多种;所述分类指标项集合中包括N个分类指标项;根据预设标签集合中的M个预设标签的评分模型,对所述M个预设标签中的每一个预设标签对应的所述N个分类指标项进行评分;对所述M个预设标签中的每一个预设标签对应的所述N个分类指标项的评分进行加权,分别得到所述M个预设标签的综合分数;将所述M个预设标签的综合分数中最高的预设标签确定为所述第一界面的内容的收藏标签。
- 如权利要求2所述的方法,其特征在于,若所述第一信息包括所述第二应用的应用包名,所述云端数据库包括多种应用的应用包名;所述将所述第一信息与云端数据进行比较,生成分类指标项集合,包括:将所述第二应用的应用包名与所述云端数据库中多种应用的应用包名进行比较,得到所述第二应用的第一分类指标项;所述第一分类指标项为所述第二应用的应用分类与预设标签的相关程度;将所述第一分类指标项添加到所述分类指标项集合中。
- 如权利要求2或3所述的方法,其特征在于,若所述第一信息包括所述第一界面的内容信息和所述第一界面的内容页截图;所述云端数据库包括多种应用提供的内容信息;所述将所述第一信息与云端数据进行比较,生成分类信息集合,包括:根据所述第一界面的内容信息识别所述第一界面上不同信息的信息格式,并根据所述信息格式以及将所述第一界面的所述内容页截图与所述云端数据库中的多种应用提供的内容信息进行AI识别,得到所述第一界面的第二分类指标项;所述第二分类指标项为所述第一界面上与预设标签相关的信息的信息量比重;将所述第二分类指标项添加到所述分类指标项集合中。
- 如权利要求2-4中的任意一项所述的方法,其特征在于,若所述第一信息包括所述第一界面的原始标题;所述云端数据库包括多种应用内容的预设关键字;所述将所述第一信息与云端数据进行比较,生成分类信息集合,包括:识别所述第一界面的所述原始标题中的关键字,将所述关键字与所述云端数据库中的多种应用内容的预设关键字进行比较,得到所述第一界面的第三分类指标项;所述第三分类指标项为所述第一界面的内容的关键字与预设标签的相关程度;将所述第三分类指标项添加到所述分类指标项集合中。
- 如权利要求1所述的方法,其特征在于,若所述第一信息包括所述第一界面的收藏时间戳;所述根据所述第一信息确定所述第一界面的内容的收藏标签,包括:根据所述第一界面上的所述收藏时间戳的时间大小顺序,确定所述收藏标签。
- 如权利要求1所述的方法,其特征在于,若所述第一信息包括所述第一界面的访问次数;所述根据所述第一信息确定所述第一界面的内容的收藏标签,包括:根据对所述第一界面的所述访问次数的多少,确定所述收藏标签。
- 如权利要求1所述的方法,其特征在于,若所述第一信息包括所述第一界面的内容的预制专用kit;所述根据所述第一信息确定所述第一界面的内容的收藏标签,包括:根据所述第一界面的内容的预制专用kit,获取所述第一界面的内容的属性信息;将所述第一界面的内容的属性信息与所述预制专用kit的模板中分类定义进行比较,确定所述第一界面的内容的收藏标签。
- 如权利要求1-8任意一项所述的方法,其特征在于,所述方法还包括:将收藏在所述第一应用中的所述第一界面的内容,通过登录第一账号的方式同步至所述云端数据库;所述第一账号为所述第一应用的登录账号。
- 如权利要求1-9任意一项所述的方法,其特征在于,所述方法还包括:所述电子设备显示第二界面;所述第二界面为所述第一应用的显示界面;接收作用与所述第二界面的第一操作,重新打开所述第一界面的内容;所述第一操作包括触碰所述收藏标签下的所述第一界面的内容。
- 如权利要求10所述的方法,其特征在于,若所述第一界面的内容包括所述第二应用的应用名称和跳转链接;所述重新打开所述第一界面的内容,包括:根据所述第二应用的所述应用名称,判断是否已安装与所述第二应用的所述应用名称相同的应用;若是,则跳转至与所述第二应用的所述应用名称相同的应用中,并根据所述第一界面的内容中的所述跳转链接显示所述第一界面;若否,则通过浏览器打开所述第一界面的内容中的所述跳转链接显示所述第一界面。
- 如权利要求10所述的方法,其特征在于,若所述第一界面的内容包括所述第一界面的网页快照;所述重新打开所述第一界面的内容,包括:通过打开收藏在所述第一应用中的所述第一界面的内容中的所述网页快照显示所述第一界面。
- 如权利要求10所述的方法,其特征在于,所述重新打开所述第一界面的内容之后,所述方法还包括:若收藏信息发生改变,则更新所述第一应用中的信息和所述云端数据中的信息;所述收藏信息包括所述收藏时间戳、所述第一界面的内容和所述收藏标签中的一个或多个。
- 一种收藏处理装置,其特征在于,应用于电子设备,包括:第一显示单元,用于所述电子设备显示第一界面;所述第一界面为第二应用的显示界面;第一接收单元,用于所述电子设备中的第一应用检测针对所述第一界面上的预设操作; 所述预设操作包括双击操作、触碰预设控件操作和在所述第一界面上绘制特殊图案操作中的一种或多种;第一处理单元,用于所述第一应用获取所述第一界面对应的第一信息,根据所述第一信息确定所述第一界面的内容的收藏标签;所述第一信息包括所述第一界面的内容信息、原始标题、内容页截图、收藏时间戳、访问次数、所述第二应用的应用包名和所述第一界面的内容的预制专用kit中的一种或多种;第一收藏单元,用于所述第一应用根据所述收藏标签将所述第一界面的内容收藏至所述第一应用中。
- 如权利要求14所述的装置,其特征在于,所述第一处理单元,具体用于:所述第一应用将所述第一信息与云端数据进行比较,生成分类指标项集合;所述云端数据库包括多种应用的应用包名、多种应用内容的预设关键字、多种应用提供的内容信息、多种应用的分类标签、多个用户的应用内容分类结果和用户数据中的一种或多种;所述分类指标项集合中包括N个分类指标项;根据预设标签集合中的M个预设标签的评分模型,对所述M个预设标签中的每一个预设标签对应的所述N个分类指标项进行评分;对所述M个预设标签中的每一个预设标签对应的所述N个分类指标项的评分进行加权,分别得到所述M个预设标签的综合分数;将所述M个预设标签的综合分数中最高的预设标签确定为所述第一界面的内容的收藏标签。
- 如权利要求14所述的装置,其特征在于,若所述第一信息包括所述第二应用的应用包名,所述云端数据库包括多种应用的应用包名;所述第一处理单元,具体用于:所述第一应用将所述第二应用的应用包名与所述云端数据库中多种应用的应用包名进行比较,得到所述第二应用的第一分类指标项;所述第一分类指标项为所述第二应用的应用分类与预设标签的相关程度;将所述第一分类指标项添加到所述分类指标项集合中。
- 如权利要求15或16所述的装置,其特征在于,若所述第一信息包括所述第一界面的内容信息和所述第一界面的内容页截图;若所述云端数据库包括多种应用提供的内容信息;所述第一处理单元,具体用于:所述第一应用根据所述第一界面的内容信息识别所述第一界面上不同信息的信息格式,并根据所述信息格式以及将所述第一界面的所述内容页截图与所述云端数据库中的多种应用提供的内容信息进行AI识别,得到所述第一界面的第二分类指标项;所述第二分类指标项为所述第一界面上与预设标签相关的信息的信息量比重;将所述第二分类指标项添加到所述分类指标项集合中。
- 如权利要求14-17中的任意一项所述的装置,其特征在于,若所述第一信息包括所述第一界面的原始标题;所述云端数据库包括多种应用内容的预设关键字;所述第一处理单元,具体用于:所述第一应用识别所述第一界面的所述原始标题中的关键字,将所述关键字与所述云端数据库中的多种应用内容的预设关键字进行比较,得到所述第一界面的第三分类指标项;所述第三分类指标项为所述第一界面的内容的关键字与预设标签的相关程度;将所述第三分类指标项添加到所述分类指标项集合中。
- 如权利要求14所述的装置,其特征在于,若所述第一信息包括所述第一界面的收藏时间戳;所述第一处理单元,具体用于:所述第一应用根据所述第一界面上的所述收藏时间戳的时间大小顺序,确定所述收藏标签。
- 如权利要求14所述的装置,其特征在于,所述第一信息包括所述第一界面的访问次数;所述第一处理单元,具体用于:所述第一应用根据对所述第一界面的所述访问次数的多少,确定所述收藏标签。
- 如权利要求14所述的装置,其特征在于,所述第一信息包括所述第一界面的内容的预制专用kit;所述第一处理单元,具体用于:所述第一应用根据所述第一界面的内容的预制专用kit,获取所述第一界面的内容的属性信息;将所述第一界面的内容的属性信息与所述预制专用kit的模板中分类定义进行比较,确定所述第一界面的内容的收藏标签。
- 如权利要求14-21任意一项所述的装置,其特征在于,所述装置还包括:第一同步单元,用于所述第一应用将收藏在所述第一应用中的所述第一界面的内容,通过登录第一账号的方式同步至所述云端数据库;所述第一账号为所述第一应用的登录账号。
- 如权利要求14-22任意一项所述的装置,其特征在于,所述装置还包括:第二显示单元,用于所述电子设备显示第二界面;所述第二界面为所述第一应用的显示界面;第二处理单元,用于所述第一应用接收作用与所述第二界面的第一操作,重新打开所述第一界面的内容;所述第一操作包括触碰所述收藏标签下的所述第一界面的内容。
- 如权利要求23所述的装置,其特征在于,若所述第一界面的内容包括所述第二应用的应用名称和跳转链接;所述第二处理单元,具体用于:所述第一应用根据所述第二应用的所述应用名称,判断是否已安装与所述第二应用的所述应用名称相同的应用;若是,则跳转至与所述第二应用的所述应用名称相同的应用中,并根据所述第一界面的内容中的所述跳转链接显示所述第一界面;若否,则通过浏览器打开所述第一界面的内容中的所述跳转链接显示所述第一界面。
- 如权利要求23所述的装置,其特征在于,若所述第一界面的内容包括所述第一界面的网页快照;所述第二处理单元,具体用于:所述第一应用通过打开收藏在所述第一应用中的所述第一界面的内容中的所述网页快照显示所述第一界面。
- 如权利要求23所述的装置,其特征在于,所述重新打开所述第一界面的内容之后,所述装置还包括:第二同步单元,用于所述第一应用若收藏信息发生改变,则更新所述第一应用中的信息和所述云端数据中的信息;所述收藏信息包括所述收藏时间戳、所述第一界面的内容和所述收藏标签中的一个或多个。
- 一种电子设备,其特征在于,包括处理器、存储器以及通信接口,其中,所述存储器用于存储信息发送程序代码,所述处理器用于调用所述收藏处理方法程序代码来执行权利要求1-13中任一项所述的方法。
- 一种芯片系统,其特征在于,所述芯片系统包括至少一个处理器,存储器和接口电路,所述存储器、所述接口电路和所述至少一个处理器通过线路互联,所述至少一个存储器中存储有指令;所述指令被所述处理器执行时,权利要求1-13中任意一项所述的方法得以实现。
- 一种计算机存储介质,其特征在于,所述计算机存储介质存储有计算机程序,该计算 机程序被处理器执行时实现上述权利要求1-13中任意一项所述的方法。
- 一种计算机程序,其特征在于,所述计算机程序包括指令,当所述计算机程序被计算机执行时,使得所述计算机执行如权利要求1-13中任意一项所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011183418.2A CN114513575B (zh) | 2020-10-29 | 2020-10-29 | 一种收藏处理的方法及相关装置 |
CN202011183418.2 | 2020-10-29 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022089276A1 true WO2022089276A1 (zh) | 2022-05-05 |
Family
ID=81381905
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/124973 WO2022089276A1 (zh) | 2020-10-29 | 2021-10-20 | 一种收藏处理的方法及相关装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114513575B (zh) |
WO (1) | WO2022089276A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118245550A (zh) * | 2024-05-21 | 2024-06-25 | 腾讯科技(深圳)有限公司 | 资源同步方法、装置、电子设备及存储介质 |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100880709B1 (ko) * | 2008-04-29 | 2009-02-02 | (주)위너다임 | 자바스크립트 함수 자동 분석 방법 및 상기 방법을 이용한능동형 웹 수집 로봇 시스템 |
CN102404443A (zh) * | 2010-09-15 | 2012-04-04 | Lg电子株式会社 | 移动终端及其控制方法 |
CN106648707A (zh) * | 2017-01-10 | 2017-05-10 | 深圳铂睿智恒科技有限公司 | 智能终端应用信息的收藏方法、系统及智能终端 |
CN106933457A (zh) * | 2017-02-14 | 2017-07-07 | 珠海市魅族科技有限公司 | 一种信息收藏方法和系统 |
CN107085617A (zh) * | 2017-05-31 | 2017-08-22 | 北京安云世纪科技有限公司 | 应用程序页面收藏方法、装置及相应的移动终端 |
CN107092707A (zh) * | 2017-05-31 | 2017-08-25 | 北京安云世纪科技有限公司 | 一种收藏应用程序页面的展示方法及装置 |
CN107203630A (zh) * | 2017-05-31 | 2017-09-26 | 北京安云世纪科技有限公司 | 应用程序页面收藏方法、装置及相应的移动终端 |
CN107329985A (zh) * | 2017-05-31 | 2017-11-07 | 北京安云世纪科技有限公司 | 一种页面的收藏方法、装置和移动终端 |
CN107657045A (zh) * | 2017-09-30 | 2018-02-02 | 努比亚技术有限公司 | 信息收藏方法、移动终端及计算机可读存储介质 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103279513B (zh) * | 2013-05-22 | 2017-03-01 | 百度在线网络技术(北京)有限公司 | 产生内容标签的方法、提供多媒体内容信息的方法及装置 |
CN109165320B (zh) * | 2018-06-27 | 2021-04-30 | 维沃移动通信有限公司 | 一种信息收藏方法及移动终端 |
CN110334202A (zh) * | 2019-03-28 | 2019-10-15 | 平安科技(深圳)有限公司 | 基于新闻应用软件的用户兴趣标签构建方法及相关设备 |
-
2020
- 2020-10-29 CN CN202011183418.2A patent/CN114513575B/zh active Active
-
2021
- 2021-10-20 WO PCT/CN2021/124973 patent/WO2022089276A1/zh active Application Filing
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100880709B1 (ko) * | 2008-04-29 | 2009-02-02 | (주)위너다임 | 자바스크립트 함수 자동 분석 방법 및 상기 방법을 이용한능동형 웹 수집 로봇 시스템 |
CN102404443A (zh) * | 2010-09-15 | 2012-04-04 | Lg电子株式会社 | 移动终端及其控制方法 |
CN106648707A (zh) * | 2017-01-10 | 2017-05-10 | 深圳铂睿智恒科技有限公司 | 智能终端应用信息的收藏方法、系统及智能终端 |
CN106933457A (zh) * | 2017-02-14 | 2017-07-07 | 珠海市魅族科技有限公司 | 一种信息收藏方法和系统 |
CN107085617A (zh) * | 2017-05-31 | 2017-08-22 | 北京安云世纪科技有限公司 | 应用程序页面收藏方法、装置及相应的移动终端 |
CN107092707A (zh) * | 2017-05-31 | 2017-08-25 | 北京安云世纪科技有限公司 | 一种收藏应用程序页面的展示方法及装置 |
CN107203630A (zh) * | 2017-05-31 | 2017-09-26 | 北京安云世纪科技有限公司 | 应用程序页面收藏方法、装置及相应的移动终端 |
CN107329985A (zh) * | 2017-05-31 | 2017-11-07 | 北京安云世纪科技有限公司 | 一种页面的收藏方法、装置和移动终端 |
CN107657045A (zh) * | 2017-09-30 | 2018-02-02 | 努比亚技术有限公司 | 信息收藏方法、移动终端及计算机可读存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN114513575A (zh) | 2022-05-17 |
CN114513575B (zh) | 2023-06-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021013158A1 (zh) | 显示方法及相关装置 | |
CN109814766B (zh) | 一种应用显示方法及电子设备 | |
CN110597512B (zh) | 显示用户界面的方法及电子设备 | |
WO2020238356A1 (zh) | 界面显示方法、装置、终端及存储介质 | |
WO2020253758A1 (zh) | 一种用户界面布局方法及电子设备 | |
WO2021082835A1 (zh) | 启动功能的方法及电子设备 | |
CN111240547A (zh) | 跨设备任务处理的交互方法、电子设备及存储介质 | |
CN111669459B (zh) | 键盘显示方法、电子设备和计算机可读存储介质 | |
WO2021196970A1 (zh) | 一种创建应用快捷方式的方法、电子设备及系统 | |
WO2021000841A1 (zh) | 一种生成用户头像的方法及电子设备 | |
WO2020233556A1 (zh) | 一种通话内容处理方法和电子设备 | |
CN109819306B (zh) | 一种媒体文件裁剪的方法、电子设备和服务器 | |
WO2022100222A1 (zh) | 信息检索方法、装置、系统及存储介质 | |
WO2020155875A1 (zh) | 电子设备的显示方法、图形用户界面及电子设备 | |
WO2022012418A1 (zh) | 拍照方法及电子设备 | |
WO2022033432A1 (zh) | 内容推荐方法、电子设备和服务器 | |
WO2022057889A1 (zh) | 一种对应用程序的界面进行翻译的方法及相关设备 | |
WO2022127130A1 (zh) | 一种添加操作序列的方法、电子设备和系统 | |
CN115115679A (zh) | 一种图像配准方法及相关设备 | |
WO2022022674A1 (zh) | 应用图标布局方法及相关装置 | |
WO2021196980A1 (zh) | 多屏交互方法、电子设备及计算机可读存储介质 | |
CN112740148A (zh) | 一种向输入框中输入信息的方法及电子设备 | |
WO2022089276A1 (zh) | 一种收藏处理的方法及相关装置 | |
WO2023138305A1 (zh) | 卡片显示方法、电子设备及计算机可读存储介质 | |
WO2023160455A1 (zh) | 删除对象的方法及电子设备 |
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: 21885004 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: 21885004 Country of ref document: EP Kind code of ref document: A1 |