WO2018040913A1 - Interface display method and device - Google Patents

Interface display method and device Download PDF

Info

Publication number
WO2018040913A1
WO2018040913A1 PCT/CN2017/097627 CN2017097627W WO2018040913A1 WO 2018040913 A1 WO2018040913 A1 WO 2018040913A1 CN 2017097627 W CN2017097627 W CN 2017097627W WO 2018040913 A1 WO2018040913 A1 WO 2018040913A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
content
type
target
target interface
Prior art date
Application number
PCT/CN2017/097627
Other languages
French (fr)
Chinese (zh)
Inventor
高攀
Original Assignee
阿里巴巴集团控股有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2018040913A1 publication Critical patent/WO2018040913A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/543Local
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/545Gui

Definitions

  • the present application relates to the field of computer technologies, and in particular, to an interface display method and apparatus.
  • the user needs to use the copy or cut function to input some of the content displayed on the current interface into the input box of other interfaces, since almost all functions of the application are not set in the same interface.
  • the interface display operation needs to be performed at the operation entrance of the target interface.
  • the target interface is reached, if the operation interface of the target interface is deep, the user needs to perform multiple operations to reach the target interface.
  • the embodiment of the present application provides an interface display method for solving the problem of low convenience when displaying a target interface in the prior art.
  • An interface display method includes:
  • the predetermined type of event is an event that causes content in the clipboard to change
  • the target interface is displayed when the predetermined interface corresponding to the target interface is displayed.
  • the embodiment of the present application further provides an interface display device for solving the problem of low convenience when the target interface is displayed in the prior art.
  • An interface display device comprising:
  • a listening unit that listens to a predetermined type of event;
  • the predetermined type of event is a copy event or a cut event;
  • a content determining unit when listening to the predetermined type of event, determining content in a clipboard corresponding to the predetermined type of event;
  • a target interface determining unit analyzing the content to determine a target interface
  • the interface display unit displays the target interface in the target application when the target application is in the foreground running state.
  • the event of the predetermined type is an event that causes the content in the clipboard to change.
  • the content in the clipboard corresponding to the predetermined type of event is determined, and the content is The analysis is performed to determine the target interface, and then the determined target interface is displayed when the predetermined interface corresponding to the target interface is displayed. That is, after the user performs an operation such as copying or cutting to change the content in the clipboard, after reaching the predetermined interface, the user can reach the target interface related to the copied or cut content without operating the predetermined interface. , the convenience is higher.
  • FIG. 1 is a schematic diagram of an operation process of reaching a target interface after performing a copy operation in the prior art
  • FIG. 2 is a schematic flowchart of an implementation method of an interface display method according to Embodiment 1 of the present application;
  • FIG. 3 is a schematic diagram of an operation process of the bank transfer card number after the bank card number is copied according to Embodiment 1 of the present application;
  • FIG. 4 is a schematic diagram of an operation process of a bank transfer card number after the bank transfer card is delivered to the transfer interface according to Embodiment 1 of the present application;
  • FIG. 5 is a schematic diagram of an operation process of the bank transfer card after the bank card number is copied to the transfer interface according to Embodiment 1 of the present application;
  • FIG. 6 is a schematic diagram of an operation process of reaching a chat interface after copying a webpage address according to Embodiment 1 of the present application;
  • FIG. 7 is a schematic structural diagram of a target object attribute information determining apparatus according to Embodiment 2 of the present application.
  • the user's intention after entering the application can be inferred according to the operation before the user enters the application, and the user's operation is guided.
  • the user enters the application which means that the user switches the state of the application to the foreground running state through operation
  • the so-called foreground running state means that the application is in a state that can be directly seen and operated by the user.
  • the input box of some interfaces receives the format of the pasted content.
  • the input box of some interfaces receives the format of the pasted content.
  • the bank card number input box of the bank card transfer interface only the content of the bank card number format is allowed; for the dialing interface, only the content of the mobile phone number format is allowed. Then, the user's intention of entering the application after performing the copy operation or the cut operation can be determined according to the copy operation or the cut operation of the user.
  • Embodiment 1 of the present application provides an interface display method.
  • the execution body of the interface presentation method provided by the embodiment of the present application may be a terminal device, for example, a smart phone, a tablet computer, a personal computer, or the like.
  • the implementation method of the method is exemplified by taking the execution body of the method as a smart phone. Introduction. It can be understood that the execution of the method is only an exemplary description of the smartphone, and should not be construed as limiting the method.
  • the schematic diagram of the implementation process of the method is as shown in FIG. 2, and includes the following steps:
  • Step 11 Listening to a predetermined type of event
  • the predetermined type of event is an event that causes content in the clipboard to change, and the predetermined type of event may be, for example, a copy event, a cut event.
  • a copy event usually refers to an event that adds content to the clipboard through a copy operation
  • a cut event usually refers to an event that adds content to the clipboard through a cut operation.
  • the copy operation or the cut operation is generally performed by right-clicking on the selected content, and then clicking the "Copy" or "Cut” option in the pop-up context menu
  • the copy operation Or the cut operation is generally performed by long pressing on the content to be selected, and then clicking the "Copy" or "Cut” option in the pop-up menu.
  • Clipboard also known as clipboard, scrapbook, scrapbook, etc.
  • Clipboard is a storage area, usually located in memory, for temporary storage of operation objects for copy operations or cut operations. After copying or cutting, the copied or cut data is stored in the clipboard for subsequent use in the paste operation.
  • a predetermined type of event can be monitored by listening to the clipboard of the Android operating system.
  • the addPrimaryClipChangedListener in the ClipboardManager component of the Android system can be used to listen to a predetermined type of event.
  • the onPrimaryClipChanged method in the OnPrimaryClipChangedListener is called, so that the copy event or the cut event can be realized. Listening.
  • a predetermined type of event can be monitored by a hook function (Hook), which will not be described here.
  • Hook hook function
  • Step 12 When listening to the predetermined type of event, determining content in a clipboard corresponding to the predetermined type of event;
  • the application can access the contents of the clipboard through the programming interface, so that the contents of the clipboard can be obtained.
  • Step 13 analyzing the content to determine a target interface
  • the type of the input content supported by the input interface of the target interface is also determined. . Then, different content can be classified in advance, and then a correspondence is established between the type and the interface, wherein the interface corresponding to a certain type can be, for example, an interface that supports input of the content of the type. Then, after listening to the predetermined type event and determining the type of the content in the clipboard, the interface corresponding to the type can be determined as the target interface.
  • the user pastes the content into the target interface, it is often possible to input some information related to the pasted content. For example, after pasting the bank card number, the user may also input the bank information corresponding to the bank card number; after the user pastes a certain website address and sends it to the friend, the content of the web page corresponding to the website is often briefly described and sent to the user. Friends. Then, information related to the content in the clipboard can also be acquired, and then the target interface can be generated by using the content in the clipboard and/or information related to the content, and an interface corresponding to the type.
  • the content in the clipboard and/or the information related to the content may be filled in the interface template of the interface corresponding to the type.
  • the finalized target interface may be an interface corresponding to the type, or an interface generated by using the content and/or information related to the content.
  • the type of the content in the clipboard may include at least one of the following: a webpage address type; a bank card number type; an account identification type; a normal text type.
  • the webpage address usually refers to the text containing the domain name suffixes such as .com, .cn, .net, etc.
  • the text is usually started with http:// or https://.
  • the webpage address points to a webpage in the Internet, and the webpage address can be used to access the webpage in the internet pointed to by the webpage address.
  • the web address can be, for example, http://www.a.com/b.html.
  • the bank card number refers to the number code on the card issued by each bank. Since the starting number of the bank card number of each bank has a unified regulation, and the number of digits of the bank card number of each bank has a unified regulation, the bank card The format of the card number is also clear. For example, for the card number of CCB, the starting number of the bank card number is 6227, then the format of the bank card number is generally 6227 XXXX XXXXXXX, where X stands for any Arabic number.
  • the account identifier refers to the information used to identify the user when the user logs in on the Internet.
  • the format is generally the mobile phone number, the mailbox, the number of specific digits, or the user name.
  • Ordinary text refers to a combination of a word, sentence, or multiple sentences with complete, systematic meaning. Since the text can be any text, it is distinguished from the type of web page address type, bank card number type, and account identification type described above. Here, several types of text that do not belong to the above are classified as normal text types.
  • the content of the normal text type may be article content, lyrics, movie lines, dates, and the like.
  • the type of the content in the clipboard may be determined according to the number of words of the content in the clipboard, the specific identifier included, and the like. For example, when the content in the clipboard is the text at the beginning of http://, and the text contains .com, the type of the content can be considered as the webpage address type; when the content in the clipboard starts with 6227, 19 When the number is a digit, the type of the content can be considered as the bank card number type.
  • the content of the clipboard can be uploaded to the server, and the server determines the type of the content in the clipboard.
  • Step 14 Display the target interface when displaying a predetermined interface corresponding to the target interface.
  • the target determined according to the URL will be determined.
  • the display of the interface will result in a poor user experience.
  • the target interface can be displayed when the predetermined interface is displayed.
  • the predetermined interface corresponding to the target interface may be preset by the developer. For example, for the chat application, the predetermined interface corresponding to the target interface generated according to the URL may be set as the chat interface, then, when the user After copying the URL into the chat application, the target interface generated according to the URL will be displayed when the user enters the chat interface.
  • the target interface can be displayed.
  • the target interface after the user enters the target application, it can be displayed. For example, after the user copies the bank card number and enters the transfer application, the user is likely to transfer the bank card number, then, directly When entering the transfer application, the transfer interface is displayed to the user. In this way, for some target interfaces, in order to further reduce the user's operation steps, the target interface can be displayed when any interface in the target application is displayed, without the user manually operating to a specific interface. . When any of the interfaces in the target application are displayed, that is, when the target application is in the foreground running state.
  • the target application mentioned here may specifically be an application when performing a copying or cutting operation, or may not be an implementation complex. Application when making or cutting operations.
  • the target interface can be directly displayed.
  • the target interface in the application can be displayed when the target application enters the foreground running state.
  • the user copies the bank card number sent by the friend in the message application, and the target application and the message application are different applications, and after entering the target application, the user can In the target application, the target interface corresponding to the bank card type (in this case, the bank card transfer interface) is displayed, and the bank card transfer interface can be directly reached.
  • the target application the target interface corresponding to the bank card type (in this case, the bank card transfer interface) is displayed, and the bank card transfer interface can be directly reached.
  • the application in the current active window is the application in the foreground running state, or can determine whether the application is in the foreground by determining whether the application has the focus.
  • Operating status For the Android operating system, you can use the RunningTaskInfo class to determine whether the application is running in the foreground or in the background, or you can use the RunningAppProcessInfo class to determine whether the application is running in the foreground or in the background.
  • the interface corresponding to the type of the application in the foreground running state can be displayed.
  • the interface corresponding to the type may be an interface that supports inputting content of the type, but in one application, there may be multiple interfaces supporting input of content of the type.
  • the credit recharge interface can support the input of the mobile phone number type content
  • the account search interface can support the input of the mobile phone number type content
  • the chat interface can also support the input of the mobile phone number type content.
  • not all interfaces that support input of the type of content need to be displayed when the application is in the foreground running state.
  • the probability of entering the chat interface to paste the mobile phone number is much less than entering.
  • the probability of recharging the interface the developer can pre-set the target page to be displayed when the application is in the foreground running state after listening to the predetermined type of event, as the interface corresponding to the type, that is, the correspondence between the type and the interface is established in advance.
  • the operation portal of the target interface may be displayed in a certain area of the predetermined interface, and the user is received through the operation.
  • the target interface is displayed when the entry is issued to access the target interface.
  • the operation portal is displayed in a certain area of the target interface, and the beneficial effect is that the user can intuitively see the operation portal of the target interface, and does not need to find the original operation portal of the software in the current interface, thereby improving the operation of the user. effectiveness.
  • the operation portal of each target interface is displayed in a certain area of the predetermined interface, and then any one of the target interfaces is received.
  • the target interface displays an instruction
  • the target interface corresponding to the instruction is displayed.
  • the transfer to the bank card is still taken as an example.
  • the user copies the bank card number sent by the friend in the message application.
  • two types of bank card numbers are preset in the target application.
  • the operation portals of the two interfaces can be respectively displayed.
  • the user clicks "Transfer to Bank Card" the bank card transfer interface can be reached.
  • the pre-judgment of the operation behavior after the user performs the copying or pasting operation is realized.
  • the operation interface of the target interface or the target interface is directly displayed, and the user is not required to perform excessive operations, thereby improving the user.
  • the efficiency and convenience of operation are high.
  • the target interface After the user enters the target interface, it is generally necessary to paste the contents of the clipboard into a form on the target interface. Then, in order to further reduce the operation of the user, when the target interface is displayed, the content in the clipboard may be filled into a corresponding input box in the target interface, and the target interface may be displayed. In this way, the user does not need to perform the pasting operation, and the convenience is high.
  • information related to the contents of the clipboard may also be entered in other forms on the page.
  • the user after entering the bank card number, the user also needs to input information such as the bank name. Then, information related to the content in the clipboard may be acquired in advance, and then the content in the clipboard and/or the information related to the content in the clipboard may be filled into the form of the target interface, and Show the target interface. In this way, the user does not need to manually input relevant information, and the convenience is high.
  • FIG. 5 after entering the bank transfer interface, the bank card number and the bank name are entered in the transfer interface.
  • obtaining information related to the content in the clipboard is not only obtaining information that needs to be filled in the form, but also obtaining other related information. For example, if the user copies a piece of text and then wants to use the search engine to search for information related to the text, then the information related to the text searched by the search engine can be obtained in advance, and then the user directly enters the target application after entering the target application. Presenting using the content and/or the target interface generated by the information related to the content.
  • Capacity determine the target interface, and display the target interface when displaying the predetermined interface.
  • the webpage content in the webpage corresponding to the webpage in the clipboard may be acquired. Then, the obtained webpage content is filled in the webpage content display interface to generate a target interface. The process can be considered as displaying the content of the webpage in the webpage content presentation template. Finally, when the chat interface is displayed, the generated target interface can be displayed in the chat interface in the form of a card.
  • the main image, the webpage title, and the webpage content summary in the webpage can be displayed only in the card, so when the content in the webpage is acquired, only the expectation can be obtained.
  • the content of the show can be obtained.
  • the card can be displayed anywhere in the chat interface, and the card can be sent to the other party upon receiving the card sending instruction.
  • the other party can see the card directly in the chat interface, instead of the boring web address, and when the user clicks on the card, the webpage corresponding to the web address can be opened for detailed browsing.
  • the user browses the content in the website http://www.a.com/b.html on the current interface, and expects to share the content to the friend.
  • the operation portal of the chat interface with each friend is displayed, that is, the friend list interface, when the user clicks "friend A"
  • the content in the website is automatically displayed in the form of a card in the chat interface, and the card can be directly sent to the other party.
  • the abbreviated information of the webpage content can be visually displayed to the user, thereby improving the user experience.
  • the webpage content corresponding to the webpage address in the clipboard may also be displayed in a predetermined interface in the form of a card.
  • the content of the webpage can also be displayed in the form of a card, and then the content of the webpage is posted to the personal dynamic in the form of a card.
  • the bank card information is generally the information such as the bank account bank.
  • the mobile phone number can be filled in the recharge number input box of the mobile phone recharge interface. And show it.
  • the type of the content in the clipboard is an account identification type
  • the target interface corresponding to the account identification type set by the developer is an account related information interface
  • the account related information corresponding to the content in the clipboard may be acquired. Then, the content in the clipboard and the account related information corresponding to the content in the clipboard are displayed in the account related information interface.
  • the type of the content in the clipboard is a normal text type
  • the subtype may be divided according to the appearance scene of the content in the clipboard, such as a certain content. It appears in the lyrics, then the content can be divided into lyric subtypes.
  • the subtype can be, for example, article content, lyrics, movie lines, and dates.
  • the interface corresponding to the subtype may be determined according to the determined subtype, and information related to the content in the clipboard is obtained. Finally, using the content and/or information related to the content, and an interface corresponding to the subtype, a target interface is generated, and the target interface is displayed in a predetermined interface in the form of a card.
  • the summary information of the article may be obtained, and the article is displayed as a card in the predetermined interface. Summary information.
  • the ordinary text in the clipboard is a lyric
  • the related information of the music corresponding to the lyrics can be obtained, and displayed in the form of a card in a predetermined interface, and further, the corresponding music module can be evoked to play the music.
  • the ordinary text in the clipboard is a line in a movie or a TV series
  • relevant information of the movie or television can be obtained and displayed in the form of a card in a predetermined interface.
  • the operation entry of the date-related interface is displayed in a predetermined interface in the form of a card, such as an alarm setting operation entry, a reminder setting operation entry, or a trip setting. Operation portal and so on.
  • the related information can be displayed in a clearer manner, and the content in the card can support the user operation, and the interaction is strong. , to improve the user experience.
  • the time for displaying the target interface is when the predetermined interface is displayed, and when the user receives the instruction to close the target interface, the predetermined interface can be closed. This indicates that the user does not need the target interface for a while, and then when the predetermined interface is in the display state again, there is no need to display the target interface. That is, when the predetermined interface is displayed, the target interface may be displayed only once, to prevent the user from being displayed again after closing the target interface, resulting in a poor user experience.
  • the target interface can be determined only for the content in the clipboard corresponding to the last scheduled type event.
  • the probability that the user continues to use the content of this copy or cut operation will be small, for example, the user copied a certain content yesterday, but it is likely that it will not Use the content copied yesterday. Then, the time difference between the current time and the time when the predetermined type of event is monitored can be determined. When the time difference is greater than the preset time difference, the content in the clipboard is analyzed to determine the target interface.
  • the user may also perform personalized recommendation according to the content in the clipboard.
  • Personalized recommendations can recommend information of interest to users based on their interests.
  • the content in the clipboard can reflect the user's preferences to a certain extent. For example, the user often copies the lyrics of a certain style of song, and then indicates that the user likes the song of the style, and the song belonging to the style can be recommended to the user.
  • the interface display method provided by Embodiment 1 of the present application is to monitor a predetermined type of event, which is an event that causes content in the clipboard to change.
  • a predetermined type of event which is an event that causes content in the clipboard to change.
  • the predetermined type of event corresponds to The content in the clipboard, and the content is analyzed to determine the target interface, and then the determined target interface is displayed when the predetermined interface corresponding to the target interface is displayed. That is, after the user performs an operation such as copying or cutting to change the content in the clipboard, after reaching the predetermined interface, the user can reach the target interface related to the copied or cut content without operating the predetermined interface. , the convenience is higher.
  • Embodiment 2 of the present application provides an interface display device.
  • the structure diagram of the interface display device is shown in FIG. 7 and mainly includes the following functional units:
  • the monitoring unit 21 monitors a predetermined type of event; the predetermined type of event is a copy event or a cut event;
  • the content determining unit 22 determines, when the predetermined type of event is detected, the content in the clipboard corresponding to the predetermined type of event;
  • the target interface determining unit 23 analyzes the content to determine a target interface
  • the interface display unit 24 displays the target interface when displaying a predetermined interface corresponding to the target interface.
  • the specific working process of the device embodiment is that the monitoring unit 21 monitors a predetermined type of event.
  • the content determining unit 22 determines the content of the clipboard corresponding to the predetermined type of event.
  • the target interface determining unit 23 analyzes the content, determines the target interface, and displays the interface.
  • the element 24 displays the target interface when the predetermined interface corresponding to the target interface is displayed.
  • the target interface determining unit 23 specifically includes a type determining subunit 23-1 and a first interface determining subunit 23 -2, where:
  • the type determining subunit 23-1 determines a type of the content
  • the first interface determining sub-unit 23-2 determines an interface corresponding to the type as the determining target interface according to the determined type.
  • the target interface determining unit 23 specifically includes a related information acquiring subunit 23-3 and a second interface determining subunit 23-4, wherein:
  • the related information acquiring sub-unit 23-3 acquires information related to the content
  • the second interface determining subunit 23-4 generates a target interface by using the content and/or information related to the content and an interface corresponding to the type.
  • the interface display unit 24 selects a display manner corresponding to the type, and displays the target interface.
  • the type comprises at least one of the following:
  • the interface corresponding to the type is a webpage content presentation interface
  • the related information obtaining sub-unit 23-3 acquires webpage content in a webpage corresponding to the webpage in the clipboard;
  • the first interface determining sub-unit 23-4 fills the content of the obtained webpage into the webpage content display interface to generate a target interface.
  • the interface display unit 24 displays the obtained target interface in the chat interface in the form of a card when displaying the chat interface.
  • the interface corresponding to the type is a bank card transfer interface
  • the related information obtaining sub-unit 23-3 acquires bank card information corresponding to the bank card number in the clipboard;
  • the first interface determining subunit 23-4 fills the bank card number in the clipboard and the bank card information corresponding to the bank card number into a form of the bank card transfer interface as a target interface.
  • the interface corresponding to the type is an account related information interface
  • the related information obtaining sub-unit 23-3 acquires account related information corresponding to the account identifier in the clipboard;
  • the first interface determining subunit 23-4 fills the account identifier in the clipboard and the account related information corresponding to the account identifier in the clipboard into the account related information interface as a target interface.
  • the device when the type of the content in the clipboard is a normal text type, the device further includes:
  • the subtype determining unit 25 determines a subtype to which the content of the normal text type in the clipboard belongs
  • the related information obtaining sub-unit 23-3 acquires information related to the content in the clipboard according to the determined subtype
  • the first interface determining subunit 23-4 generates a target interface by using the content and/or information related to the content and an interface corresponding to the subtype.
  • the subtype includes at least one of the following:
  • the interface display unit 24 selects an impression corresponding to the type when displaying any interface in the target application. In the manner, the target interface is displayed.
  • the target interface determining unit determines a time difference between a current time and a time when the predetermined type of event is monitored; and when the time difference is greater than a preset time difference, analyzing the content. , determine the target interface.
  • the interface display unit 24 specifically includes an operation entry display sub-unit 24-1 and a presentation instruction receiving sub-unit 24-2, wherein:
  • the operation portal display sub-unit 24-1 displays the operation portal of each target interface
  • the display instruction receiving sub-unit 24-2 displays the target interface corresponding to the target interface when the display instruction for any of the target interfaces is received through each operation portal.
  • the apparatus further includes a recommendation unit 26 that performs personalized recommendations based on the content of the clipboard.
  • the interface display device monitors a predetermined type of event, which is an event that causes content in the clipboard to change.
  • a predetermined type event is detected, it is determined that the predetermined type event corresponds to
  • the content in the clipboard is analyzed, and the content is analyzed to determine a target interface, and the determined target interface is displayed when the predetermined interface corresponding to the target interface is displayed. That is, the user copies or cuts the content, and after reaching the predetermined interface, the user can reach and copy or cut without performing the operation on the predetermined interface.
  • the content interface related to the content is cut, and the convenience is high.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory.
  • computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.

Abstract

Provided are an interface display method and an interface display device, for solving the problem in the prior art of low convenience when a target interface is displayed. The method comprises: monitoring a pre-determined type of event (11), wherein the pre-determined type of event is an event that causes a content in a clipboard to change; when the pre-determined type of event is monitored, determining a content in a clipboard corresponding to the pre-determined type of event (12); analyzing the content to determine a target interface (13); and when a pre-determined interface corresponding to the target interface is displayed, displaying the target interface (14).

Description

一种界面展示方法及装置Interface display method and device
本申请要求2016年08月29日递交的申请号为201610752071.6、发明名称为“一种界面展示方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application Serial No. No. No. No. No. No. No. No. No. No. No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No
技术领域Technical field
本申请涉及计算机技术领域,尤其涉及一种界面展示方法及装置。The present application relates to the field of computer technologies, and in particular, to an interface display method and apparatus.
背景技术Background technique
随着科学技术的不断发展,计算机已经广泛地应用于人们的日常生活和工作中,极大地方便了人们的生活。为了给用户提供更多的便利,应用程序具备的功能也越来越多,比如,某些应用会同时具备聊天、游戏、购物、电影、音乐等功能。With the continuous development of science and technology, computers have been widely used in people's daily life and work, which greatly facilitates people's lives. In order to provide users with more convenience, the application has more and more functions, for example, some applications have the functions of chat, game, shopping, movie, music and so on.
在某些场景中,用户需要利用复制或剪切功能,将当前界面展示的一些内容输入到其它界面的输入框中去,由于应用程序的所有功能几乎不会全部设置在同一界面中。在用户执行完复制或剪切操作后,期望将剪切板中的内容粘贴到目标应用的目标界面中时,在用户进入目标应用后,需要在目标界面的操作入口处执行界面展示操作,才能到达目标界面,如果目标界面的操作入口较深,则用户需要执行多次操作,才能到达目标界面。In some scenarios, the user needs to use the copy or cut function to input some of the content displayed on the current interface into the input box of other interfaces, since almost all functions of the application are not set in the same interface. After the user performs the copy or cut operation and wants to paste the content in the clipboard into the target interface of the target application, after the user enters the target application, the interface display operation needs to be performed at the operation entrance of the target interface. When the target interface is reached, if the operation interface of the target interface is deep, the user needs to perform multiple operations to reach the target interface.
现有技术中,在用户执行完复制或剪切操作后,当期望粘贴内容的输入框不在当前界面中时,往往要通过多次操作,才能到达粘贴内容的目标界面,便利性较低。In the prior art, after the user performs the copying or cutting operation, when the input box of the desired content is not in the current interface, the target interface of the pasted content is often reached through multiple operations, and the convenience is low.
发明内容Summary of the invention
本申请实施例提供一种界面展示方法,用以解决现有技术中展示目标界面时便利性较低的问题。The embodiment of the present application provides an interface display method for solving the problem of low convenience when displaying a target interface in the prior art.
本申请实施例采用下述技术方案:The embodiments of the present application adopt the following technical solutions:
一种界面展示方法,包括:An interface display method includes:
监听预定类型事件;所述预定类型事件为使得剪贴板中的内容发生变化的事件;Listening to a predetermined type of event; the predetermined type of event is an event that causes content in the clipboard to change;
在监听到所述预定类型事件时,确定所述预定类型事件对应的剪贴板中的内容;Determining content in the clipboard corresponding to the predetermined type of event when the predetermined type of event is detected;
对所述内容进行分析,确定目标界面;Performing analysis on the content to determine a target interface;
在对与所述目标界面对应的预定界面进行展示时,将所述目标界面进行展示。The target interface is displayed when the predetermined interface corresponding to the target interface is displayed.
本申请实施例还提供一种界面展示装置,用以解决现有技术中展示目标界面时便利性较低的问题。 The embodiment of the present application further provides an interface display device for solving the problem of low convenience when the target interface is displayed in the prior art.
本申请实施例采用下述技术方案:The embodiments of the present application adopt the following technical solutions:
一种界面展示装置,包括:An interface display device comprising:
监听单元,监听预定类型事件;所述预定类型事件为复制事件或剪切事件;a listening unit that listens to a predetermined type of event; the predetermined type of event is a copy event or a cut event;
内容确定单元,在监听到所述预定类型事件时,确定所述预定类型事件对应的剪贴板中的内容;a content determining unit, when listening to the predetermined type of event, determining content in a clipboard corresponding to the predetermined type of event;
目标界面确定单元,对所述内容进行分析,确定目标界面;a target interface determining unit, analyzing the content to determine a target interface;
界面展示单元,在目标应用处于前台运行状态时,将目标应用中的目标界面进行展示。The interface display unit displays the target interface in the target application when the target application is in the foreground running state.
本申请实施例采用的上述至少一个技术方案能够达到以下有益效果:The above at least one technical solution adopted by the embodiment of the present application can achieve the following beneficial effects:
通过对预定类型事件进行监听,该预定类型事件为使得剪贴板中的内容发生变化的事件,当监听到预定类型事件时,便确定该预定类型事件对应的剪贴板中的内容,并对该内容进行分析,以便确定目标界面,然后在对与所述目标界面对应的预定界面进行展示时,将确定的目标界面进行展示。即用户在执行复制或剪切等使得剪贴板中的内容发生变化的操作后,在到达预定界面后,无需用户再对预定界面进行操作,即可到达与复制或剪切的内容相关的目标界面,便利性较高。By monitoring a predetermined type of event, the event of the predetermined type is an event that causes the content in the clipboard to change. When the predetermined type of event is monitored, the content in the clipboard corresponding to the predetermined type of event is determined, and the content is The analysis is performed to determine the target interface, and then the determined target interface is displayed when the predetermined interface corresponding to the target interface is displayed. That is, after the user performs an operation such as copying or cutting to change the content in the clipboard, after reaching the predetermined interface, the user can reach the target interface related to the copied or cut content without operating the predetermined interface. , the convenience is higher.
附图说明DRAWINGS
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the present application, and are intended to be a part of this application. In the drawing:
图1为现有技术中在执行复制操作后到达目标界面的操作过程示意图;1 is a schematic diagram of an operation process of reaching a target interface after performing a copy operation in the prior art;
图2为本申请实施例1提供的一种界面展示方法的实现流程示意图;2 is a schematic flowchart of an implementation method of an interface display method according to Embodiment 1 of the present application;
图3为本申请实施例1提供的一种复制银行卡卡号后到达转账界面的操作过程示意图;FIG. 3 is a schematic diagram of an operation process of the bank transfer card number after the bank card number is copied according to Embodiment 1 of the present application;
图4为本申请实施例1提供的一种复制银行卡卡号后到达转账界面的操作过程示意图;4 is a schematic diagram of an operation process of a bank transfer card number after the bank transfer card is delivered to the transfer interface according to Embodiment 1 of the present application;
图5为本申请实施例1提供的一种复制银行卡卡号后到达转账界面的操作过程示意图;FIG. 5 is a schematic diagram of an operation process of the bank transfer card after the bank card number is copied to the transfer interface according to Embodiment 1 of the present application;
图6为本申请实施例1提供的一种复制网页地址后到达聊天界面的操作过程示意图;FIG. 6 is a schematic diagram of an operation process of reaching a chat interface after copying a webpage address according to Embodiment 1 of the present application;
图7为本申请实施例2提供的一种目标对象属性信息确定装置的具体结构示意图。 FIG. 7 is a schematic structural diagram of a target object attribute information determining apparatus according to Embodiment 2 of the present application.
具体实施方式detailed description
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions of the present application will be clearly and completely described in the following with reference to the specific embodiments of the present application and the corresponding drawings. It is apparent that the described embodiments are only a part of the embodiments of the present application, and not all of them. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
为了便于理解本申请提供的方法,下面首先对本方法的发现过程进行简单说明,然后再详细介绍本申请提供的界面展示方法。In order to facilitate the understanding of the method provided by the present application, the discovery process of the method is briefly described below, and then the interface display method provided by the present application is described in detail.
目前,单个应用程序往往具备较多的功能,当单个应用程序具备多个功能时,为了保持应用程序界面的整洁,程序设计人员往往不会将应用程序的所有功能全部设置在同一界面中。那么,在进入应用后,当用户要使用的功能不在终端当前展示的界面中时,往往要通过至少一次操作,才能到达使用该些功能的界面,便利性较低。Currently, a single application often has more functions. When a single application has multiple functions, in order to keep the application interface clean, programmers often do not set all the functions of the application in the same interface. Then, after entering the application, when the function to be used by the user is not in the interface currently displayed by the terminal, it is often necessary to perform the interface using the functions through at least one operation, and the convenience is low.
以用户进行转账到银行卡操作为例,如图1所示,当用户在当前界面中复制完银行卡卡号后,在到达转账页面前需要经过如下操作,首先进入支持转账功能的目标应用的首页,然后点击“资金管理”进入资金管理界面,然后再点击资金管理界面的“转账到银行卡”进入转账界面。即到达转账界面的操作繁琐,便利性较低。For example, as shown in Figure 1, after the user copies the bank card number in the current interface, the user needs to go through the following operations before entering the transfer page, first entering the home page of the target application supporting the transfer function. Then click “Fund Management” to enter the fund management interface, and then click “Transfer to Bank Card” on the fund management interface to enter the transfer interface. That is, the operation of reaching the transfer interface is cumbersome and the convenience is low.
为了解决这一问题,可以根据用户进入应用前的操作,来推断用户进入应用后的意图,引导用户的操作。这里所说的用户进入应用,指用户通过操作,将应用的状态切换至前台运行状态,所谓前台运行状态,指应用程序处于可被用户直接看到和操作的状态。In order to solve this problem, the user's intention after entering the application can be inferred according to the operation before the user enters the application, and the user's operation is guided. Here, the user enters the application, which means that the user switches the state of the application to the foreground running state through operation, and the so-called foreground running state means that the application is in a state that can be directly seen and operated by the user.
考虑到用户在进行类似复制或剪切等类型的操作后,往往是要将复制或剪切的内容粘贴到某个界面的输入框中,而某些界面的输入框接收粘贴的内容的格式是确定的。比如,对于银行卡转账界面的银行卡卡号输入框,只允许输入银行卡卡号格式的内容;对于拨号界面,只允许输入手机号格式的内容。那么,可以根据用户的复制操作或剪切操作,来判断用户在执行复制操作或剪切操作后进入应用后的意图。Considering that after the user performs a similar type of copying or cutting, it is often necessary to paste the copied or cut content into the input box of an interface, and the input box of some interfaces receives the format of the pasted content. definite. For example, for the bank card number input box of the bank card transfer interface, only the content of the bank card number format is allowed; for the dialing interface, only the content of the mobile phone number format is allowed. Then, the user's intention of entering the application after performing the copy operation or the cut operation can be determined according to the copy operation or the cut operation of the user.
以下结合附图,详细说明本申请各实施例提供的技术方案。The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
实施例1Example 1
为解决现有技术中展示目标界面时便利性较低的问题,本申请实施例1提供一种界面展示方法。本申请实施例提供的界面展示方法的执行主体可以是终端设备,例如,智能手机、平板电脑、个人计算机,等等。To solve the problem of low convenience when the target interface is displayed in the prior art, Embodiment 1 of the present application provides an interface display method. The execution body of the interface presentation method provided by the embodiment of the present application may be a terminal device, for example, a smart phone, a tablet computer, a personal computer, or the like.
为便于描述,下文以该方法的执行主体为智能手机为例,对该方法的实施方式进行 介绍。可以理解,该方法的执行主体为智能手机只是一种示例性的说明,并不应理解为对该方法的限定。For convenience of description, the implementation method of the method is exemplified by taking the execution body of the method as a smart phone. Introduction. It can be understood that the execution of the method is only an exemplary description of the smartphone, and should not be construed as limiting the method.
该方法的实现流程示意图如图2所示,包括下述步骤:The schematic diagram of the implementation process of the method is as shown in FIG. 2, and includes the following steps:
步骤11:监听预定类型事件;Step 11: Listening to a predetermined type of event;
所述预定类型事件为使得剪贴板中的内容发生变化的事件,所述预定类型的事件比如可以是复制事件、剪切事件。The predetermined type of event is an event that causes content in the clipboard to change, and the predetermined type of event may be, for example, a copy event, a cut event.
其中,复制事件,通常指通过复制操作将内容添加至剪贴板中的事件;剪切事件,通常指通过剪切操作将内容添加至剪贴板中的事件。复制操作或剪切操作具体的执行方式有很多种。比如,在PC端,复制操作或剪切操作一般是通过对选中的内容执行右键点击操作,然后在弹出的右键菜单中单击“复制”或“剪切”选项;在智能手机端,复制操作或剪切操作一般是通过对待选取的内容执行长按操作,然后在弹出的菜单中点击“复制”或“剪切”选项。Among them, a copy event, usually refers to an event that adds content to the clipboard through a copy operation; a cut event, usually refers to an event that adds content to the clipboard through a cut operation. There are many ways to perform a copy operation or a cut operation. For example, on the PC side, the copy operation or the cut operation is generally performed by right-clicking on the selected content, and then clicking the "Copy" or "Cut" option in the pop-up context menu; on the smartphone side, the copy operation Or the cut operation is generally performed by long pressing on the content to be selected, and then clicking the "Copy" or "Cut" option in the pop-up menu.
剪贴板(ClipBoard),也可称作剪切板、剪贴簿、剪贴本等,是一块存储区域,一般位于内存当中,用于对复制操作或剪切操作的操作对象进行临时存储。在进行复制或剪切操作后,被复制或剪切的数据便会存储于剪贴板中,以便后续执行粘贴操作时使用。Clipboard (ClipBoard), also known as clipboard, scrapbook, scrapbook, etc., is a storage area, usually located in memory, for temporary storage of operation objects for copy operations or cut operations. After copying or cutting, the copied or cut data is stored in the clipboard for subsequent use in the paste operation.
在实际应用中,对于安卓操作系统而言,可以通过监听安卓操作系统的剪贴板来监听预定类型的事件。具体地,可以利用安卓系统中的ClipboardManager组件中的addPrimaryClipChangedListener来监听预定类型的事件,当手机的剪贴板内容发生改变时,即会调用OnPrimaryClipChangedListener中onPrimaryClipChanged方法,如此便可以实现对复制事件或剪切事件的监听。In practical applications, for the Android operating system, a predetermined type of event can be monitored by listening to the clipboard of the Android operating system. Specifically, the addPrimaryClipChangedListener in the ClipboardManager component of the Android system can be used to listen to a predetermined type of event. When the content of the clipboard of the mobile phone changes, the onPrimaryClipChanged method in the OnPrimaryClipChangedListener is called, so that the copy event or the cut event can be realized. Listening.
此外,还可以通过钩子函数(Hook)来监听预定类型的事件,此处不再赘述。In addition, a predetermined type of event can be monitored by a hook function (Hook), which will not be described here.
步骤12:在监听到所述预定类型事件时,确定所述预定类型事件对应的剪贴板中的内容;Step 12: When listening to the predetermined type of event, determining content in a clipboard corresponding to the predetermined type of event;
在操作系统中,应用程序可以通过编程接口访问剪贴板的内容,这样,便可以获取到剪贴板中的内容。In the operating system, the application can access the contents of the clipboard through the programming interface, so that the contents of the clipboard can be obtained.
需要说明的是,一般而言,操作系统的剪贴板中只保存最近一次复制或剪切操作的内容,然而,有些操作系统或第三方软件的剪切板中会存在最近多次复制或剪切操作的内容,那么,本申请实施例中,可以只获取通过执行步骤11监听到的预定类型事件对应的剪贴板中的内容。It should be noted that, in general, only the contents of the last copy or cut operation are saved in the clipboard of the operating system. However, some operating systems or third-party software may have the most recent copy or cut in the clipboard. The content of the operation, then, in the embodiment of the present application, only the content in the clipboard corresponding to the predetermined type of event monitored by performing step 11 can be acquired.
步骤13:对所述内容进行分析,确定目标界面; Step 13: analyzing the content to determine a target interface;
由于用户在执行完复制操作或剪切操作后,往往是要将剪贴板中的内容粘贴到目标界面的某个输入框中,而目标界面的输入框中支持输入的内容的类型往往也是确定的。那么,可以预先给不同的内容进行分类,然后为类型和界面之间建立对应关系,其中,与某个类型对应的界面比如可以是支持输入该类型的内容的界面。那么,在监听到预定类型事件,并确定剪贴板中内容的类型后,即可确定与该类型对应的界面,作为目标界面。Since the user often pastes the contents of the clipboard into an input box of the target interface after performing the copy operation or the cut operation, the type of the input content supported by the input interface of the target interface is also determined. . Then, different content can be classified in advance, and then a correspondence is established between the type and the interface, wherein the interface corresponding to a certain type can be, for example, an interface that supports input of the content of the type. Then, after listening to the predetermined type event and determining the type of the content in the clipboard, the interface corresponding to the type can be determined as the target interface.
其次,用户在将内容粘贴到目标界面中后,往往还可能会输入一些与粘贴的内容相关的信息。比如,用户在粘贴银行卡卡号后,还可能会输入该银行卡卡号对应的银行信息;用户在粘贴某个网址,发给好友后,往往还要将网址对应的网页内容做简要描述,发给好友。那么,还可以获取与剪贴板中的内容相关的信息,然后利用剪贴板中的内容和/或与该内容相关的信息,以及与所述类型对应的界面,生成目标界面。Secondly, after the user pastes the content into the target interface, it is often possible to input some information related to the pasted content. For example, after pasting the bank card number, the user may also input the bank information corresponding to the bank card number; after the user pastes a certain website address and sends it to the friend, the content of the web page corresponding to the website is often briefly described and sent to the user. Friends. Then, information related to the content in the clipboard can also be acquired, and then the target interface can be generated by using the content in the clipboard and/or information related to the content, and an interface corresponding to the type.
利用剪贴板中的内容和/或与该内容相关的信息,以及与所述类型对应的界面,生成目标界面,具体可以是将剪贴板中的内容和/或与该内容相关的信息填入与所述类型对应的界面中,还可以是将剪贴板中的内容和/或与该内容相关的信息,填入与所述类型对应的界面的界面模板中。Generating a target interface by using content in the clipboard and/or information related to the content, and an interface corresponding to the type, and specifically, filling in content in the clipboard and/or information related to the content In the interface corresponding to the type, the content in the clipboard and/or the information related to the content may be filled in the interface template of the interface corresponding to the type.
综上所述,最终确定的目标界面,既可以是与所述类型对应的界面,也可以是利用该内容和/或与该内容相关的信息生成的界面。In summary, the finalized target interface may be an interface corresponding to the type, or an interface generated by using the content and/or information related to the content.
在实际应用中,剪贴板中的内容所属的类型可以包括下述至少一种:网页地址类型;银行卡卡号类型;账户标识类型;普通文本类型。In an actual application, the type of the content in the clipboard may include at least one of the following: a webpage address type; a bank card number type; an account identification type; a normal text type.
其中,网页地址通常是指包含.com、.cn、.net等域名后缀的文本,对于超文本链接而言,通常是以http://或https://为起始的文本。网页地址指向互联网中的网页,通过网页地址,即可访问该网页地址指向的互联网中的网页。网页地址比如可以是:http://www.a.com/b.html。The webpage address usually refers to the text containing the domain name suffixes such as .com, .cn, .net, etc. For hypertext links, the text is usually started with http:// or https://. The webpage address points to a webpage in the Internet, and the webpage address can be used to access the webpage in the internet pointed to by the webpage address. The web address can be, for example, http://www.a.com/b.html.
银行卡卡号是指各个银行发行的卡片上的编号代码,由于各个银行的银行卡卡号的起始号段有统一的规定,且各个银行的银行卡卡号的位数也有统一的规定,因此银行卡卡号的格式也是明确的。比如,对于建设银行的卡号而言,其银行卡卡号的起始号段为6227,那么其银行卡卡号的格式一般为6227 XXXX XXXX XXXX XXX,其中X代表任意阿拉伯数字。The bank card number refers to the number code on the card issued by each bank. Since the starting number of the bank card number of each bank has a unified regulation, and the number of digits of the bank card number of each bank has a unified regulation, the bank card The format of the card number is also clear. For example, for the card number of CCB, the starting number of the bank card number is 6227, then the format of the bank card number is generally 6227 XXXX XXXX XXXX XXX, where X stands for any Arabic number.
账户标识,指因特网上用户登录时用于识别用户身份的信息,其格式一般为手机号、邮箱、特定位数的数字或者用户名等。 The account identifier refers to the information used to identify the user when the user logs in on the Internet. The format is generally the mobile phone number, the mailbox, the number of specific digits, or the user name.
普通文本,指具有完整、系统含义的一个词、句子或多个句子的组合,由于文本可以是任何文字,为了与上文所描述的网页地址类型、银行卡卡号类型以及账户标识类型等类型区分,这里将不属于上面所说的几种类型的文本归为普通文本类型。普通文本类型的内容可以是文章内容、歌词、电影台词、日期等。Ordinary text refers to a combination of a word, sentence, or multiple sentences with complete, systematic meaning. Since the text can be any text, it is distinguished from the type of web page address type, bank card number type, and account identification type described above. Here, several types of text that do not belong to the above are classified as normal text types. The content of the normal text type may be article content, lyrics, movie lines, dates, and the like.
在具体确定剪贴板中的内容的类型时,可以根据剪贴板中的内容的字数、包含的特定标识等信息来确定剪贴板中的内容的类型。比如,当剪贴板中的内容为http://开头的文本,且该文本中包含.com时,则可以认为该内容的类型为网页地址类型;当剪贴板中的内容是以6227开头的19位数字时,则可以认为该内容的类型为银行卡卡号类型。When the type of the content in the clipboard is specifically determined, the type of the content in the clipboard may be determined according to the number of words of the content in the clipboard, the specific identifier included, and the like. For example, when the content in the clipboard is the text at the beginning of http://, and the text contains .com, the type of the content can be considered as the webpage address type; when the content in the clipboard starts with 6227, 19 When the number is a digit, the type of the content can be considered as the bank card number type.
由于终端的计算资源有限,为了提高类型确定时的效率,可以将剪贴板的内容上传至服务器中,由服务器来确定剪贴板中的内容的类型。Due to the limited computing resources of the terminal, in order to improve the efficiency of the type determination, the content of the clipboard can be uploaded to the server, and the server determines the type of the content in the clipboard.
步骤14:在对与所述目标界面对应的预定界面进行展示时,将所述目标界面进行展示。Step 14: Display the target interface when displaying a predetermined interface corresponding to the target interface.
由于支持展示目标界面的场景可能会有很多,比如,用户复制完网址,期望到聊天界面中粘贴时,如果在用户刚刚打开聊天应用,还未进入聊天界面时,就将根据该网址确定的目标界面进行展示,会导致用户的使用体验较差。那么,为了增强用户体验,可以在对预定界面进行展示时,再将目标界面进行展示。这里所说的与目标界面对应的预定界面可以是由开发人员预先设定的,比如,对于聊天应用而言,可以设置与根据网址生成的目标界面对应的预定界面为聊天界面,那么,当用户复制完网址进入聊天应用后,在用户进入聊天界面时才会将根据网址生成的目标界面进行展示。Since there may be many scenes supporting the display of the target interface, for example, when the user copies the URL and expects to paste into the chat interface, if the user just opens the chat application and has not entered the chat interface, the target determined according to the URL will be determined. The display of the interface will result in a poor user experience. Then, in order to enhance the user experience, the target interface can be displayed when the predetermined interface is displayed. The predetermined interface corresponding to the target interface may be preset by the developer. For example, for the chat application, the predetermined interface corresponding to the target interface generated according to the URL may be set as the chat interface, then, when the user After copying the URL into the chat application, the target interface generated according to the URL will be displayed when the user enters the chat interface.
具体获知当前展示的界面是否是预定界面的方法有很多,比如,对于安卓应用而言,可以根据当前处于顶层的Activity组件,来判断当前处于顶层的Activity组件是否是预定界面的Activity组件,进而可以判断当前展示的界面是否是预定界面。在获知当前展示的界面为预定界面后,即可将目标界面进行展示。There are many methods for knowing whether the currently displayed interface is a predetermined interface. For example, for an Android application, it may be determined according to the currently active top-level Activity component whether the current top-level Activity component is an Activity component of a predetermined interface, and thus Determine whether the currently displayed interface is a predetermined interface. After knowing that the currently displayed interface is a predetermined interface, the target interface can be displayed.
对于某些目标界面,在用户进入目标应用后就可以展示,比如,用户复制完银行卡卡号后,进入转账应用,那么用户很有可能是要对该银行卡卡号进行转账,那么,可以直接在进入转账应用时,就将转账界面展示给用户。这样,对于某些目标界面而言,为了进一步减少用户的操作步骤,可以在对目标应用中的任一界面进行展示时,便将该目标界面进行展示,而无需用户手动操作至某一特定界面。对目标应用中的任一界面进行展示时,即为目标应用处于前台运行状态时。For some target interfaces, after the user enters the target application, it can be displayed. For example, after the user copies the bank card number and enters the transfer application, the user is likely to transfer the bank card number, then, directly When entering the transfer application, the transfer interface is displayed to the user. In this way, for some target interfaces, in order to further reduce the user's operation steps, the target interface can be displayed when any interface in the target application is displayed, without the user manually operating to a specific interface. . When any of the interfaces in the target application are displayed, that is, when the target application is in the foreground running state.
这里所说的目标应用具体可以是执行复制或剪切操作时的应用,也可以不是执行复 制或剪切操作时的应用。The target application mentioned here may specifically be an application when performing a copying or cutting operation, or may not be an implementation complex. Application when making or cutting operations.
对于目标应用为执行复制或剪切操作时的应用而言,在监听到预定类型事件时,由于目标应用的界面已经是处于展示状态,则可以直接将该目标界面进行展示。For an application when the target application is performing a copy or cut operation, when the predetermined type of event is monitored, since the interface of the target application is already in the display state, the target interface can be directly displayed.
对于目标应用不是执行复制或剪切操作时的应用而言,则可以在目标应用进入前台运行状态时,将该应用中的目标界面进行展示。应用进入前台运行状态一般有两种情况,一种是应用从后台运行状态切换至前台运行状态,另一种是应用从未启动状态进入前台运行状态。For an application when the target application is not performing a copy or cut operation, the target interface in the application can be displayed when the target application enters the foreground running state. There are two situations in which an application enters the foreground running state. One is that the application switches from the background running state to the foreground running state, and the other is that the application enters the foreground running state from the unstarted state.
仍然以转账到银行卡为例,如图3所示,用户在消息应用中复制了好友发来的银行卡卡号,而目标应用和消息应用是不同的应用,在进入目标应用后,便可将目标应用中与银行卡卡号类型对应的目标界面(此例中为银行卡转账界面)进行展示,即可直接到达银行卡转账界面。Still taking the transfer to the bank card as an example, as shown in FIG. 3, the user copies the bank card number sent by the friend in the message application, and the target application and the message application are different applications, and after entering the target application, the user can In the target application, the target interface corresponding to the bank card type (in this case, the bank card transfer interface) is displayed, and the bank card transfer interface can be directly reached.
具体判断处于前台运行状态的应用的方法有很多种,对于windows操作系统而言,处于当前活动窗口的应用即为处于前台运行状态的应用,或者可以通过判断应用是否得到焦点,判断应用是否处于前台运行状态。对于安卓操作系统而言,可以通过RunningTaskInfo类来判断应用程序是处于前台运行状态还是后台运行状态,或者也可以通过RunningAppProcessInfo类来判断应用程序是处于前台运行状态还是后台运行状态。There are many methods for judging the application in the foreground running state. For the Windows operating system, the application in the current active window is the application in the foreground running state, or can determine whether the application is in the foreground by determining whether the application has the focus. Operating status. For the Android operating system, you can use the RunningTaskInfo class to determine whether the application is running in the foreground or in the background, or you can use the RunningAppProcessInfo class to determine whether the application is running in the foreground or in the background.
在确定处于前台运行状态的应用后,便可以将处于前台运行状态的应用的与所述类型对应的界面进行展示。需要说明的是,与所述类型对应的界面,可以是支持输入所述类型的内容的界面,然而在一个应用中,可能会存在多个支持输入所述类型的内容的界面。比如,对于手机号类型而言,话费充值界面可以支持输入手机号类型的内容,账号查找界面可以支持输入手机号类型的内容,聊天界面也可以支持输入手机号类型的内容。然而,并非所有支持输入所述类型的内容的界面,都有必要在应用处于前台运行状态时去展示,比如,用户复制了手机号后,其进入聊天界面粘贴手机号的概率会远远小于进入话费充值界面的概率。那么,开发人员可以预先设定在监听到预定类型事件后,应用处于前台运行状态时要展示的目标页面,作为与所述类型对应的界面,即预先建立类型和界面之间的对应关系。After determining the application in the foreground running state, the interface corresponding to the type of the application in the foreground running state can be displayed. It should be noted that the interface corresponding to the type may be an interface that supports inputting content of the type, but in one application, there may be multiple interfaces supporting input of content of the type. For example, for the mobile phone number type, the credit recharge interface can support the input of the mobile phone number type content, the account search interface can support the input of the mobile phone number type content, and the chat interface can also support the input of the mobile phone number type content. However, not all interfaces that support input of the type of content need to be displayed when the application is in the foreground running state. For example, after the user copies the mobile phone number, the probability of entering the chat interface to paste the mobile phone number is much less than entering. The probability of recharging the interface. Then, the developer can pre-set the target page to be displayed when the application is in the foreground running state after listening to the predetermined type of event, as the interface corresponding to the type, that is, the correspondence between the type and the interface is established in advance.
当然,用户在执行复制或剪切操作后,在进入某个应用后,并不一定是要访问目标界面。那么,为了防止直接向用户展示目标界面可能会导致用户的体验不好,可以在对预定界面进行展示时,在预定界面的某个区域显示该目标界面的操作入口,当接收到用户通过该操作入口发出的用于访问该目标界面的指令时,再将目标界面进行展示。 Of course, after the user performs a copy or cut operation, after entering an application, it is not necessarily to access the target interface. Then, in order to prevent the user from directly showing the target interface, the user's experience may be poor. When the predetermined interface is displayed, the operation portal of the target interface may be displayed in a certain area of the predetermined interface, and the user is received through the operation. The target interface is displayed when the entry is issued to access the target interface.
将操作入口展示于目标界面的某个区域,可以达到的有益效果是,用户可以直观地看到目标界面的操作入口,无需在当前界面中费劲查找软件原有的操作入口,提高了用户的操作效率。The operation portal is displayed in a certain area of the target interface, and the beneficial effect is that the user can intuitively see the operation portal of the target interface, and does not need to find the original operation portal of the software in the current interface, thereby improving the operation of the user. effectiveness.
对于应用中存在多个目标界面而言,同样可以在对预定界面进行展示时,在预定界面的某个区域将各目标界面的操作入口进行展示,然后在接收到针对各目标界面中的任一目标界面的展示指令时,将该指令对应的目标界面进行展示。For a plurality of target interfaces in the application, when the predetermined interface is displayed, the operation portal of each target interface is displayed in a certain area of the predetermined interface, and then any one of the target interfaces is received. When the target interface displays an instruction, the target interface corresponding to the instruction is displayed.
这里仍然以转账到银行卡为例,如图4所示,用户在消息应用中复制了好友发送的银行卡卡号,在进入目标应用后,由于目标应用中预设了两个与银行卡卡号类型对应的界面,那么,在用户进入目标应用后,可以分别将这两个界面的操作入口进行展示。在用户点击“转账到银行卡”后,即可到达银行卡转账界面。Here, the transfer to the bank card is still taken as an example. As shown in FIG. 4, the user copies the bank card number sent by the friend in the message application. After entering the target application, two types of bank card numbers are preset in the target application. Corresponding interface, then, after the user enters the target application, the operation portals of the two interfaces can be respectively displayed. After the user clicks "Transfer to Bank Card", the bank card transfer interface can be reached.
这样,即实现了对用户进行复制或粘贴操作后的操作行为的预判,在用户进入目标应用后,直接将目标界面或目标界面的操作入口进行展示,无需用户进行过多操作,提高了用户操作时的效率,便利性较高。In this way, the pre-judgment of the operation behavior after the user performs the copying or pasting operation is realized. After the user enters the target application, the operation interface of the target interface or the target interface is directly displayed, and the user is not required to perform excessive operations, thereby improving the user. The efficiency and convenience of operation are high.
考虑到用户在进入目标界面后,一般是要将剪贴板中的内容粘贴到目标界面的某个表单中。那么,为了进一步减少用户的操作,可以在展示目标界面时,将所述剪贴板中的内容,填入所述目标界面中对应的输入框中,并展示所述目标界面。这样,便无需用户再进行粘贴操作,便利性较高。Considering that after the user enters the target interface, it is generally necessary to paste the contents of the clipboard into a form on the target interface. Then, in order to further reduce the operation of the user, when the target interface is displayed, the content in the clipboard may be filled into a corresponding input box in the target interface, and the target interface may be displayed. In this way, the user does not need to perform the pasting operation, and the convenience is high.
考虑到用户在将剪贴板中的内容粘贴到目标界面的某个表单中后,可能还会在该页面中的其它表单中输入与剪贴板中的内容相关的信息。比如,对于银行转账来说,用户在输入银行卡卡号之后,还需要输入银行名称等信息。那么,可以预先获取与剪贴板中的内容相关的信息,然后将所述剪贴板中的内容和/或与所述剪贴板中的内容相关的信息,填入所述目标界面的表单中,并展示所述目标界面。这样,便无需用户再手动输入相关信息,便利性较高。如图5所示,为进入银行转账界面后,将银行卡卡号和银行名称填入转账界面中。Considering that after the user pastes the contents of the clipboard into a form on the target interface, information related to the contents of the clipboard may also be entered in other forms on the page. For example, for bank transfer, after entering the bank card number, the user also needs to input information such as the bank name. Then, information related to the content in the clipboard may be acquired in advance, and then the content in the clipboard and/or the information related to the content in the clipboard may be filled into the form of the target interface, and Show the target interface. In this way, the user does not need to manually input relevant information, and the convenience is high. As shown in FIG. 5, after entering the bank transfer interface, the bank card number and the bank name are entered in the transfer interface.
需要说明的是,在某些实施场景中,获取与剪贴板中的内容相关的信息,并不是只是获取需要填写到表单中的信息,还可以获取其它的相关信息。比如,用户复制了一段文字,然后想要利用搜索引擎搜索与该文字相关的信息,那么,可以预先获取利用搜索引擎搜索出的与该文字相关的信息,然后在用户进入目标应用后,直接将利用该内容和/或与该内容相关的信息生成的目标界面进行展示。It should be noted that in some implementation scenarios, obtaining information related to the content in the clipboard is not only obtaining information that needs to be filled in the form, but also obtaining other related information. For example, if the user copies a piece of text and then wants to use the search engine to search for information related to the text, then the information related to the text searched by the search engine can be obtained in advance, and then the user directly enters the target application after entering the target application. Presenting using the content and/or the target interface generated by the information related to the content.
下面以剪贴板中几种常见内容的类型为例,详细介绍本申请中,根据剪贴板中的内 容,确定目标界面,并在对预定界面进行展示时,对目标界面进行展示的过程。The following is an example of several common types of content in the clipboard, which is described in detail in this application, according to the inside of the clipboard. Capacity, determine the target interface, and display the target interface when displaying the predetermined interface.
当剪贴板中的内容的类型为网页地址类型,与所述类型对应的界面为网页内容展示界面,预定界面为聊天界面时,那么可以获取所述剪贴板中的网址对应的网页中的网页内容,然后将得到的网页内容,填入网页内容展示界面中,生成目标界面。该过程可以认为是将网页内容展示于网页内容展示模板中。最后,当对聊天界面进行展示时,可以将生成的目标界面以卡片的形式,展示于该聊天界面中。When the type of the content in the clipboard is a webpage address type, and the interface corresponding to the type is a webpage content display interface, and the predetermined interface is a chat interface, the webpage content in the webpage corresponding to the webpage in the clipboard may be acquired. Then, the obtained webpage content is filled in the webpage content display interface to generate a target interface. The process can be considered as displaying the content of the webpage in the webpage content presentation template. Finally, when the chat interface is displayed, the generated target interface can be displayed in the chat interface in the form of a card.
由于终端屏幕的尺寸有限,在以卡片的形式展示目标界面时,可以只在卡片中展示网页中的主要图片、网页标题和网页内容摘要,那么在获取网页中的内容时,也可以只获取期望展示的内容。同时,可以将卡片展示于聊天界面的任意位置,并可以在接收到卡片发送指令时,将卡片发送给对方。对方可以直接在聊天界面看到该卡片,而不是枯燥的网页地址,同时用户在点击卡片时,可以打开该网址对应的网页,进行详细浏览。Since the size of the terminal screen is limited, when the target interface is displayed in the form of a card, the main image, the webpage title, and the webpage content summary in the webpage can be displayed only in the card, so when the content in the webpage is acquired, only the expectation can be obtained. The content of the show. At the same time, the card can be displayed anywhere in the chat interface, and the card can be sent to the other party upon receiving the card sending instruction. The other party can see the card directly in the chat interface, instead of the boring web address, and when the user clicks on the card, the webpage corresponding to the web address can be opened for detailed browsing.
例如,如图6所示,用户在当前界面浏览了网址http://www.a.com/b.html中的内容,并期望将内容分享给好友。用户在当前界面中复制了该网址后,然后进入目标应用,当目标应用中存在多个好友时,则展示与各个好友的聊天界面的操作入口,即为好友列表界面,当用户点击“好友A”进入与好友A聊天的界面后,则自动在该聊天界面中以卡片的形式展示网址中的内容,并可以直接将卡片发送给对方。For example, as shown in FIG. 6, the user browses the content in the website http://www.a.com/b.html on the current interface, and expects to share the content to the friend. After the user copies the URL in the current interface, and then enters the target application, when there are multiple friends in the target application, the operation portal of the chat interface with each friend is displayed, that is, the friend list interface, when the user clicks "friend A" After entering the interface of chatting with friend A, the content in the website is automatically displayed in the form of a card in the chat interface, and the card can be directly sent to the other party.
本申请实施例中,在聊天界面中,通过将网页地址中对应的网页内容以卡片的形式进行展示,可以直观地将网页内容的缩略信息展示给用户,提高了用户的使用体验。In the embodiment of the present application, in the chat interface, by displaying the corresponding webpage content in the webpage address in the form of a card, the abbreviated information of the webpage content can be visually displayed to the user, thereby improving the user experience.
同样,当剪贴板中的内容的类型为网页地址类型,预定界面为与聊天界面类似的界面时,也可以以卡片的形式将剪贴板中的网页地址对应的网页内容,在预定界面中进行展示,从而提高用户的使用体验。比如,在用户发布个人动态界面,同样可以以卡片的形式展示网页内容,然后以卡片的形式将网页内容发布到个人动态中。Similarly, when the type of the content in the clipboard is a webpage address type, and the predetermined interface is an interface similar to the chat interface, the webpage content corresponding to the webpage address in the clipboard may also be displayed in a predetermined interface in the form of a card. To improve the user experience. For example, when a user posts a personal dynamic interface, the content of the webpage can also be displayed in the form of a card, and then the content of the webpage is posted to the personal dynamic in the form of a card.
当剪贴板中的内容的类型为银行卡卡号类型时,开发人员预先设定的、与银行卡卡号类型对应的目标界面为银行卡转账界面时,可以获取剪贴板中的银行卡卡号对应的银行卡信息,然后将该银行卡卡号及该银行卡卡号对应的银行卡信息,填入银行卡转账界面的表单中,并展示所述银行卡转账界面。其中,银行卡信息一般为银行卡的开户行等信息。When the type of the content in the clipboard is the bank card number type, when the target interface corresponding to the bank card number type set by the developer is the bank card transfer interface, the bank corresponding to the bank card number in the clipboard can be obtained. The card information is then filled into the form of the bank card transfer interface by the bank card number and the bank card information corresponding to the bank card number, and the bank card transfer interface is displayed. Among them, the bank card information is generally the information such as the bank account bank.
当剪贴板中的内容的类型为手机号类型,开发人员预先设定的、与手机号类型对应的目标界面为手机充值界面时,可以将该手机号填入手机充值界面的充值号码输入框中,并进行展示。 When the type of the content in the clipboard is the mobile phone number type, when the target interface corresponding to the mobile phone number type preset by the developer is the mobile phone recharge interface, the mobile phone number can be filled in the recharge number input box of the mobile phone recharge interface. And show it.
当剪贴板中的内容的类型为账户标识类型,开发人员预先设定的、与账户标识类型对应的目标界面为账户相关信息界面时,可以获取所述剪贴板中的内容对应的账户相关信息,然后将所述剪贴板中的内容及所述剪贴板中的内容对应的账户相关信息,展示于所述账户相关信息界面中。When the type of the content in the clipboard is an account identification type, and the target interface corresponding to the account identification type set by the developer is an account related information interface, the account related information corresponding to the content in the clipboard may be acquired. Then, the content in the clipboard and the account related information corresponding to the content in the clipboard are displayed in the account related information interface.
当剪贴板中的内容的类型为普通文本类型时,可以确定剪贴板中的普通文本类型的内容所属的子类型,该子类型可以是根据剪贴板中内容的出现场景划分的,比如某个内容是出现在歌词中的,那么该内容便可以划分为歌词子类型。该子类型比如可以是:文章内容、歌词、电影台词和日期等。When the type of the content in the clipboard is a normal text type, it is possible to determine the subtype to which the content of the ordinary text type in the clipboard belongs, and the subtype may be divided according to the appearance scene of the content in the clipboard, such as a certain content. It appears in the lyrics, then the content can be divided into lyric subtypes. The subtype can be, for example, article content, lyrics, movie lines, and dates.
在确定剪切板中普通文本类型的内容所属的子类型后,可以根据确定的该子类型,确定与该子类型对应的界面,并获取与剪贴板中的内容相关的信息。最后,利用该内容和/或与该内容相关的信息,以及与该子类型对应的界面,生成目标界面,并将目标界面以卡片的形式展示于预定界面中。After determining the subtype to which the content of the normal text type belongs in the clipboard, the interface corresponding to the subtype may be determined according to the determined subtype, and information related to the content in the clipboard is obtained. Finally, using the content and/or information related to the content, and an interface corresponding to the subtype, a target interface is generated, and the target interface is displayed in a predetermined interface in the form of a card.
当剪贴板中的普通文本类型的内容为文章内容时,即剪贴板中的内容为某文章中的一部分内容时,可以获取该文章的摘要信息,并在预定界面中以卡片的形式展示该文章的摘要信息。当剪贴板中的普通文本为一句歌词时,可以获取该歌词对应的音乐的相关信息,并在预定界面中以卡片的形式进行展示,进一步地,还可以唤起相应的音乐模块,播放该音乐。当剪贴板中的普通文本为电影或电视剧中的一句台词时,可以获取该电影或电视的相关信息,并在预定界面中以卡片的形式进行展示。当剪贴板中的普通文本为日期时,则以卡片的形式,将与日期相关的界面的操作入口展示于预定界面中,该操作入口比如可以是闹钟设置操作入口、提醒设置操作入口或行程设置操作入口等等。When the content of the normal text type in the clipboard is the content of the article, that is, the content in the clipboard is a part of the content of the article, the summary information of the article may be obtained, and the article is displayed as a card in the predetermined interface. Summary information. When the ordinary text in the clipboard is a lyric, the related information of the music corresponding to the lyrics can be obtained, and displayed in the form of a card in a predetermined interface, and further, the corresponding music module can be evoked to play the music. When the ordinary text in the clipboard is a line in a movie or a TV series, relevant information of the movie or television can be obtained and displayed in the form of a card in a predetermined interface. When the normal text in the clipboard is a date, the operation entry of the date-related interface is displayed in a predetermined interface in the form of a card, such as an alarm setting operation entry, a reminder setting operation entry, or a trip setting. Operation portal and so on.
本申请实施例中,通过以卡片的形式展示与剪贴板中的内容相关的信息,可以更加清晰条理地将该相关的信息进行展示,而且,卡片中的内容可以支持用户操作,互动性较强,提高了用户的使用体验。In the embodiment of the present application, by displaying the information related to the content in the clipboard in the form of a card, the related information can be displayed in a clearer manner, and the content in the card can support the user operation, and the interaction is strong. , to improve the user experience.
以上仅为本申请提供的界面展示方法在几种常见应用场景下的具体实施方案,基于本发明构思的其它应用场景下的实施方式,也应该在本申请的保护范围内。The foregoing is only a specific implementation of the interface display method provided by the present application in several common application scenarios. The implementation manners in other application scenarios based on the inventive concept should also be within the protection scope of the present application.
需要说明的是,对目标界面进行展示的时间是在对预定界面进行展示时,当接收到用户关闭目标界面的指令时,便可关闭该预定界面。这样表明用户暂时已经不需要该目标界面,那么后续当预定界面再次处于展示状态时,便无需再对目标界面进行展示。即在对预定界面进行展示时,可以只对目标界面进行一次展示,避免用户关闭目标界面后再次展示,导致用户的使用体验较差。 It should be noted that the time for displaying the target interface is when the predetermined interface is displayed, and when the user receives the instruction to close the target interface, the predetermined interface can be closed. This indicates that the user does not need the target interface for a while, and then when the predetermined interface is in the display state again, there is no need to display the target interface. That is, when the predetermined interface is displayed, the target interface may be displayed only once, to prevent the user from being displayed again after closing the target interface, resulting in a poor user experience.
由于用户在复制或剪切操作后的操作,往往与本次复制或剪切操作的内容有关,而与前一次甚至更久的复制或剪切操作无关。那么,在根据剪贴板中的内容确定目标界面时,可以只针对最后一次预定类型事件对应的剪贴板中的内容,确定目标界面。Since the user's operation after the copy or cut operation is often related to the content of this copy or cut operation, it is not related to the previous or even longer copy or cut operation. Then, when the target interface is determined according to the content in the clipboard, the target interface can be determined only for the content in the clipboard corresponding to the last scheduled type event.
如果用户进行完复制或剪切操作,隔了较长时间后,用户继续利用本次复制或剪切操作的内容的概率会很小,比如用户昨天复制了某个内容,但是今天很可能不会用到昨天复制的该内容。那么可以确定当前时刻与监听到预定类型事件时的时刻的时间差,当该时间差大于预设的时间差时,才对剪贴板中的内容进行分析,确定目标界面。If the user finishes copying or cutting, after a long time, the probability that the user continues to use the content of this copy or cut operation will be small, for example, the user copied a certain content yesterday, but it is likely that it will not Use the content copied yesterday. Then, the time difference between the current time and the time when the predetermined type of event is monitored can be determined. When the time difference is greater than the preset time difference, the content in the clipboard is analyzed to determine the target interface.
本申请实施例中,还可以根据剪贴板中的内容,向用户进行个性化推荐。个性化推荐可以根据用户的兴趣特点,向用户推荐用户感兴趣的信息。剪贴板中的内容可以从一定程度上反映用户的喜好,比如用户经常复制某种风格的歌曲的歌词,那么表明该用户喜欢该风格的歌曲,则可以向用户推荐属于该风格的歌曲。In the embodiment of the present application, the user may also perform personalized recommendation according to the content in the clipboard. Personalized recommendations can recommend information of interest to users based on their interests. The content in the clipboard can reflect the user's preferences to a certain extent. For example, the user often copies the lyrics of a certain style of song, and then indicates that the user likes the song of the style, and the song belonging to the style can be recommended to the user.
本申请实施例1提供的界面展示方法,通过对预定类型事件进行监听,该预定类型事件为使得剪贴板中的内容发生变化的事件,当监听到预定类型事件时,便确定该预定类型事件对应的剪贴板中的内容,并对该内容进行分析,以便确定目标界面,然后在对与所述目标界面对应的预定界面进行展示时,将确定的目标界面进行展示。即用户在执行复制或剪切等使得剪贴板中的内容发生变化的操作后,在到达预定界面后,无需用户再对预定界面进行操作,即可到达与复制或剪切的内容相关的目标界面,便利性较高。The interface display method provided by Embodiment 1 of the present application is to monitor a predetermined type of event, which is an event that causes content in the clipboard to change. When a predetermined type of event is detected, it is determined that the predetermined type of event corresponds to The content in the clipboard, and the content is analyzed to determine the target interface, and then the determined target interface is displayed when the predetermined interface corresponding to the target interface is displayed. That is, after the user performs an operation such as copying or cutting to change the content in the clipboard, after reaching the predetermined interface, the user can reach the target interface related to the copied or cut content without operating the predetermined interface. , the convenience is higher.
实施例2Example 2
为解决现有技术中展示目标界面时便利性较低的问题,本申请实施例2提供一种界面展示装置。该界面展示装置的结构示意图如图7所示,主要包括下述功能单元:To solve the problem of low convenience when the target interface is displayed in the prior art, Embodiment 2 of the present application provides an interface display device. The structure diagram of the interface display device is shown in FIG. 7 and mainly includes the following functional units:
监听单元21,监听预定类型事件;所述预定类型事件为复制事件或剪切事件;The monitoring unit 21 monitors a predetermined type of event; the predetermined type of event is a copy event or a cut event;
内容确定单元22,在监听到所述预定类型事件时,确定所述预定类型事件对应的剪贴板中的内容;The content determining unit 22 determines, when the predetermined type of event is detected, the content in the clipboard corresponding to the predetermined type of event;
目标界面确定单元23,对所述内容进行分析,确定目标界面;The target interface determining unit 23 analyzes the content to determine a target interface;
界面展示单元24,在对与所述目标界面对应的预定界面进行展示时,将所述目标界面进行展示。The interface display unit 24 displays the target interface when displaying a predetermined interface corresponding to the target interface.
上述装置实施例的具体工作流程是,通过监听单元21对预定类型事件进行监听,在监听到所述预定类型事件时,内容确定单元22会确定所述预定类型事件对应的剪贴板中的内容,然后目标界面确定单元23会对所述内容进行分析,确定目标界面,界面展示单 元24会在对与所述目标界面对应的预定界面进行展示时,将所述目标界面进行展示。The specific working process of the device embodiment is that the monitoring unit 21 monitors a predetermined type of event. When the predetermined type of event is monitored, the content determining unit 22 determines the content of the clipboard corresponding to the predetermined type of event. Then, the target interface determining unit 23 analyzes the content, determines the target interface, and displays the interface. The element 24 displays the target interface when the predetermined interface corresponding to the target interface is displayed.
本申请实施例中,对界面进行展示的具体实施方法有很多中,在一种实施方式中,所述目标界面确定单元23,具体包括类型确定子单元23-1和第一界面确定子单元23-2,其中:In the embodiment of the present application, there are many specific implementation methods for displaying the interface. In an implementation manner, the target interface determining unit 23 specifically includes a type determining subunit 23-1 and a first interface determining subunit 23 -2, where:
所述类型确定子单元23-1,确定所述内容的类型;The type determining subunit 23-1 determines a type of the content;
所述第一界面确定子单元23-2,根据确定的所述类型,确定与所述类型对应的界面,作为确定目标界面。The first interface determining sub-unit 23-2 determines an interface corresponding to the type as the determining target interface according to the determined type.
在一种实施方式中,所述目标界面确定单元23,具体包括相关信息获取子单元23-3和第二界面确定子单元23-4,其中:In an embodiment, the target interface determining unit 23 specifically includes a related information acquiring subunit 23-3 and a second interface determining subunit 23-4, wherein:
所述相关信息获取子单元23-3,获取与所述内容相关的信息;The related information acquiring sub-unit 23-3 acquires information related to the content;
所述第二界面确定子单元23-4,利用所述内容和/或与所述内容相关的信息,以及与所述类型对应的界面,生成目标界面。The second interface determining subunit 23-4 generates a target interface by using the content and/or information related to the content and an interface corresponding to the type.
在一种实施方式中,所述界面展示单元24,选择与所述类型对应的展示方式,将所述目标界面进行展示。In an embodiment, the interface display unit 24 selects a display manner corresponding to the type, and displays the target interface.
在一种实施方式中,所述类型包括下述至少一种:In one embodiment, the type comprises at least one of the following:
网页地址类型;银行卡卡号类型;账户标识类型;普通文本类型。Web page address type; bank card number type; account identification type; plain text type.
在一种实施方式中,当所述剪贴板中的内容的类型为网页地址类型,与所述类型对应的界面为网页内容展示界面时;In an embodiment, when the type of the content in the clipboard is a webpage address type, and the interface corresponding to the type is a webpage content presentation interface;
所述相关信息获取子单元23-3,获取所述剪贴板中的网址对应的网页中的网页内容;The related information obtaining sub-unit 23-3 acquires webpage content in a webpage corresponding to the webpage in the clipboard;
所述第一界面确定子单元23-4,将得到的网页中的内容,填入所述网页内容展示界面中,生成目标界面。The first interface determining sub-unit 23-4 fills the content of the obtained webpage into the webpage content display interface to generate a target interface.
在一种实施方式中,当所述预定界面为聊天界面时,所述界面展示单元24,在对聊天界面进行展示时,以卡片的形式,将得到的目标界面展示于所述聊天界面中。In an embodiment, when the predetermined interface is a chat interface, the interface display unit 24 displays the obtained target interface in the chat interface in the form of a card when displaying the chat interface.
在一种实施方式中,当所述剪贴板中的内容的类型为银行卡卡号类型,与所述类型对应的界面为银行卡转账界面时;In an embodiment, when the type of the content in the clipboard is a bank card number type, and the interface corresponding to the type is a bank card transfer interface;
所述相关信息获取子单元23-3,获取所述剪贴板中的银行卡卡号对应的银行卡信息;The related information obtaining sub-unit 23-3 acquires bank card information corresponding to the bank card number in the clipboard;
所述第一界面确定子单元23-4,将所述剪贴板中的银行卡卡号及所述银行卡卡号对应的银行卡信息,填入银行卡转账界面的表单中,作为目标界面。The first interface determining subunit 23-4 fills the bank card number in the clipboard and the bank card information corresponding to the bank card number into a form of the bank card transfer interface as a target interface.
在一种实施方式中,当所述剪贴板中的内容的类型为账户标识类型,与所述类型对应的界面为账户相关信息界面时; In an embodiment, when the type of the content in the clipboard is an account identification type, and the interface corresponding to the type is an account related information interface;
所述相关信息获取子单元23-3,获取所述剪贴板中的账户标识对应的账户相关信息;The related information obtaining sub-unit 23-3 acquires account related information corresponding to the account identifier in the clipboard;
所述第一界面确定子单元23-4,将所述剪贴板中的账户标识及所述剪贴板中的账户标识对应的账户相关信息,填入所述账户相关信息界面中,作为目标界面。The first interface determining subunit 23-4 fills the account identifier in the clipboard and the account related information corresponding to the account identifier in the clipboard into the account related information interface as a target interface.
在一种实施方式中,当所述剪贴板中的内容的类型为普通文本类型时,所述装置还包括:In an embodiment, when the type of the content in the clipboard is a normal text type, the device further includes:
子类型确定单元25,确定剪贴板中的普通文本类型的内容所属的子类型;The subtype determining unit 25 determines a subtype to which the content of the normal text type in the clipboard belongs;
所述相关信息获取子单元23-3,根据确定的所述子类型,获取与剪贴板中的内容相关的信息;The related information obtaining sub-unit 23-3 acquires information related to the content in the clipboard according to the determined subtype;
所述第一界面确定子单元23-4,利用所述内容和/或与所述内容相关的信息,以及与所述子类型对应的界面,生成目标界面。The first interface determining subunit 23-4 generates a target interface by using the content and/or information related to the content and an interface corresponding to the subtype.
在一种实施方式中,所述子类型包括下述至少一种:In one embodiment, the subtype includes at least one of the following:
文章内容;歌词;电影台词;日期。Article content; lyrics; movie lines; date.
在一种实施方式中,当所述预定界面为目标应用中的任一界面时,所述界面展示单元24,在对目标应用中的任一界面进行展示时,选择与所述类型对应的展示方式,将所述目标界面进行展示。In an embodiment, when the predetermined interface is any one of the target applications, the interface display unit 24 selects an impression corresponding to the type when displaying any interface in the target application. In the manner, the target interface is displayed.
在一种实施方式中,所述目标界面确定单元,确定当前时刻与所述监听到所述预定类型事件时的时刻的时间差;当所述时间差大于预设的时间差时,对所述内容进行分析,确定目标界面。In an embodiment, the target interface determining unit determines a time difference between a current time and a time when the predetermined type of event is monitored; and when the time difference is greater than a preset time difference, analyzing the content. , determine the target interface.
在一种实施方式中,所述界面展示单元24具体包括操作入口展示子单元24-1和展示指令接收子单元24-2,其中:In an embodiment, the interface display unit 24 specifically includes an operation entry display sub-unit 24-1 and a presentation instruction receiving sub-unit 24-2, wherein:
所述操作入口展示子单元24-1,将各目标界面的操作入口进行展示;The operation portal display sub-unit 24-1 displays the operation portal of each target interface;
所述展示指令接收子单元24-2,在通过各操作入口接收到针对各目标界面中的任一目标界面的展示指令时,将该指令对应的目标界面进行展示。The display instruction receiving sub-unit 24-2 displays the target interface corresponding to the target interface when the display instruction for any of the target interfaces is received through each operation portal.
在一种实施方式中,所述装置还包括推荐单元26,根据剪贴板的内容,进行个性化推荐。In one embodiment, the apparatus further includes a recommendation unit 26 that performs personalized recommendations based on the content of the clipboard.
本申请实施例2提供的界面展示装置,通过对预定类型事件进行监听,该预定类型事件为使得剪贴板中的内容发生变化的事件,当监听到预定类型事件时,便确定该预定类型事件对应的剪贴板中的内容,并对该内容进行分析,以便确定目标界面,在对与所述目标界面对应的预定界面进行展示时,将确定的目标界面进行展示。即用户复制或剪切完内容,在到达预定界面后,无需用户再对预定界面进行操作,即可到达与复制或剪 切的内容相关的目标界面,便利性较高。The interface display device provided in Embodiment 2 of the present application monitors a predetermined type of event, which is an event that causes content in the clipboard to change. When a predetermined type event is detected, it is determined that the predetermined type event corresponds to The content in the clipboard is analyzed, and the content is analyzed to determine a target interface, and the determined target interface is displayed when the predetermined interface corresponding to the target interface is displayed. That is, the user copies or cuts the content, and after reaching the predetermined interface, the user can reach and copy or cut without performing the operation on the predetermined interface. The content interface related to the content is cut, and the convenience is high.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory. Memory is an example of a computer readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存 储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer readable media includes both permanent and non-persistent, removable and non-removable media. Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. Memory (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optics Storage, magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by computing devices. As defined herein, computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It is also to be understood that the terms "comprises" or "comprising" or "comprising" or any other variations are intended to encompass a non-exclusive inclusion, such that a process, method, article, Other elements not explicitly listed, or elements that are inherent to such a process, method, commodity, or equipment. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device including the element.
本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment in combination of software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。 The above description is only an embodiment of the present application and is not intended to limit the application. Various changes and modifications can be made to the present application by those skilled in the art. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the present application are intended to be included within the scope of the appended claims.

Claims (20)

  1. 一种界面展示方法,其特征在于,包括:An interface display method, comprising:
    监听预定类型事件;所述预定类型事件为使得剪贴板中的内容发生变化的事件;Listening to a predetermined type of event; the predetermined type of event is an event that causes content in the clipboard to change;
    在监听到所述预定类型事件时,确定所述预定类型事件对应的剪贴板中的内容;Determining content in the clipboard corresponding to the predetermined type of event when the predetermined type of event is detected;
    对所述内容进行分析,确定目标界面;Performing analysis on the content to determine a target interface;
    在对与所述目标界面对应的预定界面进行展示时,将所述目标界面进行展示。The target interface is displayed when the predetermined interface corresponding to the target interface is displayed.
  2. 如权利要求1所述方法,其特征在于,对所述内容进行分析,确定目标界面,具体包括:The method of claim 1, wherein analyzing the content to determine a target interface comprises:
    确定所述内容所属的类型;Determining the type to which the content belongs;
    根据确定的所述类型,确定与所述类型对应的界面,作为目标界面。According to the determined type, an interface corresponding to the type is determined as a target interface.
  3. 如权利要求2所述方法,其特征在于,根据确定的所述类型,确定与所述类型对应的界面,作为目标界面,具体包括:The method of claim 2, wherein determining the interface corresponding to the type according to the determined type, as the target interface, specifically includes:
    根据确定的所述类型,确定与所述类型对应的界面;Determining an interface corresponding to the type according to the determined type;
    获取与所述内容相关的信息;Obtaining information related to the content;
    利用所述内容和/或与所述内容相关的信息,以及与所述类型对应的界面,生成目标界面。A target interface is generated using the content and/or information related to the content, and an interface corresponding to the type.
  4. 如权利要求3所述方法,其特征在于,将所述目标界面进行展示,具体包括:The method of claim 3, wherein the displaying the target interface comprises:
    选择与所述类型对应的展示方式,将所述目标界面进行展示。The display mode corresponding to the type is selected, and the target interface is displayed.
  5. 如权利要求4所述方法,其特征在于,所述类型包括下述至少一种:The method of claim 4 wherein said type comprises at least one of the following:
    网页地址类型;Web page address type;
    银行卡卡号类型;Bank card number type;
    账户标识类型;Account identification type;
    普通文本类型。Normal text type.
  6. 如权利要求5所述方法,其特征在于,当所述剪贴板中的内容的类型为网页地址类型,与所述类型对应的界面为网页内容展示界面时;The method of claim 5, wherein when the type of the content in the clipboard is a webpage address type, and the interface corresponding to the type is a webpage content presentation interface;
    则,获取与所述内容相关的信息,具体包括:Then, obtaining information related to the content, specifically including:
    获取所述剪贴板中的网址对应的网页中的网页内容;Obtaining webpage content in a webpage corresponding to the webpage in the clipboard;
    则,利用所述内容和/或与所述内容相关的信息,以及与所述类型对应的界面,生成目标界面,具体包括:Then, generating the target interface by using the content and/or the information related to the content, and the interface corresponding to the type, specifically including:
    将得到的网页中的内容,填入所述网页内容展示界面中,生成目标界面。 The content in the obtained webpage is filled in the webpage content display interface to generate a target interface.
  7. 如权利要求6所述方法,其特征在于,当所述预定界面为聊天界面时,在对与所述目标界面对应的预定界面进行展示时,选择与所述类型对应的展示方式,将所述目标界面进行展示,具体包括:The method of claim 6, wherein when the predetermined interface is a chat interface, when displaying a predetermined interface corresponding to the target interface, selecting a display manner corresponding to the type, The target interface is displayed, including:
    在对聊天界面进行展示时,以卡片的形式,将生成的目标界面展示于所述聊天界面中。When the chat interface is displayed, the generated target interface is displayed in the chat interface in the form of a card.
  8. 如权利要求5所述方法,其特征在于,当所述剪贴板中的内容的类型为银行卡卡号类型,与所述类型对应的界面为银行卡转账界面时;The method according to claim 5, wherein when the type of the content in the clipboard is a bank card number type, and the interface corresponding to the type is a bank card transfer interface;
    则,获取与所述内容相关的信息,具体包括:Then, obtaining information related to the content, specifically including:
    获取所述剪贴板中的银行卡卡号对应的银行卡信息;Obtaining bank card information corresponding to the bank card number in the clipboard;
    则,利用所述内容和/或与所述内容相关的信息,以及与所述类型对应的界面,生成目标界面,具体包括:Then, generating the target interface by using the content and/or the information related to the content, and the interface corresponding to the type, specifically including:
    将所述剪贴板中的银行卡卡号及所述银行卡信息,填入银行卡转账界面的表单中,作为目标界面。The bank card number and the bank card information in the clipboard are filled in the form of the bank card transfer interface as a target interface.
  9. 如权利要求5所述方法,其特征在于,当所述剪贴板中的内容的类型为账户标识类型,与所述类型对应的界面为账户相关信息界面时;The method according to claim 5, wherein when the type of the content in the clipboard is an account identification type, and the interface corresponding to the type is an account related information interface;
    则,获取与所述内容相关的信息,具体包括:Then, obtaining information related to the content, specifically including:
    获取所述剪贴板中的账户标识对应的账户相关信息;Obtaining account related information corresponding to the account identifier in the clipboard;
    则,利用所述内容和/或与所述内容相关的信息,以及与所述类型对应的界面,生成目标界面,具体包括:Then, generating the target interface by using the content and/or the information related to the content, and the interface corresponding to the type, specifically including:
    将所述剪贴板中的账户标识及所述账户相关信息,填入所述账户相关信息界面中,作为目标界面。The account identifier in the clipboard and the account related information are filled in the account related information interface as a target interface.
  10. 如权利要求5所述方法,其特征在于,当所述剪贴板中的内容的类型为普通文本类型时,所述方法还包括:The method of claim 5, wherein when the type of the content in the clipboard is a normal text type, the method further comprises:
    确定剪贴板中的普通文本类型的内容所属的子类型;Determining the subtype to which the content of the plain text type in the clipboard belongs;
    则,获取与剪贴板中的内容相关的信息,具体包括:Then, obtaining information related to the content in the clipboard, specifically:
    根据确定的所述子类型,获取与剪贴板中的内容相关的信息;Obtaining information related to content in the clipboard according to the determined subtype;
    则,利用所述内容和/或与所述内容相关的信息,以及与所述类型对应的界面,生成目标界面,具体包括:Then, generating the target interface by using the content and/or the information related to the content, and the interface corresponding to the type, specifically including:
    利用所述内容和/或与所述内容相关的信息,以及与所述子类型对应的界面,生成目标界面。 A target interface is generated using the content and/or information related to the content, and an interface corresponding to the subtype.
  11. 如权利要求10所述方法,其特征在于,所述子类型包括下述至少一种:The method of claim 10 wherein said subtype comprises at least one of:
    文章内容;Article content;
    歌词;lyrics;
    电影台词;movie lines;
    日期。date.
  12. 如权利要求6或8~10任一所述方法,其特征在于,当所述预定界面为目标应用中的任一界面时,在对与所述目标界面对应的预定界面进行展示时,选择与所述类型对应的展示方式,将所述目标界面进行展示,具体包括:The method according to any one of claims 6 or 8 to 10, wherein when the predetermined interface is any one of the target applications, when displaying the predetermined interface corresponding to the target interface, selecting and Displaying the target interface according to the display manner corresponding to the type, specifically including:
    在对目标应用中的任一界面进行展示时,选择与所述类型对应的展示方式,将所述目标界面进行展示。When displaying any interface in the target application, selecting a display manner corresponding to the type, and displaying the target interface.
  13. 如权利要求1所述方法,其特征在于,对所述内容进行分析,确定目标界面,具体包括:The method of claim 1, wherein analyzing the content to determine a target interface comprises:
    确定当前时刻与所述监听到所述预定类型事件时的时刻的时间差;Determining a time difference between a current time and a time when the predetermined type event is monitored;
    当所述时间差大于预设的时间差时,对所述内容进行分析,确定目标界面。When the time difference is greater than a preset time difference, the content is analyzed to determine a target interface.
  14. 如权利要求1所述方法,其特征在于,将所述目标界面进行展示,具体包括:The method of claim 1, wherein the displaying the target interface comprises:
    将各目标界面的操作入口进行展示;Display the operation portal of each target interface;
    在通过各操作入口接收到针对各目标界面中的任一目标界面的展示指令时,将该指令对应的目标界面进行展示。When a display instruction for any one of the target interfaces is received through each operation portal, the target interface corresponding to the instruction is displayed.
  15. 如权利要求1所述方法,其特征在于,所述方法还包括:The method of claim 1 wherein the method further comprises:
    根据剪贴板的内容,进行个性化推荐。Personalize recommendations based on the contents of the clipboard.
  16. 一种界面展示装置,其特征在于,包括:An interface display device, comprising:
    监听单元,监听预定类型事件;所述预定类型事件为复制事件或剪切事件;a listening unit that listens to a predetermined type of event; the predetermined type of event is a copy event or a cut event;
    内容确定单元,在监听到所述预定类型事件时,确定所述预定类型事件对应的剪贴板中的内容;a content determining unit, when listening to the predetermined type of event, determining content in a clipboard corresponding to the predetermined type of event;
    目标界面确定单元,对所述内容进行分析,确定目标界面;a target interface determining unit, analyzing the content to determine a target interface;
    界面展示单元,在对与所述目标界面对应的预定界面进行展示时,将所述目标界面进行展示。The interface display unit displays the target interface when displaying the predetermined interface corresponding to the target interface.
  17. 如权利要求16所述装置,其特征在于,所述目标界面确定单元,具体包括类型确定子单元和第一界面确定子单元,其中:The device according to claim 16, wherein the target interface determining unit comprises a type determining subunit and a first interface determining subunit, wherein:
    所述类型确定子单元,确定所述内容的类型; The type determining subunit determines a type of the content;
    所述第一界面确定子单元,根据确定的所述类型,确定与所述类型对应的界面,作为目标界面。The first interface determining subunit determines an interface corresponding to the type as a target interface according to the determined type.
  18. 如权利要求17所述装置,其特征在于,所述目标界面确定单元,具体包括相关信息获取单元和第二界面确定子单元,其中:The device according to claim 17, wherein the target interface determining unit comprises: a related information acquiring unit and a second interface determining subunit, wherein:
    所述相关信息获取子单元,获取与所述内容相关的信息;The related information acquiring subunit acquires information related to the content;
    所述第二界面确定子单元,利用所述内容和/或与所述内容相关的信息,以及与所述类型对应的界面,生成目标界面。The second interface determining subunit generates a target interface by using the content and/or information related to the content and an interface corresponding to the type.
  19. 如权利要求18所述装置,其特征在于,所述界面展示单元,选择与所述类型对应的展示方式,将所述目标界面进行展示。The device according to claim 18, wherein the interface display unit selects a display manner corresponding to the type, and displays the target interface.
  20. 如权利要求16所述装置,其特征在于,所述界面展示单元具体包括操作入口展示子单元和展示指令接收子单元,其中:The device according to claim 16, wherein the interface display unit comprises an operation entry display subunit and a display instruction receiving subunit, wherein:
    所述操作入口展示子单元,将各目标界面的操作入口进行展示;The operation portal displays a sub-unit, and displays an operation portal of each target interface;
    所述展示指令接收子单元,在通过各操作入口接收到针对各目标界面中的任一目标界面的展示指令时,将该指令对应的目标界面进行展示。 The display instruction receiving sub-unit displays the target interface corresponding to the target interface when the display instruction for any target interface in each target interface is received through each operation portal.
PCT/CN2017/097627 2016-08-29 2017-08-16 Interface display method and device WO2018040913A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610752071.6 2016-08-29
CN201610752071.6A CN106897155B (en) 2016-08-29 2016-08-29 A kind of method for showing interface and device

Publications (1)

Publication Number Publication Date
WO2018040913A1 true WO2018040913A1 (en) 2018-03-08

Family

ID=59191119

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/097627 WO2018040913A1 (en) 2016-08-29 2017-08-16 Interface display method and device

Country Status (3)

Country Link
CN (2) CN106897155B (en)
TW (1) TWI683251B (en)
WO (1) WO2018040913A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897155B (en) * 2016-08-29 2019-11-05 阿里巴巴集团控股有限公司 A kind of method for showing interface and device
CN107562316B (en) * 2017-08-29 2019-02-05 Oppo广东移动通信有限公司 Method for showing interface, device and terminal
CN109754275B (en) * 2017-11-06 2023-06-27 阿里巴巴集团控股有限公司 Data object information providing method and device and electronic equipment
CN108664303B (en) * 2018-04-28 2023-06-30 北京小米移动软件有限公司 Webpage content display method and device
CN109086110A (en) * 2018-07-03 2018-12-25 深圳鼎盛电脑科技有限公司 A kind of display methods of business information, device, terminal and storage medium
CN112083978B (en) * 2019-06-12 2024-01-16 钉钉控股(开曼)有限公司 Event sharing method and device
CN110381209A (en) * 2019-07-22 2019-10-25 网易(杭州)网络有限公司 Processing method, device and the storage medium of pasting boards message
CN110413169B (en) * 2019-07-24 2021-11-23 北京小米移动软件有限公司 Information display method, device and medium
CN110472978B (en) * 2019-08-23 2022-03-08 北京丁牛科技有限公司 Digital currency address tamper-proof method and system
CN113656193A (en) * 2021-08-11 2021-11-16 挂号网(杭州)科技有限公司 Application communication method, system, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043666A (en) * 2010-10-27 2011-05-04 宇龙计算机通信科技(深圳)有限公司 Operating method and system for application coordination and mobile terminal
CN103516904A (en) * 2013-09-22 2014-01-15 东莞宇龙通信科技有限公司 Method for sharing data in terminal and terminal
CN104899269A (en) * 2015-05-26 2015-09-09 北京金山安全软件有限公司 Method and device for accessing website link
US20160234141A1 (en) * 2015-02-11 2016-08-11 Line Corporation Methods, systems and computer readable mediums for providing a rich menu for instant messaging services
CN106897155A (en) * 2016-08-29 2017-06-27 阿里巴巴集团控股有限公司 A kind of method for showing interface and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064584B (en) * 2012-12-24 2016-01-13 东莞宇龙通信科技有限公司 Method of attaching and device
CN103021403A (en) * 2012-12-31 2013-04-03 威盛电子股份有限公司 Voice recognition based selecting method and mobile terminal device and information system thereof
CN104142774B (en) * 2013-05-06 2019-02-26 腾讯科技(深圳)有限公司 The processing method and processing device of content of pages
CN104166646B (en) * 2013-05-16 2018-07-06 腾讯科技(深圳)有限公司 A kind of method and apparatus for inputting uniform resource locator
CN106933959A (en) * 2013-11-15 2017-07-07 北京奇虎科技有限公司 Browser side carries out the method and browser of web search
CN105068721B (en) * 2015-08-27 2019-03-15 Oppo广东移动通信有限公司 A kind of actions menu display methods and terminal
CN105302561A (en) * 2015-11-05 2016-02-03 精硕世纪科技(北京)有限公司 Memory clipboard based intelligent identification method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043666A (en) * 2010-10-27 2011-05-04 宇龙计算机通信科技(深圳)有限公司 Operating method and system for application coordination and mobile terminal
CN103516904A (en) * 2013-09-22 2014-01-15 东莞宇龙通信科技有限公司 Method for sharing data in terminal and terminal
US20160234141A1 (en) * 2015-02-11 2016-08-11 Line Corporation Methods, systems and computer readable mediums for providing a rich menu for instant messaging services
CN104899269A (en) * 2015-05-26 2015-09-09 北京金山安全软件有限公司 Method and device for accessing website link
CN106897155A (en) * 2016-08-29 2017-06-27 阿里巴巴集团控股有限公司 A kind of method for showing interface and device

Also Published As

Publication number Publication date
CN110941500A (en) 2020-03-31
CN106897155A (en) 2017-06-27
CN110941500B (en) 2023-05-09
TWI683251B (en) 2020-01-21
TW201807560A (en) 2018-03-01
CN106897155B (en) 2019-11-05

Similar Documents

Publication Publication Date Title
WO2018040913A1 (en) Interface display method and device
US10776501B2 (en) Automatic augmentation of content through augmentation services
US8533238B2 (en) Sharing information about a document across a private computer network
WO2018045750A1 (en) Method, system, server and user terminal for displaying comment data of user
CN107979632B (en) Processing method, device and system for push information
US20100313149A1 (en) Aggregating dynamic visual content
TWI661368B (en) Method and device for information display
US11620444B2 (en) Providing action associated with event detected within communication
US8903931B1 (en) Methods for generating e-mail message interfaces
US20140337711A1 (en) Automatic Website Generation
TW201727561A (en) Service component management method and system capable of carrying out the interaction between multiple service components thereby realizing a service in a particular scenario
US20170090705A1 (en) Conversation and version control for objects in communications
WO2018076269A1 (en) Data processing method, and electronic terminal
US8856230B2 (en) In browser real time collaboration lists and forms
WO2016110203A1 (en) File path storing and local file accessing method and device
CN110968314B (en) Page generation method and device
JP2015517161A (en) Content-based web extensions and content linking
TWI519980B (en) Method and device for displaying web page and computer-readable storage medium
CN105354195B (en) Information searching method and device
TW201528005A (en) Employing presence information in notebook application
US11068853B2 (en) Providing calendar utility to capture calendar event
US20230281695A1 (en) Determining and presenting information related to a semantic context of electronic message text or voice data
WO2016018682A1 (en) Processing image to identify object for insertion into document
JP2006236329A (en) Creation and configuration for item set
WO2017100011A1 (en) Spatially organizing communications

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: 17845215

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: 17845215

Country of ref document: EP

Kind code of ref document: A1