WO2014107956A1 - Resource sharing method and device - Google Patents

Resource sharing method and device Download PDF

Info

Publication number
WO2014107956A1
WO2014107956A1 PCT/CN2013/081328 CN2013081328W WO2014107956A1 WO 2014107956 A1 WO2014107956 A1 WO 2014107956A1 CN 2013081328 W CN2013081328 W CN 2013081328W WO 2014107956 A1 WO2014107956 A1 WO 2014107956A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
application
resources
sharing
sharable
Prior art date
Application number
PCT/CN2013/081328
Other languages
French (fr)
Chinese (zh)
Inventor
覃磊
丛文
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014107956A1 publication Critical patent/WO2014107956A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication

Definitions

  • the present invention relates to the field of mobile communications, and in particular, to a resource sharing method and apparatus.
  • BACKGROUND In the current information age, with the hot sale of terminals such as smart phones and IPADs, the intelligence and functionality of terminals are increasingly valued by users.
  • the terminal can do more and more things, such as browsing the web, reading novels, real-time online chat, writing diaries, accounting, etc.
  • the applications for mobile phone installation are also various, such as Tencent WeChat, Sina, which is very hot today. Weibo and so on.
  • each application on the terminal basically runs independently, and resource sharing between applications cannot be realized.
  • the user needs to fill in the weather when using the diary application to write the diary. Since the information cannot be shared between the applications on the terminal, the user cannot directly obtain the weather query application. For weather information, you need to check the weather yourself and fill the weather into your diary. Or, suppose that the user wants to post an article in the QQ space on his/her own Renren account. Since the resources sharing between the applications on the terminal cannot be realized, the text of the space cannot be directly obtained and posted on the Internet. According to the general practice, the articles in the QQ space are generally saved first, and then published on the Renren network by copying and pasting. The above operations are cumbersome and affect the user experience.
  • a resource sharing method includes: receiving a resource sharing request sent by a user terminal, where the resource sharing request is used to instruct the first application to pre-share resources belonging to the second application. Obtaining the resource of the second application; sharing the resource of the second application to the first application.
  • Obtaining the resource of the foregoing second application may include: acquiring a sharable resource of each application that can provide the shared resource; searching for the resource of the foregoing second application in the sharable resource; and if yes, acquiring the tradable resource The resource of the second application; if not, acquiring the resource from the second application.
  • the foregoing sharable resources of the respective applications that can provide the shared resources may include: sequentially querying and acquiring the sharable resources of the respective applications; or receiving a notification message sent by the application; wherein the notification message is used to notify that the application is shareable Resources; obtain the resource from the above application according to the above notification message.
  • the sharing of the resource of the second application to the first application may include: sending the resource to the first application according to a preset editing format; or sending the resource and the resource format parsing file to the first application;
  • the resource format analysis file is used to analyze the resource; or the pre-stored resource format analysis file is downloaded from the network, the resource is parsed according to the resource format analysis file, and the parsed resource is sent to the first application.
  • the foregoing method may further include: receiving a cancel sharing request sent by the user terminal, where the foregoing unshare sharing request is used to cancel sharing the resources shared by the user terminal.
  • a resource sharing apparatus includes: a request receiving module, configured to receive a resource sharing request sent by a user terminal; wherein the resource sharing request is used to indicate the first application Pre-sharing the resources belonging to the second application; the resource obtaining module is configured to acquire the resources of the second application; and the resource sharing module is configured to share the resources of the second application to the first application.
  • the resource obtaining module may include: a sharable resource acquiring unit, configured to acquire a sharable resource of each application that can provide the shared resource; and a resource searching unit configured to search for the resource of the second application in the sharable resource;
  • the first obtaining unit is configured to acquire the resource of the second application from the sharable resource if the search result of the resource searching unit is present, and the second obtaining unit is configured to be the search result of the resource searching unit In the case where it does not exist, the above-mentioned resources are acquired to the second application described above.
  • the foregoing sharable resource obtaining unit may include: a third acquiring subunit, configured to sequentially query and acquire the sharable resource of each application; or, the fourth obtaining subunit, configured to receive a notification message sent by the application; The message is used to notify the resource that can be shared in the application; and the resource is obtained from the application according to the notification message.
  • the resource sharing module may include: a first sharing unit, configured to send the resource to the first application according to a preset editing format; or, the second sharing unit is configured to send the resource and the resource format to parse the file, and send And the foregoing first application; wherein the resource format parsing file is used to parse the foregoing resource; Alternatively, the third sharing unit is configured to download the pre-stored resource format parsing file from the network, parse the resource according to the resource format parsing file, and send the parsed resource to the first application.
  • the device may further include: a cancel request module, configured to receive a cancel sharing request sent by the user terminal; wherein the cancel sharing request is used to cancel sharing the resources shared by the user end.
  • the user wants to share the resources of the second application into the first application, after receiving the resource sharing request sent by the client, the resource of the second application is obtained, and then the resource of the second application is shared.
  • the first application solves the problem that the related applications cannot share resources among the related technologies, thereby causing the user to operate more cumbersomely, realizing resource sharing among applications on the terminal, simplifying user operations, and making the terminal more user-friendly. , improve the user experience.
  • FIG. 1 is a flowchart of a resource sharing method according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of an "I share" editing interface according to an embodiment of the present invention
  • FIG. 3 is a resource sharing process according to an embodiment of the present invention.
  • 4 is a structural block diagram of a resource sharing device according to an embodiment of the present invention.
  • FIG. 5 is a block diagram showing a specific structure of a resource sharing device according to an embodiment of the present invention.
  • multiple applications are available for the user to operate on the same terminal, but the resource sharing is not implemented between the applications, so that the operation between the applications is cumbersome.
  • the embodiment of the present invention A resource sharing method and apparatus are provided.
  • the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. The details are described below through specific embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
  • FIG. 1 is a flowchart of a resource sharing method according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps (step S102- Step S106): Step S102: Receive a resource sharing request sent by the UE, where the resource sharing request is used to indicate that the first application pre-shares resources belonging to the second application; Step S104, acquiring resources of the second application; Step S106, Sharing the resources of the second application to the first application.
  • the user wants to share the resources of the second application into the first application, after receiving the resource sharing request sent by the user, acquiring the resource of the second application, and then sharing the resource of the second application to The first application solves the problem that the related applications cannot share resources among the related technologies, thereby causing the user to operate more cumbersomely, realizing resource sharing among applications on the terminal, simplifying user operations, and making the terminal more user-friendly. , improve the user experience.
  • a function or an application (assumed to be named "I share") may be set on the terminal, and the above resource sharing method may be implemented in "I share".
  • the same application as the "I share" function can be implemented on the server side or the base station side in addition to the terminal side implementation.
  • a client When a client wants to share resources (such as information, pictures, etc.) of one application (hereinafter referred to as a second application) to another application (hereinafter referred to as a first application), it may send a resource sharing request to "I share" After receiving the resource sharing request, "I share” can obtain the resources pre-shared by the client according to the request. When the user-pre-shared resource is obtained, the "I share” can first obtain and store the sharable resources in each application, so that when the user needs it, the previously acquired resources can be directly shared with other applications.
  • resources such as information, pictures, etc.
  • the present embodiment provides a preferred implementation manner, that is, acquiring the resources of the second application includes: acquiring a sharable resource of each application that can provide the shared resource; and searching for the second application in the sharable resource.
  • I share can first summarize the resources that can be shared, provide a basis for resource sharing between subsequent applications, and improve the efficiency of resource sharing pre-shared by users.
  • the resource can be requested directly from the second application. Regardless of the preferred embodiment of sampling, as long as the user pre-shared resources are obtained.
  • the first solution is that the application vendor sets up a shareable resource and develops a function or application similar to "I share" on a terminal such as a mobile phone.
  • the application to which the shareable resource belongs can automatically notify "I share” to inform the application which resources can be shared. After receiving the notification, "I share” can obtain the sharable resources of each application according to the comrade.
  • the second solution is that "I share” queries each application on the terminal such as a mobile phone one by one, and queries which applications can provide sharable resources and what can be shared. After querying that some applications can provide sharable resources, obtain the resources. After that, "I share” can provide an interface display, prompting the user to make a selection.
  • the present embodiment provides a preferred implementation manner, that is, acquiring the sharable resources of each application includes: sequentially querying and acquiring the sharable resources of each application; or receiving the notification message sent by the application; The notification message is used to notify a resource that can be shared in the application; and the resource is obtained from the application according to the notification message.
  • "I share” can timely and accurately obtain the sharable resources of each application, and provide a basis for subsequent resource sharing operations.
  • here are three implementation methods.
  • the first is that, before the two parties interact, similar to the protocol, both parties recognize an information editing format, which is interactively parsed according to a fixed format;
  • the second is, the application is first shared with "I", or " I share "when the information is sent with the application for the first time, as the information is sent, a file parsed by a message format is sent, so that after "I share" or the application is received, the file can be parsed according to the file parsed by the information format;
  • the third is to put the way to parse the information on the Internet.
  • the format analysis file of the mobile phone can be placed on the website of the mobile phone manufacturer.
  • the format analysis file of each application can be placed on the application company's website.
  • the mobile phone can download the parsing file and then parse the information according to the parsing file.
  • the present embodiment provides a preferred implementation manner, that is, the sharing of resources of the second application to the first application includes: sending the resource to the first application according to a preset editing format; or The resource format parsing file is sent to the first application; wherein the resource format parsing file is used to parse the resource; or, the resource format parsing file is downloaded from the network, the resource is parsed according to the resource format parsing file, and the parsed resource is sent.
  • "I share" can smoothly interact with the application, ensuring resource sharing between applications.
  • this embodiment provides a preferred implementation manner, that is, receiving a cancel sharing request sent by a client, where the cancel sharing request is used to cancel sharing resources shared by the client.
  • the flexibility of the resource sharing operation is improved, and the user's needs are more satisfied, and the user experience is improved.
  • resource sharing between applications on the terminal is implemented. Assuming that after using the diary application, the user can share the weather information in the weather forecast application to the diary application, and the user can directly import the weather information into the diary, without having to query the manual input by itself, thereby improving the user experience.
  • FIG. 2 is a schematic diagram of the "I share” editing interface according to an embodiment of the present invention, as shown in FIG.
  • a terminal such as a mobile phone
  • FIG. 2 is a schematic diagram of the "I share” editing interface according to an embodiment of the present invention, as shown in FIG.
  • shared applications and shareable applications such as weather forecast, calendar, diary, and Renren
  • information such as Tencent QQ and the review network can be shared.
  • Clicking the arrow box on the right side of the interface will pop up an interface to inform the user which information of the application has been shared, and which information can be shared.
  • the photo album, diary and status of Renren.com as shown in Figure 2 have been shared.
  • FIG. 3 is a schematic diagram of a resource sharing process according to an embodiment of the present invention. As shown in FIG. 3, if a user needs to use shared information of an application, the user clicks through a graphical interface of the middleware (ie, “I share”).
  • FIG. 4 is a structural block diagram of a resource sharing apparatus according to an embodiment of the present invention.
  • the apparatus includes: a request receiving module 10, a resource obtaining module 20, and a resource sharing module 30.
  • the request receiving module 10 is configured to receive a resource sharing request sent by the user terminal, where the resource sharing request is used to instruct the first application to pre-share resources belonging to the second application;
  • the resource obtaining module 20 is connected to the request receiving module 10, and is configured to To obtain the resource of the second application, the resource sharing module 30 is connected to the resource obtaining module 20, and configured to share the resource of the second application to the first application.
  • the resource obtaining module 20 acquires the resource of the second application, and then The resource sharing module 30 shares the resources of the second application to the first application, and solves the problem that the applications on the terminal cannot share resources in the related art, thereby causing the user to operate cumbersomely, and realizing resources between the applications on the terminal. Sharing, simplifying user operations, making the terminal more user-friendly and improving user experience.
  • the obtaining operation of the resource of the second application by the resource obtaining module 20 may be implemented by using various preferred embodiments.
  • I share may first acquire a sharable resource of each application that can provide a shared resource, so that resources are needed in subsequent users.
  • sharing you can find out whether there are pre-shared resources in the sharable resources that you have obtained. If they exist, share the pre-shared resources to other applications directly, which improves resource sharing efficiency. If it does not exist, the user's pre-shared resources can be requested directly from the second application.
  • FIG. 5 a block diagram of a specific structure of a resource sharing apparatus according to an embodiment of the present invention.
  • the device includes resource acquisition in addition to the modules shown in FIG.
  • the module 20 further includes: a sharable resource acquisition unit 202, a resource search unit 204, a first acquisition unit 206, and a second acquisition unit 208.
  • the structure is described in detail below.
  • the sharable resource obtaining unit 202 is configured to acquire a sharable resource of each application that can provide the shared resource;
  • the resource searching unit 204 is configured to search for a resource of the second application in the sharable resource;
  • the first obtaining unit 206 is configured to acquire the resource of the second application from the sharable resource if the search result of the resource search unit is present;
  • the second obtaining unit 208 is configured to: the search result of the resource search unit is not In the case where it exists, the resource is acquired to the second application.
  • the foregoing apparatus may first summarize the resources that can be shared, and provide a basis for resource sharing between subsequent applications. After “I share” gets the sharable resources of each application, when you need to use the information of another application in one application, you can call up the shared information on the mobile phone through various methods such as menus or shortcut keys. By simply selecting the information you need, you can share the selected information in the currently running application.
  • the present embodiment further provides a preferred structure, that is, the sharable resource acquiring unit 202 includes: a third acquiring subunit, configured to sequentially query and acquire sharable resources of each application; or, the fourth acquiring subunit And being configured to receive the notification message sent by the application, where the notification message is used to notify the resource that is sharable in the application, and obtain the resource from the application according to the notification message.
  • the foregoing device can acquire the sharable resources of each application in time and accurately, and provide a basis for subsequent resource sharing operations.
  • the resource sharing module 30 includes: a first sharing unit, configured to perform the foregoing according to a preset editing format. The resource is sent to the first application; or the second sharing unit is configured to send the resource and the resource format parsing file to the first application, where the resource format parsing file is used to parse the resource; or, the third The sharing unit is configured to download the resource format parsing file, parse the resource according to the resource format parsing file, and send the parsed resource to the first application.
  • the above device can smoothly interact with the application to ensure resource sharing between applications.
  • the user can independently select the resources to be shared according to the actual situation, or can choose to cancel the sharing of some resources.
  • the foregoing apparatus may further include: a cancel requesting module, configured to receive a cancel sharing request sent by the user terminal; wherein the cancel sharing request is used to cancel sharing the resources shared by the user end.
  • a cancel requesting module configured to receive a cancel sharing request sent by the user terminal; wherein the cancel sharing request is used to cancel sharing the resources shared by the user end.
  • the embodiment of the present invention sets a function or an application similar to "I share" to realize resource sharing between applications, thereby solving the practical problems encountered by the user in use, and greatly simplifying
  • the user's operation makes it easier for the user to operate the terminal and obtain information, making the terminal more user-friendly. While the preferred embodiments of the present invention have been disclosed for purposes of illustration, those skilled in the art will recognize that various modifications, additions and substitutions are possible, and the scope of the invention should not be limited to the embodiments described above.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Disclosed are a resource sharing method and device. The method comprises: receiving a resource sharing request sent from a user terminal, wherein the resource sharing request is used for indicating a first application to pre-share a resource which belongs to a second application; acquiring the resource of the second application; and sharing the resource of the second application with the first application. By means of the present invention, if a user terminal wants to share a resource of a second application with a first application, after a resource sharing request sent from the user terminal is received, the resource of the second application is acquired, and then the resource of the second application is shared with the first application, solving the problem in the related art that individual applications in a terminal cannot share resources thereamong, thereby resulting in the user operation to be relatively cumbersome, realizing resource sharing among the individual applications in the terminal, simplifying the user operation, making the terminal more user friendly, and improving the user experience.

Description

一种资源共享方法及装置 技术领域 本发明涉及移动通讯领域, 特别是涉及一种资源共享方法及装置。 背景技术 在目前的信息时代中, 随着智能手机、 IPAD等终端的热卖, 终端的智能性、 功能 性越来越被用户所看重。现在终端能做的事情也越来越多, 例如浏览网页, 阅读小说, 实时在线聊天, 写日记, 记账等, 供手机安装的应用也各式各样, 例如如今很火的腾 讯微信, 新浪微博等。 但是, 目前终端上的各个应用基本都独立运行, 无法实现应用间的资源共享。 假 设在终端上存在写日记应用和天气查询应用, 用户在使用写日记应用写日记时, 需要 填写天气, 由于终端上的各个应用之间无法进行信息共享, 此时用户不能直接获取天 气查询应用上的天气信息, 需要自行查询天气, 并自行将天气填写到日记中。 或者, 假设用户想把 QQ空间的一篇文章, 发布在自己的人人网帐号上, 由于无 法实现终端上各个应用之间的资源共享, 所以不能直接获取 空间的文字并在人人 网上发布。 按照一般的做法, 一般是把 QQ空间的文章先保存下来, 然后再通过复制 粘贴的方法再发布在人人网上。 上述操作较为繁琐, 影响用户的体验。 针对相关技术中终端上各个应用之间无法共享资源, 从而导致用户操作较为繁琐 的问题, 目前尚未提出有效的解决方案。 发明内容 本发明提供了一种资源共享方法及装置, 至少解决了相关技术中终端上各个应用 之间无法共享资源, 从而导致用户操作较为繁琐的问题。 根据本发明的一个方面, 提供了一种资源共享方法, 其中, 该方法包括: 接收用 户端发送的资源共享请求; 其中, 该资源共享请求用于指示第一应用预共享属于第二 应用的资源; 获取上述第二应用的资源; 将上述第二应用的资源共享给上述第一应用。 获取上述第二应用的资源可以包括: 获取可提供共享资源的各个应用的可共享资 源; 在上述可共享资源中查找是否存在上述第二应用的资源; 如果存在, 则从上述可 共享资源中获取上述第二应用的资源; 如果不存在, 则向上述第二应用获取上述资源。 获取可提供共享资源的各个应用的上述可共享资源可以包括: 依次查询并获取各 个应用的上述可共享资源; 或者, 接收应用发送的通知消息; 其中, 上述通知消息用 于通知上述应用中可共享的资源; 根据上述通知消息向上述应用获取该资源。 将上述第二应用的资源共享给上述第一应用可以包括: 按照预设的编辑格式将上 述资源发送给上述第一应用; 或者, 将上述资源以及资源格式解析文件, 发送给上述 第一应用; 其中, 上述资源格式解析文件用于解析上述资源; 或者, 从网上下载预存 的资源格式解析文件, 根据上述资源格式解析文件对上述资源进行解析, 将解析后的 资源发送给上述第一应用。 上述方法还可以包括: 接收用户端发送的取消共享请求; 其中, 上述取消共享请 求用于取消共享上述用户端已共享的资源。 根据本发明的另一方面, 还提供了一种资源共享装置, 其中, 该装置包括: 请求 接收模块, 设置为接收用户端发送的资源共享请求; 其中, 该资源共享请求用于指示 第一应用预共享属于第二应用的资源; 资源获取模块, 设置为获取上述第二应用的资 源; 资源共享模块, 用于将上述第二应用的资源共享给上述第一应用。 上述资源获取模块可以包括: 可共享资源获取单元, 设置为获取可提供共享资源 的各个应用的可共享资源; 资源查找单元, 设置为在上述可共享资源中查找是否存在 上述第二应用的资源; 第一获取单元, 设置为在上述资源查找单元的查找结果为存在 的情况下, 从上述可共享资源中获取上述第二应用的资源; 第二获取单元, 设置为在 上述资源查找单元的查找结果为不存在的情况下, 向上述第二应用获取上述资源。 上述可共享资源获取单元可以包括: 第三获取子单元, 设置为依次查询并获取各 个应用的上述可共享资源; 或者, 第四获取子单元, 设置为接收应用发送的通知消息; 其中, 上述通知消息用于通知上述应用中可共享的资源; 根据上述通知消息向上述应 用获取该资源。 上述资源共享模块可以包括: 第一共享单元, 设置为按照预设的编辑格式将上述 资源发送给上述第一应用; 或者, 第二共享单元, 用设置为将上述资源以及资源格式 解析文件, 发送给上述第一应用; 其中, 上述资源格式解析文件用于解析上述资源; 或者, 第三共享单元, 设置为从网上下载预存的资源格式解析文件, 根据上述资源格 式解析文件对上述资源进行解析, 将解析后的资源发送给上述第一应用。 上述装置还可以包括: 取消请求模块, 设置为接收用户端发送的取消共享请求; 其中, 上述取消共享请求用于取消共享上述用户端已共享的资源。 通过本发明, 如果用户端想要将第二应用的资源共享到第一应用中, 在接收到用 户端发送的资源共享请求后, 获取第二应用的资源, 然后将第二应用的资源共享给第 一应用, 解决了相关技术中终端上各个应用之间无法共享资源, 从而导致用户操作较 为繁琐的问题, 实现了终端上各个应用之间的资源共享, 简化了用户操作, 使终端更 加人性化, 提高了用户感受。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中- 图 1 是根据本发明实施例的资源共享方法的流程图; 图 2 是根据本发明实施例的"我共享 "编辑界面示意图; 图 3 是根据本发明实施例的资源共享流程示意图; 图 4 是根据本发明实施例的资源共享装置的结构框图; 以及 图 5 是根据本发明实施例的资源共享装置的具体结构框图。 具体实施方式 相关技术中, 在同一个终端上存在多个应用可供用户操作, 但是由于各个应用间 无法实现资源共享, 因此导致用户在各个应用间的操作较为繁琐, 基于此, 本发明实 施例提供了一种资源共享方法及装置, 以下结合附图以及实施例, 对本发明进行进一 步详细说明。 应当理解, 此处所描述的具体实施例仅仅用以解释本发明, 并不限定本 发明。 下面通过具体实施例进行详细介绍。 需要说明的是, 在不冲突的情况下, 本申 请中的实施例及实施例中的特征可以相互组合。 本实施例提供了一种资源共享方法, 该方法可以在终端侧实现, 图 1是根据本发 明实施例的资源共享方法的流程图, 如图 1所示, 该方法包括以下步骤 (步骤 S102- 步骤 S106): 步骤 S102, 接收用户端发送的资源共享请求; 其中, 该资源共享请求用于指示第 一应用预共享属于第二应用的资源; 步骤 S104, 获取第二应用的资源; 步骤 S106, 将第二应用的资源共享给第一应用。 通过上述方法, 如果用户端想要将第二应用的资源共享到第一应用中, 在接收到 用户端发送的资源共享请求后, 获取第二应用的资源, 然后将第二应用的资源共享给 第一应用, 解决了相关技术中终端上各个应用之间无法共享资源, 从而导致用户操作 较为繁琐的问题, 实现了终端上各个应用之间的资源共享, 简化了用户操作, 使终端 更加人性化, 提高了用户感受。 在本实施例中, 可以在终端上设置一个功能或者应用 (假设命名为 "我共享"), 上 述资源共享方法可以在"我共享 "中实现。 与"我共享"功能相同的应用除了可以设置在 终端侧实现之外, 也可以设置在服务器或者基站侧实现。 当用户端想要将一个应用 (下面称为第二应用) 的资源 (例如信息、 图片等) 共 享到另一个应用 (下面称为第一应用) 时, 可以向 "我共享"发送资源共享请求, "我共 享"接收到该资源共享请求之后, 便可以根据该请求获取用户端预共享的资源。在获取 用户端预共享的资源时, "我共享"可以先获取并存储各个应用中的可共享资源, 这样 在用户端需要时, 可以直接将之前获取到的资源共享给其他应用。 在"我共享 "获取到各个应用的可共享资源之后, "我共享"接收到用户端的资源共 享请求, 便可以在上述可共享资源中查找是否存在用户端预共享的属于第二应用的资 源, 如果存在, 则将预共享的资源直接提供给第一应用, 如果不存在, 则向第二应用 获取预共享的资源。 基于上述操作,本实施例提供了一种优选实施方式, 即获取第二应用的资源包括: 获取可提供共享资源的各个应用的可共享资源; 在上述可共享资源中查找是否存在第 二应用的资源; 如果存在, 则从可共享资源中获取第二应用的资源; 如果不存在, 则 向第二应用获取该资源。 这样, 通过该优选实施方式, "我共享"可以先将可以共享的资源汇总在一起, 为 后续应用之间进行资源共享提供基础, 提高了用户预共享的资源的获取效率。 另外, 如果"我共享 "汇总的资源中不存在用户预共享的资源, 可以直接向第二应用索取该资 源。 无论采样何种优选实施方式, 只要获取到用户预共享的资源即可。 在"我共享"获取了各个应用的可共享资源后, 当在一个应用中需要使用另一个应 用的信息时, 可以通过菜单或者快捷键等各种方式, 调出手机上已共享的信息, 用户 端只需选择自己所需的信息, 就可以把选择的信息共享在目前运行的应用里。 在上述优选实施方式中, "我共享"获取到各个应用的可共享资源,但是, "我共享" 是如何获知哪些应用以及哪些资源是可以被共享的, 下面对该问题的解决方案进行介 绍。 第一种解决方案是, 应用厂商设置可共享的资源, 在手机等终端上开发类似于 "我 共享"这样的功能或者应用。用户在手机上运行"我共享 "时, 可共享的资源所属的应用 可以自动的通知"我共享", 告知该应用的哪些资源可以共享。 "我共享"接收到该通知 后, 可以根据该同志获取各个应用的可共享资源。 第二种解决方案是, "我共享"逐一查询手机等终端上的各个应用, 查询哪些应用 可以提供可共享资源, 以及可以提供哪些可共享信息。 在查询到某些应用可以提供可 共享资源之后, 获取该资源。 之后, "我共享"可以提供界面显示, 提示给用户端进行 选择。 基于上述两种解决方案, 本实施例提供了一种优选实施方式, 即获取各个应用的 可共享资源包括: 依次查询并获取各个应用的可共享资源; 或者, 接收应用发送的通 知消息; 其中, 该通知消息用于通知上述应用中可共享的资源; 根据上述通知消息向 上述应用获取该资源。 通过该优选实施方式, "我共享"可以及时准确的获取到各个应 用的可共享资源, 为后续资源共享操作提供基础。 至于"我共享"如何与其他应用进行交互, 下面介绍三种实施方法。 第一种是, 在 双方交互之前, 类似于协议这种, 双方都公认一种信息的编辑格式, 根据固定的格式 进行交互解析; 第二种是, 在应用初次跟 "我共享", 或者"我共享 "初次跟应用发送信 息时, 随着信息的发送, 再附加发送一个信息格式解析的文件, 这样"我共享"或者应 用收到后, 就能够根据该信息格式解析的文件去解析信息; 第三种是, 将解析信息的 方式放在网上, 手机的格式解析文件可以放在手机制造商的网站上, 各个应用的格式 解析文件可以放在应用公司的网站上,在进行资源共享时,手机可以去下载解析文件, 然后根据解析文件对信息进行解析。 基于上述两种实施方法, 本实施例提供了一种优选实施方式, 即将第二应用的资 源共享给第一应用包括: 按照预设的编辑格式将资源发送给第一应用; 或者, 将资源 以及资源格式解析文件, 发送给第一应用; 其中, 资源格式解析文件用于解析上述资 源; 或者, 从网上下载资源格式解析文件, 根据该资源格式解析文件对资源进行解析, 将解析后的资源发送给第一应用。 通过该优选实施方式, "我共享"可以顺利的与应用 进行交互, 保证了应用间的资源共享。 另外, 在实际应用过程中, 用户端可以根据实际情况自主选择需要共享的资源, 也可以自主选择取消某些资源的共享。 因此, 本实施例提供了一种优选实施方式, 即 接收用户端发送的取消共享请求; 其中, 该取消共享请求用于取消共享用户端已共享 的资源。 通过该优选实施方式, 提高了资源共享操作的灵活性, 更符合用户的需求, 提高了用户感受。 在本实施例中, 实现了终端上各个应用之间的资源共享。 假设用户在使用写日记 应用之后, 可以将天气预报应用里关于天气的信息共享给写日记应用, 用户就可以直 接将天气信息导入到日记里, 不需要自己去查询手动输入, 提高了用户感受。 - 在实际应用过程中, 上述实施例中的"我共享"可以提供一种可编辑的显示界面, 图 2是根据本发明实施例的"我共享 "编辑界面示意图, 如图 2所示, 用户在手机等终 端上运行"我共享"之后, 进入图 2所示的界面。 从该界面上可以看出已共享的应用和 可共享的应用, 例如天气预报、 日程表、 日记, 以及人人网等信息已经被共享, 腾讯 QQ 以及点评网等信息可以被共享。 点击该界面的右侧的箭头框, 会弹出界面告知用 户该应用的哪些信息已经被共享, 哪些信息可被共享, 如图 2显示的人人网的相册、 日记以及状态等信息已经被共享, 人人网的好友等信息可以被共享。 在该可编辑的显 示界面上, 用户可以增加共享信息, 也可以去除某些已共享的信息。 在本实施例中, 手机上安装的各应用告知手机哪些信息可被共享, 这个可以通过 增加类似"我共享 "应用或者功能来实现。用户通过"我共享"来决定哪些应用的哪些信 息需要被共享。用户在某个应用使用中,需要别的应用中的某些信息时,通过"我共享" 来获取到所需的信息。 图 3是根据本发明实施例的资源共享流程示意图, 如图 3所示, 用户如果需要使 用某个应用的共享信息, 则通过中间件 (即上述"我共享") 的图形界面进行点击。 中 间件收到用户的请求信息之后, 按照与应用规定好的格式整理好请求信息, 然后向应 用所提供的接口发送请求信息。 应用收到请求之后, 将共享信息整理好, 按照某种格 式发送给中间件。 中间件收到应用返回的共享信息之后, 解析该共享信息, 以手机能 理解的内容再返回给手机, 手机再通过某种方式, 例如图形界面等提供给用户使用。 对应于上述实施例介绍的资源共享方法, 本实施例提供了一种资源共享装置, 该 装置可以设置在终端侧, 用以实现上述实施例。 图 4是根据本发明实施例的资源共享 装置的结构框图, 如图 4所示, 该装置包括: 请求接收模块 10、 资源获取模块 20和 资源共享模块 30。 下面对该结构进行详细介绍。 请求接收模块 10, 设置为接收用户端发送的资源共享请求; 其中, 该资源共享请 求用于指示第一应用预共享属于第二应用的资源; 资源获取模块 20, 连接至请求接收模块 10, 设置为获取上述第二应用的资源; 资源共享模块 30,连接至资源获取模块 20, 设置为将上述第二应用的资源共享给 上述第一应用。 通过上述装置, 如果用户端想要将第二应用的资源共享到第一应用中, 在请求接 收模块 10接收到用户端发送的资源共享请求后, 资源获取模块 20获取第二应用的资 源,然后资源共享模块 30将第二应用的资源共享给第一应用,解决了相关技术中终端 上各个应用之间无法共享资源, 从而导致用户操作较为繁琐的问题, 实现了终端上各 个应用之间的资源共享, 简化了用户操作, 使终端更加人性化, 提高了用户感受。 对于资源获取模块 20对第二应用的资源的获取操作,可以通过多种优选实施方式 实现, 例如"我共享"可以先获取可提供共享资源的各个应用的可共享资源, 这样在后 续用户需要资源共享时, 可以在之前获取到的可共享资源中查找是否存在用户预共享 的资源, 如果存在则直接将预共享的资源共享给其他应用, 提高了资源共享效率。 如 果不存在, 则可以直接向第二应用索取用户预共享的资源。 基于此, 本实施例提供了一种优选结构, 如图 5所示的根据本发明实施例的资源 共享装置的具体结构框图, 该装置除了包括上述图 4所示的各个模块之外, 资源获取 模块 20还包括: 可共享资源获取单元 202、 资源查找单元 204、 第一获取单元 206和 第二获取单元 208。 下面对该结构进行详细介绍。 可共享资源获取单元 202, 设置为获取可提供共享资源的各个应用的可共享资源; 资源查找单元 204, 设置为在可共享资源中查找是否存在第二应用的资源; 第一获取单元 206, 设置为在资源查找单元的查找结果为存在的情况下, 从可共 享资源中获取第二应用的资源; 第二获取单元 208, 设置为在资源查找单元的查找结果为不存在的情况下, 向第 二应用获取资源。 通过该优选结构, 上述装置可以先将可以共享的资源汇总在一起, 为后续应用之 间进行资源共享提供基础。 在"我共享"获取了各个应用的可共享资源后, 当在一个应 用中需要使用另一个应用的信息时, 可以通过菜单或者快捷键等各种方式, 调出手机 上已共享的信息, 用户端只需选择自己所需的信息, 就可以把选择的信息共享在目前 运行的应用里。 优选地,本实施例还提供了一种优选结构, 即上述可共享资源获取单元 202包括: 第三获取子单元, 设置为依次查询并获取各个应用的可共享资源; 或者, 第四获取子 单元, 设置为接收应用发送的通知消息; 其中, 上述通知消息用于通知上述应用中可 共享的资源; 根据上述通知消息向上述应用获取该资源。 通过该优选结构, 上述装置 可以及时准确的获取到各个应用的可共享资源, 为后续资源共享操作提供基础。 基于前面介绍的"我共享"如何与其他应用进行交互的方法, 本实施例提供了一种 优选结构, 即上述资源共享模块 30包括: 第一共享单元, 设置为按照预设的编辑格式 将上述资源发送给上述第一应用; 或者, 第二共享单元, 设置为将上述资源以及资源 格式解析文件, 发送给上述第一应用; 其中, 上述资源格式解析文件用于解析上述资 源; 或者, 第三共享单元, 设置为下载资源格式解析文件, 根据上述资源格式解析文 件对上述资源进行解析, 将解析后的资源发送给上述第一应用。 通过该优选结构, 上 述装置可以顺利的与应用进行交互, 保证了应用间的资源共享。 另外, 在实际应用过程中, 用户端可以根据实际情况自主选择需要共享的资源, 也可以自主选择取消某些资源的共享。 即上述装置还可以包括: 取消请求模块, 设置 为接收用户端发送的取消共享请求; 其中, 该取消共享请求用于取消共享用户端已共 享的资源。 在本实施例的实现上有多种方式,例如在手机上实现"我共享"这种功能或应用来 实现应用间的资源共享, 当然也可以把 "我共享"这种功能或应用通过服务器或者基站 等来实现。 从以上描述中, 可以看出, 本发明实施例设置类似于"我共享 "这样的功能或者应 用, 来实现应用间的资源共享, 从而解决用户在使用中遇到的实际问题, 极大的简化 了用户的操作, 让用户能更方便进行终端操作、 获取信息, 使终端更加人性化。 尽管为示例目的, 已经公开了本发明的优选实施例, 本领域的技术人员将意识到 各种改进、 增加和取代也是可能的, 因此, 本发明的范围应当不限于上述实施例。 The present invention relates to the field of mobile communications, and in particular, to a resource sharing method and apparatus. BACKGROUND In the current information age, with the hot sale of terminals such as smart phones and IPADs, the intelligence and functionality of terminals are increasingly valued by users. Nowadays, the terminal can do more and more things, such as browsing the web, reading novels, real-time online chat, writing diaries, accounting, etc. The applications for mobile phone installation are also various, such as Tencent WeChat, Sina, which is very hot today. Weibo and so on. However, at present, each application on the terminal basically runs independently, and resource sharing between applications cannot be realized. Assuming that there is a write diary application and a weather query application on the terminal, the user needs to fill in the weather when using the diary application to write the diary. Since the information cannot be shared between the applications on the terminal, the user cannot directly obtain the weather query application. For weather information, you need to check the weather yourself and fill the weather into your diary. Or, suppose that the user wants to post an article in the QQ space on his/her own Renren account. Since the resources sharing between the applications on the terminal cannot be realized, the text of the space cannot be directly obtained and posted on the Internet. According to the general practice, the articles in the QQ space are generally saved first, and then published on the Renren network by copying and pasting. The above operations are cumbersome and affect the user experience. In view of the problem that the applications on the terminal cannot share resources in the related art, which leads to cumbersome user operations, an effective solution has not been proposed yet. SUMMARY OF THE INVENTION The present invention provides a method and an apparatus for resource sharing, which at least solves the problem that resources cannot be shared among applications on a terminal in the related art, thereby causing a cumbersome operation of the user. According to an aspect of the present invention, a resource sharing method is provided, where the method includes: receiving a resource sharing request sent by a user terminal, where the resource sharing request is used to instruct the first application to pre-share resources belonging to the second application. Obtaining the resource of the second application; sharing the resource of the second application to the first application. Obtaining the resource of the foregoing second application may include: acquiring a sharable resource of each application that can provide the shared resource; searching for the resource of the foregoing second application in the sharable resource; and if yes, acquiring the tradable resource The resource of the second application; if not, acquiring the resource from the second application. The foregoing sharable resources of the respective applications that can provide the shared resources may include: sequentially querying and acquiring the sharable resources of the respective applications; or receiving a notification message sent by the application; wherein the notification message is used to notify that the application is shareable Resources; obtain the resource from the above application according to the above notification message. The sharing of the resource of the second application to the first application may include: sending the resource to the first application according to a preset editing format; or sending the resource and the resource format parsing file to the first application; The resource format analysis file is used to analyze the resource; or the pre-stored resource format analysis file is downloaded from the network, the resource is parsed according to the resource format analysis file, and the parsed resource is sent to the first application. The foregoing method may further include: receiving a cancel sharing request sent by the user terminal, where the foregoing unshare sharing request is used to cancel sharing the resources shared by the user terminal. According to another aspect of the present invention, a resource sharing apparatus is further provided, where the apparatus includes: a request receiving module, configured to receive a resource sharing request sent by a user terminal; wherein the resource sharing request is used to indicate the first application Pre-sharing the resources belonging to the second application; the resource obtaining module is configured to acquire the resources of the second application; and the resource sharing module is configured to share the resources of the second application to the first application. The resource obtaining module may include: a sharable resource acquiring unit, configured to acquire a sharable resource of each application that can provide the shared resource; and a resource searching unit configured to search for the resource of the second application in the sharable resource; The first obtaining unit is configured to acquire the resource of the second application from the sharable resource if the search result of the resource searching unit is present, and the second obtaining unit is configured to be the search result of the resource searching unit In the case where it does not exist, the above-mentioned resources are acquired to the second application described above. The foregoing sharable resource obtaining unit may include: a third acquiring subunit, configured to sequentially query and acquire the sharable resource of each application; or, the fourth obtaining subunit, configured to receive a notification message sent by the application; The message is used to notify the resource that can be shared in the application; and the resource is obtained from the application according to the notification message. The resource sharing module may include: a first sharing unit, configured to send the resource to the first application according to a preset editing format; or, the second sharing unit is configured to send the resource and the resource format to parse the file, and send And the foregoing first application; wherein the resource format parsing file is used to parse the foregoing resource; Alternatively, the third sharing unit is configured to download the pre-stored resource format parsing file from the network, parse the resource according to the resource format parsing file, and send the parsed resource to the first application. The device may further include: a cancel request module, configured to receive a cancel sharing request sent by the user terminal; wherein the cancel sharing request is used to cancel sharing the resources shared by the user end. According to the present invention, if the user wants to share the resources of the second application into the first application, after receiving the resource sharing request sent by the client, the resource of the second application is obtained, and then the resource of the second application is shared. The first application solves the problem that the related applications cannot share resources among the related technologies, thereby causing the user to operate more cumbersomely, realizing resource sharing among applications on the terminal, simplifying user operations, and making the terminal more user-friendly. , improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 1 is a flowchart of a resource sharing method according to an embodiment of the present invention; FIG. 2 is a schematic diagram of an "I share" editing interface according to an embodiment of the present invention; and FIG. 3 is a resource sharing process according to an embodiment of the present invention. 4 is a structural block diagram of a resource sharing device according to an embodiment of the present invention; and FIG. 5 is a block diagram showing a specific structure of a resource sharing device according to an embodiment of the present invention. In the related art, multiple applications are available for the user to operate on the same terminal, but the resource sharing is not implemented between the applications, so that the operation between the applications is cumbersome. Based on this, the embodiment of the present invention A resource sharing method and apparatus are provided. The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. The details are described below through specific embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The present embodiment provides a resource sharing method, which can be implemented on the terminal side. FIG. 1 is a flowchart of a resource sharing method according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps (step S102- Step S106): Step S102: Receive a resource sharing request sent by the UE, where the resource sharing request is used to indicate that the first application pre-shares resources belonging to the second application; Step S104, acquiring resources of the second application; Step S106, Sharing the resources of the second application to the first application. Through the above method, if the user wants to share the resources of the second application into the first application, after receiving the resource sharing request sent by the user, acquiring the resource of the second application, and then sharing the resource of the second application to The first application solves the problem that the related applications cannot share resources among the related technologies, thereby causing the user to operate more cumbersomely, realizing resource sharing among applications on the terminal, simplifying user operations, and making the terminal more user-friendly. , improve the user experience. In this embodiment, a function or an application (assumed to be named "I share") may be set on the terminal, and the above resource sharing method may be implemented in "I share". The same application as the "I share" function can be implemented on the server side or the base station side in addition to the terminal side implementation. When a client wants to share resources (such as information, pictures, etc.) of one application (hereinafter referred to as a second application) to another application (hereinafter referred to as a first application), it may send a resource sharing request to "I share" After receiving the resource sharing request, "I share" can obtain the resources pre-shared by the client according to the request. When the user-pre-shared resource is obtained, the "I share" can first obtain and store the sharable resources in each application, so that when the user needs it, the previously acquired resources can be directly shared with other applications. After "I share" to obtain the sharable resources of each application, "I share" receives the resource sharing request of the client, and then can find in the above sharable resources whether there is a resource belonging to the second application pre-shared by the client. If yes, the pre-shared resource is directly provided to the first application, and if not, the pre-shared resource is obtained from the second application. Based on the above operations, the present embodiment provides a preferred implementation manner, that is, acquiring the resources of the second application includes: acquiring a sharable resource of each application that can provide the shared resource; and searching for the second application in the sharable resource. a resource; if present, the resource of the second application is obtained from the sharable resource; if not, the resource is obtained from the second application. In this way, through the preferred embodiment, "I share" can first summarize the resources that can be shared, provide a basis for resource sharing between subsequent applications, and improve the efficiency of resource sharing pre-shared by users. In addition, if there is no user pre-shared resource in the "I share" aggregated resource, the resource can be requested directly from the second application. Regardless of the preferred embodiment of sampling, as long as the user pre-shared resources are obtained. After "I share" gets the sharable resources of each application, when you need to use the information of another application in one application, you can call up the shared information on the mobile phone through various methods such as menus or shortcut keys. By simply selecting the information you need, you can share the selected information in the currently running application. In the above preferred embodiment, "I share" obtains the sharable resources of each application, but how does "I share" know which applications and which resources can be shared, and the solution to the problem is introduced below. . The first solution is that the application vendor sets up a shareable resource and develops a function or application similar to "I share" on a terminal such as a mobile phone. When a user runs "I share" on a mobile phone, the application to which the shareable resource belongs can automatically notify "I share" to inform the application which resources can be shared. After receiving the notification, "I share" can obtain the sharable resources of each application according to the comrade. The second solution is that "I share" queries each application on the terminal such as a mobile phone one by one, and queries which applications can provide sharable resources and what can be shared. After querying that some applications can provide sharable resources, obtain the resources. After that, "I share" can provide an interface display, prompting the user to make a selection. Based on the foregoing two solutions, the present embodiment provides a preferred implementation manner, that is, acquiring the sharable resources of each application includes: sequentially querying and acquiring the sharable resources of each application; or receiving the notification message sent by the application; The notification message is used to notify a resource that can be shared in the application; and the resource is obtained from the application according to the notification message. Through the preferred embodiment, "I share" can timely and accurately obtain the sharable resources of each application, and provide a basis for subsequent resource sharing operations. As for how "I share" interacts with other applications, here are three implementation methods. The first is that, before the two parties interact, similar to the protocol, both parties recognize an information editing format, which is interactively parsed according to a fixed format; the second is, the application is first shared with "I", or " I share "when the information is sent with the application for the first time, as the information is sent, a file parsed by a message format is sent, so that after "I share" or the application is received, the file can be parsed according to the file parsed by the information format; The third is to put the way to parse the information on the Internet. The format analysis file of the mobile phone can be placed on the website of the mobile phone manufacturer. The format analysis file of each application can be placed on the application company's website. The mobile phone can download the parsing file and then parse the information according to the parsing file. Based on the foregoing two implementation methods, the present embodiment provides a preferred implementation manner, that is, the sharing of resources of the second application to the first application includes: sending the resource to the first application according to a preset editing format; or The resource format parsing file is sent to the first application; wherein the resource format parsing file is used to parse the resource; or, the resource format parsing file is downloaded from the network, the resource is parsed according to the resource format parsing file, and the parsed resource is sent. Give the first application. Through the preferred embodiment, "I share" can smoothly interact with the application, ensuring resource sharing between applications. In addition, in the actual application process, the user can independently select the resources to be shared according to the actual situation, or can choose to cancel the sharing of some resources. Therefore, this embodiment provides a preferred implementation manner, that is, receiving a cancel sharing request sent by a client, where the cancel sharing request is used to cancel sharing resources shared by the client. Through the preferred embodiment, the flexibility of the resource sharing operation is improved, and the user's needs are more satisfied, and the user experience is improved. In this embodiment, resource sharing between applications on the terminal is implemented. Assuming that after using the diary application, the user can share the weather information in the weather forecast application to the diary application, and the user can directly import the weather information into the diary, without having to query the manual input by itself, thereby improving the user experience. - In the actual application process, "I share" in the above embodiment may provide an editable display interface, and FIG. 2 is a schematic diagram of the "I share" editing interface according to an embodiment of the present invention, as shown in FIG. After running "I share" on a terminal such as a mobile phone, enter the interface shown in Figure 2. From this interface, it can be seen that shared applications and shareable applications, such as weather forecast, calendar, diary, and Renren, have been shared, and information such as Tencent QQ and the review network can be shared. Clicking the arrow box on the right side of the interface will pop up an interface to inform the user which information of the application has been shared, and which information can be shared. The photo album, diary and status of Renren.com as shown in Figure 2 have been shared. Information such as friends of Renren can be shared. On the editable display interface, the user can add shared information or remove some shared information. In this embodiment, each application installed on the mobile phone informs the mobile phone which information can be shared, which can be achieved by adding a similar "I share" application or function. Users use "I share" to determine which apps need to be shared. When a user needs some information in another application in an application, the "I share" is used to obtain the required information. FIG. 3 is a schematic diagram of a resource sharing process according to an embodiment of the present invention. As shown in FIG. 3, if a user needs to use shared information of an application, the user clicks through a graphical interface of the middleware (ie, “I share”). After receiving the request information of the user, the middleware sorts the request information according to the format specified by the application, and then sends the request information to the interface provided by the application. After the application receives the request, the shared information is organized, according to a certain grid Send to the middleware. After receiving the shared information returned by the application, the middleware parses the shared information, and returns the content that can be understood by the mobile phone to the mobile phone, and the mobile phone is provided to the user through some means, such as a graphic interface. Corresponding to the resource sharing method introduced in the foregoing embodiment, the embodiment provides a resource sharing device, and the device can be configured on the terminal side to implement the foregoing embodiment. FIG. 4 is a structural block diagram of a resource sharing apparatus according to an embodiment of the present invention. As shown in FIG. 4, the apparatus includes: a request receiving module 10, a resource obtaining module 20, and a resource sharing module 30. The structure is described in detail below. The request receiving module 10 is configured to receive a resource sharing request sent by the user terminal, where the resource sharing request is used to instruct the first application to pre-share resources belonging to the second application; the resource obtaining module 20 is connected to the request receiving module 10, and is configured to To obtain the resource of the second application, the resource sharing module 30 is connected to the resource obtaining module 20, and configured to share the resource of the second application to the first application. With the above device, if the user wants to share the resources of the second application into the first application, after the request receiving module 10 receives the resource sharing request sent by the user, the resource obtaining module 20 acquires the resource of the second application, and then The resource sharing module 30 shares the resources of the second application to the first application, and solves the problem that the applications on the terminal cannot share resources in the related art, thereby causing the user to operate cumbersomely, and realizing resources between the applications on the terminal. Sharing, simplifying user operations, making the terminal more user-friendly and improving user experience. The obtaining operation of the resource of the second application by the resource obtaining module 20 may be implemented by using various preferred embodiments. For example, “I share” may first acquire a sharable resource of each application that can provide a shared resource, so that resources are needed in subsequent users. When sharing, you can find out whether there are pre-shared resources in the sharable resources that you have obtained. If they exist, share the pre-shared resources to other applications directly, which improves resource sharing efficiency. If it does not exist, the user's pre-shared resources can be requested directly from the second application. Based on this, the present embodiment provides a preferred structure, as shown in FIG. 5, a block diagram of a specific structure of a resource sharing apparatus according to an embodiment of the present invention. The device includes resource acquisition in addition to the modules shown in FIG. The module 20 further includes: a sharable resource acquisition unit 202, a resource search unit 204, a first acquisition unit 206, and a second acquisition unit 208. The structure is described in detail below. The sharable resource obtaining unit 202 is configured to acquire a sharable resource of each application that can provide the shared resource; the resource searching unit 204 is configured to search for a resource of the second application in the sharable resource; The first obtaining unit 206 is configured to acquire the resource of the second application from the sharable resource if the search result of the resource search unit is present; the second obtaining unit 208 is configured to: the search result of the resource search unit is not In the case where it exists, the resource is acquired to the second application. With the preferred structure, the foregoing apparatus may first summarize the resources that can be shared, and provide a basis for resource sharing between subsequent applications. After "I share" gets the sharable resources of each application, when you need to use the information of another application in one application, you can call up the shared information on the mobile phone through various methods such as menus or shortcut keys. By simply selecting the information you need, you can share the selected information in the currently running application. Preferably, the present embodiment further provides a preferred structure, that is, the sharable resource acquiring unit 202 includes: a third acquiring subunit, configured to sequentially query and acquire sharable resources of each application; or, the fourth acquiring subunit And being configured to receive the notification message sent by the application, where the notification message is used to notify the resource that is sharable in the application, and obtain the resource from the application according to the notification message. Through the preferred structure, the foregoing device can acquire the sharable resources of each application in time and accurately, and provide a basis for subsequent resource sharing operations. Based on the foregoing method of how the "I share" interacts with other applications, the present embodiment provides a preferred structure, that is, the resource sharing module 30 includes: a first sharing unit, configured to perform the foregoing according to a preset editing format. The resource is sent to the first application; or the second sharing unit is configured to send the resource and the resource format parsing file to the first application, where the resource format parsing file is used to parse the resource; or, the third The sharing unit is configured to download the resource format parsing file, parse the resource according to the resource format parsing file, and send the parsed resource to the first application. With the preferred structure, the above device can smoothly interact with the application to ensure resource sharing between applications. In addition, in the actual application process, the user can independently select the resources to be shared according to the actual situation, or can choose to cancel the sharing of some resources. That is, the foregoing apparatus may further include: a cancel requesting module, configured to receive a cancel sharing request sent by the user terminal; wherein the cancel sharing request is used to cancel sharing the resources shared by the user end. There are various ways to implement the implementation of this embodiment, for example, implementing a function of "I share" or an application on a mobile phone to implement resource sharing between applications, and of course, the function or application of "I share" may be passed through a server or Base station, etc. to achieve. From the above description, it can be seen that the embodiment of the present invention sets a function or an application similar to "I share" to realize resource sharing between applications, thereby solving the practical problems encountered by the user in use, and greatly simplifying The user's operation makes it easier for the user to operate the terminal and obtain information, making the terminal more user-friendly. While the preferred embodiments of the present invention have been disclosed for purposes of illustration, those skilled in the art will recognize that various modifications, additions and substitutions are possible, and the scope of the invention should not be limited to the embodiments described above.

Claims

权 利 要 求 书 、 一种资源共享方法, 包括: A claim for rights, a method of resource sharing, including:
接收用户端发送的资源共享请求; 其中, 所述资源共享请求用于指示第一 应用预共享属于第二应用的资源;  Receiving a resource sharing request sent by the user terminal, where the resource sharing request is used to indicate that the first application pre-shares resources belonging to the second application;
获取所述第二应用的资源;  Obtaining resources of the second application;
将所述第二应用的资源共享给所述第一应用。 、 如权利要求 1所述的方法, 其中, 获取所述第二应用的资源包括:  Sharing the resources of the second application to the first application. The method of claim 1, wherein acquiring resources of the second application comprises:
获取可提供共享资源的各个应用的可共享资源;  Get sharable resources for individual apps that provide shared resources;
在所述可共享资源中查找是否存在所述第二应用的资源;  Finding, in the sharable resource, whether a resource of the second application exists;
如果存在,则从所述可共享资源中获取所述第二应用的资源;如果不存在, 则向所述第二应用获取所述资源。 、 如权利要求 2所述的方法, 其中, 获取可提供共享资源的各个应用的所述可共 享资源包括:  If yes, the resource of the second application is obtained from the sharable resource; if not, the resource is obtained from the second application. The method of claim 2, wherein the obtaining the shareable resources of each application that can provide the shared resource comprises:
依次查询并获取各个应用的所述可共享资源; 或者,  Querying and obtaining the sharable resources of each application in turn; or
接收应用发送的通知消息; 其中, 所述通知消息用于通知所述应用中可共 享的资源; 根据所述通知消息向所述应用获取该资源。 、 如权利要求 1至 3中任一项所述的方法, 其中, 将所述第二应用的资源共享给 所述第一应用包括:  Receiving a notification message sent by the application, where the notification message is used to notify a resource that is shareable in the application; and acquiring the resource according to the notification message to the application. The method according to any one of claims 1 to 3, wherein sharing the resource of the second application to the first application comprises:
按照预设的编辑格式将所述资源发送给所述第一应用; 或者,  Sending the resource to the first application according to a preset editing format; or
将所述资源以及资源格式解析文件, 发送给所述第一应用; 其中, 所述资 源格式解析文件用于解析所述资源; 或者,  Transmitting the resource and the resource format parsing file to the first application; where the resource format parsing file is used to parse the resource; or
从网上下载预存的资源格式解析文件, 根据所述资源格式解析文件对所述 资源进行解析, 将解析后的资源发送给所述第一应用。 、 如权利要求 1至 3中任一项所述的方法, 其中, 还包括: 接收用户端发送的取消共享请求; 其中, 所述取消共享请求用于取消共享 所述用户端已共享的资源。 、 一种资源共享装置, 包括: The pre-stored resource format parsing file is downloaded from the network, the resource is parsed according to the resource format parsing file, and the parsed resource is sent to the first application. The method according to any one of claims 1 to 3, further comprising: receiving a cancel sharing request sent by the client; wherein the cancel sharing request is used to cancel sharing the resources shared by the client. , a resource sharing device, comprising:
请求接收模块, 设置为接收用户端发送的资源共享请求; 其中, 所述资源 共享请求用于指示第一应用预共享属于第二应用的资源;  The request receiving module is configured to receive a resource sharing request sent by the user terminal, where the resource sharing request is used to indicate that the first application pre-shares resources belonging to the second application;
资源获取模块, 设置为获取所述第二应用的资源;  a resource obtaining module, configured to acquire resources of the second application;
资源共享模块, 设置为将所述第二应用的资源共享给所述第一应用。 、 如权利要求 6所述的装置, 其中, 所述资源获取模块包括:  The resource sharing module is configured to share resources of the second application to the first application. The device of claim 6, wherein the resource acquisition module comprises:
可共享资源获取单元, 设置为获取可提供共享资源的各个应用的可共享资 源;  a sharable resource acquisition unit configured to obtain sharable resources of respective applications that can provide shared resources;
资源查找单元, 设置为在所述可共享资源中查找是否存在所述第二应用的 资源;  a resource searching unit, configured to search for, in the sharable resource, whether a resource of the second application exists;
第一获取单元, 设置为在所述资源查找单元的查找结果为存在的情况下, 从所述可共享资源中获取所述第二应用的资源;  a first obtaining unit, configured to acquire a resource of the second application from the sharable resource if a search result of the resource searching unit is present;
第二获取单元,设置为在所述资源查找单元的查找结果为不存在的情况下, 向所述第二应用获取所述资源。 、 如权利要求 7所述的装置, 其中, 所述可共享资源获取单元包括:  The second obtaining unit is configured to acquire the resource to the second application if the search result of the resource searching unit is not present. The device according to claim 7, wherein the sharable resource acquiring unit comprises:
第三获取子单元, 设置为依次查询并获取各个应用的所述可共享资源; 或 者,  a third obtaining subunit, configured to sequentially query and obtain the sharable resources of each application; or
第四获取子单元, 设置为接收应用发送的通知消息; 其中, 所述通知消息 用于通知所述应用中可共享的资源;根据所述通知消息向所述应用获取该资源。 、 如权利要求 6至 8中任一项所述的装置, 其中, 所述资源共享模块包括:  And a fourth obtaining sub-unit, configured to receive a notification message sent by the application, where the notification message is used to notify a resource that is sharable in the application; and the resource is obtained from the application according to the notification message. The device according to any one of claims 6 to 8, wherein the resource sharing module comprises:
第一共享单元, 设置为按照预设的编辑格式将所述资源发送给所述第一应 用; 或者,  a first sharing unit, configured to send the resource to the first application according to a preset editing format; or
第二共享单元, 设置为将所述资源以及资源格式解析文件, 发送给所述第 一应用; 其中, 所述资源格式解析文件用于解析所述资源; 或者,  a second sharing unit, configured to send the resource and the resource format parsing file to the first application, where the resource format parsing file is used to parse the resource; or
第三共享单元, 设置为从网上下载预存的资源格式解析文件, 根据所述资 源格式解析文件对所述资源进行解析, 将解析后的资源发送给所述第一应用。 、 如权利要求 6至 7中任一项所述的装置, 其中, 所述装置还包括: 取消请求模块, 设置为接收用户端发送的取消共享请求; 其中, 所述取消 共享请求用于取消共享所述用户端已共享的资源。 The third sharing unit is configured to download the pre-stored resource format parsing file from the network, parse the resource according to the resource format parsing file, and send the parsed resource to the first application. The device according to any one of claims 6 to 7, wherein the device further comprises: The cancel request module is configured to receive a cancel sharing request sent by the client, where the cancel sharing request is used to cancel sharing the resources shared by the client.
PCT/CN2013/081328 2013-01-10 2013-08-12 Resource sharing method and device WO2014107956A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310009104.4A CN103929442A (en) 2013-01-10 2013-01-10 Resource sharing method and device
CN201310009104.4 2013-01-10

Publications (1)

Publication Number Publication Date
WO2014107956A1 true WO2014107956A1 (en) 2014-07-17

Family

ID=51147519

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/081328 WO2014107956A1 (en) 2013-01-10 2013-08-12 Resource sharing method and device

Country Status (2)

Country Link
CN (1) CN103929442A (en)
WO (1) WO2014107956A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112087670B (en) * 2020-09-15 2022-02-15 广州趣丸网络科技有限公司 CP (provider) microphone frame display method and system for multi-microphone room
CN114416702B (en) * 2022-04-01 2022-08-05 杭州筋斗腾云科技有限公司 Resource management method and computing system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1251450A (en) * 1998-10-21 2000-04-26 国际商业机器公司 Method of shearing data between multiple applied programmes of handheld device
CN1670704A (en) * 2004-03-18 2005-09-21 诺基亚有限公司 Method and system for centralized copy/paste functionality
US20070006089A1 (en) * 2005-06-29 2007-01-04 Bea Systems, Inc. System and method for sharing resources between web applications
CN101647010A (en) * 2007-03-30 2010-02-10 微软公司 Techniques to share information between application programs

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102195957B (en) * 2010-03-19 2014-03-05 华为技术有限公司 Resource sharing method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1251450A (en) * 1998-10-21 2000-04-26 国际商业机器公司 Method of shearing data between multiple applied programmes of handheld device
CN1670704A (en) * 2004-03-18 2005-09-21 诺基亚有限公司 Method and system for centralized copy/paste functionality
US20070006089A1 (en) * 2005-06-29 2007-01-04 Bea Systems, Inc. System and method for sharing resources between web applications
CN101647010A (en) * 2007-03-30 2010-02-10 微软公司 Techniques to share information between application programs

Also Published As

Publication number Publication date
CN103929442A (en) 2014-07-16

Similar Documents

Publication Publication Date Title
CN106797392B (en) Publication and discovery of M2M-IOT services
US20230199079A1 (en) Systems and methods for enabling access to third party services via a service layer
KR102046700B1 (en) Message bus service directory
EP2438745B1 (en) Systems and methods for creating virtual universal plug-and-play systems
US8543646B2 (en) Subscriber device and subscription management that supports real-time communication
EP2807868B1 (en) Method and apparatus for automatic service discovery and connectivity
US20140047322A1 (en) Method and system for browsing things of internet of things on ip using web platform
WO2013127145A1 (en) Operation method for group resources and group server
EP2875442B1 (en) Systems and methods for facilitating service provision between applications
JP2016520234A (en) Method and apparatus for displaying search results on portable terminal
US20120014321A1 (en) Messaging activity feed
KR20110088274A (en) Apparatus for providing terminal web service and method thereof
CA2604900C (en) System and method for discovering wireless mobile applications
CN108370500B (en) Optimized settings for wireless devices
WO2014107956A1 (en) Resource sharing method and device
JP2004015692A (en) Method and system for sharing/processing status information between communication applications
WO2009062396A1 (en) Resource access method and resource access system
Paniagua Discovery and push notification mechanisms for mobile cloud services
CN101436974B (en) Service interface method for sharing/using WiMAX information between WiMAX and Web network
CN113420001B (en) Data sharing method and edge computing device
Delicato et al. Smartsensor: An infrastructure for the web of things
JP2005339149A (en) Data processor, data processing method and data processing program
WO2011130871A1 (en) Method and system for automatically customizing web applications in unsolicited manner
JP2014209341A (en) Ensemble computing

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

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

Country of ref document: EP

Kind code of ref document: A1