CN117951542A - Method and device for processing signboard data, electronic equipment and storage medium - Google Patents

Method and device for processing signboard data, electronic equipment and storage medium Download PDF

Info

Publication number
CN117951542A
CN117951542A CN202410003030.1A CN202410003030A CN117951542A CN 117951542 A CN117951542 A CN 117951542A CN 202410003030 A CN202410003030 A CN 202410003030A CN 117951542 A CN117951542 A CN 117951542A
Authority
CN
China
Prior art keywords
billboard
template
data
preset
expansion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410003030.1A
Other languages
Chinese (zh)
Inventor
徐金俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202410003030.1A priority Critical patent/CN117951542A/en
Publication of CN117951542A publication Critical patent/CN117951542A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a device for processing signboard data, electronic equipment and a storage medium, and relates to the technical field of computers. One embodiment of the method comprises the following steps: responding to a jump instruction of a signboard, and acquiring corresponding signboard information to extract an activity identifier and a signboard identifier; inquiring the associated billboard set based on the activity identifier to obtain the billboard data corresponding to the billboard identifier; responding to successful acquisition of the signboard data, and determining the signboard data as data to be displayed; responding to the failure of the acquisition of the billboard data, extracting the billboard expansion parameters from the billboard information to generate corresponding expansion marks, calculating the matching degree of the expansion marks and parameter sets of a preset template set, determining a preset template corresponding to the expansion marks, and determining the preset template as data to be displayed; and sending the data to be displayed. The embodiment can solve the problem that each jump link is provided with a corresponding signboard, so that the configuration is needed one by one, but the mode of configuring the signboard is low in efficiency.

Description

Method and device for processing signboard data, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and apparatus for processing billboard data, an electronic device, and a storage medium.
Background
In various application scenarios, data visualization has become a requirement for business processing, and data display through a billboard has become an important means. For example, when organizing activities, the activity data may be displayed through a plurality of billboards. In the related art, the display logic of the activity data can be configured between the signboards based on the jump links, and each jump link is set to correspond to one signboard, so that the configuration is needed one by one, but the efficiency of the manner of configuring the signboards is low.
Disclosure of Invention
In view of this, the embodiments of the present invention provide a method, an apparatus, an electronic device, and a storage medium for processing billboard data, which can solve the problem that each jump link is set to correspond to one billboard, so that the configuration needs to be performed one by one, but the efficiency of the manner of configuring the billboard is low.
To achieve the above object, according to one aspect of an embodiment of the present invention, there is provided a method for processing billboard data.
The method for processing the signboard data in the embodiment of the invention comprises the following steps:
responding to a jump instruction of a signboard, and acquiring corresponding signboard information to extract an activity identifier and a signboard identifier;
Inquiring an associated billboard set based on the activity identifier to obtain billboard data corresponding to the billboard identifier;
responding to successful acquisition of the signboard data, and determining the signboard data as data to be displayed; responding to the failure of the acquisition of the billboard data, extracting billboard expansion parameters from the billboard information to call a preset model to generate corresponding expansion marks, acquiring a parameter set of a preset template set, calculating the matching degree of the expansion marks and the parameter set to determine a preset template corresponding to the expansion marks, and determining the preset template as data to be displayed;
And sending the data to be displayed so as to enable the data to be displayed to execute a display program.
In one embodiment, obtaining a parameter set of a preset template set, and calculating a matching degree between the extension identifier and the parameter set includes:
acquiring a preset template set to determine template parameters of each preset template in the template set;
Splitting template parameters of each preset template to obtain parameter sets corresponding to each preset template, so as to calculate the matching degree of the expansion identification and parameters in each parameter set.
In yet another embodiment, splitting the template parameters of each preset template to obtain a parameter set corresponding to each preset template, including:
and identifying preset identifiers in the template parameters for each template parameter so as to cut the template parameters based on the preset identifiers and obtain parameter sets corresponding to the preset templates.
In yet another embodiment, splitting the template parameters of each preset template to obtain a parameter set corresponding to each preset template, including:
And for each template parameter, acquiring a parameter value of each preset parameter, and splitting each parameter value to obtain a parameter set corresponding to each preset template.
In yet another embodiment, calculating the matching degree of the extension identifier and the parameter set to determine a preset template corresponding to the extension identifier includes:
Sequentially matching the characters in the expansion mark with the parameter sets, and screening undetermined billboard parameters comprising the characters in the expansion mark;
and acquiring the arrangement sequence of characters in the expansion identifier included in the pending board parameter, so as to determine a preset template corresponding to the expansion identifier based on the arrangement sequence.
In yet another embodiment, extracting the billboard extension parameter from the billboard information to invoke the preset model to generate the corresponding extension identifier includes:
extracting a billboard expansion parameter from the billboard information, and identifying a billboard requirement type associated with the billboard expansion parameter;
and determining a corresponding activity type based on the activity identifier so as to generate a corresponding extension identifier from the billboard requirement type and the activity type.
To achieve the above object, according to another aspect of an embodiment of the present invention, there is provided a device for processing signboard data.
The device for processing the signboard data in the embodiment of the invention comprises:
the extraction unit is used for responding to the jump instruction of the signboard to acquire corresponding signboard information so as to extract the activity identifier and the signboard identifier;
the acquisition unit is used for inquiring the associated billboard set based on the activity identifier so as to acquire the billboard data corresponding to the billboard identifier;
The matching unit is used for responding to the successful acquisition of the signboard data and determining the signboard data as data to be displayed; responding to the failure of the acquisition of the billboard data, extracting billboard expansion parameters from the billboard information to call a preset model to generate corresponding expansion marks, acquiring a parameter set of a preset template set, calculating the matching degree of the expansion marks and the parameter set to determine a preset template corresponding to the expansion marks, and determining the preset template as data to be displayed;
and the sending unit is used for sending the data to be displayed so as to enable the data to be displayed to execute a display program.
In one embodiment, the matching unit is specifically configured to:
acquiring a preset template set to determine template parameters of each preset template in the template set;
Splitting the template parameters of each preset template to obtain a parameter set corresponding to each preset template so as to calculate the matching degree of the expansion identification and the template parameters in each parameter set.
In a further embodiment, the matching unit is specifically configured to:
and identifying preset identifiers in the template parameters for each template parameter so as to cut the template parameters based on the preset identifiers and obtain parameter sets corresponding to the preset templates.
In a further embodiment, the matching unit is specifically configured to:
And for each template parameter, acquiring a parameter value of each preset parameter, and splitting each parameter value to obtain a parameter set corresponding to each preset template.
In a further embodiment, the matching unit is specifically configured to:
Sequentially matching the characters in the expansion mark with the parameter sets, and screening undetermined billboard parameters comprising the characters in the expansion mark;
and acquiring the arrangement sequence of characters in the expansion identifier included in the pending board parameter, so as to determine a preset template corresponding to the expansion identifier based on the arrangement sequence.
In a further embodiment, the matching unit is specifically configured to:
extracting a billboard expansion parameter from the billboard information, and identifying a billboard requirement type associated with the billboard expansion parameter;
and determining a corresponding activity type based on the activity identifier so as to generate a corresponding extension identifier from the billboard requirement type and the activity type.
To achieve the above object, according to still another aspect of an embodiment of the present invention, there is provided an electronic apparatus.
An electronic device according to an embodiment of the present invention includes: one or more processors; and the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors are enabled to realize the method for processing the billboard data provided by the embodiment of the invention.
To achieve the above object, according to still another aspect of an embodiment of the present invention, a computer-readable medium is provided.
The computer readable medium of the embodiment of the invention stores a computer program, and the program is executed by a processor to realize the method for processing the billboard data provided by the embodiment of the invention.
To achieve the above object, according to still another aspect of an embodiment of the present invention, there is provided a computer program product.
The computer program product of the embodiment of the invention comprises a computer program, and the program is executed by a processor to realize the method for processing the billboard data.
One embodiment of the above invention has the following advantages or benefits: in the embodiment of the invention, the jump instruction can comprise the movable identifier, the billboard identifier and the billboard extension parameter, so that the billboard configuration and the template configuration of the jump billboard can be realized, and each billboard template is set to correspond to the jump of a plurality of billboards; therefore, after receiving the jump instruction, the activity identifier and the billboard identifier can be extracted, and then the billboard data can be obtained from the associated billboard set, and when the obtaining fails, the billboard extension parameters can be extracted from the billboard information to determine the preset templates matched with the billboard extension parameters, so that the scene that a plurality of the billboards jump is matched through the preset templates is realized, the problem that each jump link is set to correspond to one billboard, the configuration is needed one by one, and the efficiency is lower is realized.
Further effects of the above-described non-conventional alternatives are described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic illustration of one main flow of a method of billboard data processing in accordance with an embodiment of the invention;
FIG. 2 is a schematic diagram of yet another main flow of a method of billboard data processing in accordance with an embodiment of the invention;
FIG. 3 is a schematic diagram of the main units of a billboard data processing apparatus in accordance with an embodiment of the invention;
FIG. 4 is a diagram of an exemplary system architecture in which embodiments of the present invention may be applied;
FIG. 5 is a schematic diagram of a computer system suitable for use in implementing embodiments of the present invention.
Detailed Description
Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding, and are to be considered merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It is noted that embodiments of the application and features of the embodiments may be combined with each other without conflict. The technical scheme of the application obtains, stores, uses, processes and the like the data, which all meet the relevant regulations of national laws and regulations.
The embodiment of the invention provides a billboard data processing system which can be used for processing a scene of a billboard jump in a billboard display. The billboard data processing system can pre-establish a billboard for data display for each activity and the like, and can set user operable content, such as content for the billboard skip, in the billboard, so after the billboard is displayed, the user can send corresponding instructions to the billboard data processing system after operating the content displayed in the billboard, and the billboard data processing system processes the received instructions. When the billboard data processing system establishes the billboard for data display, the jump logic of each billboard can be configured based on the activity content, and in order to reduce the complexity of the billboard configuration, the preset billboard configuration can be corresponding to a plurality of billboard jumps, so that the corresponding billboard can be prevented from being configured one by one for the billboard jumps.
An embodiment of the present invention provides a method for processing billboard data, which may be executed by a billboard data processing system, as shown in fig. 1, and includes:
S101: and responding to the skip instruction of the signboard, and acquiring corresponding signboard information to extract the activity identifier and the signboard identifier.
The display board data processing system receives the jump instruction and responds to the jump instruction. The skip instruction may include billboard information, and in particular may include an activity identification and a billboard identification to indicate which activity the particular billboard is to skip.
Specifically, in the embodiment of the present invention, the billboard information may be address information of a billboard, for example, may be URL. Therefore, the step can acquire the billboard address information corresponding to the jump instruction, and intercept the activity identifier and the billboard identifier from the billboard address information.
For example, specific fields of the activity identifier and the signboard identifier may be included in the address information, so the activity identifier and the signboard identifier are extracted through these fields.
In the embodiment of the invention, the activity mark and the signboard mark in the signboard information can be specifically represented as an integral mark, which represents each signboard in the activity, or can be respectively represented as the activity mark and the signboard mark, so that the extraction is required.
S102: and inquiring the associated billboard set based on the activity identifier to acquire the billboard data corresponding to the billboard identifier.
All the signboards associated with the activity, namely a set of signboards, can be queried through the activity identifier, and then the signboard data corresponding to the signboard identifier can be obtained from the set of signboards.
Specifically, in the embodiment of the invention, the activity identifier and the signboard identifier can be combined into one identifier, namely, the corresponding signboard data is directly obtained through the identifier, or the identifier is split to obtain the activity identifier and the signboard identifier.
In the embodiment of the invention, the billboard data can be specific content to be displayed by a billboard, and the billboard display can be realized by the components, so that the billboard display frame, the billboard display components and the activity data corresponding to the display components can be included. The billboard display frame is used for developing concrete contents of the billboard, can be specifically selected from preset frame templates, and can be adjusted on the basis of the selected frames so as to obtain personalized frames suitable for specific activities. The billboard display component may be selected from a library of pre-set components or the components may be developed for some personalized functionality. After determining the components to be used, the position of each billboard display component can be adjusted through coordinates, and the display mode and display style of each billboard display component can be adjusted in combination with the specific requirements or formats of the activity data to be displayed. Thus, for each billboard, a billboard can be realized through the billboard display frame, the billboard display assembly and the corresponding activity data, and the display of the billboard data is performed after rendering.
In the embodiment of the invention, in order to avoid faults when corresponding billboard data cannot be acquired, such as occurrence of abnormality in the billboard skip, a billboard with universal display can be set for each billboard skip, and the contents of the billboard with universal display can be configured based on the contents of the billboard after skip and can be suitable for scenes of a plurality of middle billboard skip, so that the contents and the process for configuring the billboard skip can be simplified.
S103: responding to successful acquisition of the signboard data, and determining the signboard data as data to be displayed; responding to the failure of the acquisition of the billboard data, extracting the billboard expansion parameters from the billboard information to call the preset model to generate corresponding expansion marks, acquiring the parameter set of the preset template set, calculating the matching degree of the expansion marks and the parameter set to determine the preset template corresponding to the expansion marks, and determining the preset template as the data to be displayed.
The preset template is matched with at least one expansion mark. In step S103, if the billboard data corresponding to the billboard identifier is successfully obtained, it is indicated that the billboard data is successfully obtained, and the billboard data can be directly returned to the opposite end sending the jump instruction, so that the billboard data can be displayed, and therefore the obtained billboard data can be determined as the data to be displayed. In step S103, if the billboard data corresponding to the billboard identifier cannot be successfully obtained, it is indicated that the billboard data is not obtained, and the preset template may be further obtained so as to display the billboard data through the preset template, that is, the preset template is determined as the data to be displayed.
In the embodiment of the invention, the movable identifier, the billboard identifier and the billboard extension parameter can be configured in the jump instruction at the same time, so that the billboard configuration and the billboard extension parameter configuration of the jump billboard can be realized, and the preset templates of the setting billboard can correspond to the jumps of a plurality of the billboards. Therefore, after the acquisition of the billboard data fails, the billboard expansion parameters can be extracted from the billboard information to generate expansion marks for determining the billboard templates, and then the expansion marks are matched with the corresponding preset templates. In the embodiment of the invention, in order to avoid configuring the preset pages corresponding to the jumps of each billboard, the corresponding relation between a plurality of jump instructions and the preset templates is established through the expansion identifiers, so that the template identifiers corresponding to the jump instructions can be configured through parameters for each preset template.
Specifically, in the embodiment of the present invention, the template set may be preconfigured, that is, a template set may be used to provide a corresponding billboard template for a billboard skip, where the template set may include a plurality of preset templates, each preset template may set a corresponding template parameter, which is already used to match with the extension identifier, and since each preset template may correspond to a skip of a plurality of billboard skip scenes, the template parameters of the preset template may include a combination of a plurality of different parameters, and each different parameter may be associated with the extension identifier.
Specifically, on the one hand, in the embodiment of the present invention, the expansion identifiers corresponding to the preset signboards may be stored in combination in the template parameters in a manner of being connected with the preset identifiers, so that in this step, for each template parameter, the preset identifier in the template parameter may be first identified, so as to cut the template parameter based on the preset identifier, and obtain the parameter set corresponding to each preset template.
For example, the template parameters of the preset template may include: default_template_ -123-345, wherein. "-" indicates a preset identifier, and "123" and "345" indicate extension identifications corresponding to the preset templates. Therefore, after the template parameters are obtained, the template parameters can be cut through "-" so as to further obtain "123" and "345", namely, parameter sets corresponding to the preset templates. The extension identifications can thus be matched to "123" and "345" to determine the corresponding preset templates.
On the other hand, in the embodiment of the invention, the expansion identifier corresponding to the preset template can be stored through the preset parameter in the template parameters, so that in the step, after the parameter values of each preset parameter are obtained for each template parameter, each parameter value is split, and then the parameter set corresponding to each preset template is obtained.
In the embodiment of the invention, the billboard expansion parameter can be used for indicating the display requirement of the billboard after the jump so as to display the billboard content which is wanted to be matched with the billboard after the jump through the preset template. In the embodiment of the invention, the corresponding display content type, namely the display requirement type, can be determined for each billboard, for example, the display requirement type can comprise an image type, a text type and the like, and the display requirement type of the billboard after the jump is represented by the display expansion parameter in the billboard information, so that the association of the display expansion parameter can be identified after the display expansion parameter is extracted from the billboard information in the step; meanwhile, as the characteristics of the display content of the signboards of different activity types are different, such as different layout and styles of the display of the signboards, the corresponding activity types can be determined based on the activity identification, and further the requirement type and the activity type of the signboards are generated into the corresponding extension identification. The extended identification can be generated by a hash algorithm on the type of the billboard requirement and the type of the activity.
In the embodiment of the invention, after the parameter sets are obtained, characters in the expansion marks and parameters in the parameter sets can be matched in sequence, the matching degree is calculated, and then the preset template corresponding to the parameter with the highest matching degree can be determined as the preset template corresponding to the expansion mark. In order to avoid that parameters which are completely consistent with the expansion marks cannot be obtained due to errors in parameter set determination, undetermined billboard parameters comprising characters in the expansion marks can be screened out, and further, a preset template corresponding to the expansion marks is determined according to the arrangement sequence of the characters in the expansion marks in the undetermined billboard parameters. Specifically, the method can be implemented as follows: sequentially matching the characters in the expansion mark with each parameter set, and screening undetermined billboard parameters comprising the characters in the expansion mark; and acquiring the arrangement sequence of characters in the expansion identifier included in the parameters of the to-be-determined signboard so as to determine a preset template corresponding to the expansion identifier based on the arrangement sequence.
The undetermined signboard parameters comprise undetermined signboard parameters with highest similarity with the character arrangement sequence in the extension mark in the arrangement sequence of characters in the extension mark, and can be determined to be preset templates corresponding to the extension mark.
In the embodiment of the invention, if the corresponding preset template cannot be determined through the expansion identification matching, the corresponding preset template can be displayed through the universal template, namely, the corresponding preset template is determined to be the data to be displayed.
S104: and sending the data to be displayed so that the data to be displayed execute the display program.
After the data to be displayed is confirmed, the data to be displayed can be returned to the billboard display end, so that the data to be displayed can execute a display program, namely, the data to be displayed is displayed to a user.
In the embodiment of the invention, the jump instruction can comprise the movable identifier, the billboard identifier and the billboard extension parameter, so that the billboard configuration and the template configuration of the jump billboard can be realized, and each billboard template is set to correspond to the jump of a plurality of billboards; therefore, after receiving the jump instruction, the activity identifier and the billboard identifier can be extracted, and then the billboard data can be obtained from the associated billboard set, and when the obtaining fails, the billboard extension parameters can be extracted from the billboard information to determine the preset templates matched with the billboard extension parameters, so that the scene that a plurality of the billboards jump is matched through the preset templates is realized, the problem that each jump link is set to correspond to one billboard, the configuration is needed one by one, and the efficiency is lower is realized.
The following describes a method for processing board viewing data in the embodiment of the present invention specifically with reference to the embodiment shown in fig. 1, and as shown in fig. 2, the method includes:
s201: and responding to the skip instruction of the signboard, and acquiring corresponding signboard information to extract the activity identifier and the signboard identifier.
S202: and inquiring the associated billboard set based on the activity identifier to acquire the billboard data corresponding to the billboard identifier.
S203: and determining the signboard data as the data to be displayed in response to successful acquisition of the signboard data.
S204: and responding to the failure of the acquisition of the billboard data, extracting the billboard expansion parameters from the billboard information to call the preset model to generate the corresponding expansion identification.
S205: acquiring a preset template set to determine template parameters of each preset template in the template set; splitting template parameters of each preset template to obtain parameter sets corresponding to each preset template so as to calculate the matching degree of the expansion identification and parameters in each parameter set.
S206: and determining a preset template corresponding to the expansion identifier based on the matching degree, and determining the preset template as data to be displayed.
S207: and sending the data to be displayed so that the data to be displayed execute the display program.
It should be noted that, in the embodiment of the present invention, the data processing principle is the same as the corresponding data processing principle in the embodiment shown in fig. 1, and will not be described herein.
In the embodiment of the invention, after receiving the jump instruction, the activity identifier and the billboard identifier can be extracted, further the billboard data can be obtained from the associated billboard set, and when the obtaining fails, the billboard expansion parameters can be extracted from the billboard information to determine the preset template matched with the billboard expansion parameters, so that the scene of a plurality of billboard jumps is matched through the preset template, and the problems that each jump link is provided with a corresponding billboard, one-to-one configuration is needed, and the efficiency is lower are solved.
It should be noted that, in the embodiment of the present invention, the data processing principle is the same as the corresponding data processing principle in the embodiment shown in fig. 1, and will not be described in detail herein.
In order to solve the problems existing in the prior art, an embodiment of the present invention provides a device 300 for processing billboard data, as shown in fig. 3, the device 300 includes:
an extracting unit 301, configured to obtain corresponding billboard information in response to a jump instruction of a billboard, so as to extract an activity identifier and a billboard identifier;
an obtaining unit 302, configured to query, based on the activity identifier, an associated billboard set, so as to obtain billboard data corresponding to the billboard identifier;
a matching unit 303, configured to determine the signboard data as data to be displayed in response to successful acquisition of the signboard data; responding to the failure of the acquisition of the billboard data, extracting billboard expansion parameters from the billboard information to call a preset model to generate corresponding expansion marks, acquiring a parameter set of a preset template set, calculating the matching degree of the expansion marks and the parameter set to determine a preset template corresponding to the expansion marks, and determining the preset template as data to be displayed;
And a sending unit 304, configured to send the data to be displayed, so that the data to be displayed executes a display program.
It should be understood that the manner of implementing the embodiment of the present invention is the same as that of implementing the embodiment shown in fig. 1, and will not be described herein.
In one embodiment, the matching unit 303 is specifically configured to:
acquiring a preset template set to determine template parameters of each preset template in the template set;
Splitting the template parameters of each preset template to obtain a parameter set corresponding to each preset template so as to calculate the matching degree of the expansion identification and the template parameters in each parameter set.
In yet another embodiment, the matching unit 303 is specifically configured to:
and identifying preset identifiers in the template parameters for each template parameter so as to cut the template parameters based on the preset identifiers and obtain parameter sets corresponding to the preset templates.
In yet another embodiment, the matching unit 303 is specifically configured to:
And for each template parameter, acquiring a parameter value of each preset parameter, and splitting each parameter value to obtain a parameter set corresponding to each preset template.
In yet another embodiment, the matching unit 303 is specifically configured to:
Sequentially matching the characters in the expansion mark with the parameter sets, and screening undetermined billboard parameters comprising the characters in the expansion mark;
and acquiring the arrangement sequence of characters in the expansion identifier included in the pending board parameter, so as to determine a preset template corresponding to the expansion identifier based on the arrangement sequence.
In yet another embodiment, the matching unit 303 is specifically configured to:
extracting a billboard expansion parameter from the billboard information, and identifying a billboard requirement type associated with the billboard expansion parameter;
and determining a corresponding activity type based on the activity identifier so as to generate a corresponding extension identifier from the billboard requirement type and the activity type.
It should be understood that the manner of implementing the embodiments of the present invention is the same as that of implementing the embodiments shown in fig. 1 and 2, and will not be described herein.
In the embodiment of the invention, the jump instruction can comprise the movable identifier, the billboard identifier and the billboard extension parameter, so that the billboard configuration and the template configuration of the jump billboard can be realized, and each billboard template is set to correspond to the jump of a plurality of billboards; therefore, after receiving the jump instruction, the activity identifier and the billboard identifier can be extracted, and then the billboard data can be obtained from the associated billboard set, and when the obtaining fails, the billboard extension parameters can be extracted from the billboard information to determine the preset templates matched with the billboard extension parameters, so that the scene that a plurality of the billboards jump is matched through the preset templates is realized, the problem that each jump link is set to correspond to one billboard, the configuration is needed one by one, and the efficiency is lower is realized.
According to an embodiment of the present invention, an electronic device and a readable storage medium are also provided.
The electronic equipment of the embodiment of the invention comprises: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the one processor, and the instructions are executed by the at least one processor, so that the at least one processor executes the method for processing the billboard data provided by the embodiment of the invention.
Fig. 4 illustrates an exemplary system architecture 400 of a method of billboard data processing or an apparatus of billboard data processing to which embodiments of the invention may be applied.
As shown in fig. 4, the system architecture 400 may include terminal devices 401, 402, 403, a network 404, and a server 405. The network 404 is used as a medium to provide communication links between the terminal devices 401, 402, 403 and the server 405. The network 404 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the server 405 via the network 404 using the terminal devices 401, 402, 403 to receive or send messages or the like. Various client applications may be installed on the terminal devices 401, 402, 403.
The terminal devices 401, 402, 403 may be, but are not limited to, smartphones, tablets, laptop and desktop computers, etc.
The server 405 may be a server providing various services, and the server may perform processing such as analysis on received data such as a product information query request, and feed back processing results (e.g., product information—merely as an example) to the terminal device.
It should be noted that, the method for processing the billboard data provided in the embodiment of the present invention is generally executed by the server 405, and accordingly, the device for processing the billboard data is generally disposed in the server 405.
It should be understood that the number of terminal devices, networks and servers in fig. 4 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 5, there is illustrated a schematic diagram of a computer system 500 suitable for use in implementing embodiments of the present invention. The computer system illustrated in fig. 5 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU) 501, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the system 500 are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input section 506 including a keyboard, a mouse, and the like; an output portion 507 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker, and the like; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The drive 510 is also connected to the I/O interface 505 as needed. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 5810 as necessary, so that a computer program read therefrom is mounted into the storage portion 508 as necessary.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 509, and/or installed from the removable media 511. The above-described functions defined in the system of the present invention are performed when the computer program is executed by a Central Processing Unit (CPU) 501.
The computer readable medium shown in the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a unit, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present invention may be implemented in software or in hardware. The described units may also be provided in a processor, for example, described as: a processor includes an extraction unit, an acquisition unit, and a matching unit. The names of these units do not constitute a limitation on the unit itself in some cases, and for example, the extraction unit may also be described as a "unit of extraction function".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be present alone without being fitted into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to perform the method of billboard data processing provided by the invention.
As another aspect, the present invention further provides a computer program product, including a computer program, where the program when executed by a processor implements the billboard data processing method provided by the embodiment of the present invention.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives can occur depending upon design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (12)

1. A method of billboard data processing, comprising:
responding to a jump instruction of a signboard, and acquiring corresponding signboard information to extract an activity identifier and a signboard identifier;
Inquiring an associated billboard set based on the activity identifier to obtain billboard data corresponding to the billboard identifier;
responding to successful acquisition of the signboard data, and determining the signboard data as data to be displayed; responding to the failure of the acquisition of the billboard data, extracting billboard expansion parameters from the billboard information to call a preset model to generate corresponding expansion marks, acquiring a parameter set of a preset template set, calculating the matching degree of the expansion marks and the parameter set to determine a preset template corresponding to the expansion marks, and determining the preset template as data to be displayed;
And sending the data to be displayed so as to enable the data to be displayed to execute a display program.
2. The method of claim 1, wherein obtaining a parameter set of a preset template set, and calculating a matching degree between the extension identifier and the parameter set, comprises:
acquiring a preset template set to determine template parameters of each preset template in the template set;
Splitting template parameters of each preset template to obtain parameter sets corresponding to each preset template, so as to calculate the matching degree of the expansion identification and parameters in each parameter set.
3. The method according to claim 2, wherein splitting the template parameters of each preset template to obtain the parameter set corresponding to each preset template includes:
and identifying preset identifiers in the template parameters for each template parameter so as to cut the template parameters based on the preset identifiers and obtain parameter sets corresponding to the preset templates.
4. The method according to claim 2, wherein splitting the template parameters of each preset template to obtain the parameter set corresponding to each preset template includes:
And for each template parameter, acquiring a parameter value of each preset parameter, and splitting each parameter value to obtain a parameter set corresponding to each preset template.
5. The method of claim 2, wherein calculating the matching degree of the extension identifier and the parameter set to determine a preset template corresponding to the extension identifier comprises:
Sequentially matching the characters in the expansion mark with the parameter sets, and screening undetermined billboard parameters comprising the characters in the expansion mark;
and acquiring the arrangement sequence of characters in the expansion identifier included in the pending board parameter, so as to determine a preset template corresponding to the expansion identifier based on the arrangement sequence.
6. The method of claim 1, wherein extracting billboard extension parameters from the billboard information to invoke a preset model to generate corresponding extension identifications comprises:
extracting a billboard expansion parameter from the billboard information, and identifying a billboard requirement type associated with the billboard expansion parameter;
and determining a corresponding activity type based on the activity identifier so as to generate a corresponding extension identifier from the billboard requirement type and the activity type.
7. A sign data processing apparatus, comprising:
the extraction unit is used for responding to the jump instruction of the signboard to acquire corresponding signboard information so as to extract the activity identifier and the signboard identifier;
the acquisition unit is used for inquiring the associated billboard set based on the activity identifier so as to acquire the billboard data corresponding to the billboard identifier;
The matching unit is used for responding to the successful acquisition of the signboard data and determining the signboard data as data to be displayed; responding to the failure of the acquisition of the billboard data, extracting billboard expansion parameters from the billboard information to call a preset model to generate corresponding expansion marks, acquiring a parameter set of a preset template set, calculating the matching degree of the expansion marks and the parameter set to determine a preset template corresponding to the expansion marks, and determining the preset template as data to be displayed;
and the sending unit is used for sending the data to be displayed so as to enable the data to be displayed to execute a display program.
8. The apparatus according to claim 7, wherein the matching unit is specifically configured to:
acquiring a preset template set to determine template parameters of each preset template in the template set;
Splitting the template parameters of each preset template to obtain a parameter set corresponding to each preset template so as to calculate the matching degree of the expansion identification and the template parameters in each parameter set.
9. The apparatus according to claim 7, wherein the matching unit is specifically configured to:
and identifying preset identifiers in the template parameters for each template parameter so as to cut the template parameters based on the preset identifiers and obtain parameter sets corresponding to the preset templates.
10. An electronic device, comprising:
one or more processors;
Storage means for storing one or more programs,
When executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-6.
11. A computer readable medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-6.
12. A computer program product comprising a computer program, characterized in that the program, when executed by a processor, implements the method according to any of claims 1-6.
CN202410003030.1A 2024-01-02 2024-01-02 Method and device for processing signboard data, electronic equipment and storage medium Pending CN117951542A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410003030.1A CN117951542A (en) 2024-01-02 2024-01-02 Method and device for processing signboard data, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410003030.1A CN117951542A (en) 2024-01-02 2024-01-02 Method and device for processing signboard data, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117951542A true CN117951542A (en) 2024-04-30

Family

ID=90791694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410003030.1A Pending CN117951542A (en) 2024-01-02 2024-01-02 Method and device for processing signboard data, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117951542A (en)

Similar Documents

Publication Publication Date Title
CN110708346B (en) Information processing system and method
CN107302597B (en) Message file pushing method and device
CN109359194B (en) Method and apparatus for predicting information categories
CN110780874A (en) Method and apparatus for generating information
CN113190152A (en) Method and device for switching application program theme
CN112988583A (en) Method and device for testing syntax compatibility of database
CN113377653A (en) Method and device for generating test case
CN107330087B (en) Page file generation method and device
CN107229565B (en) Test method and device
CN113553123A (en) Data processing method and device, electronic equipment and storage medium
CN110647327B (en) Method and device for dynamic control of user interface based on card
CN115563942A (en) Contract generation method and device, electronic equipment and computer readable medium
CN112860713B (en) Method for acquiring layer data, electronic device and storage medium
CN115454956A (en) Log generation method and device, electronic equipment and storage medium
CN117951542A (en) Method and device for processing signboard data, electronic equipment and storage medium
CN114239501A (en) Contract generation method, apparatus, device and medium
CN112947918A (en) Data display method and device
CN110633197B (en) Method and device for detecting excessive drawing
CN111414566A (en) Method and device for pushing information
CN110858240A (en) Front-end module loading method and device
CN112579080A (en) Method and device for generating user interface code
CN111125501A (en) Method and apparatus for processing information
CN111460269B (en) Information pushing method and device
CN117555632A (en) Form processing method, form processing device, electronic equipment and storage medium
CN111523295B (en) Data rendering method, device, 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