CN111294404A - Processing method and device, computer equipment and medium suitable for various external short message services - Google Patents
Processing method and device, computer equipment and medium suitable for various external short message services Download PDFInfo
- Publication number
- CN111294404A CN111294404A CN202010086956.3A CN202010086956A CN111294404A CN 111294404 A CN111294404 A CN 111294404A CN 202010086956 A CN202010086956 A CN 202010086956A CN 111294404 A CN111294404 A CN 111294404A
- Authority
- CN
- China
- Prior art keywords
- short message
- module
- external
- sending
- receiving
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application relates to a processing method and a device, computer equipment and media suitable for various external short message services, wherein the method comprises the following steps: when an emergency alarm exists, the alarm source reports the alarm and the alarm information is uploaded; the alarm module judges whether an unremoved alarm exists; and when the alarm which is not eliminated exists, the alarm is processed and broadcasted, and the alarm informs the connected external equipment to alarm through an audible and visual alarm and/or a sound voice broadcast alarm. The invention has two alarm modes when the emergency occurs, can alarm and remind in time, is convenient for users to use, and has simple realization and high reliability.
Description
Technical Field
The present application relates to the field of scheduling systems, and in particular, to a method and an apparatus for processing multiple external short message services, a computer device, and a readable storage medium.
Background
With the continuous development of the computer industry, more and more customers want to embed a short message notification function in the office system or business process of the enterprise and public institution. Thus, the notification message or the alarm message can be sent to the hands of the user in time. Therefore, more and more system integrators and software developers face the demand of extending the short message function module, and develop their own short message platforms.
The dispatching system is suitable for all large enterprises and public institutions, and is used as an emergency system, and emergency and timely notification is one of the necessary characteristics of the dispatching system. However, dispatch systems are deployed across the country, and local enterprises have their own built platforms, which are unique.
The scheduling system in the prior art cannot adapt to various external short message services and is sometimes inconvenient to use.
In the prior art, a scheduling system sometimes cannot give an alarm in time for reminding.
Therefore, the prior art is in need of improvement.
Disclosure of Invention
The invention aims at the technical problems in the prior art, and provides a processing method and device, computer equipment and a readable storage medium which are suitable for various external short message services.
The technical scheme of the invention is as follows:
a processing method for adapting to a plurality of external short message services is provided, wherein the method comprises the following steps:
pre-creating a configuration file for various systems to be connected with different short message platforms to receive and send external short messages;
when the external short message service is started, the system loads a configuration file, creates an external network short message module, loads an external short message plug-in and enters short message receiving and sending preparation;
when sending short messages, the short message is put into a sending queue, and a corresponding external network short message module is called to carry out sending operation;
when receiving the short message, the external network short message module is started to receive the short message, and the short message module receives the information and adds the information into a receiving queue.
The processing method suitable for various external short message services is characterized in that the step of pre-creating a configuration file for various systems to be docked with different short message platforms to receive and send external short messages comprises the following steps:
setting support to read short message module configuration from a configuration file;
establishing and configuring a designated short message module type for sending and receiving short messages by using a corresponding short message service module;
configuring a short message to be sent by using a uniform interface for expanding an external short message module;
and creating configuration files for various systems to interface with different short message platforms to receive and send external short messages.
The processing method suitable for various external short message services is characterized in that when the external short message service is started, the system loads a configuration file, creates an external network short message module and loads an external short message plug-in, and the step of entering the preparation of short message receiving and sending comprises the following steps:
when the external short message service is started, initializing a short message service management class;
loading a configuration file by a system control service management class;
establishing an external network short message module, loading an external short message plug-in, entering an external plug-in flow and starting short message receiving and sending preparation;
and establishing an intranet short message sending and receiving module.
The processing method suitable for various external short message services is characterized in that when a short message is sent, the short message is put into a sending queue, a corresponding external network short message module is called, and the step of sending operation comprises the following steps:
when sending the short message, starting an application client to input corresponding data and send the data;
calling a service management class to send a message;
judging the intranet and the extranet, and calling a corresponding short message module;
calling a corresponding external network short message module to put the short message into a sending queue;
and calling a sending method with a short message module to carry out sending operation.
The processing method is suitable for various external short message services, wherein when receiving short messages, an external network short message module is started to receive the short messages, the short message module receives information, and the step of adding the information into a receiving queue comprises the following steps:
when receiving the short message, the external network short message module is started to receive the short message,
the short message module receives the information and adds the information into a receiving queue;
reporting to the server management class, sending a message to the dispatching desk, and reporting to the client.
The processing method suitable for various external short message services is characterized in that the configuration file comprises the following contents:
the PluginFile represents the specific storage position and the relative path of the external plug-in;
redensntmaxtimes: the number of times of short message retransmission;
messageMaxLength: maximum length of short message content;
serverUrl: third party provided address
The username: user name provided by third party (login name assigned to specific project)
password: password provided by third party (password distributed for specific project)
An encoder: coding format
smsPort: third party provided port
usePhone: received short message, broadcast number
timer Interval: and setting a timing time interval when the state is inquired.
A processing device for adapting to a plurality of external short message services, wherein the device comprises:
the system comprises a presetting module, a receiving module and a sending module, wherein the presetting module is used for presetting configuration files for carrying out external short message receiving and sending by butting various systems with different short message platforms;
the initialization module is used for loading a configuration file, creating an external network short message module, loading an external short message plug-in and entering short message receiving and sending preparation when the external short message service is started;
the sending control module is used for placing the short message into a sending queue when sending the short message, calling a corresponding external network short message module and carrying out sending operation;
and the receiving control module is used for starting the external network short message module to receive the short message when receiving the short message, and the short message module receives the information and adds the information into a receiving queue.
The processing device is adapted to various external short message services, wherein the preset module comprises:
the setting unit is used for setting and supporting the reading of the short message module configuration from the configuration file;
the first establishing unit is used for establishing and configuring the appointed short message module type and sending and receiving short messages by using a corresponding short message service module;
the configuration unit is used for configuring the short message to be sent by using a uniform interface and expanding the external short message module;
and the second creating unit is used for creating configuration files for various systems to be docked with different short message platforms for external short message transceiving.
A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements any of the steps of the processing method for adapting to multiple external short message services when executing the computer program.
A computer readable storage medium having a computer program stored thereon, wherein the computer program when executed by a processor implements any of the steps of adapting a plurality of external short message service processing methods.
Compared with the prior art, the embodiment of the invention has the following advantages:
the invention provides a processing method and a device, computer equipment and a readable storage medium which are suitable for various external short message services, and provides a method which is suitable for various external short message services; the utility model has the following functions:
the short message function of the application system can be quickly realized, various interface modes are selected for secondary development, and the system has good expandability.
And secondly, a plurality of clients in the same network (local area network or wide area network) can share one short message server to receive and send short messages, and the short message server has the function of managing the clients.
The short message function is realized by the enterprise and public institution through the short message server, so that the resource sharing and the effective use are realized, the management, the monitoring and the statistics of the business to the in-out information are convenient, and the convenience is provided for the expansion of the short message function in the future.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a processing method adapted to multiple external short message services according to embodiment 1 of the present invention.
Fig. 2 is a schematic diagram of an initialization process of a processing method adapted to multiple external short message services according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of a short message sending process adapted to various external short message service processing methods according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of a short message receiving process adapted to various external short message service processing methods according to an embodiment of the present invention.
Fig. 5 is a schematic diagram of a configuration file tag structure in the embodiment of the method of the present invention.
Fig. 6 is a schematic diagram of a configuration file sub-tag structure in the embodiment of the method of the present invention.
Fig. 7 is a schematic structural diagram of a processing device adapted to multiple external short message services according to an embodiment of the present invention.
Fig. 8 is an internal structural diagram of a computer device in an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The inventor finds that the scheduling system in the prior art cannot adapt to various external short message services and is inconvenient to use sometimes.
In order to solve the above problems, in the embodiment of the present invention, configuration files for external short message sending and receiving by interfacing various systems with different short message platforms are created in advance; when the external short message service is started, the system loads a configuration file, creates an external network short message module, loads an external short message plug-in and enters short message receiving and sending preparation; when sending short messages, the short message is put into a sending queue, and a corresponding external network short message module is called to carry out sending operation; when receiving the short message, the external network short message module is started to receive the short message, and the short message module receives the information and adds the information into a receiving queue.
Various non-limiting embodiments of the present invention are described in detail below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 shows a processing method adapted to multiple external short message services according to an embodiment of the present invention, where the method includes the following steps:
step S1, pre-creating configuration files for various systems to interface with different short message platforms for external short message receiving and sending;
in the embodiment of the invention, configuration files for carrying out external short message receiving and sending by butting various systems with different short message platforms need to be created in advance.
For example, setting support to read short message module configuration from a configuration file;
establishing and configuring a designated short message module type for sending and receiving short messages by using a corresponding short message service module;
the configuration needs to use a uniform interface to send the short message, which is convenient for the expansion of an external short message module;
and creating configuration files for various systems to interface with different short message platforms to receive and send external short messages.
In the embodiment of the invention, a configuration file for butt joint of various systems and different short message platforms to carry out external short message receiving and sending is created, various configuration parameter information of connection for carrying out short message receiving and sending butt joint with various systems is preset through the configuration file, for example, when the system A needs to be in butt joint with the system B to receive and send short messages, various configuration parameter information of connection for carrying out short message receiving and sending butt joint with various systems is prestored in the configuration file called by the system A from the service end, when the system A carries out short message receiving and sending with the system B, the system A calls various configuration parameter information of connection for carrying out short message receiving and sending butt joint with the system B in the configuration file to establish short message receiving and sending relation with the system B, the system A only needs to carry out some simple configurations for configuring user names and IP address parameters of the system A, and does not need to carry out repeated development work, the software development process is simplified, repeated development work of the same module of each application system is reduced, and the stability and reliability of the system are improved.
After the configuration files for the external short message sending and receiving are established for the butt joint of various systems and different short message platforms, the configuration files can be stored in the server end, so that the systems in various places can call the configuration files directly. The method specifically comprises the following steps:
step S2, when the external short message service is started, the system loads the configuration file, creates the external network short message module, loads the external short message plug-in, and enters the preparation of short message receiving and sending;
in the step, when the external short message service is started, the system loads a configuration file, creates an external network short message module, loads an external short message plug-in and enters short message receiving and sending preparation;
for example: as shown in fig. 2:
when the external short message service is started, initializing a short message service management class;
and step 18, establishing an intranet short message sending and receiving module and starting short message sending and receiving preparation.
And step 19, ending.
Step S3, when sending short message, putting the short message into the sending queue, calling the corresponding external network short message module to send;
in the embodiment of the invention, when the short message is sent, the short message is put into the sending queue, and the corresponding extranet short message module is called to carry out sending operation.
Referring to fig. 3, the operation flow of sending a short message includes the following steps as shown in fig. 3:
the invention can set a short message template when sending the short message: the short message content can be preset, placeholders can be added in the content, a dispatcher can select corresponding templates and replace corresponding placeholder content when sending the short message, and the placeholders can be automatically replaced or manually replaced.
The management service class is a short message service in the mainline service. Some conditions encountered in actual projects are classified and extracted into public methods, and the types are abstract types and only need to make method declarations. When a child class inherits, all inherited abstract methods need to be implemented by overrides. This has the advantage that several abstractions in the sms class have to be implemented when the external module wants to be called up by the sms. These several abstract methods are also the necessary flows for loading the plug-ins.
one of the abstract methods in the short message management class is a sending method, and the sending method is also the most important and necessary for short messages. The message sending method comprises specific parameters of short messages to be sent. The sending message in the short message management class comprises a short message entity, and the entity contains a plurality of attributes. Such a large number of attributes are to cope with the transmission methods of various external modules. When the specific short message requirement of each project is presented, a proper attribute can be selected from the short message entity as a parameter required by the short message sending method of the external module. The adaptability is excellent.
and determining the type of the calling module according to the configuration items in the configuration file. If the configuration is the internal module, executing the internal module process; and if the configuration is the external module, continuing reading the specific configuration under the external module. And loading the short message plug-in of the external module through the storage path. The advantage of doing so is that when possessing internal conditions, the flow goes to the internal module, when not possessing, or when the customer has different respective demands, and facing various short message butt joint modes, we can all regard as the external module. And (5) unifying the external module flow.
Step 27, the short message base class puts the message into a sending queue;
the short message base class in the embodiment of the invention is the realization base class of the short message module, and provides basic functions of short message sending queue, short message sending failure retransmission mechanism and short message segmentation.
Calling a corresponding external network short message module to put the short message into a sending queue;
and step 28, calling a sending method with a short message module to carry out sending operation.
In a specific plug-in, a sending method in a short message service management class needs to be implemented, and the sending method carries a short message entity, which includes: sender, receiver, short message content, short message number, sending time and other specific information. Therefore, each short message sent can be recorded in detail, and the functions of making a record query of the short message at the client according to the records, counting according to time periods and the like can be achieved.
The invention has the functions of single short message sending and mass message sending. The dispatcher in the embodiment of the invention can send long short messages (more than 70 Chinese characters and maximum 2000 characters) to a single/multiple short message terminals.
And step S4, when receiving the short message, starting an external network short message module to receive the short message, and adding the short message module into a receiving queue after receiving the information.
In the invention, when receiving the short message, the external network short message module is started to receive the short message, and the short message module receives the information and adds the information into a receiving queue.
The embodiment of the invention can receive the short messages from the WIFI mobile phone and the external network mobile phone and correspondingly forward the received short messages (the internal network, the external network and the scheduling terminal).
The short message receiving process is shown in figure 4,
and step 34, reporting to a server management class, and sending a message to a dispatching station, wherein the dispatching station can select point-to-point notification or direct broadcast according to the receiving number. When the receiving number is a line, the user receiving the line exclusive to the short message has no right to check other users. And when the receiving number is the global number, the broadcast is directly carried out, and all users logging in the client can receive the short message. Two different notification modes are adopted to adapt to different application scenes. Entering step 35;
and step 35, reporting to the client, and displaying in a popup window mode at the lower right corner of the client interface. The user can choose to ignore or click to view details, wherein the details comprise the number of the reply short message, the specific content of the reply, the reply time and the like. The reply message is usually received to inform the client. And proceeds to step 36; in the embodiment of the invention, after receiving the short message, the user replies the appointed content and marks that the short message is read and confirmed.
And step 36, ending the short message receiving process. The invention can record the complete operation log of the system operator and the error log in real time.
In the embodiment of the invention, the short message receiving and sending records can be stored by adopting a general database (such as Oracle, SQL Server and the like), thereby providing convenience for newly building a system or adding new functions of an application system. The client can directly count the receiving and sending records in the database.
In a further embodiment, the invention can also set the system transmission working time period and has a timing transmission function.
The configuration file includes the following:
in the embodiment of the invention, in a service layer of a dispatching system, a service class is compiled, and the service class inherits interfaces (a plurality of common interface methods are packaged and only interface statements are made);
meanwhile, the service class has own service,
firstly, a configuration file smsconfig. xml is required to be read from a specified position (under a scheduling system installation directory) of a disk;
and then reading the specific content of the configuration file. If the internalModule is not empty, the internal process is firstly carried out, and if the internalModule is empty, the value of the externalModule is continuously seen;
the externalModule value specifies which external module is to be called, and the plug-in location is found and the plug-in is loaded by matching with the name in the configuration file. The plug-in flow is followed.
As shown in FIG. 5, the tag < modules > </modules > is the root tag;
the internalcodule represents an internal module and goes through an internal process;
the external module represents an external plug-in and goes through an external process;
at number 1, specifying the internal name, the matching name needs to be found from the configuration file below;
at number 2, i.e. specifying the name of the external plug-in, a matching name is also found from the following profile contents;
at number 3, < module > </module > differs from the root tag by one s, being a child tag. The name of the tag is matched with the externalModule content in the root tag;
at number 4, the specific content in the sub-label is shown.
The explanation of the details of the sub-label is shown in fig. 6:
the PluginFile represents the specific storage position and the relative path of the external plug-in;
redensntmaxtimes: the number of times of short message retransmission;
messageMaxLength: maximum length of short message content;
serverUrl: third party provided address
The username: user name provided by third party (login name assigned to specific project)
password: password provided by third party (password distributed for specific project)
An encoder: coding format
smsPort: third party provided port
usePhone: received short message, broadcast number
timer Interval: and setting a timing time interval when the state is inquired.
Therefore, the invention simplifies the software development process, reduces the repeated development work of the same module of each application system, improves the stability and reliability of the system, is convenient for users to use, and has simple realization and high reliability.
In one embodiment, the present invention provides a processing apparatus adapted to multiple external short message services, as shown in fig. 7, the apparatus includes:
a presetting module 41, configured to create in advance configuration files for various systems to interface with different short message platforms for external short message sending and receiving;
the initialization module 42 is used for loading a configuration file, creating an external network short message module, loading an external short message plug-in and entering short message receiving and sending preparation when the external short message service is started;
the sending control module 43 is used for placing the short message into a sending queue when sending the short message, and calling a corresponding external network short message module to carry out sending operation;
the receiving control module 44 is configured to, when receiving a short message, start an external network short message module to receive the short message, and the short message module receives the information and adds the information to the receiving queue, as described above.
The processing device is adapted to various external short message services, wherein the preset module comprises:
the setting unit is used for setting and supporting the reading of the short message module configuration from the configuration file;
the first establishing unit is used for establishing and configuring the appointed short message module type and sending and receiving short messages by using a corresponding short message service module;
the configuration unit is used for configuring the short message to be sent by using a uniform interface and expanding the external short message module;
the second creating unit is used for creating configuration files for various systems to be docked with different short message platforms for external short message receiving and sending; as described above.
In one embodiment, the present invention provides a computer device, which may be a terminal, having an internal structure as shown in fig. 8. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of generating a natural language model. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that fig. 5 is a block diagram of only a portion of the structure associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The embodiment of the invention provides computer equipment, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to realize the following steps:
pre-creating a configuration file for various systems to be connected with different short message platforms to receive and send external short messages;
when the external short message service is started, the system loads a configuration file, creates an external network short message module, loads an external short message plug-in and enters short message receiving and sending preparation;
when sending short messages, the short message is put into a sending queue, and a corresponding external network short message module is called to carry out sending operation;
when receiving the short message, starting an external network short message module to receive the short message, and adding the short message module to a receiving queue after receiving the information; as described above.
In summary, compared with the prior art, the embodiment of the invention has the following advantages:
the invention provides a processing method and a device, computer equipment and a readable storage medium which are suitable for various external short message services, and provides a method which is suitable for various external short message services; the utility model has the following functions:
the short message function of the application system can be rapidly realized, various interface modes are selected for secondary development, and the system has good expandability.
The short message server can share a plurality of clients in the same network (local area network or wide area network) to receive and send the short messages, and has the management function for the clients.
The short message function is realized by the enterprise and public institution through the short message server, so that the resource sharing and the effective use are realized, the management, the monitoring and the statistics of the business to the in-out information are convenient, and the convenience is provided for the expansion of the short message function in the future.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A processing method for adapting to a plurality of external short message services is characterized by comprising the following steps:
pre-creating a configuration file for various systems to be connected with different short message platforms to receive and send external short messages;
when the external short message service is started, the system loads a configuration file, creates an external network short message module, loads an external short message plug-in and enters short message receiving and sending preparation;
when sending short messages, the short message is put into a sending queue, and a corresponding external network short message module is called to carry out sending operation;
when receiving the short message, the external network short message module is started to receive the short message, and the short message module receives the information and adds the information into a receiving queue.
2. The method as claimed in claim 1, wherein the step of pre-creating the configuration file for interfacing various systems with different short message platforms for external short message service comprises:
setting support to read short message module configuration from a configuration file;
establishing and configuring a designated short message module type for sending and receiving short messages by using a corresponding short message service module;
configuring a short message to be sent by using a uniform interface for expanding an external short message module;
and creating configuration files for various systems to interface with different short message platforms to receive and send external short messages.
3. The method as claimed in claim 1, wherein the step of loading configuration files, creating an extranet short message module, loading external short message plug-in, and entering preparation for sending and receiving short messages when the external short message service is enabled comprises:
when the external short message service is started, initializing a short message service management class;
loading a configuration file by a system control service management class;
establishing an external network short message module, loading an external short message plug-in, entering an external plug-in flow and starting short message receiving and sending preparation;
and establishing an intranet short message sending and receiving module.
4. The method as claimed in claim 1, wherein the step of sending the short message by placing the short message in a sending queue and calling a corresponding short message module of an external network comprises:
when sending the short message, starting an application client to input corresponding data and send the data;
calling a service management class to send a message;
judging the intranet and the extranet, and calling a corresponding short message module;
calling a corresponding external network short message module to put the short message into a sending queue;
and calling a sending method with a short message module to carry out sending operation.
5. The method as claimed in claim 1, wherein the step of starting an extranet short message module for receiving the short message when receiving the short message, the step of adding the short message module to a receiving queue after receiving the message comprises:
when receiving the short message, the external network short message module is started to receive the short message,
the short message module receives the information and adds the information into a receiving queue;
reporting to the server management class, sending a message to the dispatching desk, and reporting to the client.
6. The method as claimed in claim 1, wherein the configuration file comprises the following contents:
the PluginFile represents the specific storage position and the relative path of the external plug-in;
redensntmaxtimes: the number of times of short message retransmission;
messageMaxLength: maximum length of short message content;
serverUrl: third party provided address
The username: user name provided by third party (login name assigned to specific project)
password: password provided by third party (password distributed for specific project)
An encoder: coding format
smsPort: third party provided port
usePhone: received short message, broadcast number
timer Interval: and setting a timing time interval when the state is inquired.
7. A processing device for adapting to multiple external short message services, the device comprising:
the system comprises a presetting module, a receiving module and a sending module, wherein the presetting module is used for presetting configuration files for carrying out external short message receiving and sending by butting various systems with different short message platforms;
the initialization module is used for loading a configuration file, creating an external network short message module, loading an external short message plug-in and entering short message receiving and sending preparation when the external short message service is started;
the sending control module is used for placing the short message into a sending queue when sending the short message, calling a corresponding external network short message module and carrying out sending operation;
and the receiving control module is used for starting the external network short message module to receive the short message when receiving the short message, and the short message module receives the information and adds the information into a receiving queue.
8. The device of claim 7, wherein the presetting module comprises:
the setting unit is used for setting and supporting the reading of the short message module configuration from the configuration file;
the first establishing unit is used for establishing and configuring the appointed short message module type and sending and receiving short messages by using a corresponding short message service module;
the configuration unit is used for configuring the short message to be sent by using a uniform interface and expanding the external short message module;
and the second creating unit is used for creating configuration files for various systems to be docked with different short message platforms for external short message transceiving.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of any one of claims 1 to 6 when executing the computer program to accommodate a plurality of external short message service processing methods.
10. A computer-readable storage medium, on which a computer program is stored, wherein the computer program, when being executed by a processor, implements the steps of any one of claims 1 to 6 of a method for processing a plurality of external short message services.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010086956.3A CN111294404A (en) | 2020-02-11 | 2020-02-11 | Processing method and device, computer equipment and medium suitable for various external short message services |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010086956.3A CN111294404A (en) | 2020-02-11 | 2020-02-11 | Processing method and device, computer equipment and medium suitable for various external short message services |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111294404A true CN111294404A (en) | 2020-06-16 |
Family
ID=71026925
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010086956.3A Pending CN111294404A (en) | 2020-02-11 | 2020-02-11 | Processing method and device, computer equipment and medium suitable for various external short message services |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111294404A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113596754A (en) * | 2021-07-05 | 2021-11-02 | 西安震有信通科技有限公司 | Automatic message forwarding method and device suitable for each interface, intelligent terminal and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102821373A (en) * | 2012-08-15 | 2012-12-12 | 曙光信息产业(北京)有限公司 | Short message service platform applicable to heterogeneous equipment and realization method of short message service platform |
CN103795814A (en) * | 2014-02-13 | 2014-05-14 | 浪潮软件股份有限公司 | Short message equipment universal communication interface based on fully domestic CPU and OS |
CN105263127A (en) * | 2015-09-22 | 2016-01-20 | 天维尔信息科技股份有限公司 | Short message communication method and device |
CN110582063A (en) * | 2019-10-11 | 2019-12-17 | 上海寰云信息科技有限公司 | method for sending short message in intranet environment |
-
2020
- 2020-02-11 CN CN202010086956.3A patent/CN111294404A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102821373A (en) * | 2012-08-15 | 2012-12-12 | 曙光信息产业(北京)有限公司 | Short message service platform applicable to heterogeneous equipment and realization method of short message service platform |
CN103795814A (en) * | 2014-02-13 | 2014-05-14 | 浪潮软件股份有限公司 | Short message equipment universal communication interface based on fully domestic CPU and OS |
CN105263127A (en) * | 2015-09-22 | 2016-01-20 | 天维尔信息科技股份有限公司 | Short message communication method and device |
CN110582063A (en) * | 2019-10-11 | 2019-12-17 | 上海寰云信息科技有限公司 | method for sending short message in intranet environment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113596754A (en) * | 2021-07-05 | 2021-11-02 | 西安震有信通科技有限公司 | Automatic message forwarding method and device suitable for each interface, intelligent terminal and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8495434B2 (en) | Failure source server and mail server administrator alert management programs, systems, and methods | |
US8230040B2 (en) | Open mobile business supporting system and method | |
US20060168064A1 (en) | Electronic message management | |
CN102461136A (en) | Remotely locating and commanding a mobile device | |
CN102804144A (en) | Remotely locating and commanding a mobile device | |
US20200213262A1 (en) | System and method for automating actions in distributed computing | |
CN111311200B (en) | Management method and device for guest consultation work order platform | |
CN110807537A (en) | Conference room reservation processing method and device, electronic equipment and storage medium | |
CN111294404A (en) | Processing method and device, computer equipment and medium suitable for various external short message services | |
CN111600942B (en) | Report processing method, device and equipment | |
CN112448882B (en) | Mail service method and device for enterprise-level platform | |
CN115185841A (en) | System reconfiguration test method, device, equipment and storage medium | |
US20090157841A1 (en) | Encapsulation of online storage providers | |
US20020107921A1 (en) | Work-flow cooperation processing apparatus, work-flow cooperation processing system, work-flow-system cooperation method, program therefor, and recording medium therefor | |
CN115484560A (en) | Intelligent short message processing method and device, electronic equipment and storage medium | |
CN114282760A (en) | Workflow generation method and device combining dynamic form and dynamic flow | |
CN109698808A (en) | A kind of method, equipment and device loading template message | |
CN114938359A (en) | Message group sending, configuring and executing method and device and storage medium | |
CN110968491B (en) | Operation and maintenance operation method and system | |
CN114422467A (en) | Customer service message management system and method | |
CN115915029A (en) | System and method for mute transmission of real-time messages | |
CN113572676A (en) | Mail processing method and device | |
KR100666712B1 (en) | Apparatus and method for supporting push agent service and open mobile business support system | |
CN111026466A (en) | File processing method and device, computer readable storage medium and electronic equipment | |
CN114363409B (en) | Multi-channel configurable unified message management method, platform and system |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200616 |