A method and apparatus for loading information, an electronic device, and a storage medium
By determining relevance and automatically loading information when switching applications, the problem of cumbersome operation in existing technologies is solved, improving application efficiency and user experience.
Patent Information
- Application Number
- CN201811161512.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-09-30
- Publication Date
- 2026-01-06
- Estimated Expiration
- 2038-09-30
AI Technical Summary
When switching applications, existing technologies require users to repeatedly input operations, which is cumbersome and inefficient, affecting the user experience.
By acquiring the operation information of the first application, and determining whether the two are related when switching to the second application, if they are related, the first operation information is automatically loaded into the second application, including using predictive models and historical switching logs to optimize the loading process.
It enables automatic information loading in the application, improving efficiency, reducing the complexity of user operations, and enhancing the user experience.
Smart Images

Figure CN109491719B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of natural language processing, and in particular to a method and apparatus for loading information, an electronic device, and a storage medium. Background Technology
[0002] With the development of internet technology, there are more and more applications. When users perform an operation in one application, they often need to switch to another application to perform the same operation.
[0003] For example, if a user wants to buy an action camera, after searching for "action camera" on Taobao, they need to switch to JD.com and search for "action camera" again on JD.com.
[0004] In existing technologies, when it is necessary to switch to another application to perform the same operation, it usually relies on the user repeatedly inputting information in the other application, or switching back and forth between the two applications. This is cumbersome, inefficient, and affects the user experience. Summary of the Invention
[0005] In view of the above problems, this application is made to provide an information loading method, apparatus, electronic device, and storage medium that overcomes or at least partially solves the above problems, including:
[0006] A method for loading information, the method comprising:
[0007] Obtain the first operation information corresponding to the first application;
[0008] When a switch from the first application to the second application is detected, it is determined whether the second application is associated with the first application;
[0009] If it is determined that the second application is associated with the first application, then the first operation information is loaded into the second application.
[0010] Optionally, the step of determining whether the second application is associated with the first application includes:
[0011] Obtain the first attribute information corresponding to the first application;
[0012] And, obtain the second attribute information corresponding to the second application;
[0013] The first operation information, the first attribute information, and the second attribute information are input into a pre-established prediction model, and the judgment result output by the prediction model is received.
[0014] Optionally, before the step of loading the first operation information into the second application if it is determined that the second application is associated with the first application, the method further includes:
[0015] Get historical switch logs;
[0016] From the historical switching log, count the number of times a specified event occurs; wherein the specified event is when information loaded from the first application is used in the second application after switching from the first application to the second application.
[0017] Optionally, the step of loading the first operation information into the second application if it is determined that the second application is associated with the first application includes:
[0018] If it is determined that the second application is associated with the first application, and the number of occurrences is greater than the first threshold, then the first operation information is loaded into the second application.
[0019] The method further includes:
[0020] If it is determined that the second application is not associated with the first application, and the number of occurrences is greater than the second threshold, then the first operation information is loaded into the second application.
[0021] Optionally, the step of loading the first operation information into the second application includes:
[0022] In the second application, a floating information window is displayed;
[0023] The first operation information is loaded into the information floating window so that the function corresponding to the first operation information is triggered when the user clicks the information floating window.
[0024] Optionally, it also includes:
[0025] Obtain the second operation information corresponding to the second application;
[0026] From the first operation information, determine the information that matches the second operation information, and replace the first operation information with the information that matches the second operation information.
[0027] Optionally, the first operation information includes one or more of the following:
[0028] User request information, application feedback information, and key interface information.
[0029] Optionally, when the first operation information includes key interface information, the step of obtaining the first operation information corresponding to the first application includes:
[0030] During the use of the first application, multiple frames of interface images are captured;
[0031] Identify the regions of difference in the multi-frame interface images and extract key interface information from these regions.
[0032] An information loading apparatus, the apparatus comprising:
[0033] The first operation information acquisition module is used to acquire the first operation information corresponding to the first application;
[0034] The association determination module is used to determine whether the second application is associated with the first application when a switch from the first application to the second application is detected.
[0035] An information loading module is used to load the first operation information into the second application if it is determined that the second application is associated with the first application.
[0036] An electronic device includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the steps of the information loading method as described above.
[0037] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the information loading method described above.
[0038] This application has the following advantages:
[0039] In this application, by obtaining the first operation information corresponding to the first application, when switching from the first application to the second application is detected, it is determined whether the second application is associated with the first application. If it is determined that the second application is associated with the first application, the first operation information is loaded into the second application, thereby realizing the automatic loading of information from the first application into the second application and improving the efficiency of application usage. Attached Figure Description
[0040] To more clearly illustrate the technical solution of this application, the drawings used in the description of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0041] Figure 1 This is a flowchart illustrating the steps of an information loading method according to an embodiment of this application;
[0042] Figure 2aThis is a schematic diagram of a first frame interface image provided in an embodiment of this application;
[0043] Figure 2b This is a schematic diagram of a second frame interface image provided in an embodiment of this application;
[0044] Figure 2c This is a schematic diagram of a third frame interface image provided in an embodiment of this application;
[0045] Figure 3a This is a schematic diagram of a user interface provided in an embodiment of this application;
[0046] Figure 3b This is a schematic diagram of another user interface provided in one embodiment of this application;
[0047] Figure 3c This is a schematic diagram of another user interface provided in one embodiment of this application;
[0048] Figure 3d This is a schematic diagram of another user interface provided in one embodiment of this application;
[0049] Figure 4 This is a flowchart of another information loading method provided in an embodiment of this application;
[0050] Figure 5 This is a structural block diagram of an information loading device provided in one embodiment of this application. Detailed Implementation
[0051] To make the above-mentioned objectives, features, and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0052] Reference Figure 1 The diagram illustrates a flowchart of an information loading method according to an embodiment of this application. This method can be applied to a mobile terminal, which may include smartphones, tablets, laptops, handheld computers, etc.
[0053] Specifically, it may include the following steps:
[0054] Step 101: Obtain the first operation information corresponding to the first application;
[0055] As an example, the first operational information may include one or more of the following:
[0056] User request information, application feedback information, and key interface information.
[0057] Among them, user request information can be information about the user's request operation in the first application, which can be extracted from the log information of the first application, such as information entered by the user, information browsed by the user, information clicked by the user, information searched by the user, information taken by the user, etc.
[0058] Application feedback information can be the information returned by the first application in response to the requested operation, which corresponds to the user's request information, such as playing a song corresponding to searching for a song, successfully uploading a video corresponding to uploading a video, and successfully sending an email corresponding to sending an email.
[0059] The key interface information can be key elements in the user interface of the first application, which can be obtained by the following image analysis method. When the first operation information includes key interface information, step 101 may include the following sub-steps:
[0060] Sub-step 11: During the use of the first application, capture multiple frames of interface images;
[0061] In practical applications, a frame of the user interface of the first application can be captured in advance, and another frame of the user interface can be captured when the user interface of the first application changes, so as to obtain multiple frames of user interface images. Alternatively, user interface images can be captured periodically at fixed time intervals.
[0062] Sub-step 12: Determine the difference regions in the multi-frame interface images and extract key interface information from the difference regions.
[0063] After acquiring multiple frames of interface images, these images can be input into a pre-established element extraction model, such as a Convolutional Neural Network (CNN) model. The element extraction model analyzes the multiple frames of interface images to determine the regions of difference in the images, and then extracts key elements representing changes in the user interface from these regions as key information about the interface.
[0064] For example, the first application is a browser, such as Figure 2a This is the first frame of the interface image, which represents the multiple search results displayed after a user searches for the keyword "spring blossoms". Figure 2b This is the second frame of the interface image, which displays information about multiple songs after the user clicks on a search result, such as... Figure 2c This is the third frame of the interface, which is the playback interface that appears after the user clicks on a search result.
[0065] After image analysis using an element extraction model, the key elements in the first frame of the interface image are identified as 201 and 202, the key element in the second frame of the interface image is 203, and the key elements in the third frame of the interface image are 204, 205, and 206.
[0066] In a specific implementation, the application currently in use on the mobile terminal's display screen is the first application. During the use of the first application, the first operation information corresponding to the first application can be obtained and stored.
[0067] Step 102: When a switch from the first application to the second application is detected, determine whether the second application is associated with the first application;
[0068] When a switch from the first application to the second application is detected, that is, when the application currently in use on the mobile terminal's display screen is switched to the second application, it can be determined whether the second application is associated with the first application.
[0069] In one embodiment of this application, step 102 may include the following sub-steps:
[0070] Sub-step 21: Obtain the first attribute information corresponding to the first application; and obtain the second attribute information corresponding to the second application;
[0071] Each application has corresponding attribute information, which may include application name, application category, application function, etc. The mobile terminal can obtain the attribute information corresponding to the first application and the second application respectively. For example, the attribute information corresponding to the "WeChat" application can be "WeChat, instant messaging, enabling communication and exchange of information between users".
[0072] Sub-step 22: Input the first operation information, the first attribute information, and the second attribute information into the pre-established prediction model, and receive the judgment result output by the prediction model.
[0073] In practical applications, a prediction model is pre-established. By inputting the first operation information, the first attribute information, and the second attribute information into the pre-established prediction model, the prediction model can calculate the correlation score between the first application and the second application.
[0074] When the relevance score is greater than or equal to the preset score, the first application and the second application can be determined to be related, and the judgment result of "related" will be output. When the relevance score is less than the preset score, the first application and the second application can be determined to be unrelated, and the judgment result of "unrelated" will be output.
[0075] In one embodiment of this application, the prediction model can be established in the following manner:
[0076] Obtain the third operation information and third attribute information corresponding to the third application; and obtain the fourth attribute information corresponding to the fourth application; use the third operation information, third attribute information, and fourth attribute information to train the model and obtain the prediction model.
[0077] In a practical implementation, a large number of applications can be sampled in advance to identify multiple third and fourth applications. Then, the third operation information and third attribute information corresponding to the third application, as well as the fourth attribute information corresponding to the fourth application, can be obtained.
[0078] For every two third and fourth applications, the judgment result between the two applications can be pre-labeled. For example, for two related applications, it can be labeled as 1, indicating that the judgment result is that the two applications are related; otherwise, it can be labeled as 0, indicating that the judgment result is that the applications are not related.
[0079] With the judgment result as the objective, the model is trained on the third operational information, the third attribute information, and the fourth attribute information to obtain the model parameters corresponding to the judgment result, so as to establish a prediction model.
[0080] During training, the third attribute information and the third operation information can be used as the first part of the input features and encoded by the encoding layer to obtain the encoded features of the third application. The fourth attribute information can be used as the second part of the input features and encoded by the encoding layer to obtain the encoded features of the fourth application. Then, the encoded features of the third application and the encoded features of the third application are passed through a fully connected layer and then through a softmax layer to output the similarity score of the two encoded features.
[0081] When the relevance score is greater than or equal to the preset score, the judgment result is that the third application and the fourth application are related. When the relevance score is less than the preset score, the judgment result is that the third application and the fourth application are not related.
[0082] The encoding layer contains one or more hidden layers, such as LSTM (Long Short-Term Memory) and DNN (Deep Neural Network) structures.
[0083] It should be noted that the third operation information is basically similar to the first operation information, and the third attribute information and the fourth attribute information are basically similar to the first attribute information. For relevant details, please refer to the explanation above.
[0084] Step 103: If it is determined that the second application is associated with the first application, then the first operation information is loaded into the second application.
[0085] When it is determined that the second application is associated with the first application, the first operation information can be loaded into the second application and displayed to the user.
[0086] In one embodiment of this application, step 103 may include the following sub-steps:
[0087] Sub-step 31: In the second application, display an information floating window;
[0088] After switching to the second application, a floating information window can be displayed in the user interface of the second application, such as... Figure 3a For user interfaces where no information is displayed in the floating window, such as Figure 3b To display information floating window 301 in the user interface of the second application.
[0089] Sub-step 32: Load the first operation information into the information floating window so that the function corresponding to the first operation information is triggered when the user clicks the information floating window.
[0090] After displaying the information floating window, the first operation information can be loaded into the information floating window. When the user clicks the information floating window, the function corresponding to the first operation information can be triggered.
[0091] like Figure 3c When a user searches for the song "Spring Blossoms" in the Baidu browser (the first application), the first information displayed is the playback link for the song "Spring Blossoms." Figure 3d When switching to the second application "WeChat Reading", a floating information window 301 can be displayed, loading the playback link of the song "Spring Blossoms". When the user clicks the floating information window 301, the audio data of the song "Spring Blossoms" can be obtained through the playback link and the song can be played.
[0092] In one embodiment of this application, the following steps may also be included:
[0093] Obtain the second operation information corresponding to the second application; determine the information that matches the second operation information from the first operation information, and replace the first operation information with the information that matches the second operation information.
[0094] After switching to the second application, the user can perform corresponding operations in the second application. The mobile terminal can obtain the second operation information corresponding to the operation, and then determine the information that matches the second operation information from the first operation information as the new first operation information.
[0095] For example, when a user clicks on an input box in the second application, some content can be deleted from the first operation information, leaving only the content suitable for input. Similarly, when a user clicks the video upload button in the second application, newly recorded videos can be filtered out from the first operation information.
[0096] In this application, by obtaining the first operation information corresponding to the first application, when switching from the first application to the second application is detected, it is determined whether the second application is associated with the first application. If it is determined that the second application is associated with the first application, the first operation information is loaded into the second application, thereby realizing the automatic loading of information from the first application into the second application and improving the efficiency of application usage.
[0097] Reference Figure 4 The diagram illustrates a flowchart of another information loading method provided in an embodiment of this application, which may specifically include the following steps:
[0098] Step 401: Obtain the first operation information corresponding to the first application;
[0099] In a specific implementation, the application currently in use on the mobile terminal's display screen is the first application. During the use of the first application, the first operation information corresponding to the first application can be obtained and stored.
[0100] Step 402: When switching from the first application to the second application is detected, determine whether the second application is associated with the first application;
[0101] When a switch from the first application to the second application is detected, that is, when the application currently in use on the mobile terminal's display screen is switched to the second application, it can be determined whether the second application is associated with the first application.
[0102] Step 403: Obtain historical handover logs;
[0103] For each application switching operation, the corresponding logs can be saved in the historical switching log.
[0104] Step 404: Count the number of times a specified event occurs from the historical switching log;
[0105] The specified event can be the use of information loaded from the first application in the second application after switching from the first application to the second application.
[0106] When switching from the first application to the second application, the user can choose to use the information loaded from the first application in the second application. Based on the historical switching log, the mobile terminal can count the number of times the user uses the information loaded from the first application in the second application as a specified event.
[0107] Step 405: If it is determined that the second application is associated with the first application and the number of occurrences is greater than the first threshold, then the first operation information is loaded into the second application;
[0108] If it is determined that the second application is associated with the first application and the number of occurrences is greater than the first threshold, then the first operation information can be loaded into the second application.
[0109] If it is determined that the second application is associated with the first application and the number of occurrences is less than or equal to the first threshold, then the first operation information can be skipped and the second application can be entered directly.
[0110] Step 406: If it is determined that the second application is not associated with the first application and the number of occurrences is greater than the second threshold, then the first operation information is loaded into the second application.
[0111] If it is determined that the second application is not associated with the first application and the number of occurrences is greater than the second threshold, the first operation information can be loaded into the second application. This loading process is basically similar to the loading process when the second application is associated with the first application. For relevant details, please refer to the above explanation.
[0112] If it is determined that the second application is not related to the first application and the number of occurrences is less than or equal to the second threshold, then the first operation information can be skipped and the second application can be entered directly.
[0113] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of this application are not limited to the described order of actions, because according to the embodiments of this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of this application.
[0114] Reference Figure 5 The diagram illustrates a flowchart of the steps of an information loading apparatus according to an embodiment of this application, which may specifically include the following modules:
[0115] The first operation information acquisition module 501 is used to acquire the first operation information corresponding to the first application;
[0116] The association determination module 502 is used to determine whether the second application is associated with the first application when a switch from the first application to the second application is detected.
[0117] The information loading module 503 is used to load the first operation information into the second application if it is determined that the second application is associated with the first application.
[0118] In one embodiment of this application, the association determination module 502 includes:
[0119] The first attribute information acquisition submodule is used to acquire the first attribute information corresponding to the first application;
[0120] The second attribute information acquisition submodule is used to acquire the second attribute information corresponding to the second application.
[0121] The judgment result output submodule is used to input the first operation information, the first attribute information, and the second attribute information into a pre-established prediction model, and to receive the judgment result output by the prediction model.
[0122] In one embodiment of this application, the prediction model is established in the following manner:
[0123] Obtain the third operation information and third attribute information corresponding to the third application;
[0124] And, obtain the fourth attribute information corresponding to the fourth application;
[0125] The prediction model is obtained by training the model using the third operation information, the third attribute information, and the fourth attribute information.
[0126] In one embodiment of this application, it further includes:
[0127] The historical handover log acquisition module is used to acquire historical handover logs;
[0128] The occurrence count module is used to count the occurrence count of a specified event from the historical switching log; wherein the specified event is the use of information loaded from the first application in the second application after switching from the first application to the second application.
[0129] In one embodiment of this application, the information loading module 503 includes:
[0130] The associated loading submodule is used to load the first operation information into the second application if it is determined that the second application is associated with the first application and the number of occurrences is greater than a first threshold.
[0131] The device further includes:
[0132] An unassociated loading module is used to load the first operation information into the second application if it is determined that the second application is not associated with the first application and the occurrence frequency is greater than a second threshold.
[0133] In one embodiment of this application, the associated loading submodule and / or the non-associated loading module include:
[0134] The information floating window display submodule is used to display an information floating window in the second application;
[0135] The information floating window loading submodule is used to load the first operation information into the information floating window so that the function corresponding to the first operation information is triggered when the user clicks the information floating window.
[0136] In one embodiment of this application, it further includes:
[0137] The second operation information acquisition module is used to acquire the second operation information corresponding to the second application.
[0138] The first operation information replacement module is used to determine information that matches the second operation information from the first operation information, and replace the first operation information with the information that matches the second operation information.
[0139] In one embodiment of this application, the first operation information includes one or more of the following:
[0140] User request information, application feedback information, and key interface information.
[0141] In one embodiment of this application, when the first operation information includes key interface information, the first operation information acquisition module 501 includes:
[0142] The interface image acquisition submodule is used to acquire multiple frames of interface images during the use of the first application;
[0143] The interface key information extraction submodule is used to determine the difference regions in the multi-frame interface images and extract interface key information from the difference regions.
[0144] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.
[0145] An embodiment of this application also provides an electronic device, which may include a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, it implements the steps of the above-described information loading method.
[0146] An embodiment of this application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the above-described information loading method.
[0147] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.
[0148] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus, or computer program products. Therefore, embodiments of this application can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of this application can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0149] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. 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 terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0150] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0151] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0152] Although preferred embodiments of the present application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present application.
[0153] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.
[0154] The above provides a detailed description of the information loading method, apparatus, electronic device, and storage medium provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method of information loading, characterized by, The method comprises: obtaining first operation information corresponding to a first application; when switching from the first application to a second application is detected, determining whether the second application is associated with the first application; obtaining a historical switching log; from the historical switching log, counting the number of occurrences of a specified event; wherein the specified event is using information loaded from the first application in the second application after switching from the first application to the second application; if it is determined that the second application is associated with the first application, loading the first operation information to the second application; wherein the step of loading the first operation information to the second application if it is determined that the second application is associated with the first application comprises: if it is determined that the second application is associated with the first application and the number of occurrences is greater than a first threshold, loading the first operation information to the second application; wherein the step of loading the first operation information to the second application comprises: displaying an information floating window in the second application; loading the first operation information to the information floating window to trigger the function corresponding to the first operation information when the user clicks on the information floating window; the first operation information comprises one or more of: application feedback information, interface key information; the application feedback information is information fed back by the first application for a request operation; the interface key information is a key element in the user interface of the first application; when the first operation information includes interface key information, the step of obtaining first operation information corresponding to a first application comprises: collecting multiple frames of interface images during the use of the first application; determining the difference area in the multiple frames of interface images, and extracting interface key information from the difference area.
2. The method of claim 1, wherein, The step of determining whether the second application is associated with the first application comprises: obtaining first attribute information corresponding to the first application; and obtaining second attribute information corresponding to the second application; inputting the first operation information, the first attribute information, and the second attribute information into a pre-established prediction model, and receiving the determination result output by the prediction model.
3. The method of claim 1, wherein, The step of loading the first operation information to the second application if it is determined that the second application is associated with the first application further comprises: if it is determined that the second application is not associated with the first application and the number of occurrences is greater than a second threshold, loading the first operation information to the second application.
4. The method of claim 1, wherein, Further comprising: obtaining second operation information corresponding to the second application; from the first operation information, determining information matching the second operation information, and replacing the first operation information with the information matching the second operation information.
5. An apparatus for loading information, characterized by The device comprises: a first operation information acquisition module for obtaining first operation information corresponding to a first application; an association determination module for determining whether the second application is associated with the first application when switching from the first application to a second application is detected; a historical switching log acquisition module for obtaining a historical switching log; A frequency-of-occurrence counting module is configured to count the frequency of occurrence of a specified event from the history switching log, wherein the specified event is the use of information loaded from the first application in the second application after switching from the first application to the second application. An information loading module is configured to load the first operation information to the second application if it is determined that the second application is associated with the first application. The information loading module includes: An association loading submodule is configured to load the first operation information to the second application if it is determined that the second application is associated with the first application and the frequency of occurrence is greater than a first threshold. The association loading submodule includes: An information floating window display submodule is configured to display an information floating window in the second application. An information floating window loading submodule is configured to load the first operation information to the information floating window to trigger the function corresponding to the first operation information when the information floating window is clicked by a user. The first operation information includes one or more of: Application feedback information and interface key information. The application feedback information is information fed back by the first application for a request operation. The interface key information is a key element in the user interface of the first application. When the first operation information includes interface key information, the first operation information obtaining module includes: An interface image collection submodule is configured to collect multiple frames of interface images during the use of the first application. An interface key information extraction submodule is configured to determine a difference area in the multiple frames of interface images and extract interface key information from the difference area.
6. An electronic device, comprising: A computer program is stored on a computer readable storage medium and is capable of being run on a processor, and when the computer program is executed by the processor, the steps of the information loading method according to any one of claims 1 to 4 are implemented.
7. A computer-readable storage medium, characterized in that, A computer program is stored on a computer readable storage medium and is capable of being run on a processor, and when the computer program is executed by the processor, the steps of the information loading method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Terminal device and information copying method
CN104965638A
Information query method and terminal
CN105302837A
Device and method for switching background programs
CN105700776A
Search display method and apparatus
CN107305500A
Automation tool and method for generating test code
US20090132994A1