CN106534173B - A kind of method for processing business and device - Google Patents
A kind of method for processing business and device Download PDFInfo
- Publication number
- CN106534173B CN106534173B CN201611117562.XA CN201611117562A CN106534173B CN 106534173 B CN106534173 B CN 106534173B CN 201611117562 A CN201611117562 A CN 201611117562A CN 106534173 B CN106534173 B CN 106534173B
- Authority
- CN
- China
- Prior art keywords
- address
- service
- business
- parameter
- generates
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/12—Applying verification of the received information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/14—Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a kind of method for processing business and device, which comprises when receiving service request message, judges whether the purpose internet protocol address of the service request message is effective traffic IP address;Wherein, effective traffic IP address can change with the time;If the purpose IP address of service request message is effective traffic IP address, the service request message is responded;Otherwise, the service request message is refused to respond.The safety of business operation can be improved using the embodiment of the present invention.
Description
Technical field
The present invention relates to technical field of video monitoring more particularly to a kind of method for processing business and device.
Background technique
Many servers and equipment are all directly disposed on a wide area network at present, the very serious safety problem of bring.Such as
Attacker can collect server or device IP (Internet Protocol, interconnection on wide area network by means such as crawlers
FidonetFido) address, and then corresponding business operation is attacked according to the IP address got.
Summary of the invention
The present invention provides a kind of method for processing business and device, to improve the safety of business operation.
According to the first aspect of the invention, a kind of method for processing business is provided, service response method, apparatus, the side are applied to
Method includes:
When receiving service request message, judge the service request message purpose internet protocol address whether be
Effective traffic IP address;Wherein, effective traffic IP address can change with the time;
If the purpose IP address of service request message is effective traffic IP address, the service request message is responded;
Otherwise, the service request message is refused to respond.
According to the first aspect of the invention, a kind of method for processing business is provided, service request method, apparatus, the side are applied to
Method includes:
When needing initiating business request, parameter is generated according to current service IP address, utilizes pre-set business IP address
Generating algorithm generates corresponding service IP address;Wherein, service IP address generates parameter and can change with the time;
Service request message is sent, the purpose IP address of the service request message is the service IP address.
According to the third aspect of the invention we, a kind of business processing device is provided, service response method, apparatus, feature are applied to
It is, described device includes:
Receiving unit, for receiving service request message;
Judging unit, for judging the purpose Internet protocol IP of service request message that the receiving unit receives
Whether location is effective traffic IP address;Wherein, effective traffic IP address can change with the time;
Processing unit responds the business if the purpose IP address for service request message is effective traffic IP address
Request message;Otherwise, the service request message is refused to respond.
According to the fourth aspect of the invention, a kind of business processing device is provided, service request method, apparatus, the dress are applied to
It sets and includes:
Generation unit generates parameter according to current service IP address for when needing initiating business request, using pre-
If service IP address generating algorithm generates corresponding service IP address;Wherein, service IP address generates parameter and can send out at any time
Changing;
Transmission unit, for sending service request message, the purpose IP address of the service request message is the business
IP address.
It can basis when service request method, apparatus needs initiating business request using technical solution disclosed by the invention
Current service IP address generates parameter, generates corresponding service IP address using pre-set business IP address generating algorithm, concurrently
Sending purpose IP address is the service request message of the service IP address;When service response method, apparatus receives service request message
When, it can be determined that whether the purpose IP address of the service request message is effective service IP address, and works as the service request report
When the purpose IP address of text is effective traffic IP address, the service request message is responded;Otherwise, the service request report is refused to respond
Text improves business operation safety.
Detailed description of the invention
Fig. 1 is a kind of network architecture schematic diagram of business processing provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of method for processing business provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of method for processing business provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of business processing device provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another business processing device provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of business processing device provided in an embodiment of the present invention.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in the embodiment of the present invention, below first to the present invention
The applicable network architecture of embodiment is briefly described.
It referring to Figure 1, is a kind of network architecture schematic diagram of business processing provided in an embodiment of the present invention, as shown in Figure 1,
In the network architecture, when service request method, apparatus is needed to service response method, apparatus initiating business request, service request side
Equipment can't need directly to the device identification IP address initiating business request of service response method, apparatus to service response
The service IP address initiating business request of method, apparatus.
Wherein, the device identification IP address of service response method, apparatus is the intrinsic IP address of service response method, apparatus, business
The service IP address of responder device can generate parameter according to pre-set business IP address, generated and calculated using pre-set business IP address
Method generates, which can change with the time, to avoid the device identification IP address quilt of service response method, apparatus
In the case where it was found that, business operation is attacked, and improves the safety of business operation.
It should be noted that in embodiments of the present invention, service response method, apparatus can include but is not limited to video monitoring
Video monitoring front end equipment (such as IPC (Internet Protocol Camera, web camera)), the video monitoring clothes in field
Business device, video data storage device etc.;Service request method, apparatus can be for there are business demands between service response method, apparatus
Client, which can include but is not limited to video on demand (including live program request or Video data playback), camera shooting
Machine head control etc..
Based on the network architecture shown in Fig. 1, the embodiment of the invention provides a kind of method for processing business, as shown in Fig. 2, for this
The flow diagram for a kind of method for processing business that inventive embodiments provide, wherein the method for processing business can be applied to Fig. 1
Service request method, apparatus in the shown network architecture, as shown in Fig. 2, the method for processing business may comprise steps of:
Step 201, when needing initiating business request, parameter is generated according to current service IP address, utilizes default industry
IP address generating algorithm of being engaged in generates corresponding service IP address;Wherein, service IP address generates parameter and can become at any time
Change.
In the embodiment of the present invention, in order to avoid leading to business due to the leakage of the device identification IP address of service response method, apparatus
There is the risk attacked in the business between request method, apparatus and service response method, apparatus, improve service request method, apparatus and business
Business operation safety between responder device, service response method, apparatus can carry out device identification IP address and service IP address
When separation, i.e. service request method, apparatus are needed to service response method, apparatus initiating business request, no longer to service response method, apparatus
Device identification IP address initiate, but need to the service IP address of service response method, apparatus initiate.
In addition, in order to avoid due to the service IP address of service response method, apparatus reveal and cause service request method, apparatus with
There is the risk attacked in the business between service response method, apparatus, further increase service request method, apparatus and service response side
Business operation safety between equipment, the service IP address of service response method, apparatus can change at any time.
Correspondingly, in embodiments of the present invention, service request method, apparatus and service response method, apparatus can negotiate industry in advance
IP address of being engaged in generates parameter and service IP address generating algorithm, so that service request method, apparatus and service response method, apparatus can
When there are business demand, correspondingly service IP address is generated, and guarantees that service request method, apparatus and service response method, apparatus are raw
At service IP address consistency.Wherein, service IP address generates parameter and can change at any time.
Optionally, in embodiments of the present invention, it may include setting for service response method, apparatus that service IP address, which generates parameter,
Standby mark IP address and seed parameter;Alternatively, service IP address generates the equipment mark that parameter may include service response method, apparatus
Know IP address, seed parameter and type of service;Wherein, seed parameter can carry out periodically at any time or timing changes.
For example, corresponding seed parameter periodically or periodically can be generated (hereinafter referred to according to system time
Seed), for example, every 10 minutes generate the life of the times such as corresponding seed or at daily 3 points, 6 points and 12 points according to system time
At corresponding seed.Wherein, seed and system time (time) meet following formula:
Seed=Transfer (Time)
Wherein, Transfer can be preset seed parameter generating algorithm, and system time is different, pass through above-mentioned public affairs
The seed parameter that formula generates is different.
Optionally, in the embodiment of the present invention, seed parameter can be generated in the manner described above by service response method, apparatus, and
It notifies to give service request method, apparatus by special packet, for example, by between service response method, apparatus and service request method, apparatus
Logon message or keep alive Packet etc., alternatively, passing through the message of other new definition.
In the embodiment of the present invention, when service request method, apparatus needs initiating business request, service request method, apparatus can be with
It first obtains current service IP address and generates parameter (newest service IP address generation parameter), and according to current business IP
Location generates parameter and corresponding service IP address is calculated using pre-set business IP address generating algorithm.
Wherein, seed can be notified to give service request method, apparatus by service response method, apparatus, and service response method, apparatus is set
Standby mark IP can be configured by user (such as administrator) passes through net in service request method, apparatus, or by service request method, apparatus
The technologies such as network crawler obtain;The service request that type of service can be initiated as needed by service request method, apparatus determines.
Step 202 sends service request message, and the purpose IP address of the service request message is service IP address.
In the embodiment of the present invention, when service request method, apparatus needs initiating business request, and determined service IP address it
Afterwards, the service request report that purpose IP address is the service IP address can be sent to the service IP address initiating business request
Text.
Wherein, service response method, apparatus receive service request method, apparatus transmission service request message when process flow
It may refer to the associated description in method flow shown in Fig. 3, this will not be repeated here for the embodiment of the present invention.
Based on the network architecture shown in Fig. 1, the embodiment of the invention provides a kind of method for processing business, as shown in figure 3, for this
The flow diagram for another method for processing business that inventive embodiments provide, wherein the method for processing business can be applied to
Service response method, apparatus in the network architecture shown in Fig. 1, as shown in figure 3, the method for processing business may comprise steps of:
301, when receiving service request message, judge whether the purpose IP address of the service request message is effective industry
Business IP address;Wherein, effective traffic IP address can change with the time.If so, going to step 302;Otherwise, step is gone to
303。
In the embodiment of the present invention, when service response method, apparatus receives service request message, service response message can be with
The effective traffic IP address for obtaining the purpose IP address of the service request message, and comparing the purpose IP address and locally saving,
Whether the purpose IP address for judging the service request message be valid ip address, that is, judges the purpose IP address and locally save
Whether effective traffic IP address is consistent, to determine the need for responding the service request message.
As an alternative embodiment, in embodiments of the present invention, with judging the destination IP of the service request message
Before whether location is effective traffic IP address, further includes:
Judge whether the service IP address of last generation fails;
If not failing, the service IP address that the last time generates is determined as effective traffic IP address;
If failure, updates service IP address and generate parameter, and parameter is generated according to updated service IP address, utilize
Pre-set business IP address generating algorithm generates corresponding service IP address, and with being determined as effective traffic IP by the service IP address
Location.
In this embodiment, since service IP address can change at any time, service response method, apparatus generates
After service IP address, the effective status of real-time update service IP address is needed.
For example, it is assumed that service response method, apparatus periodically updates seed, correspondingly, service IP address also can periodically become
Change, therefore the service IP address that service response method, apparatus generates only can be effective status within the period, in next period, the industry
Business IP address will fail, accordingly it is desirable to generate new service IP address.
In this embodiment, when service response method, apparatus determines the last service IP address failure generated, business
Responder device needs to regenerate new service IP address, and the newly-generated service IP address is determined as effective traffic IP
Address.
Wherein, in order to generate new service IP address, service response method, apparatus needs to update service IP address and generates parameter.
By taking service IP address generates the device identification IP address that parameter is service response method, apparatus and seed as an example, work as industry
When responder device of being engaged in determines the last service IP address failure generated, service response method, apparatus can first update seed, and
According to the device identification IP address of service response method, apparatus and updated seed, pre-set business IP address generating algorithm is utilized
Generate new service IP address.
For example, it is assumed that pre-set business IP address generating algorithm is FunIP (IP, Seed), wherein IP is that service response side is set
Standby device identification IP, Seed is seed parameter (seed).
When responder device determine it is last generate service IP address (be assumed to be IP1=FunIP (IP0, seed1),
IP0 be service response method, apparatus device identification IP address) failure when, responder device can first update seed, it is assumed that from
Seed1 is updated to seed2, and according to the device identification IP address (i.e. IP0) of service response method, apparatus and updated seed
The new service IP address of (i.e. seed2) generation, i.e. IP2=FunIP (IP0, seed2), and with being determined as effective traffic IP by IP2
Location.
Wherein, it after service response method, apparatus, which updates service IP address, generates parameter, needs changed business
IP address generates parameter and notifies to give service request method, apparatus.
For example, it is assumed that service IP address generate parameter include service response method, apparatus device identification IP address and
Seed, then when service response method, apparatus, which updates service IP address, generates parameter, service response method, apparatus needs will be updated
Seed notifies to give service request method, apparatus.
It is worth noting that in embodiments of the present invention, in order to guarantee the availability of service IP address, service response side is set
It is standby generate service IP address using aforesaid way after, before using the service IP address, can also first pass through including but not
It is limited to a kind of modes such as ping (network diagnostic tool) determine whether the service IP address is reachable, if reachable, it is determined that the business
IP address is unavailable, updates seed, generates next service IP address, until the service IP address generated is available, and protects
Seed when generating the service IP address is deposited, and notifies and gives service request method, apparatus.
Preferably, the device identification IP address of service response method, apparatus generates service IP address and service response method, apparatus
In same network segment.
Further, in embodiments of the present invention, when service response method, apparatus determines the last service IP address generated
When failure, service response method, apparatus needs further to judge whether the associated business of the service IP address is wholly off;If so,
Discharge the service IP address;Otherwise, retain the service IP address, and be set to failure state, until the service IP address closes
When the business of connection is wholly off, the service IP address is discharged.
Specifically, in embodiments of the present invention, for any service IP address, service response method, apparatus needs to record the industry
(when i.e. the service IP address is effective traffic IP address, service request method, apparatus is to business IP for the associated business of IP address of being engaged in
Address initiate business) state.
When service response method, apparatus finds the failure of certain service IP address, service response method, apparatus needs to judge business IP
Whether the business of address information is wholly off, if wholly off, discharges the service IP address;Otherwise, service response method, apparatus
The service IP address can not be discharged first, but retains the service IP address, and be set to failure state, until business IP
When the business of address information is wholly off, the service IP address is discharged.
Wherein, it is initiated when service response method, apparatus receives the service IP address not discharged for this but in invalid state
Service request when, service response method, apparatus will not respond the service request.
For example, when service response method, apparatus receives service request message, and the purpose IP address of the service request message
When for service IP address in invalid state, service response method, apparatus can directly abandon the service request message, without right
It is responded.
Further, in embodiments of the present invention, in order to avoid due to service IP address quantity in service response method, apparatus
IP address is overflowed caused by excessive, and the maximum quantity that can preset service IP address in service response method, apparatus (can be with
Set according to actual scene, referred to herein as preset threshold), when the service IP address that service response method, apparatus is newly generated (i.e.
The service IP address that last time generates) failure when, service response method, apparatus can first be sentenced before generating new service IP address
Whether the quantity of the service IP address of disconnected local failure state reaches preset threshold, if reaching, service response method, apparatus is temporary
New service IP address is not first generated, but it is effective traffic that an activation is selected from the service IP address of local failure state
IP address.
Correspondingly, in embodiments of the present invention, when the service IP address that the last time generates fails, above-mentioned more new business IP
Before address generates parameter, can also include:
Judge whether the quantity of the service IP address of local failure state reaches preset threshold;
If reaching, it is effective traffic IP address that an activation is selected from the service IP address of local failure state, and
Corresponding seed parameter is notified to give service request method, apparatus, so that service request method, apparatus generates business according to the seed parameter
IP address;
If not up to, it is determined that execute above-mentioned update service IP address and generate parameter, and according to updated business IP
Location generates parameter.
In this embodiment, when responder device determines the last service IP address failure generated, and local failure
When the quantity of the service IP address (failure but the not wholly off service IP address of associated business) of state reaches preset threshold,
Responder device can select a service IP address to be activated from the service IP address of failure state, become it again
Effectively service IP address, until just regenerating service IP address when thering is the service IP address of failure to be released.
Wherein, responder device can be at random or according to hash algorithm or according to other tactful business IP from failure state
A service IP address is selected to be activated in address;After responder device activates the service IP address of failure state, need
It notifies the corresponding seed of the service IP address to give service request method, apparatus, be asked so that service request method, apparatus needs to initiate business
When asking, service IP address can be generated according to the seed.
Step 302 responds the service request message.
Step 303 refuses to respond the service request message.
In the embodiment of the present invention, when responder device determines that the purpose IP address of the service request message received is effective
When service IP address, responder device can respond the service request message;When responder device determines that the business received is asked
When the purpose IP address of message being asked not to be effective traffic IP address, responder device can refuse to respond the service request message.
Wherein, the specific processing mode for the service request message that the response of service response method, apparatus receives may refer to existing
Associated description in relevant programme, this will not be repeated here for the embodiment of the present invention.
As it can be seen that realizing the business IP of service response method, apparatus by configuring the service IP address dedicated for service request
The separation of address and device identification IP address avoids what business operation caused by being revealed due to device identification IP address was attacked
It happens;Further, since effective traffic IP address can change with the time, therefore it can be further improved business operation
Safety.
It can be seen that in technical solution provided in an embodiment of the present invention by the above process, when service request method, apparatus
When needing initiating business request, parameter can be generated according to current service IP address, be generated and calculated using pre-set business IP address
Method generates corresponding service IP address, and sends the service request message that purpose IP address is the service IP address;When business is rung
When method, apparatus being answered to receive service request message, it can be determined that whether the purpose IP address of the service request message is effective industry
Business IP address, and when the purpose IP address of the service request message is effective traffic IP address, respond the service request message;
Otherwise, the service request message is refused to respond, business operation safety is improved.
Fig. 4 is referred to, is a kind of structural schematic diagram of business processing device provided in an embodiment of the present invention, wherein the industry
Business processing unit can be applied to the service response method, apparatus in above method embodiment, as shown in figure 4, the business processing device
May include:
Receiving unit 410, for receiving service request message;
Judging unit 420, for judging the purpose Internet protocol of service request message that the receiving unit receives
Whether IP address is effective traffic IP address;Wherein, effective traffic IP address can change with the time;
Processing unit 430 responds the industry if the purpose IP address for service request message is effective traffic IP address
Business request message;Otherwise, the service request message is refused to respond.
In an alternative embodiment, the judging unit 420, is also used to judge whether the service IP address of last generation loses
Effect;
Correspondingly, please also refer to Fig. 5, for the structural representation of another business processing device provided in an embodiment of the present invention
Figure, as shown in figure 5, on the basis of business processing device shown in Fig. 4, business processing device shown in fig. 5 further include:
Determination unit 440, if the service IP address for the last time to generate does not fail, the business IP that the last time is generated
Address is determined as effective traffic IP address;
Generation unit 450, if updating service IP address for the service IP address failure that the last time generates and generating ginseng
Number, and parameter is generated according to updated service IP address, corresponding business is generated using pre-set business IP address generating algorithm
IP address;
The determination unit 440 is also used to for the service IP address to be determined as effective traffic IP address;
Wherein, service IP address generates the device identification IP address and seed parameter that parameter includes service response method, apparatus;
Alternatively, service IP address generates device identification IP address, seed parameter and the service class that parameter includes service response method, apparatus
Type, the seed parameter carries out cyclically-varying at any time or timing changes.
In an alternative embodiment, the judging unit 420, when the service IP address for being also used to generate when the last time fails,
Judge whether the associated business of the service IP address is wholly off;
The generation unit 450 discharges business IP if it is wholly off to be also used to the associated business of the service IP address
Address;Otherwise, retain the service IP address, and be set to failure state, until the associated business of the service IP address is whole
When stopping, the service IP address is discharged.
In an alternative embodiment, the judging unit 420 is sentenced when the service IP address for being also used to generate when last time fails
Whether the quantity of the service IP address of disconnected local failure state reaches preset threshold;
The generation unit 450, if whether the quantity for being also used to the service IP address of local failure state reaches default threshold
Value, then select one to activate from the service IP address of local failure state is effective traffic IP address, and by corresponding seed
Parameter notifies to give service request method, apparatus, so that service request method, apparatus generates service IP address according to the seed parameter;If not
Reach, then updates service IP address and generate parameter, and parameter is generated according to updated service IP address, utilize pre-set business IP
Algorithm of Address Generation generates corresponding service IP address.
Fig. 6 is referred to, is a kind of structural schematic diagram of business processing device provided in an embodiment of the present invention, wherein the industry
Business processing unit can be applied to the service request method, apparatus in above method embodiment, as shown in fig. 6, the business processing device
May include:
Generation unit 610, for generating parameter, benefit according to current service IP address when needing initiating business request
Corresponding service IP address is generated with pre-set business IP address generating algorithm;Wherein, service IP address generation parameter can be at any time
Between change;
Transmission unit 620, for sending service request message, the purpose IP address of the service request message is the industry
Business IP address.
In an alternative embodiment, service IP address generate parameter include service response method, apparatus device identification IP address and
Seed parameter;Alternatively, service IP address generate parameter include the device identification IP address of service response method, apparatus, seed parameter with
And type of service, the seed parameter carries out cyclically-varying at any time or timing changes.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus
Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
The purpose for needing to select some or all of the modules therein to realize the present invention program.Those of ordinary skill in the art are not paying
Out in the case where creative work, it can understand and implement.
It as seen from the above-described embodiment, can be according to current industry when service request method, apparatus needs initiating business request
IP address of being engaged in generates parameter, generates corresponding service IP address using pre-set business IP address generating algorithm, and send destination IP
Address is the service request message of the service IP address;When service response method, apparatus receives service request message, can sentence
Whether the purpose IP address of the service request message of breaking is effective service IP address, and works as the destination IP of the service request message
When address is effective traffic IP address, the service request message is responded;Otherwise, the service request message is refused to respond, is improved
Business operation safety.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or
Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention
Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.
Claims (10)
1. a kind of method for processing business is applied to service response method, apparatus, which is characterized in that the described method includes:
When receiving service request message, judge whether the purpose internet protocol address of the service request message is effective
Service IP address;Wherein, effective traffic IP address can change with the time;The service response method, apparatus includes equipment mark
Know IP address and service IP address, the device identification IP address of service response method, apparatus is the intrinsic IP of service response method, apparatus
The service IP address of location, service response method, apparatus can generate parameter according to pre-set business IP address, using pre-set business IP
Location generating algorithm generates;
If the purpose IP address of service request message is effective traffic IP address, the service request message is responded;
Otherwise, the service request message is refused to respond.
2. the method according to claim 1, wherein the purpose IP address for judging the service request message is
It is no for before effective traffic IP address, further includes:
Judge whether the service IP address of last generation fails;
If not failing, the service IP address that the last time generates is determined as effective traffic IP address;
If failure, update service IP address and generate parameter, and parameter is generated according to updated service IP address, using default
Service IP address generating algorithm generates corresponding service IP address, and the service IP address is determined as effective traffic IP address;
Wherein, service IP address generates the device identification IP address and seed parameter that parameter includes service response method, apparatus;Alternatively,
Service IP address generates device identification IP address, seed parameter and the type of service that parameter includes service response method, apparatus, institute
It states seed parameter and carries out cyclically-varying or timing variation at any time.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
When the service IP address that the last time generates fails, judge whether the associated business of the service IP address is wholly off;
If so, discharging the service IP address;
Otherwise, retain the service IP address, and be set to failure state, until the associated business of the service IP address is all stopped
When only, the service IP address is discharged.
4. according to the method described in claim 2, it is characterized in that, when last time generate service IP address failure when, it is described more
New business IP address generates before parameter, further includes:
Judge whether the quantity of the service IP address of local failure state reaches preset threshold;
If reaching, it is effective traffic IP address that an activation is selected from the service IP address of local failure state, and will be right
The seed parameter answered notifies to give service request method, apparatus, so that service request method, apparatus is according to seed parameter generation business IP
Location;
If not up to, it is determined that execute the step of update service IP address generates parameter.
5. a kind of method for processing business is applied to service request method, apparatus, which is characterized in that the described method includes:
When needing initiating business request, parameter is generated according to current service IP address, is generated using pre-set business IP address
Algorithm generates corresponding service IP address;Wherein, service IP address generates parameter and can change with the time;
Service request message is sent, the purpose IP address of the service request message is the service IP address;Wherein, business is rung
Answering method, apparatus includes device identification IP address and service IP address, and the device identification IP address of service response method, apparatus is rung for business
The intrinsic IP address of method, apparatus is answered, the service IP address of service response method, apparatus can be generated according to pre-set business IP address joins
Number is generated using pre-set business IP address generating algorithm.
6. a kind of business processing device, it is applied to service response method, apparatus, which is characterized in that described device includes:
Receiving unit, for receiving service request message;
Judging unit, for judging that the purpose internet protocol address of service request message that the receiving unit receives is
No is effective traffic IP address;Wherein, effective traffic IP address can change with the time;Service response method, apparatus includes setting
Standby mark IP address and service IP address, the device identification IP address of service response method, apparatus are the intrinsic of service response method, apparatus
The service IP address of IP address, service response method, apparatus can generate parameter according to pre-set business IP address, utilize pre-set business
IP address generating algorithm generates;
Processing unit responds the service request if the purpose IP address for service request message is effective traffic IP address
Message;Otherwise, the service request message is refused to respond.
7. device according to claim 6, which is characterized in that
The judging unit, is also used to judge whether the service IP address of last generation fails;
Described device further include:
Determination unit, if the service IP address for the last time to generate does not fail, the service IP address that the last time is generated is true
It is set to effective traffic IP address;
Generation unit, if for last time generate service IP address failure, update service IP address generate parameter, and according to
Updated service IP address generates parameter, generates corresponding service IP address using pre-set business IP address generating algorithm;
The determination unit is also used to for the service IP address to be determined as effective traffic IP address;
Wherein, service IP address generates the device identification IP address and seed parameter that parameter includes service response method, apparatus;Alternatively,
Service IP address generates device identification IP address, seed parameter and the type of service that parameter includes service response method, apparatus, institute
It states seed parameter and carries out cyclically-varying or timing variation at any time.
8. device according to claim 7, which is characterized in that
The judging unit judges that the service IP address is associated when the service IP address for being also used to generate when the last time fails
Whether business is wholly off;
The generation unit discharges the service IP address if it is wholly off to be also used to the associated business of the service IP address;It is no
Then, retain the service IP address, and be set to failure state, until when the associated business of the service IP address is wholly off,
Discharge the service IP address.
9. device according to claim 7, which is characterized in that
The judging unit judges the business IP of local failure state when the service IP address for being also used to generate when last time fails
Whether the quantity of address reaches preset threshold;
The generation unit, if whether the quantity for being also used to the service IP address of local failure state reaches preset threshold, from
It is effective traffic IP address that an activation is selected in the service IP address of local failure state, and corresponding seed parameter is notified
Service request method, apparatus is given, so that service request method, apparatus generates service IP address according to the seed parameter;If not up to, more
New business IP address generates parameter, and generates parameter according to updated service IP address, is generated using pre-set business IP address
Algorithm generates corresponding service IP address.
10. a kind of business processing device, it is applied to service request method, apparatus, which is characterized in that described device includes:
Generation unit, for generating parameter according to current service IP address, utilizing default industry when needing initiating business request
IP address generating algorithm of being engaged in generates corresponding service IP address;Wherein, service IP address generates parameter and can become at any time
Change;
Transmission unit, for sending service request message, the purpose IP address of the service request message is for the business IP
Location;Wherein, service response method, apparatus includes device identification IP address and service IP address, the device identification of service response method, apparatus
IP address is the intrinsic IP address of service response method, apparatus, and the service IP address of service response method, apparatus can be according to pre-set business
IP address generates parameter, is generated using pre-set business IP address generating algorithm.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611117562.XA CN106534173B (en) | 2016-12-07 | 2016-12-07 | A kind of method for processing business and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611117562.XA CN106534173B (en) | 2016-12-07 | 2016-12-07 | A kind of method for processing business and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106534173A CN106534173A (en) | 2017-03-22 |
CN106534173B true CN106534173B (en) | 2019-10-18 |
Family
ID=58341928
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611117562.XA Active CN106534173B (en) | 2016-12-07 | 2016-12-07 | A kind of method for processing business and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106534173B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2757447Y (en) * | 2004-09-10 | 2006-02-08 | 上海广域信息网络有限公司 | Long distance data collecting and transmission device and long distance data transmission system |
CN101277257A (en) * | 2007-03-26 | 2008-10-01 | 华为技术有限公司 | Method, apparatus and system for dynamically updating DNS |
CN101719937A (en) * | 2009-11-30 | 2010-06-02 | 中兴通讯股份有限公司 | Method and system for updating terminal device |
CN102855568A (en) * | 2012-08-14 | 2013-01-02 | 广东汇卡商务服务有限公司 | Payment system and method capable of preventing a point of sale (POS) terminal from being illegally relocated |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5459983B2 (en) * | 2008-06-03 | 2014-04-02 | キヤノン株式会社 | Information processing apparatus, information processing apparatus control method, and computer program |
-
2016
- 2016-12-07 CN CN201611117562.XA patent/CN106534173B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2757447Y (en) * | 2004-09-10 | 2006-02-08 | 上海广域信息网络有限公司 | Long distance data collecting and transmission device and long distance data transmission system |
CN101277257A (en) * | 2007-03-26 | 2008-10-01 | 华为技术有限公司 | Method, apparatus and system for dynamically updating DNS |
CN101719937A (en) * | 2009-11-30 | 2010-06-02 | 中兴通讯股份有限公司 | Method and system for updating terminal device |
CN102855568A (en) * | 2012-08-14 | 2013-01-02 | 广东汇卡商务服务有限公司 | Payment system and method capable of preventing a point of sale (POS) terminal from being illegally relocated |
Also Published As
Publication number | Publication date |
---|---|
CN106534173A (en) | 2017-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10298436B2 (en) | Arbitration processing method after cluster brain split, quorum storage apparatus, and system | |
US20170093965A1 (en) | Redundancy network protocol system | |
JP2006229967A (en) | High-speed multicast path switching | |
CN105429799B (en) | Server backup method and device | |
US10979360B2 (en) | Resource obtaining method and apparatus | |
EP2733907B1 (en) | Method, local gateway, and system for local voice survivability | |
CN108429824B (en) | Address allocation method and device | |
CN106797330B (en) | Method, Traffic Monitor (TM), Request Router (RR) and system for monitoring a Content Delivery Network (CDN) | |
CN105959282A (en) | Protection method and device for DHCP attack | |
CN100521603C (en) | Method for realizing high-usability of network security equipment under cluster mode | |
CN108989476A (en) | A kind of address distribution method and device | |
CN109586986B (en) | Method, device, equipment and storage medium for switching network equipment | |
CN103220189A (en) | Multi-active detection (MAD) backup method and equipment | |
CN106487696B (en) | Link failure detection method and device | |
WO2017028391A1 (en) | Virtual network communication method and apparatus | |
CN106534173B (en) | A kind of method for processing business and device | |
JP6421516B2 (en) | Server device, redundant server system, information takeover program, and information takeover method | |
CN104125079A (en) | Method and device for determining double-device hot-backup configuration information | |
WO2015139633A1 (en) | Data transmission method and apparatus | |
US20170141950A1 (en) | Rescheduling a service on a node | |
US8966063B2 (en) | Operating a sleep management service | |
CN105591804A (en) | Configuration changing processing method and device | |
US10063495B2 (en) | Method and apparatus for improved handling of IMS node blacklisting | |
CN112040021B (en) | System and method for operating machine dormant network hosting in network target range actual combat drilling scene | |
CN101453395A (en) | Switching method, system and device for uplink mode |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20221107 Address after: 15 / F, Zhongchuang Plaza, 385 Hangtian Middle Road, national civil aerospace industrial base, Xi'an City, Shaanxi Province 710100 Patentee after: Xi'an Yu vision Mdt InfoTech Ltd. Address before: 310051 Zhejiang Jiangling Hangzhou Road, Binjiang District, Jiangling, 88, No. 10 South Block 1-11. Patentee before: ZHEJIANG UNIVIEW TECHNOLOGIES Co.,Ltd. |