技术领域technical field
本申请涉及互联网技术领域,更具体地,涉及一种抽奖资格的确定方法、装置、服务器及存储介质。The present application relates to the field of Internet technologies, and more specifically, to a method, device, server and storage medium for determining qualifications for lottery draws.
背景技术Background technique
现有技术中,对于移动终端的许多网络活动,都对应有抽奖活动,如从客户端下载某些指定应用程序、关注某些帐号、进入某些网页等。但是,现有技术中,对于进行抽奖的用户的抽奖资格并未有效限定,从而可能导致抽奖活动无法良性进行。In the prior art, there are lottery draws corresponding to many network activities of mobile terminals, such as downloading certain designated applications from the client, following certain accounts, entering certain webpages, and so on. However, in the prior art, the lottery qualifications of the users who perform the lottery are not effectively limited, which may cause the lottery activity to fail to be performed benignly.
发明内容Contents of the invention
鉴于上述问题,本申请提出了一种抽奖资格的确定方法、装置、服务器及存储介质,通过校验用户帐号以及移动终端是否参与过抽奖,对抽奖资格进行确定,从而限定抽奖次数,使抽奖能良性进行。In view of the above problems, this application proposes a method, device, server and storage medium for determining lottery qualifications. By verifying the user account and whether the mobile terminal has participated in the lottery, the lottery qualifications are determined, thereby limiting the number of lottery draws, so that the lottery can be benign.
第一方面,本申请实施例提供了一种抽奖资格的确定方法,所述方法包括:接收客户端发送的抽奖触发请求;根据所述抽奖触发请求,判断所述客户端对应的用户帐号以及所述客户端对应的移动终端的机器标识是否在预设时间段内参与过抽奖;若所述客户端对应的用户帐号以及所述移动终端的机器标识中的任意一个在预设时间段内参与过抽奖,向所述客户端返回没有抽奖资格的反馈信息,以指示所述客户端显示已抽奖的提示信息;若所述客户端对应的用户帐号以及移动终端的机器标识在预设时间段内均未参与过抽奖,向所述客户端返回具有抽奖资格的反馈信息,以指示所述客户端显示可以抽奖的抽奖链接按钮。In the first aspect, the embodiment of the present application provides a method for determining a lottery qualification. The method includes: receiving a lottery trigger request sent by a client; according to the lottery trigger request, determining the user account corresponding to the client and the Whether the machine identification of the mobile terminal corresponding to the client has participated in the lottery within a preset time period; if any one of the user account corresponding to the client and the machine identification of the mobile terminal has participated in Draw a lottery, return feedback information that you are not eligible for a lottery draw to the client, to instruct the client to display the prompt information of the lottery draw; if the user account corresponding to the client and the machine identification of the mobile terminal are both If you have not participated in the lottery, return the feedback information that you are qualified for the lottery to the client to instruct the client to display a link button for the lottery that can be drawn.
第二方面,本申请实施例提供了一种抽奖资格的确定装置,所述装置包括:请求接收模块,用于接收客户端发送的抽奖触发请求;判断模块,用于根据所述抽奖触发请求,判断所述客户端对应的用户帐号以及所述客户端对应的移动终端的机器标识是否在预设时间段内参与过抽奖;第一反馈模块,若所述客户端对应的用户帐号以及移动终端的机器标识中的任意一个在预设时间段内参与过抽奖,用于向所述客户端返回没有抽奖资格的反馈信息,以指示所述客户端显示已抽奖的提示信息;第二反馈模块,若所述客户端对应的用户帐号以及移动终端的机器标识在预设时间段内均未参与过抽奖,用于向所述客户端返回具有抽奖资格的反馈信息,以指示所述客户端显示可以抽奖的抽奖链接按钮。In the second aspect, the embodiment of the present application provides a device for determining a lottery qualification, the device comprising: a request receiving module, configured to receive a lottery trigger request sent by a client; a judging module, configured to, according to the lottery trigger request, Judging whether the user account corresponding to the client and the machine identifier of the mobile terminal corresponding to the client have participated in a lottery within a preset time period; the first feedback module, if the user account corresponding to the client and the mobile terminal Any one of the machine identifications has participated in the lottery within a preset time period, and is used to return feedback information that is not eligible for the lottery to the client, so as to instruct the client to display the prompt information of the lottery; the second feedback module, if The user account corresponding to the client and the machine identification of the mobile terminal have not participated in the lottery within a preset period of time, and are used to return feedback information that is qualified for the lottery to the client, so as to instruct the client to display that the lottery can be drawn sweepstakes link button.
第三方面,本申请实施例提供了一种服务器,包括存储器及处理器,所述存储器耦接到所述处理器,所述存储器存储指令,当所述指令由所述处理器执行时所述处理器执行上述方法。In a third aspect, an embodiment of the present application provides a server, including a memory and a processor, the memory is coupled to the processor, the memory stores instructions, and when the instructions are executed by the processor, the The processor executes the above method.
第四方面,本申请实施例提供了一种计算机可读取存储介质,所述计算机可读取存储介质包括存储的程序,其中,在所述程序运行时执行上述方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium includes a stored program, wherein the foregoing method is executed when the program is running.
本申请提供的抽奖资格的确定方法、装置及服务器,接收到由客户端发送的抽奖触发请求后,根据触发请求判断客户端对应的用户帐号以及客户端对应的移动终端的机器标识是否在预设时间段内参与过抽奖。若客户端对应的用户帐号以及客户端对应的移动终端的机器标识中的任意一个在预设时间段内参与过抽奖,则可以判定该客户端没有抽奖资格,返回没有抽奖资格的反馈信息。若客户端对应的用户帐号以及客户端对应的移动终端的机器标识均没有参与过抽奖,则可以判定该客户端具有抽奖资格,向其返回具有抽奖资格的反馈信息。本申请实施例的方案通过对客户端的抽奖资格的限制,实现对用户的抽奖资格限制,促进抽奖活动的良性进行。The method, device and server for determining lottery qualification provided by this application, after receiving the lottery trigger request sent by the client, judge according to the trigger request whether the user account corresponding to the client and the machine identifier of the mobile terminal corresponding to the client are within the preset Participated in the sweepstakes during the time period. If any one of the user account corresponding to the client and the machine identifier of the mobile terminal corresponding to the client has participated in the lottery within a preset period of time, it can be determined that the client is not eligible for the lottery, and feedback information about not being eligible for the lottery can be returned. If neither the user account corresponding to the client nor the machine identifier of the mobile terminal corresponding to the client has participated in the lottery, it can be determined that the client is eligible for the lottery, and feedback information of being qualified for the lottery is returned to it. The scheme of the embodiment of the present application realizes the limitation of the user's lottery qualification by restricting the lottery qualification of the client, and promotes the benign progress of the lottery activity.
本申请的这些方面或其他方面在以下实施例的描述中会更加简明易懂。These or other aspects of the present application will be more concise and understandable in the description of the following embodiments.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1示出了本申请实施例提供的移动终端与服务器的一种交互示意图;FIG. 1 shows a schematic diagram of interaction between a mobile terminal and a server provided by an embodiment of the present application;
图2示出了本申请实施例提出的抽奖资格的确定方法流程图;Fig. 2 shows the flow chart of the method for determining the lottery qualification proposed by the embodiment of the present application;
图3示出了本申请实施例提出的抽奖资格确定装置的结构框图;Fig. 3 shows the structural block diagram of the lottery qualification determining device proposed by the embodiment of the present application;
图4示出了本申请实施例提出的一种服务器的结构框图。FIG. 4 shows a structural block diagram of a server proposed by the embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
在某些产品推广、帐号推广以及应用程序的推广等各种推广活动中,为了加大推广力度,可以设置对应的抽奖活动,使用户在参加这些推广活动后可以进行抽奖。例如,软件商店中的某些应用程序,为了加大推广力度,一旦用户在预设时间段内成功下载安装,便可以获得抽奖机会进行抽奖。为了抽奖活动的良性进行,本申请实施例提供了一种抽奖资格的确定方法,使有资格进行抽奖的用户可以进行抽奖,而没有资格进行抽奖的用户则不可再抽奖。In various promotional activities such as product promotion, account promotion, and application program promotion, in order to increase promotion efforts, corresponding lottery activities may be set up, so that users can draw a lottery after participating in these promotional activities. For example, for some applications in the software store, in order to increase the promotion efforts, once the user successfully downloads and installs them within a preset time period, they can get a chance to draw a lottery. For the benign progress of lottery activities, the embodiment of this application provides a method for determining the qualifications of lottery draws, so that users who are qualified for lottery draws can participate in lottery draws, while users who are not qualified for lottery draws cannot draw prizes again.
对推广活动的抽奖主要在移动终端与服务器的交互中进行,图1示出了本申请实施例中移动终端和服务器之间的一种交互示意图。如图1所示,移动终端1、服务器2位于网络3中,该网络3可以为无线网络或有线网络。通过该无线网络或有线网络,移动终端1与服务器2进行数据交互。于本申请中,移动终端1可为手机、平板电脑、计算机等设备。The lottery drawing for promotional activities is mainly carried out in the interaction between the mobile terminal and the server. FIG. 1 shows a schematic diagram of the interaction between the mobile terminal and the server in the embodiment of the present application. As shown in Fig. 1, a mobile terminal 1 and a server 2 are located in a network 3, which may be a wireless network or a wired network. Through the wireless network or the wired network, the mobile terminal 1 performs data interaction with the server 2 . In this application, the mobile terminal 1 can be a mobile phone, a tablet computer, a computer and other devices.
在移动终端1中可运行客户端,服务器2可运行服务端。例如,在本申请中,移动终端1中运行有软件商店所对应的客户端,而在服务器2中运行有软件商店所对应的服务端,基于上述网络环境,软件商店对应的客户端可以通过网络3与服务器2进行数据交互,从而实现与服务器2上运行的软件商店对应的服务端进行数据交互。例如,移动终端1中软件商店所对应的客户端通过网络3向服务器2发送抽奖触发请求,作为响应,服务器2会通过网络3向移动终端中的客户端返回处理该抽奖触发请求以后需要反馈给移动终端1中客户端的反馈信息,以便该客户端显示。下面将主要从服务器端,结合附图并通过具体的实施例对本申请实施例提供的抽奖资格的确定方法、装置及服务器进行说明。The client terminal can be run in the mobile terminal 1, and the server end can be run in the server 2. For example, in this application, the client corresponding to the software store runs in the mobile terminal 1, and the server corresponding to the software store runs in the server 2. Based on the above-mentioned network environment, the client corresponding to the software store can 3 Perform data interaction with the server 2, so as to realize data interaction with the server corresponding to the software store running on the server 2. For example, the client corresponding to the software store in the mobile terminal 1 sends a lottery trigger request to the server 2 through the network 3. As a response, the server 2 will return to the client in the mobile terminal through the network 3 and then need to feed back to The feedback information of the client in the mobile terminal 1, so that the client can display. The method, device and server for determining the lottery qualification provided by the embodiment of the present application will be described mainly from the server side, in conjunction with the accompanying drawings and through specific embodiments.
第一实施例first embodiment
请参阅图2,本申请第一实施例提供了一种抽奖资格的确定方法。所述抽奖资格的确定方法在接收到客户端发送的抽奖触发请求后,根据该抽奖触发请求判断客户端是否具有抽奖资格,从而分别向具有抽奖资格和不具有抽奖资格的客户端反馈不同的消息,使具有抽奖资格的客户端对应用户可以进行抽奖,有效限制抽奖资格。在具体的实施例中,所述抽奖资格的确定方法应用于如图3所示的抽奖资格的确定装置以及对应有抽奖资格的确定装置300的服务器100(图4)。上述的抽奖资格的确定方法具体可以包括以下步骤:Referring to FIG. 2 , the first embodiment of the present application provides a method for determining qualifications for a lottery draw. After receiving the lottery trigger request sent by the client, the method for determining the lottery qualification determines whether the client has lottery qualification according to the lottery trigger request, so as to feed back different messages to the clients with lottery qualification and those without lottery qualification respectively , so that the corresponding user of the client terminal with the lottery qualification can conduct the lottery, effectively restricting the lottery qualification. In a specific embodiment, the method for determining lottery qualifications is applied to the device for determining lottery qualifications as shown in FIG. 3 and the server 100 ( FIG. 4 ) corresponding to the device 300 for determining lottery qualifications. The above-mentioned method for determining the qualifications for the lottery draw may specifically include the following steps:
步骤S110:接收客户端发送的抽奖触发请求。Step S110: Receive a lottery drawing trigger request sent by the client.
当客户端接收到的操作满足对抽奖的触发条件时,可以向服务器发送抽奖触发请求,该抽奖触发请求为在服务器中可以触发抽奖资格判断的请求。例如,若对于某应用程序,从软件商店这一客户端中下载并安装成功后,用户若满足抽奖资格便可以进行抽奖。则在软件商店中,该应用程序下载安装成功后,可以向服务器发送安装成功的消息作为抽奖触发请求,以使接收到安装成功的消息的服务器触发抽奖资格判断。When the operation received by the client satisfies the triggering condition for the lottery drawing, it can send a lottery drawing trigger request to the server, and the lottery drawing trigger request is a request that can trigger a lottery drawing qualification judgment in the server. For example, if an application program is successfully downloaded and installed from the software store client, the user can participate in the lottery draw if the user meets the lottery draw qualifications. Then in the software store, after the application program is successfully downloaded and installed, it can send a successful installation message to the server as a lottery drawing trigger request, so that the server that receives the successful installation message triggers the lottery qualification judgment.
步骤S120:根据所述抽奖触发请求,判断所述客户端对应的用户帐号以及所述客户端对应的移动终端的机器标识是否在预设时间段内参与过抽奖。Step S120: According to the lottery drawing trigger request, determine whether the user account corresponding to the client and the machine identifier of the mobile terminal corresponding to the client have participated in lottery drawing within a preset time period.
接收到抽奖触发请求后,服务器可以判断发送该抽奖触发请求的客户端是否具有抽奖资格,以确定是否允许该客户端对应的用户进行抽奖。在本实施例中,该抽奖资格的判断可以是通过判断客户端是否在预设时间段参与过抽奖实现。After receiving the lottery drawing trigger request, the server may determine whether the client that sent the lottery drawing trigger request is qualified for lottery drawing, so as to determine whether to allow the user corresponding to the client to perform lottery drawing. In this embodiment, the determination of the lottery qualification can be realized by judging whether the client has participated in the lottery within a preset time period.
其中,该预设时间段可以为预先设置的可以进行抽奖的时间段,可以是由一个时间起点和一个时间终点进行定义,如2017年1月1日起至2017年3月1日止;或者是由一个时间长度进行定义,如当前时间前的一个时间段内,例如当前时间前的一个月内。Wherein, the preset time period may be a pre-set time period for lottery drawing, which may be defined by a time starting point and a time ending point, such as from January 1, 2017 to March 1, 2017; or is defined by a length of time, such as a period of time before the current time, for example, within one month before the current time.
另外,判断客户端是否参与过抽奖,可以包括对客户端对应的用户帐号的判断以及对客户端对应的移动终端的机器标识的判断。具体的,由于客户端对应有移动终端而不一定对应有用户帐号,而移动终端对应有机器标识。因此,在抽奖触发请求中可以携带有所述客户端对应的移动终端的机器标识,本步骤中,可以先判断发送抽奖触发请求的客户端对应的移动终端是否通过客户端进行过抽奖,即可以先判断机器标识是否在预设时间段内参与过抽奖。当然,先判断机器标识是否参与过抽奖还是先判断用户帐号是否参与过抽奖,在本实施例中并不限制。In addition, judging whether the client has participated in the lottery draw may include judging the user account corresponding to the client and judging the machine identifier of the mobile terminal corresponding to the client. Specifically, since the client corresponds to a mobile terminal, it does not necessarily correspond to a user account, and the mobile terminal corresponds to a machine identifier. Therefore, the machine identification of the mobile terminal corresponding to the client may be carried in the lottery trigger request. It is first judged whether the machine identifier has participated in a lottery draw within a preset time period. Of course, it is not limited in this embodiment whether the machine identifier has participated in the lottery or whether the user account has participated in the lottery first.
具体的,可以预先存储机器标识在预设时间段内与是否抽奖的对应关系,如以数字1表示机器标识参与过抽奖,数字0表示机器标识未参与过抽奖,则若某一机器标识对应的移动终端通过客户端在预设时间段内参与过抽奖,则该机器标识对应表示参与过抽奖的数字1。因此,可以根据接收到的抽奖触发请求以及机器标识与是否抽奖的对应关系判断发送抽奖请求的客户端对应的移动终端在预设时间段内是否参与过抽奖。Specifically, it is possible to pre-store the correspondence between the machine ID and whether to draw a lottery within a preset time period. For example, the number 1 indicates that the machine ID has participated in the lottery draw, and the number 0 indicates that the machine ID has not participated in the lottery draw. If the mobile terminal has participated in the lottery draw within a preset time period through the client, the machine identifier corresponds to the number 1 indicating that it has participated in the lottery draw. Therefore, it can be judged whether the mobile terminal corresponding to the client sending the lottery drawing request has participated in the lottery drawing within a preset time period according to the received lottery drawing trigger request and the corresponding relationship between the machine identifier and whether the lottery draw has occurred.
或者是预先存储机器标识与是否抽奖的对应关系,若机器标识对应的为抽过奖,则同时存储抽奖时间。如仍然以数字1表示机器标识参与过抽奖,数字0表示机器标识未参与过抽奖,则若某一机器标识对应的用户终端在2017年2月2日参加过抽奖,则对应该机器标识存储表示参与过抽奖的数字1以及时间2017年2月2日。因此,可以根据接收到的抽奖触发请求以及机器标识与是否抽奖的对应关系、与抽奖时间的对应关系,判断机器标识在预设时间段内是否参与过抽奖。Or store the corresponding relationship between machine identification and lottery drawing in advance, if the machine identification corresponds to the lottery drawing, then store the lottery drawing time at the same time. If the number 1 is still used to indicate that the machine ID has participated in the lottery draw, and the number 0 indicates that the machine ID has not participated in the lottery draw, then if the user terminal corresponding to a certain machine ID has participated in the lottery draw on February 2, 2017, the corresponding machine ID will be stored and indicated The number 1 who participated in the lottery and the time on February 2, 2017. Therefore, it can be determined whether the machine identifier has participated in the lottery drawing within a preset time period according to the received lottery drawing trigger request and the corresponding relationship between the machine identifier and whether to draw a lottery, and the corresponding relationship with the time of the lottery drawing.
若机器标识参与过抽奖,则可以判定发送抽奖触发请求的客户端参与过抽奖。若机器标识在预设时间段内未参与过抽奖,则发送抽奖触发请求的客户端可能参与过抽奖,也可能未参与过抽奖,还需要进一步判断客户端对应的用户帐号是否在预设时间段内参与过抽奖。If the machine identifier has participated in the lottery, it can be determined that the client sending the trigger request for the lottery has participated in the lottery. If the machine ID has not participated in the lottery draw within the preset time period, the client that sent the lottery draw trigger request may or may not have participated in the lottery draw, and it is necessary to further determine whether the user account corresponding to the client is within the preset time period Participated in the sweepstakes.
在一种具体的实施方式中,若客户端登陆有用户帐号,在发送抽奖触发请求中可以携带用户帐号,若机器标识在预设时间段内未参与过抽奖,判断该抽奖触发请求携带的用户帐号在预设时间段内是否参与过抽奖。若用户帐号在预设时间段内参与过抽奖,可以判定客户端具有抽奖资格;若所述用户帐号在预设时间段内未参与过抽奖,可以判定客户端没有抽奖资格。其中,用户帐号与是否抽奖的对应关系也可以预先存储,具体存储方式可以参照机器标识与是否抽奖的对应关系的预先存储,以及,根据预先存储的用户帐号与是否抽奖的对应关系对用户帐号在预设时间段内是否参与过抽奖的判断也可以参照上述对机器标识的判断,在此不做赘述。In a specific implementation, if the client has logged in with a user account, the user account may be included in the lottery trigger request, and if the machine ID has not participated in the lottery within a preset period of time, determine the user carried in the lottery trigger request Whether the account has participated in the lottery within the preset time period. If the user account has participated in the lottery draw within the preset time period, it can be determined that the client is eligible for the lottery draw; if the user account has not participated in the lottery draw within the preset time period, it can be determined that the client is not eligible for the lottery draw. Wherein, the corresponding relationship between the user account and whether to draw a lottery can also be stored in advance. The specific storage method can refer to the pre-storage of the corresponding relationship between the machine identifier and whether to draw a lottery, and according to the pre-stored corresponding relationship between the user account and whether to draw a lottery. The judgment of whether to participate in the lottery within the preset time period can also refer to the above judgment of the machine identification, and will not be repeated here.
在另一种具体的实施方式中,若客户端未登录用户帐号,在发送的抽奖请求中未携带有用户帐号,可以判定客户端没有抽奖资格。另外,还可以进一步地向客户端返回其因为未登录用户帐号而没有抽奖资格的反馈信息。In another specific implementation manner, if the client has not logged in the user account and the lottery drawing request sent does not carry the user account, it may be determined that the client is not eligible for the lottery draw. In addition, feedback information that the client is not eligible for the lottery draw because it has not logged in the user account may be further returned to the client.
步骤S130:若所述客户端对应的用户帐号以及移动终端的机器标识中的任意一个在预设时间段内参与过抽奖,向所述客户端返回没有抽奖资格的反馈信息,以指示所述客户端显示已抽奖的提示信息。Step S130: If any one of the user account corresponding to the client and the machine identifier of the mobile terminal has participated in the lottery within a preset period of time, return feedback information that is not eligible for the lottery to the client to instruct the client The prompt information of the lottery draw is displayed on the terminal.
若客户端参与过抽奖,即客户端对应的用户帐号以及移动终端的机器标识中的任意一个在预设时间段内参与过抽奖,可以判定该客户端不具有抽奖资格,此时,可以向客户端返回没有抽奖资格的反馈信息。对应的,接收到该反馈信息的客户端,可以根据该反馈信息进行相应的显示。例如,客户端显示用户已参与过抽奖的提示信息,或者是将抽奖链接按钮置灰且不可触发,以表明用户不可进行抽奖。If the client has participated in the lottery, that is, any one of the user account corresponding to the client and the machine ID of the mobile terminal has participated in the lottery within a preset time period, it can be determined that the client is not eligible for the lottery. The terminal returns the feedback information that it is not eligible for the lottery. Correspondingly, the client receiving the feedback information may perform corresponding display according to the feedback information. For example, the client terminal displays a prompt message that the user has participated in the lottery, or grays out the link button of the lottery and cannot be triggered to indicate that the user cannot participate in the lottery.
步骤S140:若所述客户端对应的用户帐号以及移动终端的机器标识在预设时间段内均未参与过抽奖,向所述客户端返回具有抽奖资格的反馈信息,以指示所述客户端显示可以抽奖的抽奖链接按钮。Step S140: If neither the user account corresponding to the client nor the machine identifier of the mobile terminal has participated in the lottery within a preset period of time, return feedback information that is qualified for the lottery to the client to instruct the client to display Sweepstakes link button that can draw prizes.
若客户端未参与过抽奖,则可以判定该客户端具有抽奖资格,用户可以通过该客户端进行抽奖。因此,在服务器可以向客户端返回该客户端具有抽奖资格的反馈信息,客户端接收到该反馈信息后,根据该反馈信息进行相应处理与显示。例如,客户端定期更新存储有含有抽奖信息的抽奖链接,使对应该抽奖链接的抽奖链接按钮处于可触发状态,因此,用户可以通过触发该抽奖链接按钮,通过抽奖链接跳转到抽奖页面进行抽奖。或者是,服务器向客户端返回的反馈信息中携带抽奖链接,接收到抽奖链接的客户端根据该抽奖链接关联对应的抽奖链接按钮,使该抽奖链接按钮点亮并可触发,以使用户通过该抽奖链接跳转到相应的抽奖页面进行抽奖。If the client has not participated in the lottery, it can be determined that the client is eligible for the lottery, and the user can draw a lottery through the client. Therefore, the server can return to the client the feedback information that the client is qualified for the lottery draw, and the client performs corresponding processing and display according to the feedback information after receiving the feedback information. For example, the client regularly updates and stores the lottery link containing the lottery information, so that the link button corresponding to the lottery link is in a triggerable state. Therefore, the user can jump to the lottery page through the link by triggering the link button. . Or, the feedback information returned by the server to the client carries the lottery link, and the client that receives the lottery link associates the corresponding lottery link button with the lottery link, so that the lottery link button lights up and can be triggered, so that the user can pass the lottery link. The lucky draw link jumps to the corresponding lucky draw page for lucky draw.
第二实施例second embodiment
与第一实施例相比,在本实施例中,若客户端未登陆有用户帐号,抽奖请求中未携带有用户帐号,可以先提醒用户进行登录以获得用户帐号。因此,可选的,在本实施例提供的一种具体的实施方式中,当所述抽奖触发请求中未携带有所述客户端对应的用户帐号,可以向所述客户端返回登录指示。该登录指示可以是提醒用户登录用户帐号,也可以是指示客户端直接跳转到具有登录框的登录页面,以指示所述客户端根据所述登录指示显示用户登录框。Compared with the first embodiment, in this embodiment, if the client does not log in with a user account and the lottery drawing request does not carry the user account, the user may be reminded to log in to obtain the user account. Therefore, optionally, in a specific implementation manner provided by this embodiment, when the lottery drawing trigger request does not carry the user account corresponding to the client, a login instruction may be returned to the client. The login instruction may be to remind the user to log in the user account, or may be to instruct the client to directly jump to a login page with a login box, so as to instruct the client to display the user login box according to the login instruction.
用户可以在显示的登录框中登录用户帐号,并通过客户端向服务器发送登录请求,所述登录请求中携带有所述客户端对应的用户帐号。对应的,服务器接收所述客户端根据所述登录指示发送的登录请求,并判断所述用户帐号是否在预设时间段内参与过抽奖。若所述用户帐号在预设时间段内参与过抽奖,则可以判定所述客户端参与过抽奖,不再具有抽奖资格。另外,若所述用户帐号在预设时间段内未参与过抽奖,则结合机器标识以及用户帐号均未参加过抽奖,可以判定客户端未参与过抽奖,可以参加抽奖,具有抽奖资格。The user can log in the user account in the displayed login box, and send a login request to the server through the client, and the login request carries the user account corresponding to the client. Correspondingly, the server receives the login request sent by the client according to the login instruction, and determines whether the user account has participated in a lottery draw within a preset time period. If the user account has participated in a lottery draw within a preset period of time, it can be determined that the client has participated in a lottery draw and is no longer eligible for a lottery draw. In addition, if the user account has not participated in the lottery within a preset period of time, it can be determined that the client has not participated in the lottery, can participate in the lottery, and is qualified for the lottery in combination with the machine identifier and the user account have not participated in the lottery.
可选的,在本实施例提供的另一种实施方式中,在向所述客户端返回登录指示之前,也就是说,当判定移动终端的机器标识未进行过抽奖,且客户端未登陆有用户帐号,抽奖请求中未携带有用户帐号时,可以先向客户端返回具有抽奖资格的反馈信息。对应的,当客户端接收到该反馈信息,可以先显示可以抽奖的抽奖链接按钮,也就是使抽奖链接按钮显示为可以触发的形态,如显示为亮。当用户触发该抽奖链接按钮请求抽奖时,客户端根据用户对抽奖链接按钮的触发,向服务器发送抽奖请求。此时,服务器接收到对应抽奖链接的抽奖请求,可以认为用户试图进行抽奖,又因为该客户端对应的用户帐号未进行过验证,此时需要进一步通过用户帐号判断用户是否具有抽奖资格,因此,向所述客户端返回登录指示。接收到登陆指示的客户端显示用户登陆框,以使用户通过该登陆框进行登陆后,根据登陆的用户帐号判断客户端是否参与过抽奖,从而判断用户是否具有抽奖资格。Optionally, in another implementation manner provided by this embodiment, before returning the login instruction to the client, that is, when it is determined that the machine identifier of the mobile terminal has not been drawn, and the client has not logged in, there is User account, if the user account is not carried in the lottery drawing request, the feedback information of being eligible for lottery drawing can be returned to the client first. Correspondingly, when the client receives the feedback information, it can first display the link button of the lottery draw that can be drawn, that is, the link button of the lottery draw can be displayed in a form that can be triggered, such as displayed brightly. When the user triggers the lottery draw link button to request a lottery draw, the client sends a lottery draw request to the server according to the user's triggering of the lottery draw link button. At this time, when the server receives the lottery drawing request corresponding to the lottery drawing link, it can be considered that the user is trying to draw a lottery, and because the user account corresponding to the client has not been verified, it is necessary to further determine whether the user is eligible for the lottery drawing through the user account. Therefore, A login indication is returned to the client. The client receiving the login instruction displays the user login box, so that after the user logs in through the login box, it can be judged according to the logged-in user account whether the client has participated in the lottery draw, thereby judging whether the user is eligible for the lottery draw.
本实施例为在第一实施例的基础上所作的进一步的说明,其他部分可以参见第一实施例,在此不做赘述。This embodiment is a further description based on the first embodiment. For other parts, reference may be made to the first embodiment, and details are not repeated here.
综上所述,本发明实施例提供的抽奖资格确定方法,在接收到客户端发送的抽奖触发请求时,通过对用户帐号以及移动终端的机器标识是否参与过抽奖的判断对客户端的抽奖资格进行校验。当客户端具有抽奖资格时,向客户端返回具有抽奖资格的反馈信息,指示客户端显示可以抽奖的抽奖链接按钮,使用户可以抽奖。在该方法中,对客户端的抽奖资格进行确定,从而确定是否给与用户抽奖机会。本方法中限定用户的抽奖次数,只有当相互关联的移动终端的机器标识以及客户端的用户帐号均未参与过抽奖,客户端对应的用户才具有抽奖资格,因此一个用户只能参与一次抽奖,避免重复抽奖,促进抽奖的良性进行。To sum up, the method for determining the lottery qualification provided by the embodiment of the present invention, when receiving the lottery trigger request sent by the client, checks the lottery qualification of the client by judging whether the user account and the machine identifier of the mobile terminal have participated in the lottery. check. When the client is qualified for lottery drawing, feedback information of being qualified for lottery drawing is returned to the client, instructing the client to display a link button of lottery drawing that can draw a lottery, so that the user can draw a lottery. In this method, the lottery drawing qualification of the client is determined, so as to determine whether to give the user a chance to draw a lottery. In this method, the number of lottery draws of the user is limited. Only when the machine identification of the mobile terminal associated with each other and the user account of the client has not participated in the lottery draw, the corresponding user of the client terminal has the qualification for the lottery draw. Therefore, a user can only participate in the lottery draw once. Repeat the lottery to promote the benign progress of the lottery.
第三实施例third embodiment
本实施例提供了一种抽奖资格的确定装置300,请参见图3,该装置300包括:请求接收模块310,用于接收客户端发送的抽奖触发请求。判断模块320,用于根据所述抽奖触发请求,判断所述客户端对应的用户帐号以及所述客户端对应的移动终端的机器标识是否在预设时间段内参与过抽奖。第一反馈模块330,若所述客户端对应的用户帐号以及移动终端的机器标识中的任意一个在预设时间段内参与过抽奖,用于向所述客户端返回没有抽奖资格的反馈信息,以指示所述客户端显示已抽奖的提示信息。第二反馈模块340,若所述客户端对应的用户帐号以及移动终端的机器标识在预设时间段内均未参与过抽奖,用于向所述客户端返回具有抽奖资格的反馈信息,以指示所述客户端显示可以抽奖的抽奖链接按钮。This embodiment provides an apparatus 300 for determining a lottery qualification. Please refer to FIG. 3 . The apparatus 300 includes: a request receiving module 310 , configured to receive a lottery trigger request sent by a client. The judging module 320 is configured to judge whether the user account corresponding to the client and the machine identifier of the mobile terminal corresponding to the client have participated in the lucky draw within a preset time period according to the lottery drawing trigger request. The first feedback module 330, if any one of the user account corresponding to the client and the machine identifier of the mobile terminal has participated in the lottery within a preset period of time, is used to return feedback information that is not eligible for the lottery to the client, To instruct the client to display the prompt information of the lucky draw. The second feedback module 340, if neither the user account corresponding to the client nor the machine identification of the mobile terminal has participated in the lottery within a preset period of time, is used to return feedback information that is qualified for the lottery to the client to indicate The client displays a lottery link button that can draw a lottery.
另外,若所述机器标识对应的用户终端在预设时间段内参与过抽奖,第一反馈模块330向所述客户端返回没有抽奖资格的反馈信息。In addition, if the user terminal corresponding to the machine identifier has participated in a lottery draw within a preset time period, the first feedback module 330 returns feedback information that is not eligible for a lottery draw to the client.
可选的,所述抽奖触发请求中携带有所述客户端对应的移动终端的机器标识,所述判断模块320包括:第一判断单元,用于判断所述移动终端的机器标识是否在预设时间段内参与过抽奖;第二判断单元,若所述机器标识在预设时间段内未参与过抽奖,用于判断所述用户帐号是否在预设时间段内参与过抽奖。Optionally, the lottery trigger request carries the machine identifier of the mobile terminal corresponding to the client, and the judging module 320 includes: a first judging unit, configured to judge whether the machine identifier of the mobile terminal is in the preset Participated in a lottery draw within a time period; the second judging unit is used to determine whether the user account has participated in a lottery draw within a preset time period if the machine identifier has not participated in a lottery draw within a preset time period.
可选的,所述第二判断单元包括:判断子单元,用于当所述抽奖触发请求中携带有所述客户端对应的用户帐号,判断所述用户帐号是否在预设时间段内参与过抽奖;第一反馈子单元,若所述用户帐号在预设时间段内参与过抽奖,用于向所述客户端返回没有抽奖资格的反馈信息;第二反馈子单元,若所述用户帐号在预设时间段内未参与过抽奖,用于向所述客户端返回具有抽奖资格的反馈信息。Optionally, the second judging unit includes: a judging subunit, configured to judge whether the user account has participated in the lottery drawing trigger request within a preset time period when the user account corresponding to the client is carried in the lottery drawing trigger request. lottery draw; the first feedback subunit, if the user account has participated in the lottery draw within a preset time period, is used to return feedback information that is not eligible for the lottery draw to the client; the second feedback subunit, if the user account is in Not participating in a lottery draw within a preset time period is used to return feedback information of being qualified for a lottery draw to the client.
可选的,判断子单元可以在当所述抽奖触发请求中携带有所述客户端对应的用户帐号,判断所述用户帐号是否在预设时间段内参与过抽奖。若所述用户帐号在预设时间段内参与过抽奖,第一反馈模块330向所述客户端返回没有抽奖资格的反馈信息;若所述用户帐号在预设时间段内未参与过抽奖,第二反馈模块340向所述客户端返回具有抽奖资格的反馈信息。Optionally, the determining subunit may determine whether the user account has participated in the lottery draw within a preset time period when the lottery drawing trigger request carries the user account corresponding to the client. If the user account has participated in a lottery within a preset period of time, the first feedback module 330 returns feedback information that is not eligible for a lottery to the client; if the user account has not participated in a lottery within a preset period of time, the first feedback module 330 The second feedback module 340 returns to the client the feedback information with lottery qualifications.
可选的,该装置还可以包括指示发送子单元,用于当所述抽奖触发请求中未携带有所述客户端对应的用户帐号,向所述客户端返回登录指示,以指示所述客户端根据所述登录指示显示用户登录框;登录接收子单元,用于接收所述客户端根据所述登录指示发送的登录请求,所述登录请求中携带有所述客户端对应的用户帐号。对应的,判断子单元判断接收到的用户帐号是否在预设时间段内参与过抽奖。若所述用户帐号在预设时间段内参与过抽奖,第一反馈模块330向所述客户端返回没有抽奖资格的反馈信息;若所述用户帐号在预设时间段内未参与过抽奖,第二反馈模块340向所述客户端返回具有抽奖资格的反馈信息。Optionally, the device may further include an instruction sending subunit, configured to return a login instruction to the client when the lottery trigger request does not carry the user account corresponding to the client, to instruct the client to Displaying a user login frame according to the login instruction; a login receiving subunit configured to receive a login request sent by the client according to the login instruction, the login request carrying a user account corresponding to the client. Correspondingly, the judging subunit judges whether the received user account has participated in a lottery within a preset time period. If the user account has participated in a lottery within a preset period of time, the first feedback module 330 returns feedback information that is not eligible for a lottery to the client; if the user account has not participated in a lottery within a preset period of time, the first feedback module 330 The second feedback module 340 returns to the client the feedback information with lottery qualifications.
可选的,在本实施例中,当所述抽奖触发请求中未携带有所述客户端对应的用户帐号,第二反馈模块340向所述客户端返回具有抽奖资格的反馈信息,以指示所述客户端显示可以抽奖的抽奖链接按钮;当接收到对应所述抽奖链接的抽奖请求,指示发送子单元向所述客户端返回登录指示。Optionally, in this embodiment, when the lottery drawing trigger request does not carry the user account corresponding to the client, the second feedback module 340 returns feedback information that is qualified for lottery drawing to the client to indicate that the The client terminal displays a lottery drawing link button that can draw a lottery; when receiving a lottery drawing request corresponding to the lottery link, instruct the sending subunit to return a login instruction to the client.
需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于装置类实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。对于方法实施例中的所描述的任意的处理方式,在装置实施例中均可以通过相应的处理模块实现,装置实施例中不再一一赘述。It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. For the same and similar parts in each embodiment, refer to each other, that is, Can. As for the device-type embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for related parts, please refer to part of the description of the method embodiments. Any of the processing methods described in the method embodiments can be implemented by corresponding processing modules in the device embodiments, and details will not be repeated in the device embodiments.
请再次参阅图4,基于上述的抽奖资格的确定方法、装置,本申请实施例还提供一种服务器100,所述服务器100通常可以包括一个或多个(图中仅示出一个)处理器102、存储器104、RF(Radio Frequency,射频)模块106、输入模块118、电源模块122。本领域普通技术人员可以理解,图4所示的结构仅为示意,其并不对所述服务器100的结构造成限定。例如,所述服务器100还可包括比图4中所示更多或者更少的组件,或者具有与图4所示不同的对应。Please refer to FIG. 4 again. Based on the above-mentioned method and device for determining lottery qualifications, the embodiment of the present application also provides a server 100, which may generally include one or more (only one is shown in the figure) processors 102 , a memory 104 , an RF (Radio Frequency, radio frequency) module 106 , an input module 118 , and a power supply module 122 . Those skilled in the art can understand that the structure shown in FIG. 4 is only for illustration, and it does not limit the structure of the server 100 . For example, the server 100 may also include more or fewer components than those shown in FIG. 4 , or have different correspondences from those shown in FIG. 4 .
本领域普通技术人员可以理解,相对于所述处理器102来说,所有其他的组件均属于外设,所述处理器102与这些外设之间通过多个外设接口124相耦合。所述外设接口124可基于以下标准实现:通用异步接收/发送装置(Universal Asynchronous Receiver/Transmitter,UART)、通用输入/输出(General Purpose Input Output,GPIO)、串行外设接口(Serial Peripheral Interface,SPI)、内部集成电路(Inter-Integrated Circuit,I2C),但不并限于上述标准。在一些实例中,所述外设接口124可仅包括总线;在另一些实例中,所述外设接口124还可包括其他元件,如一个或者多个控制器。此外,这些控制器还可以从所述外设接口124中脱离出来,而集成于所述处理器102内或者相应的外设内。Those skilled in the art can understand that, relative to the processor 102 , all other components belong to peripherals, and the processor 102 is coupled to these peripherals through a plurality of peripheral interfaces 124 . The peripheral interface 124 can be implemented based on the following standards: Universal Asynchronous Receiver/Transmitter (UART), General Purpose Input Output (GPIO), Serial Peripheral Interface (Serial Peripheral Interface) , SPI), inter-integrated circuit (Inter-Integrated Circuit, I2C), but not limited to the above standards. In some examples, the peripheral interface 124 may only include a bus; in other examples, the peripheral interface 124 may also include other components, such as one or more controllers. In addition, these controllers can also be separated from the peripheral interface 124 and integrated in the processor 102 or corresponding peripherals.
所述存储器104可用于存储软件程序以及模块,所述处理器102通过运行存储在所述存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理。所述存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,所述存储器104可进一步包括相对于所述处理器102远程设置的存储器,这些远程存储器可以通过网络连接至所述服务器100。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 104 can be used to store software programs and modules, and the processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104 . The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory that is remotely located relative to the processor 102 , and these remote memories may be connected to the server 100 through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
所述RF模块106用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯。所述RF模块106可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。所述RF模块106可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。上述的无线网络可以使用各种通信标准、协议及技术,包括但并不限于全球移动通信系统(Global System for Mobile Communication,GSM)、增强型移动通信技术(Enhanced Data GSM Environment,EDGE),宽带码分多址技术(wideband codedivision multiple access,W-CDMA),码分多址技术(Code division access,CDMA)、时分多址技术(time division multiple access,TDMA),无线保真技术(Wireless,Fidelity,WiFi)(如美国电气和电子工程师协会标准IEEE 802.10A,IEEE802.11b,IEEE802.11g和/或IEEE 802.11n)、网络电话(Voice over internet protocal,VoIP)、全球微波互联接入(Worldwide Interoperability for Microwave Access,Wi-Max)、其他用于邮件、即时通讯及短消息的协议,以及任何其他合适的通讯协议,甚至可包括那些当前仍未被开发出来的协议。The RF module 106 is used to receive and send electromagnetic waves, realize mutual conversion between electromagnetic waves and electrical signals, and communicate with communication networks or other devices. The RF module 106 may include various existing circuit elements for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, Subscriber Identity Module (SIM) cards, memory, etc. . The RF module 106 can communicate with various networks such as the Internet, intranet, wireless network or communicate with other devices through the wireless network. The wireless network mentioned above may include a cellular telephone network, a wireless local area network or a metropolitan area network. The above-mentioned wireless network can use various communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), wideband code Division multiple access technology (wideband code division multiple access, W-CDMA), code division multiple access technology (Code division access, CDMA), time division multiple access technology (time division multiple access, TDMA), wireless fidelity technology (Wireless, Fidelity, WiFi) (such as IEEE 802.10A, IEEE802.11b, IEEE802.11g and/or IEEE 802.11n), VoIP (Voice over internet protocol, Worldwide Interoperability for Microwave Access, Wi-Max), other protocols for mail, instant messaging, and short messages, and any other suitable communication protocols, even those that have not yet been developed.
所述电源模块122用于向所述处理器102以及其他各组件提供电力供应。具体地,所述电源模块122可包括电源管理系统、一个或多个电源(如电池或者交流电)、充电电路、电源失效检测电路、逆变器、电源状态指示灯以及其他任意与所述服务器100内电力的生成、管理及分布相关的组件。The power module 122 is used to provide power supply to the processor 102 and other components. Specifically, the power module 122 may include a power management system, one or more power sources (such as batteries or AC power), a charging circuit, a power failure detection circuit, an inverter, a power status indicator light, and any other components related to the server 100. Components related to the generation, management and distribution of domestic electricity.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the described specific features, structures, materials or characteristics may be combined in any suitable manner in any one or more embodiments or examples. In addition, those skilled in the art can combine and combine different embodiments or examples and features of different embodiments or examples described in this specification without conflicting with each other.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of the present application, "plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent modules, segments or portions of code comprising one or more executable instructions for implementing specific logical functions or steps of the process , and the scope of preferred embodiments of the present application includes additional implementations in which functions may be performed out of the order shown or discussed, including in substantially simultaneous fashion or in reverse order depending on the functions involved, which shall It should be understood by those skilled in the art to which the embodiments of the present application belong.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(移动终端),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium, For use with instruction execution systems, devices, or devices (such as computer-based systems, systems including processors, or other systems that can fetch instructions from instruction execution systems, devices, or devices and execute instructions), or in conjunction with these instruction execution systems, devices or equipment used. For the purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use in or in conjunction with an instruction execution system, device or device. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connection with one or more wires (mobile terminal), portable computer disk case (magnetic device), random access memory (RAM), Read Only Memory (ROM), Erasable and Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, since the program can be read, for example, by optically scanning the paper or other medium, followed by editing, interpretation or other suitable processing if necessary. The program is processed electronically and stored in computer memory.
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that each part of the present application may be realized by hardware, software, firmware or a combination thereof. In the embodiments described above, various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques known in the art: Discrete logic circuits, ASICs with suitable combinational logic gates, Programmable Gate Arrays (PGAs), Field Programmable Gate Arrays (FPGAs), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. During execution, one or a combination of the steps of the method embodiments is included. In addition, each functional unit in each embodiment of the present application may be integrated into one processing module, each unit may exist separately physically, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are realized in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limitations on the present application, and those skilled in the art can make the above-mentioned The embodiments are subject to changes, modifications, substitutions and variations.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not drive the essence of the corresponding technical solutions away from the spirit and scope of the technical solutions of the various embodiments of the present application.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711231053.4ACN108022126A (en) | 2017-11-29 | 2017-11-29 | Lottery qualification determining method, device, server and storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711231053.4ACN108022126A (en) | 2017-11-29 | 2017-11-29 | Lottery qualification determining method, device, server and storage medium |
| Publication Number | Publication Date |
|---|---|
| CN108022126Atrue CN108022126A (en) | 2018-05-11 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711231053.4APendingCN108022126A (en) | 2017-11-29 | 2017-11-29 | Lottery qualification determining method, device, server and storage medium |
| Country | Link |
|---|---|
| CN (1) | CN108022126A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108965952A (en)* | 2018-08-13 | 2018-12-07 | 秦四春 | A kind of advertisement interactive approach and apply its device and system |
| CN110120115A (en)* | 2019-05-21 | 2019-08-13 | 秒针信息技术有限公司 | A kind of method, apparatus of prize drawing, equipment and medium |
| CN111258768A (en)* | 2018-11-30 | 2020-06-09 | 中国移动通信集团湖南有限公司 | Concurrent processing method and device for preferential lottery activity |
| CN111681045A (en)* | 2020-06-01 | 2020-09-18 | 深圳乐信软件技术有限公司 | A lottery management method, device, server and storage medium |
| CN114780894A (en)* | 2022-05-05 | 2022-07-22 | 广州方硅信息技术有限公司 | Request screening processing method, device, equipment and medium thereof |
| CN115760494A (en)* | 2023-02-10 | 2023-03-07 | 深圳市思为软件技术有限公司 | Data processing-based service optimization method and device for real estate marketing |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104616163A (en)* | 2013-11-05 | 2015-05-13 | 北大方正集团有限公司 | Lottery drawing identification code management method and device |
| CN106846058A (en)* | 2017-01-19 | 2017-06-13 | 网易无尾熊(杭州)科技有限公司 | Method and apparatus for choosing participant |
| CN107016572A (en)* | 2017-03-31 | 2017-08-04 | 北京猎豹移动科技有限公司 | Promotion method, device and the server of application program |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104616163A (en)* | 2013-11-05 | 2015-05-13 | 北大方正集团有限公司 | Lottery drawing identification code management method and device |
| CN106846058A (en)* | 2017-01-19 | 2017-06-13 | 网易无尾熊(杭州)科技有限公司 | Method and apparatus for choosing participant |
| CN107016572A (en)* | 2017-03-31 | 2017-08-04 | 北京猎豹移动科技有限公司 | Promotion method, device and the server of application program |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108965952A (en)* | 2018-08-13 | 2018-12-07 | 秦四春 | A kind of advertisement interactive approach and apply its device and system |
| CN111258768A (en)* | 2018-11-30 | 2020-06-09 | 中国移动通信集团湖南有限公司 | Concurrent processing method and device for preferential lottery activity |
| CN111258768B (en)* | 2018-11-30 | 2023-09-19 | 中国移动通信集团湖南有限公司 | Concurrent processing method and device for preferential lottery drawing activities |
| CN110120115A (en)* | 2019-05-21 | 2019-08-13 | 秒针信息技术有限公司 | A kind of method, apparatus of prize drawing, equipment and medium |
| CN111681045A (en)* | 2020-06-01 | 2020-09-18 | 深圳乐信软件技术有限公司 | A lottery management method, device, server and storage medium |
| CN114780894A (en)* | 2022-05-05 | 2022-07-22 | 广州方硅信息技术有限公司 | Request screening processing method, device, equipment and medium thereof |
| CN115760494A (en)* | 2023-02-10 | 2023-03-07 | 深圳市思为软件技术有限公司 | Data processing-based service optimization method and device for real estate marketing |
| CN115760494B (en)* | 2023-02-10 | 2023-05-05 | 深圳市思为软件技术有限公司 | Service optimization method and device for real estate marketing based on data processing |
| Publication | Publication Date | Title |
|---|---|---|
| CN108022126A (en) | Lottery qualification determining method, device, server and storage medium | |
| CN105337843B (en) | Interactive system, method, client and background server | |
| US20180270180A1 (en) | Method and device for displaying notification message and mobile terminal | |
| US9756092B2 (en) | Distribution and synchronization of a social media environment | |
| CN110035004B (en) | User name card sharing method, friend adding method and related device | |
| CN103501333A (en) | Method, device and terminal equipment for downloading files | |
| CN108647089A (en) | Resource allocation method, device, terminal and storage medium | |
| WO2018019236A1 (en) | Method and apparatus for sharing application program, and electronic device | |
| CN106375774B (en) | Method, device and system for controlling display content of live broadcast room | |
| CN103905885A (en) | Video live broadcast method and device | |
| CN108123839B (en) | Message sending method, device, server and storage medium | |
| CN103236968A (en) | Session management method, device and system for mass texting messages | |
| CN108096838A (en) | Gift bag gets method, apparatus, server, mobile terminal and storage medium | |
| CN105657656B (en) | A kind of transmission power adjustment method and user equipment | |
| WO2019051849A1 (en) | Method and device for subscribing message, computer apparatus, and computer storage medium | |
| CN106648698A (en) | Method and device for displaying message notification and electronic equipment | |
| CN108090142A (en) | Card sort method, device, server and storage medium | |
| CN105468357B (en) | Message prompt method, device and the mobile terminal of social application | |
| CN108346066A (en) | Advertisement pushing method, device, server and storage medium | |
| CN108021643A (en) | Information pushing method and device, server and storage medium | |
| CN109040981B (en) | Message sending method, device, storage medium and mobile terminal | |
| CN103002492B (en) | Communication test method and device for mobile terminal (MT) | |
| CN103607431A (en) | Mobile terminal resource processing method, apparatus and equipment thereof | |
| CN108345696A (en) | Card sort method, device, server and storage medium | |
| CN106330681B (en) | Method, system and related equipment for sharing film watching information |
| 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:20180511 |