CN111292169A - Method and device for displaying activity information - Google Patents
Method and device for displaying activity information Download PDFInfo
- Publication number
- CN111292169A CN111292169A CN202010087187.9A CN202010087187A CN111292169A CN 111292169 A CN111292169 A CN 111292169A CN 202010087187 A CN202010087187 A CN 202010087187A CN 111292169 A CN111292169 A CN 111292169A
- Authority
- CN
- China
- Prior art keywords
- activity
- information
- target
- identification information
- business class
- 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.)
- Granted
Links
- 230000000694 effects Effects 0.000 title claims abstract description 783
- 238000000034 method Methods 0.000 title claims abstract description 63
- 238000013468 resource allocation Methods 0.000 claims description 16
- 238000004891 communication Methods 0.000 abstract description 23
- 230000000875 corresponding effect Effects 0.000 description 227
- 238000005096 rolling process Methods 0.000 description 15
- 230000009849 deactivation Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 238000012797 qualification Methods 0.000 description 8
- 230000008901 benefit Effects 0.000 description 6
- 230000003247 decreasing effect Effects 0.000 description 6
- 230000009467 reduction Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000011022 operating instruction Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000012216 screening Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0641—Shopping interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
- G06Q30/0213—Consumer transaction fees
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
- G06Q30/0239—Online discounts or incentives
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0603—Catalogue ordering
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Development Economics (AREA)
- Engineering & Computer Science (AREA)
- General Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Marketing (AREA)
- General Physics & Mathematics (AREA)
- Economics (AREA)
- Theoretical Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Game Theory and Decision Science (AREA)
- User Interface Of Digital Computer (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a method and a device for displaying activity information, relates to the technical field of communication, and mainly aims to improve the service identification and acquisition efficiency of a user, improve the activity information display precision and facilitate the decision and selection of the user. The method comprises the following steps: sending an activity information acquisition request to a server, wherein the acquisition request carries identification information of a target activity; the server is used for determining the identification information and the activity key information of each business class participating in the target activity according to the identification information of the target activity, so as to respectively determine the main title and the sub-title of the activity label corresponding to each business class according to the identification information and the activity key information corresponding to each business class; and receiving the main title and the subheading, and displaying the activity label information of each business class according to the main title and the subheading. The invention is suitable for displaying the activity information.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for displaying activity information.
Background
With the rapid advance of internet technology, the way of acquiring service information on line is more and more popular, and the activity information of each service class is displayed in the network platform, so that a user can conveniently select a target service by referring to the activity information.
Currently, the activity labels of the various business categories are displayed in specific areas in the page, the activity labels can be preset according to the main content of the activity information, and a user can know the activity information corresponding to the business categories by reading the content of the activity labels.
However, considering the aesthetic property of the page, the activity tag is limited by the field, so that it is difficult to display the key content really concerned by the user in the activity information, resulting in low display accuracy of the activity information, which makes the user not very intuitive when screening the target service, and reduces the efficiency of the user in identifying and acquiring the service.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for displaying activity information, and mainly aims to improve the efficiency of identifying and acquiring a service by a user, improve the display accuracy of the activity information, and facilitate the decision and selection of the user.
According to an aspect of the present invention, there is provided a method for displaying activity information, including:
sending an activity information acquisition request to a server, wherein the acquisition request carries identification information of a target activity; the server is used for determining identification information and activity key information of each business class participating in the target activity according to the identification information of the target activity, so as to respectively determine a main title and a sub-title of an activity label corresponding to each business class according to the identification information and the activity key information corresponding to each business class, wherein the identification information and the activity key information corresponding to each business class are obtained by splitting activity description information corresponding to each business class; and receiving the main title and the subheading, and displaying the activity label information of each business class according to the main title and the subheading.
Optionally, the receiving the main title and the subheading, and displaying the activity label information of each service category according to the main title and the subheading, where the identification information of the target activity is identification information of a target activity corresponding to a primary activity label, includes: and receiving the main title and the subheading, and displaying the secondary activity label information of each service class according to the main title and the subheading.
Optionally, the receiving the main title and the subtitle, and displaying the secondary activity label information of each service class according to the main title and the subtitle includes: and receiving the display sequence of the main title, the subheading and the secondary activity label, and displaying the secondary activity label information of each business class according to the main title, the subheading and the display sequence.
Optionally, the activity key information includes first activity key information and/or second activity key information, and after the displaying of the secondary activity label information of the respective business categories according to the main title, the subtitle and the display order, the method further includes: sending an acquisition request of activity information of a target business class, wherein the acquisition request comprises identification information of a secondary activity label corresponding to the target business class; receiving first activity key information and/or second activity key information of the target business class, and displaying the first activity key information and/or the second activity key information above a business list corresponding to the target business class, wherein the first activity key information and/or the second activity key information are determined by the server according to the identification information of the secondary activity label.
Optionally, after the second activity key information is displayed above the service list corresponding to the target service class, the method further includes: sending a resource getting request aiming at the second activity key information under the target business class, wherein the resource getting request carries user identity information; and receiving and displaying the resource allocation result determined by the server according to the identity information.
Optionally, after the receiving the first activity key information and/or the second activity key information of the target business class, the method further comprises: and receiving the identification information of the target business class sent by the server, and displaying the identification information of the target business class in a title bar corresponding to the target business class.
Optionally, after the receiving the identification information of the target service class sent by the server, the method further includes: receiving a replacement instruction of activity information of a target business class, wherein the replacement instruction comprises display pixels of the first activity key information and/or the second activity key information; and replacing the identification information of the target business class by the first activity key information and/or the second activity key information according to the display pixel to display in the title bar.
According to a second aspect of the present invention, there is provided a method for displaying activity information, comprising: receiving an acquisition request of activity information, wherein the acquisition request carries identification information of a target activity; determining identification information and activity key information of each business class participating in the target activity according to the identification information of the target activity, wherein the identification information and the activity key information corresponding to each business class are obtained by splitting activity description information corresponding to each business class; and respectively determining a main title and a sub title of the activity label corresponding to each business class according to the identification information and the activity key information corresponding to each business class, and sending the main title and the sub title.
Optionally, the determining the identification information and the activity key information of each business class participating in the target activity according to the identification information of the target activity includes determining the identification information of each business class participating in the target activity according to the identification information of the target activity; and completing the activity key information corresponding to each business class according to the identification information of each business class.
Optionally, before the receiving the activity information obtaining request, the method further includes: acquiring activity description information corresponding to various business classes participating in different activities; and splitting the activity description information by utilizing a preset service class identification library to obtain activity key information corresponding to each service class.
Optionally, the preset service class identifier library stores identification information of service classes participating in different activities, and the splitting of the activity description information by using the preset service class identifier library obtains activity key information corresponding to each service class, including: judging whether a field corresponding to the activity description information contains identification information of any business class in the preset business class identification library; and if the business item type identification information is contained, determining the residual field corresponding to the activity description information as the activity key information corresponding to the business item type.
Optionally, the determining, by the server, the identification information of the target activity corresponding to the first-level activity tag, and the determining, according to the identification information and the activity key information corresponding to each business class, a main title and a subtitle of the activity tag corresponding to each business class respectively includes: and respectively determining the main title and the sub title of the secondary activity label corresponding to each business class according to the identification information and the activity key information corresponding to each business class.
Optionally, the activity key information includes first activity key information and/or second activity key information, and before the sending the main title and the subtitle, the method further includes: classifying the various business classes according to corresponding first activity key information and/or second activity key information; determining the display sequence of the secondary activity labels corresponding to the various business categories according to the classification result; the transmitting the main title and the subtitle includes: and sending the display sequence of the main title, the sub-title and the secondary activity label.
Optionally, after the sending of the presentation order of the main title, the subtitle, and the secondary activity label, the method further includes: receiving an acquisition request of target business category activity information, wherein the acquisition request comprises identification information corresponding to the secondary activity label; determining the identification information of the target business class corresponding to the secondary activity label according to the identification information corresponding to the secondary activity label; and determining and sending first activity key information and/or second activity key information of the target business class to the client according to the identification information of the target business class, wherein the client is used for displaying the first activity key information and/or the second activity key information above a business list corresponding to the target business class.
Optionally, after determining and sending the second activity key information of the target service class to the client according to the identification information of the target service class, the method further includes: receiving a resource getting request aiming at second activity key information under a target business class, wherein the resource getting request carries user identity information; judging whether the user has resource picking qualification or not according to the identity information; and if the user has the resource obtaining qualification, performing resource allocation on the user and sending a resource allocation result.
Optionally, after determining, according to the identification information corresponding to the secondary activity label, the identification information of the target business class corresponding to the secondary activity label, the method further includes: and sending the identification information of the target business class to the client, wherein the client is used for displaying the identification information of the target business class in a title bar corresponding to the target business class.
Optionally, after the sending the identification information of the target service class to the client, the method further includes: responding to the rolling of the identification information of the target business class, and calculating the rolling distance of the identification information of the target business class; if the rolling distance is larger than the height of the title bar, calculating display pixels of first activity key information and/or second activity key information of the target business class according to a preset reduction scale; and sending a replacing instruction of the activity information of the target business class to the client according to the display pixel, wherein the client is used for replacing the identification information of the target business class by using the first activity key information and/or the second activity key information of the target business class according to the display pixel carried by the replacing instruction to display in the title bar.
According to a third aspect of the present invention, there is provided an apparatus for displaying motion information, comprising: a sending unit, configured to send an activity information acquisition request to a server, where the acquisition request carries identification information of a target activity; the server is used for determining identification information and activity key information of each business class participating in the target activity according to the identification information of the target activity, so as to respectively determine a main title and a sub-title of an activity label corresponding to each business class according to the identification information and the activity key information corresponding to each business class, wherein the identification information and the activity key information corresponding to each business class are obtained by splitting activity description information corresponding to each business class; and the display unit is used for receiving the main title and the subheading and displaying the activity label information of each business class according to the main title and the subheading.
Optionally, the identification information of the target activity is identification information of a target activity corresponding to a primary activity label, and the display unit is specifically configured to receive the main title and the subtitle, and display secondary activity label information of each service category according to the main title and the subtitle.
Optionally, the displaying unit is further specifically configured to receive a displaying sequence of the main title, the subheading, and the secondary activity label, and display the secondary activity label information of each service category according to the main title, the subheading, and the displaying sequence.
Optionally, the activity key information includes first activity key information and/or second activity key information, and the sending unit is further configured to send an acquisition request of activity information of a target business class, where the acquisition request includes identification information of a secondary activity tag corresponding to the target business class; the display unit is further configured to receive first activity key information and/or second activity key information of the target business class, and display the first activity key information and/or the second activity key information above a business list corresponding to the target business class, where the first activity key information and/or the second activity key information are determined by the server according to the identification information of the secondary activity tag.
Optionally, the sending unit is further configured to send a resource getting request for second activity key information under a target service category, where the resource getting request carries user identity information; the display unit is further configured to receive and display a resource allocation result determined by the server according to the identity information.
Optionally, the display unit is further configured to receive the identification information of the target service class sent by the server, and display the identification information of the target service class in a title bar corresponding to the target service class.
Optionally, the apparatus further comprises: the system comprises a receiving unit and a replacing unit, wherein the receiving unit is used for receiving a replacing instruction of the activity information of a target business class, and the replacing instruction comprises display pixels of the first activity key information and/or the second activity key information; and the replacing unit is used for replacing the identification information of the target business class by the first activity key information and/or the second activity key information according to the display pixel to display in the title bar.
According to a fourth aspect of the present invention, there is provided an apparatus for displaying motion information, comprising: a receiving unit, configured to receive an acquisition request of activity information, where the acquisition request carries identification information of a target activity; a determining unit, configured to determine, according to the identification information of the target activity, identification information and activity key information of each service class participating in the target activity, where the identification information and the activity key information corresponding to each service class are obtained by splitting activity description information corresponding to each service class; and the sending unit is used for respectively determining the main title and the subtitle of the activity label corresponding to each business class according to the identification information and the activity key information corresponding to each business class and sending the main title and the subtitle.
Optionally, the determining unit includes: the determining module is used for determining the identification information of each business class participating in the target activity according to the identification information of the target activity; and the completion module is used for completing the activity key information corresponding to each business class according to the identification information of each business class.
Optionally, the apparatus further comprises: the system comprises an acquisition unit and a splitting unit, wherein the acquisition unit is used for acquiring activity description information corresponding to various business categories participating in different activities; the splitting unit is configured to split the activity description information by using a preset service class identifier library to obtain activity key information corresponding to each service class.
Optionally, the preset service class identifier library stores identifier information of service classes participating in different activities, and the splitting unit includes: the judging module is used for judging whether a field corresponding to the activity description information contains identification information of any business class in the preset business class identification library; and the determining module is used for determining the remaining fields corresponding to the activity description information as the activity key information corresponding to any business class if the identifying information of any business class is included.
Optionally, the identification information of the target activity is identification information of a target activity corresponding to a primary activity label, and the sending unit is specifically configured to determine, according to the identification information and the activity key information corresponding to each business class, a primary title and a secondary title of a secondary activity label corresponding to each business class respectively.
Optionally, the activity key information includes first activity key information and/or second activity key information, and the apparatus further includes: the classification unit is used for classifying the various business classes according to the corresponding first activity key information and/or second activity key information; the determining unit is further configured to determine, according to the classification result, a display order of the secondary activity labels corresponding to each of the business categories; the sending unit is further specifically configured to send a display order of the main title, the subtitle, and the secondary activity label.
Optionally, the receiving unit is further configured to receive an acquisition request of target business category activity information, where the acquisition request includes identification information corresponding to the secondary activity tag; the determining unit is further configured to determine, according to the identification information corresponding to the secondary activity tag, identification information of a target business class corresponding to the secondary activity tag; the sending unit is further configured to determine and send first activity key information and/or second activity key information of the target business class to the client according to the identification information of the target business class, and the client is configured to display the first activity key information and/or the second activity key information above a business list corresponding to the target business class.
Optionally, the apparatus further comprises: the receiving unit is further used for receiving a resource getting request aiming at the second activity key information under the target business class, and the resource getting request carries the user identity information; the judging unit is used for judging whether the user has the resource picking qualification or not according to the identity information; the allocation unit is configured to perform resource allocation on the user and send a resource allocation result if the user qualifies for resource pickup.
Optionally, the sending unit is further configured to send the identification information of the target service class to the client, where the client is configured to display the identification information of the target service class in a title bar corresponding to the target service class.
Optionally, the apparatus further comprises: the calculating unit is used for responding to the rolling of the identification information of the target business class and calculating the rolling distance of the identification information of the target business class; the calculating unit is further configured to calculate display pixels of the first activity key information and/or the second activity key information of the target business class according to a preset reduction scale if the scrolling distance is greater than the height of the title bar; the sending unit is further configured to send a replacement instruction of the activity information of the target business class to the client according to the display pixel, and the client is configured to replace the identification information of the target business class with the first activity key information and/or the second activity key information of the target business class for display in the title bar according to the display pixel carried by the replacement instruction.
According to a fifth aspect of the present invention, there is provided a storage medium having stored therein at least one executable instruction, the executable instruction causing a processor to perform the steps of: sending an activity information acquisition request to a server, wherein the acquisition request carries identification information of a target activity; the server is used for determining identification information and activity key information of each business class participating in the target activity according to the identification information of the target activity, so as to respectively determine a main title and a sub-title of an activity label corresponding to each business class according to the identification information and the activity key information corresponding to each business class, wherein the identification information and the activity key information corresponding to each business class are obtained by splitting activity description information corresponding to each business class; and receiving the main title and the subheading, and displaying the activity label information of each business class according to the main title and the subheading.
According to a sixth aspect of the present invention, there is provided a terminal comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus; the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the following steps: sending an activity information acquisition request to a server, wherein the acquisition request carries identification information of a target activity; the server is used for determining identification information and activity key information of each business class participating in the target activity according to the identification information of the target activity, so as to respectively determine a main title and a sub-title of an activity label corresponding to each business class according to the identification information and the activity key information corresponding to each business class, wherein the identification information and the activity key information corresponding to each business class are obtained by splitting activity description information corresponding to each business class; and receiving the main title and the subheading, and displaying the activity label information of each business class according to the main title and the subheading.
According to a seventh aspect of the present invention, there is provided a storage medium having stored therein at least one executable instruction, the executable instruction causing a processor to perform the steps of: receiving an acquisition request of activity information, wherein the acquisition request carries identification information of a target activity; determining identification information and activity key information of each business class participating in the target activity according to the identification information of the target activity, wherein the identification information and the activity key information corresponding to each business class are obtained by splitting activity description information corresponding to each business class; and respectively determining a main title and a sub title of the activity label corresponding to each business class according to the identification information and the activity key information corresponding to each business class, and sending the main title and the sub title.
According to an eighth aspect of the present invention, there is provided a server comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus; the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the following steps: receiving an acquisition request of activity information, wherein the acquisition request carries identification information of a target activity; determining identification information and activity key information of each business class participating in the target activity according to the identification information of the target activity, wherein the identification information and the activity key information corresponding to each business class are obtained by splitting activity description information corresponding to each business class; and respectively determining a main title and a sub title of the activity label corresponding to each business class according to the identification information and the activity key information corresponding to each business class, and sending the main title and the sub title.
By the technical scheme, the technical scheme provided by the invention at least has the following advantages:
compared with the prior art that the key content really concerned by the user cannot be displayed in the activity label, the method and the device send the activity information acquisition request to the server, wherein the acquisition request carries the identification information of the target activity; the server is used for determining identification information and activity key information of each business class participating in the target activity according to the identification information of the target activity, so as to respectively determine a main title and a sub-title of an activity label corresponding to each business class according to the identification information and the activity key information corresponding to each business class, wherein the identification information and the activity key information corresponding to each business class are obtained by splitting activity description information corresponding to each business class; meanwhile, the main title and the subheading are received, and the activity label information of each business category is displayed according to the main title and the subheading, so that the service identification and acquisition efficiency of a user can be improved, the display precision of the activity information is improved, the decision and selection of the user are facilitated, in addition, each business category participating in the target activity can be clustered and independently displayed, the service identification and acquisition efficiency of the user is further improved, the experience of the user is improved, meanwhile, the user can still check the activity information when browsing the service list, and the decision efficiency of the user is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a method for displaying activity information according to an embodiment of the present invention;
FIG. 2 is a flow chart of another activity information presentation method provided by the embodiment of the invention;
FIG. 3 is a block diagram of an apparatus for displaying activity information according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
FIG. 5 is a block diagram of another apparatus for presenting activity information provided by an embodiment of the present invention;
FIG. 6 is a block diagram of a device for displaying event information according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another terminal according to an embodiment of the present invention;
FIG. 8 illustrates an activity information display interface provided by an embodiment of the present invention;
FIG. 9 illustrates another activity information presentation interface provided by embodiments of the present invention;
FIG. 10 is a diagram illustrating a resource procurement result provided by an embodiment of the invention;
fig. 11 shows a presentation interface of still another activity information provided by the embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The embodiment of the invention provides a method for displaying activity information, which comprises the following steps of:
101. and sending an acquisition request of the activity information to a server.
The obtaining request carries identification information of a target activity, the identification information of the target activity may be specifically an activity name or an activity code, for example, the name of the target activity carried by the obtaining request is full deactivation, for an embodiment of the present invention, the executing main body is a client, a user can view activity information of service classes participating in different activities at the client, for example, the specific activity may be full deactivation or hot-selling activity, when the activity is full deactivation, the activity information corresponding to the service class may be brand a full 20 minus 5, brand B full 15 minus 5, 40 minus 15, 60 minus 40, so that the user can select a service meeting the requirements of the user according to the activity information corresponding to each service class participating in the full deactivation.
Further, when a user clicks a display button of activity information in a client operation, the client sends an acquisition request of the activity information to a server, and the server determines identification information and activity key information of each business class participating in the target activity according to identification information and activity key information of a target activity carried by the acquisition request, so as to respectively determine a main title and a sub title of an activity label corresponding to each business class according to the identification information and the activity key information corresponding to each business class, wherein the identification information and the activity key information corresponding to each business class are obtained by splitting activity description information corresponding to each business class. Therefore, the activity description information is displayed in a split mode, the key activity information of different business categories can be displayed without being limited by the activity label field, the business identification and acquisition efficiency of the user is improved, and the user can conveniently screen the activities.
102. And receiving the main title and the subheading, and displaying the activity label information of each business class according to the main title and the subheading.
The main title is identification information corresponding to the service class, the sub-title is key activity information corresponding to the service class, and the identification information corresponding to the service class may specifically be a service class name or a service class identity code, for example, the identification information of the service class corresponding to the main title is brand a, the key activity information corresponding to the sub-title is 20 minus 5, for example, the identification information of the service class corresponding to the main title is brand B, and the key activity information corresponding to the sub-title is 15 minus 5, 40 minus 15, 60 minus 40.
For the embodiment of the invention, the server receives the acquisition request of the activity information sent by the client, determines and sends the main title and the sub-title corresponding to each business category participating in the target activity according to the identification information of the target activity carried by the acquisition request, the client generates and displays the activity label corresponding to each business category according to the received main title and the sub-title corresponding to each business category, and the user can directly capture the activity key information corresponding to each business category by browsing the main title and the sub-title of the activity label corresponding to each business category, so that the decision and the screening of the user are facilitated, and the service identification and the acquisition efficiency of the user are improved.
Compared with the method for displaying the activity information, which is provided by the embodiment of the invention, the method for displaying the activity information has the advantages that the key content really concerned by the user cannot be displayed in the current page, the method for displaying the activity information sends the activity information acquisition request to the server, and the acquisition request carries the identification information of the target activity; the server is used for determining identification information and activity key information of each business class participating in the target activity according to the identification information of the target activity, so as to respectively determine a main title and a sub-title of an activity label corresponding to each business class according to the identification information and the activity key information corresponding to each business class, wherein the identification information and the activity key information corresponding to each business class are obtained by splitting activity description information corresponding to each business class; meanwhile, the main title and the subheading are received, and the activity label information of each business category is displayed according to the main title and the subheading, so that the service identification and acquisition efficiency of a user can be improved, the display precision of the activity information is improved, the decision and selection of the user are facilitated, in addition, each business category participating in the target activity can be clustered and independently displayed, the service identification and acquisition efficiency of the user is further improved, the experience of the user is improved, meanwhile, the user can still check the activity information when browsing the service list, and the decision efficiency of the user is improved.
Further, in order to better explain the presentation process of the information activity, as a refinement and an extension to the above embodiment, the embodiment of the present invention provides several alternative embodiments, but is not limited thereto, and specifically, the following embodiments are provided:
in an optional embodiment of the present invention, in order to perform clustering and separate display on the service categories participating in different activities according to activity types and improve the efficiency of retrieving and acquiring services by a user, the identification information of the target activity is the identification information of the target activity corresponding to the first-level activity label, and step 102 specifically includes: and receiving the main title and the subheading, and displaying the secondary activity label information of each service class according to the main title and the subheading. Specifically, the business categories participating in the target activity are individually accepted in the primary activity label, the primary activity label displays identification information of the target activity, the identification information of the target activity may specifically be an activity name or an activity code, for example, the primary activity label information is full or inactive, when a user selects the primary activity label corresponding to the target activity according to different primary activity label information displayed by the client and clicks, the client sends an activity information acquisition request to the server, the acquisition request carries the identification information of the target activity corresponding to the primary activity label, after receiving the acquisition request, the server determines and sends the main title and the subtitle of the secondary activity label corresponding to each business category participating in the target activity according to the identification information of the target activity corresponding to the primary activity label, and the client receives the main title and the subtitle of the secondary activity label sent by the server, and displaying the secondary activity label information of each business class participating in the target activity, so that the business classes participating in different activities are independently accepted in the corresponding primary activity labels, and the efficiency of searching and acquiring the business by the user can be further improved.
For example, as shown in fig. 8, each service class participating in the full decreasing activity is individually accepted in the primary activity label "full decreasing activity", when the user clicks the primary activity label "full decreasing activity", the client sends an activity information acquisition request to the server, the server determines the main title and the sub-title of each service class participating in the full decreasing activity according to the identification information of the full decreasing activity, further, the client receives the main title and the sub-title of the secondary activity label corresponding to each service class participating in the full decreasing activity sent by the server, the client displays the secondary activity label information of each service class according to the received main title and sub-title, as shown in the upper part of fig. 8, the service class corresponding to the main title of the secondary activity label is brand a, the activity key information corresponding to the sub-title is 35 minus 12, and the service class corresponding to the main title of the secondary activity label is brand B, the activity key information corresponding to the subheading is 20 minus 5, 40 minus 15 and 60 minus 40, so that the user can search the business categories participating in the target activity in the special area corresponding to the target activity, and meanwhile, the benefit points of all the business categories participating in the target activity are captured according to the key activity information displayed by the secondary activity label, the business identification and acquisition efficiency of the user is improved, the user can conveniently search and make a decision, and the experience of the user is improved.
In a specific application scenario, step 102 specifically includes: and receiving the display sequence of the main title, the subheading and the secondary activity label, and displaying the secondary activity label information of each business class according to the main title, the subheading and the display sequence. For the embodiment of the present invention, when the client displays the secondary activity label information corresponding to each service category, the client needs to display according to a preset sequence, specifically, the client sends an activity information acquisition request to the server, and the server determines and sends the main title, the sub-title and the display sequence of the secondary activity display label of each service category participating in the target activity according to the identification information of the target activity carried in the acquisition request, wherein the display sequence can be determined according to the type of the key activity information. For example, the key activity information specifically includes full-minus step information and full-minus red packet information, the second-level activity labels corresponding to the service categories with the full-minus step information are preferentially displayed, and the second-level activity labels corresponding to the service categories with the full-minus red packet information are displayed later, so that a user can conveniently find the service categories participating in different full-minus activities, it needs to be noted that the display sequence of the second-level activity labels can be determined according to the preferential level of the key activity information or the preference degree of the user to different service categories during specific display, and the embodiment of the present invention is not specifically limited herein.
In another optional embodiment of the present invention, the activity key information includes first activity key information and/or second activity key information, for example, the first activity key information is full-minus staircase information, and the second activity key information is full-minus red envelope information, and after the displaying the secondary activity label information of each service class according to the main title, the sub-title and the displaying order, the method further includes: sending an acquisition request of activity information of a target business class, wherein the acquisition request comprises identification information of a secondary activity label corresponding to the target business class; receiving first activity key information and/or second activity key information of the target business class, and displaying the first activity key information and/or the second activity key information above a business list corresponding to the target business class, wherein the first activity key information and/or the second activity key information are determined by the server according to the identification information of the secondary activity label.
Specifically, the client displays the secondary activity label information corresponding to each business class participating in the target activity, the user clicks the secondary activity label corresponding to the target business class according to the display information of the secondary activity label, at this time, the client sends an acquisition request of the activity information of the target business class to the server, the server determines and sends the first activity key information and/or the second activity key information corresponding to the target business class according to the identification information of the secondary activity label carried by the acquisition request, the client receives the first activity key information and/or the second activity key information sent by the server, and displays the first activity key information and/or the second activity key information above the business list corresponding to the target business class, as shown in fig. 8 and 9, when the user clicks the brand a of the target business class, the red packet information which can be fully 35 obtained is displayed above the business list corresponding to the brand a, meanwhile, when the user clicks the business target business category brand B, full minus step information of full minus 20 minus 5, 40 minus 15 and 60 minus 40 is displayed above the business list corresponding to the brand B, so that when the user browses the business list corresponding to the target business category, the user can timely know the corresponding key activity information, the decision efficiency of the user is improved, meanwhile, the user can also carry out resource acquisition on the target business category in an activity special area, the experience of a link is improved, and the user can use the business target category conveniently.
In a specific application scenario, after the second activity key information is displayed above the service list corresponding to the target service class, the method further includes: sending a resource getting request aiming at the second activity key information under the target business class, wherein the resource getting request carries user identity information; and receiving and displaying the resource allocation result determined by the server according to the identity information. Specifically, when the user clicks the resource getting button of the second activity key information, the client sends a resource getting request of the second activity key information to the server, where the resource getting request carries user identity information, the server determines a resource getting result of the user in the target business category according to the identity information carried by the resource getting request and feeds the resource getting result back to the client, the client receives and displays the resource getting result, for example, the second activity key information is full red packet information, and the client displays the resource getting result according to the resource getting result fed back by the server, as shown in fig. 10.
In yet another optional embodiment of the invention, after the receiving the first activity key information and/or the second activity key information of the target business class, the method further comprises: and receiving the identification information of the target business class sent by the server, and displaying the identification information of the target business class in a title bar corresponding to the target business class. Specifically, when the client sends an acquisition request of activity information of a target business class to the server, the server also sends identification information of the target business class to the client according to the acquisition request, and the client displays the identification information of the target business class in a title bar corresponding to the target business class after receiving the identification information, as shown in fig. 8 and 9, the identification information "brand a" and "brand B" of the business class is displayed in the title bar below the secondary activity label, so as to remind the user of the business class browsed. In a specific application scenario, after the receiving the identification information of the target service class sent by the server, the method further includes: receiving a replacement instruction of activity information of a target business class, wherein the replacement instruction comprises display pixels of the first activity key information and/or the second activity key information; and replacing the identification information of the target business class by the first activity key information and/or the second activity key information according to the display pixel to display in the title bar.
Specifically, when the user browses each service in the service list in a sliding manner, the server may calculate the rolling distance of the identification information of the target service class in real time, determine whether the identification information of the target service class is replaced by the first activity key information and/or the second activity key information according to the calculation result, if the identification information needs to be replaced, the server calculates the display pixel of the first activity key information and/or the second activity key information, send a replacement instruction of the activity information of the target service class to the client according to the display pixel, where the replacement instruction carries the display pixel, and the client replaces the identification information of the target service class in the title bar with the first activity key information and/or the second activity key information according to the display pixel carried by the replacement instruction, as shown in fig. 11, when the user browses a commodity 1, a commodity in the service list, Similarly, when the user browses the products such as the product 3 and the product 4 in the service list, the full reduction step information is full 20 minus 5, 40 minus 15, 60 minus 40, and replaces the brand B in the title bar.
Further, as an extension and refinement of the above implementation content, an embodiment of the present invention further provides another method for presenting activity information, as shown in fig. 2, where the method includes:
201. an acquisition request of activity information is received.
The obtaining request carries identification information of the target activity, where the identification information of the target activity may specifically be an activity name or an activity code, and for example, the identification information of the target activity is a full minus activity. For the embodiment of the invention, the execution main body is the server, when a user operates and clicks a display button of the activity information at the client, the client sends an acquisition request of the activity information to the server, the acquisition request carries the identification information of the target activity, and after receiving the acquisition request, the server determines the identification information and the activity key information of each service class participating in the target activity according to the identification information of the target activity carried by the acquisition request.
202. And determining the identification information and the activity key information of each business class participating in the target activity according to the identification information of the target activity.
The identification information and the activity key information corresponding to each service class are obtained by splitting activity description information corresponding to each service class, different services correspond to the service classes, for example, a service class brand B specifically includes a commodity 1, a commodity 2 and the like, the activity description information corresponding to the service classes is specifically a text description, for example, the brand B is full 15 minus 5, 40 minus 15, 60 minus 40, the service class identification information obtained by splitting the activity description information corresponding to the brand B is the brand B, and the activity key information is full 15 minus 5, 40 minus 15, 60 minus 40. For the embodiment of the invention, the server searches the identification information of each business class participating in the target activity according to the identification information of the target activity, and further captures the corresponding activity key information according to the determined identification information of each business class.
203. And respectively determining a main title and a sub title of the activity label corresponding to each business class according to the identification information and the activity key information corresponding to each business class, and sending the main title and the sub title.
For the embodiment of the invention, the activity key information of each business class is supplemented according to the identification information of the business class participating in the target activity, the identification information of the business class is determined as the main title of the activity label corresponding to the business class, the activity key information corresponding to the business class is determined as the subtitle of the activity label corresponding to the business class, for example, the identification information of the business class is brand A, the activity key information corresponding to the business class is full 35 minus 12, the brand A is determined as the main title of the activity label, full 35 minus 12 is determined as the subtitle of the brand A activity label, and the display effect is as shown in figure 8, so that the activity label information of the brand A can be displayed, and a user can visually see the activity key information through the subtitle in the activity label, thereby improving the identification and acquisition efficiency of the user on the business. Further, the server sends the main titles and the sub-titles of all the business categories participating in the target activity to the client, the client generates activity labels corresponding to all the business categories according to the received main titles and the sub-titles, the activity key information corresponding to the sub-titles can be highlighted without being limited by activity label fields, and retrieval and decision making of users are facilitated.
Compared with the method for displaying the activity information, which is provided by the embodiment of the invention, which cannot display the key content really concerned by the user in the current page, the method receives the activity information acquisition request, wherein the acquisition request carries the identification information of the target activity; determining identification information and activity key information of each business class participating in the target activity according to the identification information of the target activity, wherein the identification information and the activity key information corresponding to each business class are obtained by splitting activity description information corresponding to each business class; meanwhile, according to the identification information and the activity key information corresponding to each business category, the main title and the sub-title of the activity label corresponding to each business category are respectively determined, and the main title and the sub-title are sent, so that the business identification and acquisition efficiency of a user can be improved, the display precision of activity information is improved, the user can conveniently make a decision and select, in addition, each business category participating in the target activity can be clustered and independently displayed, the business identification and acquisition efficiency of the user is further improved, the experience of the user is improved, meanwhile, the user can still check the activity information when browsing a business list, and the decision efficiency of the user is improved.
Further, in order to better explain the process of displaying the activity information, as a refinement and an extension to the above embodiment, the embodiment of the present invention provides several alternative embodiments, but is not limited to this, and specifically, the following embodiments are provided:
in an optional embodiment of the present invention, in order to determine the identification information and the activity key information of each business class participating in the target activity, step 202 specifically includes: determining the identification information of each business class participating in the target activity according to the identification information of the target activity; and completing the activity key information corresponding to each business class according to the identification information of each business class. Because the identification information of the business class and the activity key information belong to different data structures, the identification information of different business classes and the identification information of activities participating in are respectively stored in a preset business class identification library and a preset activity information library, the identification information of the business classes participating in the activities and the corresponding activity key information are stored in the preset activity information library, for the embodiment of the invention, the activity key information of different business classes is displayed through the main title and the subtitle of the activity label, in order to capture the activity key information of the business class and complete the subtitle of the activity label, the identification information and the activity key information of a target activity class need to be requested to participate simultaneously and are respectively stored in different data variables, and then the preset business class identification library is searched according to the identification information of the target activity, and determining the identification information of the service class needing to be completed, traversing in a preset activity information base according to the identification information of the searched service class, capturing activity key information corresponding to the identification information of the service class, and completing the activity key information as a subtitle of the activity label. For example, the target activity is full deactivation, the server searches each service class participating in the full deactivation in the preset service class identifier library, including the brand a and the brand B, and then completes the key activity information of each service class participating in the full deactivation in the preset activity information library, such as full 35 minus 12, full 20 minus 5, 40 minus 14, 60 minus 40, and the like.
In a specific application scenario, before the receiving the request for acquiring the activity information, the method further includes: acquiring activity description information corresponding to various business classes participating in different activities; and splitting the activity description information by utilizing a preset service class identification library to obtain activity key information corresponding to each service class. Because the activity description information is limited by the activity label field during specific display, the activity interest points really concerned by the user cannot be completely revealed or highlighted, and the identification and acquisition efficiency of the user on the service is low, the embodiment of the invention divides the activity description information of each service class, extracts the key activity information, separately displays the identification information and the activity key information of the service class during specific display, enables the user to visually see the activity key information of different service classes when watching, improves the identification and acquisition efficiency of the user on the service, particularly divides the activity description information of different service classes, and separately stores the identification information and the activity key information of the service classes participating in different activities, wherein the activity description information is provided by a service party, for example, the activity description information corresponding to full deactivation activity is brand A which is 20 minus 5, the brand B is full 15 minus 5, 40 minus 15, 60 minus 40, and further, the preset business class identification library is used to split the activity description information, and the activity key information corresponding to each business class is extracted, for example, the activity key information corresponding to the brand a is 20 minus 5, and the activity key information corresponding to the brand B is full 15 minus 5, 40 minus 15, 60 minus 40, so that the identification information and the activity key information of different business classes are separately stored.
Further, the preset service class identification library stores identification information of service classes participating in different activities, and the splitting of the activity description information by using the preset service class identification library obtains activity key information corresponding to each service class, including: judging whether a field corresponding to the activity description information contains identification information of any business class in the preset business class identification library; and if the business item type identification information is contained, determining the residual field corresponding to the activity description information as the activity key information corresponding to the business item type. Specifically, the activity description information of the service class is sequentially matched with each service class identification information in a preset service class identification library, if the activity description information is matched with a certain service class identification in the preset service class identification library, namely the identification information of the business class is contained in the field corresponding to the activity description information, the rest field corresponding to the activity description information is determined as the activity key information corresponding to the business class, for example, if the activity description information of the service class is brand a full 35 minus 12, and if there is a service class identification brand a in the preset class identification library, determining the full 35 minus 12 as the activity key information corresponding to the brand A, and further storing the determined activity key information participating in different activity business categories into a preset activity information base so as to capture the activity key information of different business categories in the preset activity information base. In another optional embodiment of the present invention, the identification information of the target activity is identification information of a target activity corresponding to the primary activity label, and step 203 specifically includes: and respectively determining the main title and the sub title of the secondary activity label corresponding to each business class according to the identification information and the activity key information corresponding to each business class. For the embodiment of the invention, in order to improve the efficiency of identifying and acquiring the service by the user and facilitate the retrieval of the user, the service class participating in the target activity is separately accepted in the primary activity label, and simultaneously the identification information and the activity key information of the determined service class are displayed in the secondary activity label corresponding to the service class, as shown in fig. 8, the primary activity label is full deactivation, the primary label of the secondary activity label corresponding to the brand a of the service class is brand a, and the secondary label is full 35 minus 12, so that the defect caused by accepting the service classes participating in different activities in the same activity label can be avoided, the user can conveniently select the service class participating in the target activity, and the efficiency of retrieving and identifying the service by the user is improved.
In a specific application scenario, the activity key information includes first activity key information and/or second activity key information, and before the sending of the main title and the subtitle, the method further includes: classifying the various business classes according to corresponding first activity key information and/or second activity key information; and determining the display sequence of the secondary activity labels corresponding to the various business categories according to the classification result. Further, the transmitting the main title and the subtitle includes: and sending the display sequence of the main title, the sub-title and the secondary activity label. For example, the first activity key information and the second activity key information corresponding to the service classes participating in the full minus activity are full minus step information and full minus red packet information, respectively, as shown in fig. 8 and 9, the brand a is full minus red packet information, the brand B is full minus step information, and some service classes may have both full minus red packet information and full minus step information, specifically, the server may determine the display order of the secondary activity labels corresponding to the service classes according to the types of the activity key information corresponding to the service classes, for example, the service classes participating in the full minus step activity are preferentially displayed, the service classes participating in the full minus red packet activity are displayed later, and when the secondary activity labels of the service classes participating in the full minus step activity are specifically displayed, the display order of the service classes participating in the full minus step activity may be further determined according to the activity level of the full minus step, in addition, a display sequence may also be set according to the preference of the user, and the embodiment of the present invention is not particularly limited, and further, the server sends the determined display sequence of the secondary activity labels to the client, and the client displays the secondary activity label information of each business category according to the display sequence determined by the server.
In yet another alternative embodiment of the present invention, after said sending the presentation order of the main title, the subtitle, and the secondary activity label, the method further comprises: receiving an acquisition request of target business category activity information, wherein the acquisition request comprises identification information corresponding to the secondary activity label; determining the identification information of the target business class corresponding to the secondary activity label according to the identification information corresponding to the secondary activity label; and determining and sending the first activity key information and/or the second activity key information of the target business class to the client according to the identification information of the target business class. Specifically, when a user clicks a secondary activity label corresponding to a target business class in a client operation, the client sends an acquisition request of activity information of the target business class to a server, the server determines identification information of the target business class corresponding to the secondary activity label according to the identification information of the secondary activity label carried in the acquisition request, searches a preset activity information base according to the identification information of the target business class, determines key activity information corresponding to the target business class, and sends the key activity information to the client for display, wherein the business class may have first activity key information and/or second activity key information, and the client is used for displaying the first activity key information and/or the second activity key information above a business list corresponding to the target business class.
In a specific application scenario, after determining and sending the second activity key information of the target service class to the client according to the identification information of the target service class, the method further includes: receiving a resource getting request aiming at second activity key information under a target business class, wherein the resource getting request carries user identity information; judging whether the user has resource picking qualification or not according to the identity information; and if the user has the resource obtaining qualification, performing resource allocation on the user and sending a resource allocation result.
For example, the second activity key information is full red packet minus information, as shown in fig. 8, when the user clicks to receive at the client, the server receives a resource receiving request sent by the client, where the resource receiving request carries user identity information, and according to the identity information, the server determines whether the user has a resource receiving qualification, that is, determines whether the amount of the service selected by the user reaches 35, and if so, determines that the user has the resource receiving qualification, and allocates resources to the user; if not, it is determined that the user does not have the qualification for resource picking, and no resource allocation is performed for the user, and further, if resource allocation is performed for the user, the resource allocation result is sent to the client, and the client displays the resource allocation result, as shown in fig. 10. In a specific application scenario, after determining, according to the identification information corresponding to the secondary activity tag, the identification information of the target business class corresponding to the secondary activity tag, the method further includes: and sending the identification information of the target business class to the client. Specifically, when the user operates and clicks the secondary activity tag corresponding to the target business class at the client, the server further sends the identification information of the target business class to the client, and the client is configured to display the identification information of the target business class in the title bar corresponding to the target business class, as shown in fig. 8 and 9, "brand a" and "brand B" are displayed below the secondary activity tag, so as to remind the user of the business class browsed. Further, after the sending the identification information of the target service class to the client, the method further includes: responding to the rolling of the identification information of the target business class, and calculating the rolling distance of the identification information of the target business class; if the rolling distance is larger than the height of the title bar, calculating display pixels of first activity key information and/or second activity key information of the target business class according to a preset reduction scale; and sending a replacing instruction of the activity information of the target business class to the client according to the display pixel. Specifically, when the user scrolls and browses each service under the target service category at the client, the server calculates the scrolling distance of the identification information of the target service category in the title bar in real time.
For example, the size of the title bar is 50 × 100, if the scrolling distance of the identification information of the target business class is 60 pixels, since the scrolling distance of the identification information of the target business class in the title bar is less than the height pixel 100 of the title bar, the target business class does not need to be replaced; if the rolling distance of the identification information of the target business class is 200 pixels, because the rolling distance of the identification information of the target business class in the title bar is greater than the height pixel 100 of the title bar, the identification information of the target business class needs to be replaced by using the first activity key information and/or the second activity key information, the server calculates the display pixel of the activity key information according to a preset reduction ratio and sends a replacement instruction to the client, so that the client replaces the identification information of the target business class by using the first activity key information and/or the second activity key information of the target business class according to the display pixel carried by the replacement instruction and displays the identification information in the title bar, because the user does not need to remind the business class when browsing each business in the target business class at the moment, the activity key information is replaced and placed on the top at the moment, the method can facilitate users to know key activity information corresponding to browsed business categories, facilitate users to make decisions, and improve decision efficiency of users, further, when the users browse all the businesses under the target business categories, the users may continue to browse all the businesses under the next business category corresponding to the target business categories, at this time, the server can send identification information of the next business category to the client, the client displays the identification information of the next business category in a title bar so as to remind the users of the business categories browsed at this time, further, when the users continue to browse different businesses under the next business category in a rolling mode, the server can calculate the rolling distance of the identification information of the next business category in real time, and the steps are repeated.
Further, as an implementation of the method shown in fig. 1, an embodiment of the present invention provides an apparatus for displaying activity information, as shown in fig. 3, the apparatus includes: a sending unit 31 and a presentation unit 32.
The sending unit 31 may be configured to send an obtaining request of activity information to a server, where the obtaining request carries identification information of a target activity; the server is used for determining identification information and activity key information of each business class participating in the target activity according to the identification information of the target activity, so as to respectively determine a main title and a sub-title of an activity label corresponding to each business class according to the identification information and the activity key information corresponding to each business class, wherein the identification information and the activity key information corresponding to each business class are obtained by splitting the activity description information corresponding to each business class. The transmitting unit 31 is a main function module in the present apparatus that transmits an acquisition request of activity information to a server. The displaying unit 32 may be configured to receive the main title and the sub-title, and display the activity label information of each service class according to the main title and the sub-title. The presentation unit 32 is a main function module in the present apparatus that receives the main title and the subtitle, and presents the activity label information of each of the business items according to the main title and the subtitle.
Further, the displaying unit 32 may be specifically configured to receive the main title and the subtitle, and display the secondary activity label information of each service class according to the main title and the subtitle. In addition, the displaying unit 32 may be further specifically configured to receive a displaying order of the main title, the sub-title, and the secondary activity label, and display the secondary activity label information of each service class according to the main title, the sub-title, and the displaying order. In a specific application scenario, the activity key information includes first activity key information and/or second activity key information, and the sending unit 31 may be further configured to send an acquisition request of activity information of a target service class, where the acquisition request includes identification information of a secondary activity tag corresponding to the target service class.
The display unit 32 may be further configured to receive first activity key information and/or second activity key information of the target business class, and display the first activity key information and/or the second activity key information above a business list corresponding to the target business class, where the first activity key information and/or the second activity key information are determined by the server according to the identification information of the secondary activity tag.
Meanwhile, the sending unit 31 may be further configured to send a resource getting request for the second activity key information under the target service class, where the resource getting request carries the user identity information. The displaying unit 32 may be further configured to receive and display a resource allocation result determined by the server according to the identity information. Further, the display unit 32 may be further configured to receive the identification information of the target service class sent by the server, and display the identification information of the target service class in a title bar corresponding to the target service class.
For the embodiment of the present invention, the apparatus further includes: a receiving unit and a replacing unit. The receiving unit may be configured to receive a replacement instruction of the activity information of the target service class, where the replacement instruction includes a display pixel of the first activity key information and/or the second activity key information. The replacing unit may be configured to replace, according to the display pixel, the identification information of the target service class with the first activity key information and/or the second activity key information to be displayed in the title bar.
According to an embodiment of the present invention, a storage medium is provided, where the storage medium stores at least one executable instruction, and the computer executable instruction may perform relevant steps in the above-mentioned method for displaying activity information.
Fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the terminal. As shown in fig. 4, the terminal may include: a processor (processor)402, a Communications Interface 404, a memory 406, and a Communications bus 408. Wherein: the processor 402, communication interface 404, and memory 406 communicate with each other via a communication bus 408. A communication interface 504 for communicating with network elements of other devices, such as clients or other servers. The processor 402 is configured to execute the program 410, and may specifically perform the relevant steps in the embodiment of the method for presenting activity information. In particular, program 410 may include program code comprising computer operating instructions. The processor 402 may be a central processing unit CPU or an application Specific Integrated circuit asic or one or more Integrated circuits configured to implement embodiments of the present invention. The terminal comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs. And a memory 406 for storing a program 410. Memory 406 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. The program 410 may specifically be configured to cause the processor 402 to perform the following operations: sending an activity information acquisition request to a server, wherein the acquisition request carries identification information of a target activity; the server is used for determining identification information and activity key information of each business class participating in the target activity according to the identification information of the target activity, so as to respectively determine a main title and a sub-title of an activity label corresponding to each business class according to the identification information and the activity key information corresponding to each business class, wherein the identification information and the activity key information corresponding to each business class are obtained by splitting activity description information corresponding to each business class; and receiving the main title and the subheading, and displaying the activity label information of each business class according to the main title and the subheading.
Further, as an implementation of the method shown in fig. 2, an embodiment of the present invention provides an apparatus for displaying activity information, as shown in fig. 5, the apparatus includes: a receiving unit 51, a determining unit 52 and a transmitting unit 53.
The receiving unit 51 may be configured to receive an obtaining request of activity information, where the obtaining request carries identification information of a target activity. The receiving unit 51 is a main function module in the present apparatus that receives an acquisition request of activity information. The determining unit 52 may be configured to determine, according to the identification information of the target activity, identification information and activity key information of each business class participating in the target activity, where the identification information and the activity key information corresponding to each business class are obtained by splitting activity description information corresponding to each business class. The determining unit 52 is a main function module of the present apparatus that determines, based on the identification information of the target activity, identification information and activity key information of each business class participating in the target activity. The sending unit 53 may be configured to determine, according to the identification information and the activity key information corresponding to each service class, a main title and a sub-title of an activity label corresponding to each service class, respectively, and send the main title and the sub-title. The sending unit 53 is a main function module in the present apparatus, which determines the main title and the subtitle of the activity label corresponding to each service class according to the identification information and the activity key information corresponding to each service class, and sends the main title and the subtitle.
Further, as shown in fig. 6, the determining unit 52 includes: a determination module 521 and a completion module 522.
The determining module 521 may be configured to determine, according to the identification information of the target activity, identification information of each service class participating in the target activity. The completion module 522 may be configured to complete the activity key information corresponding to each service class according to the identification information of each service class. For the embodiment of the present invention, the apparatus further includes: an acquisition unit 55 and a splitting unit 55. The obtaining unit 55 may be configured to obtain activity description information corresponding to each service class participating in different activities. The splitting unit 55 may be configured to split the activity description information by using a preset service class identifier library, so as to obtain activity key information corresponding to each service class.
Further, the preset service class identifier library stores identification information of service classes participating in different activities, and the splitting unit 55 includes: a determination module 551 and a determination module 552. The determining module 551 may be configured to determine whether a field corresponding to the activity description information includes identification information of any service class in the preset service class identification library. The determining module 552 may be configured to determine, if the identification information of any service class is included, the remaining field corresponding to the activity description information as the activity key information corresponding to any service class.
In a specific application scenario, the identification information of the target activity is identification information of a target activity corresponding to a primary activity label, and the sending unit 53 may be specifically configured to respectively determine a main title and a subtitle of a secondary activity label corresponding to each service class according to the identification information and the activity key information corresponding to each service class. Further, the activity key information comprises first activity key information and/or second activity key information, the apparatus further comprises: a classification unit 56. The classifying unit 56 may be configured to classify the service classes according to the corresponding first activity key information and/or second activity key information. The determining unit 52 may be further configured to determine, according to the classification result, a display sequence of the secondary activity labels corresponding to each service class. The sending unit 53 may be further specifically configured to send a display order of the main title, the sub-title, and the secondary activity label.
Further, the receiving unit 51 may be further configured to receive an obtaining request of the target business class activity information, where the obtaining request includes identification information corresponding to the secondary activity label. The determining unit 52 may be further configured to determine, according to the identification information corresponding to the secondary activity tag, the identification information of the target service class corresponding to the secondary activity tag. The sending unit 53 may be further configured to determine and send first activity key information and/or second activity key information of the target business class to the client according to the identification information of the target business class, where the client is configured to display the first activity key information and/or the second activity key information above a business list corresponding to the target business class. Meanwhile, the device further comprises: a judging unit 57 and an assigning unit 58. The receiving unit 51 may be further configured to receive a resource getting request for the second activity key information under the target service category, where the resource getting request carries the user identity information. The determining unit 57 may be configured to determine whether the user qualifies for resource picking according to the identity information. The allocating unit 58 may be configured to allocate resources to the user and send a resource allocation result if the user qualifies for resource picking.
Further, the sending unit 53 may be further configured to send the identification information of the target service class to the client, where the client is configured to display the identification information of the target service class in a title bar corresponding to the target service class. In a specific application scenario, the apparatus further includes: a calculation unit 59. The calculating unit 59 may be configured to calculate a rolling distance of the identification information of the target service class in response to the identification information of the target service class rolling. The calculating unit 59 may be further configured to calculate, according to a preset reduction scale, display pixels of the first activity key information and/or the second activity key information of the target business class if the scrolling distance is greater than the height of the title bar. The sending unit 53 may be further configured to send a replacement instruction of the activity information of the target service class to the client according to the display pixel, where the client is configured to replace the identification information of the target service class with the first activity key information and/or the second activity key information of the target service class according to the display pixel carried by the replacement instruction, and display the identification information in the title bar.
According to an embodiment of the present invention, a storage medium is provided, where the storage medium stores at least one executable instruction, and the computer executable instruction may perform relevant steps in the above-mentioned method for displaying activity information.
Fig. 7 is a schematic structural diagram of a server according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the terminal. As shown in fig. 7, the server may include: a processor (processor)702, a Communications Interface (Communications Interface)707, a memory (memory)706, and a Communications bus 708. Wherein: the processor 702, communication interface 707, and memory 706 communicate with one another via a communication bus 708. A communication interface 507 for communicating with network elements of other devices, such as clients or other servers. The processor 702 is configured to execute the program 710, and may specifically execute relevant steps in the embodiment of the method for displaying the activity information. In particular, the program 710 may include program code that includes computer operating instructions. The processor 702 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the present invention. The terminal comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs. The memory 706 stores a program 710. The memory 706 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. The program 710 may specifically be used to cause the processor 702 to perform the following operations: receiving an acquisition request of activity information, wherein the acquisition request carries identification information of a target activity; determining identification information and activity key information of each business class participating in the target activity according to the identification information of the target activity, wherein the identification information and the activity key information corresponding to each business class are obtained by splitting activity description information corresponding to each business class; and respectively determining a main title and a sub title of the activity label corresponding to each business class according to the identification information and the activity key information corresponding to each business class, and sending the main title and the sub title.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A method for displaying activity information is characterized by comprising the following steps:
sending an activity information acquisition request to a server, wherein the acquisition request carries identification information of a target activity; the server is used for determining identification information and activity key information of each business class participating in the target activity according to the identification information of the target activity, so as to respectively determine a main title and a sub-title of an activity label corresponding to each business class according to the identification information and the activity key information corresponding to each business class, wherein the identification information and the activity key information corresponding to each business class are obtained by splitting activity description information corresponding to each business class;
and receiving the main title and the subheading, and displaying the activity label information of each business class according to the main title and the subheading.
2. The method according to claim 1, wherein the identification information of the target activity is identification information of a target activity corresponding to a primary activity label, and the receiving the main title and the subtitle and displaying the activity label information of each service category according to the main title and the subtitle comprises:
and receiving the main title and the subheading, and displaying the secondary activity label information of each service class according to the main title and the subheading.
3. The method of claim 2, wherein said receiving said main title and said subheading and presenting secondary activity label information of said respective service classes according to said main title and said subheading comprises:
and receiving the display sequence of the main title, the subheading and the secondary activity label, and displaying the secondary activity label information of each business class according to the main title, the subheading and the display sequence.
4. The method of claim 3, wherein the campaign key information comprises first campaign key information and/or second campaign key information, and wherein after the presenting the secondary campaign tag information for the respective business items according to the main title, the subtitle, and the presentation order, the method further comprises:
sending an acquisition request of activity information of a target business class, wherein the acquisition request comprises identification information of a secondary activity label corresponding to the target business class;
receiving first activity key information and/or second activity key information of the target business class, and displaying the first activity key information and/or the second activity key information above a business list corresponding to the target business class, wherein the first activity key information and/or the second activity key information are determined by the server according to the identification information of the secondary activity label.
5. The method of claim 4, wherein after the second campaign key information is presented on top of the business list corresponding to the target business class, the method further comprises:
sending a resource getting request aiming at the second activity key information under the target business class, wherein the resource getting request carries user identity information; and receiving and displaying the resource allocation result determined by the server according to the identity information.
6. The method according to claim 4, wherein after said receiving first activity key information and/or second activity key information of the target business class, the method further comprises:
and receiving the identification information of the target business class sent by the server, and displaying the identification information of the target business class in a title bar corresponding to the target business class.
7. The method of claim 6, wherein after said receiving the identification information of the target service class sent by the server, the method further comprises:
receiving a replacement instruction of activity information of a target business class, wherein the replacement instruction comprises display pixels of the first activity key information and/or the second activity key information;
and replacing the identification information of the target business class by the first activity key information and/or the second activity key information according to the display pixel to display in the title bar.
8. A method for displaying activity information is characterized by comprising the following steps:
receiving an acquisition request of activity information, wherein the acquisition request carries identification information of a target activity; determining identification information and activity key information of each business class participating in the target activity according to the identification information of the target activity, wherein the identification information and the activity key information corresponding to each business class are obtained by splitting activity description information corresponding to each business class;
and respectively determining a main title and a sub title of the activity label corresponding to each business class according to the identification information and the activity key information corresponding to each business class, and sending the main title and the sub title.
9. The method of claim 8, wherein determining identification information and activity key information of each business class participating in the target activity according to the identification information of the target activity comprises:
determining the identification information of each business class participating in the target activity according to the identification information of the target activity; and completing the activity key information corresponding to each business class according to the identification information of each business class.
10. The method of claim 8, wherein prior to the receiving the request for activity information, the method further comprises:
acquiring activity description information corresponding to various business classes participating in different activities; and splitting the activity description information by utilizing a preset service class identification library to obtain activity key information corresponding to each service class.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010087187.9A CN111292169B (en) | 2020-02-11 | 2020-02-11 | Method and device for displaying activity information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010087187.9A CN111292169B (en) | 2020-02-11 | 2020-02-11 | Method and device for displaying activity information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111292169A true CN111292169A (en) | 2020-06-16 |
CN111292169B CN111292169B (en) | 2023-10-24 |
Family
ID=71021993
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010087187.9A Active CN111292169B (en) | 2020-02-11 | 2020-02-11 | Method and device for displaying activity information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111292169B (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107633424A (en) * | 2017-08-31 | 2018-01-26 | 珠海市魅族科技有限公司 | Method of payment and device, computer installation and computer-readable recording medium |
CN107944897A (en) * | 2016-10-13 | 2018-04-20 | 阿里巴巴集团控股有限公司 | Data label dissemination system, method, server and client side |
CN107967620A (en) * | 2017-10-30 | 2018-04-27 | 北京火星盒子网络信息技术有限公司 | Information processing method and server |
CN108460148A (en) * | 2018-03-22 | 2018-08-28 | 腾讯科技(深圳)有限公司 | A kind of method and relevant device obtaining commodity additional information |
CN109064277A (en) * | 2018-07-25 | 2018-12-21 | 北京小米移动软件有限公司 | merchandise display method and device |
CN109587194A (en) * | 2017-09-29 | 2019-04-05 | 武汉斗鱼网络科技有限公司 | A kind of action message methods of exhibiting, client and server |
CN109741107A (en) * | 2018-12-30 | 2019-05-10 | 上海掌门科技有限公司 | Favor information determines method, apparatus, electronic equipment and medium |
CN109949096A (en) * | 2019-03-21 | 2019-06-28 | 深圳乐信软件技术有限公司 | A kind of discount coupon methods of exhibiting, device, equipment and storage medium |
CN109978600A (en) * | 2019-02-14 | 2019-07-05 | 口碑(上海)信息技术有限公司 | Business information processing method, device, system, storage medium and computer equipment |
CN110232581A (en) * | 2018-03-06 | 2019-09-13 | 北京京东尚科信息技术有限公司 | It is a kind of to provide the method and apparatus of discount coupon for user |
CN110335088A (en) * | 2019-07-10 | 2019-10-15 | 中国工商银行股份有限公司 | Information processing method and its device, electronic equipment and medium |
CN110717777A (en) * | 2018-07-13 | 2020-01-21 | 阿里巴巴集团控股有限公司 | Commodity and resource processing method, device and equipment |
-
2020
- 2020-02-11 CN CN202010087187.9A patent/CN111292169B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107944897A (en) * | 2016-10-13 | 2018-04-20 | 阿里巴巴集团控股有限公司 | Data label dissemination system, method, server and client side |
CN107633424A (en) * | 2017-08-31 | 2018-01-26 | 珠海市魅族科技有限公司 | Method of payment and device, computer installation and computer-readable recording medium |
CN109587194A (en) * | 2017-09-29 | 2019-04-05 | 武汉斗鱼网络科技有限公司 | A kind of action message methods of exhibiting, client and server |
CN107967620A (en) * | 2017-10-30 | 2018-04-27 | 北京火星盒子网络信息技术有限公司 | Information processing method and server |
CN110232581A (en) * | 2018-03-06 | 2019-09-13 | 北京京东尚科信息技术有限公司 | It is a kind of to provide the method and apparatus of discount coupon for user |
CN108460148A (en) * | 2018-03-22 | 2018-08-28 | 腾讯科技(深圳)有限公司 | A kind of method and relevant device obtaining commodity additional information |
CN110717777A (en) * | 2018-07-13 | 2020-01-21 | 阿里巴巴集团控股有限公司 | Commodity and resource processing method, device and equipment |
CN109064277A (en) * | 2018-07-25 | 2018-12-21 | 北京小米移动软件有限公司 | merchandise display method and device |
CN109741107A (en) * | 2018-12-30 | 2019-05-10 | 上海掌门科技有限公司 | Favor information determines method, apparatus, electronic equipment and medium |
CN109978600A (en) * | 2019-02-14 | 2019-07-05 | 口碑(上海)信息技术有限公司 | Business information processing method, device, system, storage medium and computer equipment |
CN109949096A (en) * | 2019-03-21 | 2019-06-28 | 深圳乐信软件技术有限公司 | A kind of discount coupon methods of exhibiting, device, equipment and storage medium |
CN110335088A (en) * | 2019-07-10 | 2019-10-15 | 中国工商银行股份有限公司 | Information processing method and its device, electronic equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN111292169B (en) | 2023-10-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3873065B1 (en) | Content recommendation method, mobile terminal, and server | |
US12015807B2 (en) | System and method for providing image-based video service | |
CN109462632B (en) | Page jump method, page jump device, computer equipment and computer readable storage medium | |
CN105072460B (en) | A kind of information labeling and correlating method based on video content element, system and equipment | |
CN104077391A (en) | Method, server, client and system for providing special news search | |
CN104602128A (en) | Video processing method and device | |
CN105022773B (en) | Image processing system including picture priority | |
CN105005982B (en) | Image procossing including Object Selection | |
CN110889076B (en) | Comment information publishing method, device, client, server, system and medium | |
CN104090899B (en) | A kind of method and apparatus of feedback display content information | |
CN105183739B (en) | Image processing method | |
CN111899068A (en) | Commodity shopping guide method and device, storage medium and computer equipment | |
US9569465B2 (en) | Image processing | |
US9977964B2 (en) | Image processing device, image processing method and recording medium | |
CN111046287B (en) | User production content pushing method and server | |
CN103136206A (en) | Information display method and information display device | |
CN114938458A (en) | Object information display method and device, electronic equipment and storage medium | |
CN112927057A (en) | Object information display method and device, computer equipment and readable storage medium | |
CA2850883A1 (en) | Image processing | |
CN110866796A (en) | Information display method, information acquisition method, system and equipment | |
US11521244B2 (en) | Information processing device, information processing method, and information processing program | |
CN111292169B (en) | Method and device for displaying activity information | |
CN113296680B (en) | Dish picture uploading method and device, computer equipment and readable storage medium | |
CN105243132B (en) | A kind of search record control method and electronic equipment | |
CN112487277B (en) | Data distribution method and device, readable storage medium and electronic equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |