CN116627413A - Method, device, equipment and medium for generating active page - Google Patents

Method, device, equipment and medium for generating active page Download PDF

Info

Publication number
CN116627413A
CN116627413A CN202310629238.XA CN202310629238A CN116627413A CN 116627413 A CN116627413 A CN 116627413A CN 202310629238 A CN202310629238 A CN 202310629238A CN 116627413 A CN116627413 A CN 116627413A
Authority
CN
China
Prior art keywords
target
activity
page
information
code segment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310629238.XA
Other languages
Chinese (zh)
Inventor
胡志蒙
皮净锐
李汝佟
龙珏男
袁媛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202310629238.XA priority Critical patent/CN116627413A/en
Publication of CN116627413A publication Critical patent/CN116627413A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0212Chance discounts or incentives
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Data Mining & Analysis (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Human Computer Interaction (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present application relates to the field of computer application technologies, and in particular, to a method, an apparatus, a device, and a medium for generating an active page. After receiving an access request to a target activity sent by a terminal, a server searches for target activity information corresponding to an activity identifier carried in the access request in the stored activity information of each activity, searches for a first parameter value corresponding to each parameter to be determined in an activity code segment of the activity identifier in the target activity information, adds the first parameter value to the activity code segment correspondingly, thereby obtaining a target activity code segment, generates information of a page of the target activity according to the target activity code segment and the first other code segments stored for the activity identifier, and sends the information to the terminal.

Description

Method, device, equipment and medium for generating active page
Technical Field
The present application relates to the field of computer application technologies, and in particular, to a method, an apparatus, a device, and a medium for generating an active page.
Background
With the rapid development of internet technology, the internet has been incorporated into various industries of society, and more companies perform customer activities, benefit conversions, etc. on various system platforms in a manner of developing activities, so as to promote brand effects.
The frequency of developing various activities on various system platforms is becoming higher and higher due to the current strong competition of various industries. However, at present, brand new development needs to be performed on the running code for online release of each different activity, and even if there is some tiny change between each activity, the running code needs to be redeveloped, which greatly affects the online efficiency of the activity, and since each activity corresponds to a complete set of running code, the code storage pressure is increased.
Therefore, how to improve the online efficiency of the activity and reduce the storage pressure of the code is a urgent problem to be solved.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a medium for generating an activity page, which are used for solving the problems of low online efficiency and high code storage pressure of an activity caused by the fact that running codes are required to be developed for each activity in the prior art.
The application provides a method for generating an active page, which comprises the following steps:
receiving an access request for a target activity sent by a terminal, wherein the access request carries an activity identifier of the target activity;
searching target activity information corresponding to the activity identification in the stored activity information of each activity; searching a first parameter value corresponding to each parameter to be determined in the activity code segment stored for the activity identifier in the target activity information, and adding the first parameter value to the activity code segment correspondingly to obtain a target activity code segment;
and generating information of the page of the target activity according to the target activity code segment and the first other code segments stored for the activity identification, and sending the information to the terminal.
Further, the method further comprises:
and deleting the first parameter value corresponding to each parameter to be determined in the target active code segment.
Further, the method further comprises:
receiving a page jump instruction sent by the terminal, wherein the page jump instruction carries a target page identifier of a page to be jumped to;
determining a target code segment corresponding to the target page identifier according to the relation between each page identifier and the code segment stored for the activity identifier;
Searching a second parameter value corresponding to each parameter to be determined in the target code segment in the associated information stored for the activity identifier, and adding the second parameter value to the target code segment correspondingly to obtain a target jump code segment;
and generating information of the page to be jumped to according to the target jump code segment and the second other code segments corresponding to the target page identifier stored for the activity identifier, and sending the information to the terminal.
Further, if the page to be jumped to is a lottery page and a lottery instruction sent by the terminal is received, the method further includes:
dividing a preset numerical interval according to the reward share saved for the activity mark to obtain a plurality of target numerical intervals corresponding to the number of the reward shares;
randomly extracting any numerical value from the multiple target numerical value intervals according to the probability corresponding to each interval; and determining target rewarding information of a target value interval corresponding to the value as rewarding information of a user of the terminal, and sending the rewarding information to the terminal, so that the terminal displays the rewarding information on the page to be jumped.
Further, the method further comprises:
and deleting the second parameter value corresponding to each parameter to be determined in the target jump code segment.
Further, the method further comprises:
searching target early warning information corresponding to the activity identifier in the stored early warning information of each activity;
searching a third parameter value corresponding to each parameter to be determined in the monitoring code segment stored aiming at the activity identifier in the target early warning information, and correspondingly adding the third parameter value into the monitoring code segment to obtain a target monitoring code segment;
and monitoring the target activity based on the target monitoring code segment, and outputting prompt information when monitoring abnormality.
Further, the method further comprises:
receiving an input information configuration instruction, wherein the information configuration instruction carries a target category identifier of a category to which information to be configured belongs;
determining and displaying a target configuration page corresponding to the target category identification according to the relation between each category identification and the configuration page which are stored in advance;
and receiving configuration information input in the target configuration page, and storing each parameter in the page and a target parameter value corresponding to each input parameter when a storage instruction is received.
The embodiment of the application also provides an active page generating device, which comprises:
the receiving module is used for receiving an access request for a target activity sent by the terminal, wherein the access request carries an activity identifier of the target activity;
the searching module is used for searching the target activity information corresponding to the activity identifier in the stored activity information of each activity; searching a first parameter value corresponding to each parameter to be determined in an activity code segment stored for the activity identifier in the target activity information;
the code generation module is used for correspondingly adding the first parameter value into the active code segment to obtain a target active code segment;
and the page generation module is used for generating the information of the page of the target activity according to the target activity code segment and the first other code segments stored for the activity identification and sending the information to the terminal.
Further, the apparatus further comprises:
and the recovery module is used for deleting the first parameter value corresponding to each parameter to be determined in the target active code segment.
Further, the receiving module is further configured to receive a page jump instruction sent by the terminal, where the page jump instruction carries a target page identifier of a page to be jumped to;
The determining module is used for determining a target code segment corresponding to the target page identifier according to the relation between each page identifier and the code segment stored for the activity identifier;
the searching module is further configured to search for a second parameter value corresponding to each parameter to be determined in the target code segment in the association information stored for the activity identifier;
the code generation module is further configured to correspondingly add the second parameter value to the target code segment, so as to obtain a target jump code segment;
the page generation module is further configured to generate information of a page to be skipped according to the target skip code segment and a second other code segment corresponding to the target page identifier stored for the activity identifier, and send the information to the terminal.
Further, the apparatus further comprises:
the lottery module is used for dividing a preset numerical interval according to the reward share stored for the activity mark if the page to be jumped is a lottery page and a lottery instruction sent by the terminal is received, so as to obtain a plurality of target numerical intervals corresponding to the number of the reward shares; randomly extracting any numerical value from the multiple target numerical value intervals according to the probability corresponding to each interval; and determining target rewarding information of a target value interval corresponding to the value as rewarding information of a user of the terminal, and sending the rewarding information to the terminal, so that the terminal displays the rewarding information on the page to be jumped.
Further, the restoring module is further configured to delete a second parameter value corresponding to each parameter to be determined in the target jump code segment.
Further, the searching module is further configured to search the stored early warning information of each activity for target early warning information corresponding to the activity identifier; searching a third parameter value corresponding to each parameter to be determined in the monitoring code segment stored for the activity identifier in the target early warning information;
the code generation module is further configured to correspondingly add the third parameter value to the monitoring code segment, so as to obtain a target monitoring code segment;
and the monitoring module is used for monitoring the target activity based on the target monitoring code segment and outputting prompt information when monitoring abnormality.
Further, the receiving module is further configured to receive an input information configuration instruction, where the information configuration instruction carries a target category identifier of a category to which the information to be configured belongs;
the determining module is further used for determining and displaying a target configuration page corresponding to the target category identifier according to the relation between each category identifier and the configuration page which are stored in advance;
The receiving module is further used for receiving configuration information input in the target configuration page;
and the storage module is used for storing each parameter in the page and the target parameter value corresponding to each input parameter when receiving the storage instruction.
The embodiment of the application also provides electronic equipment, which at least comprises a processor and a memory, wherein the processor is used for realizing the steps of the method for generating the active page according to any one of the above steps when executing the computer program stored in the memory.
Embodiments of the present application also provide a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the active page generation method as described in any one of the above.
The embodiment of the application also provides a computer program product, which comprises: computer program code for causing a computer to perform the steps of the active page generation method as claimed in any one of the preceding claims when said computer program code is run on a computer.
In the embodiment of the application, after an access request for accessing a target activity sent by a terminal is received, target activity information corresponding to an activity identifier carried in the access request is searched in the stored activity information of each activity, a first parameter value corresponding to each parameter to be determined in an activity code segment stored for the activity identifier is searched in the target activity information, and the first parameter value is correspondingly added into the activity code segment, so that the target activity code segment is obtained, the aim of obtaining the target code segment even if a complete running code is not stored for the target activity in advance is achieved, the online efficiency of the activity is improved, and after the target activity code segment is determined, page information of the target activity is generated according to the target activity code segment and the first other code segments stored for the activity identifier and is sent to the terminal, so that normal running of the activity can still be realized on the premise that the running code is not redeveloped, and meanwhile, the storage pressure of the code is relieved.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an active page generation process according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a static page according to an embodiment of the present application;
FIG. 3 is a schematic drawing of a lottery page provided in an embodiment of the application;
FIG. 4 is a schematic diagram of a target configuration page according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a target configuration page according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a target configuration page according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a target configuration page according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a target configuration page according to an embodiment of the present application;
FIG. 9 is a schematic diagram of an apparatus for generating an active page according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which are derived by a person skilled in the art based on the embodiments of the application, fall within the scope of protection of the application.
In order to still realize normal operation of an activity on the premise of not redevelopment of an operation code, so as to improve the online efficiency of the activity and reduce the code storage pressure, the application provides an activity page generation method, an activity page generation device, an activity page generation equipment and an activity page generation medium.
In the embodiment of the application, an access request for a target activity sent by a terminal is received, the access request carries an activity identifier of the target activity, target activity information corresponding to the activity identifier is searched in the stored activity information of each activity, a first parameter value corresponding to each parameter to be determined in an activity code segment stored for the activity identifier is searched in the target activity information, the first parameter value is correspondingly added into the activity code segment, a target activity code segment is obtained, and information of a page of the target activity is generated and sent to the terminal according to the target activity code segment and the first other code segments stored for the activity identifier.
Example 1:
fig. 1 is a schematic diagram of an active page generating process according to an embodiment of the present application, where the process includes the following steps:
s101: and receiving an access request for a target activity sent by a terminal, wherein the access request carries an activity identifier of the target activity.
The method for generating the active page is applied to the server.
In the embodiment of the application, when the terminal needs to acquire the information of a certain activity page, an access request for a target activity can be sent to the server, wherein the activity can be understood as an operation activity promoted by a company in the Internet for improving the brand effect. In the embodiment of the application, the access request carries the activity identifier of the target activity, and the activity identifier has uniqueness. The access request may be sent by a user participating in the activity through a terminal, where the terminal may be a mobile phone, a tablet computer, a smart watch, etc., and the terminal may communicate with the server.
The server may detect each activity stored with activity information according to a preset time interval, where the stored activity information may include a channel in which the activity corresponding to the activity information is launched, where the channel may be understood as a website in which the activity is launched, for example, activity 1 is launched into website 1 and website 2, and then the channel in which the activity is launched is website 1 and website 2. After the server acquires each activity of the saved activity information, the activity title of the activity can be displayed in the channel in which the activity is put for each activity.
When the user of a certain terminal sees the activity title of an activity through the channel in which the activity is put, the user of the terminal can access the activity by clicking the activity title, and when the terminal monitors the operation of clicking the activity title by the user, the activity corresponding to the activity title clicked by the user is determined to be access to the target activity, and an access request for accessing the target activity is sent to the server.
In order to facilitate the server to determine the target activity accessed by the user of the terminal, the terminal may determine, after determining the target activity, an activity identifier corresponding to the target activity according to a relationship between a saved activity title and the activity identifier, where the relationship between the saved activity title and the activity identifier may be that the server stores the activity title in a delivery channel together when displaying the activity title in the channel in which the activity is delivered, for example, in a cache file of the delivery channel. After the activity identifier corresponding to the target activity is determined, the activity identifier is carried in the access request to be sent together.
S102: searching target activity information corresponding to the activity identification in the stored activity information of each activity; and searching a first parameter value corresponding to each parameter to be determined in the activity code segment stored for the activity identifier in the target activity information, and adding the first parameter value to the activity code segment correspondingly to obtain the target activity code segment.
In order to improve the online efficiency of activities, in the embodiment of the present application, activity information of each activity is pre-stored, where the activity information may be stored locally in a server in a configuration file, or may be stored in a database, and the activity information may include information such as an activity photo, a theme, an activity organization, an activity start time, an activity description, and the like. After receiving an access request to a target activity sent by a terminal, a server acquires the stored activity information of each activity, and searches the target activity information corresponding to the activity identifier of the target activity in the stored activity information of each activity.
In order to reduce the storage pressure of codes, in the embodiment of the application, a plurality of code segments are pre-stored, so that the pre-stored code segments can be applied to a plurality of activities, thereby avoiding the complicated work of recoding for different activities, when the stored code segments are written by staff, parameter values of certain parameters in the code segments are not written, when the activity page is generated, the parameter values which are lack in the code segments can be perfected according to the content included in the activity information of the target activity, and the finished code segments can normally operate.
The worker may select a code segment to be applied to each activity among the plurality of stored code segments in advance for each activity, and determine the code segment selected by the worker as the activity code segment of the activity. To facilitate the subsequent server determining the active code segment that each activity corresponds to, the server may store in a database the relationship between each activity identification and the code identification of the active code segment. For example, the code identifier corresponding to the active identifier 00A is 001, 002, 020, and the code identifier corresponding to the active identifier 00C is 001, 023, 032, where the code identifier may uniquely identify a certain code segment, and the code identifier may be used to find the corresponding code segment. In the embodiment of the application, the code identifiers stored for each activity identifier can be one or a plurality of code identifiers, and the code identifiers stored between different activities can be the same or different.
When the page of the target activity is generated, the server can search the code segments corresponding to the target activity in each stored code segment according to the code identification corresponding to the activity identification of the target activity.
Specifically, the worker may pre-configure a code library in which a plurality of code segments are stored, and the code library may include, for example, a code segment for setting an input box section, a code segment for setting a page background, a code segment for setting a text format, a code segment for active operation logic, and the like. When a certain activity needs to be issued online, a worker can select a code segment required by the activity in a code base, the code segment selected by the worker can be contained as a sub-code segment in the activity code segment of the activity to be issued online, and the server stores the code identification of the code segment selected by the worker corresponding to the activity identification of the activity, that is, each activity code segment can comprise one code segment or a plurality of code segments. After receiving an access request for a target activity sent by a terminal, searching a code identifier stored for the activity identifier of the target activity in the stored relation between each activity identifier and the code identifier according to the activity identifier of the target activity carried in the access request, searching a code segment corresponding to the code identifier in a code library, and determining the searched code segment as the activity code segment of the target activity.
After the activity code segment saved by the activity identifier aiming at the target activity is searched, a first parameter value corresponding to each parameter to be determined in the activity code segment is searched in the target activity information, and the first parameter value is correspondingly added into the activity code segment, so that the target activity code segment is obtained.
Specifically, assuming that parameters to be determined in the active code segment are a moving picture and a theme, a first parameter value corresponding to the moving picture parameter may be found in the target active information, where the first parameter value may be a storage location corresponding to the moving picture, and a first parameter value corresponding to the theme parameter may be found in the target active information, and the moving picture and the first parameter value corresponding to the theme parameter are added to the active code segment, so as to obtain the target active code segment.
S103: and generating information of the page of the target activity according to the target activity code segment and the first other code segments stored for the activity identification, and sending the information to the terminal.
After the target activity code segment is obtained, the target activity code segment and the first other code segments stored for the activity identification are spliced according to a preset splicing sequence, so that the operation code of the target activity is obtained, the information of the page of the target activity is generated based on the operation code and is sent to the terminal sending the access request, and the user of the terminal can conveniently check the activity details of the target activity. The first other code segment stored for the activity identification of the target activity is stored after being selected and determined by a staff in advance, and the first other code segment can be understood as a code segment describing some fixed and unchanged information of the activity. To specifically determine which first other code segments are, the server may store in the database a relationship between each active identity and the code identities of the other code segments, based on which a lookup of the first other code segments is performed.
In consideration of the situation that a plurality of code segments are included in the activity code segments stored for the activity identifier, after the first parameter value is correspondingly added to the activity code segments, a plurality of target activity code segments are obtained, and therefore in the embodiment of the application, when a plurality of target activity code segments are obtained, the plurality of target activity code segments and the first other code segments stored for the activity identifier are spliced according to a preset splicing sequence, and information of a page of the target activity is generated.
In the embodiment of the application, after an access request for accessing a target activity sent by a terminal is received, target activity information corresponding to an activity identifier carried in the access request is searched in the stored activity information of each activity, a first parameter value corresponding to each parameter to be determined in an activity code segment stored for the activity identifier is searched in the target activity information, and the first parameter value is correspondingly added into the activity code segment, so that the target activity code segment is obtained, the aim of obtaining the target code segment even if a complete running code is not stored for the target activity in advance is achieved, the online efficiency of the activity is improved, and after the target activity code segment is determined, page information of the target activity is generated according to the target activity code segment and the first other code segments stored for the activity identifier and is sent to the terminal, so that normal running of the activity can still be realized on the premise that the running code is not redeveloped, and meanwhile, the storage pressure of the code is relieved.
Example 2:
in order to alleviate the code storing pressure, on the basis of the above embodiment, in an embodiment of the present application, the method further includes:
and deleting the first parameter value corresponding to each parameter to be determined in the target active code segment.
In order to alleviate the code storage pressure, since the server has already sent the information of the page of the target activity to the terminal, the terminal may display the page of the target activity according to the received information, in the embodiment of the present application, the obtained target activity code segment may be restored to the activity code segment saved for the activity identifier, that is, the first parameter value corresponding to each parameter to be determined added to the activity code segment is deleted. So that only the original unmodified code segment to which the active identity corresponds is saved. When the terminal sends an access request for the target activity subsequently, the information of the page of the target activity can be continuously generated according to the mode and sent to the terminal.
Specifically, assuming that the active code segment stored for the active identifier includes the parameter a to be determined, the parameter B to be determined and the parameter C to be determined, that is, the parameter a to be determined, the parameter B to be determined and the parameter C to be determined in the active code segment lack corresponding parameter values, after the page of the target activity is generated according to the target active code segment and the initialization code segment stored for the active identifier and sent to the terminal, the first parameter values corresponding to the parameter A, B, C to be determined in the target active code segment may be deleted.
Example 3:
in order to further improve the activity online efficiency, on the basis of the above embodiments, in the embodiment of the present application, the method further includes:
receiving a page jump instruction sent by the terminal, wherein the page jump instruction carries a target page identifier of a page to be jumped to;
determining a target code segment corresponding to the target page identifier according to the relation between each page identifier and the code segment stored for the activity identifier;
searching a second parameter value corresponding to each parameter to be determined in the target code segment in the associated information stored for the activity identifier, and adding the second parameter value to the target code segment correspondingly to obtain a target jump code segment;
and generating information of the page to be jumped to according to the target jump code segment and the second other code segments corresponding to the target page identifier stored for the activity identifier, and sending the information to the terminal.
After the page corresponding to the target activity is displayed on the terminal, the user can perform subsequent operations based on the displayed content, so that the page is jumped. The server may receive a page jump instruction sent by the terminal, where the page jump instruction carries a target page identifier of a page to be jumped to, where the page jump instruction may be sent after a user of the terminal clicks a link in a target active page when accessing the target active page, or may be sent to the server after the user of the terminal completes a task.
If the page jump instruction is triggered by the clicking operation of the user, the terminal can acquire the content of the clicked position of the user after monitoring the clicking operation of the user because the content displayed by the page of the target activity is known, and judge whether the content is the content needing to be subjected to page jump, if so, the target page identification of the page to be jumped corresponding to the content is carried in the page jump instruction and is sent to the terminal. The page to be jumped to corresponding to each content and the page identification corresponding to each page are sent to the terminal together with the information of the page of the target activity by the server.
After receiving the page jump instruction sent by the terminal, the server can acquire the relation between each page identifier and the code identifier saved for the activity identifier of the target activity, determine the target code identifier corresponding to the target page identifier according to the relation between each page identifier and the code identifier saved for the activity identifier, and search the saved code segments for the target code segment corresponding to the target code identifier, wherein the code identifier corresponding to each page identifier can be one or a plurality of code identifiers.
In the embodiment of the application, corresponding association information is stored for each activity in advance, wherein the association information can be stored locally on a server in the form of a configuration file or in a database. The associated information may include web page information of an activity, for example, many activities are task type activities, that is, activities include a plurality of tasks, and a user may gain rights by completing the tasks to participate in the activities, for example: a customs class task, a daily class task, etc. Therefore, the related information may further include information of a task related to the activity, information of a website, and the like, where the task related to the activity may be a browsing task, an answering task, a popup task, a standard-reaching task, a subscribing task, and the like.
After determining the target code segment corresponding to the target page identifier, searching the stored association information of the activity identifier aiming at the target activity in the stored association information of each activity. And searching a second parameter value corresponding to each parameter to be determined in the target code segment in the searched associated information, and adding the second parameter value to the active code segment correspondingly to obtain the target jump code segment.
After the target jump code segment is obtained, determining a target other code identifier corresponding to the activity identifier of the target activity according to the relation between the pre-stored activity identifier and other code identifiers, determining a target code identifier corresponding to a target page identifier carried in a page jump instruction according to the relation between the stored target other code identifier and the page identifier, and determining the code segment corresponding to the determined target code identifier as a second other code segment. And splicing the target jump code segment and the second other code segments corresponding to the target page identification according to a preset splicing sequence, so as to obtain the running code of the page to be jumped, generating the information of the page to be jumped based on the obtained running code, and sending the information to a terminal sending a page jump instruction for a user of the terminal to check. In the embodiment of the present application, the second other code segment may be understood as a code segment describing some fixed information in the page to be jumped to.
In addition, the code identifier corresponding to each page identifier stored in advance may be plural, that is, the code segments corresponding to each page identifier may be plural, and then the determined target code segment corresponding to the target page identifier may include plural code segments, so that after the second parameter value is added to the target code segment correspondingly, plural target jump code segments will be obtained. In the embodiment of the application, under the condition that a plurality of target jump code segments are obtained, the target jump code segments and second other code segments corresponding to the target page identification stored aiming at the activity identification are spliced according to a preset splicing sequence to generate the information of the page to be jumped.
Specifically, assuming that the target activity includes a plurality of associated activities, after the user of the terminal completes the associated task, the user can participate in a lottery to enhance the sense of participation of the user and increase the interestingness of the activity. When a user of the terminal browses a page of a target activity, the user of the terminal can click a task associated with the target activity, and if the user of the terminal clicks a task A in the page of the target activity, the page to be skipped corresponding to the task A is a browsing type task page, and the target page identifier of the browsing type task page is 0001, the terminal can send the target page identifier 0001 to the server together with the page skipping instruction. After receiving the page jump instruction, the server determines a target code segment corresponding to the target page identifier 0001 according to the relation between each page identifier and the code identifier saved for the activity identifier of the target activity, and as the page to be jumped to is a browsing task page, parameters to be determined in the target code segment can include a storage position corresponding to the content to be browsed by the user needing to participate in the activity, where the storage position can be a storage position of the content to be browsed by the user in a database, can also be a uniform resource locator (Uniform Resource Locator, URL) of a webpage where the content to be browsed by the user is located, and the parameters to be determined in the target code segment can also include browsing standard reaching duration and the like. The server searches a second parameter value corresponding to each parameter to be determined in the target code segment in the associated information stored aiming at the activity identification of the target activity, and adds the second parameter value to the target code segment correspondingly, so that a target jump code segment is obtained, and pages to be jumped to are generated and sent to the terminal according to the target jump code segment and the second other code segments, so that a user of the terminal browses corresponding contents, and when the browsing duration of the user of the terminal meets the browsing standard reaching duration, the user can be considered to finish the browsing task. How to determine whether the user of the terminal completes the browsing task is the prior art and is not described herein.
After the user of the terminal completes the browsing task, the terminal may send the page jump instruction to the server again, where the page to be jumped carried in the page jump instruction is a lottery page, the target page identifier of the lottery page is 0002, and the server may determine, according to the relationship between each page identifier and the code identifier stored for the activity identifier of the target activity, a target code segment corresponding to the target page identifier 0002, and because the page to be jumped is the lottery page at this time, parameters to be determined in the target code segment may be the prize number, the winning probability of each prize, and the prize type. The server searches a second parameter value corresponding to each parameter to be determined in the target code segment in the associated information stored aiming at the activity identification of the target activity, and adds the second parameter value to the target code segment correspondingly, so that a target jump code segment is obtained, and according to the target jump code segment and the second other code segments, a page to be jumped is generated and sent to the terminal, so that a user draws a lottery on the generated page to be jumped.
In order to accurately determine the corresponding prize information, in the above embodiments, in the embodiments of the present application, if the page to be jumped to is a lottery page, and a lottery instruction sent by the terminal is received, the method further includes:
Dividing a preset numerical interval according to the reward share saved for the activity mark to obtain a plurality of target numerical intervals corresponding to the number of the reward shares;
randomly extracting any numerical value from the multiple target numerical value intervals according to the probability corresponding to each interval; and determining target rewarding information of a target value interval corresponding to the value as rewarding information of a user of the terminal, and sending the rewarding information to the terminal, so that the terminal displays the rewarding information on the page to be jumped.
When the terminal monitors the lottery operation of the user, a lottery instruction can be sent to the server, and the server can conduct random lottery after receiving the lottery instruction sent by the terminal. The server divides preset value intervals according to the reward share saved by the activity identification aiming at the target activity to obtain a plurality of target value intervals corresponding to the number of the reward share, and each target value interval corresponds to one reward. Because the resource values corresponding to different rewards are different, the winning probabilities corresponding to different rewards will also be different, for example, the winning probability corresponding to a reward with a high resource value is lower, so in the embodiment of the application, different winning probabilities are correspondingly stored for each reward, when the preset value interval is divided, each target value interval occupies the proportion of the preset value interval, the proportion is divided according to the winning probability corresponding to each reward, for example, the winning probability corresponding to the reward A is 10%, and when the preset value interval is divided, the interval formed by 10% of values in the preset value interval is determined as the target value interval corresponding to the reward A. That is, each target value interval corresponds to a prize, and the length of each target value interval is determined according to the winning probability of the prize corresponding to the target value interval.
Because the preset value interval is divided according to the winning probability corresponding to each prize, any value can be randomly extracted in the preset value interval when random lottery is carried out, the target prize corresponding to the target value interval where the randomly extracted value is located is determined as the prize of the user of the terminal, the prize information of the user of the terminal is stored, and the prize information of the user of the terminal is sent to the terminal, so that the terminal displays the prize information in a page.
Specifically, assuming that the preset value interval is [1,100], the activity identifier for the target activity stores a prize share of 4, wherein the prize winning probability of the prize 1 is 10%, the prize winning probability of the prize 2 is 20%, the prize winning probability of the prize 3 is 30%, and the prize winning probability of the prize 4 is 40%. In this embodiment of the present application, the preset value interval may be divided into 4 target value intervals, where each target value interval corresponds to a different prize, and the ratio of each target value interval in the preset value interval is divided according to the winning probability of each prize. For example, since the winning probability of the prize 1 is 10%, the prize corresponding to 10% of the values in the preset value intervals [1,100] can be determined as the prize 1, and therefore, the sub-intervals [1,10] in the preset value intervals can be determined as the target value interval, the prize corresponding to the target value interval [1,10] is the prize 1, and similarly, the sub-intervals [11,30] in the preset value intervals can be determined as the target value interval, the prize corresponding to the target value interval [11,30] is the prize 2, the sub-interval [31,60] in the preset value interval is the target value interval, the prize corresponding to the target value interval [31,60] is the prize 3, the sub-interval [61,100] in the preset value interval is the target value interval, and the prize corresponding to the target value interval [61,100] is the prize 4. During lottery drawing, any value is randomly extracted in the preset value intervals [1,100], and if the extracted value is 65, since the value 65 is located in the target value interval [61,100], the reward 4 corresponding to the target value interval [61,100] can be determined as the reward of the user of the terminal.
In order to further alleviate the code storing pressure, on the basis of the above embodiments, in an embodiment of the present application, the method further includes:
and deleting the second parameter value corresponding to each parameter to be determined in the target jump code segment.
In order to further alleviate the code storage pressure, after the generated page to be jumped is sent to the terminal, or after the terminal sends other page jump instructions to the server, in the embodiment of the present application, the target jump code segment may be restored to the target code segment, that is, the second parameter value in the target jump code segment is deleted, so as to facilitate the next generation of the page to be jumped.
Example 4:
in order to ensure the normal operation of the activity, on the basis of the above embodiments, in the embodiments of the present application, the method further includes:
searching target early warning information corresponding to the activity identifier in the stored early warning information of each activity;
searching a third parameter value corresponding to each parameter to be determined in the monitoring code segment stored aiming at the activity identifier in the target early warning information, and correspondingly adding the third parameter value into the monitoring code segment to obtain a target monitoring code segment;
And monitoring the target activity based on the target monitoring code segment, and outputting prompt information when monitoring abnormality.
Because abnormal operation of the activities usually occurs in the operation process, in order to avoid unnecessary loss, the activities can be monitored to ensure normal operation of the activities, and in the embodiment of the application, early warning information of each activity can be pre-stored, wherein the early warning information can be stored locally in a server or in a database in a form of a configuration file.
In the embodiment of the application, after the information of the activity page is sent to the terminal, the target early warning information corresponding to the activity identifier of the target activity can be searched in the stored early warning information of each activity. And searching a third parameter value corresponding to each parameter to be determined in the monitoring code segment stored for the activity identifier in the searched target early warning information, and adding the third parameter value to the monitoring code segment correspondingly, so as to obtain a target monitoring code segment. The monitoring code segment may include one code segment or multiple code segments, where the monitoring code segment is preconfigured, and how to configure the monitoring code segment is similar to how to configure the active code segment, and detailed descriptions of how to configure the active code segment are omitted herein.
After the target monitoring code segment is determined, monitoring the target activity based on the target monitoring code segment, determining whether the target activity has an abnormal place or not, and outputting prompt information when monitoring the abnormality, wherein the output prompt information can be a prompt in a mode of displaying a static page in a channel in which the target activity is put, or a prompt in a mode of sending the prompt information to a pre-bound account, for example, prompting through a public number, prompting in a mode of displaying the prompt information in a display of a server, prompting that the target activity of a worker has an abnormality, or prompting the worker in a mode of voice broadcasting.
Specifically, since each activity is replied to the expected resource value of the activity in the early stage of activity development, the consumed resource value of each activity should be monitored during the operation of the activity. In the embodiment of the application, a first resource value threshold and a second resource value threshold can be preconfigured, wherein the first resource value threshold is smaller than the second resource value threshold, when the consumption resource value of the target activity reaches the first resource value threshold, a second-level monitoring abnormal prompt can be triggered, and when the consumption resource value of the target activity reaches the second resource value threshold, a first-level monitoring abnormal prompt can be triggered, wherein the priority of the first-level monitoring abnormal prompt is higher than that of the second-level monitoring abnormal prompt.
For example, when the consumed resource value of the target activity reaches a first resource value threshold, a prompt may be sent to the staff member to adjust the task rewards send amount and/or the predicted resource value for the activity in time. When the consumed resource value of the target activity reaches the second resource value threshold, the rewards of the activity can be considered to be completely issued, a pre-stored static page can be acquired and the stored page information related to the target activity, which relates to resource value consumption, in the target activity is replaced by the static page, for example, a lottery page generally relates to rewards issuing, and then the situation of consumed resource value can exist. When the consumed resource value of the target activity reaches the second resource value threshold, the page identifier of the lottery page can be replaced by the page identifier of the static page in the stored related information, and prompt information for suspending the issuing of the target activity rewards can be displayed in the static page, so that the predicted resource value is prevented from being hyperbranched. FIG. 2 is a schematic diagram of a static page provided by an embodiment of the present application, where, as shown in FIG. 2, a prompt message of "the activity is too hot and the prize has been picked up.
In the embodiment of the application, different monitoring rules can be configured for each activity, and the server can monitor a plurality of activities at the same time. In addition, in the embodiment of the application, a User Interface (UI) of the static page can be commonly used for a plurality of activities without repeated design.
In addition, in the embodiment of the present application, the monitoring of the target activity is not limited to determining whether the consumption resource value exceeds the predicted resource value, but may also monitor the prize delivery information of the target activity. Assuming that in the page jump instruction sent by the terminal, the carried target page identifier of the page to be jumped is the page identifier of the lottery page, after the server sends the generated lottery page to the terminal, the terminal displays the received lottery page, and fig. 3 is a schematic diagram of the lottery page provided by the embodiment of the application. When the user of the terminal clicks the "click lottery" button in fig. 3, the terminal may transmit a lottery command to the server, and the server performs a random lottery based on the number of bonus parts saved for the activity identification of the target activity and the winning probability of each bonus.
When the user's reward is determined, the user needs to be rewarded, and the target activity reward issuance information can be monitored based on the target monitoring code segment when the user is rewarded. When the prize issuance information is monitored, record information of the issued prize is acquired and compared with user information of the prize to be issued, whether the record identical with the mobile phone number of the user to be issued the prize exists in the issued prize or whether the record identical with the name, the certificate type and the certificate number exists or whether the record identical with the equipment identification exists is determined, if so, the prize to be issued is determined to be the repeated release prize, and repeated issuing reminding can be sent to staff to facilitate the staff to check.
In embodiments of the present application, a server may monitor multiple activities simultaneously.
Example 5:
in order to facilitate the management of activities, on the basis of the above embodiments, in an embodiment of the present application, the method further includes:
receiving an input information configuration instruction, wherein the information configuration instruction carries a target category identifier of a category to which information to be configured belongs;
determining and displaying a target configuration page corresponding to the target category identification according to the relation between each category identification and the configuration page which are stored in advance;
and receiving configuration information input in the target configuration page, and storing each parameter in the page and a target parameter value corresponding to each input parameter when a storage instruction is received.
In order to facilitate the management of activities, in the embodiment of the present application, a worker may configure relevant information of activities on a visual page, specifically, the worker may fill relevant configuration information on a background management system of a server, and the worker may fill relevant configuration information on a terminal controlled by the server and send the information to the server.
After receiving an input information configuration instruction, the server acquires a target category identifier of a category to which information to be configured belongs, wherein the category to which the information to be configured belongs is preconfigured, and the category to which the information to be configured belongs can be an activity information category, a task information category, a budget information category, a delivery channel category and the like.
Because the content of the information included in each category is different, in order to facilitate the configuration of the information by the staff, in the embodiment of the present application, a corresponding configuration page is stored for each category identifier. After receiving the target category identification carried in the information configuration instruction, determining a target configuration page corresponding to the target category identification according to the relation between each category identification and the configuration page, which is stored in advance.
After the target configuration page is determined, the target configuration page is displayed, and in the embodiment of the application, the target configuration page can be displayed in a display of a server, or the target configuration page can be sent to a terminal held by a worker, so that the terminal displays the target configuration page.
The server receives configuration information input by a worker on a target configuration page in real time, and stores each parameter of the received worker on the target configuration page and a target parameter value corresponding to each input parameter when a storage instruction is received, so that an active related page is generated based on the stored parameters and the target parameter values.
Specifically, the staff may configure the activity information in a background management system, where the background management system may be installed in a server, or in a terminal held by the staff, where the staff may select, for example, an "activity newly added" option when configuring the activity information, and if the background management system is installed in the server, when the server monitors a selection operation of the staff, it may determine that an input information configuration instruction is received; if the background management system is installed in a terminal held by a worker, when the terminal held by the worker monitors the selection operation of the worker, the target category identification corresponding to the option selected by the worker can be carried in the information configuration instruction and sent to the server. After receiving the configuration instruction, the server can find out an active information configuration page in the pre-stored relation between each category identifier and the configuration page, determine the active information configuration page as a target configuration page, and display the target configuration page so as to facilitate the staff to input corresponding configuration information in the target configuration page.
Fig. 4 is a schematic diagram of a target configuration page provided in an embodiment of the present application, where, as shown in fig. 4, the target configuration page includes parameters such as an activity photo, an activity theme, an activity start time, an activity end time, an activity state, an activity profile, and an activity rule description, and parameter values of each parameter are blank, and a worker is required to input in the target configuration page. The active photo and the active subject are the display information of the active page, for the parameter of the active photo, the worker can click "+" in fig. 4 to select the active photo, and after the worker determines the selected active photo, the server can determine the storage position of the active photo as the parameter value corresponding to the parameter of the active photo. The activity start time, the activity end time and the activity state are used for determining whether the activity presentation state of the page of the activity and the task associated with the activity take effect or not, and the activity profile and the activity rule description are used for carrying out more detailed description in the page of the activity. For the parameters of the activity theme, the activity starting time, the activity ending time, the activity state, the activity profile and the activity rule description, the content input by the staff at the corresponding position of the target configuration page is taken as the parameter value.
After receiving the save instruction, the server saves each parameter in the target configuration page and the target parameter value corresponding to the input parameter, for example, saves each parameter and the target parameter value corresponding to the parameter as a configuration file according to a preset format, and stores the configuration file in the server locally, or records each parameter and the target parameter value corresponding to each parameter in a corresponding data table of the database. In the embodiment of the application, the configuration of any information can be immediately effective, that is, after the configuration information is stored and an access instruction for accessing the activity is received, a page generated according to the latest configuration information can be sent to the terminal.
In the embodiment of the application, the staff can also configure the information of the task related to the activity in the background management system, for example, the staff can select a new task option in the background management system. The server searches a task information configuration page in the relation between each category identification and the configuration page, determines the task information configuration page as a target configuration page, and displays the target configuration page so as to facilitate the staff to input corresponding configuration information in the target configuration page.
Fig. 5 is a schematic diagram of a target configuration page provided by the embodiment of the present application, where, as shown in fig. 5, the target configuration page includes parameters such as a task channel, a task name, a task type, a task reward, a reward number, a task state, and the like, and parameter values of each parameter are blank, and require a staff to input in the target configuration page. Wherein a task channel may be understood as whether the task configured is applied to an activity or to others; task names are names shown in pages; the task rewards, the rewards are rewards which can be obtained after users participating in the activity complete the task; the task state indicates whether the task is normally enabled; the task type determines elements to be configured and task standard conditions, that is, the elements to be configured corresponding to different task types are different, and the task standard conditions are also different. The browsing duration of the user when the user jumps to the appointed page to browse meets the requirement is up to standard; the question answering task can be configured with a question library, wherein the question library comprises a question stem, options, correct answers and answer analysis, and the task standard reaching conditions are as follows: the user answers correctly, namely, the answer reaches the standard; the popup window type task can be configured with popup window pictures and display times, and the task standard condition is as follows: the user completes the task through the popup window to reach the standard; subscription class tasks may configure a user to focus on subscription principals, task compliance conditions: the successful subscription of the user is up to standard; the standard class task can be understood as other tasks defined by staff, and the standard class task is standard when the verification is passed. And when the server receives the storage instruction, storing each parameter in the target configuration page and the target parameter value corresponding to each parameter so as to facilitate the subsequent display of relevant information on the corresponding page.
After the activities and the tasks are created, the staff can find the corresponding activities in the background management system and associate the corresponding tasks for the activities, for example, the staff can select an 'associated task' option in the background management system, and the target category identification corresponding to the associated tasks is carried in the information configuration instruction. After receiving the information configuration instruction, the server searches a task association page in the relation between each pre-stored category identifier and the configuration page, determines the task association page as a target configuration page, and displays the target configuration page so as to facilitate the staff to input corresponding configuration information in the target configuration page.
Fig. 6 is a schematic diagram of a target configuration page provided by the embodiment of the present application, where, as shown in fig. 6, the target configuration page includes parameters such as a task channel, a task name, a task type, a task reward, and a reward number, where, parameter values of two parameters of the task channel and the task name are input by a staff, parameter values of the task type, the task reward, and the reward number are searched and determined in stored task information by a server. The staff member can associate a plurality of tasks for the activity, each task including the same parameters, through a "new" button in the target configuration page. In addition, if the task type of the task associated with the activity is a clearance task, the task adding sequence in the target configuration page is the clearance checkpoint sequence. When the server receives the storage instruction, each parameter in the target configuration page and the target parameter value corresponding to each parameter are stored, so that when the page of the activity is generated, the task associated with the target activity is searched according to the activity identification of the target activity, and corresponding information is displayed in the page of the target activity. For example, when an access request for a target activity sent by a terminal is received, the access request may be searched in stored information according to an activity identifier carried in the access request, information such as a task name, a task type and the like of each task is acquired in stored task information, the acquired information is determined as target activity information stored for the activity, and a page of the target activity is generated based on the target activity information. In addition, when the server receives the page skipping instruction sent by the terminal, if the page to be skipped is a task detail page, in the embodiment of the application, the relevant information of the task corresponding to the page to be skipped can be searched in each saved task information, the searched relevant information is determined to be the relevant information saved for the activity identifier, and the page to be skipped is generated based on the relevant information. How to generate the corresponding page based on the saved information is described in detail in the above embodiments, and will not be described herein.
After the activity is created, in the embodiment of the application, the staff can also find the corresponding activity in the background management system and configure the lottery rule of the activity, for example, the staff can select a lottery rule option in the background management system, the target category identification corresponding to the lottery rule is carried in the information configuration instruction, after receiving the configuration instruction, the server searches the lottery rule configuration page in the relation between each category identification and the configuration page which are pre-stored, determines the lottery rule configuration page as a target configuration page, and displays the target configuration page so that the staff can input corresponding configuration information in the target configuration page.
Fig. 7 is a schematic diagram of a target configuration page provided in the embodiment of the present application, where, as shown in fig. 7, the target configuration page includes parameters such as a number of parts of a turntable, a winning probability, a prize type, and a prize amount, where the number of parts of the turntable may be understood as the prize number of parts mentioned in the foregoing embodiment, and a parameter value corresponding to each parameter needs to be input by a staff member on the target configuration page. After the staff inputs the equal parts of the turnplate in the target configuration page, the information of the corresponding parts appears in the list of the target configuration page, and the winning probability, the rewarding type and the rewarding quantity of each part can be stored by inputting the staff. It should be noted that the sum of all the parts winning probabilities is 100%. When the server receives the save instruction, each parameter in the target configuration page and the target parameter value corresponding to each parameter are saved, so that the lottery page is generated based on the lottery rule, and the lottery is performed based on the lottery rule.
In the embodiment of the application, the staff can also configure the activity channel information in the background management system, for example, the staff can select an option of 'activity channel management newly-added' in the background management system, a target category identification corresponding to the activity channel management newly-added is carried in an information configuration instruction, after receiving the information configuration instruction, the server searches for the activity channel management newly-added page in the relation between each category identification and the configuration page stored in advance, determines the activity channel management newly-added page as a target configuration page, and displays the target configuration page so as to facilitate the staff to input corresponding configuration information in the target configuration page. In the target configuration page, a worker can input related information of an activity channel needing to be added, such as the name of the activity channel, the channel number and the like, wherein the channel number can be a unique number input by the worker or can be generated by automatic sequencing of a server. And when the server receives the storage instruction, storing each parameter and a target parameter value corresponding to the parameter in the target configuration page. So that the created activity channels can be bound with the activities later. When binding an created campaign channel with a campaign, for example, a worker may select a campaign name on a channel binding page and select a channel that the campaign is desired to be delivered from, click on "determine" to complete the binding of the campaign with the campaign delivery channel. After the server monitors that the user clicks the "confirm" operation, the server can consider that a stored instruction is received, the server stores each parameter in the activity channel binding page and a target parameter value corresponding to each parameter, the server can put the activity according to the stored information of the channel to which the activity is put, and detailed description is omitted here how to put the activity according to a preset time interval.
In the embodiment of the application, the staff can also configure the early warning rule in the background management system, for example, the staff can select the option of 'rights early warning-new addition' in the background management system. The server searches the newly added configuration page of the interest early warning in the relation between each category identifier and the configuration page which are stored in advance, determines the newly added configuration page of the interest early warning as a target configuration page, and displays the target configuration page so as to facilitate the staff to input corresponding configuration information in the target configuration page.
Fig. 8 is a schematic diagram of a target configuration page provided by the embodiment of the present application, where, as shown in fig. 8, the target configuration page includes parameters such as an activity name, an early warning state, an early warning period, a prompt document, an early warning frequency, and an openid for receiving an early warning, where the openid may be understood as a user identifier. The staff can input the parameter value corresponding to each parameter in the target configuration page, the server stores each parameter and the parameter value corresponding to each parameter after receiving the storage instruction, so that the server obtains the target monitoring code segment based on the stored early warning information after generating the page of the target activity, and monitors the target activity based on the target monitoring code segment to ensure the normal operation of the target activity. In the embodiment of the application, a plurality of early warning periods and a plurality of early warning values can be added.
Example 6:
fig. 9 is a schematic structural diagram of an active page generating device according to an embodiment of the present application, where the device includes:
a receiving module 901, configured to receive an access request for a target activity sent by a terminal, where the access request carries an activity identifier of the target activity;
a searching module 902, configured to search, in the saved activity information of each activity, target activity information corresponding to the activity identifier; searching a first parameter value corresponding to each parameter to be determined in an activity code segment stored for the activity identifier in the target activity information;
a code generating module 903, configured to add the first parameter value to the active code segment correspondingly, so as to obtain a target active code segment;
and the page generation module 904 is configured to generate information of a page of the target activity according to the target activity code segment and the first other code segment saved for the activity identifier, and send the information to the terminal.
In one possible embodiment, the apparatus further comprises:
and a restoration module 905, configured to delete a first parameter value corresponding to each parameter to be determined in the target active code segment.
In a possible implementation manner, the receiving module 901 is further configured to receive a page jump instruction sent by the terminal, where the page jump instruction carries a target page identifier of a page to be jumped to;
A determining module 906, configured to determine a target code segment corresponding to the target page identifier according to a relationship between each page identifier and the code segment stored for the activity identifier;
the searching module 902 is further configured to search, in association information stored for the activity identifier, a second parameter value corresponding to each parameter to be determined in the target code segment;
the code generating module 903 is further configured to correspondingly add the second parameter value to the target code segment, to obtain a target jump code segment;
the page generating module 904 is further configured to generate, according to the target jump code segment and a second other code segment corresponding to the target page identifier stored for the activity identifier, information of a page to be jumped to, and send the information to the terminal.
In one possible embodiment, the apparatus further comprises:
the lottery module 907 is configured to divide a preset value interval according to the bonus shares stored for the activity identifier if the page to be jumped is a lottery page and a lottery instruction sent by the terminal is received, so as to obtain a plurality of target value intervals corresponding to the number of the bonus shares; randomly extracting any numerical value from the multiple target numerical value intervals according to the probability corresponding to each interval; and determining target rewarding information of a target value interval corresponding to the value as rewarding information of a user of the terminal, and sending the rewarding information to the terminal, so that the terminal displays the rewarding information on the page to be jumped.
In a possible implementation manner, the recovery module 905 is further configured to delete the second parameter value corresponding to each parameter to be determined in the target jump code segment.
In a possible implementation manner, the searching module 902 is further configured to search the stored early warning information of each activity for the target early warning information corresponding to the activity identifier; searching a third parameter value corresponding to each parameter to be determined in the monitoring code segment stored for the activity identifier in the target early warning information;
the code generating module 903 is further configured to correspondingly add the third parameter value to the monitoring code segment, to obtain a target monitoring code segment;
and the monitoring module 908 is used for monitoring the target activity based on the target monitoring code segment and outputting prompt information when monitoring abnormality.
In a possible implementation manner, the receiving module 901 is further configured to receive an input information configuration instruction, where the information configuration instruction carries a target category identifier of a category to which information to be configured belongs;
the determining module 906 is further configured to determine, according to a pre-stored relationship between each category identifier and the configuration page, a target configuration page corresponding to the target category identifier and display the target configuration page;
The receiving module 901 is further configured to receive configuration information input on the target configuration page;
and a saving module 909, configured to save each parameter in the page and the target parameter value corresponding to each input parameter when receiving the save instruction.
Example 7:
on the basis of the foregoing embodiment, the embodiment of the present application further provides an electronic device, and fig. 10 is a schematic structural diagram of the electronic device provided by the embodiment of the present application, as shown in fig. 10, including: processor 1001, communication interface 1002, memory 1003 and communication bus 1004, wherein processor 1001, communication interface 1002, memory 1003 accomplish the mutual communication through communication bus 1004;
the memory 1003 stores a computer program which, when executed by the processor 1001, causes the processor 1001 to perform the steps of:
receiving an access request for a target activity sent by a terminal, wherein the access request carries an activity identifier of the target activity;
searching target activity information corresponding to the activity identification in the stored activity information of each activity; searching a first parameter value corresponding to each parameter to be determined in the activity code segment stored for the activity identifier in the target activity information, and adding the first parameter value to the activity code segment correspondingly to obtain a target activity code segment;
And generating information of the page of the target activity according to the target activity code segment and the first other code segments stored for the activity identification, and sending the information to the terminal.
In a possible implementation manner, the processor 1001 is further configured to delete a first parameter value corresponding to each parameter to be determined in the target active code segment.
In a possible implementation manner, the processor 1001 is further configured to receive a page jump instruction sent by the terminal, where the page jump instruction carries a target page identifier of a page to be jumped to;
determining a target code segment corresponding to the target page identifier according to the relation between each page identifier and the code segment stored for the activity identifier;
searching a second parameter value corresponding to each parameter to be determined in the target code segment in the associated information stored for the activity identifier, and adding the second parameter value to the target code segment correspondingly to obtain a target jump code segment;
and generating information of the page to be jumped to according to the target jump code segment and the second other code segments corresponding to the target page identifier stored for the activity identifier, and sending the information to the terminal.
In a possible implementation manner, the processor 1001 is further configured to divide a preset value interval according to the bonus shares saved for the activity identifier, so as to obtain a plurality of target value intervals corresponding to the number of the bonus shares;
randomly extracting any numerical value from the multiple target numerical value intervals according to the probability corresponding to each interval; and determining target rewarding information of a target value interval corresponding to the value as rewarding information of a user of the terminal, and sending the rewarding information to the terminal, so that the terminal displays the rewarding information on the page to be jumped.
In a possible implementation manner, the processor 1001 is further configured to delete a second parameter value corresponding to each parameter to be determined in the target jump code segment.
In a possible implementation manner, the processor 1001 is further configured to search the stored early warning information of each activity for the target early warning information corresponding to the activity identifier;
searching a third parameter value corresponding to each parameter to be determined in the monitoring code segment stored aiming at the activity identifier in the target early warning information, and correspondingly adding the third parameter value into the monitoring code segment to obtain a target monitoring code segment;
And monitoring the target activity based on the target monitoring code segment, and outputting prompt information when monitoring abnormality.
In a possible implementation manner, the processor 1001 is further configured to receive an input information configuration instruction, where the information configuration instruction carries a target category identifier of a category to which information to be configured belongs;
determining and displaying a target configuration page corresponding to the target category identification according to the relation between each category identification and the configuration page which are stored in advance;
and receiving configuration information input in the target configuration page, and storing each parameter in the page and a target parameter value corresponding to each input parameter when a storage instruction is received.
The communication bus mentioned above for the electronic devices may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface 1002 is used for communication between the above-described electronic device and other devices. The Memory may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit, a network processor (Network Processor, NP), etc.; but also digital instruction processors (Digital Signal Processing, DSP), application specific integrated circuits, field programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
Example 8:
on the basis of the above embodiments, the embodiments of the present invention further provide a computer readable storage medium, in which a computer program executable by a processor is stored, which when executed on the processor causes the processor to implement the steps of:
receiving an access request for a target activity sent by a terminal, wherein the access request carries an activity identifier of the target activity;
searching target activity information corresponding to the activity identification in the stored activity information of each activity; searching a first parameter value corresponding to each parameter to be determined in the activity code segment stored for the activity identifier in the target activity information, and adding the first parameter value to the activity code segment correspondingly to obtain a target activity code segment;
And generating information of the page of the target activity according to the target activity code segment and the first other code segments stored for the activity identification, and sending the information to the terminal.
In one possible embodiment, the method further comprises:
and deleting the first parameter value corresponding to each parameter to be determined in the target active code segment.
In one possible embodiment, the method further comprises:
receiving a page jump instruction sent by the terminal, wherein the page jump instruction carries a target page identifier of a page to be jumped to;
determining a target code segment corresponding to the target page identifier according to the relation between each page identifier and the code segment stored for the activity identifier;
searching a second parameter value corresponding to each parameter to be determined in the target code segment in the associated information stored for the activity identifier, and adding the second parameter value to the target code segment correspondingly to obtain a target jump code segment;
and generating information of the page to be jumped to according to the target jump code segment and the second other code segments corresponding to the target page identifier stored for the activity identifier, and sending the information to the terminal.
In a possible implementation manner, if the page to be jumped to is a lottery page and a lottery instruction sent by the terminal is received, the method further includes:
dividing a preset numerical interval according to the reward share saved for the activity mark to obtain a plurality of target numerical intervals corresponding to the number of the reward shares;
randomly extracting any numerical value from the multiple target numerical value intervals according to the probability corresponding to each interval; and determining target rewarding information of a target value interval corresponding to the value as rewarding information of a user of the terminal, and sending the rewarding information to the terminal, so that the terminal displays the rewarding information on the page to be jumped.
In one possible embodiment, the method further comprises:
and deleting the second parameter value corresponding to each parameter to be determined in the target jump code segment.
In one possible embodiment, the method further comprises:
searching target early warning information corresponding to the activity identifier in the stored early warning information of each activity;
searching a third parameter value corresponding to each parameter to be determined in the monitoring code segment stored aiming at the activity identifier in the target early warning information, and correspondingly adding the third parameter value into the monitoring code segment to obtain a target monitoring code segment;
And monitoring the target activity based on the target monitoring code segment, and outputting prompt information when monitoring abnormality.
In one possible embodiment, the method further comprises:
receiving an input information configuration instruction, wherein the information configuration instruction carries a target category identifier of a category to which information to be configured belongs;
determining and displaying a target configuration page corresponding to the target category identification according to the relation between each category identification and the configuration page which are stored in advance;
and receiving configuration information input in the target configuration page, and storing each parameter in the page and a target parameter value corresponding to each input parameter when a storage instruction is received.
Example 9:
the embodiment of the application also provides a computer program product, which when being executed by a computer, realizes the method for generating the active page, which is applied to any method embodiment of the electronic equipment.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof, and may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions which, when loaded and executed on a computer, produce, in whole or in part, a process or function in accordance with embodiments of the present application.
In the embodiment of the application, after an access request for accessing a target activity sent by a terminal is received, target activity information corresponding to an activity identifier carried in the access request is searched in the stored activity information of each activity, a first parameter value corresponding to each parameter to be determined in an activity code segment stored for the activity identifier is searched in the target activity information, and the first parameter value is correspondingly added into the activity code segment, so that the target activity code segment is obtained, the aim of obtaining the target code segment even if a complete running code is not stored for the target activity in advance is achieved, the online efficiency of the activity is improved, and after the target activity code segment is determined, page information of the target activity is generated according to the target activity code segment and the first other code segments stored for the activity identifier and is sent to the terminal, so that normal running of the activity can still be realized on the premise that the running code is not redeveloped, and meanwhile, the storage pressure of the code is relieved.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (17)

1. A method for generating an active page, the method comprising:
receiving an access request for a target activity sent by a terminal, wherein the access request carries an activity identifier of the target activity;
searching target activity information corresponding to the activity identification in the stored activity information of each activity; searching a first parameter value corresponding to each parameter to be determined in the activity code segment stored for the activity identifier in the target activity information, and adding the first parameter value to the activity code segment correspondingly to obtain a target activity code segment;
And generating information of the page of the target activity according to the target activity code segment and the first other code segments stored for the activity identification, and sending the information to the terminal.
2. The method according to claim 1, wherein the method further comprises:
and deleting the first parameter value corresponding to each parameter to be determined in the target active code segment.
3. The method according to claim 1, wherein the method further comprises:
receiving a page jump instruction sent by the terminal, wherein the page jump instruction carries a target page identifier of a page to be jumped to;
determining a target code segment corresponding to the target page identifier according to the relation between each page identifier and the code segment stored for the activity identifier;
searching a second parameter value corresponding to each parameter to be determined in the target code segment in the associated information stored for the activity identifier, and adding the second parameter value to the target code segment correspondingly to obtain a target jump code segment;
and generating information of the page to be jumped to according to the target jump code segment and the second other code segments corresponding to the target page identifier stored for the activity identifier, and sending the information to the terminal.
4. The method of claim 3, wherein if the page to be jumped to is a lottery page and a lottery instruction sent by the terminal is received, the method further comprises:
dividing a preset numerical interval according to the reward share saved for the activity mark to obtain a plurality of target numerical intervals corresponding to the number of the reward shares;
randomly extracting any numerical value from the multiple target numerical value intervals according to the probability corresponding to each interval; and determining target rewarding information of a target value interval corresponding to the value as rewarding information of a user of the terminal, and sending the rewarding information to the terminal, so that the terminal displays the rewarding information on the page to be jumped.
5. A method according to claim 3, characterized in that the method further comprises:
and deleting the second parameter value corresponding to each parameter to be determined in the target jump code segment.
6. The method according to claim 1, wherein the method further comprises:
searching target early warning information corresponding to the activity identifier in the stored early warning information of each activity;
searching a third parameter value corresponding to each parameter to be determined in the monitoring code segment stored aiming at the activity identifier in the target early warning information, and correspondingly adding the third parameter value into the monitoring code segment to obtain a target monitoring code segment;
And monitoring the target activity based on the target monitoring code segment, and outputting prompt information when monitoring abnormality.
7. The method according to claim 1, wherein the method further comprises:
receiving an input information configuration instruction, wherein the information configuration instruction carries a target category identifier of a category to which information to be configured belongs;
determining and displaying a target configuration page corresponding to the target category identification according to the relation between each category identification and the configuration page which are stored in advance;
and receiving configuration information input in the target configuration page, and storing each parameter in the page and a target parameter value corresponding to each input parameter when a storage instruction is received.
8. An active page generating apparatus, the apparatus comprising:
the receiving module is used for receiving an access request for a target activity sent by the terminal, wherein the access request carries an activity identifier of the target activity;
the searching module is used for searching the target activity information corresponding to the activity identifier in the stored activity information of each activity; searching a first parameter value corresponding to each parameter to be determined in an activity code segment stored for the activity identifier in the target activity information;
The code generation module is used for correspondingly adding the first parameter value into the active code segment to obtain a target active code segment;
and the page generation module is used for generating the information of the page of the target activity according to the target activity code segment and the first other code segments stored for the activity identification and sending the information to the terminal.
9. The apparatus of claim 8, wherein the apparatus further comprises:
and the recovery module is used for recovering the target active code segment into the active code segment saved for the active identifier.
10. The apparatus of claim 8, wherein the receiving module is further configured to receive a page jump instruction sent by the terminal, where the page jump instruction carries a target page identifier of a page to be jumped to;
the determining module is used for determining a target code segment corresponding to the target page identifier according to the relation between each page identifier and the code segment stored for the activity identifier;
the searching module is further configured to search for a second parameter value corresponding to each parameter to be determined in the target code segment in the association information stored for the activity identifier;
The code generation module is further configured to correspondingly add the second parameter value to the target code segment, so as to obtain a target jump code segment;
the page generation module is further configured to generate information of a page to be skipped according to the target skip code segment and a second other code segment corresponding to the target page identifier stored for the activity identifier, and send the information to the terminal.
11. The apparatus of claim 10, wherein the apparatus further comprises:
the lottery module is used for dividing a preset numerical interval according to the reward share stored for the activity mark if the page to be jumped is a lottery page and a lottery instruction sent by the terminal is received, so as to obtain a plurality of target numerical intervals corresponding to the number of the reward shares; randomly extracting any numerical value from the multiple target numerical value intervals according to the probability corresponding to each interval; and determining target rewarding information of a target value interval corresponding to the value as rewarding information of a user of the terminal, and sending the rewarding information to the terminal, so that the terminal displays the rewarding information on the page to be jumped.
12. The apparatus of claim 10, wherein the means for recovering is further configured to recover the target jump code segment as the target code segment.
13. The apparatus of claim 8, wherein the search module is further configured to search the stored pre-warning information for each activity for target pre-warning information corresponding to the activity identifier; searching a third parameter value corresponding to each parameter to be determined in the monitoring code segment stored for the activity identifier in the target early warning information;
the code generation module is further configured to correspondingly add the third parameter value to the monitoring code segment, so as to obtain a target monitoring code segment;
and the monitoring module is used for monitoring the target activity based on the target monitoring code segment and outputting prompt information when monitoring abnormality.
14. The apparatus of claim 8, wherein the receiving module is further configured to receive an input information configuration instruction, where the information configuration instruction carries a target class identifier of a class to which the information to be configured belongs;
the determining module is further used for determining and displaying a target configuration page corresponding to the target category identifier according to the relation between each category identifier and the configuration page which are stored in advance;
The receiving module is further used for receiving configuration information input in the target configuration page;
and the storage module is used for storing each parameter in the page and the target parameter value corresponding to each input parameter when receiving the storage instruction.
15. An electronic device comprising at least a processor and a memory, the processor being adapted to implement the steps of the active page generation method of any of the preceding claims 1-7 when executing a computer program stored in the memory.
16. A computer-readable storage medium, characterized in that it stores a computer program which, when executed by a processor, implements the steps of the active page generation method of any of the preceding claims 1-7.
17. A computer program product, characterized in that the computer program product comprises: computer program code for causing a computer to perform the steps of the active page generation method as claimed in any one of the preceding claims 1 to 7 when said computer program code is run on a computer.
CN202310629238.XA 2023-05-31 2023-05-31 Method, device, equipment and medium for generating active page Pending CN116627413A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310629238.XA CN116627413A (en) 2023-05-31 2023-05-31 Method, device, equipment and medium for generating active page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310629238.XA CN116627413A (en) 2023-05-31 2023-05-31 Method, device, equipment and medium for generating active page

Publications (1)

Publication Number Publication Date
CN116627413A true CN116627413A (en) 2023-08-22

Family

ID=87641481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310629238.XA Pending CN116627413A (en) 2023-05-31 2023-05-31 Method, device, equipment and medium for generating active page

Country Status (1)

Country Link
CN (1) CN116627413A (en)

Similar Documents

Publication Publication Date Title
US11361047B2 (en) Website creation system for creating websites having at least one series of directional webpages and related methods
CN106484858B (en) hot content pushing method and device
US9564040B1 (en) Systems and methods for automated alerts
US20210303654A1 (en) Website creation system for creating websites having at least one series of directional webpages and related methods
US20130204694A1 (en) Context-Based Study Generation and Administration
CN109492152B (en) Method, device, computer equipment and storage medium for pushing custom content
CN105528135A (en) Information presenting method and device and electronic apparatus
US20130325897A1 (en) System and methods for providing content
US11847686B2 (en) Back end server modification and model visualization
GB2551862A (en) Latency reduction in feedback-based system performance determination
CN110321480A (en) Method for pushing, device, computer equipment and the storage medium of recommendation information
CN103488508A (en) Browser working method, browser and terminal equipment
CN116627413A (en) Method, device, equipment and medium for generating active page
CN112988776B (en) Method, device and equipment for updating text parsing rule and readable storage medium
CN111310093A (en) Information processing method and device, electronic equipment and storage medium
CN112948720B (en) Interaction optimization method and device based on user behaviors and computer equipment
CN112784147A (en) Information processing method, device, equipment and system
KR102242692B1 (en) method and system for displaying advertisements through identification code generation and verification procedures
CN110968817A (en) Page content detection method, device and system
KR102242689B1 (en) system that implements a blockchain-based advertisement service
KR102203478B1 (en) Method for providing internet advertising and automated system for the same
CN110457300B (en) Method and device for cleaning public test library and electronic equipment
US20240095806A1 (en) Back end server modification and model visualization
CN116611931A (en) Message pushing method and device, storage medium and electronic equipment
CN115456657A (en) Behavior characteristic data acquisition method and behavior characteristic data acquisition system

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