WO2016155387A1 - 基于移动终端的插件管理方法及装置 - Google Patents
基于移动终端的插件管理方法及装置 Download PDFInfo
- Publication number
- WO2016155387A1 WO2016155387A1 PCT/CN2015/099590 CN2015099590W WO2016155387A1 WO 2016155387 A1 WO2016155387 A1 WO 2016155387A1 CN 2015099590 W CN2015099590 W CN 2015099590W WO 2016155387 A1 WO2016155387 A1 WO 2016155387A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- plug
- host program
- current
- plugin
- display interface
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
Definitions
- the present invention relates to the field of plug-in technologies, and in particular, to a plug-in management method and apparatus based on a mobile terminal.
- a program such as a mobile assistant/app store is usually installed in the existing mobile terminal, and when the user needs any function, the corresponding APP of the function can be installed, but the APP is installed.
- the present invention has been made in order to provide a mobile terminal-based plug-in management method and apparatus that overcomes the above problems or at least partially solves or alleviates the above problems.
- a method for managing a plug-in based on a mobile terminal comprising:
- a mobile terminal-based plug-in management apparatus comprising:
- the touch receiver is adapted to receive a first touch instruction input by the user on a display interface of the host program, where an element corresponding to the plug-in is displayed in the display interface of the host program;
- An element determiner adapted to determine an element corresponding to the first touch instruction
- a plug-in finder adapted to find a current plug-in corresponding to the determined element to cause said
- the current plugin implements a function corresponding to the current plugin in the host program.
- a computer program comprising computer readable code, when the computer readable code is run on a computing device, causing the computing device to perform movement based on any of the above The plugin management method of the terminal.
- a computer readable medium storing a computer program as described above is provided.
- the present invention determines the element corresponding to the first touch instruction by receiving a first touch instruction input by the user on the display interface of the host program, and searches for the current plug-in corresponding to the determined element, so that the current plug-in is
- the host program implements a function corresponding to the current plug-in, so that the function of the host program can be adjusted and changed at any time, thereby improving user stickiness.
- FIG. 1 is a flow chart schematically showing a method for managing a plug-in based on a mobile terminal according to an embodiment of the present invention
- FIG. 2 is a flow chart schematically showing a method for managing a plug-in based on a mobile terminal according to an embodiment of the present invention
- FIG. 3 is a block diagram showing the structure of a mobile terminal-based plug-in management apparatus according to an embodiment of the present invention
- FIG. 4 is a block diagram schematically showing a computing device for performing a mobile terminal-based plug-in management method according to the present invention
- Fig. 5 schematically shows a storage unit for holding or carrying program code implementing a mobile terminal based plugin management method according to the present invention.
- FIG. 1 is a flowchart of a method for managing a plug-in based on a mobile terminal according to an embodiment of the present invention; referring to FIG. 1, the method at least includes:
- S101 Receive a first touch instruction input by a user on a display interface of the host program, where an element corresponding to the plug-in is displayed in a display interface of the host program;
- the user can input the first touch command on the display interface of the host program in various manners, such as touching the touch point on the screen of the mobile terminal by using a user's finger or a sensor pen. This embodiment does not limit this.
- the plug-in in order to facilitate intuitively reflecting the functions that the host program can implement to the user, the plug-in includes the embedded plug-in and/or the un-embedded plug-in.
- the display interface of the host program displays an element corresponding to the plug-in in the form of a list.
- the plug-in since the plug-in includes an embedded plug-in and/or an un-embedded plug-in, if all adopt the same display form, for example, all of them are displayed by icons, it is difficult for the user to distinguish which embedded plug-ins are embedded and which are The plug-in is not embedded. Therefore, in the present embodiment, the display interface of the host program has different display forms between the elements corresponding to the embedded plug-in and the elements corresponding to the un-embedded plug-in, which is convenient for the user to distinguish, for example: In the case of icon display, the element corresponding to the unembedded plug-in may be set as a translucent icon, or may be set as an icon with grayscale or black and white. Of course, other display modes may also be adopted. No restrictions.
- the element corresponding to the first touch instruction is determined according to a preset corresponding rule, for example, when the first touch instruction is a click element, the preset corresponding rule is to determine the selected element as Corresponding elements, of course, the elements corresponding to the first touch command may be determined by other preset corresponding rules, which is not limited in this embodiment.
- the current plug-in may be an embedded plug-in, or may be an embedded plug-in, after finding the current plug-in corresponding to the determined element, it is also necessary to determine whether the current plug-in is an unembedded plug-in.
- the current plug-in is not embedded in the plug-in, the current plug-in needs to be downloaded first, the current plug-in is embedded in the host program, and then the current plug-in is implemented in the host program corresponding to the current plug-in.
- the current plug-in is an embedded plug-in
- the current plug-in can be directly implemented in the host program to implement a function corresponding to the current plug-in.
- plug-ins usually have many versions, if the current plug-in embedded in the host program is not the latest version, it is prone to program errors or malfunctions, affecting the customer experience.
- the current plug-in is an embedded plug-in, it is detected whether the current plug-in is the latest version.
- the current plugin is caused to implement a function corresponding to the current plugin in the host program.
- the current plug-in is directly caused to implement a function corresponding to the current plug-in in the host program.
- the plug-in implements its functions in the host program, it is not necessary to obtain the root authority of the mobile terminal system, and the operation is simple, and the plug-in does not need to carry the duplicate code (for example, the APP is suitable for adapting different models). With different models of code), saving download traffic and storage space of mobile terminals.
- the plug-ins can be independently developed by other teams in the case of satisfying the rules embedded in the plug-in, making the plug-in very rich.
- FIG. 2 is a flowchart of a method for managing a plug-in based on a mobile terminal according to an embodiment of the present invention; referring to FIG. 2, the method at least includes:
- S201 Receive a first touch instruction input by a user on a display interface of the host program, where an element corresponding to the plug-in is displayed in a display interface of the host program;
- S203 Find a current plug-in corresponding to the determined element, so that the current plug-in is Implementing a function corresponding to the current plug-in in the host program;
- steps S201 to S203 are the same as S101 to S103 in the embodiment shown in FIG. 1 and will not be described again.
- the first button is triggered.
- the display interface of the host program is switched to display the element corresponding to the embedded plug-in. .
- S205 Receive a second touch instruction input by the user on the display interface of the host program, and determine an element corresponding to the second touch instruction;
- Step S205 is similar to S101 to S102 in the embodiment shown in FIG. 1, and details are not described herein again.
- S206 Find a plug-in to be uninstalled corresponding to the determined element, so that the plug-in to be uninstalled is uninstalled in the host program.
- the present embodiment not only allows the functions of the host program to be adjusted or changed at any time, but also uninstalls the embedded plug-ins according to the needs of the user, thereby enabling the user to implement the management of the plug-ins and the functions of the host program. More diverse and personalized, improving the user experience.
- step S204 the display interface of the host program is switched to display.
- the element corresponding to the embedded plug-in further includes:
- step S206 the method further includes:
- the display interface of the host program is switched to display an element corresponding to the plug-in.
- the terminal, the mobile terminal may be a desktop computer with a touch screen, a notebook, a mobile phone, a tablet computer, etc., which is not limited by the embodiment of the present invention.
- FIG. 3 is a structural block diagram of a mobile terminal-based plug-in management apparatus according to an embodiment of the present invention. referring to FIG. 3, the apparatus includes at least:
- the touch receiver 301 is adapted to receive a first touch instruction input by the user on a display interface of the host program, where an element corresponding to the plug-in is displayed in the display interface of the host program;
- the element determiner 302 is adapted to determine an element corresponding to the first touch instruction
- the plug-in finder 303 is adapted to find a current plug-in corresponding to the determined element, so that the current plug-in implements a function corresponding to the current plug-in in the host program.
- the plugin includes an embedded plugin and/or an unembedded plugin.
- the plug-in finder 303 is further adapted to search for a plug-in corresponding to the determined element, determine whether the current plug-in is an unembedded plug-in, and the current plug-in is not embedded.
- the plugin is plugged in, the current plugin is downloaded, and the current plugin is embedded in the host program.
- the plug-in finder 303 is further adapted to detect whether the current plug-in is the latest version when the current plug-in is embedded, and the current plug-in is not up-to-date At the time of the version, the latest version of the current plugin is downloaded and the latest version of the current plugin is embedded in the host program to update the current plugin.
- the display interface of the host program has a different display form between the element corresponding to the embedded plug-in and the element corresponding to the unembedded plug-in.
- an element corresponding to the plug-in is displayed in the form of a list in the display interface of the host program.
- a first button is displayed in a display interface of the host program, and the touch receiver 301 is further adapted to be used when the user triggers the first button. Switching the display interface of the host program to display an element corresponding to the embedded plug-in;
- the element determiner 302 is further adapted to receive a second touch instruction input by the user on the display interface of the host program, and determine an element corresponding to the second touch instruction;
- the plug-in finder 303 is further adapted to find a plug-in to be uninstalled corresponding to the determined element, so that the plug-in to be uninstalled is uninstalled in the host program.
- the touch receiver 301 is further adapted to switch the display interface of the host program to display a second button and an element corresponding to the embedded plug-in; When the second button is triggered, the display interface of the host program is switched to display an element corresponding to the plug-in.
- modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
- the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of 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 equipment Line combination.
- 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 functionality of some or all of the components of the mobile terminal-based plug-in management device in accordance with 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.
- 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.
- FIG. 4 illustrates a computing device that can implement a mobile terminal based plugin management method in accordance with the present invention.
- the computing device conventionally includes a processor 410 and a computer program product or computer readable medium in the form of a memory 420.
- the memory 420 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 420 has a memory space 430 for program code 431 for performing any of the method steps described above.
- storage space 430 for program code may include various program code 431 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.
- These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
- Such computer program products are typically portable or fixed storage units as described with reference to FIG.
- the storage unit may have storage segments, storage spaces, and the like that are similarly arranged to memory 420 in the computing device of FIG.
- the program code can be compressed, for example, in an appropriate form.
- the storage unit includes computer readable code 431', i.e., may be, for example, such as 410
- the code read by the processor that, when executed by the computing device, causes the computing device to perform various steps in the methods described above.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
一种基于移动终端的插件管理方法及装置,涉及插件技术领域,所述方法包括:接收用户在宿主程序的显示界面上输入的第一触控指令(S101);确定与所述第一触控指令相应的元素(S102);查找与确定的元素对应的当前插件,以使所述当前插件在所述宿主程序中实现与所述当前插件对应的功能(S103)。通过接收用户在宿主程序的显示界面上输入的第一触控指令,确定与所述第一触控指令相应的元素,查找与确定的元素对应的当前插件,以使所述当前插件在所述宿主程序中实现与所述当前插件对应的功能,使得所述宿主程序的功能可以随时调整、变化,从而提高了用户粘性。
Description
本发明涉及插件技术领域,尤其涉及一种基于移动终端的插件管理方法及装置。
为使移动终端的功能更加丰富,现有的移动终端中通常会安装有手机助手/应用商店之类的程序,在用户需要什么功能时,安装该功能相应的APP就可以,但该APP在安装过程中,还需要获得移动终端系统(如Android系统)的root权限,操作较为复杂,并且在完成安装之后,其与手机助手/应用商店之类的程序之间就完全没有关系,导致用户粘性较差。
发明内容
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决或者减缓上述问题的一种基于移动终端的插件管理方法及装置。
根据本发明的一个方面,提供了一种基于移动终端的插件管理方法,所述方法包括:
接收用户在宿主程序的显示界面上输入的第一触控指令,所述宿主程序的显示界面中展示有与插件对应的元素;
确定与所述第一触控指令相应的元素;
查找与确定的元素对应的当前插件,以使所述当前插件在所述宿主程序中实现与所述当前插件对应的功能。
根据本发明的另一个方面,提供了一种基于移动终端的插件管理装置,所述装置包括:
触控接收器,适于接收用户在宿主程序的显示界面上输入的第一触控指令,所述宿主程序的显示界面中展示有与插件对应的元素;
元素确定器,适于确定与所述第一触控指令相应的元素;
插件查找器,适于查找与确定的元素对应的当前插件,以使所述
当前插件在所述宿主程序中实现与所述当前插件对应的功能。
根据本发明的又一个方面,提供了一种计算机程序,其包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行根据上述中的任一个基于移动终端的插件管理方法。
根据本发明的再一个方面,提供了一种计算机可读介质,其中存储了如上所述的计算机程序。
本发明的有益效果为:
本发明通过接收用户在宿主程序的显示界面上输入的第一触控指令,确定与所述第一触控指令相应的元素,查找与确定的元素对应的当前插件,以使所述当前插件在所述宿主程序中实现与所述当前插件对应的功能,使得所述宿主程序的功能可以随时调整、变化,从而提高了用户粘性。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1示意性示出了根据本发明一个实施例的基于移动终端的插件管理方法的流程图;
图2示意性示出了根据本发明一个实施例的基于移动终端的插件管理方法的流程图;
图3示意性示出了根据本发明一个实施例的基于移动终端的插件管理装置的结构框图;
图4示意性示出了用于执行根据本发明的基于移动终端的插件管理方法的计算设备的框图;以及
图5示意性示出了用于保持或者携带实现根据本发明的基于移动终端的插件管理方法的程序代码的存储单元。
下面结合附图和具体的实施方式对本发明作进一步的描述。
图1是本发明一种实施方式的基于移动终端的插件管理方法的流程图;参照图1,所述方法至少包括:
S101:接收用户在宿主程序的显示界面上输入的第一触控指令,所述宿主程序的显示界面中展示有与插件对应的元素;
需要说明的是,用户在宿主程序的显示界面上输入第一触控指令可采用多种方式,比如通过用户手指或感应笔来触控移动终端屏幕上的触摸点,当然,还可采用其他方式,本实施方式对此不加以限制。
可理解的是,所述元素的类型包括但不限于:文字、图片和符号。
在具体实现中,为了便于直观地向用户反映宿主程序可实现的功能,故而,所述插件包括已嵌入插件和/或未嵌入插件,另外,由于所述插件的数量通常较多,因此,为了便于用户浏览,本实施方式中,所述宿主程序的显示界面中以列表的形式展示有与插件对应的元素。
在具体实现中,由于所述插件包括已嵌入插件和/或未嵌入插件,若全部均采用相同的展示形式,例如:均采用图标展示,则会让用户难以分辨哪些是已嵌入插件,哪些是未嵌入插件,故而,在本实施方式中,所述宿主程序的显示界面中与已嵌入插件对应的元素和与未嵌入插件对应的元素之间的展示形式不同,便于用户区分,例如:在均采用图标展示的情况下,可将与未嵌入插件对应的元素设置为半透明图标、又或是设置为带有灰度或黑白的图标,当然,还可采用其他展示方式,本实施方式对此不加以限制。
S102:确定与所述第一触控指令相应的元素;
在具体实现中,根据预设的对应规则来确定与第一触控指令对应的元素,例如:在第一触控指令为点选元素时,预设的对应规则为将点选的元素确定为相应的元素,当然,还可通过其他预设的对应规则来确定与第一触控指令对应的元素,本实施方式对此不加以限制。
S103:查找与确定的元素对应的当前插件,以使所述当前插件在所述宿主程序中实现与所述当前插件对应的功能。
在具体实现中,由于当前插件可能为未嵌入插件,也可能为已嵌入插件,故而,在查找与确定的元素对应的当前插件后,还需要判断当前插件是否为未嵌入插件。
若所述当前插件为未嵌入插件,则需要先下载所述当前插件,将所述当前插件嵌入所述宿主程序,再使所述当前插件在所述宿主程序中实现与所述当前插件对应的功能。
若所述当前插件为已嵌入插件,在通常情况下可以直接使所述当前插件在所述宿主程序中实现与所述当前插件对应的功能。
但由于插件通常存在很多版本,若在宿主程序中嵌入的当前插件不是最新版本,则容易出现程序错误或故障,影响客户体验。
为避免出现上述问题,可选地,若所述当前插件为已嵌入插件,则检测所述当前插件是否为最新版本。
在所述当前插件不是最新版本时,下载所述当前插件的最新版本,并将所述当前插件的最新版本嵌入所述宿主程序,以更新所述当前插件,在更新所述当前插件后,再使所述当前插件在所述宿主程序中实现与所述当前插件对应的功能。
当然,在所述当前插件是最新版本时,则直接使所述当前插件在所述宿主程序中实现与所述当前插件对应的功能。
本实施方式通过接收用户在宿主程序的显示界面上输入的第一触控指令,确定与所述第一触控指令相应的元素,查找与确定的元素对应的当前插件,以使所述当前插件在所述宿主程序中实现与所述当前插件对应的功能,使得所述宿主程序的功能可以随时调整、变化,从而提高了用户粘性。
由于插件是在宿主程序中实现其功能的,故而,无需获取移动终端系统的root权限,操作简单,并且,该插件无需带上重复代码(例如:APP为了适配不同机型,会带上适配不同机型的代码),节约了下载流量和移动终端的存储空间。
另外,由于插件与宿主程序的耦合度极低,故而,能够由其他团队在满足插件嵌入的规则的情况下独立开发插件,使得插件非常丰富。
图2是本发明一种实施方式的基于移动终端的插件管理方法的流程图;参照图2,所述方法至少包括:
S201:接收用户在宿主程序的显示界面上输入的第一触控指令,所述宿主程序的显示界面中展示有与插件对应的元素;
S202:确定与所述第一触控指令相应的元素;
S203:查找与确定的元素对应的当前插件,以使所述当前插件在
所述宿主程序中实现与所述当前插件对应的功能;
可理解的是,步骤S201~S203与图1所示的实施方式的S101~S103相同,在此不再赘述。
需要说明的是,步骤S201~S203与步骤S204~S206之间没有明确的先后顺序关系,可先执行步骤S204~S206,再执行步骤S201~S203,本实施方式对此不加以限制。
S204:在用户触发第一按钮时,将所述宿主程序的显示界面切换为展示与所述已嵌入插件对应的元素,所述宿主程序的显示界面中展示有所述第一按钮;
需要说明的是,当用户需要选择待卸载插件时,会触发第一按钮,为了便于使用户选择待卸载插件,会将所述宿主程序的显示界面切换为展示与所述已嵌入插件对应的元素。
S205:接收用户在宿主程序的显示界面上输入的第二触控指令,确定与所述第二触控指令相应的元素;
步骤S205与图1所示的实施方式的S101~S102较为相似,在此不再赘述。
S206:查找与确定的元素对应的待卸载插件,以使所述待卸载插件在所述宿主程序中卸载。
可理解的是,本实施方式不仅使得所述宿主程序的功能可以随时调整、变化,还可根据用户的需求来卸载已嵌入插件,从而使得用户能够自主实现对插件的管理,使宿主程序的功能更加多样化、个性化,提高了用户体验。
为便于用户在完成对待卸载程序的卸载后,能够使所述宿主程序返回原显示界面,以便于用户进行进一步操作,可选地,在步骤S204中,将所述宿主程序的显示界面切换为展示与所述已嵌入插件对应的元素,进一步包括:
将所述宿主程序的显示界面切换为展示第二按钮和与所述已嵌入插件对应的元素;
步骤S206之后,所述方法还包括:
在用户触发所述第二按钮时,将所述宿主程序的显示界面切换为展示与插件对应的元素。
可理解的是,图1、2所示的实施方式的方法的执行主体均为移动
终端,所述移动终端可为带有触摸屏的台式电脑、笔记本、手机、平板电脑等设备,本发明实施例对此不加以限制。
对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。
图3是本发明一种实施方式的基于移动终端的插件管理装置的结构框图;参照图3,所述装置至少包括:
触控接收器301,适于接收用户在宿主程序的显示界面上输入的第一触控指令,所述宿主程序的显示界面中展示有与插件对应的元素;
元素确定器302,适于确定与所述第一触控指令相应的元素;
插件查找器303,适于查找与确定的元素对应的当前插件,以使所述当前插件在所述宿主程序中实现与所述当前插件对应的功能。
在本发明的一种可选实施例中,所述插件包括已嵌入插件和/或未嵌入插件。
在本发明的一种可选实施例中,所述插件查找器303,进一步适于查找与确定的元素对应的插件,判断所述当前插件是否为未嵌入插件,在所述当前插件为未嵌入插件时,下载所述当前插件,将所述当前插件嵌入所述宿主程序。
在本发明的一种可选实施例中,所述插件查找器303,进一步适于在所述当前插件为已嵌入插件时,检测所述当前插件是否为最新版本;在所述当前插件不是最新版本时,下载所述当前插件的最新版本,并将所述当前插件的最新版本嵌入所述宿主程序,以更新所述当前插件。
在本发明的一种可选实施例中,所述宿主程序的显示界面中与已嵌入插件对应的元素和与未嵌入插件对应的元素之间的展示形式不同。
在本发明的一种可选实施例中,所述宿主程序的显示界面中以列表的形式展示有与插件对应的元素。
在本发明的一种可选实施例中,所述宿主程序的显示界面中展示有第一按钮;触控接收器301,进一步适于在用户触发所述第一按钮时,
将所述宿主程序的显示界面切换为展示与所述已嵌入插件对应的元素;
元素确定器302,进一步适于接收用户在宿主程序的显示界面上输入的第二触控指令,确定与所述第二触控指令相应的元素;
插件查找器303,进一步适于查找与确定的元素对应的待卸载插件,以使所述待卸载插件在所述宿主程序中卸载。
在本发明的一种可选实施例中,所述触控接收器301,进一步适于将所述宿主程序的显示界面切换为展示第二按钮和与所述已嵌入插件对应的元素;在用户触发所述第二按钮时,将所述宿主程序的显示界面切换为展示与插件对应的元素。
对于系统实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进
行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的基于移动终端的插件管理装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。
例如,图4示出了可以实现根据本发明的基于移动终端的插件管理方法的计算设备。该计算设备传统上包括处理器410和以存储器420形式的计算机程序产品或者计算机可读介质。存储器420可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器420具有用于执行上述方法中的任何方法步骤的程序代码431的存储空间430。例如,用于程序代码的存储空间430可以包括分别用于实现上面的方法中的各种步骤的各个程序代码431。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图5所述的便携式或者固定存储单元。该存储单元可以具有与图4的计算设备中的存储器420类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码431’,即可以由例如诸如410之类的处
理器读取的代码,这些代码当由计算设备运行时,导致该计算设备执行上面所描述的方法中的各个步骤。
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。
此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。
Claims (18)
- 一种基于移动终端的插件管理方法,包括:接收用户在宿主程序的显示界面上输入的第一触控指令,所述宿主程序的显示界面中展示有与插件对应的元素;确定与所述第一触控指令相应的元素;查找与确定的元素对应的当前插件,以使所述当前插件在所述宿主程序中实现与所述当前插件对应的功能。
- 如权利要求1所述的方法,其中,所述插件包括已嵌入插件和/或未嵌入插件。
- 如权利要求2所述的方法,其中,所述查找与确定的元素对应的当前插件,进一步包括:查找与确定的元素对应的插件,判断所述当前插件是否为未嵌入插件,若所述当前插件为未嵌入插件,则下载所述当前插件,将所述当前插件嵌入所述宿主程序。
- 如权利要求3所述的方法,其中,若所述当前插件为已嵌入插件,则检测所述当前插件是否为最新版本;在所述当前插件不是最新版本时,下载所述当前插件的最新版本,并将所述当前插件的最新版本嵌入所述宿主程序,以更新所述当前插件。
- 如权利要求2所述的方法,其中,所述宿主程序的显示界面中与已嵌入插件对应的元素和与未嵌入插件对应的元素之间的展示形式不同。
- 如权利要求1所述的方法,其中,所述宿主程序的显示界面中以列表的形式展示有与插件对应的元素。
- 如权利要求2-6中任一项所述的方法,其中,所述宿主程序的显示界面中展示有第一按钮;所述方法还包括:在用户触发所述第一按钮时,将所述宿主程序的显示界面切换为展示与所述已嵌入插件对应的元素;接收用户在宿主程序的显示界面上输入的第二触控指令,确定与所述第二触控指令相应的元素;查找与确定的元素对应的待卸载插件,以使所述待卸载插件在所述宿主程序中卸载。
- 如权利要求7所述的方法,其中,所述将所述宿主程序的显示界面切换为展示与所述已嵌入插件对应的元素,进一步包括:将所述宿主程序的显示界面切换为展示第二按钮和与所述已嵌入插件对应的元素;所述查找与确定的元素对应的待卸载插件,以使所述待卸载插件在所述宿主程序中卸载之后,所述方法还包括:在用户触发所述第二按钮时,将所述宿主程序的显示界面切换为展示与插件对应的元素。
- 一种基于移动终端的插件管理装置,包括:触控接收器,适于接收用户在宿主程序的显示界面上输入的第一触控指令,所述宿主程序的显示界面中展示有与插件对应的元素;元素确定器,适于确定与所述第一触控指令相应的元素;插件查找器,适于查找与确定的元素对应的当前插件,以使所述当前插件在所述宿主程序中实现与所述当前插件对应的功能。
- 如权利要求9所述的装置,其中,所述插件包括已嵌入插件和/或未嵌入插件。
- 如权利要求10所述的装置,其中,所述插件查找器,进一步适于查找与确定的元素对应的插件,判断所述当前插件是否为未嵌入插件,在所述当前插件为未嵌入插件时,下载所述当前插件,将所述当前插件嵌入所述宿主程序。
- 如权利要求11所述的装置,其中,所述插件查找器,进一步适于在所述当前插件为已嵌入插件时,检测所述当前插件是否为最新版本;在所述当前插件不是最新版本时,下载所述当前插件的最新版本,并将所述当前插件的最新版本嵌入所述宿主程序,以更新所述当前插件。
- 如权利要求10所述的装置,其中,所述宿主程序的显示界面中与已嵌入插件对应的元素和与未嵌入插件对应的元素之间的展示形式不同。
- 如权利要求9所述的装置,其中,所述宿主程序的显示界面中以列表的形式展示有与插件对应的元素。
- 如权利要求10-14中任一项所述的装置,其中,所述宿主程序的显示界面中展示有第一按钮;触控接收器,进一步适于在用户触发所述第一按钮时,将所述宿主程序的显示界面切换为展示与所述已嵌入插件对应的元素;元素确定器,进一步适于接收用户在宿主程序的显示界面上输入的第二触控指令,确定与所述第二触控指令相应的元素;插件查找器,进一步适于查找与确定的元素对应的待卸载插件,以使所述待卸载插件在所述宿主程序中卸载。
- 如权利要求15所述的装置,其中,所述触控接收器,进一步适于将所述宿主程序的显示界面切换为展示第二按钮和与所述已嵌入插件对应的元素;在用户触发所述第二按钮时,将所述宿主程序的显示界面切换为展示与插件对应的元素。
- 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行根据权利要求1-8中的任一个基于移动终端的插件管理方法。
- 一种计算机可读介质,其中存储了如权利要求17所述的计算机程序。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510149283.0A CN104793844B (zh) | 2015-03-31 | 2015-03-31 | 基于移动终端上的宿主程序的插件实现方法及装置 |
CN201510149283.0 | 2015-03-31 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016155387A1 true WO2016155387A1 (zh) | 2016-10-06 |
Family
ID=53558681
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/099590 WO2016155387A1 (zh) | 2015-03-31 | 2015-12-29 | 基于移动终端的插件管理方法及装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104793844B (zh) |
WO (1) | WO2016155387A1 (zh) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104793844B (zh) * | 2015-03-31 | 2017-05-17 | 北京奇虎科技有限公司 | 基于移动终端上的宿主程序的插件实现方法及装置 |
CN105138451B (zh) * | 2015-07-31 | 2017-12-26 | 百度在线网络技术(北京)有限公司 | 一种用于测试插件的功能的方法、装置和系统 |
CN106383702A (zh) * | 2016-08-31 | 2017-02-08 | 广州品唯软件有限公司 | 一种活动数据显示方法及设备 |
CN106951284B (zh) * | 2017-03-14 | 2020-09-11 | 深圳创维-Rgb电子有限公司 | 基于安卓系统应用的用户界面升级方法、装置及智能终端 |
CN110688314B (zh) * | 2019-09-25 | 2020-12-25 | 启迪国信(北京)信息技术有限公司 | 一种应用的性能分析方法、装置、电子设备和存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102089744A (zh) * | 2008-06-06 | 2011-06-08 | 苹果公司 | 用于移动设备的应用管理的用户界面 |
CN102331945A (zh) * | 2011-09-16 | 2012-01-25 | 北京思创银联科技股份有限公司 | 基于电子商店的应用程序管理方法 |
CN104199701A (zh) * | 2014-09-01 | 2014-12-10 | 安一恒通(北京)科技有限公司 | 一种在浏览器中启动应用的方法及装置 |
CN104793844A (zh) * | 2015-03-31 | 2015-07-22 | 北京奇虎科技有限公司 | 基于移动终端的插件管理方法及装置 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103440107A (zh) * | 2013-09-04 | 2013-12-11 | 北京奇虎科技有限公司 | 电子设备触摸操作处理的方法和装置 |
-
2015
- 2015-03-31 CN CN201510149283.0A patent/CN104793844B/zh not_active Expired - Fee Related
- 2015-12-29 WO PCT/CN2015/099590 patent/WO2016155387A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102089744A (zh) * | 2008-06-06 | 2011-06-08 | 苹果公司 | 用于移动设备的应用管理的用户界面 |
CN102331945A (zh) * | 2011-09-16 | 2012-01-25 | 北京思创银联科技股份有限公司 | 基于电子商店的应用程序管理方法 |
CN104199701A (zh) * | 2014-09-01 | 2014-12-10 | 安一恒通(北京)科技有限公司 | 一种在浏览器中启动应用的方法及装置 |
CN104793844A (zh) * | 2015-03-31 | 2015-07-22 | 北京奇虎科技有限公司 | 基于移动终端的插件管理方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN104793844A (zh) | 2015-07-22 |
CN104793844B (zh) | 2017-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107729083B (zh) | 一种加载驱动程序的方法及嵌入式设备 | |
CN113939792A (zh) | 用于机器语言模型创建的用户界面 | |
US20190095059A1 (en) | Method and device for processing application icon and electronic apparatus | |
US9202021B2 (en) | License verification method and apparatus, and computer readable storage medium storing program therefor | |
US20130247021A1 (en) | Electronic device, system and method for updating and uninstalling software | |
WO2016155387A1 (zh) | 基于移动终端的插件管理方法及装置 | |
KR102019002B1 (ko) | 타겟 명확화 및 보정 기법 | |
US20130234963A1 (en) | File management method and electronic device having file management function | |
US20140137100A1 (en) | Method and system for installing shortcut through mobile application | |
WO2016095689A1 (zh) | 基于终端界面多次触控操作进行识别搜索的方法及系统 | |
WO2016082598A1 (zh) | 一种快速查找应用程序的方法、装置及设备 | |
CN109446832B (zh) | 一种截屏方法及装置 | |
US10191838B2 (en) | Method and device for checking influence of deleting cache file, and mobile terminal | |
US20130036196A1 (en) | Method and system for publishing template-based content | |
WO2016091095A1 (zh) | 基于终端界面触控操作进行搜索的方法及系统 | |
WO2017107654A1 (zh) | 一种页面入口图标的显示方法及装置 | |
US20140280262A1 (en) | Electronic device with a funiction of applying applications of different operating systems and method thereof | |
US20130063446A1 (en) | Scenario Based Animation Library | |
CN106547569A (zh) | 一种应用内的页面访问方法和装置 | |
CN103440107A (zh) | 电子设备触摸操作处理的方法和装置 | |
US10261655B2 (en) | Least disruptive icon displacement | |
US20160062601A1 (en) | Electronic device with touch screen and method for moving application functional interface | |
CN105677148A (zh) | 一种终端应用的查找方法及装置 | |
US20150067701A1 (en) | Creating a custom series of commands | |
CN103294389A (zh) | 在终端中处理触摸输入的装置和方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15887336 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: 15887336 Country of ref document: EP Kind code of ref document: A1 |