CN108418851A - Policy issue system, method, apparatus and equipment - Google Patents

Policy issue system, method, apparatus and equipment Download PDF

Info

Publication number
CN108418851A
CN108418851A CN201810029566.5A CN201810029566A CN108418851A CN 108418851 A CN108418851 A CN 108418851A CN 201810029566 A CN201810029566 A CN 201810029566A CN 108418851 A CN108418851 A CN 108418851A
Authority
CN
China
Prior art keywords
strategy
change configuration
service end
configuration message
message
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
Application number
CN201810029566.5A
Other languages
Chinese (zh)
Other versions
CN108418851B (en
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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201810029566.5A priority Critical patent/CN108418851B/en
Publication of CN108418851A publication Critical patent/CN108418851A/en
Application granted granted Critical
Publication of CN108418851B publication Critical patent/CN108418851B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

This specification embodiment discloses policy issue system, method, apparatus and equipment.After policy issue side is modified strategy, policy issue server-side sending strategy configuration change message is to messenger service end, messenger service end pushes configuration change message to application service end, then local cache is changed in application service end according to message content increment, by way of increment modification caching, avoid the interaction of the full dose change and removal and policy database of caching, it reduces in decision strategy issuing process, it is shaken caused by when tactful full dose load accesses database operation, ensures system stability.

Description

Policy issue system, method, apparatus and equipment
Technical field
This specification is related to field of computer technology more particularly to policy issue system, method, apparatus and equipment.
Background technology
In internet, network security and air control are indispensable parts, and decision strategy is run in air control Analysis Service In be often accessed frequently.
In the art, it policy issue and is stored in database, after strategy changes, database can give birth in time Effect, but policy consumer's (for example, application server) needs policy consumer again from data at this time there is no coming into force in time Library is loaded into full dose strategy configuration data and replaces, with more new strategy.
Based on this, more convenient policy issue scheme is needed.
Invention content
This specification embodiment provides policy issue system, method, apparatus and equipment, as follows for solving the problems, such as:To carry For more convenient policy issue scheme.
Based on this, this specification embodiment provides a kind of policy issue system, including:Policy issue server-side, message clothes Business end and application service end;
The policy issue server-side, receives the instruction of user, is changed to strategy, and store;According to the strategy Change situation, generation strategy change configuration message;The strategy change configuration message is sent to messenger service end, wherein institute It states strategy change configuration message and carries theme;
The messenger service end receives the strategy change configuration message, according to the subscription/publication relationship obtained in advance, The strategy change configuration message is pushed to the application service end for having subscribed the theme;
The application service end receives the strategy change configuration message of messenger service end push, is changed according to the strategy Configure the strategy of information updating local cache.
Meanwhile this specification embodiment also provides a kind of policy issue method, including:
The instruction for receiving user, changes strategy, and store;
According to the change situation of the strategy, generation strategy change configuration message, wherein the strategy change configuration message Carry theme
The strategy change configuration message is sent to messenger service end, so that the messenger service end according to obtaining in advance Subscription/publication relationship pushes the strategy change configuration message to the application service end for having subscribed the theme.
Meanwhile this specification embodiment also provides another policy issue method, the method includes:
Receive the strategy change configuration message of the carrying theme transmitted by policy issue server-side;
According to the subscription/publication relationship obtained in advance, the strategy change configuration message is pushed to having subscribed the theme Application service end.
Meanwhile this specification embodiment also provides another policy issue method, the method includes:
Receive the strategy change configuration message of messenger service end push;
According to the strategy of the strategy change configuration information updating local cache.
Meanwhile the embodiment of this specification also provides a kind of policy issue device, including:
Reception and memory module, receive the instruction of user, are changed to strategy, and store;
Generation module, according to the change situation of the strategy, generation strategy change configuration message, wherein the strategy becomes More configuration message carries theme
Sending module, sends the strategy change configuration message to messenger service end, so as to the messenger service end according to The subscription/publication relationship obtained in advance pushes the strategy change configuration message to the application service end for having subscribed the theme.
Meanwhile this specification embodiment also provides another policy issue device, including:
Receiving module receives the strategy change configuration message of the carrying theme transmitted by policy issue server-side;
Pushing module pushes the strategy change configuration message to having subscribed according to the subscription/publication relationship obtained in advance The application service end of the theme.
Meanwhile this specification embodiment also provides another policy issue device, including:
Receiving module receives the strategy change configuration message of messenger service end push;
Update module, according to the strategy of the strategy change configuration information updating local cache.
Corresponding, this specification embodiment also provides a kind of policy issue equipment, including:
Memory is stored with policy issue program;
Processor calls the policy issue program in memory, and executes:
The instruction for receiving user, changes strategy, and store;
According to the change situation of the strategy, generation strategy change configuration message, wherein the strategy change configuration message Carry theme
The strategy change configuration message is sent to messenger service end, so that the messenger service end according to obtaining in advance Subscription/publication relationship pushes the strategy change configuration message to the application service end for having subscribed the theme.
Corresponding, this specification embodiment also provides another policy issue equipment, including:
Memory is stored with policy issue program;
Processor calls the policy issue program in memory, and executes:
Receive the strategy change configuration message of the carrying theme transmitted by policy issue server-side;
According to the subscription/publication relationship obtained in advance, the strategy change configuration message is pushed to having subscribed the theme Application service end.
Corresponding, this specification embodiment also provides another policy issue equipment, including:
Memory is stored with policy issue program;
Processor calls the policy issue program in memory, and executes:
Receive the strategy change configuration message of messenger service end push;
According to the strategy of the strategy change configuration information updating local cache.
Corresponding, the embodiment of this specification also provides a kind of nonvolatile computer storage media, is stored with computer Executable instruction, the computer executable instructions are set as:
The instruction for receiving user, changes strategy, and store;
According to the change situation of the strategy, generation strategy change configuration message, wherein the strategy change configuration message Carry theme
The strategy change configuration message is sent to messenger service end, so that the messenger service end according to obtaining in advance Subscription/publication relationship pushes the strategy change configuration message to the application service end for having subscribed the theme.
Corresponding, the embodiment of this specification also provides another nonvolatile computer storage media, is stored with calculating Machine executable instruction, the computer executable instructions are set as:
Receive the strategy change configuration message of the carrying theme transmitted by policy issue server-side;
According to the subscription/publication relationship obtained in advance, the strategy change configuration message is pushed to having subscribed the theme Application service end.
Corresponding, the embodiment of this specification also provides another nonvolatile computer storage media, is stored with calculating Machine executable instruction, the computer executable instructions are set as:
Receive the strategy change configuration message of messenger service end push;
According to the strategy of the strategy change configuration information updating local cache.
Above-mentioned at least one technical solution that this specification embodiment uses can reach following advantageous effect:
After policy issue side is modified strategy, policy issue service degree end sending strategy configuration change disappears Messenger service end is ceased, messenger service end pushes configuration change message to application service end, and then application service end is according to message Content increment changes local cache, by way of increment modification caching, avoids the full dose cached change and removal and strategy number It according to the interaction in library, reduces in decision strategy issuing process, shakes, protect caused by when tactful full dose load accesses database operation Demonstrate,prove system stability.In addition, for the modification situation of strategy, is issued without personal management when coming into force again, improve tactful hair The user experience of cloth side.
Description of the drawings
Fig. 1 is the system architecture schematic diagram involved by policy issue in current techniques;
Fig. 2 is the policy issue system architecture schematic diagram involved by this specification embodiment;
The data structure schematic diagram for the strategy that Fig. 3 is provided by this specification embodiment;
The schematic diagram for the policy issue operation flow that Fig. 4 is provided by this specification embodiment;
Flow diagram in terms of the policy issue server-side that Fig. 5 is provided by this specification embodiment;
Flow diagram in terms of the messenger service end that Fig. 6 is provided by this specification embodiment;
Flow diagram in terms of the application service end that Fig. 7 is provided by this specification embodiment;
Apparatus structure schematic diagram in terms of the policy issue server-side that Fig. 8 is provided by this specification embodiment;
Apparatus structure schematic diagram in terms of the messenger service end that Fig. 9 is provided by this specification embodiment;
Apparatus structure schematic diagram in terms of the application service end that Figure 10 is provided by this specification embodiment.
Specific implementation mode
To keep the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment and Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one Section Example, instead of all the embodiments.The embodiment of base in this manual, those of ordinary skill in the art are not having The every other embodiment obtained under the premise of creative work is made, shall fall in the protection scope of this application.
In current techniques, decision strategy can be accessed frequently when air control Analysis Service is run, for example, in payment scene In, any once-through operation behavior (logging in, payment) can all carry out the primary analysis of air control in real time, and analysis all can basis in real time each time Corresponding decision strategy is calculated, and its full dose can be preheated when system starts and be existed from database load by these decision strategies In local cache.But the situation of risk resisting, it is desirable that strategy can be runed, and after strategy changes (additions and deletions change), it would be desirable to be able to It comes into force in time.After strategy change at present, database can come into force in time, but need application service end to unify flush buffers when operation Again it is loaded into full dose configuration data from database and replaces.
As shown in FIG. 1, FIG. 1 is the system architecture schematic diagrams involved by policy issue in current techniques.
By registering one " resource of decision strategy publication " in distributed resource management, and it is registered in configuration center Subscription-publication relationship.After operator (policy issue side) changes strategy, strategy changes life directly in the Policy Table of database Effect, but the local cache at application service end also Pending The Entry Into Force, the at this moment Policy Table of the local cache and database at application service end In policy content it is inconsistent.Operator operates " policy issue " function, calls the command service of distributed resource management, is distributed Formula resource command service does two pieces thing:One, distributed resource database is written into the command content of push;Two, in configuring Application service end is arrived in heart push instruction, and application service end obtains " decision plan according to the instruction received from distributed resource cluster Slightly issue resource " changed content, then according to changed content triggering application from policy database load full dose decision strategy.
This policy issue mode, dependence distributed resource management, unified management and control, but inefficiency, if publication frequency Numerous, the tactful full dose load at application service end can be repeatedly interactive with database and carries out memory switching, and service performance declines, sternly It can cause to service when weight unavailable.
Based on this, this specification embodiment provides a kind of policy issue system, the configuration of policy issue client sending strategy Message is changed to messenger service end, messenger service end pushes configuration change message by the way of multicast to application service end, so Local cache is changed in application service end according to message content increment afterwards.
As shown in Fig. 2, Fig. 2 is the policy issue system architecture schematic diagram involved by this specification embodiment.The strategy Delivery system, including:Policy issue server-side 201, messenger service end 202 and application service end 203;
The policy issue server-side 201, receives the instruction of user, is changed to strategy, and store;According to the plan Change situation slightly, generation strategy change configuration message;The strategy change configuration message is sent to messenger service end, wherein The strategy change configuration message carries theme.
Strategy further includes increasing usually by certain data structure storage in the database of policy issue side, to the change of strategy Add, change, deleting, the operations such as Status Change, can by policy issue side on the backstage of server-side into edlin.Every tactful to repair Change all be modified in database and be stored.In other words, after modifying for strategy, in the database, simultaneously Tactful specific modification content is known, thus while storage, database can give birth to according to the tactful specific situation that changes At corresponding strategy change configuration message (for example, configuration message comprising policy name and corresponding modification content), and with one The form of message for determining theme is sent.For example, transmitting (Message Queuing Telemetry by message queue telemetering Transport, MQTT) message with theme is sent to messenger service end.During above-mentioned, pass through people without operator Work issues modified strategy, and removal shows issuing function, improves the user experience of policy issue side.
The messenger service end 203 receives the strategy change configuration message, is closed according to the subscription/publication obtained in advance System pushes the strategy change configuration message to the application service end for having subscribed the theme.
Messenger service end is as a message terminal, according to pre-registered publish/subscribe relationship, by above-mentioned message Push to the application service end for having subscribed the theme.It should be noted that the registration of publish/subscribe relationship can be in messenger service It is carried out on device, but in practice, it can also be registered on special configuration center server, to manage, to disappear Corresponding publish/subscribe relationship can be obtained from configuration center in advance by ceasing server-side, and lower of operating status need to be responsible for pushing away for message It send.
The application service end 205 receives the strategy change configuration message of messenger service end push, is become according to the strategy More configure the strategy of information updating local cache.
Application service end 205 can carry out theme subscription in configuration center in advance (can also be enterprising at messenger service end 203 Row is subscribed to), so that messenger service end 203 can accurately carry out message push.Obtain what messenger service end was pushed monitoring When strategy change configuration message, message is parsed, obtains relevant information therein (such as policy name, strategy modification letter Breath etc.) update local cache in strategy.Storage relationship in caching is generally based on Hash mapping (HashMap) realization , i.e., strategy is that the form of key-value key-value pairs (policy name, policy information) is stored in caching, and key is every strategy Uuid, be unique ID of newly-generated strategy;Value is this tactful particular content, generally comprises policy name, strategy is retouched It states, tactful output action, policy condition content;In routing tree strategy, content can have more node plan on the basis of simple strategy Slightly reference information.Each facility strategy, corresponding is simple strategy.Tactful content can extend in value, be not limited only to plan Slightly, rule, variable, model etc. can also be substituted for.
It is changed in configuration message from strategy and parses acquisition strategy title, you can the strategy modification for being included according to configuration information Information modifies to policy information, the strategy of update application service end local cache.
Certainly, the strategy at application service end can not also be stored in caching, and be stored in application service end Database in, by above-mentioned mode can also realize to application server-side local data base in strategy modify, It modifies when starting so as to next application service end.
After policy issue side is modified strategy, policy issue service degree end sending strategy configuration change disappears Messenger service end is ceased, messenger service end pushes configuration change message to application service end, and then application service end is according to message Content increment changes local cache, by way of increment modification caching, avoids the full dose cached change and removal and strategy number It according to the interaction in library, reduces in decision strategy issuing process, shakes, protect caused by when tactful full dose load accesses database operation Demonstrate,prove system stability.
As a kind of specific embodiment, the application service end 205 receives strategy change configuration message, generates Confirmation message is simultaneously sent to messenger service end 203;The messenger service end 203, receives the confirmation message.In other words, disappearing In the issuing process of breath, the published method of reliable news may be used, it is ensured that all application service ends can all receive message, from And ensure the consistency of policy data.
As a kind of specific embodiment, the policy issue server-side 201 sends the strategy change for carrying version number Configure message;The application service end, the version number that configuration message is changed to strategy verifies, if being verified, according to institute The strategy for stating strategy change configuration information updating local does not update local strategy if authentication failed.Specifically, version number With certain format (for example, time domain or serial number), and application service end can verify version number, learn Which version number is newest or highest, to only be changed to the strategy for carrying maximum version number when receiving message Configuration message is updated, and ensure that the timeliness of strategy.
As a kind of specific embodiment, the policy issue server-side 201 sends the strategy change for carrying message identifier More configure message;The application service end 203, the message identifier that configuration message is changed to strategy are verified, if described in carrying The strategy change configuration message of message identifier has processed, and does not update local strategy.Specifically, messenger service end 203 Be possible to when carrying out message push can there is a phenomenon where repeat push.Based on this, is sent and had by policy issue server-side 201 The strategy change configuration message for having unique ID (message identifier), thus in case of repeating to push, then their message mark Knowledge is exactly identical, to which application service end judges message identifier when receiving message, if having the message identifier Strategy change configuration message it is updated, just no longer update, ensure that the idempotence of processing.
As a kind of specific embodiment, the messenger service end 203 stores the strategy change configuration received and disappears Breath.Message progress persistence processing is configured by changing strategy, same message can repeatedly be pushed, avoid leakage hair etc. Phenomenon.
As a kind of specific embodiment, the strategy includes the routing tree strategy being made of multiple nodes, the road Include routing tree strategy essential information, nodal information, point spread information and node adduction relationship by tree strategy.The strategy becomes More configuring message includes:Routing tree policy name and corresponding routing tree strategy essential information, nodal information, point spread information With node adduction relationship.
As shown in figure 3, the data structure schematic diagram for the strategy that Fig. 3 is provided by this specification embodiment.In the figure, (a) strategy (policy information) refers to the content of specific strategy;(b) strategy_extension (strategy extension letters Breath), refer to the attribute extended inside strategy;(c) strategy_def (tactful essential information definition) refers to tactful basic Information defines;(d) strategy_ref (tactful adduction relationship) realizes routing tree construction, the external table of strategy according to the structure Existing form can be tree structure, this table has recorded the relationship between strategy, such as the relationship of father and son's node.
For example, there are one routing tree strategies:A → (b, c), to, on business model, the information of this routing tree strategy Definition in table is:strategy_def:The essential information of the routing tree strategy;strategy:A, the letter of tri- nodes of b, c Breath;strategy_extension:A, the extension information of tri- nodes of b, c;strategy_ref:A, b, c tri- nodes draw With relationship.
To when carrying out edit-modify to the strategy in database, can clearly learn route to which in the database Which kind of modification (such as additions and deletions some polices node, alternatively, the information to some node or expansion is made in that part of tree strategy Exhibition information is edited), message is configured to generate corresponding policy update, comprising policy name and to the plan in the message Correspondence modification mode (for example, the content of facility strategy or reference situation of facility strategy) slightly, so that application service end exists It, can be according to policy name to the Hash mapping of the storage strategy in local cache after receiving strategy change configuration message Table carries out corresponding update.
Specific policy issue flow is as shown in figure 4, the policy issue Business Stream that Fig. 4 is provided by this specification embodiment The schematic diagram of journey.
Based on same thinking, this specification embodiment also provides a kind of policy issue method, as shown in figure 5, Fig. 5 is this Flow diagram in terms of the policy issue server-side that specification embodiment is provided, including:
S501 receives the instruction of user, is changed to strategy, and stores;
S503, according to the change situation of the strategy, generation strategy change configuration message, wherein the strategy change is matched It sets message and carries theme;
S505 sends the strategy change configuration message to messenger service end, so that the messenger service end is according in advance The subscription/publication relationship of acquisition pushes the strategy change configuration message to the application service end for having subscribed the theme.
Further, in the S503, generation strategy change configures message, including:It generates and carries version number Strategy change configuration message.
Further, in the S503, generation strategy change configures message, including:It generates and carries message identifier Strategy change configuration message.
Further, include the routing tree strategy being made of multiple nodes, the routing for the strategy in described 501 Tree strategy includes routing tree strategy essential information, nodal information, point spread information and node adduction relationship.
Based on same thinking, this specification embodiment also provides another policy issue method, as shown in fig. 6, Fig. 6 is Flow diagram in terms of the messenger service end that this specification embodiment is provided, including:
S601 receives the strategy change configuration message of the carrying theme transmitted by policy issue server-side;
It is described to having subscribed to push the strategy change configuration message according to the subscription/publication relationship obtained in advance by S603 The application service end of theme.
Based on same thinking, this specification embodiment also provides another policy issue method, as shown in fig. 7, Fig. 7 is Flow diagram in terms of the application service end that this specification embodiment is provided, including:
S701 receives the strategy change configuration message of messenger service end push;
S703, according to the strategy of the strategy change configuration information updating local cache.
Further, for the method, in S703 according to the plan of the strategy change configuration information updating local cache Before slightly, further include:The tactful version number changed entrained by configuration message and/or message identifier are verified, if testing Card failure, without update;If being proved to be successful, it is updated.
Further, according to the strategy of the strategy change configuration information updating local cache in the S703, including:It obtains Take policy name included in strategy change configuration message;The tactful Hash in local cache is reflected according to the policy name Firing table is updated.
Based on same thinking, the present invention also provides a kind of policy issue devices, as shown in figure 8, Fig. 8 is that this specification is real The apparatus structure schematic diagram in terms of the policy issue server-side that example is provided is applied, including:
Reception and memory module 801, receive the instruction of user, are changed to strategy, and store;
Generation module 803, according to the change situation of the strategy, generation strategy change configuration message, wherein the strategy Change configuration message carries theme
Sending module 805 sends the strategy change configuration message to messenger service end, so as to messenger service end root According to the subscription/publication relationship obtained in advance, the strategy change configuration message is pushed to the application service for having subscribed the theme End.
Based on same thinking, the present invention also provides another policy issue devices, as shown in figure 9, Fig. 9 is this specification Apparatus structure schematic diagram in terms of the messenger service end that embodiment is provided, including:
Receiving module 901 receives the strategy change configuration message of the carrying theme transmitted by policy issue server-side;
Pushing module 903 pushes the strategy change configuration message to ordering according to the subscription/publication relationship obtained in advance The application service end of the theme is read.
Based on same thinking, the present invention also provides another policy issue devices, and as shown in Figure 10, Figure 10 is this explanation Apparatus structure schematic diagram in terms of the application service end that book embodiment is provided, including:
Receiving module 1001 receives the strategy change configuration message of messenger service end push;
Update module 1003, according to the strategy of the strategy change configuration information updating local cache.
Corresponding, this specification embodiment also provides a kind of policy issue equipment, including:
Memory is stored with policy issue program;
Processor calls the policy issue program in memory, and executes:
The instruction for receiving user, changes strategy, and store;
According to the change situation of the strategy, generation strategy change configuration message, wherein the strategy change configuration message Carry theme
The strategy change configuration message is sent to messenger service end, so that the messenger service end according to obtaining in advance Subscription/publication relationship pushes the strategy change configuration message to the application service end for having subscribed the theme.
Corresponding, this specification embodiment also provides another policy issue equipment, including:
Memory is stored with policy issue program;
Processor calls the policy issue program in memory, and executes:
Receive the strategy change configuration message of the carrying theme transmitted by policy issue server-side;
According to the subscription/publication relationship obtained in advance, the strategy change configuration message is pushed to having subscribed the theme Application service end.
Corresponding, this specification embodiment also provides another policy issue equipment, including:
Memory is stored with policy issue program;
Processor calls the policy issue program in memory, and executes:
Receive the strategy change configuration message of messenger service end push;
According to the strategy of the strategy change configuration information updating local cache.
Corresponding, the embodiment of this specification also provides a kind of nonvolatile computer storage media, is stored with computer Executable instruction, the computer executable instructions are set as:
The instruction for receiving user, changes strategy, and store;
According to the change situation of the strategy, generation strategy change configuration message, wherein the strategy change configuration message Carry theme
The strategy change configuration message is sent to messenger service end, so that the messenger service end according to obtaining in advance Subscription/publication relationship pushes the strategy change configuration message to the application service end for having subscribed the theme.
Corresponding, the embodiment of this specification also provides another nonvolatile computer storage media, is stored with calculating Machine executable instruction, the computer executable instructions are set as:
Receive the strategy change configuration message of the carrying theme transmitted by policy issue server-side;
According to the subscription/publication relationship obtained in advance, the strategy change configuration message is pushed to having subscribed the theme Application service end.
Corresponding, the embodiment of this specification also provides another nonvolatile computer storage media, is stored with calculating Machine executable instruction, the computer executable instructions are set as:
Receive the strategy change configuration message of messenger service end push;
According to the strategy of the strategy change configuration information updating local cache.
Each embodiment in this specification is described in a progressive manner, identical similar portion between each embodiment Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for method, For device, equipment and medium class embodiment, since it is substantially similar to system embodiment, so fairly simple, the phase of description It closes place referring to the part of embodiment of the method to illustrate, just no longer repeat one by one here.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims It is interior.In some cases, the action recorded in detail in the claims or step or module can be according to different from embodiments Sequence executes and desired result still may be implemented.In addition, the process described in the accompanying drawings is not necessarily required and is shown Particular order or consecutive order could realize desired result.In some embodiments, multitasking and parallel processing It is also possible or it may be advantageous.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example, Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit. Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device (Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " patrols Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development, And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language (Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL (Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL (Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language) etc., VHDL (Very-High-Speed are most generally used at present Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages, The hardware circuit for realizing the logical method flow can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can Read medium, logic gate, switch, application-specific integrated circuit (Application SpecificIntegrated Circuit, ASIC), The form of programmable logic controller (PLC) and embedded microcontroller, the example of controller includes but not limited to following microcontroller:ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, memory control Device processed is also implemented as a part for the control logic of memory.It is also known in the art that in addition to pure calculating Machine readable program code mode is realized other than controller, can make control by the way that method and step is carried out programming in logic completely Device is identical to realize in the form of logic gate, switch, application-specific integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc. Function.Therefore this controller is considered a kind of hardware component, and to including for realizing various functions in it Device can also be considered as the structure in hardware component.Or even, can both may be used being considered as realizing the device of various functions Can be the structure in hardware component again to be the software module of implementation method.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment The combination of equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this The function of each unit is realized can in the same or multiple software and or hardware when the embodiment of specification.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus Or any other non-transmission medium, it can be used for storage and can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitorymedia), the data letter number and carrier wave of such as modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability Including so that process, method, commodity or equipment including a series of elements include not only those elements, but also wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that wanted including described There is also other identical elements in the process of element, method, commodity or equipment.
It will be understood by those skilled in the art that embodiment one or more in this specification can be provided as method, system or Computer program product.Therefore, complete hardware embodiment, complete software embodiment or combination can be used in the embodiment of this specification Form in terms of software and hardware.Moreover, it wherein includes computer that the embodiment of this specification, which can be used in one or more, The computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of usable program code The form of the computer program product of upper implementation.
The embodiment of this specification can retouch in the general context of computer-executable instructions executed by a computer It states, such as program module.Usually, program module include execute particular transaction or realize particular abstract data type routine, Program, object, component, data structure etc..The embodiment that this specification can also be put into practice in a distributed computing environment, at this In a little distributed computing environment, by executing affairs by the connected remote processing devices of communication network.It is counted in distribution It calculates in environment, program module can be located in the local and remote computer storage media including storage device.

Claims (20)

1. a kind of policy issue system, including:Policy issue server-side, messenger service end and application service end;
The policy issue server-side, receives the instruction of user, is changed to strategy, and store;According to the change of the strategy More situation, generation strategy change configuration message;The strategy change configuration message is sent to messenger service end, wherein the plan Slightly change configuration message carries theme;
The messenger service end receives the strategy change configuration message, according to the subscription/publication relationship obtained in advance, push The strategy change configures message to the application service end for having subscribed the theme;
The application service end receives the strategy change configuration message of messenger service end push, according to the strategy change configuration The strategy of information updating local cache.
2. the system as claimed in claim 1, the application service end generate and confirm after receiving strategy change configuration message Information and sending is to messenger service end;The messenger service end, receives the confirmation message.
3. the system as claimed in claim 1, the policy issue server-side, the strategy change configuration for sending carrying version number disappears Breath;The application service end, the version number that configuration message is changed to strategy verifies, if being verified, according to the strategy The strategy of change configuration information updating local does not update local strategy if authentication failed.
4. the system as claimed in claim 1, the policy issue server-side send the strategy change configuration for carrying message identifier Message;The application service end, the message identifier that configuration message is changed to strategy is verified, if carrying the message identifier Strategy change configuration message has processed, and does not update local strategy.
5. the system as claimed in claim 1, the messenger service end store the strategy change configuration message received.
6. the system as claimed in claim 1, the strategy includes the routing tree strategy being made of multiple nodes, the routing tree Strategy includes routing tree strategy essential information, nodal information, point spread information and node adduction relationship.
7. a kind of policy issue method, including:
The instruction for receiving user, changes strategy, and store;
According to the change situation of the strategy, generation strategy change configuration message, wherein the strategy change configuration message carries Theme;
The strategy change configuration message is sent to messenger service end, so that the messenger service end is ordered according to what is obtained in advance / publication relationship is read, pushes the strategy change configuration message to the application service end for having subscribed the theme.
8. the method for claim 7, generation strategy change configuration message, including:
Generate the strategy change configuration message for carrying version number.
9. the method for claim 7, generation strategy change configuration message, including:
Generate the strategy change configuration message for carrying message identifier.
10. the method for claim 7, the strategy includes the routing tree strategy being made of multiple nodes, the routing Tree strategy includes routing tree strategy essential information, nodal information, point spread information and node adduction relationship.
11. a kind of policy issue method, including:
Receive the strategy change configuration message of the carrying theme transmitted by policy issue server-side;
According to the subscription/publication relationship obtained in advance, the strategy change configuration message is pushed to having subscribed answering for the theme Use server-side.
12. a kind of policy issue method, including:
Receive the strategy change configuration message of messenger service end push;
According to the strategy of the strategy change configuration information updating local cache.
13. method as claimed in claim 12, before the strategy of the strategy change configuration information updating local cache, Further include:
To it is described strategy change configuration message entrained by version number and/or message identifier verify, if authentication failed, not into Row update;If being proved to be successful, it is updated.
14. method as claimed in claim 12, the strategy according to the strategy change configuration information updating local cache, Including:
Policy name included in acquisition strategy change configuration message;
The tactful Hash Map in local cache is updated according to the policy name.
15. a kind of policy issue device, including:
Reception and memory module, receive the instruction of user, are changed to strategy, and store;
Generation module, according to the change situation of the strategy, generation strategy change configuration message, wherein the strategy change is matched It sets message and carries theme
Sending module sends the strategy change configuration message to messenger service end, so that the messenger service end is according in advance The subscription/publication relationship of acquisition pushes the strategy change configuration message to the application service end for having subscribed the theme.
16. a kind of policy issue device, including:
Receiving module receives the strategy change configuration message of messenger service end push;
Update module, according to the strategy of the strategy change configuration information updating local cache.
17. a kind of policy issue device, including:
Receiving module receives the strategy change configuration message of the carrying theme transmitted by policy issue server-side;
It is described to having subscribed to push the strategy change configuration message according to the subscription/publication relationship obtained in advance for pushing module The application service end of theme.
18. a kind of policy issue equipment, including:
Memory is stored with policy issue program;
Processor calls the policy issue program in memory, and executes:
The instruction for receiving user, changes strategy, and store;
According to the change situation of the strategy, generation strategy change configuration message, wherein the strategy change configuration message carries Theme
The strategy change configuration message is sent to messenger service end, so that the messenger service end is ordered according to what is obtained in advance / publication relationship is read, pushes the strategy change configuration message to the application service end for having subscribed the theme.
19. a kind of policy issue equipment, including:
Memory is stored with policy issue program;
Processor calls the policy issue program in memory, and executes:
Receive the strategy change configuration message of the carrying theme transmitted by policy issue server-side;
According to the subscription/publication relationship obtained in advance, the strategy change configuration message is pushed to having subscribed answering for the theme Use server-side.
20. a kind of policy issue equipment, including:
Memory is stored with policy issue program;
Processor calls the policy issue program in memory, and executes:
Receive the strategy change configuration message of messenger service end push;
According to the strategy of the strategy change configuration information updating local cache.
CN201810029566.5A 2018-01-12 2018-01-12 Policy issuing system, method, device and equipment Active CN108418851B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810029566.5A CN108418851B (en) 2018-01-12 2018-01-12 Policy issuing system, method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810029566.5A CN108418851B (en) 2018-01-12 2018-01-12 Policy issuing system, method, device and equipment

Publications (2)

Publication Number Publication Date
CN108418851A true CN108418851A (en) 2018-08-17
CN108418851B CN108418851B (en) 2020-12-04

Family

ID=63125506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810029566.5A Active CN108418851B (en) 2018-01-12 2018-01-12 Policy issuing system, method, device and equipment

Country Status (1)

Country Link
CN (1) CN108418851B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109284305A (en) * 2018-08-23 2019-01-29 阿里巴巴集团控股有限公司 A kind of update method of data, apparatus and system
CN109522031A (en) * 2018-08-29 2019-03-26 上海你我贷互联网金融信息服务有限公司 The deployment and upgrade method of air control strategy
CN110401704A (en) * 2019-07-11 2019-11-01 安克创新科技股份有限公司 The methods, devices and systems of message push
CN110493143A (en) * 2019-07-11 2019-11-22 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Dynamic adjusts method, system, device and the medium of news release frequency
CN111222089A (en) * 2020-04-14 2020-06-02 苏宁云计算有限公司 Data processing method, data processing device, computer equipment and storage medium
CN112015469A (en) * 2020-07-14 2020-12-01 北京淇瑀信息科技有限公司 System reconfiguration method and device and electronic equipment
CN112184235A (en) * 2020-09-04 2021-01-05 支付宝(杭州)信息技术有限公司 Wind control data changing method and device
CN112506896A (en) * 2019-09-16 2021-03-16 杭州海康威视系统技术有限公司 Data deleting method and device and electronic equipment
CN112860343A (en) * 2021-02-10 2021-05-28 北京百度网讯科技有限公司 Configuration changing method, system, device, electronic equipment and storage medium
CN113362501A (en) * 2021-06-08 2021-09-07 南京邮电大学 Intelligent lock system based on Internet of things
CN114221906A (en) * 2021-11-11 2022-03-22 百度在线网络技术(北京)有限公司 Flow control method and device, electronic equipment and storage medium
CN114331167A (en) * 2021-12-31 2022-04-12 北京宇信科技集团股份有限公司 Champion challenger strategy management method, system, medium and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7640207B1 (en) * 2003-12-30 2009-12-29 Trading Technologies International, Inc. System and method for dynamically determining quantity for risk management
CN105488076A (en) * 2014-10-09 2016-04-13 阿里巴巴集团控股有限公司 Data accumulation method and device
CN105718490A (en) * 2014-12-04 2016-06-29 阿里巴巴集团控股有限公司 Method and device for updating classifying model
CN105844522A (en) * 2016-03-30 2016-08-10 东华大学 Programmed futures trading match system
CN106203754A (en) * 2015-05-04 2016-12-07 阿里巴巴集团控股有限公司 A kind of electronic surface list risk control method, device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7640207B1 (en) * 2003-12-30 2009-12-29 Trading Technologies International, Inc. System and method for dynamically determining quantity for risk management
CN105488076A (en) * 2014-10-09 2016-04-13 阿里巴巴集团控股有限公司 Data accumulation method and device
CN105718490A (en) * 2014-12-04 2016-06-29 阿里巴巴集团控股有限公司 Method and device for updating classifying model
CN106203754A (en) * 2015-05-04 2016-12-07 阿里巴巴集团控股有限公司 A kind of electronic surface list risk control method, device and electronic equipment
CN105844522A (en) * 2016-03-30 2016-08-10 东华大学 Programmed futures trading match system

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109284305A (en) * 2018-08-23 2019-01-29 阿里巴巴集团控股有限公司 A kind of update method of data, apparatus and system
CN109522031A (en) * 2018-08-29 2019-03-26 上海你我贷互联网金融信息服务有限公司 The deployment and upgrade method of air control strategy
CN110401704B (en) * 2019-07-11 2022-04-29 安克创新科技股份有限公司 Message pushing method, device and system
CN110401704A (en) * 2019-07-11 2019-11-01 安克创新科技股份有限公司 The methods, devices and systems of message push
CN110493143A (en) * 2019-07-11 2019-11-22 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Dynamic adjusts method, system, device and the medium of news release frequency
CN110493143B (en) * 2019-07-11 2022-10-18 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Method, system, device and medium for dynamically adjusting message distribution frequency
CN112506896B (en) * 2019-09-16 2023-08-04 杭州海康威视系统技术有限公司 Data deleting method and device and electronic equipment
CN112506896A (en) * 2019-09-16 2021-03-16 杭州海康威视系统技术有限公司 Data deleting method and device and electronic equipment
CN111222089A (en) * 2020-04-14 2020-06-02 苏宁云计算有限公司 Data processing method, data processing device, computer equipment and storage medium
CN112015469A (en) * 2020-07-14 2020-12-01 北京淇瑀信息科技有限公司 System reconfiguration method and device and electronic equipment
CN112015469B (en) * 2020-07-14 2023-11-14 北京淇瑀信息科技有限公司 System reconstruction method and device and electronic equipment
CN112184235A (en) * 2020-09-04 2021-01-05 支付宝(杭州)信息技术有限公司 Wind control data changing method and device
CN112860343A (en) * 2021-02-10 2021-05-28 北京百度网讯科技有限公司 Configuration changing method, system, device, electronic equipment and storage medium
CN112860343B (en) * 2021-02-10 2024-04-23 北京百度网讯科技有限公司 Configuration changing method, system, device, electronic equipment and storage medium
CN113362501A (en) * 2021-06-08 2021-09-07 南京邮电大学 Intelligent lock system based on Internet of things
CN114221906A (en) * 2021-11-11 2022-03-22 百度在线网络技术(北京)有限公司 Flow control method and device, electronic equipment and storage medium
CN114331167A (en) * 2021-12-31 2022-04-12 北京宇信科技集团股份有限公司 Champion challenger strategy management method, system, medium and equipment

Also Published As

Publication number Publication date
CN108418851B (en) 2020-12-04

Similar Documents

Publication Publication Date Title
CN108418851A (en) Policy issue system, method, apparatus and equipment
US8719253B2 (en) Method and apparatus for efficiently organizing hierarchical QoS policies
CN108537063A (en) A kind of method, apparatus and equipment of data storage
CN109634598A (en) A kind of page display method, device, equipment and storage medium
CN106970936A (en) Data processing method and device, data query method and device
CN107526777A (en) A kind of method and apparatus handled based on version number file
CN109614404B (en) Data caching system and method
CN108595234A (en) Five application page switching method, device and equipment
CN110134668A (en) Data migration method, device and equipment applied to block chain
CN108345977A (en) A kind of method for processing business and device
CN108833252A (en) A kind of method for sending information based on cluster, device and equipment
CN109344348A (en) A kind of resource regeneration method and device
CN109582485A (en) A kind of configuration change method for detecting abnormality and device
CN109684036A (en) A kind of container cluster management method, storage medium, electronic equipment and system
CN112866111A (en) Flow table management method and device
CN109617829A (en) A kind of processing method of service request data, apparatus and system
CN108334340A (en) A kind of Cross-environment data communications method, device and system
CN109284305A (en) A kind of update method of data, apparatus and system
CN107196772A (en) A kind of method and device of broadcast message
CN110502415A (en) One kind burying a setting method, device and equipment
CN108268289A (en) Method for parameter configuration, the apparatus and system of web applications
CN108427737A (en) A kind of data clearing method, equipment and computer-readable medium
CN107844308A (en) A kind of information processing method, device and equipment
CN109471838A (en) The operating method of Catalog Documents, device, electronic equipment, readable storage medium storing program for executing
CN108449378A (en) A kind of information-pushing method, device and 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
TA01 Transfer of patent application right

Effective date of registration: 20201020

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201020

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant