CN117295021A - Channel self-adaptive deployment method, system, equipment and medium - Google Patents

Channel self-adaptive deployment method, system, equipment and medium Download PDF

Info

Publication number
CN117295021A
CN117295021A CN202311231725.7A CN202311231725A CN117295021A CN 117295021 A CN117295021 A CN 117295021A CN 202311231725 A CN202311231725 A CN 202311231725A CN 117295021 A CN117295021 A CN 117295021A
Authority
CN
China
Prior art keywords
channel
short message
sending
sent
deployment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311231725.7A
Other languages
Chinese (zh)
Other versions
CN117295021B (en
Inventor
肖文宇
黄微
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Xuanwu Wireless Technology Co Ltd
Original Assignee
Guangzhou Xuanwu Wireless Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Xuanwu Wireless Technology Co Ltd filed Critical Guangzhou Xuanwu Wireless Technology Co Ltd
Priority to CN202311231725.7A priority Critical patent/CN117295021B/en
Publication of CN117295021A publication Critical patent/CN117295021A/en
Application granted granted Critical
Publication of CN117295021B publication Critical patent/CN117295021B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The scheme relates to a channel self-adaptive deployment method, a system, equipment and a medium, wherein the method comprises the following steps: acquiring short message data to be sent, and determining a sending channel according to the short message data to be sent; the short message data to be sent comprises short message content and short message type, whether a sending channel is started or not is judged according to a preset channel deployment mode, and if the sending channel is not started, the sending channel is started according to the preset channel deployment mode; the channel deployment mode comprises a rule deployment mode and a containerization management application mode, if the sending channel is started, the short message data to be sent is transmitted to the sending channel, so that the sending channel sends the short message data to be sent to the channel operation end, and the sending channel is closed according to the acquisition time and the first preset time of the short message data to be sent. The invention can reduce the resource waste of the server, reduce the operation and maintenance difficulty of the server and is applied to the channel operation and maintenance field of the server.

Description

Channel self-adaptive deployment method, system, equipment and medium
Technical Field
The invention relates to the field of channel operation and maintenance of servers, in particular to a channel self-adaptive deployment method, a channel self-adaptive deployment system, channel self-adaptive deployment equipment and a channel self-adaptive deployment medium.
Background
In the scene of short message sending, a large number of different operator channels usually exist, some operator channels are common channels and can be used at any moment, but some special channels exist, and are often used at specific time points or in specific scenes, for example, the short message sending is allowed only when the use time of some management channels is limited in the daytime of working days, or the short message sending is allowed only at the end of a month for impulsive volume. These special channels are idle in most of the time, but because of the problems of low time delay and operation and maintenance workload of short messages, they need to be deployed on the server normally, so that a large amount of server resources are idle, the server resources are wasted, the server cost is increased, and the difficulty of operation and maintenance of the server is increased due to the fact that a large number of channels are simultaneously connected to the Internet, upgraded, retracted and operated.
Disclosure of Invention
In view of the above, the present invention aims to provide a channel adaptive deployment method, system, device and medium, which can reduce server resource waste and reduce server operation and maintenance difficulty.
In order to solve the above problems, in a first aspect, the present invention provides a channel adaptive deployment method, including the steps of:
acquiring short message data to be sent, and determining a sending channel according to the short message data to be sent; the short message data to be sent comprises short message content and short message type;
judging whether the transmission channel is started or not according to a preset channel deployment mode, and starting the transmission channel according to the preset channel deployment mode if the transmission channel is not started; the channel deployment mode comprises a rule deployment mode and a containerized management application mode;
if the sending channel is started, transmitting the short message data to be sent to the sending channel, so that the sending channel sends the short message data to be sent to a channel operation end;
and closing the sending channel according to the acquisition time of the short message data to be sent and the first preset time.
Optionally, the determining whether the sending channel is started according to a preset channel deployment mode specifically includes:
if the channel deployment mode is a regular deployment mode, sending a request to a heartbeat interface of the sending channel, if a signal of the heartbeat interface returns normally, considering that the sending channel is started, and if the heartbeat interface is a return signal or a return signal is overtime, considering that the sending channel is not started.
Optionally, judging whether the sending channel is started according to a preset channel deployment mode, which specifically includes:
if the channel deployment mode is a containerization management application mode, inquiring whether a logic host of the sending channel exists, if so, judging that the sending channel is started, and if not, judging that the sending channel is not started.
Optionally, the opening the sending channel according to a preset channel deployment mode specifically includes:
if the deployment mode is a rule deployment mode, acquiring an opening script from a storage, and opening the transmission channel according to the opening script;
and if the deployment mode is a containerized management application mode, calling an application program interface of the containerized management application to open the transmission channel.
Optionally, if the opening of the transmission channel fails according to a preset channel deployment mode, executing the following steps:
returning channel opening failure information and storing the short message data to be sent; the channel opening failure information comprises a channel opening failure reason and channel opening failure time;
and repeating the step of opening the transmission channel according to a preset deployment mode every second preset time until the transmission channel is opened.
Optionally, closing the sending channel according to the obtaining time and the first preset time of the short message data to be sent, and specifically includes the following steps:
and determining the time for acquiring the short message data to be sent last time, and if the time for acquiring the short message data to be sent last time is larger than the first preset time, calling a closing script to close the sending channel or calling an application program interface of a containerized management application to close the sending channel.
Optionally, the method further comprises an upgrade channel, specifically comprising:
determining the receiving speed of the transmitting channel;
and if the receiving speed is smaller than a first preset speed, calling an upgrade script to upgrade the sending channel.
In order to solve the above problems, in a second aspect, the present invention provides a channel adaptive deployment system, the system comprising a client, a channel adaptive deployment device, and a channel operator, wherein,
the client is used for receiving the short message sent by the channel self-adaptive deployment device or sending the short message to the channel self-adaptive deployment device;
the channel self-adaptive deployment device is used for realizing the method of any one of the channel self-adaptive deployment methods;
the channel operation end is used for receiving the short message sent by the channel self-adaptive deployment device.
In order to solve the above-mentioned problems, in a third aspect, the present invention provides an electronic device, which includes a memory and a processor, the memory storing a computer program, the processor implementing a method according to any one of the channel adaptive deployment methods when executing the computer program.
In order to solve the above-mentioned problems, in a fourth aspect, the present invention provides a computer-readable storage medium in which a processor-executable program is stored, which when executed by a processor is for performing the method according to any one of the channel-adaptive deployment methods.
The implementation of the invention has the following beneficial effects: according to the method, the device and the system, the short message data to be sent are obtained, and the sending channel is determined according to the short message data to be sent; the short message data to be sent comprises short message content and short message type; judging whether the transmission channel is started or not according to a preset channel deployment mode, and starting the transmission channel according to the preset channel deployment mode if the transmission channel is not started; the channel deployment mode comprises a rule deployment mode and a containerized management application mode; if the sending channel is started, transmitting the short message data to be sent to the sending channel, so that the sending channel sends the short message data to be sent to the channel operation end; closing the sending channel according to the acquisition time of the short message data to be sent and the first preset time. When receiving the short message data to be sent, starting a sending channel, and when not receiving the short message data to be sent in a preset time period, closing the sending channel, and avoiding the need of normally arranging the sending channel on a server, reducing the idling of server resources, thereby reducing the waste of server resources
Drawings
FIG. 1 is a schematic structural diagram of a channel adaptive deployment device provided by the invention;
FIG. 2 is a flow chart of a channel adaptive deployment method provided by the invention;
FIG. 3 is a block diagram of a channel adaptive deployment system provided by the present invention;
fig. 4 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
The invention will now be described in further detail with reference to the drawings and to specific examples. The step numbers in the following embodiments are set for convenience of illustration only, and the order between the steps is not limited in any way, and the execution order of the steps in the embodiments may be adaptively adjusted according to the understanding of those skilled in the art.
In order to better understand the channel adaptive deployment method of the present invention, the channel adaptive deployment method is explained based on a channel adaptive deployment device, and it should be noted that the channel adaptive deployment device is only an example provided for facilitating the explanation of the channel adaptive deployment method, and the device for implementing the channel adaptive deployment method is not limited to the channel adaptive deployment device example.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a channel adaptive deployment device, and an example of the channel adaptive deployment device includes a rule setting module, a control module, a routing module, and a plurality of channels deployed on the device.
In some embodiments, as shown in fig. 2, fig. 2 is a flowchart of a channel adaptive deployment method, and the present invention provides a channel adaptive deployment method, including the following steps:
s100, acquiring short message data to be sent, and determining a sending channel according to the short message data to be sent.
The short message data to be sent comprises short message content and short message type.
The short message data to be sent can include, but is not limited to, content and type of the short message to be sent, and the type includes, but is not limited to, multimedia message and short message.
Specifically, a user sends short message data through a client, a routing module receives the short message data, confirms that a channel where the short message data is reached is a sending channel, and reports the channel where the short message data is reached to a control module.
And S200, judging whether the transmission channel is started or not according to a preset channel deployment mode, and starting the transmission channel according to the preset channel deployment mode if the transmission channel is not started.
The channel deployment modes comprise a rule deployment mode and a containerized management application mode.
The channel deployment mode includes, but is not limited to, management channels and containerized management applications k8s, wherein k8s is totally called kubernettes, is an application deployed by an open-source management server, and aims to enable the application for deploying containerization to be simple and efficient, and kubernettes provide a mechanism for deploying, planning, updating and maintaining the application of the server.
The judging whether the sending channel is started or not can be divided into a control module judging and a routing module judging.
Specifically, the control module firstly determines whether the transmission channel is started or not by calling the script of the rule setting module if the deployment mode is the rule deployment mode according to the transmission channel reported in step S100, and opens the channel by calling the k8S interface if the deployment mode is k 8S.
And the judged state of the transmission channel is transmitted to the loop routing module, the state of the transmission channel comprises normal and abnormal states, the normal state indicates that the transmission channel is opened, the abnormal state indicates that the transmission channel is not opened, and the routing module judges whether the channel 2 is started or not according to the state returned by the control module.
If the transmission channel is not started, the control module returns a request of the routing module, and the return code is as follows:
[{
"channel" means "channel 2",
"channelState":"onlineFail"
}]
after or at the same time when the control module returns the request of the routing module, the routing module waits for the control module to open the transmission channel according to the deployment mode and adjusts the speed of the transmission channel.
If the transmission channel is started, the control module returns a request of the routing module, and the return code is as follows:
[{
"channel" means "channel 2",
"channelState":"online"
}]
and S300, if the sending channel is started, transmitting the short message data to be sent to the sending channel, so that the sending channel sends the short message data to be sent to a channel operation end.
Specifically, after the sending channel is opened, the routing module transmits the short message data to be sent to the sending channel, and the short message data is sent to the channel operation end through the channel.
S400, closing the sending channel according to the acquisition time and the first preset time of the short message data to be sent.
Specifically, after the last time of acquiring the short message data to be sent is received, if the short message data to be sent is not received in the first preset time period, the script is called to close the sending channel.
In some embodiments, the step S200 of determining whether the sending channel has been started according to a preset channel deployment mode specifically includes:
s210, if the channel deployment mode is a regular deployment mode, sending a request to a heartbeat interface of the sending channel, if a signal of the heartbeat interface returns normally, considering that the sending channel is started, and if the heartbeat interface is a return signal or a return signal is overtime, considering that the sending channel is not started.
Specifically, if the deployment mode of the channel on the server is a rule deployment mode, the control module sends a connection request to the sending channel, accesses the heartbeat interface of the sending channel, if the heartbeat interface returns normally, considers that the sending channel is started, if the heartbeat interface returns to 404 or the return time is overtime, considers that the sending channel is not started, and the pseudo code is as follows:
resp=httpclient. Req ("http:// channel 2: channel 2 port/actuator/health");
if(resp!=null&&resp.code!=404){
return"online";}
in some embodiments, in step S200, whether the sending channel has been started is determined according to a preset channel deployment mode, which specifically includes:
s220, if the channel deployment mode is a containerization management application mode, inquiring whether a logic host of the sending channel exists, if the logic host of the sending channel exists, judging that the sending channel is started, and if the logic host of the sending channel does not exist, judging that the sending channel is not started.
Specifically, if the channel is deployed on the server in a manner of a containerized management application kubernettes, the control module invokes an application program interface (Application Program Interface, API) of the kubernettes to query whether a logical host pod of the sending channel exists, where pod is a minimum unit for management, creation, and planning in Kubernetes.
If the logic host of the transmission channel exists, the control module considers that the transmission channel is started, and if the logic host of the transmission channel does not exist, the control module considers that the transmission channel is not started.
In some embodiments, in step S200, the opening the sending channel according to the preset channel deployment manner specifically includes:
and S230, if the deployment mode is a management channel, acquiring an opening script from a storage, and opening the transmission channel according to the opening script.
The code of the starting script is as follows:
[{
"channel" means "channel 1",
"target": "172.16.1.10:/home/soft/channel 1 directory",
"triggerType":"msgSend",
"opType":"online",
shell sh channel 1start "
And when the short message is issued, starting a home/soft channel 1 of the 172.16.1.10 server.
Specifically, if the deployment mode of the channel preset on the server is the management and control channel, an opening script needs to be set in the rule setting module in advance, and after the routing module reports the short message data to be sent to the control module, the control module calls the opening script in the rule setting module, and opens the sending channel according to the opening rule of the opening script.
S240, if the deployment mode is the containerized management application, an application program interface of the containerized management application is called to open the sending channel.
Specifically, if the deployment mode of the channel on the server is used for containerizing the management application, the control module directly calls the online API of kubernettes, and then the transmission channel can be opened.
In some embodiments, if the opening of the transmission channel according to the preset channel deployment mode fails, the following steps are executed:
s250, returning channel opening failure information and storing the short message data to be sent.
The channel opening failure information comprises a channel opening failure reason and a channel opening failure time.
Specifically, when an unexpected situation occurs, if a startup script has a problem, failure and error is reported, and a transmission channel is opened, the control module returns a request of the routing module, and a return code is as follows:
[{
"channel" means "channel 2",
"channelState":"onlineFail"
and (3) the routing module receives the return request of failure in opening, stores the short message data to be sent, and waits for the return request of successful opening sent by the control module.
And S260, repeating the step of opening the transmission channel according to a preset deployment mode every first preset time until the transmission channel is opened.
Specifically, if the control module fails to open the transmission channel, the online is retried at intervals of a first preset time, and an opening script is called or the transmission channel is opened through an online API of kubernettes until the connection is successful or the operation and maintenance personnel manually open the transmission channel.
In some embodiments, the step S400 of closing the sending channel according to the obtaining time and the first preset time of the to-be-sent sms data specifically includes the following steps:
and determining the time for acquiring the short message data to be sent last time, and if the time for acquiring the short message data to be sent last time is larger than the second preset time, calling a closing script to close the sending channel or calling an application program interface of the containerized management application to close the sending channel.
The time for acquiring the short message data to be sent last time is the time interval between the time for acquiring the short message data to be sent last time and the current time.
Specifically, when the client does not send the short message for a long time, in order to reduce resource waste caused by idle operation of the channel for a long time, the time for acquiring the short message data to be sent last time is longer than a second preset time, in this embodiment, the second preset time is taken as an example of 10 minutes, and when the control module does not receive the short message data reported by the routing module any more, the control module automatically calls the sending channel opened in the closing script closing step S200, and can also directly call the API of k8S to perform service closing of the sending channel.
One example of code for a shutdown script is:
{
"channel" means "channel 1",
"target": "172.16.1.10:/home/soft/channel 1 directory",
"triggerType":"msgSend",
"idleTimeoutSec":"600",
"opType":"offline",
shell sh channel 1stop "
And when the routing module does not send a short message, the channel is idle for more than 600s, the channel is stopped by going to the directory of the 172.16.1.10 server/home/soft/channel 1.
When channel codes need to be upgraded, script upgrading is needed when short messages are stopped to be sent or the sending quantity is small, otherwise, customer experience and service stability are affected, operation and maintenance personnel are needed to monitor the sending quantity of channels at any time, operation and maintenance work and labor cost are affected, and in order to reduce operation and maintenance difficulty, upgrading operation is needed to be adaptively executed according to rules.
To solve the foregoing problem, in some embodiments, the method further includes upgrading the channel, specifically including:
s310, determining the receiving speed of the transmitting channel.
Specifically, when the routing module reports the short message data to be sent, the routing module determines and reports the short message receiving speed of the current channel to the control module.
S320, if the receiving speed is smaller than a first preset speed, an upgrade script is called to upgrade the sending channel.
In this embodiment, the first preset speed is 10Mbps.
Specifically, the receiving speed is smaller than the first preset speed, the control module calls the upgrading script in the rule setting module, and the short message sending speed of the sending channel is changed.
One example of an upgrade script is:
{ "target": "172.16.1.10:/home/soft/channel 1 directory",
"triggerType":"speed",
"maxSpeed":10
"opType":"upgrade",
shell is sh channel 1upgrade, wherein when the maximum speed of short message sending is 10, channel 1 is upgraded to the catalog of home/soft/channel 1 of 172.16.1.10 server.
When the short message data to be sent is obtained, the speed of the sending channel is regulated, the sending quantity of the channel does not need to be monitored by operation and maintenance personnel at any time, and the operation and maintenance difficulty of the server is reduced.
In some embodiments, as shown in fig. 3, fig. 3 is a block diagram of a channel adaptive deployment system, the present invention provides a channel adaptive deployment system, the system including a client, a channel adaptive deployment device, and a channel operator, wherein,
the client is used for receiving the short message sent by the channel self-adaptive deployment device or sending the short message to the channel self-adaptive deployment device;
the channel self-adaptive deployment device is used for realizing the method of any one of the channel self-adaptive deployment methods;
the channel operation end is used for receiving the short message sent by the channel self-adaptive deployment device.
The channel self-adaptive deployment device comprises a routing module, a control module, a rule setting module and a plurality of channels.
Specifically, the client sends the short message data to the channel self-adaptive deployment device, and the processing mode of the short message data in the channel self-adaptive deployment device is as described in the foregoing method embodiment, and after the channel is started, the short message data is sent to the channel operation end through the channel.
In some embodiments, as shown in fig. 4, fig. 4 is a schematic structural diagram of an electronic device provided by the present invention, and the present invention further provides an electronic device, where the electronic device includes a processor 10 and a memory 20, and the memory 20 stores a computer program, and any one of the methods described in the foregoing method embodiments is implemented when the processor 10 executes the computer program.
Wherein the memory is operable as a non-transitory computer readable storage medium storing a non-transitory software program and a non-transitory computer executable program. The memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes remote memory provided remotely from the processor, the remote memory being connectable to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Furthermore, embodiments of the present application disclose a computer program product or a computer program, which is stored in a computer readable storage medium. The computer program may be read from a computer readable storage medium by a processor of a computer device, the processor executing the computer program causing the computer device to perform the method as described above. Similarly, the content in the above method embodiment is applicable to the present storage medium embodiment, and the specific functions of the present storage medium embodiment are the same as those of the above method embodiment, and the achieved beneficial effects are the same as those of the above method embodiment.
The present invention also provides a computer-readable storage medium in which a processor-executable program is stored, which when executed by a processor is adapted to carry out any one of the methods described in the above-described method embodiments.
It is to be understood that all or some of the steps, systems, and methods disclosed above may be implemented in software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
While the preferred embodiment of the present invention has been described in detail, the invention is not limited to the embodiment, and various equivalent modifications and substitutions can be made by those skilled in the art without departing from the spirit of the invention, and these modifications and substitutions are intended to be included in the scope of the present invention as defined in the appended claims.

Claims (10)

1. The channel self-adaptive deployment method is characterized by comprising the following steps of:
acquiring short message data to be sent, and determining a sending channel according to the short message data to be sent; the short message data to be sent comprises short message content and short message type;
judging whether the transmission channel is started or not according to a preset channel deployment mode, and starting the transmission channel according to the preset channel deployment mode if the transmission channel is not started; the channel deployment mode comprises a rule deployment mode and a containerized management application mode;
if the sending channel is started, transmitting the short message data to be sent to the sending channel, so that the sending channel sends the short message data to be sent to a channel operation end;
and closing the sending channel according to the acquisition time of the short message data to be sent and the first preset time.
2. The method of claim 1, wherein the determining whether the transmission channel has been started according to a preset channel deployment mode specifically includes:
if the channel deployment mode is a regular deployment mode, sending a request to a heartbeat interface of the sending channel, if a signal of the heartbeat interface returns normally, considering that the sending channel is started, and if the heartbeat interface is a return signal or a return signal is overtime, considering that the sending channel is not started.
3. The method of claim 1, wherein determining whether the transmission channel has been started according to a preset channel deployment method, specifically includes:
if the channel deployment mode is a containerization management application mode, inquiring whether a logic host of the sending channel exists, if so, judging that the sending channel is started, and if not, judging that the sending channel is not started.
4. The method of claim 1, wherein the opening the sending channel according to the preset channel deployment mode specifically includes:
if the deployment mode is a rule deployment mode, acquiring an opening script from a storage, and opening the transmission channel according to the opening script;
and if the deployment mode is a containerized management application mode, calling an application program interface of the containerized management application to open the transmission channel.
5. The method of claim 1, wherein if the opening of the transmission channel according to the preset channel deployment method fails, performing the following steps:
returning channel opening failure information and storing the short message data to be sent; the channel opening failure information comprises a channel opening failure reason and channel opening failure time;
and repeating the step of opening the transmission channel according to a preset deployment mode every second preset time until the transmission channel is opened.
6. The method of claim 1, wherein the closing the sending channel according to the obtaining time and the first preset time of the to-be-sent sms data specifically includes the following steps:
and determining the time for acquiring the short message data to be sent last time, and if the time for acquiring the short message data to be sent last time is larger than the first preset time, calling a closing script to close the sending channel or calling an application program interface of a containerized management application to close the sending channel.
7. The method according to claim 1, further comprising upgrading a channel, in particular comprising:
determining the receiving speed of the transmitting channel;
and if the receiving speed is smaller than a first preset speed, calling an upgrade script to upgrade the sending channel.
8. A channel self-adaptive deployment system is characterized in that the system comprises a client, a channel self-adaptive deployment device and a channel operation end, wherein,
the client is used for receiving the short message sent by the channel self-adaptive deployment device or sending the short message to the channel self-adaptive deployment device;
the channel adaptive deployment apparatus for implementing the method of any one of claims 1-7;
the channel operation end is used for receiving the short message sent by the channel self-adaptive deployment device.
9. An electronic device comprising a memory storing a computer program and a processor implementing the method of any of claims 1-7 when the computer program is executed by the processor.
10. A computer readable storage medium, in which a processor executable program is stored, which when executed by a processor is adapted to carry out the method of any one of claims 1-7.
CN202311231725.7A 2023-09-22 2023-09-22 Channel self-adaptive deployment method, system, equipment and medium Active CN117295021B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311231725.7A CN117295021B (en) 2023-09-22 2023-09-22 Channel self-adaptive deployment method, system, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311231725.7A CN117295021B (en) 2023-09-22 2023-09-22 Channel self-adaptive deployment method, system, equipment and medium

Publications (2)

Publication Number Publication Date
CN117295021A true CN117295021A (en) 2023-12-26
CN117295021B CN117295021B (en) 2024-05-17

Family

ID=89252938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311231725.7A Active CN117295021B (en) 2023-09-22 2023-09-22 Channel self-adaptive deployment method, system, equipment and medium

Country Status (1)

Country Link
CN (1) CN117295021B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109561403A (en) * 2018-12-12 2019-04-02 网宿科技股份有限公司 A kind of short message dispatching method, equipment and storage medium
CN112770275A (en) * 2020-12-29 2021-05-07 杭州涂鸦信息技术有限公司 Message pushing method, system and related equipment
CN112822231A (en) * 2020-12-28 2021-05-18 上海万雍科技股份有限公司 Information sending system and method
CN115988436A (en) * 2022-12-22 2023-04-18 厦门友微科技有限公司 Multi-channel short message sending system and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109561403A (en) * 2018-12-12 2019-04-02 网宿科技股份有限公司 A kind of short message dispatching method, equipment and storage medium
CN112822231A (en) * 2020-12-28 2021-05-18 上海万雍科技股份有限公司 Information sending system and method
CN112770275A (en) * 2020-12-29 2021-05-07 杭州涂鸦信息技术有限公司 Message pushing method, system and related equipment
CN115988436A (en) * 2022-12-22 2023-04-18 厦门友微科技有限公司 Multi-channel short message sending system and device

Also Published As

Publication number Publication date
CN117295021B (en) 2024-05-17

Similar Documents

Publication Publication Date Title
EP3633957B1 (en) Data storage method, storage server, storage medium and system
US20160142247A1 (en) Local network and method of updating a device in a local network
EP3299953A1 (en) System and method for providing automatic firmware update management
CN113746900A (en) Intranet and extranet data transmission method, electronic device and computer readable storage medium
CN111857772A (en) Method and equipment for remote transmission and dynamic loading of terminal edge application program
CN110333916B (en) Request message processing method, device, computer system and readable storage medium
CN110138753B (en) Distributed message service system, method, apparatus, and computer-readable storage medium
CN117295021B (en) Channel self-adaptive deployment method, system, equipment and medium
CN107634868B (en) Method and system for managing network service
CN113138812A (en) Spacecraft task scheduling method and device
CN111064700B (en) Downloading method, device and system of cloud game
CN112532664A (en) Data upgrading method and device
KR100524588B1 (en) succeeding method of data in mobile
US20030154472A1 (en) Installation server
US7296084B2 (en) Data management system and method
CN113391759B (en) Communication method and equipment
CN101826977A (en) Remote management method, processing device and network system
CN113452726B (en) Data transmission method, terminal and computer readable storage medium
CN110784518A (en) Static resource acquisition method and device
CN112422305B (en) Upgrading method and device of communication equipment
CN112104506B (en) Networking method, networking device, server and readable storage medium
CN116233105A (en) Network element version downloading method, network element, electronic equipment and storage medium
US10965520B2 (en) Method of controlling a residential gateway from a communication network, method of supervision, method of executing an action, corresponding devices and computer program
JP2001053783A (en) Data distribution system, and machine readable recording medium recorded with program
KR100590868B1 (en) Apparatus and method for upgrade of customer premiss equipment in digital subscriber line network

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