WO2015058701A1 - 基于悬浮操作板的应用间通讯方法和装置 - Google Patents
基于悬浮操作板的应用间通讯方法和装置 Download PDFInfo
- Publication number
- WO2015058701A1 WO2015058701A1 PCT/CN2014/089366 CN2014089366W WO2015058701A1 WO 2015058701 A1 WO2015058701 A1 WO 2015058701A1 CN 2014089366 W CN2014089366 W CN 2014089366W WO 2015058701 A1 WO2015058701 A1 WO 2015058701A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- activity
- operation panel
- floating
- module
- currently running
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
Definitions
- the invention relates to an inter-application communication technology, in particular to an inter-application communication method and device based on a floating operation panel.
- Activity is one of the most common components of Android components.
- An application usually involves multiple activities, such as handling the user's input by the activity, performing the corresponding software functions, and presenting the user's execution results to the user.
- the existing mechanism of the Android operating system can ensure that each activity in the system has a unique name. When the activity is called, the corresponding activity can be called according to the name of the activity.
- the hub An application may call a specific activity in the application (such as a disk space cleanup activity) under certain circumstances, so that the hub application needs to know the name of a particular activity in the application so that the hub application can be accurate when needed. Calling this particular activity; another concrete example, where the user wants a private operation in some applications to enter a password to be able to execute, the hub application (such as a security management application) needs to get the current running of the clicked application. The name of the activity so that it can limit the execution of specific activities .
- Method 1 Based on "Intent” to determine the name of a particular activity, where “intent” is the message of communication between applications.
- the file manager application when the file manager application needs to play a video file, since the file manager application itself does not integrate complex and large parsing media files and playback functions, the file manager application will "view (VIEW) ”) as the name of "intention”, and use the path of the video file as a parameter of "intent” to issue a play request to the Android operating system; the Android operating system finds out which "active" currently supports this according to the play request. Intent, after that, the Android operating system invokes an activity supporting the "intent” according to the search result to play the video file; that is, the file manager application specifies an activity that can play the video through the "intent” parameter.
- Method 2 Determine the name of a specific activity through a pre-configured list of specified activities.
- an activity list is manually maintained in advance for a specific activity of a plurality of applications, and when an application (a hub application) needs to obtain a name of a specific activity of another application, the application can find a specific activity from the manually maintained activity list.
- the name is manually maintained in advance for a specific activity of a plurality of applications, and when an application (a hub application) needs to obtain a name of a specific activity of another application, the application can find a specific activity from the manually maintained activity list. The name.
- the above method 1 has the advantage that the coupling relationship between the applications is weak, the method can obtain support for the intention because the method needs to initiate a request to the operating system with the "intent" supported by the target activity as the target activity.
- the activity of the application therefore, the target activity specified by the application must be an activity that supports at least one kind of "intention”; however, since the current application is not designed with communication between applications, most activities in the current application are Calling through “intent” is not supported; thus the scope of application of mode one is very limited.
- the second method has the advantage of obtaining the name of the activity simply and conveniently by reading the pre-configured activity list, since the method requires manual maintenance of the pre-configured activity list, it requires a lot of manpower and material resources.
- the implementation of this method has strong limitations because the activities that the application can invoke are limited by the list of pre-configured activities.
- the present invention has been made in order to provide a floating operation panel based inter-application communication method and a corresponding floating operation panel based inter-application communication device that overcomes the above problems or at least partially solves the above problems.
- an inter-application communication method based on a floating operation panel comprising: acquiring information required to perform a predetermined operation on a target application of a mobile terminal; constructing a floating operation panel for the information of the predetermined operation, and Displaying the floating operation panel; acquiring a trigger time of the predetermined operation in a case where a predetermined operation that has entered the target application and the displayed floating operation panel is triggered; by calling a task manager in an operating system
- the system service obtains an identification of the activity of the target application currently running at the trigger time, and records the identity of the activity as an identified activity of the locked activity in the locked activity set, the identity of the activity being used for unique determination An activity.
- the above-mentioned inter-application communication method based on the floating operation board, wherein the content of the floating operation board constructed for the information of different predetermined operations is different.
- the method for communication between applications based on a floating operation board comprises: calling the floating operation board by calling a window manager system service in an operating system Displayed in the form of a floating window.
- the method for inter-application communication based on the floating operation board wherein the method further comprises: when the predetermined operation of the target application needs to be started, calling corresponding according to the identifier of the activity in the locked activity set activity.
- the above-mentioned floating operation board-based inter-application communication method wherein the predetermined operation comprises: access control of a page of a target application, and acquiring the trigger in a call by a task manager system service in an operating system
- the method further includes: invoking an encryption activity, and displaying an encrypted picture; acquiring the encrypted information input by the user through the encrypted picture, and storing the encrypted information.
- the method for inter-application communication based on the floating operation board wherein the method further comprises: continuously querying an identifier of the currently running activity; determining, according to the identifier of the queried activity and the locked activity set, that the current is being In the case where the operated activity is a locked activity, the encrypted activity is made to be the currently running activity, and the decrypted picture is displayed; when the decrypted information received through the decrypted picture matches the stored encrypted information, the said The locked activity is restored to the currently running activity.
- the method for inter-application communication based on the floating operation board, wherein the identifier of the activity that is currently running is continuously querying the identifier of the currently running activity is periodically queried by the activity manager system service.
- an inter-application communication device based on a floating operation panel
- the device comprising: an acquisition operation information module for acquiring information required to perform a predetermined operation on a target application of the mobile terminal; a floating operation panel module, Constructing a floating operation panel for the information of the predetermined operation, and displaying the floating operation panel; acquiring a trigger time module, configured to acquire the predetermined operation when the displayed floating operation panel is triggered a triggering time of the predetermined operation; the collection maintenance module is configured to acquire an identifier of an activity currently running at the trigger time by calling a task manager system service in the operating system, and use the identifier of the activity as the locked activity
- the identification record is in a locked activity collection, the identification of which is used to uniquely identify an activity.
- the above-mentioned inter-application communication device based on the floating operation panel, wherein the content of the floating operation panel constructed for the information of different predetermined operations is different.
- the floating operation panel module is specifically configured to display the floating operation panel as a floating window by calling a window manager system service in an operating system.
- the above-mentioned floating operation board-based inter-application communication device wherein the predetermined operation comprises: access control to a page of the target application, and the device further includes:
- An activity calling module configured to: according to the predetermined operation when the target application needs to be started The identity of the activity in the locked activity collection calls the corresponding activity.
- the above-mentioned floating operation board based inter-application communication device wherein the predetermined operation comprises: access control of a page of the target application, and the device further comprises: an encryption module, configured to be in the operating system by calling After the task manager system service acquires the identifier of the activity currently running at the trigger time, the encryption activity is invoked, and an encrypted screen is displayed, the encrypted information input by the user is acquired through the encrypted screen, and the encrypted information is stored.
- the above-mentioned floating operation board based inter-application communication device wherein the device further comprises: a query module, configured to continuously query an identifier of an activity currently running; and a decryption module, configured to identify the activity according to the query And the locked activity set, in the case that it is determined that the currently running activity is the locked activity, making the encrypted activity the currently running activity, and displaying the decrypted picture; the decrypted information received by the decrypted picture and the When the stored encrypted information matches, the locked activity is restored to the currently running activity.
- a query module configured to continuously query an identifier of an activity currently running
- a decryption module configured to identify the activity according to the query And the locked activity set, in the case that it is determined that the currently running activity is the locked activity, making the encrypted activity the currently running activity, and displaying the decrypted picture; the decrypted information received by the decrypted picture and the When the stored encrypted information matches, the locked activity is restored to the currently running activity.
- the above-mentioned inter-application communication device based on the floating operation board, wherein the query module is specifically configured to: periodically query the identifier of the currently running activity through the activity manager system service.
- the method and device for inter-application communication based on a floating operation panel by setting a floating operation panel for a predetermined operation, so that the user can pass after entering an application (such as entering an interface of the application)
- an application such as entering an interface of the application
- the trigger time of the predetermined operation can be conveniently utilized to accurately obtain the identification of the activity of the operating system running at the trigger time by the task manager system service in the operating system, thereby being convenient and accurate.
- Obtain the identification of the activity (such as the name of the activity); store the identifier of the acquired activity in the locked activity collection, so that the locked activity collection can be conveniently used to implement various functions, such as effectively preventing the user's private information.
- the problem of leakage can effectively avoid the problem that the application mode of the application is limited due to the use of "intention” and the burden of increasing the operation of the user.
- Can also effectively avoid pre-configured activity lists The human and material consumption and limitations of implementation ultimately improve the user experience.
- FIG. 1 is a flow chart showing an inter-application communication method based on a floating operation panel according to a first embodiment of the present invention
- FIG. 2 is a flow chart showing an inter-application communication method based on a floating operation panel according to a second embodiment of the present invention
- FIG. 3 is a flow chart showing an inter-application communication method based on a floating operation panel according to a third embodiment of the present invention.
- FIG. 4 is a schematic diagram of an inter-application communication device based on a floating operation panel according to Embodiment 5 of the present invention.
- FIG. 5 is a schematic diagram of an inter-application communication device based on a floating operation panel according to Embodiment 6 of the present invention.
- FIG. 6 is a schematic diagram of an inter-application communication device based on a floating operation panel according to Embodiment 7 of the present invention.
- Figure 7 shows a block diagram of an electronic device for performing the method of the present invention
- Figure 8 shows a schematic diagram of a memory unit for holding or carrying program code implementing a method in accordance with the present invention.
- Embodiment 1 An inter-application communication method based on a floating operation panel. The method flow is shown in Figure 1.
- S100 obtains information that needs to perform a predetermined operation on a target application of the mobile terminal.
- the hub application in the embodiment of the present invention may perform information interaction with the user by providing a display screen for selecting a predetermined operation for the user to obtain information that needs to perform a predetermined operation; the predetermined operation may include: encrypting the access to the page. Operation and automatic execution of operations (such as system optimization operations and traffic statistics operations, etc.) and so on.
- the hub application provides a display screen for the user, and the display screen includes a plurality of buttons (such as an encryption operation button and an automatic execution operation button) that need to perform a predetermined operation; and the user selects the display screen in the display screen.
- buttons such as an encryption operation button and an automatic execution operation button
- the hub application can acquire information that requires a predetermined operation on the target application of the mobile terminal according to the related operation of the user in the display screen.
- the above-mentioned hub application refers to an application that needs to obtain an identifier of an activity in another application, for example, moving
- the security management application also referred to as security software
- the security management application in the terminal needs to obtain the identifier of the activity in other applications because it needs to perform security management or control on other applications, and therefore needs to obtain the identifier of the activity in other applications. Therefore, the security management application can become the present.
- the hub application in the embodiment of the invention.
- the mobile terminal may be a smart mobile phone based on the Android operating system, or may be a mobile terminal such as a tablet computer based on the Android operating system.
- the displayed floating operation panel may include one or more buttons, and each button represents a predetermined operation that needs to be performed, for example, when the content in a target application relates to user privacy, and needs to be applied to the target.
- the content sets the access password
- the hub application can set an encryption button for access to the private content in the floating operation panel, so that the user can set a password to allow access to the content through the encryption button.
- a floating operation panel having different contents can be constructed for different predetermined operations.
- the floating operation panel constructed by the hub application can be displayed on the mobile terminal in the form of a floating window.
- the hub application can use the WindowManager (Window Manager) system service in the operating system to construct the floating operation panel in the form of a floating window. display.
- WindowManager Window Manager
- the above WindowManager system service may also be referred to as a window manager API (application programming interface).
- the predetermined operation is triggered, that is, the user needs to lock the specific activity of the target application currently running in the operating system.
- the specific activity of the currently running target application may be an activity invoked by the application when the user enters a certain page of an application (such as an access page related to the user's private content in the target application), and the activity becomes the current operation. activity.
- the hub application can conveniently obtain the trigger time of the predetermined operation.
- the hub application can use the time when the user clicks the button as the trigger time of the predetermined operation, so that the embodiment of the present invention can conveniently and accurately obtain the query.
- the time query parameter of the activity currently running in the operating system is triggered, that is, the user needs to lock the specific activity of the target application currently running in the operating system.
- the TaskManager system service (also referred to as the task manager API) in the Android operating system can be used to find out according to the running time of the activity to run at that time.
- the identification of the activity for example, the hub application invokes the TaskManager system service, and the trigger time of the predetermined operation is taken as an input parameter of the TaskManager system service, and the TaskManager system service searches for the record matching the input parameter in the latest activity record in the operating system.
- the identifier of the corresponding activity can be obtained from the matching record, and the TaskManager system service provides the identifier of the obtained activity to the hub application; the hub application can store the obtained identifier of the activity as the identifier of the locked activity in the locked activity list.
- the identification of the above activities should be able to uniquely identify an activity, and the identification of the activity may be specifically the name of the activity or the index of the activity.
- the activity name is usually composed of two parts, namely the application package name and the name of the activity in the application, such as the name of the QQ login activity of the mobile phone: com.tencent.mobileqq.activity. LoginActivity;
- com.tencent.mobileqq is the name of the QQ application of the mobile phone
- activity.LoginActivity is the name of the login activity in the QQ application, and the two are combined to form a complete event name.
- embodiments of the present invention can accurately locate an activity invoked by an application by storing only the name of the activity in the locked activity list.
- the embodiment of the present invention can implement automatic maintenance of the locked activity list.
- the locked activity list can be used for subsequent central applications to invoke corresponding activities or for the central application to trigger other activities for an activity.
- the above-mentioned locked activity set (such as the locked activity list) may be set to be empty when the hub application is initialized, after which the hub application may continuously update the locked activity set according to the user's management of the application in the mobile terminal thereof. content.
- Embodiment 2 An inter-application communication method based on a floating operation board, the method flow is shown in FIG. 2 .
- S200 obtains information that needs to perform a predetermined operation on a target application of the mobile terminal.
- the storage space of the mobile terminal needs to be fragmented.
- the identifier of the activity corresponding to the defragmentation operation in the defragmentation application can be queried from the list of activities maintained by the defragmentation application, and the corresponding activity is invoked according to the identifier of the activity obtained by the query, so that the hub application can store the mobile terminal by itself. Space is defragmented.
- a dialog window pops up to prompt the user whether to perform the defragmentation operation, if the information input by the user indicates that the defragmentation operation is required (such as clicking “ If it is a "button", the hub application queries the activity list corresponding to the defragmentation operation in the defragmentation application from the list of activities it maintains, and invokes the corresponding activity according to the identifier of the activity obtained by the query, so that the hub application can be levied
- the storage space of the mobile terminal is defragmented with the consent of the user.
- the defragmentation operation in the above two specific examples can also be converted into operations such as traffic statistics, which will not be described here.
- Embodiment 3 An inter-application communication method based on a floating operation board, the method flow is shown in FIG. 3 .
- S300 obtains information that needs to perform a predetermined operation on a target application of the mobile terminal.
- S310 Construct a floating operation panel for displaying the information that needs to perform a predetermined operation, such as information for encrypting a specific page of the target application, and display the floating operation panel.
- S340 Invoking an encryption activity, displaying an encrypted picture, and then acquiring the encrypted information input by the user through the encrypted screen, and storing the encrypted information.
- the name of the encryption activity is usually preset in the hub application, that is, the encryption activity may belong to the hub application itself.
- the hub application can display the encrypted screen to the user for the encryption activity through the WindowManager system service; thus the user can input the encrypted password through the encrypted screen.
- the hub application may store the encrypted information (ie, the encrypted password) input by the user through the encrypted screen in a manner corresponding to the identification information of the application (such as the name of the application) and the encrypted information corresponding to the predetermined operation; The subsequent hub application can conveniently query the corresponding encrypted information during the decryption process.
- the hub application may continue to query the identifier of the currently running activity after the encryption operation is completed; if the mobile terminal is powered off after the encryption operation is completed, the mobile terminal is opened. After the machine, the hub application can continuously query the identity of the currently running activity; and the hub application can periodically query the identity of the currently running activity through the ActivityManager system service in the operating system.
- the hub application may perform a matching search in the locked activity set according to the identifier of the activity obtained by the query, and if there is a matching activity identifier in the locked activity set, it indicates that the currently running activity is the locked activity,
- the cryptographic activity can be invoked so that the locked activity is no longer the currently running activity, and the invoked cryptographic activity becomes the currently running activity.
- the decrypted screen becomes the current display screen of the mobile terminal.
- the hub application can end the operation of the encryption activity, so that the encryption activity is no longer the currently running activity, and thus the locked activity masked by the encrypted activity is again Become an activity that is currently running.
- Embodiment 4 An inter-application communication method based on a floating operation panel. The present embodiment will be described below with a specific example.
- a photo selection interface is integrated to allow the user to select a photo in the mobile phone for uploading.
- users are likely to have some private photos in their mobile phones, and they do not want these applications to directly access the photos in their mobile phones; at the same time, users need to use these social applications in other situations.
- the user can lock the existing interface of the social application to access photos in the mobile phone through the "program lock" function of the security software (ie, security application) in the mobile phone.
- the security software in the mobile phone will pop up a program lock interface, and the user must input the correct unlock password before continuing to read the photos. . If other users only use other features of the social application and do not access the photos on the mobile phone through the application, the "program lock" function of the security software does not disturb the normal use of the user.
- the user opens the security software with the "program lock” function in his mobile terminal (ie, the hub application, also known as the hub software), and selects the "specific interface encryption for the target application” provided by the security software.
- the security software constructs one for the user's choice to perform the function
- the floating operation board of the encryption function, the "lock” button is set on the floating operation panel, and a series of prompt texts can also be set, such as "Please click on the lock on the interface where you wish to perform the lock”.
- the security software calls the WindowManager system service of the Android operating system, and displays the floating operation panel as a floating window in the mobile terminal. From the user's point of view, a floating operation panel pops up on the display of the mobile terminal.
- the user clicks into the social application that needs to restrict access to the photo, and enters an interface for displaying the photo in the mobile phone in the social application; when the user enters the interface, the user clicks the "lock" button on the floating window, which
- the time security software obtains the name of the activity corresponding to the operation of the current user entering the social application that needs to restrict access to the photo through the TaskManager system service in the Android operating system.
- the security software adds the name of the activity to its "locked activity list".
- the security software invokes the encryption activity and uses the WindowManager system service to display the encrypted page.
- the user can enter the encrypted password through the encrypted page, and the security software stores the valid encrypted password input by the user.
- the encrypted password corresponds to the user entering an action that requires a social application that restricts access to the photo.
- the security software successfully obtains the name of the activity that the user needs to lock, and obtains the corresponding encrypted password, thereby completing the restriction setting for the social access of the user to restrict access to the photo.
- the monitoring can periodically query the name of the activity currently running in the foreground through the ActivityManager service of the Android operating system in a short cycle, such as querying the name of the activity currently running in the foreground at a frequency of 2 times per second; once the security software is used It is found that the name of the activity currently running in the foreground is the name of the activity corresponding to the operation of the user in the "locked activity list" stored by the user who needs to restrict access to the photo, indicating that the user has just started the locked activity. Trying to access the above photo.
- the security software immediately pops up the interface corresponding to the “unlock activity” (ie, decrypts the display screen) to ask the user to enter the password. Since all activities in the Android operating system are run in full screen, the "unlocking activity” will cover the running of the previously locked activity when the "unlocking activity” starts running.
- Embodiment 5 An inter-application communication device based on a floating operation panel. The device is shown in Figure 4.
- the inter-application communication device mainly includes: an acquisition operation information module 400, a floating operation panel module 410, an acquisition trigger time module 420, and a collection maintenance module 430; wherein the floating operation panel module 410 and the acquisition operation information module 400 and the acquisition The trigger time modules 420 are respectively connected, and the acquisition trigger time module 420 is also connected to the set maintenance module 430.
- the acquisition operation information module 400 is mainly used to acquire information that needs to perform a predetermined operation on a target application of the mobile terminal.
- the acquiring operation information module 400 may perform information interaction with the user by providing a display screen for selecting a predetermined operation for the user to obtain information that needs to perform a predetermined operation; the predetermined operation may include: an encryption operation for accessing the page and automatic Perform operations (such as system optimization operations and traffic statistics operations, etc.) and so on.
- the acquisition operation information module 400 provides a display screen for the user, where the display screen includes a plurality of buttons (such as an encryption operation button and an automatic execution operation button) that need to perform a predetermined operation; and the user selects the display.
- buttons such as an encryption operation button and an automatic execution operation button
- the acquisition operation information module 400 can acquire information that requires a predetermined operation on the target application of the mobile terminal according to the related operation of the user in the display screen.
- the floating operation panel module 410 is mainly configured to construct a floating operation panel for acquiring information of a predetermined operation acquired by the operation information module 400, and display the floating operation panel.
- the floating operation panel module 410 constructed and displayed may include one or more buttons in the floating operation panel, and each button represents a predetermined operation to be performed, for example, when content in a target application relates to user privacy.
- the access password needs to be set for the content in the target application, and the floating operation panel module 410 can set an encryption button for accessing the privacy content in the floating operation panel, so that the user can set a password for allowing access to the content through the encryption button.
- the floating operation panel module 410 may be configured for different predetermined operations to construct a floating operation panel of different contents.
- the floating operation panel constructed by the floating operation panel module 410 can be displayed on the mobile terminal in the form of a floating window.
- the floating operation panel module 410 can perform a floating operation of the floating operation panel module 410 by calling the WindowManager system service in the operating system.
- the board is displayed in the form of a floating window.
- the above WindowManager system service may also be referred to as a window manager API (application programming interface).
- the acquisition trigger time module 420 is mainly used to acquire the trigger time of the predetermined operation in a case where the specific activity of the target application has been entered and the predetermined operation on the floating operation panel displayed above is triggered.
- the predetermined operation is triggered, that is, the user needs to lock the currently running activity in the operating system, and is currently running.
- An activity can be when a user enters a certain page of an application (eg The activity invoked by the application when the access page of the target application involves the user's private content, the activity becomes the currently running activity.
- the acquisition trigger time module 420 can conveniently obtain the trigger time of the predetermined operation.
- the acquisition trigger time module 420 can use the time when the user clicks the button as the trigger time of the predetermined operation, so that the embodiment of the present invention can be very It is convenient and accurate to get the time query parameters for querying the currently running activities in the operating system.
- the collection maintenance module 430 is mainly configured to acquire an identifier of an activity currently running at the trigger time by calling a task manager system service in the operating system, and record the identifier of the activity as a locked activity to the locked activity set. in.
- the TaskManager system service (also referred to as a task manager API) in the Android operating system can be used to find the identifier of the activity running at that time according to the running time of the activity, for example, the collection maintenance module.
- 430 calls the TaskManager system service, and the triggering time of the locking operation is used as an input parameter of the TaskManager system service, and the TaskManager system service can obtain the record matching the input parameter in the latest activity record in the operating system, and can obtain the matching record.
- the TaskManager system service provides the identifier of the obtained activity to the collection maintenance module 430; the collection maintenance module 430 may store the obtained identification of the activity as the identifier of the locked activity in the locked activity list.
- the identification of the above activities should be able to uniquely identify an activity, and the identification of the activity may be specifically the name of the activity or the index of the activity.
- the embodiment of the present invention can implement automatic maintenance of the locked activity list.
- the locked activity list can be used for subsequent central applications to invoke corresponding activities or for the central application to trigger other activities for an activity.
- Embodiment 6 An inter-application communication device based on a floating operation panel. The device is shown in Figure 5.
- the inter-application communication device mainly includes: an acquisition operation information module 400, a floating operation panel module 410, an acquisition trigger time module 420, a collection maintenance module 430, and an activity invoking module 500; wherein the floating operation panel module 410 and the acquisition operation
- the information module 400 and the acquisition trigger time module 420 are respectively connected, and the collection maintenance module 430 is connected to the acquisition trigger time module 420 and the activity calling module 500, respectively.
- the specific operations performed by the operation information module 400, the floating operation board module 410, the acquisition trigger time module 420, and the collection maintenance module 430 are as described in the above fifth embodiment, and the description thereof will not be repeated here.
- the activity invoking module 500 is mainly used to invoke the corresponding activity according to the identifier of the activity in the locked activity set when the predetermined operation of the target application needs to be started.
- the activity calling module 500 monitors the storage space of the mobile terminal needs to enter When the defragmentation is performed, the identifier of the activity corresponding to the defragmentation operation in the defragmentation application may be queried from the list of activities maintained above, and the corresponding activity is invoked according to the identifier of the activity obtained by the query, so that the device in this embodiment can Defragment the storage space of the mobile terminal.
- a dialog window pops up to prompt the user whether to perform a defragmentation operation, if the information input by the user indicates that a defragmentation operation is required (eg, Clicking the "Yes" button), the activity invoking module 500 queries the activity identifier corresponding to the defragmentation operation in the defragmentation application from the activity list maintained above, and invokes the corresponding activity according to the identifier of the activity obtained by the query, thereby
- the apparatus of the embodiment may defragment the storage space of the mobile terminal with the consent of the user.
- the defragmentation operation in the above two specific examples can also be converted into operations such as traffic statistics, which will not be described here.
- Embodiment 7 An inter-application communication device based on a floating operation panel. The device is shown in Figure 6.
- the inter-application communication device includes: an acquisition operation information module 400, a floating operation panel module 410, an acquisition trigger time module 420, a collection maintenance module 430, an encryption module 600, a query module 610, and a decryption module 620;
- the board module 410 is connected to the acquisition operation information module 400 and the acquisition trigger time module 420, respectively, and the collection maintenance module 430 is connected to the encryption module 600, and the query module 610 is connected to the encryption module 600 and the decryption module 620, respectively.
- the specific operations performed by the operation information module 400, the floating operation board module 410, the acquisition trigger time module 420, and the collection maintenance module 430 are as described in the above fifth embodiment, and the description thereof will not be repeated here.
- the encryption module 600 is mainly configured to invoke an encryption activity after acquiring an identifier of an activity currently running at a trigger time by calling a task manager system service in the operating system, and display an encrypted screen, and obtain the encrypted information input by the user through the encrypted screen. And store the encrypted information.
- the name of the encryption activity is usually preset in the encryption module 600, that is, the encryption activity may belong to the encryption module 600 itself.
- the encryption module 600 can display an encrypted screen to the user for the encryption activity through the WindowManager system service; thus, the user can input the encrypted password through the encrypted screen.
- the encryption module 600 may store the encrypted information (ie, the encrypted password) input by the user through the encrypted screen in a manner corresponding to the identification information of the application (such as the name of the application) and the encrypted information corresponding to the predetermined operation;
- the subsequent decryption module 620 can conveniently query the corresponding encrypted information during the decryption process.
- the query module 610 is mainly used to continuously query the identifier of the currently running activity.
- the query module 610 may continue to query the identifier of the currently running activity; if the mobile terminal is powered off after the encryption operation is completed, the query module is started after the mobile terminal is powered on. 610 can continue to query the currently running activities Identification; and the query module 610 can periodically query the identity of the currently running activity through the ActivityManager system service in the operating system.
- the decryption module 620 is mainly used to make the encrypted activity become the currently running activity and display the encrypted activity according to the identifier of the activity queried by the query module 610 and the locked activity set, when it is determined that the currently running activity is the locked activity.
- the screen is decrypted; when the decrypted information received through the decrypted picture matches the stored encrypted information, the locked activity is restored to the currently running activity.
- the decryption module 620 may perform a matching search in the locked active set according to the identifier of the activity obtained by the query module 610, and if there is a matching active identifier in the locked active set, it indicates that the currently running activity is locked. At this point, the decryption module 620 can invoke the cryptographic activity so that the locked activity is no longer the currently running activity, and the invoked cryptographic activity becomes the currently running activity. In addition, the decrypted screen becomes the current display screen of the mobile terminal.
- the decryption module 620 can end the operation of the encryption activity so that the encryption activity is no longer the currently running activity, such that the locked activity masked by the encrypted activity becomes the current The activity that is running.
- modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
- Modules or units or components in an embodiment may be combined into one module or unit or component, and in addition They are divided into multiple sub-modules or sub-units or sub-components.
- any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined.
- the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
- a microprocessor or digital signal processor may be used in practice to implement some or all of the components of the floating interoperability communication method and apparatus according to embodiments of the present invention.
- the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
- Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
- Figure 7 illustrates an electronic device that can implement the method of securely accessing a web address of the present invention.
- the electronic device conventionally includes a processor 1210 and a computer program product or computer readable medium in the form of a memory 1220.
- the memory 1220 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM.
- Memory 1220 has a memory space 1230 for program code 1231 for performing any of the method steps described above.
- storage space 1230 for program code may include various program codes 1231 for implementing various steps in the above methods, respectively.
- the program code can be read from or written to one or more computer program products.
- Such computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
- Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG.
- the storage unit may have a storage section or a storage space or the like arranged similarly to the storage 1220 in the electronic device of FIG.
- the program code can be compressed, for example, in an appropriate form.
- the storage unit comprises a program 1231' for performing the steps of the method according to the invention, ie a code readable by a processor such as 1210, which when executed by the electronic device causes the electronic device to perform the above Each step in the described method.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
- Stored Programmes (AREA)
Abstract
本发明公开了一种基于悬浮操作板的应用间通讯方法和装置,其中的方法包括:获取需要对移动终端的目标应用进行预定操作的信息;针对所述预定操作的信息构造悬浮操作板,并显示所述悬浮操作板;在所述显示的悬浮操作板上的预定操作被触发的情况下,获取所述预定操作的触发时间;通过调用操作系统中的任务管理器系统服务获取在所述触发时间当前正在运行的活动的标识,并将所述活动的标识作为被锁定的活动的标识记录到被锁定活动集合中,所述活动的标识用于唯一确定一个活动。
Description
本发明涉及应用间通讯技术,特别是涉及一种基于悬浮操作板的应用间通讯方法和装置。
在基于Android(安卓)的移动终端中,Activity(活动)是Android组件中最为常见的组件之一。一个应用通常会涉及到多个活动,如由活动来处理用户的输入,执行相应的软件功能,并向用户展现功能的执行结果等等。
Android操作系统的现有机制可以保证系统中每一个活动都有一个唯一的名称,在调用活动时,可以根据活动的名称来调用相应的活动。在实际应用中,通常会存在一个应用需要获知另一个应用中的活动的名称的需求,即应用间存在通讯需求;例如,移动终端中的中枢应用通常需要获得应用中某个特定活动的名称,以便能够准确的调用该活动或者监视该活动在运行过程中所触发的其他活动等;一个具体的例子,针对基于Android的移动电话的桌面上的一个应用的图标(如磁盘空间清理图标),中枢应用可能会在某些特定情况下,调用该应用中的某个特定活动(如磁盘空间清理活动),从而中枢应用需要获知该应用中的特定活动的名称,以便于中枢应用在需要时可以准确的调用该特定活动;另一个具体的例子,在用户希望某些应用中的私密操作必需输入口令才能够执行的情况下,中枢应用(如安全管理应用)需要获得被点击的应用的当前运行的活动的名称,以便于能够对特定活动的执行进行限制。
目前,在基于Android操作系统的移动终端中,获取应用中的某一特定活动的名称的实现方式主要有以下两种:
方式一、基于“意图(Intent)”来确定某一特定活动的名称,其中的“意图”是应用之间进行通讯的消息。
一个具体的例子,在文件管理器应用需要播放一个视频文件时,由于该文件管理器应用本身并没有集成复杂庞大的解析媒体文件以及回放功能,因此,该文件管理器应用会以“查看(VIEW)”作为“意图”的名称,并以该视频文件的路径作为“意图”的参数,向Android操作系统发出一个播放请求;Android操作系统根据该播放请求查找当前有哪些“活动”可以支持这个“意图”,之后,Android操作系统根据查找结果调用一个支持该“意图”的活动,以播放该视频文件;也就是说,文件管理器应用通过“意图”参数指定了一个可以播放视频的活动。
方式二、通过预配置的指定活动列表确定某一特定活动的名称。
具体的,预先针对多个应用的特定活动手工维护一活动列表,在一应用(中枢应用)需要获得其他应用的特定活动的名称时,该应用可以从上述手工维护的活动列表中查找获知特定活动的名称。
发明人在实现本发明过程中发现:
上述方式一虽然具有应用之间耦合关系较弱的优点,但是,由于该方式在指定目标活动时需要以该目标活动所支持的“意图”为参数向操作系统发起请求才能够获得支持这种意图的活动,因此,应用指定的目标活动必须是支持至少一种“意图”的活动;然而,由于目前的应用在设计时通常并没有考虑应用间的通讯,因此,目前应用中的大多数活动并不支持通过“意图”来调用;从而方式一的适用范围是非常有限的。另外,对于应用指定的一个“意图”而言,移动终端上可能会有多个活动支持该“意图”,从而操作系统会返回多个结果,需要用户从多个结果中选择以确定调用的活动;这不但增加了用户的操作负担,而且用户对于比较相近的结果通常难以区分,从而影响了用户体验。
上述方式二虽然具有通过读取预配置的活动列表而简单方便的获得活动的名称的优点,但是,由于该方式需要手工定期维护预配置的活动列表,因此,需要耗费较多的人力和物力。另外,由于应用所能够调用的活动会受到预配置的活动列表的限制,因此,该方式的实施具有较强的局限性。
发明内容
鉴于上述问题,提出了本发明,以便提供一种克服上述问题或者至少部分地解决上述问题的基于悬浮操作板的应用间通讯方法和相应的基于悬浮操作板的应用间通讯装置。
依据本发明的一个方面,提供了基于悬浮操作板的应用间通讯方法,该方法包括:获取需要对移动终端的目标应用进行预定操作的信息;针对所述预定操作的信息构造悬浮操作板,并显示所述悬浮操作板;在已进入所述目标应用且所述显示的悬浮操作板上的预定操作被触发的情况下,获取所述预定操作的触发时间;通过调用操作系统中的任务管理器系统服务获取在所述触发时间当前正在运行的目标应用的活动的标识,并将所述活动的标识作为被锁定的活动的标识记录到被锁定活动集合中,所述活动的标识用于唯一确定一个活动。
可选的,上述基于悬浮操作板的应用间通讯方法,其中,针对不同预定操作的信息所构造出的悬浮操作板的内容不相同。
可选的,上述基于悬浮操作板的应用间通讯方法,其中,所述显示所述悬浮操作板包括:通过调用操作系统中的窗口管理器系统服务将所述悬浮操作板
以悬浮窗的形式显示。
可选的,上述基于悬浮操作板的应用间通讯方法,其中,所述方法还包括:在需要启动所述目标应用的预定操作时,根据所述被锁定活动集合中的活动的标识调用相应的活动。
可选的,上述基于悬浮操作板的应用间通讯方法,其中,所述预定操作包括:对目标应用的页面的访问控制,且在通过调用操作系统中的任务管理器系统服务获取在所述触发时间当前正在运行的活动的标识之后,所述方法还包括:调用加密活动,并显示加密画面;通过所述加密画面获取用户输入的加密信息,并存储所述加密信息。
可选的,上述基于悬浮操作板的应用间通讯方法,其中,所述方法还包括:持续查询当前正在运行的活动的标识;根据查询到的活动的标识以及被锁定活动集合在确定出当前正在运行的活动为被锁定的活动的情况下,使所述加密活动成为当前正在运行的活动,并显示解密画面;在通过解密画面接收的解密信息与所述存储的加密信息匹配时,使所述被锁定的活动恢复为当前正在运行的活动。
可选的,上述基于悬浮操作板的应用间通讯方法,其中,所述持续查询当前正在运行的活动的标识包括:通过活动管理器系统服务定时查询当前正在运行的活动的标识。
根据本发明的另一方面,提供了基于悬浮操作板的应用间通讯装置,该装置包括:获取操作信息模块,用于获取需要对移动终端的目标应用进行预定操作的信息;悬浮操作板模块,用于针对所述预定操作的信息构造悬浮操作板,并显示所述悬浮操作板;获取触发时间模块,用于在所述显示的悬浮操作板上的预定操作被触发的情况下,获取所述预定操作的触发时间;集合维护模块,用于通过调用操作系统中的任务管理器系统服务获取在所述触发时间当前正在运行的活动的标识,并将所述活动的标识作为被锁定的活动的标识记录到被锁定活动集合中,所述活动的标识用于唯一确定一个活动。
可选的,上述基于悬浮操作板的应用间通讯装置,其中,针对不同预定操作的信息所构造出的悬浮操作板的内容不相同。
可选的,上述基于悬浮操作板的应用间通讯装置,其中,所述悬浮操作板模块具体用于:通过调用操作系统中的窗口管理器系统服务将所述悬浮操作板以悬浮窗的形式显示。
可选的,上述基于悬浮操作板的应用间通讯装置,其中,所述预定操作包括:对目标应用的页面的访问控制,且所述装置还包括:
活动调用模块,用于在需要启动所述目标应用的预定操作时,根据所述被
锁定活动集合中的活动的标识调用相应的活动。
可选的,上述基于悬浮操作板的应用间通讯装置,其中,所述预定操作包括:对目标应用的页面的访问控制,且所述装置还包括:加密模块,用于在通过调用操作系统中的任务管理器系统服务获取在所述触发时间当前正在运行的活动的标识之后,调用加密活动,并显示加密画面,通过所述加密画面获取用户输入的加密信息,并存储所述加密信息。
可选的,上述基于悬浮操作板的应用间通讯装置,其中,所述装置还包括:查询模块,用于持续查询当前正在运行的活动的标识;解密模块,用于根据查询到的活动的标识以及所述被锁定活动集合在确定出当前正在运行的活动为被锁定的活动的情况下,使该加密活动成为当前正在运行的活动,并显示解密画面;在通过解密画面接收的解密信息与所述存储的加密信息匹配时,使所述被锁定的活动恢复为当前正在运行的活动。
可选的,上述基于悬浮操作板的应用间通讯装置,其中,所述查询模块具体用于:通过活动管理器系统服务定时查询当前正在运行的活动的标识。
根据本发明实施例提供的基于悬浮操作板的应用间通讯方法和装置,通过针对预定操作设置悬浮操作板,这样,用户可以在进入某个应用(如进入该应用的某个界面)后,通过触发悬浮操作板上的预定操作,就可以方便的利用预定操作的触发时间通过操作系统中的任务管理器系统服务来准确的获取到操作系统在触发时间时运行的活动的标识,从而可以方便准确的获得活动的标识(如活动的名称);通过将获取的活动的标识存储于锁定活动集合中,这样,在后续可以方便的利用锁定活动集合来实现多种功能,如有效防止用户的隐私信息泄露的问题,再如自动进行系统优化操作以及流量统计操作等等;本发明实施例可以有效避免应用间通讯方式由于使用“意图”而带来的适用范围有限以及增加用户操作负担的问题,同时还可以有效避免预配置的活动列表带来的人力物力的消耗以及实施的局限性等问题,最终提高了用户体验。
上述说明仅是本发明技术方案的概述,为了能够更清楚的了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1示出了根据本发明实施例一的基于悬浮操作板的应用间通讯方法流程图;
图2示出了根据本发明实施例二的基于悬浮操作板的应用间通讯方法流程图;
图3示出了根据本发明实施例三的基于悬浮操作板的应用间通讯方法流程图;
图4示出了根据本发明实施例五的基于悬浮操作板的应用间通讯装置示意图;
图5示出了根据本发明实施例六的基于悬浮操作板的应用间通讯装置示意图;
图6示出了根据本发明实施例七的基于悬浮操作板的应用间通讯装置示意图;
图7示出了用于执行本发明的方法的电子设备的框图;以及
图8示出了用于保持或者携带实现根据本发明的方法的程序代码的存储单元示意图。
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
实施例一、基于悬浮操作板的应用间通讯方法。该方法流程如图1所示。
图1中,S100、获取需要对移动终端的目标应用进行预定操作的信息。
具体的,本发明实施例中的中枢应用可以通过为用户提供选择预定操作的显示画面来与用户进行信息交互,以获取需要进行预定操作的信息;上述预定操作可以包括:对页面进行访问的加密操作以及自动执行操作(如系统优化操作以及流量统计操作等)等等。
一个具体的例子,中枢应用为用户提供一显示画面,该显示画面中包含有多个需要进行预定操作的按钮(如加密操作按钮以及自动执行操作按钮等);在用户点选该显示画面中的需要进行预定操作的按钮时,表示用户需要对某个目标应用进行该预定操作(如加密操作或者自动执行操作等)。也就是说,中枢应用可以根据用户在显示画面中的相关操作而获取需要对移动终端的目标应用进行预定操作的信息。
上述中枢应用是指需要获取其他应用中的活动的标识的应用,例如,移动
终端中的安全管理应用(也可以称为安全软件)由于需要对其他应用进行安全管控或者需要对系统进行优化等原因,而需要获取其他应用中的活动的标识,因此,安全管理应用可以成为本发明实施例中的中枢应用。
上述移动终端可以为基于Android操作系统的智能型移动电话,也可以为基于Android操作系统的平板电脑等移动终端。
S110、针对上述需要进行预定操作的信息构造悬浮操作板,并显示该悬浮操作板。
具体的,显示出的悬浮操作板中可以包括一个或者多个按钮,每个按钮表示一个需要进行的预定操作,例如,在某个目标应用中的内容涉及用户隐私时,需要为该目标应用中的该内容设置访问密码,中枢应用可以在悬浮操作板中针对隐私内容的访问设置加密按钮,从而用户可以通过该加密按钮来设置允许访问该内容的密码。另外,针对不同的预定操作可以构造出内容不同的悬浮操作板。
中枢应用构造的悬浮操作板可以以悬浮窗的形式在移动终端上显示,具体的,中枢应用可以通过调用操作系统中WindowManager(窗口管理器)系统服务将其构造的悬浮操作板以悬浮窗的形式显示。上述WindowManager系统服务也可以称为窗口管理器API(应用程序编程接口)。
S120、在已进入目标应用且上述显示的悬浮操作板上的预定操作被触发的情况下,获取预定操作的触发时间。
具体的,在用户已进入目标应用的特定活动且点击悬浮操作板上的某个按钮的情况下,该预定操作被触发,即用户需要对操作系统中当前正在运行的目标应用的特定活动进行锁定,当前正在运行的目标应用的特定活动可以是用户在进入某个应用的某个页面(如针对目标应用中涉及用户隐私内容的访问页面)时,该应用所调用的活动,该活动成为当前运行的活动。在此情况下,中枢应用可以很方便的获得该预定操作的触发时间,例如,中枢应用可以将用户点击按钮的时间作为预定操作的触发时间,从而本发明实施例可以很方便且准确的获得查询操作系统中当前正在运行的活动的时间查询参数。
在悬浮操作板上的某个按钮被点击时,相当于中枢应用获得通知:当前已经进入目标应用的特定活动。
S130、通过调用操作系统中的任务管理器系统服务获取在触发时间当前正在运行的目标应用的活动的标识,并将活动的标识作为被锁定的活动的标识记录到被锁定活动集合中。
具体的,Android操作系统中的TaskManager(任务管理器)系统服务(也可以称为任务管理器API)可以用于根据活动的运行时间查找到在该时间运行
的活动的标识,例如,中枢应用调用TaskManager系统服务,并将预定操作的触发时间作为TaskManager系统服务的输入参数,TaskManager系统服务通过在操作系统中的最近活动记录中搜索与该输入参数匹配的记录,即可从匹配记录中获得对应活动的标识,TaskManager系统服务将获得的活动的标识提供给中枢应用;中枢应用可以将获得的活动的标识作为被锁定的活动的标识存储到被锁定活动列表中。上述活动的标识应可以唯一确定出一个活动,该活动的标识可以具体为活动的名称或者活动的索引等。
对于Android操作系统而言,活动名称实际上通常由两部分组成,即应用的包名以及活动在应用内的名称,如移动电话的QQ登录活动的名称具体为:com.tencent.mobileqq.activity.LoginActivity;在该活动名称中,com.tencent.mobileqq是移动电话的QQ应用的名称,而activity.LoginActivity是登录活动在QQ应用内的名称,两者组合起来形成一个完整的活动名称。从而本发明实施例可以在被锁定活动列表中仅存储活动的名称即可准确定位被一个应用所调用的活动。
由此可知,本发明实施例可以实现自动维护被锁定活动列表。该被锁定活动列表可以用于后续中枢应用调用相应的活动或者中枢应用针对某个活动而触发其他活动等场景。
上述被锁定活动集合(如被锁定活动列表)可以在中枢应用进行初始化时被设置为空,之后,中枢应用可以根据用户对其移动终端中的应用的管理而不断的更新被锁定活动集合中的内容。
实施例二、基于悬浮操作板的应用间通讯方法,该方法流程如图2所示。
图2中,S200、获取需要对移动终端的目标应用进行预定操作的信息。
S210、针对上述需要进行预定操作的信息构造悬浮操作板,并显示该悬浮操作板。
S220、在已进入目标应用的特定活动且上述显示的悬浮操作板上的预定操作被触发的情况下,获取预定操作的触发时间。
S230、通过调用操作系统中的任务管理器系统服务获取在触发时间当前正在运行的目标应用的活动的标识,并将该目标应用的活动的标识作为被锁定的活动的标识记录到被锁定活动集合中。
上述步骤S200至S230具体如上述S100至S130中的描述,在此不再详细说明。
S240、在需要启动目标应用的预定操作(如中枢应用需要自动执行某操作)时,根据被锁定活动集合中的活动的标识调用相应的活动。
一个具体的例子,在中枢应用监测到移动终端的存储空间需要进行碎片整
理时,可以从其维护的活动列表中查询磁盘整理应用中的碎片整理操作所对应的活动的标识,并根据查询获得的活动的标识调用相应的活动,从而中枢应用可以自行对移动终端的存储空间进行碎片整理。
另一个具体的例子,在中枢应用监测到移动终端的存储空间需要进行碎片整理时,弹出对话窗,以提示用户是否进行碎片整理操作,如果用户输入的信息表示需要进行碎片整理操作(如点击“是”按钮),则中枢应用从其维护的活动列表中查询磁盘整理应用中的碎片整理操作所对应的活动的标识,并根据查询获得的活动的标识调用相应的活动,从而中枢应用可以在征得用户同意的情况下对移动终端的存储空间进行碎片整理。
上述两个具体例子中的碎片整理操作也可以变换为流量统计等操作,在此不再一一例举说明。
实施例三、基于悬浮操作板的应用间通讯方法,该方法流程如图3所示。
图3中,S300、获取需要对移动终端的目标应用进行预定操作的信息。
S310、针对上述需要进行预定操作的信息(如对目标应用的特定页面进行加密的信息)构造悬浮操作板,并显示该悬浮操作板。
S320、在已进入目标应用的特定活动且上述显示的悬浮操作板上的预定操作(如加密的按钮)被触发的情况下,获取预定操作的触发时间。
S330、通过调用操作系统中的任务管理器系统服务获取在触发时间当前正在运行的目标应用的活动的标识,并将该活动的标识作为被锁定的活动的标识记录到被锁定活动集合中。
上述步骤S300至S330具体如上述S100至S130中的描述,在此不再详细说明。
S340、调用加密活动,显示加密画面,之后,通过加密画面获取用户输入的加密信息,并存储该加密信息。
具体的,该加密活动的名称通常是预先设置于中枢应用中的,即加密活动可以是属于中枢应用自身的。中枢应用可以通过WindowManager系统服务针对该加密活动向用户显示加密画面;从而用户可以通过加密画面输入加密密码。中枢应用可以将用户通过加密画面输入的加密信息(即加密密码)以应用的标识信息(如应用的名称)以及该预定操作对应的加密信息这两者之间的对应关系的方式存储;以便于后续中枢应用在解密过程中可以方便的查询到相应的加密信息。
S350、在上述加密操作完成后,持续查询当前正在运行的活动的标识。
具体的,中枢应用可以在加密操作完成后,就开始持续查询当前正在运行的活动的标识;如果加密操作完成之后,移动终端被关机,则在移动终端被开
机后,中枢应用就可以持续查询当前正在运行的活动的标识;且中枢应用可以通过操作系统中的ActivityManager(活动管理器)系统服务来定时查询当前正在运行的活动的标识。
S360、根据查询到的活动的标识以及被锁定活动集合在确定出当前正在运行的活动为被锁定的活动的情况下,使前述的加密活动成为当前正在运行的活动,并显示解密画面。
具体的,中枢应用可以根据查询获得的活动的标识在被锁定活动集合中进行匹配查找,如果被锁定活动集合中存在匹配的活动的标识,则表示当前正在运行的活动为被锁定的活动,此时,可以调用加密活动,从而使被锁定的活动不再成为当前正在运行的活动,而被调用的加密活动成为当前正在运行的活动。另外,解密画面会成为移动终端的当前显示画面。
S370、在通过解密画面接收的解密信息与存储的加密信息匹配时,使被锁定的活动成为当前运行的活动。
具体的,如果用户输入的解密信息(及解密密码)正确,则中枢应用可以结束加密活动的运行,使加密活动不再成为当前正在运行的活动,这样,被加密活动掩盖的被锁定的活动再次成为当前正在运行的活动。
实施例四、基于悬浮操作板的应用间通讯方法。下面以一个具体的例子对本实施例进行说明。
目前有很多社交媒体类的应用为了方便用户上传移动电话中的照片,会集成一个照片的选择界面,以让用户选择移动电话中的一张照片进行上传操作。然而,用户很可能会由于其移动电话中有一些私密的照片,而不希望这些应用能够直接访问其移动电话中的照片;同时,用户又需要在其他情况下可以正常使用这些社交应用。
对于这种情况,用户可以通过移动电话中的安全软件(即安全应用)的“程序锁”功能对现有的这些社交应用访问移动电话中的照片的界面进行加锁。这样,当其他用户在使用这些社交应用进入并显示用户移动电话中的照片的界面时,移动电话中的安全软件会弹出一个程序锁界面,用户必须输入正确的解锁密码后才能够继续读取照片。如果其他用户只使用该社交应用的其他功能而并没有通过该应用访问移动电话上的照片,则安全软件的“程序锁”功能并不会打扰用户的正常使用。
本实施例的具体实施流程如下:
首先,用户打开其移动终端中的带有“程序锁”功能的安全软件(即中枢应用,也可以称为中枢软件),并在安全软件中选择其提供的“对目标应用的特定界面加密”功能;这时,安全软件针对用户的选择构造一个能够执行该
加密功能的悬浮操作板,悬浮操作板上设置有“加锁”按钮,还可以设置一串提示文字,如“请到您希望执行加锁的界面上点击加锁”。在悬浮操作板构造完成之后,安全软件调用Android操作系统的WindowManager系统服务,将该悬浮操作板作为一个悬浮窗显示在移动终端中。从用户的角度来看,就是移动终端的显示屏上弹出一个悬浮操作板。
其次,用户点击进入需要进行限制访问照片的社交应用,并在该社交应用中进入显示移动电话中的照片的界面;当用户进入该界面后,用户点击悬浮窗上的“加锁”按钮,这时安全软件通过Android操作系统中的TaskManager系统服务获取当前用户进入需要进行限制访问照片的社交应用的操作对应的活动的名字。安全软件将该活动的名字加入到其“被锁定活动列表”中。
之后,安全软件调用加密活动,并利用WindowManager系统服务显示加密页面,用户可以通过加密页面输入加密密码,安全软件存储用户输入的有效的加密密码。该加密密码对应用户进入需要进行限制访问照片的社交应用的操作。
在经过上述操作后,安全软件成功获得了用户需要进行锁定的活动的名字,并获得了对应的加密密码,从而完成了对用户进入需要进行限制访问照片的社交应的限制设置。
安全软件在之后的执行中,会一直监控是否有用户试图访问社交应用中的照片界面。这里的监控可以是以较短的周期定期通过Android操作系统的ActivityManager服务来查询当前正在前台运行的活动的名字,如以每秒2次的频率查询当前正在前台运行的活动的名字;安全软件一旦发现当前正在前台运行的活动的名字为其存储的“被锁定活动列表”中的用户进入需要进行限制访问照片的社交应用的操作对应的活动的名字,则说明有用户刚刚启动了被锁活动,试图访问上述照片。
安全软件立即弹出“解锁活动”对应的界面(即解密显示画面),以要求用户输入密码。由于Android操作系统中的所有活动都是全屏运行,因此,在“解锁活动”开始运行的情况下,该“解锁活动”就会遮盖之前被锁定的活动的运行。
当用户在该“解锁活动”对应的界面上输入正确的密码时,“解锁活动”执行结束,此时,被其遮盖的“被锁活动”又重新成为当前正在前台运行的活动,即该活动对应的界面又重新变得对用户可见。
当用户在该“解锁活动”对应的界面上没有输入密码或者者输入的密码不正确,则“解锁活动”就一直不会结束,因此,“解锁活动”就一直遮盖其下方的“被锁活动”,从而保护了用户的隐私。
实施例五、基于悬浮操作板的应用间通讯装置。该装置如图4所示。
图4中,该应用间通讯装置主要包括:获取操作信息模块400、悬浮操作板模块410、获取触发时间模块420以及集合维护模块430;其中,悬浮操作板模块410与获取操作信息模块400以及获取触发时间模块420分别连接,且获取触发时间模块420还与集合维护模块430连接。
获取操作信息模块400主要用于获取需要对移动终端的目标应用进行预定操作的信息。
具体的,获取操作信息模块400可以通过为用户提供选择预定操作的显示画面来与用户进行信息交互,以获取需要进行预定操作的信息;上述预定操作可以包括:对页面进行访问的加密操作以及自动执行操作(如系统优化操作以及流量统计操作等)等等。
一个具体的例子,获取操作信息模块400为用户提供一显示画面,该显示画面中包含有多个需要进行预定操作的按钮(如加密操作按钮及自动执行操作按钮等);在用户点选该显示画面中的需要进行预定操作的按钮时,表示用户需要对某个目标应用进行该预定操作(如加密操作或者自动执行操作等)。也就是说,获取操作信息模块400可以根据用户在显示画面中的相关操作而获取需要对移动终端的目标应用进行预定操作的信息。
悬浮操作板模块410主要用于针对获取操作信息模块400获取的预定操作的信息构造悬浮操作板,并显示该悬浮操作板。
具体的,悬浮操作板模块410构造并显示出的悬浮操作板中可以包括一个或者多个按钮,每个按钮表示一个需要进行的预定操作,例如,在某个目标应用中的内容涉及用户隐私时,需要为该目标应用中的该内容设置访问密码,悬浮操作板模块410可以在悬浮操作板中针对隐私内容的访问设置加密按钮,从而用户可以通过该加密按钮来设置允许访问该内容的密码。另外,针对不同的预定操作悬浮操作板模块410可以构造出不同内容的悬浮操作板。
悬浮操作板模块410构造的悬浮操作板可以以悬浮窗的形式在移动终端上显示,具体的,悬浮操作板模块410可以通过调用操作系统中WindowManager(窗口管理器)系统服务将其构造的悬浮操作板以悬浮窗的形式显示。上述WindowManager系统服务也可以称为窗口管理器API(应用程序编程接口)。
获取触发时间模块420主要用于在已进入目标应用的特定活动且上述显示的悬浮操作板上的预定操作被触发的情况下,获取预定操作的触发时间。
具体的,在已进入目标应用的特定活动且用户点击悬浮操作板上的某个按钮的情况下,该预定操作被触发,即用户需要对操作系统中当前正在运行的活动进行锁定,当前正在运行的活动可以是用户在进入某个应用的某个页面(如
针对目标应用中涉及用户隐私内容的访问页面)时,该应用所调用的活动,该活动成为当前运行的活动。在此情况下,获取触发时间模块420可以很方便的获得该预定操作的触发时间,例如,获取触发时间模块420可以将用户点击按钮的时间作为预定操作的触发时间,从而本发明实施例可以很方便且准确的获得查询操作系统中当前正在运行的活动的时间查询参数。
在悬浮操作板上的某个按钮被点击时,相当于获取触发时间模块420获得通知:当前已经进入所需的目标活动。
集合维护模块430主要用于通过调用操作系统中的任务管理器系统服务获取在上述触发时间当前正在运行的活动的标识,并将该活动的标识作为被锁定的活动的标识记录到被锁定活动集合中。
具体的,Android操作系统中的TaskManager(任务管理器)系统服务(也可以称为任务管理器API)可以用于根据活动的运行时间查找到在该时间运行的活动的标识,例如,集合维护模块430调用TaskManager系统服务,并将锁定操作的触发时间作为TaskManager系统服务的输入参数,TaskManager系统服务通过在操作系统中的最近活动记录中搜索与该输入参数匹配的记录,即可从匹配记录中获得对应活动的标识,TaskManager系统服务将获得的活动的标识提供给集合维护模块430;集合维护模块430可以将获得的活动的标识作为被锁定的活动的标识存储到被锁定活动列表中。上述活动的标识应可以唯一确定出一个活动,该活动的标识可以具体为活动的名称或者活动的索引等。
由上述描述可知,本发明实施例可以实现自动维护被锁定活动列表。该被锁定活动列表可以用于后续中枢应用调用相应的活动或者中枢应用针对某个活动而触发其他活动等场景。
实施例六、基于悬浮操作板的应用间通讯装置。该装置如图5所示。
图5中,该应用间通讯装置主要包括:获取操作信息模块400、悬浮操作板模块410、获取触发时间模块420、集合维护模块430以及活动调用模块500;其中,悬浮操作板模块410与获取操作信息模块400以及获取触发时间模块420分别连接,且集合维护模块430与获取触发时间模块420以及活动调用模块500分别连接。
获取操作信息模块400、悬浮操作板模块410、获取触发时间模块420以及集合维护模块430所执行的具体操作如上述实施例五中的描述,在此不再重复说明。
活动调用模块500主要用于在需要启动目标应用的预定操作时,根据被锁定活动集合中的活动的标识调用相应的活动。
一个具体的例子,在活动调用模块500监测到移动终端的存储空间需要进
行碎片整理时,可以从上述维护的活动列表中查询磁盘整理应用中的碎片整理操作所对应的活动的标识,并根据查询获得的活动的标识调用相应的活动,从而本实施例的装置可以自行对移动终端的存储空间进行碎片整理。
另一个具体的例子,在活动调用模块500监测到移动终端的存储空间需要进行碎片整理时,弹出对话窗,以提示用户是否进行碎片整理操作,如果用户输入的信息表示需要进行碎片整理操作(如点击“是”按钮),则活动调用模块500从上述维护的活动列表中查询磁盘整理应用中的碎片整理操作所对应的活动的标识,并根据查询获得的活动的标识调用相应的活动,从而本实施例的装置可以在征得用户同意的情况下对移动终端的存储空间进行碎片整理。
上述两个具体例子中的碎片整理操作也可以变换为流量统计等操作,在此不再一一例举说明。
实施例七、基于悬浮操作板的应用间通讯装置。该装置如图6所示。
图6中,该应用间通讯装置包括:获取操作信息模块400、悬浮操作板模块410、获取触发时间模块420、集合维护模块430、加密模块600、查询模块610以及解密模块620;其中,悬浮操作板模块410与获取操作信息模块400以及获取触发时间模块420分别连接,且集合维护模块430与加密模块600连接,查询模块610与加密模块600以及解密模块620分别连接。
获取操作信息模块400、悬浮操作板模块410、获取触发时间模块420以及集合维护模块430所执行的具体操作如上述实施例五中的描述,在此不再重复说明。
加密模块600主要用于在通过调用操作系统中的任务管理器系统服务获取在触发时间当前正在运行的活动的标识之后,调用加密活动,并显示加密画面,通过该加密画面获取用户输入的加密信息,并存储该加密信息。
具体的,该加密活动的名称通常是预先设置于加密模块600中的,即加密活动可以是属于加密模块600自身的。加密模块600可以通过WindowManager系统服务针对该加密活动向用户显示加密画面;从而用户可以通过加密画面输入加密密码。加密模块600可以将用户通过加密画面输入的加密信息(即加密密码)以应用的标识信息(如应用的名称)以及该预定操作对应的加密信息这两者之间的对应关系的方式存储;以便于后续解密模块620在解密过程中可以方便的查询到相应的加密信息。
查询模块610主要用于持续查询当前正在运行的活动的标识。
具体的,查询模块610可以在加密模块600执行加密操作完成后,就开始持续查询当前正在运行的活动的标识;如果加密操作完成之后,移动终端被关机,则在移动终端被开机后,查询模块610就可以持续查询当前正在运行的活动的
标识;且查询模块610可以通过操作系统中的ActivityManager(活动管理器)系统服务来定时查询当前正在运行的活动的标识。
解密模块620主要用于根据查询模块610查询到的活动的标识以及被锁定活动集合在确定出当前正在运行的活动为被锁定的活动的情况下,使加密活动成为当前正在运行的活动,并显示解密画面;在通过解密画面接收的解密信息与所述存储的加密信息匹配时,使被锁定的活动恢复为当前正在运行的活动。
具体的,解密模块620可以根据查询模块610查询获得的活动的标识在被锁定活动集合中进行匹配查找,如果被锁定活动集合中存在匹配的活动的标识,则表示当前正在运行的活动为被锁定的活动,此时,解密模块620可以调用加密活动,从而使被锁定的活动不再成为当前正在运行的活动,而被调用的加密活动成为当前正在运行的活动。另外,解密画面会成为移动终端的当前显示画面。
如果用户输入的解密信息(及解密密码)正确,则解密模块620可以结束加密活动的运行,使加密活动不再成为当前正在运行的活动,这样,被加密活动掩盖的被锁定的活动再次成为当前正在运行的活动。
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它
们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的基于悬浮操作板的应用间通讯方法和装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。
例如,图7示出了可以实现本发明的安全访问网址的方法的电子设备。该电子设备传统上包括处理器1210和以存储器1220形式的计算机程序产品或者计算机可读介质。存储器1220可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器1220具有用于执行上述方法中的任何方法步骤的程序代码1231的存储空间1230。例如,用于程序代码的存储空间1230可以包括分别用于实现上面的方法中的各种步骤的各个程序代码1231。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图8所述的便携式或者固定存储单元。该存储单元可以具有与图8的电子设备中的存储器1220类似布置的存储段或者存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括用于执行根据本发明的方法步骤的程序1231’,即可以由例如诸如1210之类的处理器读取的代码,这些代码当由电子设备运行时,导致该电子设备执行上面所描述的方法中的各个步骤。
应该注意的是,上述实施例对本发明进行的详细说明并不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。
Claims (16)
- 一种基于悬浮操作板的应用间通讯方法,其中,所述方法包括:获取需要对移动终端的目标应用进行预定操作的信息;针对所述预定操作的信息构造悬浮操作板,并显示所述悬浮操作板;在已进入所述目标应用且所述显示的悬浮操作板上的预定操作被触发的情况下,获取所述预定操作的触发时间;通过调用操作系统中的任务管理器系统服务获取在所述触发时间当前正在运行的目标应用的活动的标识,并将所述活动的标识作为被锁定的活动的标识记录到被锁定活动集合中,所述活动的标识用于唯一确定一个活动。
- 如权利要求1所述的方法,其中,针对不同预定操作的信息所构造出的悬浮操作板的内容不相同。
- 如权利要求1所述的方法,其中,所述显示所述悬浮操作板包括:通过调用操作系统中的窗口管理器系统服务将所述悬浮操作板以悬浮窗的形式显示。
- 如权利要求1或2或3所述的方法,其中,所述方法还包括:在需要启动所述目标应用的预定操作时,根据所述被锁定活动集合中的活动的标识调用相应的活动。
- 如权利要求1或2或3所述的方法,其中,所述预定操作包括:对目标应用的页面的访问控制,且在通过调用操作系统中的任务管理器系统服务获取在所述触发时间当前正在运行的活动的标识之后,所述方法还包括:调用加密活动,并显示加密画面;通过所述加密画面获取用户输入的加密信息,并存储所述加密信息。
- 如权利要求5所述的方法,其中,所述方法还包括:持续查询当前正在运行的活动的标识;根据查询到的活动的标识以及所述被锁定活动集合在确定出当前正在运行的活动为被锁定的活动的情况下,使所述加密活动成为当前正在运行的活动,并显示解密画面;在通过解密画面接收的解密信息与所述存储的加密信息匹配时,使所述被锁定的活动恢复为当前正在运行的活动。
- 如权利要求6所述的方法,其中,所述持续查询当前正在运行的活动的标识包括:通过活动管理器系统服务定时查询当前正在运行的活动的标识。
- 一种基于悬浮操作板的应用间通讯装置,其中,所述装置包括:获取操作信息模块,用于获取需要对移动终端的目标应用进行预定操作的 信息;悬浮操作板模块,用于针对所述预定操作的信息构造悬浮操作板,并显示所述悬浮操作板;获取触发时间模块,用于在所述显示的悬浮操作板上的预定操作被触发的情况下,获取所述预定操作的触发时间;集合维护模块,用于通过调用操作系统中的任务管理器系统服务获取在所述触发时间当前正在运行的活动的标识,并将所述活动的标识作为被锁定的活动的标识记录到被锁定活动集合中,所述活动的标识用于唯一确定一个活动。
- 如权利要求8所述的装置,其中,针对不同预定操作的信息所构造出的悬浮操作板的内容不相同。
- 如权利要求8所述的装置,其中,所述悬浮操作板模块具体用于:通过调用操作系统中的窗口管理器系统服务将所述悬浮操作板以悬浮窗的形式显示。
- 如权利要求8或9或10所述的装置,其中,所述预定操作包括:对目标应用的页面的访问控制,且所述装置还包括:活动调用模块,用于在需要启动所述目标应用的预定操作时,根据所述被锁定活动集合中的活动的标识调用相应的活动。
- 如权利要求8或9或10所述的装置,其中,所述预定操作包括:对目标应用的页面的访问控制,且所述装置还包括:加密模块,用于在通过调用操作系统中的任务管理器系统服务获取在所述触发时间当前正在运行的活动的标识之后,调用加密活动,并显示加密画面,通过所述加密画面获取用户输入的加密信息,并存储所述加密信息。
- 如权利要求12所述的装置,其中,所述装置还包括:查询模块,用于持续查询当前正在运行的活动的标识;解密模块,用于根据查询到的活动的标识以及所述被锁定活动集合在确定出当前正在运行的活动为被锁定的活动的情况下,使所述加密活动成为当前正在运行的活动,并显示解密画面;在通过解密画面接收的解密信息与所述存储的加密信息匹配时,使所述被锁定的活动恢复为当前正在运行的活动。
- 如权利要求13所述的装置,其中,所述查询模块具体用于:通过活动管理器系统服务定时查询当前正在运行的活动的标识。
- 一种计算机程序,包括计算机可读代码,当电子设备运行所述计算机可读代码运行时,导致权利要求1-7中的任一项权利要求所述的方法被执行。
- 一种计算机可读介质,其中存储了如权利要求15所述的计算机程序。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310504982.3 | 2013-10-23 | ||
| CN201310504982.3A CN103617082B (zh) | 2013-10-23 | 2013-10-23 | 基于悬浮操作板的应用间通讯方法和装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2015058701A1 true WO2015058701A1 (zh) | 2015-04-30 |
Family
ID=50167785
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2014/085184 Ceased WO2015058584A1 (zh) | 2013-10-23 | 2014-08-26 | 基于悬浮操作板的应用间通讯方法和装置 |
| PCT/CN2014/089366 Ceased WO2015058701A1 (zh) | 2013-10-23 | 2014-10-23 | 基于悬浮操作板的应用间通讯方法和装置 |
Family Applications Before (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2014/085184 Ceased WO2015058584A1 (zh) | 2013-10-23 | 2014-08-26 | 基于悬浮操作板的应用间通讯方法和装置 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN103617082B (zh) |
| WO (2) | WO2015058584A1 (zh) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103617082B (zh) * | 2013-10-23 | 2016-09-28 | 北京奇虎科技有限公司 | 基于悬浮操作板的应用间通讯方法和装置 |
| CN106897081A (zh) * | 2015-12-18 | 2017-06-27 | 中兴通讯股份有限公司 | 应用的引导方法及装置、终端 |
| CN106502540B (zh) * | 2016-10-26 | 2020-02-25 | 北京奇虎科技有限公司 | 利用浮窗在主应用界面中进行功能定制的方法及装置 |
| US11468439B2 (en) * | 2017-01-12 | 2022-10-11 | American Express Travel Related Services Company, Inc. | Systems and methods for blockchain based proof of payment |
| CN107239349A (zh) * | 2017-05-25 | 2017-10-10 | 努比亚技术有限公司 | 一种任务管理方法、计算机设备及存储介质 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101216867A (zh) * | 2007-01-05 | 2008-07-09 | 黄承雄 | 利用后台同步方式完成登录过程的密码保护方法 |
| CN102843472A (zh) * | 2012-08-23 | 2012-12-26 | 百度在线网络技术(北京)有限公司 | 移动终端及用于其的来电锁屏方法 |
| CN102981714A (zh) * | 2011-12-08 | 2013-03-20 | 微软公司 | 用于经扩充的通信服务的动态最小化导航条 |
| CN103617082A (zh) * | 2013-10-23 | 2014-03-05 | 北京奇虎科技有限公司 | 基于悬浮操作板的应用间通讯方法和装置 |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8276144B2 (en) * | 2008-04-15 | 2012-09-25 | International Business Machines Corporation | Electronic device workspace restriction |
| WO2012068614A1 (en) * | 2010-11-22 | 2012-05-31 | Lockerteck Pty Ltd | A system and method for providing an application lock |
| CN102681827B (zh) * | 2011-03-11 | 2016-05-04 | 腾讯科技(深圳)有限公司 | Android系统中选项卡全局实现的方法和装置 |
| CN102156615B (zh) * | 2011-04-01 | 2015-11-25 | 北京奇虎科技有限公司 | 一种悬浮窗显示方法及装置 |
| CN102685325B (zh) * | 2012-04-23 | 2014-11-05 | Tcl集团股份有限公司 | 一种童锁方法及系统 |
| CN102929478A (zh) * | 2012-09-25 | 2013-02-13 | 东莞宇龙通信科技有限公司 | 应用切换方法及通信终端 |
| CN103336924B (zh) * | 2013-07-03 | 2018-01-30 | 上海斐讯数据通信技术有限公司 | 用于移动终端应用程序的启动锁 |
-
2013
- 2013-10-23 CN CN201310504982.3A patent/CN103617082B/zh active Active
-
2014
- 2014-08-26 WO PCT/CN2014/085184 patent/WO2015058584A1/zh not_active Ceased
- 2014-10-23 WO PCT/CN2014/089366 patent/WO2015058701A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101216867A (zh) * | 2007-01-05 | 2008-07-09 | 黄承雄 | 利用后台同步方式完成登录过程的密码保护方法 |
| CN102981714A (zh) * | 2011-12-08 | 2013-03-20 | 微软公司 | 用于经扩充的通信服务的动态最小化导航条 |
| CN102843472A (zh) * | 2012-08-23 | 2012-12-26 | 百度在线网络技术(北京)有限公司 | 移动终端及用于其的来电锁屏方法 |
| CN103617082A (zh) * | 2013-10-23 | 2014-03-05 | 北京奇虎科技有限公司 | 基于悬浮操作板的应用间通讯方法和装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2015058584A1 (zh) | 2015-04-30 |
| CN103617082B (zh) | 2016-09-28 |
| CN103617082A (zh) | 2014-03-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI640922B (zh) | Method and device for providing application information in mobile terminal devices | |
| CN110637449B (zh) | 一种访问设备标识符的方法及装置 | |
| US9557982B2 (en) | Mobile application processing | |
| US10216404B2 (en) | Method of securing image data and electronic device adapted to the same | |
| CN103581318B (zh) | 一种移动设备数据的备份、还原方法和装置 | |
| CN102819715A (zh) | Api监控方法和装置 | |
| KR102428461B1 (ko) | 선택적 암호화 방법 및 그를 이용한 전자 장치 | |
| WO2013182005A1 (zh) | 一种用于拦截应用程序对服务的调用的方法和装置 | |
| WO2015058584A1 (zh) | 基于悬浮操作板的应用间通讯方法和装置 | |
| WO2017008676A1 (zh) | 应用权限配置方法、装置及电子设备 | |
| CN108804938B (zh) | 一种权限检测方法、装置、电子设备及可读存储介质 | |
| CN104537310B (zh) | 移动存储设备的管理方法及客户端 | |
| WO2016110203A1 (zh) | 一种文件路径的存储和本地文件的访问方法及装置 | |
| US10592680B2 (en) | Data accessibility control | |
| JP2018506754A (ja) | 証明資料を獲得する方法、装置、プログラム、及び記録媒体 | |
| WO2021022434A1 (zh) | 一种应用监控方法、装置、存储介质及电子设备 | |
| CN105556534A (zh) | 用于在发生拒绝时建议响应指南的电子设备和方法 | |
| WO2016070690A1 (zh) | 实现终端设备上的网页和应用间通信的方法、装置和系统 | |
| US20170046279A1 (en) | Content security processing method and electronic device supporting the same | |
| JP2013182500A (ja) | Api実行制御装置およびプログラム | |
| CN116305227A (zh) | 一种数据处理方法、装置、终端设备及介质 | |
| WO2016169212A1 (zh) | 文件管理方法和装置 | |
| CN205681441U (zh) | 网络设备 | |
| WO2019001388A1 (zh) | 支付类应用程序管理方法、装置及移动终端 | |
| JP6682465B2 (ja) | 端末装置、制御方法、及び、コンピュータプログラム |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14855944 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 14855944 Country of ref document: EP Kind code of ref document: A1 |