Information collection method, electronic device and computer readable storage medium
By adding a new information collection interface to the application framework layer of the operating system, the problem of poor user experience of existing collection applications is solved, information collection and management across applications and terminals is realized, and user experience and operation convenience is improved.
Patent Information
- Application Number
- CN202010122994.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-02-26
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2040-02-26
AI Technical Summary
The user experience of existing favorites applications is poor, making it difficult to quickly manage and find favorites scattered across various applications and terminal devices.
New information collection interface is added to the application framework layer of the operating system, allowing each application to call the interface, unify information aggregation portal and management, and realize information collection and management across applications and terminals.
It simplifies user information collection operations, improves the convenience and efficiency of information management, and improves user experience.
Smart Images

Figure CN113312115B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to an information collection method, an electronic device, and a computer-readable storage medium. Background Art
[0002] With the development of the Internet and the diversification of terminal devices, the entrance to information has become diversified, such as mobile phones, PADs, notebooks, and watches, etc. Each application of each terminal device is a vertical entrance.
[0003] The diversification of information portals has led to a serious fragmentation of the information that needs to be collected, which is scattered among various applications and terminal devices, making it difficult for users to find and locate. For example, in multiple apps such as WeChat, Toutiao, Weibo, and Zhihu, users have collected articles, pictures, or video information that they are interested in. After a period of time, when they need to find a piece of information that they collected before, they need to search in each app. Especially when there are many apps involved and the collected information is complicated, it is difficult to quickly obtain the desired collection information.
[0004] Collection applications can manage collection information scattered in various applications. At present, collection applications on the market generally obtain collection information through the system sharing interface for information synchronization. Specifically, when the third-party application does not block the system sharing interface, the collection application obtains the collection information by registering to support the system sharing interface, and then the user synchronizes the collection information through the system sharing entrance in the share sheet in the third-party application. However, the system sharing interface is not mainly used for information collection. It is only used for forwarding and sharing thin information (a small amount of information). It is mainly used for small amounts of data such as URL (Uniform Resource Locator) and title. It is difficult to achieve when the collection information is large. In addition, some applications block the system sharing interface, and some applications customize the share sheet, which makes it impossible for collection applications to manage collection information through the system sharing interface. In addition, the user entrance of the system sharing interface is deep and the operation steps are cumbersome. In summary, the user friendliness and convenience of current collection applications are still low, resulting in a poor user experience. Summary of the invention
[0005] The embodiments of the present application provide an information collection method, an electronic device, and a computer-readable storage medium to solve the problem of poor user experience of collection applications in the prior art.
[0006] In a first aspect, an embodiment of the present application provides an information collection method, which is applied to a first electronic device having a first application and a second application installed thereon, the method comprising:
[0007] The first electronic device displays an interface of the first application, where the interface of the first application includes information to be collected;
[0008] The first application detects an information collection operation;
[0009] The first application program, in response to the information collection operation, calls the information collection interface in the application framework layer and performs collection permission verification;
[0010] After the collection permission verification is passed, the first application transmits the information to be collected to the second application through the information collection interface, so that the information to be collected is collected in the second application.
[0011] In the embodiment of the present application, a new information collection interface is added to the application framework layer of the operating system. The information collection interface is an application program interface for information collection, which can be called by each first application, unifying the information aggregation entrance and information management. When the user collects information, he only needs to perform a simple information collection operation, and the information to be collected in each first application can be collected to the second application through the information collection interface, which is easy to operate and improves the user experience.
[0012] In a possible implementation manner of the first aspect, the method further includes:
[0013] The first application obtains a first authorization operation of the first user;
[0014] In response to the first authorization operation, the first application program grants the collection permission to the second application program through the system permission module of the operating system.
[0015] In a possible implementation manner of the first aspect, the first application is a third-party application, the second application is an operating system-level application, and the information collection interface is an operating system-level interface.
[0016] As an example but not limitation, the first application includes third-party applications such as WeChat, Toutiao and Weibo, the second application is a system-level application developed by a mobile phone manufacturer, and the information collection interface is an application program interface provided in the operating system for information collection.
[0017] In a second aspect, an embodiment of the present application provides an information collection method, which is applied to a first electronic device having a first application and a second application installed thereon, the method comprising:
[0018] The second application obtains the information to be collected transmitted by the first application through the information collection interface in the application framework layer, and uses the information to be collected as the collection information;
[0019] The second application determines the category of the collection information;
[0020] The second application displays the favorite information using a template plug-in corresponding to the category of the favorite information.
[0021] It should be pointed out that the second application can obtain the collection information from each first application through the newly added information collection interface, and the second application selects the corresponding template to display the collection information according to the category of the collection information (for example, industry category), thereby facilitating the user's management of the collection information and improving the user experience.
[0022] In a possible implementation manner of the second aspect, the first application is a third-party application, the second application is an operating system-level application, and the information collection interface is an operating system-level interface.
[0023] In a possible implementation manner of the second aspect, the method further includes:
[0024] The second application uploads the collection information and the corresponding associated information to the server to instruct the server to store the collection information and the corresponding associated information, and then aggregates the collection information and the corresponding associated information of the second application of the first user to obtain the account set of the first user.
[0025] In a possible implementation manner of the second aspect, the method further includes:
[0026] The second application obtains a second authorization operation of the first user;
[0027] In response to the second authorization operation, the second application sends an authorization instruction to the server to instruct the server to aggregate the account set of the first user and the account sets of the other users into an account set according to the authorization instruction of the first user and the authorization instructions of the other users.
[0028] In a possible implementation manner of the second aspect, the method further includes:
[0029] The second application sends a favorite information search request to the server to instruct the server to search for favorite information corresponding to the favorite information search request from the account set in response to the favorite information search request;
[0030] The second application program obtains the favorite information returned by the server and corresponding to the favorite information search request.
[0031] It should be pointed out that the second application stores the collection information to a server in the cloud. The server can aggregate the collection information of different applications of the same user into an account set, and aggregate the account sets of different users into one account set through user authorization. Based on this account set, collection information retrieval can be achieved across users, applications, and devices, further improving the user experience.
[0032] In a possible implementation manner of the second aspect, the method further includes:
[0033] The second application obtains a viewing instruction for the collection information;
[0034] The second application program jumps to the interface of the original application program of the collection information according to the original application program information corresponding to the collection information obtained through the information collection interface.
[0035] It should be pointed out that the original application information obtained through the information collection interface can realize application reflow when the user clicks to view the collection information, that is, jump to the original application to view the collection information, further improving the user experience.
[0036] In a possible implementation manner of the second aspect, the method further includes:
[0037] The second application program synthesizes the original file of the collection information and the corresponding annotation file to obtain a synthesized file and a system compatible configuration file;
[0038] The second application shares the synthesized file and the system compatible configuration file with a third application to instruct the third application to obtain the original file and the annotated file according to the synthesized file and the system compatible configuration file when entering the annotation mode.
[0039] It should be pointed out that the original file of the collection information and the corresponding annotation file are synthesized to obtain a synthesized file and a system-compatible file, and the synthesized file and the system-compatible file are shared to other applications. When entering the annotation mode, the original file and the annotation file are deconstructed according to the synthesized file and the system-compatible configuration file, thereby realizing secondary editing of the circled and annotated file after sharing, further improving the user experience.
[0040] In a possible implementation manner of the second aspect, the second application program shares the synthesized file and the system compatibility configuration file with a third application program, including:
[0041] The second application stores the synthesized file and the system compatibility configuration file in the server, instructing the server to generate a download link for the synthesized file and the system compatibility configuration file, and then returns the download link to the second application;
[0042] The second application shares the download link to a third-party application, so that after the third application obtains the download link from the third-party application, it obtains the synthesized file and the system compatibility configuration file from the server according to the download link.
[0043] In a possible implementation manner of the second aspect, the second application program shares the synthesized file and the system compatibility configuration file with a third application program, including:
[0044] The second application program shares the synthesized file and the system compatible configuration file with the third application program via near field communication.
[0045] In a third aspect, an embodiment of the present application provides an information collection method, which is applied to a server, and the method includes:
[0046] The server obtains the collection information and corresponding association information uploaded by the second application;
[0047] The server aggregates the favorite information and corresponding associated information of the same user into an account set;
[0048] The server obtains the user's authorization instruction;
[0049] The server aggregates the account sets of different users into an account set according to the authorization instruction.
[0050] In a possible implementation manner of the third aspect, the method further includes:
[0051] The server obtains a collection information search request of the second application program;
[0052] The server searches for the favorite information corresponding to the favorite information search request from the account set in response to the favorite information search request;
[0053] The server returns the favorite information corresponding to the favorite information search request to the second application.
[0054] In a possible implementation manner of the third aspect, the method further includes:
[0055] The server obtains the synthesized file and the system compatibility configuration file uploaded by the second application;
[0056] The server generates other system compatibility configuration files according to the system compatibility configuration file;
[0057] The server generates a download link for the composite file and the system compatible configuration file, and returns the download link to the second application;
[0058] The server receives a download request initiated by a third application according to the download link;
[0059] In response to the download request, the server transmits the synthesized file and the system-compatible configuration file corresponding to the download request to the third application.
[0060] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program comprises a first application and a second application, and the processor is used to run the first application to implement a method as described in any one of the first aspects above.
[0061] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program comprises a first application and a second application, and the processor is used to run the second application to implement a method as described in any one of the second aspects above.
[0062] In a sixth aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements a method as described in any one of the third aspects above when executing the computer program.
[0063] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the first aspect, the second aspect, or the third aspect is implemented.
[0064] In an eighth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on an electronic device, the electronic device executes the method described in any one of the first aspect, the second aspect, or the third aspect.
[0065] It can be understood that the beneficial effects of the above corresponding aspects can be referred to each other and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 A schematic block diagram of the system architecture provided in an embodiment of the present application;
[0067] Figure 2 A schematic block diagram of the hardware structure of an electronic device 200 provided in an embodiment of the present application;
[0068] Figure 3 A software structure block diagram of the electronic device 200 provided in an embodiment of the present application;
[0069] Figure 4 A schematic flow chart of the information collection method provided in the embodiment of the present application;
[0070] Figure 5 Another schematic flow chart of the information collection method provided in the embodiment of the present application;
[0071] Figure 6 A schematic block diagram of the software architecture provided for an embodiment of the present application;
[0072] Figure 7 A schematic block diagram of information collection provided in an embodiment of the present application;
[0073] Figure 8 A schematic block diagram of the multi-dimensional search process provided in the embodiment of the present application;
[0074] Fig. 9 A schematic diagram of annotated file sharing provided in an embodiment of the present application;
[0075] Fig.10 Another schematic flow chart of the information collection method provided in the embodiment of the present application;
[0076] Fig.11 A schematic diagram of the interactive process of information collection provided in an embodiment of the present application;
[0077] Fig.12 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0078] In the following description, for the purpose of explanation rather than limitation, specific details such as specific system structures and technologies are provided to facilitate a thorough understanding of the embodiments of the present application.
[0079] See also Figure 1 The system architecture schematic block diagram shown is as follows: Figure 1 As shown, the system architecture may include a server 11 and at least one electronic device 12, and the server 11 and the electronic device 12 may be connected via a network communication.
[0080] The type and number of the electronic device 12 can be arbitrary. For example, the electronic device 12 is a mobile phone or a tablet computer.
[0081] By way of example and not limitation, Figure 2As shown, the electronic device 200 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295. The sensor module 280 may include but is not limited to one or more of a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, and a bone conduction sensor.
[0082] It is understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the structure of the electronic device 200. In other embodiments of the present application, the electronic device 200 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0083] The processor 210 may include one or more processing units, for example, the processor 210 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors. The controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions.
[0084] The charging management module 240 is used to receive charging input from a charger, where the charger can be a wireless charger or a wired charger.
[0085] The power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240, and supplies power to the processor 210, the internal memory 221, the display screen 294, the camera 293, and the wireless communication module 260. The power management module 241 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 241 can also be set in the processor 210. In other embodiments, the power management module 241 and the charging management module 240 can also be set in the same device.
[0086] The wireless communication function of the electronic device 200 can be implemented through the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem processor and the baseband processor.
[0087] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 200 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0088] The mobile communication module 250 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 200. The mobile communication module 250 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 250 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 250 can be set in the processor 210. In some embodiments, at least some of the functional modules of the mobile communication module 250 can be set in the same device as at least some of the modules of the processor 210.
[0089] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 270A, a receiver 270B, etc.), or displays an image or video through a display screen 294. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 210 and be set in the same device as the mobile communication module 250 or other functional modules.
[0090] The wireless communication module 260 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), low-power Bluetooth (BLE), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 200. The wireless communication module 260 can be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and filters it, and sends the processed signal to the processor 210. The wireless communication module 260 can also receive the signal to be sent from the processor 210, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0091] The electronic device 200 implements the display function through a GPU, a display screen 294, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 210 may include one or more GPUs, which execute program instructions to generate or change display information.
[0092] The display screen 294 is used to display images, videos, etc. The display screen 294 includes a display panel. In some embodiments, the electronic device 200 may include 1 or N display screens 294, where N is a positive integer greater than 1.
[0093] The electronic device 200 can realize the shooting function through ISP, camera 293, video codec, GPU, display screen 294 and application processor.
[0094] The ISP is used to process the data fed back by the camera 293. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 293.
[0095] The camera 293 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 200 may include 1 or N cameras 293, where N is a positive integer greater than 1.
[0096] Video codecs are used to compress or decompress digital videos. The electronic device 200 may support one or more video codecs. Thus, the electronic device 200 may play or record videos in a variety of coding formats, such as moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0097] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of the electronic device 200 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0098] The external memory interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0099] The internal memory 221 can be used to store computer executable program codes, which include instructions. The internal memory 221 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 200 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 221 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 210 executes various functional applications and data processing of the electronic device 200 by running instructions stored in the internal memory 221 and / or instructions stored in a memory provided in the processor.
[0100] The electronic device 200 can implement audio functions such as music playing and recording through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the headphone jack 270D, and the application processor.
[0101] The audio module 270 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal. The audio module 270 can also be used to encode and decode audio signals. In some embodiments, the audio module 270 can be arranged in the processor 210, or some functional modules of the audio module 270 can be arranged in the processor 210.
[0102] A touch sensor is also called a "touch control device". The touch sensor can be arranged on the display screen 294. The touch sensor and the display screen 294 form a touch screen, also called a "touch control screen". The touch sensor is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen. In other embodiments, the touch sensor can also be arranged on the surface of the electronic device 200, which is different from the position of the display screen 294.
[0103] The key 290 includes a power key, a volume key, etc. The key 290 can be a mechanical key or a touch key. The electronic device 200 can receive key input and generate key signal input related to user settings and function control of the electronic device 200.
[0104] The SIM card interface 295 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 200 by inserting it into the SIM card interface 295 or pulling it out from the SIM card interface 295. The electronic device 200 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 295 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 295 can also be compatible with different types of SIM cards. The SIM card interface 295 can also be compatible with external memory cards. The electronic device 200 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 200 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 200 and cannot be separated from the electronic device 200.
[0105] After introducing the hardware structure of the electronic equipment, Figure 3 A software structure block diagram of the electronic device 200 is shown.
[0106] like Figure 3 As shown, the software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 100.
[0107] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
[0108] The application layer can include a series of application packages.
[0109] like Figure 3 As shown, the application package may include applications such as camera, photo album, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, wireless screen projection, file transfer, and multi-screen interaction.
[0110] The Application Framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The Application Framework layer includes some predefined functions.
[0111] like Figure 3 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0112] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc. The content provider is used to store and obtain data and make the data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0113] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
[0114] The phone manager is used to provide communication functions of the electronic device 200, such as management of call status (including connecting, hanging up, etc.).
[0115] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, etc. The notification manager allows applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify the completion of downloads, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in the status bar, a prompt sound is emitted, the phone vibrates, the indicator light flashes, etc.
[0116] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.
[0117] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
[0118] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0119] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0120] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0121] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0122] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing. The 2D graphics engine is a drawing engine for 2D drawing. The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
[0123] It should be noted that the application layer of the embodiment of the present application includes at least one first application 31 and a second application 32. The second application 32 is a collection application that manages collection information. In a specific application, the first application may be a third-party application, and the second application may be an operating system-level application. For example, the first application is a third-party application such as WeChat or Weibo, and the second application is a collection application developed by a mobile phone manufacturer.
[0124] The embodiment of the present application also adds an information collection interface 33 in the application framework layer. The information collection interface 33 is an application program interface for information collection, which can be called by each first application 31 to transfer the collection information to the second application 32. Collection authorization is also added to the system permission module, that is, the user can grant the second application collection permission in the first application.
[0125] It should be pointed out that the information collection interface 33 provided in the embodiment of the present application can be used not only to transmit collection information with a small amount of data, but also to transmit collection information with a large amount of data. For example, collection information including pictures, text, audio and video can be transmitted. However, the existing system sharing interface can only transmit collection information with a small amount of data, and cannot realize collection information with a large amount of data. In this way, users can use the information collection interface provided in the embodiment of the present application to collect data with a large amount of data, thereby improving the user experience.
[0126] In addition, the existing system sharing interface is a third-party application-level interface, and the user entrance is deep, which makes the user collection operation steps more complicated and reduces the user experience. The information collection interface provided by the embodiment of the present application can be an operating system-level interface, and the user operation steps are more convenient and the user experience is higher.
[0127] The information collection interface provided in the embodiment of the present application includes relevant parameters for application reflow, such as the original application package name, the page name for displaying the collection information in the original application, and the information collection callback function and other parameters. Through the relevant parameters such as the original application package name and the page name for displaying the collection information in the original application of the collection interface, the second application can realize application reflow when the user clicks to view the details of the collection information, that is, jump back to the page of the original application of the collection information, so that the user can view the original text conveniently.
[0128] The user can collect the information collected by the first application to the second application. The second application can manage and display the collection information of each first application. For example, when the first application is WeChat and the second application is the collection application Super notes developed by the mobile device manufacturer, the user browses an article of interest on the WeChat public account and can collect the article by clicking the collection button on WeChat. Then, WeChat can call the information collection interface 33 of Super notes to verify the collection permission. After the permission verification is passed, the article collected by the user in WeChat will be synchronized to Super notes. The user can view the detailed information of this article on Super notes, and can also jump to WeChat to view the original text.
[0129] It should also be noted that the second application 32 can obtain the user collection information of each first application 31 through the information collection interface, and select a suitable template for displaying the user collection information according to the industry classification. In addition, the second application can also have other functions, such as memo, note tool, secondary editing of circle and annotation, application reflow and multi-dimensional search.
[0130] Among them, application reflow can refer to jumping to the original application to view the collection information, that is, the user can click on the collection information displayed in the second application and jump to the original application of the collection information to view the details. Secondary editing of circle and annotation can refer to sharing the collection information with circle and annotation to other applications. After the user opens the shared file with the second application, he can enter the annotation mode and perform secondary editing on the shared collection information. Multi-dimensional search can refer to the ability to retrieve user collection information across users, applications, and devices.
[0131] The technical solutions of the embodiments of the present application will be described in detail below.
[0132] First, let's introduce the relevant content on the first application side.
[0133] See also Figure 4 A schematic flow chart of a method for collecting information is shown, which can be applied to a first electronic device having a first application and a second application installed thereon, and the method may include:
[0134] Step S401: A first electronic device displays an interface of a first application program, where the interface of the first application program includes information to be collected.
[0135] It should be noted that the above-mentioned information to be collected can be any information resource. As an example but not limitation, the information to be collected can include one or more of articles, pictures, videos and audios.
[0136] The interface of the first application includes information to be collected. As an example but not limitation, when the first application is WeChat, the first electronic device is a mobile phone. At a certain moment, the user is browsing an article of a WeChat public account. At this time, the WeChat interface displayed on the mobile phone is the interface of the first application, and the article is the information to be collected.
[0137] Step S402: The first application detects an information collection operation.
[0138] Specifically, if the user wants to collect the information to be collected in the program of the first application, the user can input the corresponding information collection operation to the first electronic device. The information collection operation can be expressed in any form, for example, the information collection operation is clicking a collection button, that is, the user can click the "Collect" button on the interface of the first application to input the information collection operation.
[0139] Step S403: In response to the information collection operation, the first application program calls the information collection interface in the application framework layer and performs collection permission verification.
[0140] Specifically, after detecting the user's information collection operation, the first application can collect the corresponding information resource and can also call the information collection interface to perform collection permission verification.
[0141] It should be noted that the user can grant the collection permission to the second application first. Specifically, after opening the first application, the user can be prompted to grant the collection permission first to grant the collection permission to the second application.
[0142] In some embodiments, the above method may further include: the first application obtains a first authorization operation of the first user; and in response to the first authorization operation, the first application grants the collection permission to the second application through the system permission module of the operating system.
[0143] It is understandable that the first authorization operation may be in any form and is not limited here.
[0144] It should be noted that the second application information collection permission module is added to the system permission module of the operating system of the first electronic device in advance, and the second application information collection permission is granted through the information authorization permission module.
[0145] Step S404: After the collection permission verification is passed, the first application transmits the information to be collected to the second application through the information collection interface, so as to collect the information to be collected in the second application.
[0146] Specifically, if the collection permission check is passed, the first application transmits the collection information to the second application through the information collection interface, so as to realize the collection of the first application to the second application.
[0147] After obtaining the collection information of the first application, the second application may first perform data analysis on the collection information to determine the industry classification of the collection information, and then select a template plug-in corresponding to the industry classification to aggregate and display the collection information.
[0148] After the user opens the second application, the user can see the favorite information of the first application in the second application. In addition, the user can click on the favorite information to jump to the first application to view the favorite information, thereby realizing application reflow.
[0149] It should be noted that the first application program may be a third-party application program, such as WeChat and Facebook, etc. The second application program is an operating system-level application program, and the information collection interface may be an operating system-level interface.
[0150] The first electronic device may be installed with at least one first application, for example, a mobile phone may be installed with WeChat, Facebook, and Weibo. The at least one first application may uniformly call an information collection interface to collect the collection information to a second application. For example, WeChat, Facebook, and Weibo may all call an information collection interface to collect the collection information that each application needs to collect to a second application.
[0151] The information collection interface is a newly added application interface for information collection. Through the information collection interface, the collection information aggregation entrance is unified, so that each first application can collect the information to be collected to the second application through authorization.
[0152] In the embodiment of the present application, a new information collection interface is added to the application framework layer of the operating system. The information collection interface is an application program interface for information collection, which can be called by each first application, unifying the information aggregation entrance and information management. When the user collects information, he only needs to perform a simple information collection operation, and the information to be collected in each first application can be collected to the second application through the information collection interface, which is easy to operate and improves the user experience.
[0153] After introducing the relevant content on the first application side, the relevant content on the second application side will be introduced below.
[0154] See also Figure 5 A schematic flow chart of a method for collecting information is shown, which can be applied to a first electronic device having a first application and a second application installed thereon, and the method may include:
[0155] Step S501: The second application obtains the information to be collected transmitted by the first application through the information collection interface in the application framework layer, and uses the information to be collected as the collection information.
[0156] Specifically, after the collection permission of the first application is verified, the first application can transmit the information to be collected to the second application through the information collection interface, and the second application can obtain the collection information.
[0157] It should be noted that the collection information may also include the user's note information.
[0158] Step S502: The second application determines the category of the favorite information.
[0159] Step S503: The second application uses a template plug-in corresponding to the category of the favorite information to display the favorite information.
[0160] Specifically, after the second application obtains the collection information through the information collection interface, it can first parse the collection information to determine the industry category of the collection information; then, select a template plug-in corresponding to the industry category, and use the template plug-in to display the user's collection information.
[0161] It should be pointed out that the second application can obtain the collection information from each first application through the newly added information collection interface, and the second application selects the corresponding template to display the collection information according to the category of the collection information (for example, industry category), thereby facilitating the user's management of the collection information and improving the user experience.
[0162] In order to better introduce the relevant content of information collection, the following will combine Figure 6 The software architecture schematic diagram and Figure 7A schematic diagram of information collection is shown for introduction.
[0163] Figure 6 and Figure 7 In the example, Super Notes is the second application program, which is a system-level application and provides a system-level information collection interface through Notekit.
[0164] like Figure 6 As shown, the OS (Operating System) Applications layer includes Supernotes 61, which supports functions such as memos, information collection, note tools, circle annotations, and application reflow. The Applications layer includes third-party applications such as Weibo, Facebook, and WeChat. In the Applications Framework layer, Notes kit 62 is newly added, which includes information collection interfaces and other interfaces. Collection authorization is also added in the system permission module 63.
[0165] like Figure 7 As shown, the third-party application 71 (e.g., Weibo and WeChat) first authorizes the collection permission through the system permission module 72, and grants the collection permission to Super Notes. Then, when the user needs to collect information, the third-party application calls the information collection interface in Notes kit 73 and verifies the collection permission with the system permission module. After the permission verification is passed, the information is distributed through the information collection interface, and the collection information of the third-party application is transmitted to Super Notes 74.
[0166] After Super Notes obtains the collection information, it performs data analysis, industry classification, and template plug-in selection in turn, and then uses the corresponding template plug-in to aggregate and display the collection information. At the same time, Super Notes also transmits the collection information to the server 75 and stores it in the server's database. Super Notes can also achieve application reflux, specifically, when a user clicks on the collection information displayed by Super Notes, he can jump to the original application to view the collection information.
[0167] In addition to storing favorite information, the server also has functions such as authorization management, device synchronization, multi-dimensional search, and sharing of annotated files. Authorization management means that the server can obtain authorization instructions from each user and manage the permissions of each user, such as the permission to view or review favorite information. Device synchronization means that the server can synchronize favorite information to Super notes on different devices. For example, if a user has Super notes installed on both his mobile phone and computer, the server can synchronize the favorite information of Super notes on the mobile phone and computer.
[0168] Multi-dimensional retrieval means that the server can aggregate the favorite information of the same user into an account set, and aggregate the account sets of different users into an account set according to the authorization instructions of different users. Based on this account set, users can use Super Notes to retrieve and view favorite information across applications, devices, and users.
[0169] The file sharing function with circled annotations means that the server can collaborate with Super Notes to realize the secondary editing function after the file with circled annotations is shared.
[0170] In some embodiments, after obtaining the favorite information, the second application can not only aggregate and display the favorite information, but also upload the favorite information to the server on the cloud side to store the favorite information in the database of the server. Based on the favorite information in the database, the server can aggregate the favorite information of the same user into an account set, and aggregate the account sets of different users into an account set. Based on the account set, the favorite information retrieval across users, applications, and devices can be realized.
[0171] Alternatively, see Figure 8 The schematic flowchart of the multi-dimensional search process is shown. The multi-dimensional search process may include:
[0172] Step S801, the second application uploads the favorite information and the corresponding associated information to the server to instruct the server to store the favorite information and the corresponding associated information, and then aggregates the favorite information and the corresponding associated information of the second application of the first user to obtain the account set of the first user.
[0173] It should be noted that the above-mentioned corresponding associated information may include but is not limited to information such as the source of the favorite information, the device type, and the application account. Among them, the source of the favorite information may indicate which application the favorite information comes from. The device type may indicate the type of electronic device on which the second application is installed, and the application account refers to the account information of the second application.
[0174] For example, the collection information is a picture of Weibo, and Weibo and the second application are installed on the mobile phone. In this case, the collection information is a picture, the information source is Weibo, the device type is a mobile phone, and the application account includes the account information of the second application.
[0175] It should be noted that the first user may have the second application on multiple electronic devices. For example, a user may have Super Notes on a mobile phone, a tablet, and a computer. The second application on each electronic device will upload the collection information to the server. The server aggregates the collection information corresponding to different accounts on different devices of the same user or different accounts on the same device to obtain an account set of the same user, which includes the collection information on each account of the user.
[0176] For another example, a user has Super Notes on both his mobile phone and tablet computer, and has WeChat and Facebook installed on his mobile phone, and WeChat and Weibo installed on his tablet computer. The favorite information of WeChat and Facebook on the mobile phone can be saved to Super Notes on the mobile phone, and the favorite information of WeChat and Weibo on the tablet can be saved to Super Notes on the tablet. Super Notes on the mobile phone and tablet computer uploads the favorite information to the cloud server, and the server aggregates the favorite information to obtain the account set of the user. Through the account set of the user, the favorite information can be searched and viewed across applications and devices.
[0177] Step S802: The second application obtains a second authorization operation of the first user.
[0178] Step S803: In response to the second authorization operation, the second application sends an authorization instruction to the server to instruct the server to aggregate the account set of the first user and the account set of other users into an account set according to the authorization instruction of the first user and the authorization instructions of other users.
[0179] It should be noted that after the server aggregates the favorites information of the same user into an account set, different users can aggregate different accounts into an account set through authorization. The account set can include the favorites information corresponding to different users, different applications, and different devices. Based on the account set, users can retrieve favorites information across users, applications, and devices.
[0180] For example, users of the same family can be aggregated into a family account set through authorization. Based on the family account set, each family member can retrieve and view the collection information of other family members. For another example, several good friends can be aggregated into an account set through authorization. Based on the account set, each friend can retrieve and view each other's collection information.
[0181] Step S804: The second application sends a favorite information search request to the server to instruct the server to search for favorite information corresponding to the favorite information search request from the account set in response to the favorite information search request.
[0182] Step S805: The second application program obtains the favorite information returned by the server and corresponding to the favorite information search request.
[0183] For example, Jack's corresponding electronic devices include mobile phones and tablets, and both of them have WeChat, Weibo, and Super Notes installed. Lucy's corresponding electronic devices include mobile phones, tablets, and computers, and both of them have Weibo, Facebook, and Super Notes installed.
[0184] Jack's account set is obtained by the server based on the collection information and corresponding related information uploaded by Super notes on mobile phones and tablets. Lucy's account set is obtained by the server based on the collection information and corresponding related information uploaded by Supernotes on mobile phones, tablets and computers. Jack and Lucy's account sets are obtained by the server based on Jack's account set and Lucy's account set.
[0185] Based on the account set of Jack and Lucy, Jack can retrieve the collection information of the tablet's Supernotes on the mobile phone's Super notes, and can also retrieve Lucy's collection information on the mobile phone's Super notes. Lucy can also retrieve the corresponding collection information of Weibo and Facebook from the mobile phone's Super notes.
[0186] It should be pointed out that the second application stores the collection information to a server in the cloud. The server can aggregate the collection information of different applications of the same user into an account set, and aggregate the account sets of different users into one account set through user authorization. Based on this account set, collection information retrieval can be achieved across users, applications, and devices, further improving the user experience.
[0187] In the prior art, collection applications are closed ecosystems, which means that existing collection applications can only retrieve collection information and recorded note information under the current application and current account. For example, in WeChat, only WeChat collection information can be retrieved, but Weibo collection information cannot be retrieved.
[0188] It should also be pointed out that users in the account set can authorize whether to share the collection information with other users in the account set for operations with different permissions, such as viewing, information retrieval, and annotation, based on the privacy of the collection information. For example, the authorization permissions include viewing original content information, viewing, circling, and annotating information, retrieving content information, retrieving, circling, and annotating, modifying the collection original information, and circling, and annotating the original information.
[0189] In some embodiments, the second application can implement application reflow. Optionally, the above method may also include: the second application obtains a viewing instruction for the favorite information; the second application jumps to the corresponding interface of the original application of the favorite information according to the original application information corresponding to the favorite information obtained through the information collection interface.
[0190] It should be noted that the original application information may include the original application package name or application jump link, page information of the original application displaying the collection information, etc. The original application information may be obtained through the information collection interface.
[0191] For example, if a WeChat public account article is saved in Super Notes, the user can click the saved information displayed in Super Notes to jump to WeChat to read the original text of the article, thus realizing application reflow.
[0192] It should be pointed out that the original application information obtained through the information collection interface can realize application reflow when the user clicks to view the collection information, that is, jump to the original application to view the collection information, further improving the user experience.
[0193] In some embodiments, the user may need to circle and annotate the collection information, and then share the circled and annotated collection information with other users. In the prior art, after the circled and annotated file is shared with other users, the circled and annotated file cannot be edited again. In the embodiments of the present application, through the configuration of the annotation file and file sharing, the secondary editing of the annotation file is realized, so that the user can edit the circled and annotated file across terminals and systems.
[0194] Optionally, the above method may also include: the second application synthesizes the original file of the collection information and the corresponding annotation file to obtain a synthesized file and a system compatibility configuration file; the second application shares the synthesized file and the system compatibility configuration file to a third application to instruct the third application to obtain the original file and the annotation file according to the synthesized file and the system compatibility configuration file when entering the annotation mode.
[0195] It should be noted that the above-mentioned third application refers to another second application, and the other second application can be a second application of another device or another user. For example, the second application is specifically Supernotes. The annotation file is shared from user A's Super notes to user B's Super notes, and user B's Supernotes is the above-mentioned third application. Of course, the above-mentioned third application can also be an application of another different second application. For example, the second application is user A's Super notes, and the third application is user B's application C, that is, the circle annotation file shared by user A's Super notes can be opened through application C, and the annotation content can be edited again.
[0196] The above-mentioned annotation files may include but are not limited to annotation resource files, annotation information files and annotation configuration files. Annotation resource files refer to resource files in the original file, such as pictures, images, audio and video, etc. Annotation information files may include but are not limited to text, network links, circled and annotated text, and information such as font, size, color, and text layout of the text content. The circled and annotated text can be obtained by identifying the corresponding text through OCR (Optical Character Recognition) when the user circles and annotates the original file.
[0197] The annotation configuration file may include, but is not limited to, information such as file annotation status, annotation tool version, system configuration, file size information, and file modification time.
[0198] When a user needs to share a circled and annotated file, the original file and the annotated file are synthesized to obtain a synthesized file and a system compatible configuration file. The user shares the synthesized file and the system compatible configuration file with other users. Other users can use a second application to open the synthesized file. When entering the annotation mode, the second application constructs the synthesized file and the system compatible configuration file to obtain the original file and the annotated file. In this way, the user can perform secondary editing on the annotated file, thus realizing secondary editing of the circled and annotated files.
[0199] It should be pointed out that the original file of the collection information and the corresponding annotation file are synthesized to obtain a synthesized file and a system-compatible file, and the synthesized file and the system-compatible file are shared to other applications. When entering the annotation mode, the original file and the annotation file are deconstructed according to the synthesized file and the system-compatible configuration file, thereby realizing secondary editing of the circled and annotated file after sharing, further improving the user experience.
[0200] It should also be pointed out that the secondary editing solution for circled and annotated files provided in the embodiment of the present application can be applied not only to information collection scenarios, but also to other file annotation scenarios.
[0201] In specific applications, users can share files with circle annotations in two ways: near-field sharing and cloud sharing. Near-field sharing means that two electronic devices can transmit composite files and system compatible configuration files through near-field communication. Cloud sharing means sharing files with circle annotations through third-party applications.
[0202] Near-field sharing method:
[0203] The second application program shares the synthesized file and the system compatible configuration file to the third application program through near field communication.
[0204] The near field communication method may be, but is not limited to, Bluetooth, Wi-Fi, NFC (Near Field Communication) or Wi-Fi point-to-point, etc. In a specific application, a communication connection may be established between two electronic devices first, and then the composite file and the system compatible configuration file may be transmitted through the communication connection.
[0205] It should be pointed out that near-field sharing is generally used between electronic devices with the same operating system, while sharing between different operating systems is generally carried out through cloud sharing.
[0206] For example, Android phones and Android phones can share composite files and system compatible configuration files through near-field sharing, while Android phones and Apple phones can share composite files and system compatible configuration files through cloud sharing.
[0207] Cloud sharing method:
[0208] The second application stores the synthesized file and the system compatibility configuration file to the server, instructing the server to generate a download link for the synthesized file and the system compatibility configuration file, and then returns the download link to the second application;
[0209] The second application program shares the download link with the third-party application program, so that after the third application program obtains the download link from the third-party application program, it obtains the synthesized file and the system compatible configuration file from the server according to the download link.
[0210] It should be noted that the third-party application may be, for example, WeChat or Facebook.
[0211] After the server obtains the system compatibility configuration file, it can generate system compatibility configuration files for other operating systems based on the system compatibility configuration file. For example, the server receives the system compatibility configuration file for the Android system, and generates a system compatibility configuration file for the Apple system based on the system compatibility configuration file for the Android system.
[0212] The second application may initiate a download request to the server according to the download link. The download request may include, but is not limited to, information such as the operating system type and version, which may distinguish system compatibility configuration files.
[0213] For example, if the operating system type carried in the download request is Apple system, the system compatibility configuration file of the Apple system is returned to the second application. Conversely, if the operating system type carried is Android system, the system compatibility configuration file of the Android system is returned.
[0214] In order to better introduce the near-field sharing method and the cloud sharing method, the following will combine Fig. 9 A schematic diagram of annotated file sharing is shown.
[0215] like Fig. 9 As shown in (a), user A's Super notes 91 synthesizes the original file and the annotated file to obtain a synthesized file and a system compatible configuration file. User A's Super notes 81 shares the synthesized file and the system compatible configuration file to user B's Super notes 92 through near-field sharing. User B's Super notes 92 deconstructs the synthesized file and the system compatible configuration file to obtain the original file and the annotated file. In this way, user B can perform secondary editing on the circled and annotated file shared by user A in Super notes 92.
[0216] like Fig. 9 As shown in (b), the Super Notes 91 of user A synthesizes the original file and the annotated file to obtain a synthesized file and a system compatible configuration file. Then, the synthesized file and the system compatible configuration file are stored in the Super Notes cloud service 93 in the cloud, and the Super Notes cloud service 93 returns the link of the synthesized file and the system compatible configuration file to the Super Notes 81 of user A.
[0217] Next, user A's Super notes 81 shares the link to a third-party application 94 (for example, Wechat). User B's Super notes 92 can obtain the link to the synthesized file from the third-party application, and send a download request to the Super notes cloud service 93 based on the link. The download request carries information such as the operating system type. The Super notes cloud service 93 responds to the download request and returns the corresponding system compatibility configuration file and the synthesized file to user B's Super notes 92. Finally, user B's Super notes 92 deconstructs the obtained synthesized file and system compatibility configuration file to obtain the original file and the annotated file. In this way, user B can perform secondary editing on the circled and annotated file shared by user A in Super notes.
[0218] After introducing the relevant content on the second application side, the relevant content on the server side will be introduced below.
[0219] See also Fig.10 A schematic flow chart of a method for collecting information is shown, which can be applied to a server and may include:
[0220] Step S1001: The server obtains the collection information and corresponding association information uploaded by the second application.
[0221] Step S1002: The server aggregates the favorite information and corresponding associated information of the same user into an account set.
[0222] Step S1003: The server obtains the user's authorization instruction.
[0223] Step S1004: The server aggregates the account sets of different users into an account set according to the authorization instruction.
[0224] Optionally, the above method may also include: the server obtains a collection information search request from the second application; the server responds to the collection information search request and searches for collection information corresponding to the collection information search request from the account set; the server returns the collection information corresponding to the collection information search request to the second application.
[0225] After the favorite information of the same user is aggregated into an account set, and the account sets of different users are aggregated into an account set, the user can retrieve or view the favorite information across applications, devices, and users through the second application based on the account set.
[0226] Optionally, the above method may also include: the server obtains the composite file and system compatibility configuration file uploaded by the second application; the server generates other system compatibility configuration files based on the system compatibility configuration files; the server generates download links for the composite file and the system compatibility configuration file, and returns the download link to the second application; the server receives a download request initiated by the third application based on the download link; the server responds to the download request and transmits the composite file and system compatibility configuration file corresponding to the download request to the third application.
[0227] It is understandable that the server can generate other system compatibility configuration files based on the system compatibility configuration file. For example, based on the uploaded system compatibility configuration file of the Android system, a system compatibility configuration file of the Apple system is generated.
[0228] It should be noted that the process on the server side corresponds to the relevant process on the second application side. For relevant introduction, please refer to the above introduction on the second application side, which will not be repeated here.
[0229] The following will take the second application program Super notes as an example to introduce the interaction process between the electronic device and the server.
[0230] See also Fig.11 The interactive process diagram of information collection is shown, and the interactive process may include:
[0231] Step S1101: The first application displays an interface including favorites information.
[0232] Step S1102: The first application obtains the information collection operation performed by the user on the interface of the first application.
[0233] Step S1103: After the collection authority verification is passed, the first application transmits the collection information to Super Notes through the information collection interface in the Notes kit.
[0234] Step S1104: After Super Notes determines the industry category of the favorite information, it uses the template plug-in corresponding to the industry category to aggregate and display the favorite information.
[0235] As an example but not limitation, an English poem is displayed on the interface of a mobile phone, and the user can click the "Collect" button on the interface to enter the information collection operation. The mobile phone collects the poem to Supernotes by calling the information collection interface.
[0236] Step S1105, Super Notes uploads the collection information to the server.
[0237] Step S1106: The server aggregates the favorite information of the same user into an account set.
[0238] Step S1107: The server aggregates the account sets of different users into an account set according to the user's authorization instruction.
[0239] Step S1108, Super Notes obtains the user's favorite information retrieval operation.
[0240] Step S1109: Super Notes responds to the collection information retrieval operation and uploads a retrieval request to the server.
[0241] Step S1110: In response to the search request, the server retrieves the corresponding favorite information from the account set and returns the retrieved favorite information to Super Notes.
[0242] Step S1111, Super Notes obtains the user's circle and annotation operations on the original file.
[0243] Step S1112: Super Notes generates an annotation file of the original file in response to the circle and annotation operation.
[0244] Step S1113, Super Notes obtains the user's circled and annotated file sharing operation.
[0245] Step S1114, Super Notes responds to the sharing operation of the circled and annotated file and generates a composite file and a system compatible configuration file according to the original file and the annotated file.
[0246] Step S1115 , Super Notes shares the synthesized file and the system compatible configuration file to another user's Super Notes via a cloud sharing method or a near field sharing method.
[0247] It should be noted that the interactive process can be divided into information collection, multi-dimensional search and secondary editing of circled and annotated files. The relevant introduction of these contents can be found in the corresponding contents above, and will not be repeated here.
[0248] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0249] Fig.12 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Fig.12As shown, the electronic device 12 of this embodiment includes: at least one processor 120, a memory 121, and a computer program 122 stored in the memory 121 and executable on the at least one processor 120, and when the processor 120 executes the computer program 122, the steps in any of the above-mentioned method embodiments on the electronic device side are implemented.
[0250] For example, the processor of the electronic device runs the first application to implement the steps of the method embodiment on the first application side.
[0251] For example, the processor of the electronic device runs the second application to implement the steps of the method embodiment on the second application side.
[0252] For example, the processor of the server runs a computer program to implement the steps of the method embodiment corresponding to the server side.
[0253] The electronic device 12 may be a computing device such as a mobile phone, a tablet computer, a computer, or a server. The electronic device may include, but is not limited to, a processor 120 and a memory 121. Those skilled in the art will appreciate that Fig.12 It is only an example of the electronic device 12 and does not constitute a limitation of the electronic device 12. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, display units, etc.
[0254] The processor 120 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0255] In some embodiments, the memory 121 may be an internal storage unit of the electronic device 12, such as a hard disk or memory of the electronic device 12. In other embodiments, the memory 121 may also be an external storage device of the electronic device 12, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 12. Further, the memory 121 may also include both an internal storage unit of the electronic device 12 and an external storage device. The memory 121 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 121 may also be used to temporarily store data that has been output or is to be output.
[0256] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0257] An embodiment of the present application provides a computer program product. When the computer program product runs on an electronic device, the electronic device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0258] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0259] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0260] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0261] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0262] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for collecting information, characterized in that: Applied to a first electronic device having a first application and a second application installed thereon, the method includes: The first electronic device displays an interface of the first application, where the interface of the first application includes information to be collected; The first application detects an information collection operation; The first application program, in response to the information collection operation, calls the information collection interface in the application framework layer and performs collection permission verification; After the collection permission verification is passed, the first application transmits the information to be collected to the second application through the information collection interface, so as to collect the information to be collected in the second application; The second application synthesizes the original file of the collection information and the corresponding annotation file to obtain a synthesized file and a system compatible configuration file, wherein the annotation file of the original file is generated in response to the user's circle annotation operation on the original file, and the annotation file includes an annotation resource file, an annotation information file and an annotation configuration file; The second application shares the synthesized file and the system compatible configuration file with a third application to instruct the third application to obtain the original file and the annotated file according to the synthesized file and the system compatible configuration file when entering the annotation mode.
2. The method according to claim 1, characterized in that The method further comprises: The first application obtains a first authorization operation of the first user; In response to the first authorization operation, the first application program grants the collection permission to the second application program through the system permission module of the operating system.
3. The method according to claim 1 or 2, characterized in that The first application is a third-party application, the second application is an operating system-level application, and the information collection interface is an operating system-level interface.
4. A method for collecting information, characterized in that: Applied to a first electronic device having a first application and a second application installed thereon, the method includes: The second application obtains the information to be collected transmitted by the first application through the information collection interface in the application framework layer, and uses the information to be collected as the collection information; The second application synthesizes the original file of the collection information and the corresponding annotation file to obtain a synthesized file and a system compatible configuration file, wherein the annotation file of the original file is generated in response to the user's circle annotation operation on the original file, and the annotation file includes an annotation resource file, an annotation information file and an annotation configuration file; The second application shares the synthesized file and the system compatible configuration file with a third application to instruct the third application to obtain the original file and the annotated file according to the synthesized file and the system compatible configuration file when entering the annotation mode.
5. The method according to claim 4, characterized in that The first application is a third-party application, the second application is an operating system-level application, and the information collection interface is an operating system-level interface.
6. The method according to claim 4, characterized in that The method further comprises: The second application uploads the collection information and the corresponding associated information to the server to instruct the server to store the collection information and the corresponding associated information, and then aggregates the collection information and the corresponding associated information of the second application of the first user to obtain the account set of the first user.
7. The method according to claim 6, characterized in that The method further comprises: The second application obtains a second authorization operation of the first user; In response to the second authorization operation, the second application sends an authorization instruction to the server to instruct the server to aggregate the account set of the first user and the account sets of the other users into an account set according to the authorization instruction of the first user and the authorization instructions of the other users.
8. The method according to claim 7, characterized in that The method further comprises: The second application sends a favorite information search request to the server to instruct the server to search for favorite information corresponding to the favorite information search request from the account set in response to the favorite information search request; The second application program obtains the favorite information returned by the server and corresponding to the favorite information search request.
9. The method according to claim 4, characterized in that The method further comprises: The second application obtains a viewing instruction for the collection information; The second application program jumps to the interface of the original application program of the collection information according to the original application program information corresponding to the collection information obtained through the information collection interface.
10. The method according to any one of claims 4 to 9, characterized in that: The method further comprises: The second application determines the category of the collection information; The second application displays the favorite information using a template plug-in corresponding to the category of the favorite information.
11. The method according to claim 10, characterized in that The second application program shares the synthesized file and the system compatible configuration file with a third application program, including: The second application stores the synthesized file and the system compatibility configuration file in the server, instructing the server to generate a download link for the synthesized file and the system compatibility configuration file, and then returns the download link to the second application; The second application shares the download link to a third-party application, so that after the third application obtains the download link from the third-party application, it obtains the synthesized file and the system compatibility configuration file from the server according to the download link.
12. The method according to claim 10, characterized in that The second application program shares the synthesized file and the system compatible configuration file with a third application program, including: The second application program shares the synthesized file and the system compatible configuration file with the third application program via near field communication.
13. A method for collecting information, characterized in that: Applied to a server, the method comprises: The server obtains a synthesized file and a system compatibility configuration file uploaded by the second application, wherein the synthesized file and the system compatibility configuration file are obtained by the second application synthesizing an original file of the collection information and a corresponding annotation file, wherein the annotation file of the original file is generated in response to a user's circle annotation operation on the original file, and the annotation file includes an annotation resource file, an annotation information file, and an annotation configuration file; The server generates other system compatibility configuration files according to the system compatibility configuration file; The server generates a download link for the composite file and the system compatible configuration file, and returns the download link to the second application; The server receives a download request initiated by a third application according to the download link; In response to the download request, the server transmits the synthesized file and the system-compatible configuration file corresponding to the download request to the third application.
14. The method according to claim 13, characterized in that The method further comprises: The server obtains the collection information and corresponding association information uploaded by the second application; The server aggregates the favorite information and corresponding associated information of the same user into an account set; The server obtains the user's authorization instruction; The server aggregates the account sets of different users into an account set according to the authorization instruction.
15. The method according to claim 14, characterized in that The method further comprises: The server obtains a collection information search request of the second application program; The server searches for the favorite information corresponding to the favorite information search request from the account set in response to the favorite information search request; The server returns the favorite information corresponding to the favorite information search request to the second application.
16. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: The computer program includes a first application and a second application, and the processor is configured to run the first application to implement the method according to any one of claims 1 to 3.
17. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: The computer program includes a first application and a second application, and the processor is configured to run the second application to implement the method according to any one of claims 4 to 12.
18. A server comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 13 to 15 is implemented.
19. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 3, 4 to 12, or 13 to 15 is implemented.
Citation Information
Patent Citations
Method and device for storing application contents over applications
CN104808995A
Content collection method and device and device for collecting contents in application program
CN106202223A
An information collection method and a mobile terminal
CN109165320A
Method and system for shareable Office documents and real-time annotation based on Web
CN110347649A