[go: up one dir, main page]

CN104023073A - Resource pushing method, system and device - Google Patents

Resource pushing method, system and device Download PDF

Info

Publication number
CN104023073A
CN104023073A CN201410265988.4A CN201410265988A CN104023073A CN 104023073 A CN104023073 A CN 104023073A CN 201410265988 A CN201410265988 A CN 201410265988A CN 104023073 A CN104023073 A CN 104023073A
Authority
CN
China
Prior art keywords
mobile terminal
client
resource
light application
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410265988.4A
Other languages
Chinese (zh)
Inventor
张龙
李佳珊
陈擎月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410265988.4A priority Critical patent/CN104023073A/en
Publication of CN104023073A publication Critical patent/CN104023073A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明提供一种资源的推送方法、系统及装置,用于网络资源的浪费,简化操作过程,提高用户使用效率,该方法包括:PC客户端接收用户发送资源推送请求,根据所述资源推送请求,确定该资源推送请求对应的资源的属性信息,将该资源的属性信息推送到与其连接的移动终端客户端,使移动终端的客户端下载所述资源。由于在本发明实施例中当PC客户端接收到用户发送的资源推送请求时,获取该资源的属性信息,将该资源的属性信息推送给移动终端的客户端,使移动终端的客户端下载该资源,从而实现移动终端的免检索而直接展示资源,并实现了资源通过PC直接推送到移动终端的方案,免除了用户的检索操作,提高了用户使用资源的效率。

The present invention provides a method, system and device for pushing resources, which are used to waste network resources, simplify the operation process, and improve user efficiency. The method includes: a PC client receives a resource push request sent by a user, and according to the resource push request Determine the attribute information of the resource corresponding to the resource push request, and push the attribute information of the resource to the mobile terminal client connected to it, so that the client terminal of the mobile terminal downloads the resource. Because in the embodiment of the present invention, when the PC client receives the resource push request sent by the user, it obtains the attribute information of the resource, pushes the attribute information of the resource to the client of the mobile terminal, and makes the client of the mobile terminal download the resource. Resources, so as to realize the direct display of resources without searching by mobile terminals, and realize the solution that resources are directly pushed to mobile terminals through PC, which eliminates the user's search operation and improves the efficiency of users' use of resources.

Description

一种资源的推送方法、系统及装置Method, system and device for pushing resources

技术领域technical field

本发明涉及互联网技术领域,尤其涉及一种资源的推送方法、系统及装置。The present invention relates to the technical field of the Internet, in particular to a method, system and device for pushing resources.

背景技术Background technique

轻应用(Light App,LAPP)是一种无需下载,即搜即用的全功能APP,并且具有破壳检索,智能分发的特点。轻应用既有媲美甚至超越native app的用户体验,又具备webapp的可被检索与智能分发的特性,将有效解决优质应用和服务与用户需求对接的问题。Light App (LAPP) is a full-featured APP that can be searched and used without downloading, and has the characteristics of broken shell retrieval and intelligent distribution. The light application not only has a user experience comparable to or even surpasses that of a native app, but also has the characteristics of being searchable and intelligently distributed like a webapp, which will effectively solve the problem of connecting high-quality applications and services with user needs.

用户通过PC搜索轻应用时该轻应用被调用展示,用户经过体验后如果还想将该轻应用在移动终端上展示,用户需要在移动终端上进行同样的操作,才能在移动终端上展示该轻应用。该方法浪费用户的流量,并且操作繁琐,影响轻应用的使用效率。另外,现有技术中针对其他资源,PC也不能直接向移动终端推送,影响了用户的体验。When the user searches for the light application through the PC, the light application is called and displayed. If the user wants to display the light application on the mobile terminal after the experience, the user needs to perform the same operation on the mobile terminal to display the light application on the mobile terminal. application. This method wastes user traffic, and the operation is cumbersome, which affects the use efficiency of light applications. In addition, in the prior art, the PC cannot directly push other resources to the mobile terminal, which affects user experience.

发明内容Contents of the invention

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的一种资源的推送方法、系统及装置。In view of the above problems, the present invention is proposed to provide a method, system and device for pushing resources that overcome the above problems or at least partially solve the above problems.

本发明实施例提供了一种资源的推送方法,该方法包括:An embodiment of the present invention provides a method for pushing resources, the method including:

PC客户端接收用户发送的资源推送请求;The PC client receives the resource push request sent by the user;

根据所述资源推送请求,确定该资源推送请求对应的资源的属性信息;According to the resource push request, determine the attribute information of the resource corresponding to the resource push request;

将所述资源的属性信息推送到与其连接的移动终端的客户端,使所述移动终端的客户端下载所述资源。Pushing the attribute information of the resource to the client of the mobile terminal connected thereto, so that the client of the mobile terminal downloads the resource.

进一步地,所述确定该资源推送请求对应的资源的属性信息包括:Further, the determining the attribute information of the resource corresponding to the resource push request includes:

当所述资源为轻应用资源时,所述PC客户端确定所述轻应用所在网页,将所述网页转换为移动终端适用的版本,其中该版本中包括:所述轻应用的ID、名称、图标ICON、所在的统一资源定位符URL中的一种或几种轻应用的属性信息;When the resource is a light application resource, the PC client determines the webpage where the light application is located, and converts the webpage into a version suitable for mobile terminals, where the version includes: the light application ID, name, The attribute information of one or more light applications in the icon ICON and the uniform resource locator URL where it is located;

当所述资源为轻应用之外的其他资源时,所述PC客户端确定所述的下载地址信息。When the resource is other than the light application, the PC client determines the download address information.

进一步地,所述将所述资源的属性信息推送到与其连接的移动终端的客户端包括:Further, the client that pushes the attribute information of the resource to the mobile terminal connected thereto includes:

当所述资源为轻应用资源,移动终端与PC之间为云连接时,所述PC客户端将所述资源的属性信息发送到应用服务器;应用服务器通知PUSH服务器与移动终端建立长连接通知所述移动终端,移动终端的客户端从应用服务器获取资源的属性信息;When the resource is a light application resource, and the mobile terminal and the PC are connected to the cloud, the PC client sends the attribute information of the resource to the application server; the application server notifies the PUSH server to establish a long connection with the mobile terminal and notifies the Referring to the mobile terminal, the client of the mobile terminal obtains the attribute information of the resource from the application server;

当所述资源为轻应用之外的其他资源,移动终端与PC之间为云连接时,所述PC客户端将所述资源上传到应用服务器,并获取所述资源在所述应用服务器的存放链接地址信息,并将所述资源的存放链接地址信息发送给所述移动终端的客户端;When the resources are resources other than light applications, and the mobile terminal and the PC are connected to the cloud, the PC client uploads the resources to the application server, and obtains the storage of the resources in the application server link address information, and send the storage link address information of the resource to the client of the mobile terminal;

当移动终端与PC之间为wifi连接或USB连接时,所述PC客户端直接将所述资源的属性信息发送到所述移动终端的客户端。When the mobile terminal is connected to the PC through wifi or USB, the PC client directly sends the attribute information of the resource to the client of the mobile terminal.

进一步地,所述PC客户端接收用户发送的请求之前,所述方法还包括:Further, before the PC client receives the request sent by the user, the method further includes:

PC客户端向应用服务器发起建立无线连接的请求,应用服务器通过PUSH服务器与移动终端之间建立的长连接,将该请求发送到移动终端;The PC client initiates a request for establishing a wireless connection to the application server, and the application server sends the request to the mobile terminal through the long connection established between the PUSH server and the mobile terminal;

应用服务器接收移动终端的接收该请求的响应信息,并通过PUSH服务器将该响应信息返回PC客户端。The application server receives the response information of receiving the request from the mobile terminal, and returns the response information to the PC client through the PUSH server.

进一步地,所述方法还包括:Further, the method also includes:

移动终端接收PC客户端发送的wifi连接请求,判断当前是否存在wifi连接下;The mobile terminal receives the wifi connection request sent by the PC client, and judges whether there is currently a wifi connection;

当当前处于wifi连接下时,所述移动终端在本地建立server端,并将验证码及自身的IP信息发送到PC;When currently under the wifi connection, the mobile terminal locally establishes a server end, and sends the verification code and its own IP information to the PC;

PC在本地创建client端,并根据接收到的移动终端发送的IP信息,与所述移动终端的server端建立连接,采用接收到的验证码与所述移动终端进行验证,并在验证通过后与所述移动终端建立wifi连接。The PC creates a client locally, and establishes a connection with the server of the mobile terminal according to the received IP information sent by the mobile terminal, uses the received verification code to verify with the mobile terminal, and communicates with the mobile terminal after passing the verification. The mobile terminal establishes a wifi connection.

进一步地,移动终端的客户端下载所述资源之前,所述方法还包括:Further, before the client of the mobile terminal downloads the resource, the method further includes:

当所述资源为轻应用资源时,所述PC客户端接收与其连接的移动终端的客户端发送的轻应用接受请求,其中所述轻应用接受请求中携带被接受的轻应用的ID或统一资源定位符URL信息;When the resource is a light application resource, the PC client receives the light application acceptance request sent by the client of the mobile terminal connected to it, wherein the light application acceptance request carries the accepted light application ID or uniform resource Locator URL information;

所述PC客户端根据所述轻应用接受请求中携带的信息,对所述轻应用接受请求进行验证;The PC client verifies the light application acceptance request according to the information carried in the light application acceptance request;

当验证通过时,通知所述移动终端的客户端根据所述轻应用的信息创建所述轻应用。When the verification is passed, the client of the mobile terminal is notified to create the web application according to the information of the web application.

进一步地,所述通知所述移动终端的客户端根据所述轻应用的信息创建所述轻应用包括:Further, the notifying the client of the mobile terminal to create the light application according to the information of the light application includes:

所述PC客户端检测所述移动终端的客户端的版本是否满足所述轻应用的创建条件;The PC client detects whether the client version of the mobile terminal satisfies the creation condition of the light application;

当满足时,通知所述移动终端的客户端根据所述轻应用的信息创建所述轻应用。When satisfied, notify the client of the mobile terminal to create the web application according to the information of the web application.

进一步地,当不满足时,所述方法还包括:Further, when not satisfied, the method also includes:

PC客户端判断当前与所述移动终端的连接状态;The PC client judges the current connection status with the mobile terminal;

当与所述移动终端通过USB连接时,升级所述移动终端的客户端并创建所述轻应用;When connecting with the mobile terminal via USB, upgrade the client of the mobile terminal and create the light application;

当与所述移动终端通过wifi或云连接时,提示所述移动终端的用户与所述PC通过USB连接。When connecting with the mobile terminal via wifi or cloud, prompt the user of the mobile terminal to connect with the PC via USB.

本发明实施例提供了一种资源的推送装置,所述装置包括:An embodiment of the present invention provides a device for pushing resources, and the device includes:

接收请求模块,用于接收用户发送的资源推送请求;The receiving request module is used to receive the resource push request sent by the user;

确定模块,用于根据所述资源推送请求,确定该资源推送请求对应的资源的属性信息;A determining module, configured to determine attribute information of resources corresponding to the resource push request according to the resource push request;

推送模块,用于将所述资源的属性信息推送到与其连接的移动终端的客户端,使所述移动终端的客户端下载所述资源。A push module, configured to push the attribute information of the resource to the client of the mobile terminal connected to it, so that the client of the mobile terminal downloads the resource.

进一步地,所述确定模块,具体用于当所述资源为轻应用资源时,确定所述轻应用所在网页,将所述网页转换为移动终端适用的版本,其中该版本中包括:所述轻应用的ID、名称、图标ICON、所在的统一资源定位符URL中的一种或几种轻应用的属性信息;当所述资源为轻应用之外的其他资源时,所述PC客户端确定所述资源的下载地址信息。Further, the determination module is specifically configured to determine the webpage where the light application is located when the resource is a light application resource, and convert the webpage into a version suitable for mobile terminals, wherein the version includes: the light application The attribute information of one or several light applications in the ID, name, icon ICON, and URL of the application; when the resource is other than the light application, the PC client determines the The download address information of the above resources.

进一步地,所述推送模块,具体用于当推送的资源为轻应用资源,与移动终端间于云连接时,将该资源的属性信息发送到应用服务器;当推送的资源轻应用之外的其他资源,与移动终端间于云连接时,将所述资源上传到应用服务器;将接收请求模块获取的资源的存放链接地址信息发送给所述移动终端的客户端;当与移动终端间为wifi连接或USB连接时,直接将所述资源的属性信息发送到所述移动终端的客户端。Further, the push module is specifically configured to send attribute information of the resource to the application server when the pushed resource is a light application resource and is connected to the cloud with the mobile terminal; Resources, when connecting with the mobile terminal in the cloud, upload the resources to the application server; send the storage link address information of the resources obtained by the receiving request module to the client of the mobile terminal; when connecting with the mobile terminal through wifi or USB connection, directly send the attribute information of the resource to the client of the mobile terminal.

所述接收请求模块,还用于获取所述资源在所述应用服务器的存放链接地址信息。The receiving request module is further configured to acquire link address information of the resources stored in the application server.

进一步地,所述装置还包括:Further, the device also includes:

发送模块,用于向应用服务器发起建立无线连接的请求;A sending module, configured to initiate a request for establishing a wireless connection to the application server;

所述接收请求模块,还用于接收PUSH服务器返回的移动终端的响应信息。The receiving request module is also used for receiving the response information of the mobile terminal returned by the PUSH server.

进一步地,所述发送模块,还用于向移动终端发送wifi连接请求;Further, the sending module is also used to send a wifi connection request to the mobile terminal;

所述接收请求模块,还用于接收移动终端发送的验证码及自身的IP信息;The receiving request module is also used to receive the verification code sent by the mobile terminal and its own IP information;

所述装置还包括:The device also includes:

连接模块,用于在本地创建client端,并根据接收到的移动终端发送的IP信息,与所述移动终端的server端建立连接,采用接收到的验证码与所述移动终端进行验证,并在验证通过后与所述移动终端建立wifi连接。A connection module, configured to create a client locally, and establish a connection with the server of the mobile terminal according to the received IP information sent by the mobile terminal, and verify with the mobile terminal using the received verification code, and After the verification is passed, a wifi connection is established with the mobile terminal.

进一步地,所述接收请求模块,还用于接收与其连接的移动终端发送的轻应用接受请求,其中所述轻应用接受请求中携带被接受的轻应用的ID或统一资源定位符URL信息;Further, the receiving request module is also configured to receive a light application acceptance request sent by a mobile terminal connected to it, wherein the light application acceptance request carries the ID or URL information of the accepted light application;

所述装置还包括:The device also includes:

校验模块,用于根据所述轻应用接受请求中携带的信息,对所述轻应用接受请求进行验证;当验证通过时,通知所述移动终端的客户端根据所述轻应用的信息创建所述轻应用。The verification module is configured to verify the light application acceptance request according to the information carried in the light application acceptance request; when the verification is passed, notify the client of the mobile terminal to create the light application according to the information of the light application. light application.

进一步地,所述校验模块,具体用于检测所述移动终端的客户端的版本是否满足所述轻应用的创建条件;当满足时,通知所述移动终端的客户端根据所述轻应用的信息创建所述轻应用。Further, the verification module is specifically used to detect whether the version of the client of the mobile terminal satisfies the creation condition of the light application; when it is satisfied, notify the client of the mobile terminal to The light application is created.

进一步地,所述校验模块,还用于检测所述移动终端的客户端的版本不满足所述轻应用的创建条件时,判断当前与所述移动终端的连接状态;当与所述移动终端通过USB连接时,升级所述移动终端的客户端并创建所述轻应用;当与所述移动终端通过wifi或云连接时,提示所述移动终端的用户与所述PC通过USB连接。Further, the verification module is also used to determine the current connection status with the mobile terminal when the client version of the mobile terminal does not meet the creation conditions of the light application; When connecting via USB, upgrade the client of the mobile terminal and create the light application; when connecting with the mobile terminal via wifi or cloud, prompt the user of the mobile terminal to connect with the PC via USB.

本发明实施例提供了一种资源的推送系统,所述系统包括:上述所述的装置,及接收所述装置推送的资源的属性信息的移动终端的客户端。An embodiment of the present invention provides a system for pushing resources, and the system includes: the above-mentioned device, and a client of a mobile terminal that receives attribute information of resources pushed by the device.

本发明实施例提供了一种资源的推送方法、系统及装置,该方法包括:PC客户端接收用户发送资源推送请求,根据所述资源推送请求,确定该资源推送请求对应的资源的属性信息,将该资源的属性信息推送到与其连接的移动终端客户端,使移动终端的客户端下载所述资源。由于在本发明实施例中当PC客户端接收到用户发送的资源推送请求时,获取该资源的属性信息,将该资源的属性信息推送给移动终端的客户端,使移动终端的客户端下载该资源,从而实现移动终端的免检索而直接展示资源,并实现了资源通过PC直接推送到移动终端的方案,免除了用户的检索操作,提高了用户使用资源的效率。Embodiments of the present invention provide a resource push method, system, and device. The method includes: a PC client receives a resource push request sent by a user, and determines the attribute information of the resource corresponding to the resource push request according to the resource push request, The attribute information of the resource is pushed to the connected mobile terminal client, so that the mobile terminal client downloads the resource. Because in the embodiment of the present invention, when the PC client receives the resource push request sent by the user, it obtains the attribute information of the resource, pushes the attribute information of the resource to the client of the mobile terminal, and makes the client of the mobile terminal download the resource. Resources, so as to realize the direct display of resources without searching by mobile terminals, and realize the solution that resources are directly pushed to mobile terminals through PCs, which eliminates the user's search operation and improves the efficiency of users' use of resources.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same components. In the attached picture:

图1为本发明实施例提供的一种资源的推送过程图;FIG. 1 is a resource push process diagram provided by an embodiment of the present invention;

图2为本发明实施例提供的PC与移动终端间建立云连接的过程图;FIG. 2 is a process diagram of establishing a cloud connection between a PC and a mobile terminal provided by an embodiment of the present invention;

图3为本发明实施例一提供的一种轻应用的推送过程示意图;FIG. 3 is a schematic diagram of a light application push process provided by Embodiment 1 of the present invention;

图4A为本发明实施例二提供的一种文件资源的推送过程示意图;FIG. 4A is a schematic diagram of a file resource pushing process provided by Embodiment 2 of the present invention;

图4B为本发明实施例提供的在移动终端上显示的需用户进行确认的示意图;FIG. 4B is a schematic diagram displayed on a mobile terminal that requires user confirmation according to an embodiment of the present invention;

图4C为本发明实施例提供的在移动终端上弹出的确认框示意图;FIG. 4C is a schematic diagram of a pop-up confirmation box on a mobile terminal provided by an embodiment of the present invention;

图5为本发明实施例提供的PC与移动终端的连接方式的转换过程图;5 is a conversion process diagram of a connection mode between a PC and a mobile terminal provided by an embodiment of the present invention;

图6为本发明实施例三提供的一种轻应用的推送过程图;FIG. 6 is a push process diagram of a light application provided by Embodiment 3 of the present invention;

图7A为本发明实施例四提供的一种轻应用的推送过程图Fig. 7A is a push process diagram of a light application provided by Embodiment 4 of the present invention

图7B为本发明实施例提供的轻应用的具体推送过程示意图;FIG. 7B is a schematic diagram of a specific pushing process of a light application provided by an embodiment of the present invention;

图8为本发明实施例提供的一种资源的推送装置结构示意图;FIG. 8 is a schematic structural diagram of a device for pushing resources provided by an embodiment of the present invention;

图9为本发明实施例提供的一种资源推送系统结构示意图。FIG. 9 is a schematic structural diagram of a resource pushing system provided by an embodiment of the present invention.

具体实施方式Detailed ways

为了网络资源的浪费,简化操作过程,提高用户使用各种资源的效率,本发明实施例提供了一种资源的推送方法、系统及装置。In order to waste network resources, simplify the operation process, and improve the efficiency of users using various resources, the embodiments of the present invention provide a method, system, and device for pushing resources.

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

下面结合说明附图,对本发明实施例进行说明。Embodiments of the present invention will be described below in conjunction with the accompanying drawings.

图1为本发明实施例提供的一种资源的推送过程图,该过程包括以下步骤:Fig. 1 is a resource push process diagram provided by an embodiment of the present invention, the process includes the following steps:

S101:PC客户端接收用户发送的资源推送请求。S101: The PC client receives a resource push request sent by a user.

在本发明实施例中该资源包括轻应用资源、文件资源、音乐资源、视频资源、图片资源等等。In the embodiment of the present invention, the resources include light application resources, file resources, music resources, video resources, picture resources and so on.

PC客户端启动后,当用户通过PC客户端浏览网页时,根据该网页对应的轻应用,PC客户端获取用户发送与该网页浏览对应的轻应用推送请求。其中,用户在发送资源推送请求时,可以是用户根据PC客户端提供的网页的图标点击相应网页的图标后发送的资源推送请求,也可以是通过在PC客户端中搜索相应内容后,根据PC客户端提供的搜索结果,PC客户端确定的对应的该资源推送请求。After the PC client is started, when the user browses a webpage through the PC client, according to the light application corresponding to the webpage, the PC client obtains the light application push request sent by the user corresponding to the webpage browsing. Wherein, when the user sends the resource push request, it may be a resource push request sent after the user clicks the icon of the corresponding webpage according to the icon of the webpage provided by the PC client, or it may be a resource push request sent by the user after searching the corresponding content in the PC client, according to the PC The search results provided by the client, and the corresponding resource push request determined by the PC client.

在本发明实施例中可以针对每个网页都保存该网页对应的轻应用,每个网页对应的轻应用可以相同,也可以不同。另外每个网页对应的轻应用的类型可以与该网页的类型相同,也可以不同。例如针团购网页其对应的轻应用可以是团购轻应用,也可以是其他轻应用,对于彩票网页其对应的轻应用可以是彩票轻应用,也可以是团购轻应用等其他轻应用。In the embodiment of the present invention, the light application corresponding to the webpage may be stored for each webpage, and the light application corresponding to each webpage may be the same or different. In addition, the type of the light application corresponding to each webpage may be the same as the type of the webpage, or may be different. For example, the light application corresponding to the group purchase webpage may be a group purchase light application or other light applications, and the corresponding light application for the lottery page may be a lottery light application, or other light applications such as a group purchase light application.

当该资源为轻应用之外的其他资源时,PC客户端接收用户发送的资源推送请求,对该资源进行加密,生成加密后的资源。When the resource is other than the light application, the PC client receives the resource push request sent by the user, encrypts the resource, and generates an encrypted resource.

S102:根据所述资源推送请求,确定该资源推送请求对应的资源的属性信息。S102: According to the resource push request, determine the attribute information of the resource corresponding to the resource push request.

具体的,在本发明实施例中确定该资源推送请求对应的资源的属性信息包括:Specifically, in this embodiment of the present invention, determining the attribute information of the resource corresponding to the resource push request includes:

当所述资源为轻应用资源时,所述PC客户端确定所述轻应用所在网页,将所述网页转换为移动终端适用的版本,其中该版本中包括:所述轻应用的ID、名称、图标ICON、所在的统一资源定位符URL中的一种或几种轻应用的属性信息;When the resource is a light application resource, the PC client determines the webpage where the light application is located, and converts the webpage into a version suitable for mobile terminals, where the version includes: the light application ID, name, The attribute information of one or more light applications in the icon ICON and the uniform resource locator URL where it is located;

当所述资源为轻应用之外的其他资源时,所述PC客户端确定所述资源的下载地址信息。When the resource is other than the light application, the PC client determines the download address information of the resource.

S103:将所述资源的属性信息推送到与其连接的移动终端的客户端,使移动终端的客户端下载所述资源。S103: Push the attribute information of the resource to the client of the mobile terminal connected thereto, so that the client of the mobile terminal downloads the resource.

PC客户端确定了资源的属性信息后,将该资源的属性信息推送到与其连接的移动终端的客户端,使该客户端根据该资源的属性信息下载相应的资源。After the PC client determines the attribute information of the resource, it pushes the attribute information of the resource to the client of the mobile terminal connected to it, so that the client downloads the corresponding resource according to the attribute information of the resource.

由于在本发明实施例中当PC客户端接收到用户发送的资源推送请求时,获取该资源的属性信息,将该资源的属性信息推送给移动终端的客户端,使移动终端的客户端下载该资源,从而实现移动终端的免检索而直接展示资源,并实现了资源通过PC直接推送到移动终端的方案,免除了用户的检索操作,提高了用户使用资源的效率。Because in the embodiment of the present invention, when the PC client receives the resource push request sent by the user, it obtains the attribute information of the resource, pushes the attribute information of the resource to the client of the mobile terminal, and makes the client of the mobile terminal download the resource. Resources, so as to realize the direct display of resources without searching by mobile terminals, and realize the solution that resources are directly pushed to mobile terminals through PCs, which eliminates the user's search operation and improves the efficiency of users' use of resources.

在本发明实施例中当该资源为轻应用资源时,PC客户端接收到用户发送的网页浏览请求,并请求相应网页后,根据保存的该网页对应的轻应用,确定该轻应用的属性信息。具体的该PC客户端确定该轻应用所在的网页,为了便于在移动终端上显示该轻应用,PC客户端可以将该网页转换为移动终端适用的版本,其中该版本中包括:所述轻应用的ID、名称、图标ICON、所在的统一资源定位符URL中的一种或几种轻应用的属性信息。PC客户端将该网页转换为移动终端使用的版本属于现有技术,在本发明实施例中对该转换的过程就不进行限定。In the embodiment of the present invention, when the resource is a light application resource, the PC client receives the webpage browsing request sent by the user, and after requesting the corresponding webpage, determines the attribute information of the light application according to the saved light application corresponding to the webpage . Specifically, the PC client determines the webpage where the light application is located. In order to display the light application on the mobile terminal, the PC client can convert the webpage into a version suitable for the mobile terminal, wherein the version includes: the light application One or more attribute information of the light application in the ID, name, icon ICON, and URL of the uniform resource locator where it is located. The conversion of the webpage by the PC client into the version used by the mobile terminal belongs to the prior art, and the conversion process is not limited in the embodiment of the present invention.

另外,服务器可以预先将每个轻应用所在的网页转换为移动终端使用的版本,当PC客户端确定了该轻应用所在的网页后,向服务器请求该网页,服务器将转换后的移动终端使用的版本发送给PC客户端,PC客户端再将该网页提供给移动终端。In addition, the server can pre-convert the webpage where each light application is located into the version used by the mobile terminal. When the PC client determines the webpage where the light application is located, it requests the webpage from the server, and the server converts the converted webpage used by the mobile terminal. The version is sent to the PC client, and the PC client provides the webpage to the mobile terminal.

具体的,该PC客户端提供的该网页的信息可以为该网页的URL信息,在该URL信息中包含有轻应用的ID、轻应用的名称name,轻应用的图标ICON,轻应用的类型type,轻应用的类型为lightapp,在该网页中可以包含上述所有属性信息,也可以包含其中的一部分信息,为了准确的描述轻应用的属性信息,最好包含上述所有信息。Specifically, the information of the web page provided by the PC client may be the URL information of the web page, and the URL information includes the ID of the app, the name of the app, the icon ICON of the app, and the type of the app. , the type of the light app is lightapp, and the webpage may contain all the above attribute information, or may contain part of the information. In order to accurately describe the attribute information of the light app, it is better to include all the above information.

PC客户端在将资源的属性信息推送到与其连接的移动终端客户端时,可以通过云连接的方式将该资源的属性信息推送到与其连接的移动终端的客户端,也可以通过wifi方式,或者也可以采用USB方式将该资源的属性信息推送到与其连接的移动终端的客户端。When the PC client pushes the attribute information of the resource to the mobile terminal client connected to it, it can push the attribute information of the resource to the client of the mobile terminal connected to it through the cloud connection, or through wifi, or The attribute information of the resource may also be pushed to the client of the mobile terminal connected to it by means of USB.

为了保证资源的属性信息的推送,在推送属性信息之前需要在PC客户端和移动终端的客户端之间建立连接。图2为本发明实施例提供的PC与移动终端间建立云连接的过程图,该过程包括以下步骤:In order to ensure the push of the attribute information of the resource, a connection needs to be established between the PC client and the client of the mobile terminal before pushing the attribute information. Fig. 2 is a process diagram of establishing a cloud connection between a PC and a mobile terminal provided by an embodiment of the present invention, and the process includes the following steps:

S201:PC向移动终端发起建立云连接的请求。S201: The PC initiates a request for establishing a cloud connection to the mobile terminal.

PC与移动终端之间的通信,以约定的json字符串格式。PC调用Message.pushdevice传送json字符串。The communication between the PC and the mobile terminal is in the agreed json string format. The PC calls Message.pushdevice to transmit the json string.

json格式为:{"p_id":"1235","p_ver":"1","func":"1006","func_type":"0","errno":"0","param":""};The json format is: {"p_id":"1235","p_ver":"1","func":"1006","func_type":"0","errno":"0","param":" "};

p_id:消息包id,来标识该请求,请求方PC设置这个id,应答方移动终端回复时应设置相同的id,来表示是回复哪个请求。尽量保证不同请求的p_id唯一;p_id: message packet id, to identify the request, the requester PC sets this id, and the responder mobile terminal should set the same id when replying, to indicate which request is replied. Try to ensure that the p_id of different requests is unique;

p_ver:版本;p_ver: version;

func:方法id,1006表示体检;func: method id, 1006 means physical examination;

func_type:方法类型,0表示发送,1表示应答;func_type: method type, 0 means send, 1 means reply;

errno:错误码,0表示成功,非0表示失败。errno: error code, 0 means success, non-zero means failure.

S202:应用服务器接收PC发送的建立云连接的请求,将该建立云连接的请求发送到PUSH服务器。S202: The application server receives the request for establishing the cloud connection sent by the PC, and sends the request for establishing the cloud connection to the PUSH server.

S203:PUSH服务器接收该建立云连接的请求,并通过长连接通知移动终端。S203: The PUSH server receives the request for establishing a cloud connection, and notifies the mobile terminal through a persistent connection.

S204:移动终端接收该请求进行处理,并将接收该请求的响应信息发送到应用服务器。S204: The mobile terminal receives and processes the request, and sends response information of receiving the request to the application server.

S205:应用服务器将该响应信息转发到PUSH服务器,PUSH服务器通过长连接通知PC,建立PC与移动终端间的云连接。S205: The application server forwards the response information to the PUSH server, and the PUSH server notifies the PC through the persistent connection to establish a cloud connection between the PC and the mobile terminal.

PC与移动终端间连接云连接后,PC可以将相应的资源通过云连接的方式发送到移动终端。图3为本发明实施例一提供的一种轻应用的推送过程示意图,该过程包括以下步骤:After the PC and the mobile terminal are connected to the cloud, the PC can send corresponding resources to the mobile terminal through the cloud connection. Fig. 3 is a schematic diagram of a light application push process provided by Embodiment 1 of the present invention, and the process includes the following steps:

S301:PC客户端接收用户发送的轻应用推送请求,并确定该轻应用推送请求对应的该轻应用的属性信息。S301: The PC client receives a web application push request sent by a user, and determines attribute information of the web application corresponding to the web application push request.

S302:PC客户端将确定的该轻应用的属性信息发送到应用服务器。S302: The PC client sends the determined attribute information of the light application to the application server.

具体的,PC调用Message.send以json字符串方式传递该轻应用的属性信息,包括该轻应用的ID、名称、图标ICON、所在的统一资源定位符URL中的一种或几种轻应用的属性信息。Specifically, the PC calls Message.send to transfer the attribute information of the light application in the form of a json string, including the ID, name, icon ICON, and URL of the light application, or one or more of the light application attribute information.

S303:应用服务器接收到该轻应用的属性信息后,将该轻应用的属性信息发送到PUSH服务器。S303: After receiving the attribute information of the light application, the application server sends the attribute information of the light application to the PUSH server.

S304:PUSH服务器通过长连接通知移动终端该轻应用的属性信息。S304: The PUSH server notifies the mobile terminal of the attribute information of the light application through the persistent connection.

S305:移动终端访问应用服务器获取该轻应用的属性信息,并根据该属性信息下载该轻应用。S305: The mobile terminal accesses the application server to obtain attribute information of the light application, and downloads the light application according to the attribute information.

具体的,移动终端调用Msg,getNewMsg获取PC发送的来的json字符串。Specifically, the mobile terminal calls Msg, getNewMsg to obtain the json string sent by the PC.

在本发明实施例中PC客户端接收用户发送的资源推送请求,具体的资源推送请求可以是用户点击下载资源(如轻应用、音乐、视频、文件等)。PC客户端将该资源的属性信息(下载地址信息,名称信息等)组织成json字符串,然后调用应用服务器的Message.send法,将json字符串发送到移动终端,移动终端解析json字符串,获得该资源的属性信息后,根据该属性信息下载该资源。In the embodiment of the present invention, the PC client receives the resource push request sent by the user. The specific resource push request may be that the user clicks to download resources (such as light applications, music, videos, files, etc.). The PC client organizes the attribute information of the resource (download address information, name information, etc.) into a json string, and then calls the Message.send method of the application server to send the json string to the mobile terminal, and the mobile terminal parses the json string, After the attribute information of the resource is obtained, the resource is downloaded according to the attribute information.

图4A为本发明实施例二提供的一种文件资源的推送过程示意图,该过程包括以下步骤:FIG. 4A is a schematic diagram of a file resource pushing process provided by Embodiment 2 of the present invention, and the process includes the following steps:

S401:PC根据接收到的用户发送的文件推送请求,将文件上传到应用服务器。S401: The PC uploads the file to the application server according to the received file push request sent by the user.

具体的PC根据该文件推送请求,对该文件进行加密,生成加密后的文件,通过http协议的multipart/form-data,将加密后的文件上传到应用服务器。A specific PC encrypts the file according to the file push request, generates an encrypted file, and uploads the encrypted file to the application server through multipart/form-data of the http protocol.

因为移动终端的toid和pc的cid是一对一的关系,所以用cid字符串的前8位为key做des加密。Because there is a one-to-one relationship between the toid of the mobile terminal and the cid of the PC, the first 8 digits of the cid string are used as the key for des encryption.

如果原文件小于1024字节,则对整个文件加密;如果原文件大于1024字节,则只对原文件的1024字节加密。用cid的前8位字符串做key,对原文件要加密的字节做des加密,将加密后的二进制数据流的长度写到新文件的前8个字节,des加密后的数据流从第9个字节开始写入新文件。原文件除用于加密的字节,其他字节直接写到新文件后面。If the original file is less than 1024 bytes, the entire file will be encrypted; if the original file is larger than 1024 bytes, only 1024 bytes of the original file will be encrypted. Use the first 8-digit string of cid as the key, do des encryption on the bytes to be encrypted in the original file, write the length of the encrypted binary data stream to the first 8 bytes of the new file, and des-encrypted data stream from The 9th byte starts writing the new file. Except for the bytes used for encryption in the original file, other bytes are directly written to the back of the new file.

将加密后的新文件通过http的multipart/form-data属性,用DES+RSA加密的方式调用upload.kuaidi.360.cn接口,将文件上传到应用服务器上。Use the multipart/form-data attribute of http to call the upload.kuaidi.360.cn interface with DES+RSA encryption to upload the encrypted new file to the application server.

S402:应用服务器向PC返回该文件的下载地址信息。S402: The application server returns the download address information of the file to the PC.

应用服务器会给PC返回一个可以下载该文件的URL,这个URL也是加密过的。The application server returns to the PC a URL where the file can be downloaded, and this URL is also encrypted.

S403:PC将接收的该文件的下载地址信息发送到移动终端,使移动终端根据该下载地址下载该文件。S403: The PC sends the received download address information of the file to the mobile terminal, so that the mobile terminal downloads the file according to the download address.

PC调用应用服务器的Message.pushDevice方法,将URL通过json字符串的方式发给移动终端。移动终端解析json字符串,获得下载地址后,直接在移动终端上下载资源,然后解密,得到最终的原文件。The PC calls the Message.pushDevice method of the application server, and sends the URL to the mobile terminal in the form of a json string. The mobile terminal parses the json string, obtains the download address, directly downloads the resource on the mobile terminal, and then decrypts it to obtain the final original file.

在本发明实施例中当PC和移动终端建立云连接后,PC根据具体的业务需要,通过直接调用应用服务器的接口方式,向应用服务器发起请求。PC通过http协议与push服务器建立长连接,当应用服务器需要主动通知pc时(例如移动终端发给pc的请求),应用服务器通过push服务器向PC发送通知。In the embodiment of the present invention, after the PC and the mobile terminal establish a cloud connection, the PC initiates a request to the application server by directly invoking the interface of the application server according to specific service requirements. The PC establishes a persistent connection with the push server through the http protocol. When the application server needs to actively notify the PC (for example, a mobile terminal sends a request to the PC), the application server sends a notification to the PC through the push server.

同样,当移动终端需要回复PC的请求时,通过调用应用服务器的接口方式,向应用服务器发起请求。移动终端通过TCP和push服务器建立长连接,当应用服务器需要通知移动终端时(例如PC发给移动终端的请求),应用服务器通过push服务器向移动终端发送通知。Similarly, when the mobile terminal needs to reply to the request of the PC, it initiates a request to the application server by calling the interface of the application server. The mobile terminal establishes a persistent connection with the push server through TCP, and when the application server needs to notify the mobile terminal (such as a request from the PC to the mobile terminal), the application server sends a notification to the mobile terminal through the push server.

云连接模式下,几乎能和USB连接实现同样的功能,包括获取移动终端基本信息,从移动终端获取和往移动终端中上传应用,视频,音乐,图片,电子书和手机文件等。In the cloud connection mode, it can achieve almost the same functions as the USB connection, including obtaining the basic information of the mobile terminal, obtaining and uploading applications, videos, music, pictures, e-books and mobile phone files from the mobile terminal to the mobile terminal.

在获得移动终端一些隐私信息时,pc要先给移动终端发确认框,等待移动终端确认。PC将命令通过DES加密后发送到移动终端。加密前的命令格式为:{"msgmode":"0","msgtype":"1035","p_id":"6554525","p_ver":"1","pc_name":"ZHANGLONG-D3"}。如图4B所示的在移动终端上显示的需用户进行确认的示意图,为了确保移动终端中的信息安全,弹出此提示框,并且为了保证信息的安全,当移动终端同意进行无线连接后时,移动终端上还会弹出相应PC客户端的信息,以便用户进行确认,如图4C所示的在移动终端上弹出的确认框示意图。When obtaining some private information of the mobile terminal, the PC first sends a confirmation box to the mobile terminal and waits for the mobile terminal to confirm. The PC sends the command to the mobile terminal after being encrypted by DES. The command format before encryption is: {"msgmode":"0","msgtype":"1035","p_id":"6554525","p_ver":"1","pc_name":"ZHANGLONG-D3"} . As shown in FIG. 4B , a schematic diagram showing that the user needs to confirm on the mobile terminal, in order to ensure the security of the information in the mobile terminal, this prompt box pops up, and in order to ensure the security of the information, when the mobile terminal agrees to perform wireless connection, Information of the corresponding PC client will also pop up on the mobile terminal for the user to confirm, as shown in FIG. 4C , a schematic diagram of a confirmation box popped up on the mobile terminal.

当移动终端确认后,PC会根据用户当前的操作向移动终端发送对应的命令。这个命令都是json字符串格式,然后做DES加密,发送到移动终端。移动终端以同样的方式将信息返回给PC。After confirmation by the mobile terminal, the PC will send a corresponding command to the mobile terminal according to the current operation of the user. This command is in json string format, and then encrypted with DES, and sent to the mobile terminal. The mobile terminal returns the information to the PC in the same way.

当PC和移动终端建立云连接后,为了节省网络流量,节省自费,在本发明实施例中还可以修改移动终端与PC之间的连接方式,将原有的云连接转换为wifi连接。After the PC and the mobile terminal establish a cloud connection, in order to save network traffic and self-payment, in the embodiment of the present invention, the connection mode between the mobile terminal and the PC can be modified to convert the original cloud connection into a wifi connection.

图5为本发明实施例提供的PC与移动终端的连接方式的转换过程图,该过程包括以下步骤:Fig. 5 is the conversion process figure of the connection mode of PC and mobile terminal provided by the embodiment of the present invention, and this process comprises the following steps:

S501:PC客户端向移动终端发送wifi连接请求。S501: The PC client sends a wifi connection request to the mobile terminal.

云连接成功后,PC客户端会立刻发送一个wifi直连命令到手机端,尝试和手机进行wifi直连。After the cloud connection is successful, the PC client will immediately send a wifi direct connection command to the mobile phone to try to establish a wifi direct connection with the mobile phone.

S502:移动终端接收PC客户端发送的wifi连接请求,判断当前是否存在wifi连接下,当判断结果为是时,进行步骤S503,否则,进行步骤S506。S502: The mobile terminal receives the wifi connection request sent by the PC client, and judges whether there is currently a wifi connection. If the judgment result is yes, go to step S503; otherwise, go to step S506.

S503:所述移动终端在本地建立server端,并将验证码及自身的IP信息发送到PC。S503: The mobile terminal establishes a server locally, and sends the verification code and its own IP information to the PC.

S504:PC客户端在本地创建client端,并根据接收到的移动终端发送的IP信息,与所述移动终端的server端建立连接。S504: The PC client creates a client locally, and establishes a connection with the server of the mobile terminal according to the received IP information sent by the mobile terminal.

S505:PC客户端采用接收到的验证码与所述移动终端进行验证,并在验证通过后与所述移动终端建立wifi连接。S505: The PC client uses the received verification code to verify with the mobile terminal, and establishes a wifi connection with the mobile terminal after passing the verification.

S506:该转换过程结束。S506: The conversion process ends.

移动终端与PC之间建立wifi连接后,以后所有的无线操作命令不再通过应用服务器和push服务器。而是pc和移动终端通过socket通信的方式直接进行。所有的命令和通过usb数据线连接的命令格式一样,采用AES加密。After the wifi connection is established between the mobile terminal and the PC, all future wireless operation commands will no longer pass through the application server and the push server. Instead, the PC and the mobile terminal communicate directly through the socket. All commands are in the same format as those connected via the usb cable, and are encrypted with AES.

当移动终端的客户端接收到PC客户端发送的该轻应用的信息后,根据用户的选择,确定是否展示该轻应用。具体的PC客户端可以向移动终端的客户端推送是否展示该轻应用的提示信息,该提示信息中包含该轻应用的信息。当用户选择确定了展示该轻应用时,移动终端的客户端获取该轻应用的信息中的该轻应用的ID及该轻应用的URL信息,从而向PC客户端发送轻应用接受请求,其中该轻应用接受请求中携带被接受的轻应用的ID和统一资源定位符URL信息。After receiving the information of the light application sent by the PC client, the client of the mobile terminal determines whether to display the light application according to the user's choice. A specific PC client may push a prompt message whether to display the light application to the client terminal of the mobile terminal, and the prompt message includes the information of the light application. When the user chooses to display the web app, the client terminal of the mobile terminal obtains the web app ID and URL information of the web app in the web app information, and sends a web app acceptance request to the PC client, wherein the web app accepts the web app. The light application acceptance request carries the accepted light application ID and uniform resource locator URL information.

PC客户端接收到该轻应用接受请求后,根据所述轻应用接受请求中携带的信息,对所述轻应用接受请求进行验证;当验证通过时,通知所述移动终端的客户端根据所述轻应用的信息创建所述轻应用。After receiving the light application acceptance request, the PC client verifies the light application acceptance request according to the information carried in the light application acceptance request; The web application information creates the web application.

具体的,PC客户端接收到该轻应用接受请求后,根据该请求中携带的被接受的轻应用的ID和统一资源定位符URL信息,向服务器请求相应的轻应用,根据服务器反馈的轻应用的信息,及自身向移动终端的客户端的推送的轻应用的信息,对移动终端的客户端请求的轻应用进行验证。当服务器反馈的轻应用的信息,及自身向移动终端的客户端推送的轻应用的信息相同时,确定该请求为合法请求,通知移动终端的客户端根据该轻应用的信息创建轻应用。Specifically, after receiving the web application acceptance request, the PC client requests the corresponding web application from the server according to the ID and URL information of the accepted web application carried in the request, and according to the web application fed back by the server information, and the information of the light application pushed by itself to the client of the mobile terminal, to verify the light application requested by the client of the mobile terminal. When the information of the light application fed back by the server is the same as the information of the light application pushed by itself to the client of the mobile terminal, the request is determined to be a legal request, and the client of the mobile terminal is notified to create a light application according to the information of the light application.

图6为本发明实施例三提供的一种轻应用的推送过程图,该过程包括以下步骤:Fig. 6 is a push process diagram of a light application provided by Embodiment 3 of the present invention, and the process includes the following steps:

S601:PC客户端接收用户发送的轻应用推送请求。S601: The PC client receives a light application push request sent by a user.

S602:PC客户端根据该轻应用推送请求,确定所述轻应用所在网页,将所述网页转换为移动终端适用的版本,其中该版本中包括:所述轻应用的ID、名称、图标ICON、所在的统一资源定位符URL中的一种或几种轻应用的属性信息。S602: The PC client determines the webpage where the light application is located according to the push request of the light application, and converts the webpage into a version applicable to the mobile terminal, wherein the version includes: the ID, name, icon ICON, Attribute information of one or more light applications in the uniform resource locator URL where it is located.

S603:PC客户端将所述轻应用的属性信息推送到与其连接的移动终端的客户端。S603: The PC client pushes the attribute information of the light application to the client of the mobile terminal connected to it.

S604:移动终端的客户端获取该轻应用的属性信息中的该轻应用的ID及该轻应用的URL信息,向PC客户端发送轻应用接受请求,其中该轻应用接受请求中携带被接受的轻应用的ID和统一资源定位符URL信息。S604: The client of the mobile terminal obtains the ID of the web application and the URL information of the web application in the attribute information of the web application, and sends a web application acceptance request to the PC client, wherein the web application acceptance request carries the accepted Light application ID and Uniform Resource Locator URL information.

S605:PC客户端接收到该轻应用接受请求后,根据所述轻应用接受请求中携带的信息,对所述轻应用接受请求进行验证,当验证通过时,进行步骤S606,否则,进行步骤S607。S605: After receiving the light application acceptance request, the PC client verifies the light application acceptance request according to the information carried in the light application acceptance request, and when the verification is passed, proceed to step S606; otherwise, proceed to step S607 .

S606:PC客户端通知移动终端的客户端根据该轻应用的信息创建轻应用。S606: The PC client notifies the client of the mobile terminal to create a light application according to the information of the light application.

S607:该推送轻应用的过程结束。S607: The process of pushing the light application ends.

在本发明实施例中PC客户端被打开后,该客户端中包括很多用于推送的轻应用,PC客户端根据用户的选择,获取对应的每个轻应用的属性信息,将每个轻应用的属性信息携带在轻应用列表中,将获取的轻应用列表推送到移动终端的客户端。After the PC client is opened in the embodiment of the present invention, the client includes many light applications for pushing, and the PC client obtains the attribute information of each corresponding light application according to the user's selection, and stores each light application The attribute information is carried in the light application list, and the obtained light application list is pushed to the client of the mobile terminal.

PC客户端可以向移动终端的客户端推送是否展示该轻应用列表中每个轻应用的提示信息,该提示信息中包含每个轻应用的属性信息。当用户选择确定了展示某一或某几个轻应用时,移动终端的客户端获取轻应用列表中的每个轻应用的ID及每个轻应用的URL信息,从而向PC客户端发送轻应用接受请求,其中该轻应用接受请求中携带被接受的每个轻应用的ID和统一资源定位符URL信息。The PC client may push the prompt information of whether to display each light application in the light application list to the mobile terminal client, and the prompt information includes attribute information of each light application. When the user chooses to display one or several light applications, the client terminal of the mobile terminal obtains the ID of each light application in the light application list and the URL information of each light application, so as to send the light application to the PC client Accepting the request, wherein the light application acceptance request carries the ID and URL information of each light application that is accepted.

PC客户端接收到该轻应用接受请求后,根据该轻应用接受请求中携带的信息,对该轻应用接受请求进行验证;当验证通过时,通知所述移动终端的客户端根据轻应用列表中的对应轻应用的属性信息创建每个轻应用。PC客户端接收到该轻应用接受请求后,根据该请求中携带的被接受的每个轻应用的ID和其统一资源定位符URL信息,向服务器请求相应的轻应用列表,根据服务器反馈的每个轻应用的属性信息,及自身向移动终端的客户端的推送的每个轻应用的属性信息,对移动终端的客户端请求的轻应用进行验证。当服务器反馈的某一或某几个轻应用的信息,及自身向移动终端的客户端推送的某一或某几个轻应用的信息相同时,确定该请求为合法请求,通知移动终端的客户端根据对应的每个轻应用的属性信息创建轻应用。After receiving the light application acceptance request, the PC client verifies the light application acceptance request according to the information carried in the light application acceptance request; The attribute information of the corresponding web application is created for each web application. After receiving the light application acceptance request, the PC client requests the server for the corresponding light application list according to the ID of each accepted light application carried in the request and its Uniform Resource Locator URL information. The attribute information of each light application and the attribute information of each light application pushed by itself to the client of the mobile terminal are used to verify the light application requested by the client of the mobile terminal. When the information of one or several light applications fed back by the server is the same as the information of one or some light applications pushed by itself to the client of the mobile terminal, it is determined that the request is a legal request and the client of the mobile terminal is notified The terminal creates a light application according to the attribute information of each corresponding light application.

在本发明实施例中,所述通知所述移动终端的客户端根据所述轻应用的信息创建所述轻应用包括:In the embodiment of the present invention, the notifying the client of the mobile terminal to create the light application according to the information of the light application includes:

所述PC客户端检测所述移动终端的客户端的版本是否满足所述轻应用的创建条件;The PC client detects whether the client version of the mobile terminal satisfies the creation condition of the light application;

当满足时,通知所述移动终端的客户端根据所述轻应用的信息创建所述轻应用。When satisfied, notify the client of the mobile terminal to create the web application according to the information of the web application.

轻应用的更新非常的快,因此需要对其进行支撑的移动终端的客户端的版本也需要不断的更新,为了保证轻应用能够在移动终端的客户端上进行展示,本发明实施例移动终端的客户端在创建该轻应用之前,PC客户端根据对该轻应用支撑的移动终端的客户端的版本,判断移动终端当前的客户端版本是否满足所述轻应用的创建条件,即该移动终端当前的客户端的版本是否不低于支撑该轻应用展示的版本,当移动终端当前的客户端的版本不低于支撑该轻应用展示的版本,即满足创建条件时,PC客户端通知所述移动终端的客户端根据所述轻应用的信息创建所述轻应用。当不满足时,PC客户端判断当前与所述移动终端的连接状态;当与所述移动终端通过USB连接时,升级所述移动终端的客户端并创建所述轻应用;当与所述移动终端通过局域网或云连接时,提示所述移动终端的用户与所述PC通过USB连接。The update of the light application is very fast, so the client version of the mobile terminal that needs to support it also needs to be continuously updated. In order to ensure that the light application can be displayed on the client of the mobile terminal, the client of the mobile terminal in the embodiment of the present invention Before creating the light application, the PC client judges whether the current client version of the mobile terminal satisfies the creation conditions of the light application according to the client version of the mobile terminal supported by the light application, that is, the current client of the mobile terminal Whether the version of the terminal is not lower than the version that supports the display of the light application. When the version of the current client of the mobile terminal is not lower than the version that supports the display of the light application, that is, when the creation conditions are met, the PC client notifies the client of the mobile terminal The web application is created according to the information of the web application. When not satisfied, the PC client judges the current connection status with the mobile terminal; when connected to the mobile terminal via USB, upgrade the client of the mobile terminal and create the light application; When the terminal is connected through the local area network or the cloud, the user of the mobile terminal is prompted to connect with the PC through USB.

PC客户端判断移动终端的客户端版本不满足轻应用的创建条件时,为了实现轻应用的创建,PC客户端为了节省与移动终端间的传输流量,PC客户端首先判断当前PC是否与移动终端之间通过USB连接,首先建议通过USB连接方式升级移动终端的客户端。如果当前无法实现PC与移动终端间的USB连接方式,通过云连接、wifi连接的方式也可以实现对移动终端的客户端的升级,从而使移动终端的客户端创建该轻应用。When the PC client judges that the client version of the mobile terminal does not meet the creation conditions of the light application, in order to realize the creation of the light application, the PC client first determines whether the current PC is compatible with the mobile terminal in order to save the transmission traffic between the PC client and the mobile terminal. It is recommended to upgrade the client of the mobile terminal through USB connection. If the USB connection between the PC and the mobile terminal cannot be implemented currently, the client of the mobile terminal can also be upgraded through cloud connection or wifi connection, so that the client of the mobile terminal can create the light application.

图7A为本发明实施例四提供的一种轻应用的推送过程图,该过程包括以下步骤:Fig. 7A is a push process diagram of a light application provided by Embodiment 4 of the present invention, and the process includes the following steps:

S701:PC客户端接收用户发送的轻应用推送请求。S701: The PC client receives the light application push request sent by the user.

S702:PC客户端根据该轻应用推送请求,确定所述轻应用所在网页,将所述网页转换为移动终端适用的版本,其中该版本中包括:所述轻应用的ID、名称、图标ICON、所在的统一资源定位符URL中的一种或几种轻应用的属性信息。S702: The PC client determines the webpage where the light application is located according to the push request of the light application, and converts the webpage into a version applicable to the mobile terminal, wherein the version includes: the ID, name, icon ICON, Attribute information of one or more light applications in the uniform resource locator URL where it is located.

S703:PC客户端将所述轻应用的属性信息推送到与其连接的移动终端的客户端。S703: The PC client pushes the attribute information of the light application to the client of the mobile terminal connected to it.

S704:移动终端的客户端获取该轻应用的属性信息中的该轻应用的ID及该轻应用的URL信息,向PC客户端发送轻应用接受请求,其中该轻应用接受请求中携带被接受的轻应用的ID和统一资源定位符URL信息。S704: The client of the mobile terminal acquires the ID of the web application and the URL information of the web application in the attribute information of the web application, and sends a web application acceptance request to the PC client, wherein the web application acceptance request carries the accepted Light application ID and Uniform Resource Locator URL information.

S705:PC客户端接收到该轻应用接受请求后,根据所述轻应用接受请求中携带的信息,对所述轻应用接受请求进行验证,当验证通过时,进行步骤S706,否则,进行步骤S709。S705: After receiving the light application acceptance request, the PC client verifies the light application acceptance request according to the information carried in the light application acceptance request, and when the verification is passed, proceed to step S706; otherwise, proceed to step S709 .

S706:所述PC客户端检测所述移动终端的客户端的版本是否满足所述轻应用的创建条件,当判断结果为是时,进行步骤S707,否则,进行步骤S708。S706: The PC client detects whether the client version of the mobile terminal satisfies the creation condition of the light application, and if the judgment result is yes, proceed to step S707; otherwise, proceed to step S708.

S707:通知所述移动终端的客户端根据所述轻应用的信息创建所述轻应用。S707: Notify the client of the mobile terminal to create the light application according to the information of the light application.

S708:PC客户端判断当前与所述移动终端的连接状态,当与所述移动终端通过USB连接时,升级所述移动终端的客户端并创建所述轻应用;当与所述移动终端通过局域网或云连接时,提示所述移动终端的用户与所述PC通过USB连接。S708: The PC client judges the current connection status with the mobile terminal, and when connected to the mobile terminal via USB, upgrades the client of the mobile terminal and creates the light application; Or when connecting to the cloud, prompt the user of the mobile terminal to connect with the PC via USB.

S709:该推送轻应用的过程结束。S709: The process of pushing the light application ends.

具体的,PC客户端可以根据与移动终端之间的硬件连接状态,判断PC与移动终端之间的连接关系,具体的判断PC与移动终端之间硬件连接状态的技术属于现有技术,在本发明实施例中就不对该过程进行赘述。Specifically, the PC client can judge the connection relationship between the PC and the mobile terminal according to the hardware connection status between the PC client and the mobile terminal. The technology for specifically judging the hardware connection status between the PC and the mobile terminal belongs to the prior art. This process will not be described in detail in the embodiment of the invention.

当PC客户端判断当前PC与移动终端之间通过USB连接时,PC客户端直接升级移动终端的客户端,并在升级后创建该轻应用;当PC与移动终端为其他连接状态时,例如通过局域网WIFI连接,或者云连接,例如通过2G、3G或4G连接时,为了保证轻应用的展示,PC客户端提示所述移动终端的用户,将移动终端与PC通过USB连接。如果当前无法实现PC与移动终端之间的之间的的USB连接,PC客户端通过wifi连接,或云连接的方式,直接升级移动终端的客户端,并在升级后创建该轻应用。When the PC client judges that the current PC and the mobile terminal are connected via USB, the PC client directly upgrades the client of the mobile terminal, and creates the light application after the upgrade; when the PC and the mobile terminal are in other connection states, for example, through When LAN WIFI connection, or cloud connection, such as 2G, 3G or 4G connection, in order to ensure the display of the light application, the PC client prompts the user of the mobile terminal to connect the mobile terminal to the PC via USB. If the USB connection between the PC and the mobile terminal cannot be realized at present, the PC client can directly upgrade the client of the mobile terminal through wifi connection or cloud connection, and create the light application after the upgrade.

移动终端的客户端在展示该轻应用时,根据获取的PC客户端发送的轻应用的信息,该轻应用的图标采用该轻应用的信息中的ICON字段,该轻应用的名称采用该轻应用的信息中的名称字段,其他创建逻辑与创建其他APP相同,在这里不再赘述。When the client of the mobile terminal displays the light application, according to the obtained information of the light application sent by the PC client, the icon of the light application adopts the ICON field in the information of the light application, and the name of the light application adopts the information of the light application. The name field in the information of , other creation logic is the same as that of creating other APPs, and will not be repeated here.

图7B为本发明实施例提供的轻应用的具体推送过程示意图,PC客户端打开后,在其显示界面上显示多个资源,当用户选择推送轻应用“360团购”时,PC客户端确定该轻应用所在的网页后,将该网页转换为移动终端使用的版本,并且在该版本中包含有轻应用的ID、轻应用的名称name,轻应用的图标ICON,轻应用的类型type,轻应用的类型为lightapp。7B is a schematic diagram of the specific push process of the light application provided by the embodiment of the present invention. After the PC client is opened, multiple resources are displayed on its display interface. When the user chooses to push the light application "360 group buying", the PC client determines the After viewing the webpage where the application is located, convert the webpage to a version used by mobile terminals, and this version contains the ID of the application, the name of the application, the icon ICON of the application, the type of the application, and the application of the application. The type is lightapp.

PC客户端可以向移动终端的客户端推送是否展示该轻应用的提示信息,该提示信息中包含该轻应用的信息。当用户选择确定了展示该轻应用时,移动终端的客户端获取该轻应用的信息中的该轻应用的ID及该轻应用的URL信息,从而向PC客户端发送轻应用接受请求,其中该轻应用接受请求中携带被接受的轻应用的ID和统一资源定位符URL信息。The PC client may push the prompt information of whether to display the light application to the mobile terminal client, and the prompt information includes the information of the light application. When the user chooses to display the web app, the client terminal of the mobile terminal obtains the web app ID and URL information of the web app in the web app information, and sends a web app acceptance request to the PC client, wherein the web app accepts the web app. The light application acceptance request carries the accepted light application ID and uniform resource locator URL information.

PC客户端接收到该轻应用接受请求后,根据所述轻应用接受请求中携带的信息,对所述轻应用接受请求进行验证;当验证通过时,PC客户端检测所述移动终端的客户端的版本是否满足所述轻应用的创建条件;当满足时,通知所述移动终端的客户端根据所述轻应用的信息创建所述轻应用。当不满足时,PC客户端提供需要相应移动终端的客户端的版本的提示信息,并在用户选择立即升级时,判断当前PC与移动终端的连接装置,当与所述移动终端通过USB连接时,升级所述移动终端的客户端,并向用户提供“升级成功,可以将轻应用发送到移动终端的客户端”的提示信息。移动终端的客户端在展示该轻应用,根据获取的PC客户端发送的轻应用的信息,该轻应用的图标采用该轻应用的信息中的ICON字段,该轻应用的名称采用该轻应用的信息中的名称字段。After receiving the light application acceptance request, the PC client verifies the light application acceptance request according to the information carried in the light application acceptance request; Whether the version satisfies the creation condition of the light application; if yes, notify the client of the mobile terminal to create the light application according to the information of the light application. When not satisfied, the PC client provides the prompt information of the version of the client that needs the corresponding mobile terminal, and when the user selects to upgrade immediately, judge the connection device between the current PC and the mobile terminal, when connecting with the mobile terminal by USB, The client terminal of the mobile terminal is upgraded, and a prompt message "upgrade is successful, and the light application can be sent to the client terminal of the mobile terminal" is provided to the user. The client of the mobile terminal is displaying the light application. According to the obtained information of the light application sent by the PC client, the icon of the light application adopts the ICON field in the information of the light application, and the name of the light application adopts the information of the light application. The name field in the message.

图8为本发明实施例提供的一种资源的推送装置结构示意图,所述装置包括:Fig. 8 is a schematic structural diagram of a device for pushing resources provided by an embodiment of the present invention, and the device includes:

接收请求模块81,用于接收用户发送的资源推送请求;A request receiving module 81, configured to receive a resource push request sent by a user;

确定模块82,用于根据所述资源推送请求,确定该资源推送请求对应的资源的属性信息;A determination module 82, configured to determine the attribute information of the resource corresponding to the resource push request according to the resource push request;

推送模块83,用于将所述资源的属性信息推送到与其连接的移动终端的客户端,使所述移动终端的客户端下载所述资源。The push module 83 is configured to push the attribute information of the resource to the client of the mobile terminal connected thereto, so that the client of the mobile terminal downloads the resource.

所述确定模块82,具体用于当所述资源为轻应用资源时,确定所述轻应用所在网页,将所述网页转换为移动终端适用的版本,其中该版本中包括:所述轻应用的ID、名称、图标ICON、所在的统一资源定位符URL中的一种或几种轻应用的属性信息;当所述资源为轻应用之外的其他资源时,所述PC客户端确定所述资源的下载地址信息。The determination module 82 is specifically configured to determine the webpage where the light application is located when the resource is a light application resource, and convert the webpage into a version suitable for mobile terminals, wherein the version includes: the light application's ID, name, icon ICON, the attribute information of one or more light applications in the uniform resource locator URL; when the resource is other than the light application, the PC client determines the resource The download address information of .

所述推送模块83,具体用于当推送的资源为轻应用资源,与移动终端间于云连接时,将该资源的属性信息发送到应用服务器;当推送的资源为轻应用之外的其他资源,与移动终端间于云连接时,将所述资源上传到应用服务器;将接收请求模块获取的资源的存放链接地址信息发送给所述移动终端的客户端;当与移动终端间为wifi连接或USB连接时,直接将所述资源的属性信息发送到所述移动终端的客户端。The push module 83 is specifically used to send the attribute information of the resource to the application server when the pushed resource is a light application resource and the mobile terminal is connected to the cloud; when the pushed resource is a resource other than the light application , when the mobile terminal is connected to the cloud, upload the resource to the application server; send the storage link address information of the resource obtained by the receiving request module to the client of the mobile terminal; when the mobile terminal is connected to wifi or When the USB is connected, the attribute information of the resource is directly sent to the client of the mobile terminal.

所述接收请求模块81,还用于获取所述资源在所述应用服务器的存放链接地址信息。The request receiving module 81 is further configured to acquire the storage link address information of the resource in the application server.

所述装置还包括:The device also includes:

发送模块84,用于向应用服务器发起建立无线连接的请求;A sending module 84, configured to initiate a request for establishing a wireless connection to an application server;

所述接收请求模块81,还用于接收PUSH服务器返回的移动终端的响应信息。The request receiving module 81 is also configured to receive the response information of the mobile terminal returned by the PUSH server.

所述发送模块84,还用于向移动终端发送wifi连接请求;The sending module 84 is also used to send a wifi connection request to the mobile terminal;

所述接收请求模块81,还用于接收移动终端发送的验证码及自身的IP信息;The receiving request module 81 is also used to receive the verification code sent by the mobile terminal and its own IP information;

所述装置还包括:The device also includes:

连接模块85,用于在本地创建client端,并根据接收到的移动终端发送的IP信息,与所述移动终端的server端建立连接,采用接收到的验证码与所述移动终端进行验证,并在验证通过后与所述移动终端建立wifi连接。The connection module 85 is used to create a client end locally, and establish a connection with the server end of the mobile terminal according to the received IP information sent by the mobile terminal, and verify with the mobile terminal using the received verification code, and After the verification is passed, a wifi connection is established with the mobile terminal.

所述接收请求模块81,还用于接收与其连接的移动终端发送的轻应用接受请求,其中所述轻应用接受请求中携带被接受的轻应用的ID或统一资源定位符URL信息;The receiving request module 81 is also configured to receive a light application acceptance request sent by a mobile terminal connected to it, wherein the light application acceptance request carries the ID or URL information of the accepted light application;

所述装置还包括:The device also includes:

校验模块86,用于根据所述轻应用接受请求中携带的信息,对所述轻应用接受请求进行验证;当验证通过时,通知所述移动终端的客户端根据所述轻应用的信息创建所述轻应用。The verification module 86 is configured to verify the light application acceptance request according to the information carried in the light application acceptance request; when the verification is passed, notify the client of the mobile terminal to create an application based on the information of the light application. The light application.

所述校验模块86,具体用于检测所述移动终端的客户端的版本是否满足所述轻应用的创建条件;当满足时,通知所述移动终端的客户端根据所述轻应用的信息创建所述轻应用。The verification module 86 is specifically used to detect whether the version of the client terminal of the mobile terminal satisfies the creation conditions of the light application; light application.

所述校验模块86,还用于检测所述移动终端的客户端的版本不满足所述轻应用的创建条件时,判断当前与所述移动终端的连接状态;当与所述移动终端通过USB连接时,升级所述移动终端的客户端并创建所述轻应用;当与所述移动终端通过wifi或云连接时,提示所述移动终端的用户与所述PC通过USB连接。The verification module 86 is also used to determine the current connection status with the mobile terminal when the version of the client terminal of the mobile terminal does not meet the creation conditions of the light application; upgrade the client of the mobile terminal and create the light application; when connecting to the mobile terminal via wifi or cloud, prompt the user of the mobile terminal to connect to the PC via USB.

图9为本发明实施例提供的一种轻应用推送系统结构示意图,所述系统包括:如图8所述的装置91,及接收所述装置推送的资源的属性信息的移动终端的客户端92。FIG. 9 is a schematic structural diagram of a light application push system provided by an embodiment of the present invention. The system includes: a device 91 as shown in FIG. 8 , and a client 92 of a mobile terminal that receives attribute information of resources pushed by the device .

具体的该装置为PC客户端。Specifically, the device is a PC client.

所述系统还包括:The system also includes:

应用服务器93,用于接收所述PC客户端发送的所述资源的属性信息,通知PUSH服务器与移动终端建立长连接通知所述移动终端;向移动终端的客户端提供资源的属性信息;或,接收所述PC客户端上传的资源,向所述PC客户端提供所述资源的存放链接地址信息;The application server 93 is configured to receive the attribute information of the resource sent by the PC client, notify the PUSH server to establish a long connection with the mobile terminal and notify the mobile terminal; provide the client of the mobile terminal with the attribute information of the resource; or, receiving the resource uploaded by the PC client, and providing the storage link address information of the resource to the PC client;

PUSH服务器94,用于通过长连接通知移动终端。The PUSH server 94 is used to notify the mobile terminal through the persistent connection.

所述应用服务器93,还用于接收所述PC客户端发起的建立无线连接的请求,通知所述PUSH服务器94;接收所述移动终端的客户端返回的接收该请求的响应信息,将该响应信息发送到PUSH服务器94;The application server 93 is also configured to receive the request for establishing a wireless connection initiated by the PC client, and notify the PUSH server 94; receive the response information for receiving the request returned by the client of the mobile terminal, and send the response The information is sent to the PUSH server 94;

所述PUSH服务器94,还用于通过与移动终端之间建立的长连接,将该请求发送到移动终端;接收所述应用服务器发送的响应信息,并将该响应信息返回PC客户端。The PUSH server 94 is further configured to send the request to the mobile terminal through the long connection established with the mobile terminal; receive the response information sent by the application server, and return the response information to the PC client.

本发明实施例提供了一种资源的推送方法、系统及装置,该方法包括:PC客户端接收用户发送资源推送请求,根据所述资源推送请求,确定该资源推送请求对应的资源的属性信息,将该资源的属性信息推送到与其连接的移动终端客户端,使移动终端的客户端下载所述资源。由于在本发明实施例中当PC客户端接收到用户发送的资源推送请求时,获取该资源的属性信息,将该资源的属性信息推送给移动终端的客户端,使移动终端的客户端下载该资源,从而实现移动终端的免检索而直接展示资源,并实现了资源通过PC直接推送到移动终端的方案,免除了用户的检索操作,提高了用户使用资源的效率。Embodiments of the present invention provide a resource push method, system, and device. The method includes: a PC client receives a resource push request sent by a user, and determines the attribute information of the resource corresponding to the resource push request according to the resource push request, The attribute information of the resource is pushed to the connected mobile terminal client, so that the mobile terminal client downloads the resource. Because in the embodiment of the present invention, when the PC client receives the resource push request sent by the user, it obtains the attribute information of the resource, pushes the attribute information of the resource to the client of the mobile terminal, and makes the client of the mobile terminal download the resource. Resources, so as to realize the direct display of resources without searching by mobile terminals, and realize the solution that resources are directly pushed to mobile terminals through PCs, which eliminates the user's search operation and improves the efficiency of users' use of resources.

在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.

类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的通过轻应用推送装置及系统,终端设备及系统中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of the components of the light application push device and system, terminal equipment and the system according to the embodiments of the present invention some or all of the features. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.

Claims (10)

1. a method for pushing for resource, is characterized in that, the method comprises:
Pc client receives the resource supplying request that user sends;
According to described resource supplying request, determine the attribute information of resource corresponding to this resource supplying request;
The attribute information of described resource is pushed to the client of connected mobile terminal, makes resource described in the client downloads of described mobile terminal.
2. the method for claim 1, is characterized in that, the described attribute information of determining resource corresponding to this resource supplying request comprises:
In the time that described resource is light application resource, described pc client is determined described light application place webpage, described webpage is converted to the applicable version of mobile terminal, and wherein this version comprises: attribute informations of one or more the light application in the uniform resource position mark URL at the ID of described light application, title, icon ICON, place;
When other resources outside described resource is light application, described pc client is determined the download address information of described resource.
3. method as claimed in claim 1 or 2, is characterized in that, the client that the described attribute information by described resource is pushed to connected mobile terminal comprises:
When described resource is light application resource, while connection for cloud between mobile terminal and PC, the attribute information of described resource is sent to application server by described pc client; Application server notice PUSH server is set up long connection with mobile terminal and is notified described mobile terminal, and the client of mobile terminal is from the attribute information of application server Gains resources;
When described resource is other resources outside light application, while connection for cloud between mobile terminal and PC, described resource is uploaded to application server by described pc client, and obtain the storage links address information of described resource at described application server, and the storage links address information of described resource is sent to the client of described mobile terminal;
When between mobile terminal and PC for wifi is connected or USB connect time, described pc client directly sends to the attribute information of described resource the client of described mobile terminal.
4. the method for claim 1, is characterized in that, before described pc client receives the request of user's transmission, described method also comprises:
Pc client initiates to set up the request of wireless connections to application server, application server, by long connection of setting up between PUSH server and mobile terminal, sends to mobile terminal by this request;
The response message of this request of reception of application server mobile terminal receive, and by PUSH server, this response message is returned to pc client.
5. method as claimed in claim 4, is characterized in that, described method also comprises:
Mobile terminal receives the wifi connection request that pc client sends, and judges current whether existence under wifi connection;
Connect lower time when current in wifi, described mobile terminal is set up server end in this locality, and identifying code and the IP information of self are sent to PC;
Pc client creates client end in this locality, and the IP information sending according to the mobile terminal receiving, connect with the server end of described mobile terminal, adopt the identifying code and the described mobile terminal that receive to verify, and after being verified, set up wifi with described mobile terminal and be connected.
6. the method as described in claim 1,2,4 or 5, is characterized in that, before resource, described method also comprises described in the client downloads of mobile terminal:
In the time that described resource is light application resource, the light application that described pc client receives the client transmission of connected mobile terminal accepts request, and carries ID or the uniform resource position mark URL information of received light application during wherein said light application accepts request;
The information that described pc client carries in accepting request according to described light application, accepts request and verifies described light application;
In the time being verified, notify the client of described mobile terminal according to gently application described in the information creating of described light application.
7. method as claimed in claim 6, is characterized in that, the described client of notifying described mobile terminal comprises according to light application described in the information creating of described light application:
Whether the version that described pc client detects the client of described mobile terminal meets the establishment condition of described light application;
In the time meeting, notify the client of described mobile terminal according to gently application described in the information creating of described light application.
8. method as claimed in claim 7, is characterized in that, in the time not meeting, described method also comprises:
Pc client judges the connection status of current and described mobile terminal;
In the time being connected by USB with described mobile terminal, the client of the described mobile terminal of upgrading also creates described light application;
In the time being connected by wifi or cloud with described mobile terminal, point out the user of described mobile terminal to be connected by USB with described PC.
9. a pusher for resource, is characterized in that, described device comprises:
Receive request module, the resource supplying request sending for receiving user;
Determination module, for according to described resource supplying request, determines the attribute information of resource corresponding to this resource supplying request;
Pushing module, for the attribute information of described resource being pushed to the client of connected mobile terminal, makes resource described in the client downloads of described mobile terminal.
10. a supplying system for resource, is characterized in that, described system comprises: device as claimed in claim 9, and receive the client of the mobile terminal of the attribute information of the resource that described device pushes.
CN201410265988.4A 2014-06-13 2014-06-13 Resource pushing method, system and device Pending CN104023073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410265988.4A CN104023073A (en) 2014-06-13 2014-06-13 Resource pushing method, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410265988.4A CN104023073A (en) 2014-06-13 2014-06-13 Resource pushing method, system and device

Publications (1)

Publication Number Publication Date
CN104023073A true CN104023073A (en) 2014-09-03

Family

ID=51439642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410265988.4A Pending CN104023073A (en) 2014-06-13 2014-06-13 Resource pushing method, system and device

Country Status (1)

Country Link
CN (1) CN104023073A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107515818A (en) * 2016-06-15 2017-12-26 广州市动景计算机科技有限公司 Test software opening method, system and device
WO2019085664A1 (en) * 2017-11-06 2019-05-09 广州神马移动信息科技有限公司 Light app push method and apparatus, server, and storage medium
WO2019153963A1 (en) * 2018-02-11 2019-08-15 中国移动通信有限公司研究院 Data acquisition method, service provider terminal, service user terminal, and network function entity
CN110297971A (en) * 2019-05-30 2019-10-01 百度在线网络技术(北京)有限公司 Personalized resource retrieval method, device, equipment and computer readable storage medium
CN110333902A (en) * 2018-03-12 2019-10-15 杭州萤石软件有限公司 Character string loading method, device and system of mobile APP and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102891891A (en) * 2012-09-26 2013-01-23 广州市动景计算机科技有限公司 Method and system for cross-device file transmission
US20130066983A1 (en) * 2011-09-14 2013-03-14 Huawei Technologies Co., Ltd. Information transmission method and system, and browser on mobile terminal
CN103338254A (en) * 2013-06-28 2013-10-02 腾讯科技(深圳)有限公司 Terminal across application pushing method, device, terminal and system
CN103501334A (en) * 2013-09-29 2014-01-08 北京奇虎科技有限公司 Data transmission method, data transmission equipment and network system
CN103634389A (en) * 2013-11-25 2014-03-12 北京奇虎科技有限公司 File transfer method, device and system between calculation device and mobile device
CN103699635A (en) * 2013-12-23 2014-04-02 联想(北京)有限公司 Information processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130066983A1 (en) * 2011-09-14 2013-03-14 Huawei Technologies Co., Ltd. Information transmission method and system, and browser on mobile terminal
CN102891891A (en) * 2012-09-26 2013-01-23 广州市动景计算机科技有限公司 Method and system for cross-device file transmission
CN103338254A (en) * 2013-06-28 2013-10-02 腾讯科技(深圳)有限公司 Terminal across application pushing method, device, terminal and system
CN103501334A (en) * 2013-09-29 2014-01-08 北京奇虎科技有限公司 Data transmission method, data transmission equipment and network system
CN103634389A (en) * 2013-11-25 2014-03-12 北京奇虎科技有限公司 File transfer method, device and system between calculation device and mobile device
CN103699635A (en) * 2013-12-23 2014-04-02 联想(北京)有限公司 Information processing method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107515818A (en) * 2016-06-15 2017-12-26 广州市动景计算机科技有限公司 Test software opening method, system and device
WO2019085664A1 (en) * 2017-11-06 2019-05-09 广州神马移动信息科技有限公司 Light app push method and apparatus, server, and storage medium
WO2019153963A1 (en) * 2018-02-11 2019-08-15 中国移动通信有限公司研究院 Data acquisition method, service provider terminal, service user terminal, and network function entity
US11758017B2 (en) 2018-02-11 2023-09-12 China Mobile Communication Co., Ltd Research Institute Data acquisition method, service provider, service consumer and network functional entity
CN110333902A (en) * 2018-03-12 2019-10-15 杭州萤石软件有限公司 Character string loading method, device and system of mobile APP and electronic equipment
CN110297971A (en) * 2019-05-30 2019-10-01 百度在线网络技术(北京)有限公司 Personalized resource retrieval method, device, equipment and computer readable storage medium
CN110297971B (en) * 2019-05-30 2022-09-20 百度在线网络技术(北京)有限公司 Personalized resource retrieval method, device, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN102946436B (en) A kind of download system
CN104077162B (en) Renewal, dissemination method and the device of mobile terminal application template
CN103298147B (en) Realize the methods, devices and systems at computing equipment side radio management mobile terminal
CN103634389A (en) File transfer method, device and system between calculation device and mobile device
WO2015007245A1 (en) Cross-terminal downloading method, system, cloud server and terminal
CN103339601B (en) Apparatus and method for providing automatic application installation function in digital device
CN106664515B (en) Method for transmitting content between terminals via a service control device link
CN102970369A (en) Downloading browser and method
CN102984278B (en) Realize the system and method that browser data synchronizes
CN104580267A (en) A resource downloading method, device, server and corresponding system
CN104158908B (en) Method and system based on WiFi equipment transmission file
CN104023073A (en) Resource pushing method, system and device
CN106874471A (en) Information-pushing method and device
CN106027597B (en) A kind of method and server of offline file transmission
CN103678508A (en) Method and device for opening a webpage
CN104618435A (en) Method for achieving remote desktops and remote desktop management system
CN104050292A (en) Traffic-saving mode search service method, server, client and system
CN103747010A (en) Method, system and device for controlling PC (personal computer) by mobile terminal
CN103617218A (en) Light application creating method and clients
CN103687059B (en) Set up the method and device connected between computing device and mobile device
CN104967646B (en) Document down loading method and device
CN105516982A (en) Method, device and system for realizing automatic connection with wireless WIFI network
CN103888505B (en) A kind of method, system, terminal device and the server of file transmission
CN104537022B (en) Method, browser client and the device that browser information is shared
CN104619039A (en) Terminal equipment interconnection method and system in wireless local area network (WLAN) and terminal equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140903

RJ01 Rejection of invention patent application after publication