CN108196907A - A kind of method and device for operating application program - Google Patents
A kind of method and device for operating application program Download PDFInfo
- Publication number
- CN108196907A CN108196907A CN201711466566.3A CN201711466566A CN108196907A CN 108196907 A CN108196907 A CN 108196907A CN 201711466566 A CN201711466566 A CN 201711466566A CN 108196907 A CN108196907 A CN 108196907A
- Authority
- CN
- China
- Prior art keywords
- platform
- parameter
- application program
- operating
- target
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44568—Immediately runnable code
- G06F9/44578—Preparing or optimising for loading
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
技术领域technical field
本发明涉及互联网技术领域,尤其涉及一种操作应用程序的方法及装置。The present invention relates to the technical field of the Internet, in particular to a method and device for operating application programs.
背景技术Background technique
随着网络技术的发展,互联网已经越来越广泛地普及到工作生活的多个角落,例如,工作方式、商业模式、企业形态、文化传播等都因为互联网而发生了巨大变化。With the development of network technology, the Internet has become more and more popular in many corners of work and life. For example, work methods, business models, corporate forms, and cultural communication have all undergone tremendous changes due to the Internet.
从互联网上可以获取到海量的应用,如与娱乐有关的应用、与学习有关的应用,与生活有关的应用等,随着应用数量的增加,能够提供应用的平台也在增加,例如,对于某一款游戏,可以从多个平台获取。虽然提供某一应用的平台有多个,但是用户操作该应用时并不能选择,只能通过系统默认的平台去操作,但是在不同平台下同一应用的操作效果可能是不同的,例如,游戏A在各个平台运行的流畅度不同,或者游戏A在各个平台运行时插入的广告的时间不同等,如果直接采用系统默认的平台操作应用的话,该应用在默认的平台下运行效果可能较差,因此,目前操作应用程序的方法存在效果较差的缺陷。A large number of applications can be obtained from the Internet, such as entertainment-related applications, learning-related applications, and life-related applications. With the increase in the number of applications, the platforms that can provide applications are also increasing. For example, for a certain One game, available on multiple platforms. Although there are multiple platforms that provide an application, the user cannot choose when operating the application, and can only operate through the default platform of the system. However, the operation effect of the same application on different platforms may be different. For example, game A The smoothness of running on each platform is different, or the time of the advertisement inserted by game A is different when running on each platform, etc. If the application is directly operated on the default platform of the system, the running effect of the application on the default platform may be poor, so , the current method of manipulating applications suffers from the disadvantage of being less effective.
发明内容Contents of the invention
鉴于上述问题,提出了本发明,以便提供一种克服上述问题或者至少部分地解决上述问题的一种操作应用程序的方法及装置,用于解决现有技术中存在的操作应用程序效果较差的缺陷。In view of the above problems, the present invention is proposed in order to provide a method and device for operating application programs that overcome the above problems or at least partially solve the above problems, and are used to solve the problem of poor operating application programs existing in the prior art defect.
依据本发明的第一方面,提供了一种操作应用程序的方法,包括:According to a first aspect of the present invention, a method for operating an application program is provided, including:
接收客户端发送的用于操作应用程序的请求;Receive the request sent by the client for operating the application;
确定包括有所述应用程序的至少一个平台;determining at least one platform that includes the application;
从所述至少一个平台中筛选出目标平台,并将所述目标平台推荐至所述客户端。Screening out a target platform from the at least one platform, and recommending the target platform to the client.
在一个实施方式中,根据本发明的上述实施方式所述的方法,从所述至少一个平台中筛选出目标平台,包括:In one embodiment, according to the method described in the above-mentioned embodiments of the present invention, screening out the target platform from the at least one platform includes:
将所述至少一个平台进行排序,并将排序后的前N位或者后N位平台作为所述目标平台,所述N为大于0的整数。Sorting the at least one platform, and using the top N or bottom N platforms after sorting as the target platform, where N is an integer greater than 0.
在一些实施方式中,根据本发明的上述任一实施方式所述的方法,将所述至少一个平台进行排序,包括:In some implementations, according to the method described in any one of the above-mentioned implementations of the present invention, sorting the at least one platform includes:
根据表示平台方便度的第一参数、表示平台活跃度的第二参数、表示平台成熟度的第三参数和表示平台福利程度的第四参数中的至少一种参数将所述至少一个平台进行排序。The at least one platform is sorted according to at least one of the first parameter representing platform convenience, the second parameter representing platform activity, the third parameter representing platform maturity, and the fourth parameter representing platform welfare .
在一些实施方式中,根据本发明的上述任一实施方式所述的方法,所述第一参数为在平台中是否能够快速登录所述应用程序的参数;In some implementations, according to the method described in any one of the above-mentioned implementations of the present invention, the first parameter is a parameter of whether the application can be quickly logged into the platform;
当在平台中能够快速登录所述应用程序时,所述第一参数的值为1;当在平台中不能够快速登录所述应用程序时,所述第一参数的值为0。When the application program can be logged in quickly on the platform, the value of the first parameter is 1; when the application program cannot be logged in quickly on the platform, the value of the first parameter is 0.
在一些实施方式中,根据本发明的上述任一实施方式所述的方法,所述第二参数为当前时间减去服务器的开服时间的差值。In some implementations, according to the method described in any one of the above-mentioned implementations of the present invention, the second parameter is the difference between the current time minus the service opening time of the server.
在一些实施方式中,根据本发明的上述任一实施方式所述的方法,所述第三参数为平台的日均互联网协议IP值、平台的页面浏览PV值及平台的独立访客UV值中的至少一种。In some implementations, according to the method described in any one of the above-mentioned implementations of the present invention, the third parameter is the daily average Internet Protocol IP value of the platform, the page browsing PV value of the platform, and the independent visitor UV value of the platform. at least one.
在一些实施方式中,根据本发明的上述任一实施方式所述的方法,所述第四参数为操作应用程序时平台是否推送奖励的参数;In some implementations, according to the method described in any one of the above-mentioned implementations of the present invention, the fourth parameter is a parameter of whether the platform pushes rewards when operating the application;
当操作所述应用程序时平台有奖励推送,所述第四参数的值为1,当操作所述应用程序时平台没有奖励推送,所述第四参数的值为0。When the application program is operated, the platform has a reward push, and the value of the fourth parameter is 1; when the application program is operated, the platform has no reward push, and the value of the fourth parameter is 0.
在一些实施方式中,根据本发明的上述任一实施方式所述的方法,确定包括有所述应用程序的至少一个平台,包括:In some implementations, according to the method described in any one of the above-mentioned implementations of the present invention, determining at least one platform including the application program includes:
从所述用于操作应用程序的请求中获取所述应用程序的标识;Obtaining the identification of the application program from the request for operating the application program;
根据所述应用程序的标识确定包括有所述应用程序的至少一个平台。At least one platform including the application program is determined according to the identification of the application program.
在本发明实施方式的第二方面中,提供了一种操作应用程序的方法,包括:In a second aspect of the embodiments of the present invention, a method for operating an application is provided, including:
接收到操作应用程序的指示时,向服务器发送用于操作所述应用程序的请求;When receiving an instruction to operate the application, send a request for operating the application to the server;
接收所述服务器推荐的目标平台,并基于所述目标平台操作所述应用程序。The target platform recommended by the server is received, and the application program is operated based on the target platform.
在一个实施方式中,根据本发明的上述实施方式所述的方法,若所述目标平台为一个平台,基于所述目标平台操作所述应用程序,包括:In one embodiment, according to the method described in the above embodiments of the present invention, if the target platform is a platform, operating the application program based on the target platform includes:
直接通过所述目标平台操作所述应用程序。Operate the application directly through the target platform.
在一些实施方式中,根据本发明的上述任一实施方式所述的方法,若所述目标平台为排序后的前N位平台或者后N位平台,基于所述目标平台操作所述应用程序,包括:In some implementations, according to the method described in any one of the above-mentioned implementations of the present invention, if the target platform is the top N platform or the bottom N platform after sorting, the application program is operated based on the target platform, include:
通过所述前N位平台中的首位平台操作所述应用程序;或者,通过所述后N位平台中的末位平台操作所述应用程序。The application program is operated through the first platform among the first N platforms; or, the application program is operated through the last platform among the last N platforms.
在本发明实施方式的第三方面中,提供了一种操作应用程序的装置,包括:In a third aspect of the embodiments of the present invention, a device for operating an application program is provided, including:
接收单元,用于接收客户端发送的用于操作应用程序的请求;a receiving unit, configured to receive a request for operating an application program sent by the client;
确定单元,用于确定包括有所述应用程序的至少一个平台;a determining unit configured to determine at least one platform including the application program;
筛选单元,用于从所述至少一个平台中筛选出目标平台;a screening unit, configured to screen out a target platform from the at least one platform;
发送单元,用于将所述目标平台推荐至所述客户端。A sending unit, configured to recommend the target platform to the client.
在一个实施方式中,根据本发明的上述实施方式所述的装置,所述筛选单元从所述至少一个平台中筛选出目标平台,包括:In one embodiment, according to the device described in the above embodiments of the present invention, the screening unit screens out the target platform from the at least one platform, including:
将所述至少一个平台进行排序,并将排序后的前N位或者后N位平台作为所述目标平台,所述N为大于0的整数。Sorting the at least one platform, and using the top N or bottom N platforms after sorting as the target platform, where N is an integer greater than 0.
在一些实施方式中,根据本发明的上述任一实施方式所述的装置,所述筛选单元将所述至少一个平台进行排序,包括:In some embodiments, according to the device described in any one of the above embodiments of the present invention, the screening unit sorts the at least one platform, including:
根据表示平台方便度的第一参数、表示平台活跃度的第二参数、表示平台成熟度的第三参数和表示平台福利程度的第四参数中的至少一种参数将所述至少一个平台进行排序。The at least one platform is sorted according to at least one of the first parameter representing platform convenience, the second parameter representing platform activity, the third parameter representing platform maturity, and the fourth parameter representing platform welfare .
在一些实施方式中,根据本发明的上述任一实施方式所述的装置,所述第一参数为在平台中是否能够快速登录所述应用程序的参数;In some implementations, according to the device described in any one of the above-mentioned implementations of the present invention, the first parameter is a parameter of whether the application can be quickly logged into the platform;
当在平台中能够快速登录所述应用程序时,所述第一参数的值为1;当在平台中不能够快速登录所述应用程序时,所述第一参数的值为0。When the application program can be logged in quickly on the platform, the value of the first parameter is 1; when the application program cannot be logged in quickly on the platform, the value of the first parameter is 0.
在一些实施方式中,根据本发明的上述任一实施方式所述的装置,所述第二参数为当前时间减去服务器的开服时间的差值。In some implementation manners, according to the device described in any one of the above implementation manners of the present invention, the second parameter is a difference between the current time minus the server opening time of the server.
在一些实施方式中,根据本发明的上述任一实施方式所述的装置,所述第三参数为平台的日均互联网协议IP值、平台的页面浏览PV值及平台的独立访客UV值中的至少一种。In some implementations, according to the device described in any one of the above-mentioned implementations of the present invention, the third parameter is the daily average Internet Protocol IP value of the platform, the page browsing PV value of the platform, and the independent visitor UV value of the platform. at least one.
在一些实施方式中,根据本发明的上述任一实施方式所述的装置,所述第四参数为操作应用程序时平台是否推送奖励的参数;In some implementations, according to the device described in any one of the above-mentioned implementations of the present invention, the fourth parameter is a parameter of whether the platform pushes rewards when operating the application;
当操作所述应用程序时平台有奖励推送,所述第四参数的值为1,当操作所述应用程序时平台没有奖励推送,所述第四参数的值为0。When the application program is operated, the platform has a reward push, and the value of the fourth parameter is 1; when the application program is operated, the platform has no reward push, and the value of the fourth parameter is 0.
在一些实施方式中,根据本发明的上述任一实施方式所述的装置,所述确定单元确定包括有所述应用程序的至少一个平台,包括:In some implementations, according to the device described in any one of the above implementations of the present invention, the determining unit determines at least one platform including the application program, including:
从所述用于操作应用程序的请求中获取所述应用程序的标识;Obtaining the identification of the application program from the request for operating the application program;
根据所述应用程序的标识确定包括有所述应用程序的至少一个平台。At least one platform including the application program is determined according to the identification of the application program.
依据本发明的第四方面,提供了一种操作应用程序的装置,包括:According to a fourth aspect of the present invention, a device for operating an application program is provided, including:
接收单元,用于接收操作应用程序的指示;a receiving unit, configured to receive an instruction to operate the application program;
发送单元,用于在所述接收单元接收到所述指示时,向服务器发送用于操作所述应用程序的请求;a sending unit, configured to send a request for operating the application program to a server when the receiving unit receives the instruction;
所述接收单元还用于,接收所述服务器推荐的目标平台;The receiving unit is further configured to receive the target platform recommended by the server;
操作单元,用于基于所述目标平台操作所述应用程序。An operating unit, configured to operate the application program based on the target platform.
在一个实施方式中,根据本发明的上述实施方式所述的装置,若所述目标平台为一个平台,所述操作单元基于所述目标平台操作所述应用程序,包括:In one embodiment, according to the device described in the above embodiments of the present invention, if the target platform is a platform, the operating unit operates the application program based on the target platform, including:
直接通过所述目标平台操作所述应用程序。Operate the application directly through the target platform.
在一些实施方式中,根据本发明的上述任一实施方式所述的装置,若所述目标平台为排序后的前N位平台或者后N位平台,所述操作单元基于所述目标平台操作所述应用程序,包括:In some implementations, according to the device described in any one of the above-mentioned implementations of the present invention, if the target platform is the top N platform or the bottom N platform after sorting, the operating unit operates the target platform based on the target platform. applications, including:
通过所述前N位平台中的首位平台操作所述应用程序;或者,通过所述后N位平台中的末位平台操作所述应用程序。The application program is operated through the first platform among the first N platforms; or, the application program is operated through the last platform among the last N platforms.
依据本发明的第五方面,提供了一种操作应用程序的装置,包括:According to a fifth aspect of the present invention, a device for operating an application program is provided, including:
一个或者多个处理器;one or more processors;
存储器;memory;
存储在所述存储器中的程序,当被所述一个或者多个处理器执行时,所述程序使所述处理器执行如上述任意一项所述的方法。A program stored in the memory that, when executed by the one or more processors, causes the processors to perform the method as described in any one of the above.
依据本发明的第六方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有程序,当所述程序被处理器执行时,使得所述处理器执行如上述任意一项所述的方法。According to a sixth aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium stores a program, and when the program is executed by a processor, the processor performs any one of the above-mentioned the method described.
本发明实施例中,提供一种操作应用程序的方法,包括:接收客户端发送的用于操作应用程序的请求;确定包括有所述应用程序的至少一个平台;从所述至少一个平台中筛选出目标平台,并将所述目标平台推荐至所述客户端;在该方案中,客户端要操作应用程序时,会从包括应用程序的多个平台中筛选出目标平台,并推荐至客户端,客户端通过推荐的平台中的任意一平台操作应用程序,并不是通过默认的平台操作应用程序,因此,可以提高操作应用程序的效果。In an embodiment of the present invention, a method for operating an application program is provided, including: receiving a request for operating an application program sent by a client; determining at least one platform including the application program; and screening the at least one platform from the at least one platform Select the target platform, and recommend the target platform to the client; in this scheme, when the client wants to operate the application, it will filter out the target platform from multiple platforms including the application, and recommend it to the client , the client operates the application program through any one of the recommended platforms, instead of operating the application program through the default platform, so the effect of operating the application program can be improved.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。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 parts. In the attached picture:
图1是根据本发明的实施例提出的操作应用程序的一种流程图;Fig. 1 is a kind of flowchart of the operation application program that proposes according to the embodiment of the present invention;
图2是根据本发明的实施例提出的操作应用程序的另一种流程图;Fig. 2 is another kind of flowchart of the operation application program that proposes according to the embodiment of the present invention;
图3是根据本发明的实施例提出的操作应用程序的装置的一种示意图;FIG. 3 is a schematic diagram of a device for operating an application program according to an embodiment of the present invention;
图4是根据本发明的实施例提出的操作应用程序的装置的一种示意图。Fig. 4 is a schematic diagram of a device for operating an application program according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。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.
图1示意性地示出了根据本发明实施方式的操作应用程序的方法10的流程示意图。如图1所示,该方法10可以包括步骤100、110和120。Fig. 1 schematically shows a flow diagram of a method 10 for operating an application program according to an embodiment of the present invention. As shown in FIG. 1 , the method 10 may include steps 100 , 110 and 120 .
步骤100:接收客户端发送的用于操作应用程序的请求;Step 100: Receive a request for operating an application sent by a client;
步骤110:确定包括有所述应用程序的至少一个平台;Step 110: Determine at least one platform including the application program;
步骤120:从所述至少一个平台中筛选出目标平台,并将所述目标平台推荐至所述客户端。Step 120: Screen out a target platform from the at least one platform, and recommend the target platform to the client.
例如,客户要操作游戏A,向服务器发送操作游戏A的请求,服务器确定包括有游戏A的平台,如有10个平台,并从10个平台中筛选出目标平台,如筛选出平台1、平台4、平台6、平台9,并将这4个平台推荐至客户端。For example, the client wants to operate game A, and sends a request to the server to operate game A. The server determines the platforms that include game A. For example, there are 10 platforms, and selects the target platform from the 10 platforms. For example, platform 1, platform 4. Platform 6 and Platform 9, and recommend these 4 platforms to the client.
本发明实施例中,从所述至少一个平台中筛选出目标平台时,可选地,可以采用如下方式:In the embodiment of the present invention, when screening out the target platform from the at least one platform, optionally, the following method may be adopted:
将所述至少一个平台进行排序,并将排序后的前N位或者后N位平台作为所述目标平台,所述N为大于0的整数。Sorting the at least one platform, and using the top N or bottom N platforms after sorting as the target platform, where N is an integer greater than 0.
例如,将至少一个平台按照降序排序的话,将排序后的前N位作为目标平台;将至少一个平台按照升序排序的话,将排序后的后N位平台作为目标平台。For example, if at least one platform is sorted in descending order, the top N platforms after sorting are used as target platforms; if at least one platform is sorted in ascending order, the last N platforms after sorting are used as target platforms.
本发明实施例中,为了提高用户操作应用程序的效率,将目标平台推荐至客户端的话,目标平台可以是排序后的平台,例如,按照平台2、平台6、平台8这样的降序排序方式,这样用户直接可以选择首位的平台2来操作应用。In the embodiment of the present invention, in order to improve the efficiency of the user's operation of the application program, if the target platform is recommended to the client, the target platform may be a sorted platform, for example, according to the descending order of platform 2, platform 6, and platform 8, In this way, the user can directly select the first platform 2 to operate the application.
本发明实施例中,将所述至少一个平台进行排序时,可选地,可以采用如下方式:In the embodiment of the present invention, when the at least one platform is sorted, optionally, the following method may be adopted:
根据表示平台方便度的第一参数、表示平台活跃度的第二参数、表示平台成熟度的第三参数和表示平台福利程度的第四参数中的至少一种参数将所述至少一个平台进行排序。The at least one platform is sorted according to at least one of the first parameter representing platform convenience, the second parameter representing platform activity, the third parameter representing platform maturity, and the fourth parameter representing platform welfare .
例如,根据第一参数对至少一个平台排序,或者根据第二参数对至少一个平台排序,或者根据第三参数对至少一个平台排序,或者根据第一参数、第二参数对至少一个平台排序,或者根据第一参数、第二参数、第三参数和第四参数对至少一个平台排序。For example, sort at least one platform according to the first parameter, or sort at least one platform according to the second parameter, or sort at least one platform according to the third parameter, or sort at least one platform according to the first parameter and the second parameter, or At least one platform is sorted according to the first parameter, the second parameter, the third parameter and the fourth parameter.
当然,上述四个参数只是几种示例,并不限定于此。Of course, the above four parameters are just some examples and are not limited thereto.
本发明实施例中,能够表示平台方便度的第一参数可能有多种,可选地,所述第一参数为在平台中是否能够快速登录所述应用程序的参数;In the embodiment of the present invention, there may be multiple first parameters that can represent the convenience of the platform. Optionally, the first parameter is a parameter of whether the application program can be quickly logged in on the platform;
当在平台中能够快速登录所述应用程序时,所述第一参数的值为1;当在平台中不能够快速登录所述应用程序时,所述第一参数的值为0。When the application program can be logged in quickly on the platform, the value of the first parameter is 1; when the application program cannot be logged in quickly on the platform, the value of the first parameter is 0.
其中,能够快速登录应用程序可以直接将客户端当前浏览器的登录帐号和密码传递至应用程序。Wherein, being able to quickly log in to the application program may directly transfer the login account and password of the client's current browser to the application program.
例如,用户用帐号和密码进入浏览器1,并在浏览器1中点击游戏A的图标,通过平台B运行游戏A时,可以直接以用户在浏览器1的帐号和密码自动登录游戏A,并不需要用户注册游戏A,也不需要用户登录游戏A,在这种情况下,平台B的第一参数的值为1。For example, when a user enters browser 1 with an account number and password, and clicks on the icon of game A in browser 1, when running game A through platform B, the user can automatically log in to game A directly with the user's account number and password in browser 1, and The user is not required to register for game A, nor is the user required to log in to game A. In this case, the value of the first parameter of platform B is 1.
又例如,用户用帐号和密码进入浏览器1,并在浏览器1中点击游戏A的图标,通过平台C运行游戏A时,需要用户注册游戏A,并采用注册后的帐号和密码登录游戏A,不能直接以用户在浏览器1的帐号和密码登录游戏A,在这种情况下,平台C的第一参数的值为0。For another example, the user enters browser 1 with an account number and password, and clicks the icon of game A in browser 1. When running game A through platform C, the user needs to register game A, and log in to game A with the registered account number and password. , the user cannot log in to game A directly with the account and password of the user in browser 1. In this case, the value of the first parameter of platform C is 0.
当然,上述只是第一参数的示例,第一参数也可以是其他参数,在此不做限定。Of course, the above is only an example of the first parameter, and the first parameter may also be other parameters, which are not limited here.
本发明实施例中,所述第二参数为当前时间减去服务器的开服时间的差值,当然,也可以是其他能够表示平台活跃度的参数,在此不做具体限定。In the embodiment of the present invention, the second parameter is the difference between the current time minus the service start time of the server. Of course, it can also be other parameters that can represent the activity of the platform, and it is not specifically limited here.
本发明实施例中,可选地,所述第三参数为平台的日均IP(Internet Protocol,互联网协议)值、平台的PV(page view,页面浏览)值及平台的UV(unique visitor,独立访客)值中的至少一种。In the embodiment of the present invention, optionally, the third parameter is the daily average IP (Internet Protocol, Internet Protocol) value of the platform, the PV (page view, page browsing) value of the platform, and the UV (unique visitor of the platform, independent Visitor) at least one of the values.
本发明实施例中,可选地,所述第四参数为操作应用程序时平台是否推送奖励的参数;In the embodiment of the present invention, optionally, the fourth parameter is a parameter of whether the platform pushes rewards when operating the application program;
当通过平台操作所述应用程序时平台有奖励推送,平台的第四参数的值为1,当通过平台操作所述应用程序时平台没有奖励推送,平台的第四参数的值为0。When the application program is operated through the platform, the platform has a reward push, and the value of the fourth parameter of the platform is 1; when the application program is operated through the platform, the platform has no reward push, and the value of the fourth parameter of the platform is 0.
例如,当通过平台1运行游戏A时,平台1推送大礼包,则平台1的第四参数为1,当通过平台2运行游戏A时,平台2不推送大礼包,则平台2的第四参数为0。For example, when running game A through platform 1, platform 1 pushes a big gift package, then the fourth parameter of platform 1 is 1; when running game A through platform 2, platform 2 does not push a big gift package, then the fourth parameter of platform 2 is 0.
本发明实施例中,根据多个参数对至少一个平台进行排序时,可以采用如下方式:In the embodiment of the present invention, when at least one platform is sorted according to multiple parameters, the following methods can be adopted:
计算各个参数与对应的权重值的乘积,并计算所有乘积之和;Calculate the product of each parameter and the corresponding weight value, and calculate the sum of all products;
并根据所有乘积之和对至少一个平台进行排序。And sort at least one platform based on the sum of all products.
例如,有3个平台:平台1、平台2和平台3,针对平台1,计算第一参数1*第一权重值+第二参数1*第二权重值+第三参数1*第三权重值+第四参数1*第四权重值;针对平台2,计算第一参数2*第一权重值+第二参数2*第二权重值+第三参数2*第三权重值+第四参数2*第四权重值;针对平台3,计算第一参数3*第一权重值+第二参数3*第二权重值+第三参数3*第三权重值+第四参数3*第四权重值,并根据计算的乘积之和对平台1、平台2和平台3进行排序。For example, there are 3 platforms: platform 1, platform 2, and platform 3. For platform 1, calculate the first parameter 1*first weight value+second parameter 1*second weight value+third parameter 1*third weight value + fourth parameter 1*fourth weight value; for platform 2, calculate first parameter 2*first weight value+second parameter 2*second weight value+third parameter 2*third weight value+fourth parameter 2 *fourth weight value; for platform 3, calculate the first parameter 3*first weight value+second parameter 3*second weight value+third parameter 3*third weight value+fourth parameter 3*fourth weight value , and sort platform 1, platform 2, and platform 3 according to the calculated sum of products.
需要说明的是,在各个平台下各个参数的值可能是不同的,但是同一参数对应的权重值是相同的,例如,对于第一参数,第一平台的第一参数是0,第二平台的第一参数是1,但是第一平台的第一参数的权重值和第二平台的第二参数的权重值是相同的。It should be noted that the value of each parameter may be different under each platform, but the weight value corresponding to the same parameter is the same. For example, for the first parameter, the first parameter of the first platform is 0, and the weight value of the second platform is 0. The first parameter is 1, but the weight value of the first parameter of the first platform and the weight value of the second parameter of the second platform are the same.
例如,对于第一平台:第一参数1*第一权重值+第二参数1*第二权重值+第三参数1*第三权重值+第四参数1*第四权重值=20*0+10*3600+0.1*7686543+1*20;对于第二平台:第一参数2*第一权重值+第二参数2*第二权重值+第三参数2*第三权重值+第四参数2*第四权重值=20*1+10*7200+0.1*1866543+1*20;对于第三平台:第一参数3*第一权重值+第二参数3*第二权重值+第三参数3*第三权重值+第四参数3*第四权重值=20*1+10*7200+0.1*866543+1*20;第二平台的上述乘积之和大于第一平台的上述乘积之和,第一平台的上述乘积之和大于第三平台的上述乘积之和,因此,上述平台的排序为第二平台、第一平台、第三平台。For example, for the first platform: first parameter 1*first weight value+second parameter 1*second weight value+third parameter 1*third weight value+fourth parameter 1*fourth weight value=20*0 +10*3600+0.1*7686543+1*20; for the second platform: first parameter 2*first weight value+second parameter 2*second weight value+third parameter 2*third weight value+fourth Parameter 2*fourth weight value=20*1+10*7200+0.1*1866543+1*20; for the third platform: first parameter 3*first weight value+second parameter 3*second weight value+second Three parameters 3*third weight value+fourth parameter 3*fourth weight value=20*1+10*7200+0.1*866543+1*20; the sum of the above products of the second platform is greater than the above products of the first platform The sum of the above-mentioned products of the first platform is greater than the sum of the above-mentioned products of the third platform. Therefore, the order of the above-mentioned platforms is the second platform, the first platform, and the third platform.
在实际应用中,第三参数的数值可能远远大于其他参数的数值,这样,其他参数对乘积之和的影响较小,为了降低这种差异,对于第三参数,可以对第三参数的值进行减小处理,如在计算时可以采用减小处理后的第三参数与权重值相乘,如将第三参数除以1000之后的整数与对应的权重值相乘,如第三参数为7686543,在计算时采用768与权重值相乘。当然,如果其他参数的值远远小于其他参数的数值的话,也可以对该参数进行增大处理,例如,第一参数、第二参数和第三参数的数值一般在100以内,第四参数的数值在0.001-0之间,此时,可以将第四参数增加,如将第四参数扩大1000倍,并将扩大1000倍后的值与对应的权重值相乘。In practical applications, the value of the third parameter may be much larger than the values of other parameters, so that other parameters have less influence on the sum of products. In order to reduce this difference, for the third parameter, the value of the third parameter can be adjusted Perform reduction processing. For example, the third parameter after reduction processing can be used to multiply the weight value during calculation. For example, the integer after dividing the third parameter by 1000 is multiplied by the corresponding weight value. For example, the third parameter is 7686543 , when calculating, use 768 to multiply the weight value. Of course, if the values of other parameters are far smaller than the values of other parameters, the parameters can also be increased. For example, the values of the first parameter, the second parameter and the third parameter are generally within 100, and the values of the fourth parameter The value is between 0.001-0. At this time, the fourth parameter can be increased, for example, the fourth parameter can be enlarged by 1000 times, and the value enlarged by 1000 times can be multiplied by the corresponding weight value.
上述四个参数只是几种示例,并不限定于此,例如,在排序时也可以参考应用程序在该平台是否打折的参数,或者应用程序在该平台运行时插入的广告的时间参数等,但是不论几种参数,根据参数对平台排序的方式的原理是相同的,在此不再进行详述。The above four parameters are just a few examples and are not limited to them. For example, when sorting, you can also refer to the parameters of whether the application is discounted on the platform, or the time parameters of the advertisement inserted when the application is running on the platform, etc., but Regardless of several parameters, the principle of sorting the platforms according to the parameters is the same, and will not be described in detail here.
本发明实施例中,筛选出的目标平台可以是至少一个平台中的全部平台,或者是至少一个平台中的部分平台,在此不做具体限定。In the embodiment of the present invention, the selected target platforms may be all platforms in at least one platform, or some platforms in at least one platform, which are not specifically limited here.
例如,排序后的至少一个平台为:平台2、平台5、平台3、平台1、平台4,目标平台可以为上述5个平台,或者也可以是平台2、平台5、平台3,或者也可以是平台1。For example, at least one platform after sorting is: platform 2, platform 5, platform 3, platform 1, and platform 4, and the target platform can be the above-mentioned 5 platforms, or it can also be platform 2, platform 5, platform 3, or it can also be is platform 1.
本发明实施例中,确定包括有所述应用程序的至少一个平台的方式有多种,可选地,可以采用如下方式:In the embodiment of the present invention, there are many ways to determine at least one platform including the application program. Optionally, the following ways can be used:
从所述用于操作应用程序的请求中获取所述应用程序的标识;Obtaining the identification of the application program from the request for operating the application program;
根据所述应用程序的标识确定包括有所述应用程序的至少一个平台。At least one platform including the application program is determined according to the identification of the application program.
其中,从用于操作应用程序的请求中获取所述应用程序的标识时,可以为对客户端当前浏览器的地址规则进行分析获取应用程序的标识,当然,也可以是其他方式,在此不做具体限定。Wherein, when obtaining the identification of the application program from the request for operating the application program, the identification of the application program may be obtained by analyzing the address rules of the current browser of the client. Be specific.
其中,应用程序的标识有多种,例如,应用程序的名称,如游戏的名称。Wherein, there are many kinds of identifiers of the application program, for example, the name of the application program, such as the name of the game.
在该方案中,客户端要操作应用程序时,会从包括应用程序的多个平台中筛选出目标平台,并推荐至客户端,客户端通过推荐的平台中的任意一平台操作应用程序,并不是通过默认的平台操作应用程序,因此,可以提高操作应用程序的效果。In this solution, when the client wants to operate the application, it will filter out the target platform from multiple platforms including the application and recommend it to the client. The client operates the application through any one of the recommended platforms, and The application is not operated through the default platform, therefore, the effect of operating the application can be improved.
参阅图2所示,本发明实施例中,还提出一种操作应用程序的方法20,包括:Referring to FIG. 2, in the embodiment of the present invention, a method 20 for operating an application program is also proposed, including:
步骤200:接收到操作应用程序的指示时,向服务器发送用于操作所述应用程序的请求;Step 200: When receiving an instruction to operate the application, send a request for operating the application to the server;
步骤210:接收所述服务器推荐的目标平台,并基于所述目标平台操作所述应用程序。Step 210: Receive the target platform recommended by the server, and operate the application program based on the target platform.
例如,用户点击客户端的浏览器中游戏A的链接,此时,客户端向服务器发送用于操作游戏A的请求,并接收服务器推荐的平台,并基于推荐的平台操作游戏A。For example, the user clicks the link of game A in the browser of the client, at this time, the client sends a request for operating game A to the server, receives the platform recommended by the server, and operates game A based on the recommended platform.
需要说明的是,服务器推荐的目标平台可能有一个,也可能有多个,当所述目标平台为一个平台时,基于所述目标平台操作所述应用程序时,可选地,可以直接通过所述目标平台操作所述应用程序。当所述目标平台为排序后的前N位平台或者后N位平台时,基于所述目标平台操作所述应用程序时,可选地,可以采用如下方式:It should be noted that there may be one or more target platforms recommended by the server. When the target platform is one platform, when operating the application based on the target platform, optionally, the The target platform operates the application. When the target platform is the top N platform or the last N platform after sorting, when operating the application program based on the target platform, optionally, the following method may be used:
通过所述前N位平台中的首位平台操作所述应用程序;或者,通过所述后N位平台中的末位平台操作所述应用程序。The application program is operated through the first platform among the first N platforms; or, the application program is operated through the last platform among the last N platforms.
其中,前N位平台可以是降序排序后的平台中的前N位,后N位平台可以是升序排序后的平台中的末位平台。Wherein, the top N platforms may be the top N platforms among the platforms sorted in descending order, and the bottom N platforms may be the last platforms among the platforms sorted in ascending order.
本发明实施例中,提出一种操作应用程序的装置30,包括:In the embodiment of the present invention, a device 30 for operating application programs is proposed, including:
接收单元300,用于接收客户端发送的用于操作应用程序的请求;a receiving unit 300, configured to receive a request for operating an application program sent by a client;
确定单元310,用于确定包括有所述应用程序的至少一个平台;A determining unit 310, configured to determine at least one platform including the application program;
筛选单元320,用于从所述至少一个平台中筛选出目标平台;A screening unit 320, configured to screen out a target platform from the at least one platform;
发送单元330,用于将所述目标平台推荐至所述客户端。A sending unit 330, configured to recommend the target platform to the client.
例如,客户要操作游戏A,向服务器发送操作游戏A的请求,服务器确定包括有游戏A的平台,如有10个平台,并从10个平台中筛选出目标平台,如筛选出平台1、平台4、平台6、平台9,并将这4个平台推荐至客户端。For example, the client wants to operate game A, and sends a request to the server to operate game A. The server determines the platforms that include game A. For example, there are 10 platforms, and selects the target platform from the 10 platforms. For example, platform 1, platform 4. Platform 6 and Platform 9, and recommend these 4 platforms to the client.
本发明实施例中,所述筛选单元320从所述至少一个平台中筛选出目标平台,包括:In the embodiment of the present invention, the screening unit 320 screens out the target platform from the at least one platform, including:
将所述至少一个平台进行排序,并将排序后的前N位或者后N位平台作为所述目标平台,所述N为大于0的整数。Sorting the at least one platform, and using the top N or bottom N platforms after sorting as the target platform, where N is an integer greater than 0.
例如,将至少一个平台按照降序排序的话,将排序后的前N位作为目标平台;将至少一个平台按照升序排序的话,将排序后的后N位平台作为目标平台。For example, if at least one platform is sorted in descending order, the top N platforms after sorting are used as target platforms; if at least one platform is sorted in ascending order, the last N platforms after sorting are used as target platforms.
本发明实施例中,为了提高用户操作应用程序的效率,将目标平台推荐至客户端的话,目标平台可以是排序后的平台,例如,按照平台2、平台6、平台8这样的降序排序方式,这样用户直接可以选择首位的平台2来操作应用。In the embodiment of the present invention, in order to improve the efficiency of the user's operation of the application program, if the target platform is recommended to the client, the target platform may be a sorted platform, for example, according to the descending order of platform 2, platform 6, and platform 8, In this way, the user can directly select the first platform 2 to operate the application.
本发明实施例中,所述筛选单元320将所述至少一个平台进行排序,包括:In the embodiment of the present invention, the screening unit 320 sorts the at least one platform, including:
根据表示平台方便度的第一参数、表示平台活跃度的第二参数、表示平台成熟度的第三参数和表示平台福利程度的第四参数中的至少一种参数将所述至少一个平台进行排序。The at least one platform is sorted according to at least one of the first parameter representing platform convenience, the second parameter representing platform activity, the third parameter representing platform maturity, and the fourth parameter representing platform welfare .
例如,根据第一参数对至少一个平台排序,或者根据第二参数对至少一个平台排序,或者根据第三参数对至少一个平台排序,或者根据第一参数、第二参数对至少一个平台排序,或者根据第一参数、第二参数、第三参数和第四参数对至少一个平台排序。For example, sort at least one platform according to the first parameter, or sort at least one platform according to the second parameter, or sort at least one platform according to the third parameter, or sort at least one platform according to the first parameter and the second parameter, or At least one platform is sorted according to the first parameter, the second parameter, the third parameter and the fourth parameter.
当然,上述四个参数只是几种示例,并不限定于此。Of course, the above four parameters are just some examples and are not limited thereto.
本发明实施例中,能够表示平台方便度的第一参数可能有多种,可选地,所述第一参数为在平台中是否能够快速登录所述应用程序的参数;In the embodiment of the present invention, there may be multiple first parameters that can represent the convenience of the platform. Optionally, the first parameter is a parameter of whether the application program can be quickly logged in on the platform;
当在平台中能够快速登录所述应用程序时,所述第一参数的值为1;当在平台中不能够快速登录所述应用程序时,所述第一参数的值为0。When the application program can be logged in quickly on the platform, the value of the first parameter is 1; when the application program cannot be logged in quickly on the platform, the value of the first parameter is 0.
其中,能够快速登录应用程序可以直接将客户端当前浏览器的登录帐号和密码传递至应用程序。Wherein, being able to quickly log in to the application program may directly transfer the login account and password of the client's current browser to the application program.
例如,用户用帐号和密码进入浏览器1,并在浏览器1中点击游戏A的图标,通过平台B运行游戏A时,可以直接以用户在浏览器1的帐号和密码自动登录游戏A,并不需要用户注册游戏A,也不需要用户登录游戏A,在这种情况下,平台B的第一参数的值为1。For example, when a user enters browser 1 with an account number and password, and clicks on the icon of game A in browser 1, when running game A through platform B, the user can automatically log in to game A directly with the user's account number and password in browser 1, and The user is not required to register for game A, nor is the user required to log in to game A. In this case, the value of the first parameter of platform B is 1.
又例如,用户用帐号和密码进入浏览器1,并在浏览器1中点击游戏A的图标,通过平台C运行游戏A时,需要用户注册游戏A,并采用注册后的帐号和密码登录游戏A,不能直接以用户在浏览器1的帐号和密码登录游戏A,在这种情况下,平台C的第一参数的值为0。For another example, the user enters browser 1 with an account number and password, and clicks the icon of game A in browser 1. When running game A through platform C, the user needs to register game A, and log in to game A with the registered account number and password. , the user cannot log in to game A directly with the account and password of the user in browser 1. In this case, the value of the first parameter of platform C is 0.
当然,上述只是第一参数的示例,第一参数也可以是其他参数,在此不做限定。Of course, the above is only an example of the first parameter, and the first parameter may also be other parameters, which are not limited here.
本发明实施例中,所述第二参数为当前时间减去服务器的开服时间的差值,当然,也可以是其他能够表示平台活跃度的参数,在此不做具体限定。In the embodiment of the present invention, the second parameter is the difference between the current time minus the service start time of the server. Of course, it can also be other parameters that can represent the activity of the platform, and it is not specifically limited here.
本发明实施例中,可选地,所述第三参数为平台的日均互联网协议IP值、平台的页面浏览PV值及平台的独立访客UV值中的至少一种。In the embodiment of the present invention, optionally, the third parameter is at least one of the daily average Internet Protocol IP value of the platform, the PV value of page browsing of the platform, and the UV value of independent visitors of the platform.
本发明实施例中,可循地,所述第四参数为操作应用程序时平台是否推送奖励的参数;In the embodiment of the present invention, the fourth parameter is a parameter of whether the platform pushes rewards when operating the application program;
当操作所述应用程序时平台有奖励推送,所述第四参数的值为1,当操作所述应用程序时平台没有奖励推送,所述第四参数的值为0。When the application program is operated, the platform has a reward push, and the value of the fourth parameter is 1; when the application program is operated, the platform has no reward push, and the value of the fourth parameter is 0.
例如,当通过平台1运行游戏A时,平台1推送大礼包,则平台1的第四参数为1,当通过平台2运行游戏A时,平台2不推送大礼包,则平台2的第四参数为0。For example, when running game A through platform 1, platform 1 pushes a big gift package, then the fourth parameter of platform 1 is 1; when running game A through platform 2, platform 2 does not push a big gift package, then the fourth parameter of platform 2 is 0.
本发明实施例中,根据多个参数对至少一个平台进行排序时,可以采用如下方式:In the embodiment of the present invention, when at least one platform is sorted according to multiple parameters, the following methods can be adopted:
计算各个参数与对应的权重值的乘积,并计算所有乘积之和;Calculate the product of each parameter and the corresponding weight value, and calculate the sum of all products;
并根据所有乘积之和对至少一个平台进行排序。And sort at least one platform based on the sum of all products.
例如,有3个平台:平台1、平台2和平台3,针对平台1,计算第一参数1*第一权重值+第二参数1*第二权重值+第三参数1*第三权重值+第四参数1*第四权重值;针对平台2,计算第一参数2*第一权重值+第二参数2*第二权重值+第三参数2*第三权重值+第四参数2*第四权重值;针对平台3,计算第一参数3*第一权重值+第二参数3*第二权重值+第三参数3*第三权重值+第四参数3*第四权重值,并根据计算的乘积之和对平台1、平台2和平台3进行排序。For example, there are 3 platforms: platform 1, platform 2, and platform 3. For platform 1, calculate the first parameter 1*first weight value+second parameter 1*second weight value+third parameter 1*third weight value + fourth parameter 1*fourth weight value; for platform 2, calculate first parameter 2*first weight value+second parameter 2*second weight value+third parameter 2*third weight value+fourth parameter 2 *fourth weight value; for platform 3, calculate the first parameter 3*first weight value+second parameter 3*second weight value+third parameter 3*third weight value+fourth parameter 3*fourth weight value , and sort platform 1, platform 2, and platform 3 according to the calculated sum of products.
需要说明的是,在各个平台下各个参数的值可能是不同的,但是同一参数对应的权重值是相同的,例如,对于第一参数,第一平台的第一参数是0,第二平台的第一参数是1,但是第一平台的第一参数的权重值和第二平台的第二参数的权重值是相同的。It should be noted that the value of each parameter may be different under each platform, but the weight value corresponding to the same parameter is the same. For example, for the first parameter, the first parameter of the first platform is 0, and the weight value of the second platform is 0. The first parameter is 1, but the weight value of the first parameter of the first platform and the weight value of the second parameter of the second platform are the same.
例如,对于第一平台:第一参数1*第一权重值+第二参数1*第二权重值+第三参数1*第三权重值+第四参数1*第四权重值=20*0+10*3600+0.1*7686543+1*20;对于第二平台:第一参数2*第一权重值+第二参数2*第二权重值+第三参数2*第三权重值+第四参数2*第四权重值=20*1+10*7200+0.1*1866543+1*20;对于第三平台:第一参数3*第一权重值+第二参数3*第二权重值+第三参数3*第三权重值+第四参数3*第四权重值=20*1+10*7200+0.1*866543+1*20;第二平台的上述乘积之和大于第一平台的上述乘积之和,第一平台的上述乘积之和大于第三平台的上述乘积之和,因此,上述平台的排序为第二平台、第一平台、第三平台。For example, for the first platform: first parameter 1*first weight value+second parameter 1*second weight value+third parameter 1*third weight value+fourth parameter 1*fourth weight value=20*0 +10*3600+0.1*7686543+1*20; for the second platform: first parameter 2*first weight value+second parameter 2*second weight value+third parameter 2*third weight value+fourth Parameter 2*fourth weight value=20*1+10*7200+0.1*1866543+1*20; for the third platform: first parameter 3*first weight value+second parameter 3*second weight value+second Three parameters 3*third weight value+fourth parameter 3*fourth weight value=20*1+10*7200+0.1*866543+1*20; the sum of the above products of the second platform is greater than the above products of the first platform The sum of the above-mentioned products of the first platform is greater than the sum of the above-mentioned products of the third platform. Therefore, the order of the above-mentioned platforms is the second platform, the first platform, and the third platform.
在实际应用中,第三参数的数值可能远远大于其他参数的数值,这样,其他参数对乘积之和的影响较小,为了降低这种差异,对于第三参数,可以对第三参数的值进行减小处理,如在计算时可以采用减小处理后的第三参数与权重值相乘,如将第三参数除以1000之后的整数与对应的权重值相乘,如第三参数为7686543,在计算时采用768与权重值相乘。当然,如果其他参数的值远远小于其他参数的数值的话,也可以对该参数进行增大处理,例如,第一参数、第二参数和第三参数的数值一般在100以内,第四参数的数值在0.001-0之间,此时,可以将第四参数增加,如将第四参数扩大1000倍,并将扩大1000倍后的值与对应的权重值相乘。In practical applications, the value of the third parameter may be much larger than the values of other parameters, so that other parameters have little influence on the sum of products. In order to reduce this difference, for the third parameter, the value of the third parameter can be adjusted Perform reduction processing. For example, the third parameter after reduction processing can be used to multiply the weight value during calculation. For example, the integer after dividing the third parameter by 1000 is multiplied by the corresponding weight value. For example, the third parameter is 7686543 , when calculating, use 768 to multiply the weight value. Of course, if the values of other parameters are much smaller than the values of other parameters, the parameters can also be increased. For example, the values of the first parameter, the second parameter and the third parameter are generally within 100, and the values of the fourth parameter The value is between 0.001-0. At this time, the fourth parameter can be increased, for example, the fourth parameter can be enlarged by 1000 times, and the value enlarged by 1000 times can be multiplied by the corresponding weight value.
上述四个参数只是几种示例,并不限定于此,例如,在排序时也可以参考应用程序在该平台是否打折的参数,或者应用程序在该平台运行时插入的广告的时间参数等,但是不论几种参数,根据参数对平台排序的方式的原理是相同的,在此不再进行详述。The above four parameters are just a few examples and are not limited to them. For example, when sorting, you can also refer to the parameters of whether the application is discounted on the platform, or the time parameters of the advertisement inserted when the application is running on the platform, etc., but Regardless of several parameters, the principle of sorting the platforms according to the parameters is the same, and will not be described in detail here.
本发明实施例中,筛选出的目标平台可以是至少一个平台中的全部平台,或者是至少一个平台中的部分平台,在此不做具体限定。In the embodiment of the present invention, the selected target platforms may be all platforms in at least one platform, or some platforms in at least one platform, which are not specifically limited here.
例如,排序后的至少一个平台为:平台2、平台5、平台3、平台1、平台4,目标平台可以为上述5个平台,或者也可以是平台2、平台5、平台3,或者也可以是平台1。For example, at least one platform after sorting is: platform 2, platform 5, platform 3, platform 1, and platform 4, and the target platform can be the above-mentioned 5 platforms, or it can also be platform 2, platform 5, platform 3, or it can also be is platform 1.
本发明实施例中,所述确定单元310确定包括有所述应用程序的至少一个平台,包括:In the embodiment of the present invention, the determination unit 310 determines at least one platform including the application program, including:
从所述用于操作应用程序的请求中获取所述应用程序的标识;Obtaining the identification of the application program from the request for operating the application program;
根据所述应用程序的标识确定包括有所述应用程序的至少一个平台。At least one platform including the application program is determined according to the identification of the application program.
其中,从用于操作应用程序的请求中获取所述应用程序的标识时,可以为对客户端当前浏览器的地址规则进行分析获取应用程序的标识,当然,也可以是其他方式,在此不做具体限定。Wherein, when obtaining the identification of the application program from the request for operating the application program, the identification of the application program may be obtained by analyzing the address rules of the current browser of the client. Be specific.
其中,应用程序的标识有多种,例如,应用程序的名称,如游戏的名称。Wherein, there are many kinds of identifiers of the application program, for example, the name of the application program, such as the name of the game.
在该方案中,客户端要操作应用程序时,会从包括应用程序的多个平台中筛选出目标平台,并推荐至客户端,客户端通过推荐的平台中的任意一平台操作应用程序,并不是通过默认的平台操作应用程序,因此,可以提高操作应用程序的效果。In this solution, when the client wants to operate the application, it will filter out the target platform from multiple platforms including the application and recommend it to the client. The client operates the application through any one of the recommended platforms, and The application is not operated through the default platform, therefore, the effect of operating the application can be improved.
参阅图4所示,本发明实施例中,还提出一种操作应用程序的装置40,包括:Referring to Fig. 4, in the embodiment of the present invention, a device 40 for operating application programs is also proposed, including:
接收单元400,用于接收操作应用程序的指示;a receiving unit 400, configured to receive an instruction to operate an application;
发送单元410,用于在所述接收单元400接收到所述指示时,向服务器发送用于操作所述应用程序的请求;a sending unit 410, configured to send a request for operating the application to a server when the receiving unit 400 receives the instruction;
所述接收单元400还用于,接收所述服务器推荐的目标平台;The receiving unit 400 is also configured to receive the target platform recommended by the server;
操作单元420,用于基于所述目标平台操作所述应用程序。An operating unit 420, configured to operate the application program based on the target platform.
例如,用户点击客户端的浏览器中游戏A的链接,此时,客户端向服务器发送用于操作游戏A的请求,并接收服务器推荐的平台,并基于推荐的平台操作游戏A。For example, the user clicks the link of game A in the browser of the client, at this time, the client sends a request for operating game A to the server, receives the platform recommended by the server, and operates game A based on the recommended platform.
需要说明的是,服务器推荐的目标平台可能有一个,也可能有多个,若所述目标平台为一个平台,所述操作单元420基于所述目标平台操作所述应用程序,包括:It should be noted that there may be one or more target platforms recommended by the server. If the target platform is one platform, the operation unit 420 operates the application program based on the target platform, including:
直接通过所述目标平台操作所述应用程序。Operate the application directly through the target platform.
若所述目标平台为排序后的前N位平台或者后N位平台,所述操作单元420基于所述目标平台操作所述应用程序,包括:If the target platform is the top N platform or the last N platform after sorting, the operation unit 420 operates the application program based on the target platform, including:
通过所述前N位平台中的首位平台操作所述应用程序;或者,通过所述后N位平台中的末位平台操作所述应用程序。The application program is operated through the first platform among the first N platforms; or, the application program is operated through the last platform among the last N platforms.
其中,前N位平台可以是降序排序后的平台中的前N位,后N位平台可以是升序排序后的平台中的末位平台。Wherein, the top N platforms may be the top N platforms among the platforms sorted in descending order, and the bottom N platforms may be the last platforms among the platforms sorted in ascending order.
本发明实施例中,可选地,还提出一种操作应用程序的装置,包括:In the embodiment of the present invention, optionally, a device for operating an application program is also proposed, including:
一个或者多个处理器;one or more processors;
存储器;memory;
存储在所述存储器中的程序,当被所述一个或者多个处理器执行时,所述程序使所述处理器执行如上任意一项所述的方法。A program stored in the memory that, when executed by the one or more processors, causes the processors to perform any of the methods described above.
本发明实施例中,还提出一种计算机可读存储介质,所述计算机可读存储介质存储有程序,当所述程序被处理器执行时,使得所述处理器执行如上任意一项所述的方法。In an embodiment of the present invention, a computer-readable storage medium is also proposed, the computer-readable storage medium stores a program, and when the program is executed by a processor, the processor executes any of the above-mentioned method.
在此提供的方法和装置不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类装置所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The methods and apparatus provided 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 an apparatus will be apparent from the foregoing 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. Several modules in an embodiment can be combined into one module or unit or assembly, and further they can 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 procedures or modules 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 claims, any one of the claimed embodiments can be used in any combination.
本发明的各个装置实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的装置中的一些或者全部模块的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various apparatus 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) may be used in practice to implement some or all functions of some or all modules in the device according to the embodiment of the present invention. The present invention can also be implemented as 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.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711466566.3A CN108196907A (en) | 2017-12-28 | 2017-12-28 | A kind of method and device for operating application program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711466566.3A CN108196907A (en) | 2017-12-28 | 2017-12-28 | A kind of method and device for operating application program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108196907A true CN108196907A (en) | 2018-06-22 |
Family
ID=62586088
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711466566.3A Pending CN108196907A (en) | 2017-12-28 | 2017-12-28 | A kind of method and device for operating application program |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108196907A (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101621857A (en) * | 2008-06-30 | 2010-01-06 | 中兴通讯股份有限公司 | Operation control method of mobile communication terminal application and application manager |
| US20130145348A1 (en) * | 2011-12-01 | 2013-06-06 | Amer Agovic | Universal and adaptive software development platform for data-driven applications |
| CN103198130A (en) * | 2013-04-11 | 2013-07-10 | 上海心动企业发展有限公司 | Method and device for realizing login unified with webpage on client side |
| CN105791324A (en) * | 2016-05-12 | 2016-07-20 | 腾讯科技(深圳)有限公司 | Account login method and device |
-
2017
- 2017-12-28 CN CN201711466566.3A patent/CN108196907A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101621857A (en) * | 2008-06-30 | 2010-01-06 | 中兴通讯股份有限公司 | Operation control method of mobile communication terminal application and application manager |
| US20130145348A1 (en) * | 2011-12-01 | 2013-06-06 | Amer Agovic | Universal and adaptive software development platform for data-driven applications |
| CN103198130A (en) * | 2013-04-11 | 2013-07-10 | 上海心动企业发展有限公司 | Method and device for realizing login unified with webpage on client side |
| CN105791324A (en) * | 2016-05-12 | 2016-07-20 | 腾讯科技(深圳)有限公司 | Account login method and device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9619275B2 (en) | Data processing method, apparatus and mobile terminal | |
| US10462253B2 (en) | Social network grouping method and system, and computer storage medium | |
| CN106294743A (en) | The recommendation method and device of application function | |
| CN110785970B (en) | Techniques to automate robotic creation of web pages | |
| US8949243B1 (en) | Systems and methods for determining a rating for an item from user reviews | |
| US9471349B1 (en) | Computing resource provisioning failure mitigation | |
| CN113343109B (en) | List recommendation method, computing device and computer storage medium | |
| CN105321129A (en) | Order processing method and order processing system for food ordering system | |
| CN110708360A (en) | An information processing method, system and electronic device | |
| CN108721896B (en) | Game page jumping method and device, computing equipment and computer storage medium | |
| CN110930103B (en) | Service order review method and system, medium and computer system | |
| CN109062807B (en) | Method and device for testing application program, storage medium and electronic device | |
| CN103647775A (en) | Method and apparatus for registration in webpage | |
| CN117056240A (en) | Data element development and debugging method and system supporting offline Jar package | |
| CN104765609A (en) | Software related resource recommendation method, obtaining method and corresponding device | |
| CN113971115A (en) | Method and device for determining demand of container resource, server and storage medium | |
| CN104052630B (en) | Method and system for performing authentication on a website | |
| CN104699619B (en) | The method and apparatus tested on line | |
| CN103605670B (en) | A kind of method and apparatus for determining the crawl frequency of network resource point | |
| CN111369031A (en) | A kind of warehouse planning method and device | |
| CN108196907A (en) | A kind of method and device for operating application program | |
| CN105204870A (en) | Access method, device and system of script program | |
| CN110188297B (en) | Resource information display method, computing device and computer storage medium | |
| CN104579709A (en) | Data object sharing method and system, and electronic device | |
| US8533333B2 (en) | Shared hosting using host name affinity |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180622 |