Message transmission method and communication device
A communication device and message sending technology, applied in the electronic field, can solve problems such as unfavorable code maintenance and expansion, increased development cost, inconvenient maintenance, etc., to achieve the effect of improving maintainability, reducing development cost, and improving scalability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] see figure 1 , figure 1 It is a schematic flowchart of a method for sending a message provided in Embodiment 1 of the present invention. The execution subject of this embodiment may be a communication device or a functional module of the communication device, and the communication device may specifically be a server. figure 1 The shown message sending method may include the following steps:
[0030] S101. If a message sending instruction is received, acquire service type information of the message.
[0031] Specifically, if the communication device receives a message sending instruction, it acquires service type information of the message according to the sending instruction.
[0032] Different messages have different business type information because they involve different businesses, for example, game business, payment business, etc., which belong to different business types.
[0033] Further, the message may be a downlink short message message.
[0034] S102. Sel...
Embodiment 2
[0041] see figure 2 , figure 2 It is a schematic flowchart of a method for sending a message provided in Embodiment 2 of the present invention. The execution subject of this embodiment may be a communication device or a functional module of the communication device, and the communication device may specifically be a server. figure 2 The shown message sending method may include the following steps:
[0042] S201. Configure a service code corresponding to each service type information, and save the correspondence between the service type information and the service code as a preset code configuration relationship.
[0043] Specifically, the communication device configures a corresponding service code for each service type, and saves the correspondence between service type information and service codes as a preset code configuration relationship.
[0044] The service code can be a digital code, or other identification codes that uniquely identify the service type, which is n...
Embodiment 3
[0076] see image 3 , image 3 It is a schematic block diagram of a communication device provided in Embodiment 3 of the present invention. For ease of description, only parts related to the embodiments of the present invention are shown. image 3 The communication device 300 of the example may be an execution subject of the method for sending a message provided in the first embodiment. image 3 The exemplary communication device 300 mainly includes: an acquiring unit 31 , a selecting unit 32 and a sending unit 33 . The details of each unit are as follows:
[0077] The obtaining unit 31 is configured to obtain the service type information of the message if the sending instruction of the message is received;
[0078] A selection unit 32, configured to select a corresponding transmission channel identifier according to the service type information acquired by the acquisition unit 31;
[0079] The sending unit 33 is configured to send a message through a transmission channel...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


