CN109446443A - A kind of tag update method, apparatus, equipment and storage medium - Google Patents
A kind of tag update method, apparatus, equipment and storage medium Download PDFInfo
- Publication number
- CN109446443A CN109446443A CN201811216273.4A CN201811216273A CN109446443A CN 109446443 A CN109446443 A CN 109446443A CN 201811216273 A CN201811216273 A CN 201811216273A CN 109446443 A CN109446443 A CN 109446443A
- Authority
- CN
- China
- Prior art keywords
- configuration
- information
- current
- configuration information
- candidate
- 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
Abstract
The embodiment of the invention discloses a kind of tag update method, apparatus, equipment and storage mediums.This method comprises: obtaining target labels in current configuration data library identifies corresponding each configurable information;The period is shown according in each configurable information, and the candidate configuration information for meeting default displaying condition is determined from each configurable information;According to preset configuration rule and the quantity of candidate configuration information, current time corresponding current configuration information is determined, and configuration update is carried out to target labels according to current configuration information.Automatically updating for label may be implemented in technical solution through the embodiment of the present invention, thus greatly reduces website maintenance cost, improves tag update efficiency.
Description
Technical field
The present embodiments relate to data processing technique more particularly to a kind of tag update method, apparatus, equipment and storage
Medium.
Background technique
In the process of website development, developer would generally classify to site information, and be arranged accordingly in website
Label, so that user can directly browse the interested page according to label information.
Currently, developer would generally directly write the label informations such as the bookmark name of label and corresponding access link
Enter in exploitation code, to show label at preset web position.When needing to update the label information of some label, exploit person
Member needs according to updated label information manual modification exploitation code, to show updated label.
As it can be seen that although this label configuration mode is to some common labels that will not change, such as in webcast website
Home tab, live streaming label, video tab, tag along sort etc., can quickly and conveniently carry out label configuration and displaying, but right
For some active tags for needing frequently to change, the multiple manual modification exploitation code of developer is needed, to increase greatly
Add website maintenance cost, and reduces tag update efficiency.
Summary of the invention
The embodiment of the invention provides a kind of tag update method, apparatus, equipment and storage medium, with realize label from
It is dynamic to update, website maintenance cost is greatly reduced, tag update efficiency is improved.
In a first aspect, the embodiment of the invention provides a kind of tag update methods, comprising:
It obtains target labels in current configuration data library and identifies corresponding each configurable information;
The period is shown according in each configurable information, is determined to meet from each configurable information and be preset
The candidate configuration information of displaying condition;
According to preset configuration rule and the quantity of the candidate configuration information, current time corresponding current-configuration is determined
Information, and configuration update is carried out to target labels according to current configuration information.
Second aspect, the embodiment of the invention also provides a kind of tag update devices, comprising:
Configurable data obtaining module, it is corresponding each configurable for obtaining target labels mark in current configuration data library
Information;
Candidate configuration information determining module, for showing the period according in each configurable information, from each institute
State the candidate configuration information for determining in configurable information and meeting default displaying condition;
Update module is configured, for the quantity according to preset configuration rule and the candidate configuration information, is determined current
Moment corresponding current configuration information, and configuration update is carried out to target labels according to current configuration information.
The third aspect, the embodiment of the invention also provides a kind of equipment, the equipment includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes the tag update method as described in any embodiment of that present invention.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer
Program realizes the tag update method as described in any embodiment of that present invention when the program is executed by processor.
The embodiment of the present invention identifies corresponding each configurable information by obtaining target labels in current configuration data library, and
The period is shown according in each configurable information, is determined from each configurable information and is met default displaying condition
Candidate configuration information;According to preset configuration rule and the quantity of the candidate configuration information, determine that current time is corresponding
Current configuration information, and configuration update is carried out to target labels according to current configuration information, so that target labels can be with activity
The variation of content and real-time change, and it is not necessary to modify any codes, to realize automatically updating for target labels, improve
Tag update efficiency, and reduce website maintenance cost.
Detailed description of the invention
Fig. 1 is a kind of flow chart for tag update method that the embodiment of the present invention one provides;
Fig. 2 is the schematic diagram of target labels in a kind of website of the offer of the embodiment of the present invention one;
Fig. 3 is a kind of flow chart of tag update method provided by Embodiment 2 of the present invention;
Fig. 4 is a kind of structural schematic diagram for tag update device that the embodiment of the present invention three provides;
Fig. 5 is a kind of structural schematic diagram for equipment that the embodiment of the present invention four provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow chart of a kind of tag update method that the embodiment of the present invention one provides, and the present embodiment is applicable to pair
The case where label for needing frequently to change in website is updated, particularly for the active tags updated in webcast website
Scene, while can be used for other and needing to update in the application scenarios of label.This method can by tag update device Lai
It executes, which can be realized by the mode of software and/or hardware, can integrate in portal management server.Such as Fig. 1 institute
Show, this method specifically includes the following steps:
S110, the corresponding each configurable information of target labels mark in current configuration data library is obtained.
Wherein, configurable information refers to pre-set according to demand, can be used for the information of label allocation.Configurable letter
Breath can include but is not limited to bookmark name, picture access link, label redirected link, can show the period and/or can show
Position.Tag identifier can by letter, number, one of additional character or it is a variety of form, for distinguishing each of website
Label, so as to pointedly update some label.Each tag identifier can correspond to one or more configurable information,
In each can configure information corresponding label can be configured.Target labels can refer to label to be updated.This implementation
Target labels in example can refer to the active tags for needing frequently to change, since each activity has certain timeliness, from
And it links the movable active tags needs and is changed often according to specific activity description.Illustratively, Fig. 2 gives a kind of website
The schematic diagram of middle target labels." match posting port " in Fig. 2 black surround is target labels to be updated so that " matching posting port " this
A target labels can change according to movable variation.It is corresponding extremely that configuration database can be used for storing each tag identifier
Few configurable information.Configuration database in the present embodiment can be in Relational DBMS MySQL
All data so as to save the data in different tables, rather than are stored in a big warehouse by MySQL database
It is interior, so as to improve data acquisition speed and flexibility.Since configuration database can store at any time according to user demand
New configurable information, so that current configuration data library refers to the configuration database under current time.
Specifically, the present embodiment can be in current configuration data library, according between tag identifier and configurable information
Corresponding relationship and target labels mark, obtain currently stored target labels and identify corresponding all configurable information, so as to
Target labels are updated.
S120, the period is shown according in each configurable information, determine from each configurable information and meet default exhibition
Show the candidate configuration information of condition.
Wherein, each the period refers to the label of the configurable information configuration in displaying to showing in configurable information
Period.Illustratively, it can show that the period can refer to and hold the movable period.Showing in each configurable information
Period may exist all or part of time-interleaving, and time-interleaving can also be not present, can be pre- according to user demand
First it is configured.It can show that the period may include that can show start time and can show finish time.Presetting displaying condition is
Refer to that current time can show the condition of label in the display interface.Candidate configuration information refer to meet default displaying condition can
Configuration information.
Specifically, period and current time can be shown according in configurable information, detected each configurable
Whether information meets default displaying condition, if so, determining that the configurable information is candidate configuration information.Time in the present embodiment
Arrangement information can be determined according to current time real-time perfoming, and target labels can correspond to one or more candidate configurations
Information.
It should be noted that if each default displaying condition is not satisfied in configurable information, then it represents that current time is not required to
Configuration update and displaying are carried out to label, it is an empty data that candidate configuration information can be set at this time.
S130, according to preset configuration rule and the quantity of candidate configuration information, determine that current time corresponding currently matches
Confidence breath, and configuration update is carried out to target labels according to current configuration information.
Wherein, preset configuration rule can refer to pre-set, for configuring and showing the rule of label.It is currently configured
Information can refer to the determination from all candidate configuration informations, be currently used in the configuration information for updating target labels.
Specifically, if the quantity of candidate configuration information is one, showing can there is only one in current configuration data library
With the configurable information being updated for current time to target labels, directly candidate's configuration information can be determined at this time
For current configuration information.If the quantity of candidate configuration information be it is multiple, show in current configuration data library there are it is multiple can be with
The configurable information that target labels are updated for current time, that is to say, that opening up in multiple candidate's configuration informations
Show that the period has all or part of time-interleaving.Since target labels can only be configurable using one at each display moment
Information configures it, is used as current configuration information to need to choose one from multiple candidate configuration informations.This implementation
Example can randomly select a candidate configuration information as current configuration information, can also choose one and meet default displaying rule
Candidate configuration information as current configuration information.
After determining current configuration information, the present embodiment can pass through the SDK (Software of calling static file systems
Development Kit, Software Development Kit), current configuration information is generated into static file.Illustratively, to target
It, can be by calling addConfig (data) method in SDK, by current configuration information data when label configure for the first time
The static file of JSON (JavaScript Object Notation) data format is generated, so that headend equipment can be according to quiet
State file configures target labels for the first time.It, can be by calling in SDK when carrying out subsequent configuration update
UpdataConfig (data) method updates static file according to current configuration information data, so as to according to updated
Static file carries out configuration update to target labels automatically, so that updated target labels can be shown accordingly
It is shown in period, and when reaching displaying finish time, target labels can be replaced automatically, to reach replacement mesh
Mark the purpose of label, and allow target labels with the variation of activity description real-time change, and it is not necessary to modify any
Code substantially increases tag update efficiency.Illustratively, if the bookmark name in current configuration information is " Competitive Activities ",
Then " with posting port ", the bookmark name of this target labels can be automatically updated into " Competitive Activities " in Fig. 2.The present embodiment may be used also
With according in current configuration information can display location, configuration update is carried out to the display location of target labels, to update
Target labels afterwards can be shown pre-set in display location.
If should be noted that, current configuration information is empty data, shows that there is no targets in current configuration data library
The corresponding configurable information of tag identifier, that is, the static file generated are an empty file, are matched at this time to target labels
After setting update, target labels will not be shown in display interface.The present embodiment can determine current configuration information in real time, to mesh
It marks label and carries out real time automatic update;A current configuration information can also be determined every preset time, so as to every pre-
If the time is timed update to target labels, with the lifting system speed of service.
The technical solution of the present embodiment, it is corresponding each configurable by obtaining target labels mark in current configuration data library
Information, and the period is shown according in each configurable information, it is determined from each configurable information and meets default displaying condition
Candidate configuration information;According to preset configuration rule and the quantity of candidate configuration information, determine that current time is corresponding current
Configuration information, and configuration update is carried out to target labels according to current configuration information, so that target labels can be with activity description
Variation and real-time change, and it is not necessary to modify any codes, to realize automatically updating for target labels, improve label
Efficiency is updated, and reduces website maintenance cost.
Based on the above technical solution, S120 may include: that each configurable information is determined as target configuration one by one
Information;By showing start time and can show that finish time is compared with current time respectively in target configuration information;
If current time, which is greater than or equal to, can show start time, and less than that can show finish time, then determine target configuration information
For candidate configuration information.
Wherein, presetting displaying condition can be set are as follows: current time, which is greater than or equal to, can show start time, and being less than can
Finish time is shown, to guarantee to show corresponding label can show in the period, and when finish time can be shown by reaching
Remove corresponding label.
Specifically, by the way that all configurable information are determined as target configuration information one by one, so as to based on detection mesh
Whether mark configuration information meets the mode of default displaying condition, determines each whether configurable information meets to preset one by one and shows item
Part.By by current time and showing start time and can show that finish time compares respectively in target configuration information
Compared with start time can be shown by being greater than or equal at current time, and current time is less than can show finish time, i.e., when current
It carves positioned at when can show between the period, expression current time can use target configuration information and be configured more to target labels
Newly, target configuration information directly can be determined as candidate configuration information at this time, so as to determine that all satisfactions are default in real time
The candidate configuration information of displaying condition.
Based on the above technical solution, in S130 according to preset configuration rule and the number of candidate configuration information
Amount, determines current time corresponding current configuration information, will be candidate if may include: to only exist a candidate configuration information
Configuration information is determined as current time corresponding current configuration information;At least two candidate configuration information if it exists, then according to pre-
If showing rule and the corresponding configuration preference level of each candidate configuration information, current time corresponding current configuration information is determined.
Wherein, configuration preference level is arranged previously according to user demand, can be used for reflecting the important of configurable information
Degree.If the significance level of some configurable information is higher, corresponding configuration preference level is higher.It is exemplary, configuration preference level
It can include but is not limited to the first priority, the second priority and third priority, and significance level successively reduces.Default exhibition
Show that rule can be to preset with demand according to the actual situation, determines the rule of current configuration information.
Illustratively, it according to default displaying rule and the corresponding configuration preference level of each candidate configuration information, determines current
Moment corresponding current configuration information may include: the corresponding configuration preference level of each candidate's configuration information of comparison;Match highest
It sets the corresponding candidate configuration information of priority and is determined as current time corresponding current configuration information.
Wherein, it presets displaying rule and may is that and be determined as being currently configured by the highest candidate configuration information of configuration preference level
Information.Specifically, since synchronization can only carry out configuration update to target labels using a configuration information, thus existing
Multiple candidate's configuration informations can be by highest configuration when there is multiple candidate configuration informations for showing period overlapping
The corresponding candidate configuration information of priority is determined as current configuration information, to be preferential using configuration in each update
The highest candidate configuration information of grade carries out configuration update to target labels.
Illustratively, it according to default displaying rule and the corresponding configuration preference level of each candidate configuration information, determines current
Moment corresponding current configuration information may include: to determine configuration more according to the corresponding configuration preference level of each candidate's configuration information
New sequences;According to configuration update sequence, each candidate configuration information is successively determined as current time corresponding current-configuration one by one
Information.
Wherein, configuration update sequence can refer to the sequence that target labels are carried out with configuration update.Configure update sequence
It can be the displaying sequence for referring to target labels.The corresponding configuration preference level of each candidate's configuration information is different in the present embodiment.
Specifically, the present embodiment can according to the sequence of configuration preference level from high to low, to all candidate configuration informations into
Row sequence, determines the configuration update sequence of target labels, and can according to configuration update sequence, by all candidate configuration informations by
It is a to be determined as current configuration information, so as to realize being cyclically updated and showing for target labels, to increase the more of label display
Sample.Illustratively, three candidate configuration information A, B and C if it exists, corresponding configuration preference level are respectively as follows: the tertiary gradient, the
Two grades and the first estate, it is determined that configuration update sequence are as follows: C-B-A, to be updated in first time to target labels
When, candidate configuration information C is determined as current configuration information;When updating for second, if configuration update sequence at this time is still
Candidate configuration information B is then determined as current configuration information by C-B-A;When third time updates, if configuration update sequence at this time
It is still C-B-A, then candidate configuration information A is determined as current configuration information;In the 4th update, if configuration at this time updates
Sequence is still C-B-A, then candidate configuration information C is determined as current configuration information again, execution is circuited sequentially, so as to reality
The circularly exhibiting of existing target labels.If should be noted that when configuration update sequence and last time update institute based on time update
The configuration update sequence of foundation is different, then can use when configuration update sequence redefines current-configuration based on time update
Information is cyclically updated so that target labels carry out configuration according to newest configuration update sequence.
Embodiment two
Fig. 3 is a kind of flow chart of tag update method provided by Embodiment 2 of the present invention, and the present embodiment is in above-mentioned implementation
It is optimized on the basis of example: " before target labels identify corresponding each configurable information in obtaining current configuration data library,
Further include: determine that target labels identify corresponding information to be configured;According to mesh in information to be configured and current configuration data library
The corresponding each existing configuration information of tag identifier is marked, determines the corresponding configuration identifier of information to be configured;If configuration identifier is configuration
Success flag is added in current configuration data library then using information to be configured as configurable information, to update current-configuration number
According to library." details are not described herein for wherein same as the previously described embodiments or corresponding term explanation.
Referring to Fig. 3, tag update method provided in this embodiment comprising the following specific steps
S210, determine that target labels identify corresponding information to be configured.
Wherein, information to be configured can refer to according to the actual situation and user demand, the letter configured to target labels
Breath.Information to be configured can include but is not limited to bookmark name, picture access link, label redirected link, can show the period
And/or it can display location.
Specifically, the present embodiment can by bookmark name, label redirected link, can show the period and can display location etc.
Information directly passes through list and is written, then by calling upload (file) method, the label picture of configuration is uploaded to clothes
Be engaged in device, after uploading successfully this method return the result in URL (UniformResource Locator, uniform resource locator)
It is determined as picture access connection, so as to assemble information to be configured into array data.The present embodiment can by determine to
Configuration information, thus the artificially replacement of control target labels indirectly, so as to more neatly according to different activities to label
It is updated.
S220, each have with confidence according to target labels mark is corresponding in information to be configured and current configuration data library
Breath, determines the corresponding configuration identifier of information to be configured.
Wherein, existing configuration information, which refers to, stored in configuration database under current time matches target labels
The information set.Each existing configuration information also can include but is not limited to bookmark name, picture access link, label skip chain
It connects, can show the period and/or can display location.Configuration identifier may include configuration successful mark and configuration failure mark.
Specifically, the present embodiment all can have configuration according to target labels mark is corresponding in current configuration data library
Information, detect information to be configured whether with existing configuration information there are configuration conflict, if so, determining that information to be configured is corresponding
Configuration identifier is configuration failure mark, otherwise, it determines the corresponding configuration identifier of information to be configured is configuration successful mark.
If S230, configuration identifier are configuration successful mark, using information to be configured as configurable information, it is added to current
In configuration database, to update current configuration data library.
Specifically, when the configuration identifier of information to be configured be configuration successful mark, then show to can use information to be configured
Target labels are configured, information to be configured can be determined as to target labels at this time and identify corresponding configurable information, and
Information to be configured is added in current configuration data, to update current configuration data library.Illustratively, the present embodiment can be with
By calling insert (data) method, information data to be configured is written in the Mysql of current configuration data library.
If should be noted that, the configuration identifier of information to be configured for configuration failure mark, shows current configuration data
There are configuration conflicts with information to be configured for existing configuration information in library, a configuration failure information can be generated, at this time to mention
Awake related personnel treats configuration information and carries out configuration modification.
S240, the corresponding each configurable information of target labels mark in current configuration data library is obtained.
S250, the period is shown according in each configurable information, determine from each configurable information and meet default exhibition
Show the candidate configuration information of condition.
S260, according to preset configuration rule and the quantity of candidate configuration information, determine that current time corresponding currently matches
Confidence breath, and configuration update is carried out to target labels according to current configuration information.
The technical solution of the present embodiment, by determining that target labels identify corresponding information to be configured, so as to basis
Target labels are artificially arranged in different activities and demand, improve configuration flexibility, and detecting information pair to be configured
When the configuration identifier answered is that configuration successful identifies, which is added in current configuration data library, so as to keep away
Exempt to lead to not because of configuration conflict to carry out target labels the phenomenon that configuration updates, improves the configuration accuracy of target labels.
Based on the above technical solution, S220 may include: by information to be configured period to be presented with work as
Target labels identify having in corresponding each existing configuration information and show that the period is compared in preceding configuration database;If
Period to be presented and each have and show that time-interleaving is not present in the period, it is determined that the corresponding configuration of information to be configured is marked
Know is that configuration successful identifies;If the period to be presented have at least one show the period there are time-interleaving, detection to
Corresponding first configuration preference level of configuration information with it is each there are the existing configuration information of time-interleaving it is corresponding second configuration it is excellent
Whether first grade is identical;If the first configuration preference level is all different with each second configuration preference level, it is determined that information to be configured is corresponding
Configuration identifier be configuration successful mark;If the first configuration preference level is identical as at least one second configuration preference level, it is determined that
The corresponding configuration identifier of information to be configured is configuration failure mark.
The present embodiment can be by detecting information to be configured and existing configuration information with the presence or absence of displaying time and configuration
The conflict of priority, so that it is determined that the configuration identifier of information to be configured.Specifically, the time to be presented in information to be configured is obtained
Have the displaying period in section and each existing configuration information, and detects whether the period to be presented with each has displaying
Period, there are time-interleavings, if time-interleaving is not present, showed there is no the conflict for showing the time, at this time can be direct
Determine the corresponding configuration identifier of information to be configured for configuration successful mark.Time-interleaving if it exists, then obtain that each there are the times
Overlapping corresponding second configuration preference level of existing configuration information, and detect corresponding first configuration preference level of information to be configured with
Whether each second configuration preference level is identical, if the first configuration preference level is identical as some second configuration preference level, shows to deposit
In the conflict of configuration preference level, the corresponding configuration identifier of information to be configured can be determined for configuration failure mark at this time.If first
Configuration preference level is all different with each second configuration preference level, then shows the conflict there is no configuration preference level, at this time can be with
Determine the corresponding configuration identifier of information to be configured for configuration successful mark.
Illustratively, the present embodiment is detecting the period to be presented and is each having the displaying period with the presence or absence of time weight
When folded, it can use getByTime (start_time, end_time) method and detected, wherein start_time and end_
Time is start time to be presented and finish time to be presented in the period to be presented respectively.SQL in this method
(Structured Query Language, structured query language) sentence can be with are as follows: SELECT id FROM table
Where is_del=:is_del AND ((start_time>: st AND start_time<: et) OR (start_time<:
st AND end_time>:et)OR(end_time>:st AND end_time<:et)OR(start_time>:st AND
End_time <: et)), wherein st and et refers respectively to some and have show that having in the period shows start time and
There is displaying finish time.If this method returns the result not when being empty, show to exist conflict with information time to be configured it is existing
Configuration information, if return the result as sky, then it represents that there is no the existing configuration informations to conflict with information time to be configured.
It is the embodiment of tag update device provided in an embodiment of the present invention, the mark of the device and the various embodiments described above below
Label update method belongs to the same inventive concept, and the detail content of not detailed description in the embodiment of tag update device can
With the embodiment with reference to above-mentioned tag update method.
Embodiment three
Fig. 4 is a kind of structural schematic diagram for tag update device that the embodiment of the present invention three provides, and the present embodiment is applicable
The case where label for needing frequently to change in website is updated, the device specifically include: configurable data obtaining module
310, candidate configuration information determining module 320 and configuration update module 330.
Wherein, it can configure data obtaining module 310, it is corresponding for obtaining target labels mark in current configuration data library
Each configurable information;Candidate configuration information determining module 320, for showing the period according in each configurable information, from
The candidate configuration information for meeting default displaying condition is determined in each configurable information;Update module 330 is configured, for according to default
The quantity of configuration rule and candidate configuration information, determines current time corresponding current configuration information, and according to current-configuration
Information carries out configuration update to target labels.
The technical solution of the present embodiment, it is corresponding each configurable by obtaining target labels mark in current configuration data library
Information, and the period is shown according in each configurable information, it is determined from each configurable information and meets default displaying condition
Candidate configuration information;According to preset configuration rule and the quantity of candidate configuration information, determine that current time is corresponding current
Configuration information, and configuration update is carried out to target labels according to current configuration information, so that target labels can be with activity description
Variation and real-time change, and it is not necessary to modify any codes, to realize automatically updating for target labels, improve label
Efficiency is updated, and reduces website maintenance cost.
Optionally, candidate configuration information determining module 320, is specifically used for:
Each configurable information is determined as target configuration information one by one;Start time will be shown in target configuration information
With can show that finish time is compared with current time respectively;If current time, which is greater than or equal to, can show start time, and
Less than that can show finish time, then target configuration information is determined as candidate configuration information.
Optionally, update module 330 is configured further include:
First current configuration information determination unit, is used for: if only existing a candidate configuration information, candidate being matched confidence
Breath is determined as current time corresponding current configuration information;
Second current configuration information determination unit, is used for: at least two candidate configuration information if it exists, then according to default exhibition
Show rule and the corresponding configuration preference level of each candidate configuration information, determines current time corresponding current configuration information.
Optionally, the second current configuration information determination unit, is specifically used for:
Compare the corresponding configuration preference level of each candidate configuration information;Highest configuration preference level is corresponding candidate with confidence
Breath is determined as current time corresponding current configuration information.
Optionally, the second current configuration information determination unit, also particularly useful for:
Configuration update sequence is determined according to the corresponding configuration preference level of each candidate's configuration information;According to configuration update sequence,
Each candidate configuration information is successively determined as current time corresponding current configuration information one by one.
Optionally, the device further include:
Information determination module to be configured, in obtaining current configuration data library target labels mark corresponding can respectively match
Before confidence breath, determine that target labels identify corresponding information to be configured;
Configuration identifier determining module, for according to target labels mark pair in information to be configured and current configuration data library
Each existing configuration information answered, determines the corresponding configuration identifier of information to be configured;
Current configuration data library update module makees information to be configured if being configuration successful mark for configuration identifier
To can configure information, it is added in current configuration data library, to update current configuration data library.
Optionally, configuration identifier determining module is specifically used for:
Period to be presented in information to be configured is corresponding with target labels mark in current configuration data library each
Having in existing configuration information shows that the period is compared;If the period to be presented has the displaying period not with each
There are time-interleavings, it is determined that the corresponding configuration identifier of information to be configured is configuration successful mark;If the period to be presented with extremely
Few one has and shows that the period, there are time-interleavings, then detected corresponding first configuration preference level of information to be configured and each deposit
It is whether identical in corresponding second configuration preference level of the existing configuration information of time-interleaving;If the first configuration preference level and each second
Configuration preference level is all different, it is determined that the corresponding configuration identifier of information to be configured is configuration successful mark;If the first configuration is excellent
First grade is identical as at least one second configuration preference level, it is determined that the corresponding configuration identifier of information to be configured is configuration failure mark
Know.
Label provided by any embodiment of the invention can be performed more in tag update device provided by the embodiment of the present invention
New method has and executes the corresponding functional module of tag update method and beneficial effect.
It is worth noting that, included each unit and module are only pressed in the embodiment of above-mentioned tag update device
It is divided, but is not limited to the above division according to function logic, as long as corresponding functions can be realized;In addition,
Each functional module and the specific name of unit are also only for convenience of distinguishing each other, the protection model being not intended to restrict the invention
It encloses.
Example IV
Fig. 5 is a kind of structural schematic diagram for equipment that the embodiment of the present invention four provides.Referring to Fig. 5, which includes:
One or more processors 410;
Memory 420, for storing one or more programs;
When one or more programs are executed by one or more processors 410, so that one or more processors 410 are realized
As in above-described embodiment any embodiment propose tag update method, this method comprises:
It obtains target labels in current configuration data library and identifies corresponding each configurable information;
The period is shown according in each configurable information, is determined from each configurable information and is met default displaying condition
Candidate configuration information;
According to preset configuration rule and the quantity of candidate configuration information, current time corresponding current-configuration letter is determined
Breath, and configuration update is carried out to target labels according to current configuration information.
In Fig. 5 by taking a processor 410 as an example;Processor 410 and memory 420 in equipment can by bus or its
He connects mode, in Fig. 5 for being connected by bus.
Memory 420 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer
Sequence and module, if the corresponding program instruction/module of tag update method in the embodiment of the present invention is (for example, tag update fills
Configurable data obtaining module 310, candidate configuration information determining module 320 and configuration update module 330 in setting).Processor
410 software program, instruction and the modules being stored in memory 420 by operation, are answered thereby executing the various functions of equipment
With and data processing, that is, realize above-mentioned tag update method.
Memory 420 mainly includes storing program area and storage data area, wherein storing program area can store operation system
Application program needed for system, at least one function;Storage data area, which can be stored, uses created data etc. according to equipment.This
Outside, memory 420 may include high-speed random access memory, can also include nonvolatile memory, for example, at least one
Disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, memory 420 can be into one
Step includes the memory remotely located relative to processor 410, these remote memories can pass through network connection to equipment.On
The example for stating network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
The tag update method that the equipment and above-described embodiment that the present embodiment proposes propose belongs to same inventive concept, does not exist
The technical detail of detailed description can be found in above-described embodiment in the present embodiment, and the present embodiment has execution tag update method
Identical beneficial effect.
Embodiment five
The present embodiment five provides a kind of computer readable storage medium, is stored thereon with computer program, the program quilt
Such as tag update method provided by any embodiment of the invention is realized when processor executes, this method comprises:
It obtains target labels in current configuration data library and identifies corresponding each configurable information;
The period is shown according in each configurable information, is determined from each configurable information and is met default displaying condition
Candidate configuration information;
According to preset configuration rule and the quantity of candidate configuration information, current time corresponding current-configuration letter is determined
Breath, and configuration update is carried out to target labels according to current configuration information.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media
Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable
Storage medium can be for example but not limited to: electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or
Any above combination of person.The more specific example (non exhaustive list) of computer readable storage medium includes: with one
Or the electrical connections of multiple conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM),
Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light
Memory device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer readable storage medium can
With to be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
Person is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including but not limited to:
Wirelessly, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language, such as Java, Smalltalk, C++, also
Including conventional procedural programming language-such as " C " language or similar programming language.Program code can be complete
Ground executes on the user computer, partly executes on the user computer, executing as an independent software package, partially existing
Part executes on the remote computer or executes on a remote computer or server completely on subscriber computer.It is being related to
In the situation of remote computer, remote computer can pass through the network of any kind, including local area network (LAN) or wide area network
(WAN), it is connected to subscriber computer, or, it may be connected to outer computer (such as led to using ISP
Cross internet connection).
Will be appreciated by those skilled in the art that each module of the above invention or each step can use general meter
Device is calculated to realize, they can be concentrated on single computing device, or be distributed in network constituted by multiple computing devices
On, optionally, they can be realized with the program code that computer installation can be performed, so as to be stored in storage
It is performed by computing device in device, perhaps they are fabricated to each integrated circuit modules or will be more in them
A module or step are fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and
The combination of software.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (10)
1. a kind of tag update method characterized by comprising
It obtains target labels in current configuration data library and identifies corresponding each configurable information;
The period is shown according in each configurable information, is determined from each configurable information and is met default show
The candidate configuration information of condition;
According to preset configuration rule and the quantity of the candidate configuration information, current time corresponding current-configuration letter is determined
Breath, and configuration update is carried out to target labels according to current configuration information.
2. the method according to claim 1, wherein showing the time according in each configurable information
Section determines the candidate configuration information for meeting default displaying condition from each configurable information, comprising:
Each configurable information is determined as target configuration information one by one;
By showing start time and can show that finish time compares with current time respectively in the target configuration information
Compared with;
If current time can show start time described in being greater than or equal to, and can show finish time less than described, then will be described
Target configuration information is determined as candidate configuration information.
3. the method according to claim 1, wherein according to preset configuration rule and the candidate configuration information
Quantity, determine current time corresponding current configuration information, comprising:
If only existing the candidate configuration information, it is corresponding current that the candidate configuration information is determined as current time
Configuration information;
At least two candidate configuration information if it exists then shows rule and each candidate configuration information pair according to default
The configuration preference level answered determines current time corresponding current configuration information.
4. according to the method described in claim 3, it is characterized in that, matching confidence according to default displaying rule and each candidate
Corresponding configuration preference level is ceased, determines current time corresponding current configuration information, comprising:
Compare the corresponding configuration preference level of each candidate's configuration information;
The corresponding candidate configuration information of highest configuration preference level is determined as current time corresponding current configuration information.
5. according to the method described in claim 3, it is characterized in that, matching confidence according to default displaying rule and each candidate
Corresponding configuration preference level is ceased, determines current time corresponding current configuration information, comprising:
Configuration update sequence is determined according to the corresponding configuration preference level of each candidate configuration information;
According to the configuration update sequence, it is corresponding current that each candidate configuration information is successively determined as current time one by one
Configuration information.
6. the method according to claim 1, wherein the target labels mark pair in obtaining current configuration data library
Before each configurable information answered, further includes:
Determine that the target labels identify corresponding information to be configured;
Each have with confidence according to the mark of target labels described in the information to be configured and current configuration data library is corresponding
Breath, determines the corresponding configuration identifier of the information to be configured;
If the configuration identifier is configuration successful mark, using the information to be configured as configurable information, it is added to current
In configuration database, to update current configuration data library.
7. according to the method described in claim 6, it is characterized in that, according to the information to be configured and current configuration data library
Described in target labels identify corresponding each existing configuration information, determine the corresponding configuration identifier of the information to be configured, comprising:
Period to be presented in the information to be configured is corresponding with the mark of target labels described in current configuration data library
Having in each existing configuration information shows that the period is compared;
If the period to be presented and it is each it is described have show the period time-interleaving is not present, it is determined that it is described wait match
Confidence ceases corresponding configuration identifier for configuration successful mark;
If the period to be presented and at least one it is described have show the period there are time-interleaving, detection is described wait match
Confidence cease corresponding first configuration preference level with each there are corresponding second configuration of the existing configuration information of time-interleaving is preferential
Whether grade is identical;
If first configuration preference level is all different with each second configuration preference level, it is determined that the information pair to be configured
The configuration identifier answered is configuration successful mark;
If first configuration preference level is identical as the second configuration preference level described at least one, it is determined that the information to be configured
Corresponding configuration identifier is configuration failure mark.
8. a kind of tag update device characterized by comprising
Configurable data obtaining module identifies corresponding each configurable letter for obtaining target labels in current configuration data library
Breath;
Candidate configuration information determining module, for showing the period according in each configurable information, from it is each it is described can
The candidate configuration information for meeting default displaying condition is determined in configuration information;
Update module is configured, for the quantity according to preset configuration rule and the candidate configuration information, determines current time
Corresponding current configuration information, and configuration update is carried out to target labels according to current configuration information.
9. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
The now tag update method as described in any in claim 1-7.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
The tag update method as described in any in claim 1-7 is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811216273.4A CN109446443B (en) | 2018-10-18 | 2018-10-18 | Label updating method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811216273.4A CN109446443B (en) | 2018-10-18 | 2018-10-18 | Label updating method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109446443A true CN109446443A (en) | 2019-03-08 |
CN109446443B CN109446443B (en) | 2021-11-09 |
Family
ID=65546834
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811216273.4A Active CN109446443B (en) | 2018-10-18 | 2018-10-18 | Label updating method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109446443B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110457634A (en) * | 2019-08-12 | 2019-11-15 | 拉扎斯网络科技(上海)有限公司 | Information issuing method, device, electronic equipment and computer readable storage medium |
CN110647527A (en) * | 2019-08-30 | 2020-01-03 | 北京百度网讯科技有限公司 | Big data-based invalid label clearing method and device, equipment and readable medium |
CN111061457A (en) * | 2019-12-20 | 2020-04-24 | 上海米哈游天命科技有限公司 | File uploading control method and device, server and storage medium |
CN111651696A (en) * | 2020-05-29 | 2020-09-11 | 泰康保险集团股份有限公司 | Product label customizing method and device, computer storage medium and electronic equipment |
CN113297197A (en) * | 2020-02-21 | 2021-08-24 | 北京沃东天骏信息技术有限公司 | Label management system, label operation method and data table operation method and device |
CN115474071A (en) * | 2022-08-22 | 2022-12-13 | 北京达佳互联信息技术有限公司 | Content display method, device, equipment and storage medium |
CN115474071B (en) * | 2022-08-22 | 2024-05-14 | 北京达佳互联信息技术有限公司 | Content display method, device, equipment and storage medium |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070100844A1 (en) * | 2005-10-28 | 2007-05-03 | International Business Machines Corporation | System and method for dynamically updating web pages using messaging-oriented middleware |
US20070300149A1 (en) * | 2006-06-27 | 2007-12-27 | Gems Tv Ltd. | Computer system |
CN103455582A (en) * | 2013-08-26 | 2013-12-18 | 小米科技有限责任公司 | Display method of navigation page of browser and mobile terminal |
CN104346463A (en) * | 2014-11-07 | 2015-02-11 | 北京奇虎科技有限公司 | Loading method and device of page label and browser client |
CN105468350A (en) * | 2014-09-10 | 2016-04-06 | 阿里巴巴集团控股有限公司 | Object tag processing method and apparatus |
CN105574162A (en) * | 2015-12-16 | 2016-05-11 | 南京鼎岩信息科技有限公司 | Automatic hyperlink method of keyword |
CN105592423A (en) * | 2016-03-04 | 2016-05-18 | 广州万物信息科技有限公司 | Vehicular antitheft tracking system |
CN105719156A (en) * | 2015-10-15 | 2016-06-29 | 深圳市麻省图创科技有限公司 | System and method for identifying and promoting goods with labels already added thereto |
CN105824840A (en) * | 2015-01-07 | 2016-08-03 | 阿里巴巴集团控股有限公司 | Method and apparatus for region tag management |
CN105991770A (en) * | 2016-05-05 | 2016-10-05 | 广州阿里巴巴文学信息技术有限公司 | Data updating method, client side and server |
CN106572173A (en) * | 2016-11-07 | 2017-04-19 | 网易无尾熊(杭州)科技有限公司 | Method, apparatus and system for updating configuration information |
CN106649374A (en) * | 2015-10-30 | 2017-05-10 | 北京国双科技有限公司 | Navigation tag ordering method and device |
CN107797826A (en) * | 2017-05-19 | 2018-03-13 | 平安科技(深圳)有限公司 | A kind of regular collocation method, terminal and the equipment of rule-based engine |
CN107861948A (en) * | 2017-11-16 | 2018-03-30 | 百度在线网络技术(北京)有限公司 | A kind of tag extraction method, apparatus, equipment and medium |
CN108427749A (en) * | 2018-03-12 | 2018-08-21 | 上海哔哩哔哩科技有限公司 | Commercial goods labels management method, server and Commercial goods labels manage system |
-
2018
- 2018-10-18 CN CN201811216273.4A patent/CN109446443B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070100844A1 (en) * | 2005-10-28 | 2007-05-03 | International Business Machines Corporation | System and method for dynamically updating web pages using messaging-oriented middleware |
US20070300149A1 (en) * | 2006-06-27 | 2007-12-27 | Gems Tv Ltd. | Computer system |
CN103455582A (en) * | 2013-08-26 | 2013-12-18 | 小米科技有限责任公司 | Display method of navigation page of browser and mobile terminal |
CN105468350A (en) * | 2014-09-10 | 2016-04-06 | 阿里巴巴集团控股有限公司 | Object tag processing method and apparatus |
CN104346463A (en) * | 2014-11-07 | 2015-02-11 | 北京奇虎科技有限公司 | Loading method and device of page label and browser client |
CN105824840A (en) * | 2015-01-07 | 2016-08-03 | 阿里巴巴集团控股有限公司 | Method and apparatus for region tag management |
CN105719156A (en) * | 2015-10-15 | 2016-06-29 | 深圳市麻省图创科技有限公司 | System and method for identifying and promoting goods with labels already added thereto |
CN106649374A (en) * | 2015-10-30 | 2017-05-10 | 北京国双科技有限公司 | Navigation tag ordering method and device |
CN105574162A (en) * | 2015-12-16 | 2016-05-11 | 南京鼎岩信息科技有限公司 | Automatic hyperlink method of keyword |
CN105592423A (en) * | 2016-03-04 | 2016-05-18 | 广州万物信息科技有限公司 | Vehicular antitheft tracking system |
CN105991770A (en) * | 2016-05-05 | 2016-10-05 | 广州阿里巴巴文学信息技术有限公司 | Data updating method, client side and server |
CN106572173A (en) * | 2016-11-07 | 2017-04-19 | 网易无尾熊(杭州)科技有限公司 | Method, apparatus and system for updating configuration information |
CN107797826A (en) * | 2017-05-19 | 2018-03-13 | 平安科技(深圳)有限公司 | A kind of regular collocation method, terminal and the equipment of rule-based engine |
CN107861948A (en) * | 2017-11-16 | 2018-03-30 | 百度在线网络技术(北京)有限公司 | A kind of tag extraction method, apparatus, equipment and medium |
CN108427749A (en) * | 2018-03-12 | 2018-08-21 | 上海哔哩哔哩科技有限公司 | Commercial goods labels management method, server and Commercial goods labels manage system |
Non-Patent Citations (2)
Title |
---|
E. RAJU 等: "CCLPA: A clustering coefficient based label propagation algorithm for unfolding communities in complex networks", 《2017 2ND INTERNATIONAL CONFERENCE ON COMMUNICATION AND ELECTRONICS SYSTEMS (ICCES)》 * |
王允 等: "基于网页布局相似度的Web论坛数据抽取", 《中文信息学报》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110457634A (en) * | 2019-08-12 | 2019-11-15 | 拉扎斯网络科技(上海)有限公司 | Information issuing method, device, electronic equipment and computer readable storage medium |
CN110647527A (en) * | 2019-08-30 | 2020-01-03 | 北京百度网讯科技有限公司 | Big data-based invalid label clearing method and device, equipment and readable medium |
CN111061457A (en) * | 2019-12-20 | 2020-04-24 | 上海米哈游天命科技有限公司 | File uploading control method and device, server and storage medium |
CN113297197A (en) * | 2020-02-21 | 2021-08-24 | 北京沃东天骏信息技术有限公司 | Label management system, label operation method and data table operation method and device |
CN111651696A (en) * | 2020-05-29 | 2020-09-11 | 泰康保险集团股份有限公司 | Product label customizing method and device, computer storage medium and electronic equipment |
CN111651696B (en) * | 2020-05-29 | 2023-06-02 | 泰康保险集团股份有限公司 | Product label customizing method and device, computer storage medium and electronic equipment |
CN115474071A (en) * | 2022-08-22 | 2022-12-13 | 北京达佳互联信息技术有限公司 | Content display method, device, equipment and storage medium |
CN115474071B (en) * | 2022-08-22 | 2024-05-14 | 北京达佳互联信息技术有限公司 | Content display method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109446443B (en) | 2021-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109446443A (en) | A kind of tag update method, apparatus, equipment and storage medium | |
US8830913B1 (en) | Location-based software updates | |
CN108055264B (en) | Scheduling apparatus and method for push streaming server, and computer-readable storage medium | |
CN103136342B (en) | The searching method of application A PP, system and search server | |
CN103390258B (en) | Updating and inquiring method and management system of laboratory object information and based on information code | |
CN102662966B (en) | Method and system for obtaining subject-oriented dynamic page content | |
CN103647803A (en) | A method for a mobile terminal to subscribe content and an apparatus | |
CN111695840B (en) | Method and device for realizing flow control | |
CN103678566A (en) | Method, server and system for providing mobile terminal fault problem solution | |
CN105515900A (en) | Method and device for acquiring on-line state of terminal | |
CN103019530B (en) | The index method of menu based on gesture identification, device and terminal thereof | |
CN103763358A (en) | Method and device for pushing information | |
CN103914529A (en) | Search displaying method and search displaying device | |
CN105095388A (en) | Method and device for recommending App to mobile terminal during search | |
CN104239445A (en) | Method and device for representing search results | |
CN104021016A (en) | Method and browser for loading browser plug-in icons | |
CN104580267A (en) | A resource downloading method, device, server and corresponding system | |
US11169863B2 (en) | Dynamic management method for menu, server and system | |
CN102982143A (en) | Searching method for network novel and browsing device | |
US9395949B2 (en) | Apparatus, method, and device for associating information with an object | |
CN204046648U (en) | Based on the inn management platform of cloud computing | |
CN109918215A (en) | A kind of Way of Process Communication, system, terminal and storage medium | |
US20150170095A1 (en) | Physical location tagging via image recognition | |
CN102929721A (en) | Balanced scheduling system and method based on station quota | |
CN106792202A (en) | Data of set top box adaptation method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |