CN110336742A - Method for sending information, device, computer equipment and storage medium - Google Patents
Method for sending information, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN110336742A CN110336742A CN201910538818.1A CN201910538818A CN110336742A CN 110336742 A CN110336742 A CN 110336742A CN 201910538818 A CN201910538818 A CN 201910538818A CN 110336742 A CN110336742 A CN 110336742A
- Authority
- CN
- China
- Prior art keywords
- information
- sent
- sendaisle
- target
- transmission
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/22—Alternate routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/30—Routing of multiclass traffic
Abstract
The application proposes a kind of method for sending information, device, computer equipment and storage medium, wherein, method includes: by generating transmission routing value corresponding with information to be sent according to preset strategy when determining that the corresponding currently transmitted channel of information to be sent is unavailable;Target sendaisle is determined according to routing value is sent;Information to be sent is sent by target sendaisle.Thus, solving can only specify single piece of information channel to send information in the prior art, cause when specify information channel is broken down, the technical issues of information can not be sent, information is caused to block, by generating transmission routing value corresponding with information to be sent, determine that target sendaisle sends information to be sent according to routing value, it realizes control information in proportion to send, has ensured the high availability of information channel, the case where sending failure can not be led to by avoiding information channel.
Description
Technical field
This application involves field of communication technology more particularly to a kind of method for sending information, device, computer equipment and storages
Medium.
Background technique
Currently, can by clearance platform be monitored, such as monitor server A stop working needs generate correspond to
Information be sent to related operation maintenance personnel, it is to be understood that a notification information can be sent out by different transmitting terminals
It send, for example, short message can pass through the side of setting information switch by movable passageway, communication passage etc., in the related art
Formula specifies single information channel to be sent, and in specified information channel failure, causes all information that can not pass through finger
Fixed information channel is sent, and information is caused to block.
Summary of the invention
The application is intended to solve at least some of the technical problems in related technologies.
Present applicant proposes a kind of method for sending information, device, computer equipment and storage mediums, for solving existing skill
Single piece of information channel can only be specified to send information in art, cause not sending information when specify information channel is broken down, make
The technical issues of blocking at information determines target according to routing value by generating transmission routing value corresponding with information to be sent
Sendaisle sends information to be sent, realizes control information in proportion and sends, has ensured the High Availabitity of information channel
Property, the case where sending failure can not be led to by avoiding information channel.
The application first aspect embodiment proposes a kind of method for sending information, the described method comprises the following steps:
When determining that the corresponding currently transmitted channel of information to be sent is unavailable, according to preset strategy generate with it is described pending
The corresponding transmission routing value of breath of delivering letters;
Target sendaisle is determined according to the transmission routing value;
The information to be sent is sent by the target sendaisle.
As the mode in the cards of the first in the embodiment of the present application, work as described determining that information to be sent is corresponding
When preceding transmission channel is unavailable, generated before transmission corresponding with the information to be sent identifies according to predetermined manner, further includes:
Server in clearance platform is monitored;
When the data for monitoring the server meet preset condition, first information to be sent is generated.
As second in the embodiment of the present application mode in the cards, work as described determining that information to be sent is corresponding
When preceding transmission channel is unavailable, generated before transmission corresponding with the information to be sent identifies according to predetermined manner, further includes:
It obtains the transmission of Third-party payment mechanism and establishes connection request with clearance platform;
Second information to be sent is generated according to the connection request of establishing, wherein second information to be sent is used
In to Third-party payment mechanism progress authentication.
As the mode in the cards of the third in the embodiment of the present application, it is described according to preset strategy generate with it is described pending
The corresponding transmission routing value of breath of delivering letters, comprising:
It is random to generate transmission routing value corresponding with the information to be sent;Or
Transmission routing value corresponding with the information to be sent is generated according to incremented circulation.
As the 4th kind of mode in the cards in the embodiment of the present application, it is described according to preset strategy generate with it is described pending
The corresponding transmission routing value of breath of delivering letters, comprising:
Obtain the corresponding server service type of the information to be sent;
According to the server service type;The corresponding transmission routing value of the information to be sent is set.
It is described that target is determined according to the transmission routing value as the 5th kind of mode in the cards in the embodiment of the present application
Sendaisle, comprising:
Obtain preset range value belonging to the transmission routing value;
Target sendaisle is determined according to preset range value belonging to the transmission routing value.
As the 6th kind of mode in the cards in the embodiment of the present application, it is described by the target sendaisle by institute
It states after information to be sent sent, further includes: the detection information to be sent is sent whether fail;If detecting institute
It states information to be sent and carries out transmission failure, then obtain spare sendaisle;It will be described to be sent by the spare sendaisle
Information is sent.
As the 7th kind of mode in the cards in the embodiment of the present application, it is described by the target sendaisle by institute
It states before information to be sent sent, further includes: whether the use state for detecting the target sendaisle meets transmission item
Part;If the use state of the target sendaisle is unsatisfactory for transmission condition, spare sendaisle is obtained;By described spare
Sendaisle sends the information to be sent.
The method for sending information of the embodiment of the present application, by determining that the corresponding currently transmitted channel of information to be sent can not
Used time generates transmission routing value corresponding with information to be sent according to preset strategy;Determine that target is sent according to routing value is sent
Channel;Information to be sent is sent by target sendaisle.Single letter can only be specified in the prior art by solving as a result,
It ceases channel and sends information, lead to that information can not be sent when specify information channel is broken down, the technology for causing information to block is asked
Topic determines that target sendaisle is delivered letters pending according to routing value by generating transmission routing value corresponding with information to be sent
Breath is sent, and is realized control information in proportion and is sent, has ensured the high availability of information channel, avoided information channel not
The case where may cause transmission failure.
The application second aspect embodiment proposes a kind of information transmitting apparatus, comprising:
Generation module, for when determining that the corresponding currently transmitted channel of information to be sent is unavailable, according to preset strategy
Generate transmission routing value corresponding with the information to be sent;
Determining module, for determining target sendaisle according to the transmission routing value;
Sending module, for being sent the information to be sent by the target sendaisle.
As the possible implementation of the first in the embodiment of the present application, described device, further includes:
Monitoring module, for being monitored to server in clearance platform;
First generation module when for meeting preset condition in the data for monitoring the server, generates described first
Information to be sent.
As the possible implementation of the third in the embodiment of the present application, described device, further includes:
First obtains module, and for obtaining, Third-party payment mechanism is sent and clearance platform establishes connection request;
Second generation module, for generating second information to be sent according to the connection request of establishing, wherein described
Second information to be sent is used to carry out authentication to the Third-party payment mechanism.
It is specifically used for as the 4th kind of possible implementation, the generation module in the embodiment of the present application:
It is random to generate transmission routing value corresponding with the information to be sent;Or
Transmission routing value corresponding with the information to be sent is generated according to incremented circulation.
It is specifically also used to as the 5th kind of possible implementation, the generation module in the embodiment of the present application:
Obtain the corresponding server service type of the information to be sent;
According to the server service type, the corresponding transmission routing value of the information to be sent is set.
It is specifically used for as the 6th kind of possible implementation, the determining module in the embodiment of the present application:
Obtain preset range value belonging to the transmission routing value;
Target sendaisle is determined according to preset range value belonging to the transmission routing value.
As the 7th kind of possible implementation, described device in the embodiment of the present application, further includes:
Whether first detection module fails for detecting the information to be sent and being sent;
Second obtains module, if obtaining spare send for detecting that the information to be sent carries out transmission failure and leading to
Road;
The sending module is also used to send the information to be sent by the spare sendaisle.
As the 8th kind of possible implementation, described device in the embodiment of the present application, further includes:
Whether the second detection module, the use state for detecting the target sendaisle meet transmission condition;
Third obtains module and obtains standby if the use state for the target sendaisle is unsatisfactory for transmission condition
Use sendaisle;
The sending module is also used to send the information to be sent by the spare sendaisle.
The information transmitting apparatus of the embodiment of the present application, by determining that the corresponding currently transmitted channel of information to be sent can not
Used time generates transmission routing value corresponding with information to be sent according to preset strategy;Determine that target is sent according to routing value is sent
Channel;Information to be sent is sent by target sendaisle.Single letter can only be specified in the prior art by solving as a result,
It ceases channel and sends information, lead to that information can not be sent when specify information channel is broken down, the technology for causing information to block is asked
Topic determines that target sendaisle is delivered letters pending according to routing value by generating transmission routing value corresponding with information to be sent
Breath is sent, and is realized control information in proportion and is sent, has ensured the high availability of information channel, avoided information channel not
The case where may cause transmission failure.
The application third aspect embodiment proposes a kind of computer equipment, including memory, processor and is stored in
On reservoir and the computer program that can run on a processor, when the processor executes described program, such as above-mentioned implementation is realized
Method for sending information described in example.
The application fourth aspect embodiment proposes a kind of non-transitorycomputer readable storage medium, is stored thereon with meter
Calculation machine program realizes such as above-mentioned method for sending information as described in the examples when the program is executed by processor.
The additional aspect of the application and advantage will be set forth in part in the description, and will partially become from the following description
It obtains obviously, or recognized by the practice of the application.
Detailed description of the invention
Fig. 1 is method for sending information flow diagram provided by the application one embodiment;
Fig. 2 is method for sending information flow diagram provided by another embodiment of the application;
Fig. 3 is information transmitting apparatus structural schematic diagram provided by the application one embodiment;
Fig. 4 is information transmitting apparatus structural schematic diagram provided by another embodiment of the application;
Fig. 5 is information transmitting apparatus structural schematic diagram provided by another embodiment of the application;
Fig. 6 is information transmitting apparatus structural schematic diagram provided by the application further embodiment;
Fig. 7 is information transmitting apparatus structural schematic diagram provided by the application a still further embodiment;
Fig. 8 shows the block diagram for being suitable for the exemplary computer device for being used to realize the application embodiment.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to for explaining the application, and should not be understood as the limitation to the application.
Describe with reference to the accompanying drawings according to the embodiment of the present application propose method for sending information, device, computer equipment and
Storage medium.
Fig. 1 is method for sending information flow diagram provided by the application one embodiment.
As shown in Figure 1, the method for sending information the following steps are included:
Step 101, when determining that the corresponding currently transmitted channel of information to be sent is unavailable, according to preset strategy generate with
The corresponding transmission routing value of the information to be sent.
In practical applications, the server in clearance platform can be monitored, for example, by memory to server,
The data such as central processing unit are monitored, more specifically, according to the data of predeterminated frequency reading service device, and and preset standard into
Row relatively realizes the monitoring to server, and when the data for monitoring server meet preset condition, generation first is pending delivers letters
Breath, such as when server memory has reached default value or ratio, generate information to be sent;Third party can also be received
Payment mechanism, which is sent, establishes connection request with clearance platform, in order to improve safety, needs to establish connection request generation according to this
For carrying out the information to be sent of authentication second to Third-party payment mechanism.
Wherein, the first information to be sent and the second information to be sent are all the information to be sent in the embodiment of the present application, can
With understanding, each information to be sent has corresponding transmission channel to be sent, the application determine it is to be sent
When the corresponding currently transmitted channel of information is unavailable, transmission routing value corresponding with information to be sent is generated according to preset strategy.
Wherein it is possible to which it is corresponding with information to be sent to generate to select different preset strategies according to different application scenarios
Routing value is sent, is illustrated below:
The first example, it is random to generate transmission routing value corresponding with information to be sent, that is to say, that be sent determining
After message, a transmission routing value such as 7 is generated by preset algorithm or function at random, and obtain transmission routing value
7 belong in 0-70 preset range value and correspond to target sendaisle A, to be sent by target sendaisle A.
Second of example generates transmission routing value corresponding with information to be sent according to incremented circulation, that is to say, that true
After fixed message to be sent, for example transmission routing corresponding with information to be sent is generated in such a way that 1 to 10 incremented circulation generates
Value is 1, and obtains and send routing value 1 and belong in 1-6 preset range value and correspond to target sendaisle B, to pass through target transmission
Channel B is sent.By way of incremented circulation, make generate transmission routing value more evenly fall in different short message operators
In corresponding routing section, realization is more accurately sent in proportion.
The third example obtains the corresponding server service type of information to be sent, according to server service type, setting
The corresponding transmission routing value of information to be sent.
Step 102, target sendaisle is determined according to transmission routing value.
Step 103, information to be sent is sent by target sendaisle.
It is understood that being sent by target logical after the transmission routing value according to generation determines target sendaisle
Road sends information to be sent.
The method for sending information of the embodiment of the present application, by determining that the corresponding currently transmitted channel of information to be sent can not
Used time generates transmission routing value corresponding with information to be sent according to preset strategy;Determine that target is sent according to routing value is sent
Channel;Information to be sent is sent by target sendaisle.Single letter can only be specified in the prior art by solving as a result,
It ceases channel and sends information, lead to that information can not be sent when specify information channel is broken down, the technology for causing information to block is asked
Topic determines that target sendaisle is delivered letters pending according to routing value by generating transmission routing value corresponding with information to be sent
Breath is sent, and is realized control information in proportion and is sent, has ensured the high availability of information channel, avoided information channel not
The case where may cause transmission failure.
Fig. 2 is method for sending information flow diagram provided by another embodiment of the application.
As shown in Fig. 2, the method for sending information the following steps are included:
Step 201, server in clearance platform is monitored, meets preset condition in the data for monitoring server
When, generate information to be sent.
Step 202, when determining that the corresponding currently transmitted channel of information to be sent is unavailable, it is corresponding to obtain information to be sent
Server service type, the corresponding transmission routing value of information to be sent is arranged according to server service type.
Step 203, it obtains and sends preset range value belonging to routing value, according to preset range value belonging to transmission routing value
Determine target sendaisle.
Specifically, the server in clearance platform can be monitored, for example passes through the memory to server, centre
The data such as reason device are monitored, more specifically, being compared according to the data of predeterminated frequency reading service device, and with preset standard
It realizes the monitoring to server, information to be sent is generated when the data for monitoring server meet preset condition, for example take
Business device memory generates information to be sent when having reached default value or ratio.
As a result, after generating information to be sent, the corresponding server service type of information to be sent is obtained, according to server
The corresponding transmission routing value of information to be sent is arranged in type of service, and obtains and send preset range value belonging to routing value, according to
It sends preset range value belonging to routing value and determines target sendaisle, such as is random by preset algorithm or function
A transmission routing value such as 7 is generated, and is obtained and is sent routing value 7 and belong in 0-70 preset range value and correspond to target sendaisle
A generates one by preset algorithm or function for another example to be sent by target sendaisle A at random
Routing value such as 7 is sent, and is obtained and is sent routing value 80 and belong in 80-120 preset range value and correspond to target sendaisle B, from
And it is sent by target sendaisle B.
Wherein, server service type is pre-set, for example before using server, the server is arranged and is used for
Carry out type of service A.
Step 204, whether the use state for detecting target sendaisle meets transmission condition.
It step 205, will be to be sent by target sendaisle if the use state of target sendaisle meets transmission condition
Information is sent.
Step 206, if the use state of target sendaisle is unsatisfactory for transmission condition, spare sendaisle is obtained, is led to
Spare sendaisle is crossed to send information to be sent.
Specifically, increase the status checkout that channel is sent to target before information to be sent is sent, letter can be used by directly choosing
It ceases channel to send, unnecessary information channel is avoided to attempt.
It for example, the use state of target sendaisle can be whether the free time, or whether there is failure, sent in target
Channel again sends information to be sent after meeting transmission condition, if target sendaisle is unsatisfactory for transmission condition, obtains
Spare sendaisle sends information to be sent by spare sendaisle.
For example, determining that movable passageway is that target sendaisle detects making for movable passageway before sending information to be sent
Whether meet transmission condition with state, the information channel of detection discovery movable passageway breaks down, can not send information, then obtain
Spare sendaisle, such as communication passage or telecommunication path are sent information to be sent by spare sendaisle, are reduced
Sending time improves information transmitting efficiency.
Step 207, it detects information to be sent and is sent and whether failed.
Step 208, if detecting, information to be sent carries out transmission failure, obtains spare sendaisle, passes through spare hair
Channel is sent to send information to be sent.
Specifically, after being sent information to be sent by target sendaisle, detect whether information to be sent is sent out
Success is sent, if not sending success, spare sendaisle is obtained, is sent again by other sendaisles.
For example, the corresponding transmission routing value of information to be sent generated is 25, then corresponding target sendaisle is movement
Information to be sent is sent by movable passageway, after sending a period of time, it is not sent to receive information to be sent by channel
Success then obtains spare sendaisle, and spare sendaisle can be communication passage or telecommunication path etc., passes through spare transmission
Channel sends information to be sent, improves information transmitting efficiency.
It should be noted that the corresponding type of service of information to be sent can also be analyzed in the application, according to type of service
Classify, different types of service is sent by different transmission channels, improves information transmitting efficiency.
The method for sending information of the embodiment of the present application, by determining that the corresponding currently transmitted channel of information to be sent can not
Used time generates transmission routing value corresponding with information to be sent according to preset strategy;Determine that target is sent according to routing value is sent
Channel;Information to be sent is sent by target sendaisle.Single letter can only be specified in the prior art by solving as a result,
It ceases channel and sends information, lead to that information can not be sent when specify information channel is broken down, the technology for causing information to block is asked
Topic determines that target sendaisle is delivered letters pending according to routing value by generating transmission routing value corresponding with information to be sent
Breath is sent, and is realized control information in proportion and is sent, has ensured the high availability of information channel, avoided information channel not
The case where may cause transmission failure.
In order to realize above-described embodiment, the application also proposes a kind of information transmitting apparatus.
As shown in figure 3, the information transmitting apparatus includes: generation module 301, determining module 302 and sending module 303.
Generation module 301, for when determining that the corresponding currently transmitted channel of information to be sent is unavailable, according to default plan
Slightly generate transmission routing value corresponding with information to be sent.
Determining module 302, for determining target sendaisle according to transmission routing value.
Sending module 303, for being sent information to be sent by target sendaisle.
As a kind of mode in the cards, as shown in figure 4, on the basis of Fig. 3, the information transmitting apparatus, also
It include: monitoring module 304 and the first generation module 305.
Wherein, monitoring module 304, for being monitored to server in clearance platform.
When for meeting preset condition in the data for monitoring server, it is to be sent to generate first for first generation module 305
Information.
As shown in figure 5, on the basis of Fig. 3, the information transmitting apparatus, further includes: first obtains module 306 and the
Two generation modules 307.
Wherein, first module 306 is obtained, sends for obtaining Third-party payment mechanism and clear platform and establish connection and ask
It asks.
Second generation module 307, for according to establish connection request generate the second information to be sent, wherein second is pending
Breath of delivering letters is used to carry out authentication to Third-party payment mechanism.
As another mode in the cards, generation module 301 is specifically used for: random to generate and information pair to be sent
The transmission routing value answered;Or transmission routing value corresponding with information to be sent is generated according to incremented circulation.
As another mode in the cards, generation module 301 is specifically also used to: it is corresponding to obtain information to be sent
Server service type;According to server service type, the corresponding transmission routing value of information to be sent is set.
As another mode in the cards, determining module is specifically used for: obtaining and sends default model belonging to routing value
Enclose value;Target sendaisle is determined according to preset range value belonging to routing value is sent.
As shown in fig. 6, on the basis of Fig. 3, further includes: first detection module 308 and second obtains module 309.
Whether first detection module 308 fails for detecting information to be sent and being sent.
Second obtains module 309, if obtaining spare send for detecting that information to be sent carries out transmission failure and leading to
Road.
Sending module 303 is also used to send information to be sent by spare sendaisle.
As shown in fig. 7, on the basis of Fig. 3, further includes: the second detection module 310 and second obtains module 311.
Whether the second detection module 310, the use state for detecting the target sendaisle meet transmission condition.
Third obtains module 311 and obtains spare if the use state for target sendaisle is unsatisfactory for transmission condition
Sendaisle.
Sending module 303 is also used to send information to be sent by spare sendaisle.
It should be noted that the aforementioned dress for being also applied for the embodiment to the explanation of method for sending information embodiment
It sets, details are not described herein again.
The information transmitting apparatus of the embodiment of the present application, by determining that the corresponding currently transmitted channel of information to be sent can not
Used time generates transmission routing value corresponding with information to be sent according to preset strategy;Determine that target is sent according to routing value is sent
Channel;Information to be sent is sent by target sendaisle.Single letter can only be specified in the prior art by solving as a result,
It ceases channel and sends information, lead to that information can not be sent when specify information channel is broken down, the technology for causing information to block is asked
Topic determines that target sendaisle is delivered letters pending according to routing value by generating transmission routing value corresponding with information to be sent
Breath is sent, and is realized control information in proportion and is sent, has ensured the high availability of information channel, avoided information channel not
The case where may cause transmission failure.
In order to realize above-described embodiment, the application also proposes computer equipment, including memory, processor and is stored in
On reservoir and the computer program that can run on a processor, when the processor executes described program, such as above-mentioned implementation is realized
Method for sending information described in example.
In order to realize above-described embodiment, the application also proposes a kind of non-transitorycomputer readable storage medium, deposits thereon
Computer program is contained, such as above-mentioned method for sending information as described in the examples is realized when which is executed by processor.
Fig. 8 shows the block diagram for being suitable for the exemplary computer device for being used to realize the application embodiment.What Fig. 8 was shown
Computer equipment 12 is only an example, should not function to the embodiment of the present application and use scope bring any restrictions.
As shown in figure 8, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can be with
Including but not limited to: one or more processor or processing unit 16, system storage 28 connect different system components
The bus 18 of (including system storage 28 and processing unit 16).
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (Industry Standard
Architecture;Hereinafter referred to as: ISA) bus, microchannel architecture (Micro Channel Architecture;Below
Referred to as: MAC) bus, enhanced isa bus, Video Electronics Standards Association (Video Electronics Standards
Association;Hereinafter referred to as: VESA) local bus and peripheral component interconnection (Peripheral Component
Interconnection;Hereinafter referred to as: PCI) bus.
Computer equipment 12 typically comprises a variety of computer system readable media.These media can be it is any can be by
The usable medium that computer equipment 12 accesses, including volatile and non-volatile media, moveable and immovable medium.
Memory 28 may include the computer system readable media of form of volatile memory, such as random access memory
Device (Random Access Memory;Hereinafter referred to as: RAM) 30 and/or cache memory 32.Computer equipment 12 can be with
It further comprise other removable/nonremovable, volatile/non-volatile computer system storage mediums.Only as an example,
Storage system 34 can be used for reading and writing immovable, non-volatile magnetic media, and (Fig. 8 do not show, commonly referred to as " hard drive
Device ").Although being not shown in Fig. 8, the disk for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided and driven
Dynamic device, and to removable anonvolatile optical disk (such as: compact disc read-only memory (Compact Disc Read Only
Memory;Hereinafter referred to as: CD-ROM), digital multi CD-ROM (Digital Video Disc Read Only
Memory;Hereinafter referred to as: DVD-ROM) or other optical mediums) read-write CD drive.In these cases, each driving
Device can be connected by one or more data media interfaces with bus 18.Memory 28 may include that at least one program produces
Product, the program product have one group of (for example, at least one) program module, and it is each that these program modules are configured to perform the application
The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28
In, such program module 42 include but is not limited to operating system, one or more application program, other program modules and
It may include the realization of network environment in program data, each of these examples or certain combination.Program module 42 is usual
Execute the function and/or method in embodiments described herein.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24
Deng) communication, can also be enabled a user to one or more equipment interact with the computer equipment 12 communicate, and/or with make
The computer equipment 12 any equipment (such as network interface card, the modulatedemodulate that can be communicated with one or more of the other calculating equipment
Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, computer equipment 12 may be used also
To pass through network adapter 20 and one or more network (such as local area network (Local Area Network;Hereinafter referred to as:
LAN), wide area network (Wide Area Network;Hereinafter referred to as: WAN) and/or public network, for example, internet) communication.Such as figure
Shown, network adapter 20 is communicated by bus 18 with other modules of computer equipment 12.It should be understood that although not showing in figure
Out, other hardware and/or software module can be used in conjunction with computer equipment 12, including but not limited to: microcode, device drives
Device, redundant processing unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and
Data processing, such as realize the method for sending information referred in previous embodiment.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by the application
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used
Any one of art or their combination are realized: have for data-signal is realized the logic gates of logic function from
Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile
Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the application
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of application
Type.
Claims (12)
1. a kind of method for sending information, which comprises the following steps:
When determining that the corresponding currently transmitted channel of information to be sent is unavailable, generates according to preset strategy and pending deliver letters with described
Cease corresponding transmission routing value;
Target sendaisle is determined according to the transmission routing value;
The information to be sent is sent by the target sendaisle.
2. the method as described in claim 1, which is characterized in that determining the corresponding currently transmitted letter of information to be sent described
When road is unavailable, generated before transmission corresponding with the information to be sent identifies according to predetermined manner, further includes:
Server in clearance platform is monitored;
When the data for monitoring the server meet preset condition, first information to be sent is generated.
3. the method as described in claim 1, which is characterized in that determining the corresponding currently transmitted letter of information to be sent described
When road is unavailable, generated before transmission corresponding with the information to be sent identifies according to predetermined manner, further includes:
It obtains the transmission of Third-party payment mechanism and establishes connection request with clearance platform;
Generate second information to be sent according to the connection request of establishing, wherein second information to be sent for pair
The Third-party payment mechanism carries out authentication.
4. the method as described in claim 1, which is characterized in that described to be generated and the information pair to be sent according to preset strategy
The transmission routing value answered, comprising:
It is random to generate transmission routing value corresponding with the information to be sent;Or
Transmission routing value corresponding with the information to be sent is generated according to incremented circulation.
5. the method as described in claim 1, which is characterized in that described to be generated and the information pair to be sent according to preset strategy
The transmission routing value answered, comprising:
Obtain the corresponding server service type of the information to be sent;
According to the server service type, the corresponding transmission routing value of the information to be sent is set.
6. the method as described in claim 1, which is characterized in that described to determine that target transmission is logical according to the transmission routing value
Road, comprising:
Obtain preset range value belonging to the transmission routing value;
Target sendaisle is determined according to preset range value belonging to the transmission routing value.
7. the method as described in claim 1, which is characterized in that it is described will be described to be sent by the target sendaisle
After information is sent, further includes:
It detects the information to be sent and is sent and whether failed;
If detecting, the information to be sent carries out transmission failure, obtains spare sendaisle;
The information to be sent is sent by the spare sendaisle.
8. the method as described in claim 1, which is characterized in that it is described will be described to be sent by the target sendaisle
Before information is sent, further includes:
Whether the use state for detecting the target sendaisle meets transmission condition;
If the use state of the target sendaisle is unsatisfactory for transmission condition, spare sendaisle is obtained;
The information to be sent is sent by the spare sendaisle.
9. a kind of information transmitting apparatus characterized by comprising
Generation module, for being generated according to preset strategy when determining that the corresponding currently transmitted channel of information to be sent is unavailable
Transmission routing value corresponding with the information to be sent;
Determining module, for determining target sendaisle according to the transmission routing value;
First sending module, for being sent the information to be sent by the target sendaisle.
10. a kind of information transmitting system characterized by comprising information transmitting apparatus as claimed in claim 9 and information system
System;
The information transmitting apparatus is set to clearance platform, is connected with the information system;
The information transmitting apparatus is used for when determining that the corresponding currently transmitted channel of information to be sent is unavailable, according to default plan
Transmission routing value corresponding with the information to be sent is slightly generated, target sendaisle is determined according to transmission routing value, passes through institute
The corresponding information system of target sendaisle is stated to send the information to be sent.
11. a kind of computer equipment, which is characterized in that including memory, processor and store on a memory and can handle
The computer program run on device when the processor executes described program, realizes such as letter described in any one of claims 1-8
Cease sending method.
12. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the program
Such as method for sending information described in any one of claims 1-8 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910538818.1A CN110336742B (en) | 2019-06-20 | 2019-06-20 | Information sending method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910538818.1A CN110336742B (en) | 2019-06-20 | 2019-06-20 | Information sending method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110336742A true CN110336742A (en) | 2019-10-15 |
CN110336742B CN110336742B (en) | 2021-08-27 |
Family
ID=68142292
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910538818.1A Active CN110336742B (en) | 2019-06-20 | 2019-06-20 | Information sending method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110336742B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111130714A (en) * | 2019-11-28 | 2020-05-08 | 网银在线(北京)科技有限公司 | Data transmission method, device, electronic equipment and computer readable medium |
CN111885204A (en) * | 2020-08-04 | 2020-11-03 | 武汉众邦银行股份有限公司 | Automatic routing method of multi-channel system |
CN113055215A (en) * | 2019-12-27 | 2021-06-29 | 华为技术有限公司 | Information transmission method and related equipment |
CN113645676A (en) * | 2021-08-13 | 2021-11-12 | 中国人民解放军63620部队 | Service data sending method and device, computer equipment and storage medium |
CN113791380A (en) * | 2021-09-27 | 2021-12-14 | Oppo广东移动通信有限公司 | UWB angle measurement method, terminal device, tag device, and storage medium |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060056605A1 (en) * | 2004-09-13 | 2006-03-16 | Andrew Whitfield | Telemetry using "always-on" communication connection system and method |
US20060253458A1 (en) * | 2005-05-03 | 2006-11-09 | Dixon Christopher J | Determining website reputations using automatic testing |
CN101444119A (en) * | 2006-03-27 | 2009-05-27 | 意大利电信股份公司 | System for implementing security police on mobile communication equipment |
CN102694671A (en) * | 2011-03-23 | 2012-09-26 | 中兴通讯股份有限公司 | Method for realizing fault warning and device thereof |
CN103347253A (en) * | 2013-05-17 | 2013-10-09 | 携程计算机技术(上海)有限公司 | Large-scale off-line short message distributed sending system and method |
CN103457763A (en) * | 2013-08-15 | 2013-12-18 | 中电长城网际系统应用有限公司 | Multi-channel information distribution method and system based on strategies and automatic operation platform |
CN103840972A (en) * | 2014-02-20 | 2014-06-04 | 烽火通信科技股份有限公司 | System and method for backup between link aggregation groups in packet switched network |
CN105072191A (en) * | 2015-08-24 | 2015-11-18 | 拉扎斯网络科技(上海)有限公司 | Method for determining target communication channel and server |
CN106487674A (en) * | 2016-08-19 | 2017-03-08 | 中国南方电网有限责任公司 | Meet the ASON method for routing of optical-fiber longitudinal difference relay protection requirement |
US20170180244A1 (en) * | 2015-12-22 | 2017-06-22 | T-Mobile, Usa, Inc. | Broadband fallback for router |
CN107959623A (en) * | 2016-10-18 | 2018-04-24 | 腾讯科技(深圳)有限公司 | A kind of multichannel disaster recovery method and device |
CN108055312A (en) * | 2017-12-07 | 2018-05-18 | 畅捷通信息技术股份有限公司 | Method for routing and its device and computer installation and its readable storage medium storing program for executing |
CN108737260A (en) * | 2017-04-13 | 2018-11-02 | 中国移动通信集团上海有限公司 | A kind of industry short message sending method, controller, interchanger and system |
CN109828863A (en) * | 2019-01-10 | 2019-05-31 | 网联清算有限公司 | Data disaster tolerance method, apparatus, storage medium and computer equipment |
-
2019
- 2019-06-20 CN CN201910538818.1A patent/CN110336742B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060056605A1 (en) * | 2004-09-13 | 2006-03-16 | Andrew Whitfield | Telemetry using "always-on" communication connection system and method |
US20060253458A1 (en) * | 2005-05-03 | 2006-11-09 | Dixon Christopher J | Determining website reputations using automatic testing |
CN101444119A (en) * | 2006-03-27 | 2009-05-27 | 意大利电信股份公司 | System for implementing security police on mobile communication equipment |
CN102694671A (en) * | 2011-03-23 | 2012-09-26 | 中兴通讯股份有限公司 | Method for realizing fault warning and device thereof |
CN103347253A (en) * | 2013-05-17 | 2013-10-09 | 携程计算机技术(上海)有限公司 | Large-scale off-line short message distributed sending system and method |
CN103457763A (en) * | 2013-08-15 | 2013-12-18 | 中电长城网际系统应用有限公司 | Multi-channel information distribution method and system based on strategies and automatic operation platform |
CN103840972A (en) * | 2014-02-20 | 2014-06-04 | 烽火通信科技股份有限公司 | System and method for backup between link aggregation groups in packet switched network |
CN105072191A (en) * | 2015-08-24 | 2015-11-18 | 拉扎斯网络科技(上海)有限公司 | Method for determining target communication channel and server |
US20170180244A1 (en) * | 2015-12-22 | 2017-06-22 | T-Mobile, Usa, Inc. | Broadband fallback for router |
CN106487674A (en) * | 2016-08-19 | 2017-03-08 | 中国南方电网有限责任公司 | Meet the ASON method for routing of optical-fiber longitudinal difference relay protection requirement |
CN107959623A (en) * | 2016-10-18 | 2018-04-24 | 腾讯科技(深圳)有限公司 | A kind of multichannel disaster recovery method and device |
CN108737260A (en) * | 2017-04-13 | 2018-11-02 | 中国移动通信集团上海有限公司 | A kind of industry short message sending method, controller, interchanger and system |
CN108055312A (en) * | 2017-12-07 | 2018-05-18 | 畅捷通信息技术股份有限公司 | Method for routing and its device and computer installation and its readable storage medium storing program for executing |
CN109828863A (en) * | 2019-01-10 | 2019-05-31 | 网联清算有限公司 | Data disaster tolerance method, apparatus, storage medium and computer equipment |
Non-Patent Citations (2)
Title |
---|
SHIMAA ALI: "Backup Channel Selection Approach for Spectrum Handoff in Cognitive Radio Networks", 《IEEE XPLORE》 * |
郑一麟: "基于物联网的数控机床实时监测预警技术的研究", 《CNKI硕士论文全文数据库》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111130714A (en) * | 2019-11-28 | 2020-05-08 | 网银在线(北京)科技有限公司 | Data transmission method, device, electronic equipment and computer readable medium |
CN111130714B (en) * | 2019-11-28 | 2023-04-07 | 网银在线(北京)科技有限公司 | Data transmission method, device, electronic equipment and computer readable medium |
CN113055215A (en) * | 2019-12-27 | 2021-06-29 | 华为技术有限公司 | Information transmission method and related equipment |
CN111885204A (en) * | 2020-08-04 | 2020-11-03 | 武汉众邦银行股份有限公司 | Automatic routing method of multi-channel system |
CN113645676A (en) * | 2021-08-13 | 2021-11-12 | 中国人民解放军63620部队 | Service data sending method and device, computer equipment and storage medium |
CN113645676B (en) * | 2021-08-13 | 2023-12-15 | 中国人民解放军63620部队 | Service data sending method and device, computer equipment and storage medium |
CN113791380A (en) * | 2021-09-27 | 2021-12-14 | Oppo广东移动通信有限公司 | UWB angle measurement method, terminal device, tag device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110336742B (en) | 2021-08-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110336742A (en) | Method for sending information, device, computer equipment and storage medium | |
CN102959502B (en) | The method that asynchronous event notification is provided in systems | |
CN110007658A (en) | The method for monitoring abnormality and device of vehicle CAN bus | |
US20050195736A1 (en) | Information processing apparatus and method of controlling the information processing apparatus | |
CN105679319B (en) | Voice recognition processing method and device | |
CN108833131A (en) | System, method, equipment and the computer storage medium of distributed data base cloud service | |
CN110191018A (en) | Method for monitoring abnormality, device and the computer equipment of vehicle CAN bus | |
CN108376077A (en) | The upgrade method and device of control unit | |
US8082368B2 (en) | Display device for indicating connection statuses of a communication channel provided between two systems and method thereof | |
CN110289947A (en) | Data transmit consistency desired result method, apparatus, computer equipment and storage medium | |
US9811480B2 (en) | Universal serial bus emulation of peripheral devices | |
US9772956B2 (en) | Universal serial bus emulation of a host connection | |
CN103412519B (en) | The control system of distal circumference, method and far-end server thereof | |
CN107391295A (en) | The processing method and processing device of application exception | |
CN110213258A (en) | Abnormity monitoring method and device for vehicle CAN bus and computer equipment | |
CN110059110A (en) | Business datum security processing, device, computer equipment and storage medium | |
CN107395458A (en) | system monitoring method and device | |
EP3117327B1 (en) | Universal serial bus emulation of peripheral devices | |
US7561529B2 (en) | Optimizing the speed of an FC-AL switch domain in a data storage network | |
CN109866786A (en) | Power-control method, device and the traction control unit of rail traffic | |
CN108415765A (en) | Method for scheduling task, device and intelligent terminal | |
CN102495815B (en) | Processing method for I/O (input/output) data access interrupt, system and equipment | |
CN110457168A (en) | A kind of low-speed interface self-sensing method for data processing | |
CN109743386A (en) | Session request sending method, device, electronic equipment and storage medium | |
CN110262832A (en) | Application program permission judgment method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |