CN109218452A - Method and apparatus for pushing nodal information - Google Patents

Method and apparatus for pushing nodal information Download PDF

Info

Publication number
CN109218452A
CN109218452A CN201811365254.8A CN201811365254A CN109218452A CN 109218452 A CN109218452 A CN 109218452A CN 201811365254 A CN201811365254 A CN 201811365254A CN 109218452 A CN109218452 A CN 109218452A
Authority
CN
China
Prior art keywords
information
node
scheduled
identification information
scheduling
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
CN201811365254.8A
Other languages
Chinese (zh)
Other versions
CN109218452B (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.)
JD Digital Technology Holdings Co Ltd
Jingdong Technology Holding Co Ltd
Original Assignee
Beijing Jingdong Financial Technology Holding Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Financial Technology Holding Co Ltd filed Critical Beijing Jingdong Financial Technology Holding Co Ltd
Priority to CN201811365254.8A priority Critical patent/CN109218452B/en
Publication of CN109218452A publication Critical patent/CN109218452A/en
Priority to PCT/CN2019/104310 priority patent/WO2020098346A1/en
Application granted granted Critical
Publication of CN109218452B publication Critical patent/CN109218452B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • 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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the present application discloses the method and apparatus for pushing nodal information.One specific embodiment of this method includes: the scheduling request information for receiving scheduling node, and scheduling request information includes the scheduling node identification information of scheduling node;In response to determining the information for existing in current configuration information and matching with scheduling node identification information, predetermined candidate scheduled node identities identification information set is sent to scheduling node.The embodiment facilitates the steady fixed sum data safety of safeguards system.

Description

Method and apparatus for pushing nodal information
Technical field
The invention relates to field of computer technology, and in particular to the method and apparatus for pushing nodal information.
Background technique
It in the related technology, can be in the control node in the name information and system of system in node scheduling application In situation known to some relevant parameters, by newly-increased scheduling node or scheduled node access system, and make the tune newly accessed Degree node or scheduled node can run corresponding task under system.
Summary of the invention
The embodiment of the present application proposes the method and apparatus for pushing nodal information.
In a first aspect, the embodiment of the present application provides a kind of method for pushing nodal information, this method comprises: receiving The scheduling request information of scheduling node, scheduling request information include the scheduling node identification information of scheduling node;In response to It determines the information for existing in current configuration information and matching with scheduling node identification information, predetermined candidate is adjusted Degree node identities identification information set is sent to scheduling node.
In some embodiments, before the scheduling request information for receiving scheduling node, this method further include: obtain storage Configuration information in setting position;Determine the encryption information of configuration information;In response to determining encryption information and history encryption information It mismatches, configuration information is determined as current configuration information, and encryption information is determined as history encryption information.
In some embodiments, before the scheduling request information for receiving scheduling node, this method further include: reception is adjusted The registration information of node is spent, registration information includes the scheduled node identities identification information of scheduled node;Response In determining the information for existing in current configuration information and matching with scheduled node identities identification information, scheduled node is determined To register scheduled node.
In some embodiments, candidate scheduled node identities identification information set determines as follows: receiving note The status information that the scheduled node of volume is sent;In response to determining that status information matches with pre-stored status information, will infuse The scheduled node of volume is determined as candidate scheduled node, and will register the identification information of scheduled node as candidate quilt The candidate scheduled node identities identification information set of scheduling node identification information deposit;In response to determining status information and in advance The status information that first stores mismatches, search in candidate scheduled node identities identification information set with register scheduled node The candidate found is scheduled node identities identification information from candidate by corresponding candidate scheduled node identities identification information It is removed in scheduled node identities identification information set.
In some embodiments, current configuration information includes authorization identification information set, in authorization identification information set Authorization identification information includes: the nodename information of authorization node and believes with the user's name of nodename information association storage Breath, internet protocol address information, port number information;Wherein, authorization node includes: scheduling node, and be scheduled node, control Node.
Second aspect, the embodiment of the present application provide it is a kind of for pushing the device of nodal information, the device include: scheduling Receiving unit, is configured to receive the scheduling request information of scheduling node, and scheduling request information includes the scheduling section of scheduling node Point identification information;Information transmitting unit is configured in response to determine in current configuration information exist and scheduling node body Predetermined candidate scheduled node identities identification information set is sent to scheduling section by the information that part identification information matches Point.
In some embodiments, device further include: information determination unit is configured to acquisition and is stored in setting position Configuration information;Determine the encryption information of configuration information;In response to determining that encryption information and history encryption information mismatch, will configure Information is determined as current configuration information, and encryption information is determined as history encryption information.
In some embodiments, device further include: registration receiving unit is configured to receive the registration of scheduled node Solicited message, registration information include the scheduled node identities identification information of scheduled node;Determination unit is registered, is matched It is set in response to determining the information for existing in current configuration information and matching with scheduled node identities identification information, will be scheduled Node is determined as registering scheduled node.
In some embodiments, candidate scheduled node identities identification information set determines as follows: receiving note The status information that the scheduled node of volume is sent;In response to determining that status information matches with pre-stored status information, will infuse The scheduled node of volume is determined as candidate scheduled node, and will register the identification information of scheduled node as candidate quilt The candidate scheduled node identities identification information set of scheduling node identification information deposit;In response to determining status information and in advance The status information that first stores mismatches, search in candidate scheduled node identities identification information set with register scheduled node The candidate found is scheduled node identities identification information from candidate by corresponding candidate scheduled node identities identification information It is removed in scheduled node identities identification information set.
In some embodiments, current configuration information includes authorization identification information set, in authorization identification information set Authorization identification information includes: the nodename information of authorization node and believes with the user's name of nodename information association storage Breath, internet protocol address information, port number information;Wherein, authorization node includes: scheduling node, and be scheduled node, control Node.
The third aspect, the embodiment of the present application provide a kind of server, comprising: one or more processors;Storage device, One or more programs are stored thereon with, when one or more programs are executed by one or more processors, so that one or more A processor realizes the method such as any embodiment in the method for pushing nodal information.
Fourth aspect, the embodiment of the present application provide a kind of computer-readable medium, are stored thereon with computer program, In, the method such as any embodiment in the method for pushing nodal information is realized when which is executed by processor.
Method and apparatus provided by the embodiments of the present application for pushing nodal information, using current configuration information to scheduling Node carries out safety verification, and the scheduled node identities identification information set of candidate is only sent to the scheduling node being verified, It can be accessed to avoid illegal node, facilitate the steady fixed sum data safety of safeguards system.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that one embodiment of the application can be applied to exemplary system architecture figure therein;
Fig. 2 is the flow chart according to one embodiment of the method for pushing nodal information of the application;
Fig. 3 is the schematic diagram according to an application scenarios of the method for pushing nodal information of the embodiment of the present application;
Fig. 4 is the flow chart according to another embodiment of the method for pushing nodal information of the application;
Fig. 5 is the structural schematic diagram according to one embodiment of the device for pushing nodal information of the application;
Fig. 6 is adapted for the structural schematic diagram for the computer system for realizing the server of the embodiment of the present application.
Specific embodiment
The application 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 related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the method for being used to push nodal information of the embodiment of the present application or for pushing node letter The exemplary system architecture 100 of the device of breath.
As shown in Figure 1, system architecture 100 may include control node 101, scheduling node 102,103, be scheduled node 104,105,106,107, network 108,109,110.Network 108,109,110 in control node 101, scheduling node 102, 103, be scheduled node 104,105,106,107 between provide communication link medium.Network 108,109,110 may include each Kind connection type, such as wired, wireless communication link or fiber optic cables etc..
Scheduling node 102,103 can by network 108,110 and control node 101 and scheduled node 104,105, 106,107 interaction, to receive information or transmission information etc..Scheduling node 102,103 can be to provide the server of various services, For example, the dispatch server being scheduled to scheduled node 104,105,106,107.Dispatch server can receive control The candidate that node 101 processed is sent is scheduled after node identities identification information set, is scheduled to the scheduled node of candidate.
Scheduled node 104,105,106,107 can pass through network 109,110 and control node 101 and scheduling node 102,103 interaction, to receive information or transmission information etc..Scheduled node 104,105,106,107 can be to provide various clothes The server of business, for example, executing the scheduled server for the scheduler task that scheduling node 102,103 distributes.Scheduled server Scheduler task can be executed after the scheduler task for receiving scheduling node 102,103.
Control node 101 can by network 108,109 and scheduling node 102,103 and scheduled node 104,105, 106,107 interaction, to receive or send information etc..Control node 101 can be to provide the server of various services, for example, control Scheduling node 102,103 processed dispatches the control server of scheduled node 104,105,106,107.Control server can be true Determine after there is the information to match with scheduling node identification information in current configuration information, predetermined candidate is adjusted Degree node identities identification information set is sent to scheduling node 102,103.
It should be noted that for pushing the method for nodal information generally by control node provided by the embodiment of the present application 101 execute, and correspondingly, the device for pushing nodal information is generally positioned in control node 101.It should be pointed out that this For pushing the method for nodal information independent of scheduled node 104,105,106,107 provided by application embodiment, because And scheduled node 104,105,106,107 can be not present in Fig. 1.
It should be understood that the number of control node, scheduled node and scheduling node in Fig. 1 is only schematical.Root It factually now needs, can have any number of control node, scheduled node and scheduling node.
With continued reference to Fig. 2, the stream of one embodiment of the method for pushing nodal information according to the application is shown Journey 200.The method for being used to push nodal information, comprising the following steps:
Step 201, the scheduling request information of scheduling node is received, scheduling request information includes the scheduling node of scheduling node Identification information.
In the present embodiment, for pushing executing subject (such as the control node shown in FIG. 1 of the method for nodal information 101) scheduling request information of scheduling node can be received by wired connection mode or radio connection.Wherein, above-mentioned Scheduling request information can include but is not limited to the scheduling node identification information of scheduling node.Wherein, the tune of scheduling node Degree node identities identification information can be any identification information of the identity for characterizing scheduling node.For example, scheduling node body Part identification information can be the number " 1 " of the identity for characterizing scheduling node.In the present embodiment, scheduling node can for Any node of executing subject transmission scheduling request information.For example, above-mentioned scheduling node can be the center in Presto cluster Scheduling node (Coordinator).
Optionally, the scheduling node identification information of scheduling node can include but is not limited to the node name of scheduling node Claim information and believes with the user's name information, internet protocol address information, port numbers of nodename information association storage Breath.
Step 202, in response to determining the letter for existing in current configuration information and matching with scheduling node identification information Predetermined candidate scheduled node identities identification information set is sent to scheduling node by breath.
In the present embodiment, above-mentioned executing subject, can be using tune after receiving the scheduling request information of scheduling node Scheduling node identification information included by degree solicited message is compared with current configuration information.
Wherein, above-mentioned current configuration information can for record have in access system (for example, Presto cluster) it is each from There is the set of the identification information of node.Wherein, the identification information for having node by oneself can be for characterizing own node Identity any identification information.For example, the identification information of own node can be the identity for characterizing own node Number " 5 ".
Optionally, the identification information for having node by oneself can include but is not limited to: the nodename information of own node And user's name information, internet protocol address information, port number information with the storage of nodename information association.It needs , it is noted that above-mentioned own node, refers to node in system, by administrator setting.Own node may include: to adjust Spend node, control node, scheduled node.
In practical application, using scheduling node identification information and current configuration information included by scheduling request information When being compared, since a node has an IP address, and an IP address can often correspond to multiple users.Therefore, If the nodename information in a certain identification information, user's name information, IP address information in current configuration information, It is identical with nodename information, user's name information, the IP address information in scheduling node identification information respectively, then Think there is the information to match with scheduling node identification information in current configuration information.At this point, by predetermined time Scheduled node identities identification information set is selected to be sent to scheduling node.
In addition, in the present embodiment, above-mentioned executing subject is by predetermined candidate scheduled node identities identification information collection Conjunction is sent to scheduling node, it is intended that scheduling node can be using in candidate scheduled node identities identification information set Candidate be scheduled node identities identification information, find candidate scheduled node, found so that scheduler task be distributed to The scheduled node of candidate.
In some optional implementations of the present embodiment, above-mentioned current configuration information may include authorization identification information Gather, the authorization identification information in authorization identification information set includes: the nodename information and and node name of authorization node Claim user's name information, the IP address information, port number information of information association storage;Wherein, authorization node includes: scheduling section Point, be scheduled node, control node.
In the present embodiment, above-mentioned authorization node is the own node in normal operating condition.Here, it is currently configured letter Authorization identification information set is stored in breath, may be implemented that the scheduled node identities identification information set of candidate is only sent to verifying By, scheduling node in normal operating condition, can the further steady fixed sum data safety of safeguards system.
In some optional implementations of the present embodiment, above-mentioned current configuration information further includes unauthorized IP address letter Breath set;And above-mentioned executing subject can be in response to existing and scheduling node identity in the unauthorized IP address information set of determination The unauthorized IP address information that identification information matches sends preset first warning message.
In the present embodiment, unauthorized IP address information can be the IP address of the own node in abnormal operational conditions Information.Wherein, the own node in abnormal operational conditions can be the own node during upgrade maintenance.This In, if in the unauthorized IP address information of a certain item in unauthorized IP address information set and scheduling node identification information IP address information is identical, then it is assumed that exists and scheduling node identification information phase in unauthorized IP address information set The unauthorized IP address information matched.
In the present embodiment, unauthorized IP address information set is stored in current configuration information, it can be in discovery in non- When the own node of normal operating condition attempts to connect with control node, alarm is issued, to notify administrative staff to handle in time.This In, administrative staff can be notified to handle in time by modes such as short message or mails.Wherein, the first warning message can be for table The own node of sign abnormal operational conditions attempts any information connecting with control node.
In some optional implementations of the present embodiment, executing subject can be in response to determining in current configuration information There is no the information to match with scheduling node identification information, send preset second warning message.
In the present embodiment, if there is no the letters to match with scheduling node identification information in current configuration information Breath, then it is assumed that scheduling node is the node except the own node of system.At this point it is possible to by modes such as short message or mails to management Personnel send the second warning message.Wherein, the second warning message can be tries for characterizing the node that system is had by oneself except node Scheme any information connecting with control node.
Method provided by the embodiments of the present application for pushing nodal information, using current configuration information to scheduling node into The scheduled node identities identification information set of candidate is only sent to the scheduling node being verified, can kept away by row safety verification Exempt from illegal node (own node, system in abnormal operational conditions have the node etc. except node by oneself) access, Ke Yibao The steady fixed sum data safety of barrier system.
It is one of the application scenarios of the method according to the present embodiment for pushing nodal information with continued reference to Fig. 3, Fig. 3 Schematic diagram.Wherein, system can be Presto cluster, and control node can be the service discovery node in Presto cluster (DiscoveryService), scheduling node can be the central dispatching node (Coordinator) in Presto cluster, be adjusted Spending node can be the working node (Worker) in Presto cluster.In the application scenarios 300 of Fig. 3, firstly, central dispatching Node 301 sends scheduling request information to service discovery node 302.Wherein, scheduling request information includes central dispatching node 301 Central dispatching node identities identification information A.Then, the scheduling that service discovery node 302 receives central dispatching node 301 is asked Information is sought, central dispatching node identities are identified into letter A and are compared one by one with the information in current configuration information.Finally, true Determine there are such information in current configuration information, some or all of it content believes A with central dispatching node identities mark In some or all of content it is identical when, service discovery node 302 determine current configuration information in exist and central dispatching node The information that identification information A matches, and predetermined candidate working node identification information set is sent to Heart scheduling node 301.
The method provided by the above embodiment for pushing nodal information of the application, using current configuration information to scheduling Node carries out safety verification, and the scheduled node identities identification information set of candidate is only sent to the scheduling node being verified, It can be accessed to avoid illegal node, improve system stability and Information Security.
With further reference to Fig. 4, it illustrates the processes 400 of another embodiment of the method for pushing nodal information. This is used to push the process 400 of the method for nodal information, comprising the following steps:
Step 401, the configuration information for being stored in setting position is obtained;Determine the encryption information of configuration information;In response to true Determine encryption information and history encryption information mismatches, configuration information is determined as current configuration information, and encryption information is true It is set to history encryption information.
In the present embodiment, executing subject can pass through limited connection or the side of wireless connection according to the period of setting Formula obtains configuration information from setting position.Wherein, above-mentioned set device can be USB flash disk, and the data for being also possible to control node are deposited Equipment is stored up, can also be the caching with the interactive device of control node communication connection.The period of above-mentioned setting can be one second It is also possible to one minute, here without limitation.
Here, executing subject can execute following steps to acquired configuration information after getting configuration information:
The first step determines the encryption information of configuration information.In the present embodiment, executing subject can be true using various ways The encryption information of fixed acquired configuration information, for example, message digest algorithm (Message-Digest can be used Algorithm the MD5 value of configuration information) is calculated, other secret values of configuration information can also be calculated using other algorithms.Here Without limitation.
Configuration information is determined as currently matching by second step in response to determining that encryption information and history encryption information mismatch Confidence breath, and encryption information is determined as history encryption information.In the present embodiment, executing subject can match acquired The encryption information of confidence breath is compared with stored history encryption information.Wherein, if encryption information and history encryption are believed Manner of breathing is same, it may be considered that encryption information with history encryption information be it is matched, can be not processed at this time.If encryption information with History encryption information is not identical, it may be considered that encryption information and history encryption information mismatch, that is, acquired configuration information Compared with current configuration information, there is variation.At this point it is possible to using acquired configuration information as current configuration information.In addition, The encryption information of acquired configuration information as history encryption information and is stored.
Step 402, the registration information of scheduled node is received, registration information includes being adjusted for scheduled node Spend node identities identification information.
In the present embodiment, executing subject can receive scheduled section by way of limited connection or wireless connection The registration information of point.Wherein, registration information can include but is not limited to the scheduled node identities of scheduled node Identification information.Wherein, the scheduled node identities identification information of scheduled node can be the body for characterizing scheduled node Any identification information of part.For example, scheduled node identities identification information can be the identity for characterizing scheduled node Digital " 2 ".
Optionally, the scheduled node identities identification information of scheduled node can include but is not limited to scheduled node Nodename information and the user's name information stored with nodename information association, internet protocol address information, end Number information.
Step 403, match in response to determining to exist in current configuration information with scheduled node identities identification information Scheduled node is determined as registering scheduled node by information.
In the present embodiment, above-mentioned executing subject can use after the registration information for receiving scheduled node Scheduled node identities identification information included by registration information is compared with current configuration information.Believe being currently configured There are an information in breath, when some or all of it content is identical as scheduled node identities identification information, it is believed that when There is the information to match with scheduled node identities identification information in preceding configuration information.At this point, executing subject is by scheduled section Point is determined as registering scheduled node, connect to establish efficient communication with the node that is scheduled.
Step 404, candidate scheduled node identities identification information set is determined.
In the present embodiment, candidate scheduled node identities identification information set can be determined using various ways.For example, Executing subject can choose specified registration and be scheduled node as candidate scheduled node, and selected registration is adjusted The candidate scheduled node identities identification information set of identification information deposit for spending node, to obtain candidate scheduled node Identification information set.For another example executing subject, which can also arbitrarily choose setting number, registers scheduled node conduct The scheduled node of candidate, and the identification information of the selected scheduled node of registration is stored in candidate scheduled node body Part identification information set, to obtain candidate scheduled node identities identification information set.
In some optional implementations of the present embodiment, above-mentioned executing subject can also be waited as follows Select scheduled node identities identification information set:
The first step receives and registers the status information that scheduled node is sent.
In the present embodiment, executing subject can receive registration quilt by wired connection mode or radio connection The status information that scheduling node is sent.Wherein, above-mentioned status information can be for characterizing the work shape for registering scheduled node Any information of state.For example, status information can be alphabetical " Y ", for characterize, to register the working condition for the node that is scheduled be normal Operation.For another example status information can be alphabetical " N ", for characterizing the working condition for registering scheduled node as misoperation.
Second step will register scheduled node in response to determining that status information matches with pre-stored status information It is determined as candidate scheduled node, and the identification information of scheduled node will be registered as the scheduled node identities of candidate The candidate scheduled node identities identification information set of identification information deposit.
In the present embodiment, if the status information for registering scheduled node is identical as pre-stored status information, at this point, Executing subject will register scheduled node and be determined as candidate scheduled node, and the identity for registering scheduled node is believed Breath is as the candidate scheduled candidate scheduled node identities identification information set of node identities identification information deposit.
Third step searches candidate scheduled section in response to determining that status information and pre-stored status information mismatch Candidate scheduled node identities identification information corresponding with scheduled node is registered in point identification information set, will be looked into The scheduled node identities identification information of the candidate found is removed from the scheduled node identities identification information set of candidate.
In the present embodiment, if the scheduled node of registration is identical as pre-stored status information, at this point, executing subject can It is adjusted with searching in candidate scheduled node identities identification information set with the presence or absence of candidate corresponding with scheduled node is registered Node identities identification information is spent, if finding, the candidate found is scheduled node identities identification information from candidate quilt It is removed in scheduling node identification information set.Here, the scheduled node of the registration in abnormal operating condition is corresponding The scheduled node identities identification information of candidate is removed from the scheduled node identities identification information set of candidate, it is therefore intended that is guaranteed The identification information of the scheduled node of registration in normal operating condition is only pushed to scheduling node, can further be mentioned High system stability and Information Security.
Step 405, the scheduling request information of scheduling node is received, scheduling request information includes the scheduling node of scheduling node Identification information.
Step 406, in response to determining the letter for existing in current configuration information and matching with scheduling node identification information Predetermined candidate scheduled node identities identification information set is sent to scheduling node by breath.
In the present embodiment, the behaviour of the concrete operations of step 405-406 and step 201-202 in embodiment shown in Fig. 2 Make essentially identical, this will not be repeated here.
Figure 4, it is seen that being used to push nodal information in the present embodiment compared with the corresponding embodiment of Fig. 2 The step of process 400 of method embodies the step of being updated to current configuration information, registers to scheduled node, with And the step of scheduled node identities identification information set of candidate is determined.The scheme of the present embodiment description can be with as a result, Adjustment current configuration information and candidate scheduled node identities identification information set in time, can be improved running efficiency of system, with And further increase system stability and Information Security.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides one kind for pushing section One embodiment of the device of point information, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which specifically may be used To be applied in various servers.
As shown in figure 5, the present embodiment includes: scheduled reception unit 501, quilt for pushing the device 500 of nodal information It is configured to receive the scheduling request information of scheduling node, scheduling request information includes the scheduling node identity letter of scheduling node Breath;Information transmitting unit 502 is configured in response to determine in current configuration information exist and scheduling node identification information Predetermined candidate scheduled node identities identification information set is sent to scheduling node by the information to match.
In some optional implementations of the present embodiment, above-mentioned apparatus can also include information determination unit (in figure It is not shown).Wherein, information determination unit may be configured to obtain the configuration information for being stored in setting position;It determines and matches confidence The encryption information of breath;In response to determining that encryption information and history encryption information mismatch, configuration information is determined as being currently configured Information, and encryption information is determined as history encryption information.
In some optional implementations of the present embodiment, above-mentioned apparatus can also include registration receiving unit and registration Determination unit (not shown).Wherein, receiving unit is registered, may be configured to the registration request letter for receiving scheduled node Breath, registration information include the scheduled node identities identification information of scheduled node.Determination unit is registered, can be configured At in response to determining in the presence of the information to match with scheduled node identities identification information in current configuration information, by scheduled section Point is determined as registering scheduled node.
In some optional implementations of the present embodiment, the scheduled node identities identification information set of candidate can lead to It crosses following steps to determine: receiving and register the status information that scheduled node is sent;In response to determining status information and being stored in advance Status information match, scheduled node will be registered and be determined as candidate scheduled node, and scheduled node will be registered Identification information is as the candidate scheduled candidate scheduled node identities identification information set of node identities identification information deposit; In response to determining that status information and pre-stored status information mismatch, candidate scheduled node identities identification information collection is searched Candidate scheduled node identities identification information corresponding with scheduled node is registered in conjunction, the candidate found is scheduled Node identities identification information is removed from the scheduled node identities identification information set of candidate.
In some optional implementations of the present embodiment, current configuration information may include authorization identification information collection It closes, the authorization identification information in authorization identification information set includes: the nodename information and and nodename of authorization node User's name information, the internet protocol address information, port number information of information association storage;Wherein, authorization node includes: Scheduling node, be scheduled node, control node.
The device provided by the above embodiment of the application, scheduled reception unit 501 receive the scheduling request letter of scheduling node Breath, scheduling request information includes the scheduling node identification information of scheduling node.Then, information transmitting unit 502 in response to It determines the information for existing in current configuration information and matching with scheduling node identification information, predetermined candidate is adjusted Degree node identities identification information set is sent to scheduling node.The device of the present embodiment saves scheduling using current configuration information Point carries out safety verification, and the scheduled node identities identification information set of candidate is only sent to the scheduling node being verified, can To avoid the access of illegal node, facilitate the steady fixed sum data safety of safeguards system.
Below with reference to Fig. 6, it illustrates the computer systems 600 for the server for being suitable for being used to realize the embodiment of the present application Structural schematic diagram.Server shown in Fig. 6 is only an example, should not function and use scope band to the embodiment of the present application Carry out any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and Execute various movements appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data. CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always Line 604.
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.; And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon Computer program be mounted into storage section 608 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communications portion 609, and/or from detachable media 611 are mounted.When the computer program is executed by central processing unit (CPU) 601, limited in execution the present processes Above-mentioned function.It should be noted that the computer-readable medium of the application can be computer-readable signal media or calculating Machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates The more specific example of machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, portable of one or more conducting wires Formula computer disk, hard disk, random access storage device (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 storage device, magnetic memory device or The above-mentioned any appropriate combination of person.In this application, computer readable storage medium can be it is any include or storage program Tangible medium, which can be commanded execution system, device or device use or in connection.And in this Shen Please in, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable Any computer-readable medium other than storage medium, the computer-readable medium can send, propagate or transmit for by Instruction execution system, device or device use or program in connection.The journey for including on computer-readable medium Sequence code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet Include scheduled reception unit and information transmitting unit.Wherein, the title of these units is not constituted under certain conditions to the unit The restriction of itself, for example, scheduled reception unit is also described as " receiving the unit of the scheduling request information of scheduling node ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be Included in device described in above-described embodiment;It is also possible to individualism, and without in the supplying device.Above-mentioned calculating Machine readable medium carries one or more program, when said one or multiple programs are executed by the device, so that should Device: receiving the scheduling request information of scheduling node, and scheduling request information includes the scheduling node identity letter of scheduling node Breath;In response to determining the information for existing in current configuration information and matching with scheduling node identification information, will predefine Candidate be scheduled node identities identification information set be sent to scheduling node.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (12)

1. a kind of method for pushing nodal information, comprising:
The scheduling request information of scheduling node is received, the scheduling request information includes the scheduling node identity of the scheduling node Identification information;
It, will be preparatory in response to determining the information for existing in current configuration information and matching with the scheduling node identification information The scheduled node identities identification information set of determining candidate is sent to the scheduling node.
2. described before the scheduling request information for receiving scheduling node according to the method described in claim 1, wherein Method further include:
Obtain the configuration information for being stored in setting position;
Determine the encryption information of the configuration information;
It is mismatched in response to the determination encryption information and history encryption information, the configuration information is determined as to be currently configured letter Breath, and the encryption information is determined as history encryption information.
3. described before the scheduling request information for receiving scheduling node according to the method described in claim 1, wherein Method further include:
The registration information of scheduled node is received, the registration information includes the scheduled section of the scheduled node Point identification information;
In response to determining the information for existing in current configuration information and matching with the scheduled node identities identification information, by institute Scheduled node is stated to be determined as registering scheduled node.
4. according to the method described in claim 3, wherein, the candidate scheduled node identities identification information set passes through as follows Step determines:
It receives and registers the status information that scheduled node is sent;
Match in response to the determination status information with pre-stored status information, the node that is scheduled of registering is determined For the scheduled node of candidate, and using the identification information for registering scheduled node as the candidate node identities that are scheduled The candidate scheduled node identities identification information set of identification information deposit;
It is mismatched in response to the determination status information and pre-stored status information, searches candidate scheduled node identities mark Know the candidate scheduled node identities identification information corresponding with the scheduled node of the registration in information aggregate, will be found Candidate's node identities identification information that is scheduled removed from the scheduled node identities identification information set of candidate.
5. method described in one of -4 according to claim 1, wherein the current configuration information includes authorization identification information collection It closes, the authorization identification information in the authorization identification information set includes:
The nodename information of authorization node and the user's name information stored with nodename information association, Internet protocol IP address information, port number information;Wherein, the authorization node includes: scheduling node, and be scheduled node, control node.
6. a kind of for pushing the device of nodal information, wherein include:
Scheduled reception unit, is configured to receive the scheduling request information of scheduling node, and the scheduling request information includes described The scheduling node identification information of scheduling node;
Information transmitting unit is configured in response to determine to exist in current configuration information and believe with the scheduling node identity Predetermined candidate scheduled node identities identification information set is sent to the scheduling node by the matched information of manner of breathing.
7. device according to claim 6, wherein described device further include:
Information determination unit is configured to obtain the configuration information for being stored in setting position;Determine the encryption of the configuration information Information;It is mismatched in response to the determination encryption information and history encryption information, the configuration information is determined as being currently configured Information, and the encryption information is determined as history encryption information.
8. device according to claim 6, wherein described device further include:
Receiving unit is registered, is configured to receive the registration information of scheduled node, the registration information includes institute State the scheduled node identities identification information of scheduled node;
Determination unit is registered, is configured in response to determine in current configuration information exist and the scheduled node identities mark The information that information matches is determined as the scheduled node to register scheduled node.
9. device according to claim 8, wherein the candidate scheduled node identities identification information set passes through as follows Step determines:
It receives and registers the status information that scheduled node is sent;
Match in response to the determination status information with pre-stored status information, the node that is scheduled of registering is determined For the scheduled node of candidate, and using the identification information for registering scheduled node as the candidate node identities that are scheduled The candidate scheduled node identities identification information set of identification information deposit;
It is mismatched in response to the determination status information and pre-stored status information, searches candidate scheduled node identities mark Know the candidate scheduled node identities identification information corresponding with the scheduled node of the registration in information aggregate, will be found Candidate's node identities identification information that is scheduled removed from the scheduled node identities identification information set of candidate.
10. device according to claim 6, wherein the current configuration information includes authorization identification information set, described Authorization identification information in authorization identification information set includes:
The nodename information of authorization node and the user's name information stored with nodename information association, Internet protocol IP address information, port number information;Wherein, the authorization node includes: scheduling node, and be scheduled node, control node.
11. a kind of server, comprising:
One or more processors;
Storage device is stored thereon with 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 Now such as method as claimed in any one of claims 1 to 5.
12. a kind of computer-readable medium, is stored thereon with computer program, wherein the realization when program is executed by processor Such as method as claimed in any one of claims 1 to 5.
CN201811365254.8A 2018-11-16 2018-11-16 Method and device for pushing node information Active CN109218452B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811365254.8A CN109218452B (en) 2018-11-16 2018-11-16 Method and device for pushing node information
PCT/CN2019/104310 WO2020098346A1 (en) 2018-11-16 2019-09-04 Method and apparatus for pushing node information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811365254.8A CN109218452B (en) 2018-11-16 2018-11-16 Method and device for pushing node information

Publications (2)

Publication Number Publication Date
CN109218452A true CN109218452A (en) 2019-01-15
CN109218452B CN109218452B (en) 2020-11-24

Family

ID=64994292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811365254.8A Active CN109218452B (en) 2018-11-16 2018-11-16 Method and device for pushing node information

Country Status (2)

Country Link
CN (1) CN109218452B (en)
WO (1) WO2020098346A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020098346A1 (en) * 2018-11-16 2020-05-22 京东数字科技控股有限公司 Method and apparatus for pushing node information

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101014026A (en) * 2006-12-18 2007-08-08 南京联创科技股份有限公司 Method for implementing general soft gateway of dynamic self-adaptive Radius system
CN103107948A (en) * 2011-11-15 2013-05-15 阿里巴巴集团控股有限公司 Flow control method and flow control device
CN103188750A (en) * 2011-12-30 2013-07-03 华为技术有限公司 Switching method, node and system
CN103561049A (en) * 2013-09-05 2014-02-05 乐视网信息技术(北京)股份有限公司 Method for processing terminal scheduling request, system thereof and device thereof
WO2014110453A1 (en) * 2013-01-11 2014-07-17 Huawei Technologies Co., Ltd. Network function virtualization for a network device
CN104160772A (en) * 2011-12-23 2014-11-19 黑莓有限公司 A method implemented in an eNodeB base station
CN105701155A (en) * 2015-12-30 2016-06-22 百度在线网络技术(北京)有限公司 Information push method and the device
CN106130816A (en) * 2016-06-24 2016-11-16 腾讯科技(深圳)有限公司 A kind of content distributing network monitoring method, monitoring server and system
CN108540831A (en) * 2018-04-19 2018-09-14 百度在线网络技术(北京)有限公司 Method and apparatus for pushed information

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10038640B2 (en) * 2015-04-30 2018-07-31 Amazon Technologies, Inc. Managing state for updates to load balancers of an auto scaling group
CN105978938A (en) * 2016-04-25 2016-09-28 乐视控股(北京)有限公司 Service processing equipment service status determining method and scheduling equipment
CN107885594B (en) * 2016-09-30 2020-06-12 腾讯科技(深圳)有限公司 Distributed resource scheduling method, scheduling node and access node
CN109218452B (en) * 2018-11-16 2020-11-24 京东数字科技控股有限公司 Method and device for pushing node information

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101014026A (en) * 2006-12-18 2007-08-08 南京联创科技股份有限公司 Method for implementing general soft gateway of dynamic self-adaptive Radius system
CN103107948A (en) * 2011-11-15 2013-05-15 阿里巴巴集团控股有限公司 Flow control method and flow control device
CN104160772A (en) * 2011-12-23 2014-11-19 黑莓有限公司 A method implemented in an eNodeB base station
CN103188750A (en) * 2011-12-30 2013-07-03 华为技术有限公司 Switching method, node and system
WO2014110453A1 (en) * 2013-01-11 2014-07-17 Huawei Technologies Co., Ltd. Network function virtualization for a network device
CN103561049A (en) * 2013-09-05 2014-02-05 乐视网信息技术(北京)股份有限公司 Method for processing terminal scheduling request, system thereof and device thereof
CN105701155A (en) * 2015-12-30 2016-06-22 百度在线网络技术(北京)有限公司 Information push method and the device
CN106130816A (en) * 2016-06-24 2016-11-16 腾讯科技(深圳)有限公司 A kind of content distributing network monitoring method, monitoring server and system
CN108540831A (en) * 2018-04-19 2018-09-14 百度在线网络技术(北京)有限公司 Method and apparatus for pushed information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020098346A1 (en) * 2018-11-16 2020-05-22 京东数字科技控股有限公司 Method and apparatus for pushing node information

Also Published As

Publication number Publication date
WO2020098346A1 (en) 2020-05-22
CN109218452B (en) 2020-11-24

Similar Documents

Publication Publication Date Title
CN105556919B (en) Dual factor anthentication is carried out using service request bill
CN108322469A (en) Information processing system, method and apparatus
CN108550037A (en) Document handling method based on block chain and device
CN109981619A (en) Data capture method, device, medium and electronic equipment
CN109697075A (en) File updating method, system and device
CN109495532A (en) Client update method and device
CN108681777A (en) A kind of method and apparatus of the machine learning program operation based on distributed system
CN110321738A (en) Information processing method and device
CN109769240A (en) Bluetooth connecting method, device and system
CN109582873A (en) Method and apparatus for pushed information
CN108537498A (en) Interorganizational project management method, system, equipment and medium based on block chain
CN110377416A (en) Distributed subregion method for scheduling task and device
CN110046178A (en) The method and apparatus of distributed data inquiry
CA2988434A1 (en) Automatic recharging system, method and server
CN105721612B (en) Data transmission method and device
CN109309698A (en) Data processing system, method and apparatus
CN108984197A (en) A kind of code update method and device
CN109495468A (en) Authentication method, device, electronic equipment and storage medium
CN109905244A (en) The management method and device of alliance
CN110537167A (en) The automatic supply of application program
CN108399046A (en) File operation requests treating method and apparatus
CN109218452A (en) Method and apparatus for pushing nodal information
CN114239072A (en) Block chain node management method and block chain network
CN109885564A (en) Method and apparatus for sending information
CN106874371A (en) A kind of data processing method and device

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
CB02 Change of applicant information

Address after: Room 221, 2nd floor, Block C, 18 Kechuang 11th Street, Daxing Economic and Technological Development Zone, Beijing, 100176

Applicant after: JINGDONG DIGITAL TECHNOLOGY HOLDINGS Co.,Ltd.

Address before: Room 221, 2nd floor, Block C, 18 Kechuang 11th Street, Daxing Economic and Technological Development Zone, Beijing, 100176

Applicant before: BEIJING JINGDONG FINANCIAL TECHNOLOGY HOLDING Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Room 221, 2nd floor, Block C, 18 Kechuang 11th Street, Daxing Economic and Technological Development Zone, Beijing, 100176

Patentee after: Jingdong Technology Holding Co.,Ltd.

Address before: Room 221, 2nd floor, Block C, 18 Kechuang 11th Street, Daxing Economic and Technological Development Zone, Beijing, 100176

Patentee before: Jingdong Digital Technology Holding Co.,Ltd.

Address after: Room 221, 2nd floor, Block C, 18 Kechuang 11th Street, Daxing Economic and Technological Development Zone, Beijing, 100176

Patentee after: Jingdong Digital Technology Holding Co.,Ltd.

Address before: Room 221, 2nd floor, Block C, 18 Kechuang 11th Street, Daxing Economic and Technological Development Zone, Beijing, 100176

Patentee before: JINGDONG DIGITAL TECHNOLOGY HOLDINGS Co.,Ltd.

CP01 Change in the name or title of a patent holder