CN107682255B - Message transmission method, device and storage medium - Google Patents
Message transmission method, device and storage medium Download PDFInfo
- Publication number
- CN107682255B CN107682255B CN201711142651.4A CN201711142651A CN107682255B CN 107682255 B CN107682255 B CN 107682255B CN 201711142651 A CN201711142651 A CN 201711142651A CN 107682255 B CN107682255 B CN 107682255B
- Authority
- CN
- China
- Prior art keywords
- server
- processing request
- terminal
- processing
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 138
- 238000000034 method Methods 0.000 title claims abstract description 78
- 238000012545 processing Methods 0.000 claims abstract description 656
- 230000004044 response Effects 0.000 claims description 8
- 238000004891 communication Methods 0.000 abstract description 9
- 230000008569 process Effects 0.000 description 25
- 238000012790 confirmation Methods 0.000 description 23
- 230000006870 function Effects 0.000 description 18
- 238000010586 diagram Methods 0.000 description 16
- 230000002085 persistent effect Effects 0.000 description 13
- 239000003795 chemical substances by application Substances 0.000 description 10
- 230000002093 peripheral effect Effects 0.000 description 10
- 230000001133 acceleration Effects 0.000 description 9
- 230000003287 optical effect Effects 0.000 description 5
- 238000012795 verification Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 239000000919 ceramic Substances 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 1
- 239000010931 gold Substances 0.000 description 1
- 229910052737 gold Inorganic materials 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
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/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/046—Interoperability with other network applications or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
- H04L51/18—Commands or executable codes
-
- 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/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a message transmission method, a message transmission device and a storage medium, and belongs to the technical field of communication networks. The method comprises the following steps: the method comprises the steps that a first server receives a first processing request of a terminal, wherein the first processing request is used for obtaining a service provided by a second server; executing the processing operation corresponding to the first processing request to obtain a second processing request, wherein the second processing request is used for indicating a second server to provide service for the terminal; and sending a second processing request to the second server, and sending a forwarding instruction to the terminal, wherein the forwarding instruction is used for instructing the terminal to forward the second processing request to the second server. In the invention, the first server sends the second processing request to the second server through two transmission paths, one transmission path is to directly send the second processing request to the second server, and the other transmission path is to forward the second processing request to the second server through the terminal, so that the second server can receive the second processing request, and the reliability of the second processing request is improved.
Description
Technical Field
The present invention relates to the field of communications network technologies, and in particular, to a message transmission method, an apparatus, and a storage medium.
Background
With the development of communication network technology, more and more applications are installed on the terminal, and the functions of the applications are more and more powerful. The terminal can log in the current server through the installed application to perform information interaction with the current server, and can also log in the current server and other servers simultaneously, so that the interaction with other servers is performed through the current server, and the services provided by other servers are used.
At present, when the current server interacts with other servers, the current server directly sends messages to be sent to the other servers. For example, an example will be described in which an application is a game application, and a terminal purchases a virtual item from another server via a current server. The process of the terminal purchasing the virtual goods from the other servers is as follows: the terminal sends a purchase request to the current server. And the current server carries out fee deduction processing according to the purchase request and sends a delivery reminding to other servers. And the other servers add the virtual articles purchased by the user into the user account according to the delivery reminding and send a successful purchase notification to the terminal.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
when a problem occurs in the transmission network between two servers, the transmission of information between the two servers fails. For example, when a problem occurs in the transmission network between the current server and the other server, the delivery reminding message will be transmitted unsuccessfully. It can be seen that the reliability of message transmission of the above method is poor.
Disclosure of Invention
The invention provides a message transmission method, a message transmission device and a storage medium, which can solve the problem of poor message transmission reliability. The technical scheme is as follows:
in a first aspect, a message transmission method is provided, and is applied in a first server, and the method includes:
receiving a first processing request of a terminal, wherein the first processing request is used for acquiring a service provided by a second server;
executing the processing operation corresponding to the first processing request to obtain a second processing request, wherein the second processing request is used for indicating the second server to provide the service for the terminal;
and sending the second processing request to the second server, and sending a forwarding instruction to the terminal, wherein the forwarding instruction is used for instructing the terminal to forward the second processing request to the second server.
In a second aspect, a message transmission method is provided, and is applied in a second server, and the method includes:
receiving a second processing request, wherein the second processing request is used for indicating the second server to provide service for the terminal;
when the second processing request is not processed in history, executing the processing operation corresponding to the second processing request;
and sending a processing success instruction to the terminal.
In a third aspect, a message transmission method is provided, where the method is applied in a terminal, and the method includes:
responding to a processing instruction, and sending a first processing request to a first server, wherein the first processing request is used for acquiring a service provided by a second server;
when a forwarding instruction of the first server is received, responding to the forwarding instruction, and sending a second processing request to a second server, wherein the forwarding instruction is used for instructing the terminal to forward the second processing request to the second server, and the second processing request is used for instructing the second server to provide the service for the terminal;
and receiving a processing success instruction, and responding to the processing success instruction, and displaying the acquired service in the user account of the terminal.
In a fourth aspect, a message transmission apparatus is provided, which is applied in a first server, and includes:
a first receiving module, configured to receive a first processing request of a terminal, where the first processing request is used to obtain a service provided by a second server;
a first execution module, configured to execute a processing operation corresponding to the first processing request to obtain a second processing request, where the second processing request is used to instruct the second server to provide the service for the terminal;
a first sending module, configured to send the second processing request to the second server, and send a forwarding instruction to the terminal, where the forwarding instruction is used to instruct the terminal to forward the second processing request to the second server.
In a fifth aspect, a message transmission apparatus is provided, where the apparatus is applied in a second server, and the apparatus includes:
a second receiving module, configured to receive a second processing request, where the second processing request is used to instruct the second server to provide a service for the terminal;
the second execution module is used for executing the processing operation corresponding to the second processing request when the second processing request is not processed in history;
and the second sending module is used for sending a processing success instruction to the terminal.
In a sixth aspect, there is provided a message transmission apparatus, which is applied in a terminal, and includes:
a third sending module, configured to send, in response to the processing instruction, a first processing request to the first server, where the first processing request is used to obtain a service provided by the second server;
a fourth sending module, configured to send, when receiving a forwarding instruction of the first server, a second processing request to a second server in response to the forwarding instruction, where the forwarding instruction is used to instruct the terminal to forward the second processing request to the second server, and the second processing request is used to instruct the second server to provide the service for the terminal;
and the display module is used for receiving a processing success instruction and responding to the processing success instruction to display the acquired service in the user account of the terminal.
In a seventh aspect, a message transmission apparatus is provided, which is applied in a first server, and includes a processor and a memory, where at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the memory, and the instruction, the program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the operations performed in the message transmission method according to the first aspect.
In an eighth aspect, there is provided a message transmission apparatus, which is applied in a second server, and includes a processor and a memory, where at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the memory, and the instruction, the program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the operations performed in the message transmission method according to the second aspect.
In a ninth aspect, there is provided a message transmission apparatus, which is applied in a second server, and includes a processor and a memory, where at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the memory, and the instruction, the program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the operations performed in the message transmission method according to the third aspect.
In a tenth aspect, there is provided a computer-readable storage medium for use in a first server, the computer-readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the operations performed in the message transmission method according to the first aspect.
In an eleventh aspect, there is provided a computer-readable storage medium for use in a second server, the computer-readable storage medium having at least one instruction, at least one program, a set of codes, or a set of instructions stored therein, which is loaded and executed by a processor to implement the operations performed in the message transmission method according to the second aspect.
In a twelfth aspect, a computer-readable storage medium is provided, which is applied in a second server, and has at least one instruction, at least one program, a set of codes, or a set of instructions stored therein, which is loaded and executed by a processor to implement the operations executed in the message transmission method according to the third aspect.
In the embodiment of the present invention, after obtaining the second processing request based on the received first processing request, the first server sends the second processing request to the second server, and sends a forwarding instruction to the terminal, where the forwarding instruction is used to instruct the terminal to forward the second processing request to the second server. When the first server sends the second processing request to the second server, the first server sends the second processing request to the second server through two transmission paths, wherein one transmission path is to directly send the second processing request to the second server, and the other transmission path is to forward the second processing request to the second server through the terminal, so that the second server can receive the second processing request, and the reliability of the second processing request is improved. The embodiment of the invention can be applied to the scene that any terminal needs to interact with the multiple servers, and particularly can ensure the reliability of cross-regional message transmission for the game scene.
Drawings
FIG. 1 is a schematic diagram of an implementation environment provided by embodiments of the present invention;
fig. 2a is a flowchart of a method for transmitting a message according to an embodiment of the present invention;
FIG. 2b is a schematic diagram of a purchase interface provided by embodiments of the present invention;
FIG. 2c is a schematic diagram of an interface for prompting options according to an embodiment of the present invention;
fig. 2d is a schematic diagram of a multi-transmission path for sending a second processing request according to an embodiment of the present invention;
fig. 2e is a schematic diagram of sending a second processing request by a single transmission path according to an embodiment of the present invention;
fig. 3a is a schematic structural diagram of a message transmission apparatus according to an embodiment of the present invention;
fig. 3b is a schematic structural diagram of a message transmission apparatus according to an embodiment of the present invention;
fig. 4a is a schematic structural diagram of a message transmission apparatus according to an embodiment of the present invention;
fig. 4b is a schematic structural diagram of a message transmission apparatus according to an embodiment of the present invention;
fig. 4c is a schematic structural diagram of a message transmission apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a message transmission apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the invention. The implementation environment includes a terminal 101, a first server 102 and a second server 103. The terminal 101 is connected to the first server 102 and the second server 103 via a network. The terminal 101 runs a designated application program associated with the first server 102 and the second server 103, and the first server 102 and the second server 103 can be simultaneously logged in based on the designated application program, so that interaction with the second server 103 is performed through the first server 102 to use the service provided by the second server 103.
The terminal 101 may be any Device such as a mobile phone terminal 101, a PAD (Portable Android Device) terminal 101, or a computer terminal 101 that installs the specified application. The first server 102 and the second server 103 are background servers of the specified application respectively. The first server 102 and the second server 103 may be deployed in the same or different local area networks. Moreover, the first server 102 may be a server, a server cluster composed of several servers, or a cloud computing server center. Similarly, the second server 103 may also be a server, a server cluster composed of several servers, or a cloud computing server center.
The designated application may be a gaming application, a shopping application, a multimedia playing application, and the like. The service may be a virtual item, a physical item, or a designated function. The specified function may be a function provided by the second server for the terminal after charging the user. For example, when the second server 103 is a multimedia playing application, the designated function may be a function such as a playing right or an uploading right. For example, if the application is designated as a game application, the first server is a domestic server corresponding to the game application, and the second server is a foreign server corresponding to the game application, and the service may be a virtual item provided in the second server.
Fig. 2a is a message transmission method according to an embodiment of the present invention, which is applied between a terminal, a first server, and a second server. Referring to fig. 2a, the method comprises:
201. and the terminal responds to the processing instruction and sends a first processing request to the first server, wherein the first processing request is used for acquiring the service provided by the second server.
The first server can provide services for the terminal, and the terminal can log in the first server through a specified application program so as to obtain the services provided by the first server. The second server may also provide services for the terminal. When the terminal acquires the service provided by the second server, the terminal needs to log in the second server through the first server, so as to acquire the service provided by the second server. When the terminal accesses the first server, the terminal can be determined to log in the first server. When the terminal accesses the second server through the first server, the terminal can be determined to log in the second server. For example, when the embodiment of the present invention is applied to a cross-region game, the application program is designated as a game application, the first server is a server closest to the terminal, and the second server is a server in a target region where the user performs the cross-region game. When the terminal accesses the first server through the game application, the terminal is determined to log in the first server, and at the moment, the terminal displays an area selection interface, wherein the area selection interface comprises a plurality of game areas and an access interface of each game area. And when the terminal detects that the access interface of the target area is triggered, the terminal accesses the second server corresponding to the target area, so as to log in the second server.
When the terminal acquires the service provided by the second server, the terminal displays a processing interface, wherein the processing interface comprises the service identifier provided by the second server and the resource numerical value of each service. The user may select a service identification in the processing interface to trigger a processing instruction to the terminal. The terminal acquires the service identifier selected by the user, and sends a first processing request to the first server in response to the processing instruction, wherein the first processing request carries the user identifier of the user and the requested service identifier.
The user identifier may be a user account, such as a mobile phone number, a user name or a nickname, registered in the first server or the second server by the user. When the service is a virtual item, the service identifier may be an item identifier of the purchase, such as a number, a name, or an icon of the item. When the service is a specific function, the service identifier may be a function identifier of the specific function, such as a function name. In a possible implementation manner, the first processing request may further carry a resource value corresponding to the requested service, where the resource value may be an amount corresponding to the service or a virtual amount. The virtual amount may be a gold coin, a life value, etc. The first processing request may also carry a service term or a service number. The service duration refers to a duration for which the user enjoys the service, for example, when the service is a designated function, the service duration is a duration for which the user can use the designated function.
In one possible implementation manner, before the terminal sends the first processing request to the first server, the terminal displays a prompt option, where the prompt option includes a service to be requested, and a resource value, a confirmation button, and a cancel button corresponding to the service. The confirm button is used to trigger a confirm command and the cancel button is used to trigger a cancel command. When the terminal detects that the confirmation button is triggered to generate a confirmation instruction, the terminal sends a first processing request to the first server. When the terminal detects that the cancel button is triggered to generate a cancel instruction, the terminal returns to the processing interface. The terminal enables the user to confirm again before sending the first processing request to the first server, so that the accuracy of requesting service is improved.
In the embodiment of the present invention, the specified application is a game application, and the service is a virtual article. The first processing request is a purchase request to purchase the virtual item from the second server. Then this step may be: the terminal displays a purchase interface, the purchase interface comprises the item identification of the virtual items in the second server and the resource numerical value of each virtual item, and the user can select the item identification of the virtual items to be purchased and the item quantity in the purchase interface. The terminal obtains the item identification and the item quantity of the selected virtual item, and sends a first processing request to the first server, wherein the first processing request carries the user identification of the user and the item identification and the item quantity of the virtual item to be purchased.
For example, referring to fig. 2B-2c, the terminal displays a purchase interface including an item identifier a for virtual item a, a resource value (e.g., 10 coins) corresponding to virtual item a, an item identifier B for virtual item B, and a resource value (e.g., 15 coins) corresponding to virtual item B. When the user wants to purchase a virtual item a, the user may select the virtual item a. The terminal acquires the article identification of the virtual article A and displays prompting options, wherein the prompting options comprise a prompting message, a confirmation button and a cancel button, and the prompting message can be 'determine to use 10 coins to purchase the article'. When the terminal detects a confirmation instruction generated by triggering a confirmation button, a first processing request is sent to the first server, and the first processing request carries the user identifier of the user, the item identifier of the virtual item A and the item number (for example, the item number is 1).
In a possible implementation manner, when the terminal sends the first processing request to the first server, the terminal may send the first processing request to the first server through two transmission paths simultaneously, where one transmission path is to directly send the first processing request to the first server, and the other transmission path is to forward the first processing request to the first server through the second server, so that the first server is ensured to be capable of receiving the first processing request, and reliability of the first processing request is improved. Correspondingly, the step of sending the first processing request to the first server by the terminal may be:
the terminal sends a first processing request to the first server and sends a forwarding instruction to the second server, in order to distinguish the terminal from subsequent forwarding instructions, the forwarding instruction is called a first forwarding instruction, the first forwarding instruction carries the first processing request, and the first forwarding instruction is used for indicating the second server to forward the first processing request to the first server. And the second server receives the first forwarding instruction and forwards the first processing request to the second server according to the first forwarding instruction.
202. The first server receives a first processing request sent by the terminal, executes processing operation corresponding to the first processing request, and obtains a second processing request, wherein the second processing request is used for indicating the second server to provide service for the terminal.
When the first server receives a first processing request sent by the terminal, the first server directly executes the processing operation corresponding to the first processing request through a first process for processing the first processing request to obtain a second processing request.
In a possible implementation manner, when the first server receives the first processing request, the first server may also perform persistent processing on the first processing request first, and then execute the processing operation corresponding to the first processing request, thereby avoiding the loss of the first processing request and improving the reliability of the first processing request. The process of the first server performing persistent processing on the first processing request may be: the first server stores the first processing request and a message identification association of the first processing request in a first database. And after the first server performs persistent processing on the first processing request, the first server executes processing operation corresponding to the first processing request, and before the second processing request is obtained, the first server acquires the first processing request from the first database according to the message identifier of the first processing request. The first database may be deployed in the first server, or may be deployed in another server in the computer room where the first server is located. The message identification may be a version number of the service, a time at which the second processing request was obtained, etc.
For example, when the first processing request is a purchase request for purchasing a virtual item from the second server, the first processing request carries the user identifier of the user and the item identifier and the item number of the virtual item to be purchased. Accordingly, this step can be realized by the following steps (1) to (3), including:
(1) and the first server determines the resource value of the virtual article according to the article identification and the article quantity of the virtual article.
The first server stores the corresponding relation between the item identification and the unit price of the virtual item. Correspondingly, the steps can be as follows: the first server acquires the unit price of the virtual article from the corresponding relation between the article identification and the unit price according to the article identification of the virtual article; and determining the resource value of the virtual article according to the unit price and the article quantity of the virtual article.
(2) And the first server carries out fee deduction processing on the user according to the user identification and the total resource value to obtain delivery reminding.
And the first server deducts the resource value from the first user account of the user according to the user identification and the resource value, and adds the deducted resource value to the first user account corresponding to the first server, thereby completing fee deduction processing. And the first server generates a delivery reminding according to the user identification, the item identification and the item quantity of the virtual item, wherein the delivery reminding carries the user identification, the item identification and the item quantity of the virtual item. The first user account is a user account registered in the second server by the user.
(3): the first server takes the shipment reminder as a second processing request.
In a possible implementation manner, after the first server obtains the second processing request based on the first processing request, the first server may also perform persistent processing on the second processing request, thereby avoiding the loss of the second processing request and improving the reliability of the second processing request. The process of the first server performing persistent processing on the second processing request may be: the first server stores the second processing request and the message identification association of the second processing request in a second database. The second database and the first database may be the same database or different databases. In addition, the second database may be deployed in the first server, or may be deployed in another server in the computer room where the second server is located.
In the embodiment of the invention, all messages sent to the second server by the first server are transmitted to the second server through two transmission paths, so that the reliability of message transmission is improved. One of the transmission paths is to directly send the message to be transmitted to the second server, and the other transmission path is to relay the message to be sent to the second server through the terminal, that is, after the first server obtains the second processing request based on the first processing request, the step 204 is directly executed.
In the embodiment of the invention, the first server can also transmit the message which the terminal needs to care about in real time to the second server through two transmission paths, and transmit the message which the terminal does not need to care about in real time or between the two servers to the second server through a single path, thereby saving the network resource of the first server. Therefore, after the first server obtains the second processing request based on the first processing request, the message type of the second processing request is determined by the following step 203, and the transmission route is determined based on the message type.
203. The first server determines a message type of the second processing request.
The first processing request carries a service identifier of a service to be requested; the first server determines whether the service is a real-time service based on the service identification. When the service is a real-time service, the first server determines that the message type of the second processing request is a real-time message; when the service is not a real-time service, the first server determines that the message type of the second processing request is a non-real-time message.
The first server stores a real-time service identification library, and the real-time service identification library stores service identifications of real-time services; correspondingly, the step of determining, by the first server, whether the service is a real-time service based on the service identifier may be: the first server determines whether the service identification exists in a real-time service identification library or not; when the service identifier exists in the real-time service identifier library, determining that the service is a real-time service; and when the service identification does not exist in the real-time service identification library, determining that the service is a non-real-time service.
Wherein the real-time message is used to indicate that the service is a real-time service; the non-real time message is used to indicate that the service is a non-real time service. The real-time service refers to a service with a service delay requirement not lower than a preset time length, and the non-real-time service refers to a service with a service delay requirement lower than a preset time length. Because the message between the first server and the second server does not need to be transmitted to the terminal, the real-time service can also be a service between the second server and the terminal, and the service delay requirement is not lower than the service with the preset duration. For example, the real-time service may be a purchase service for purchasing a virtual good from the second server, or an update service for updating the installation package provided in the second server, or the like. The non-real-time service may be a service in which the terminal performs a designated task in the second server, or a chat message with a friend who plays a game, or the like.
In order to distinguish the preset duration from the subsequent preset duration, the preset duration is referred to as a first preset duration. The first preset time period may be set and changed as needed, and in the embodiment of the present invention, the first preset time period is not specifically limited. For example, the first preset time period may be 1s or 2s, etc.
After the first server determines the message type of the second processing request, determining whether the service is a real-time service or not based on the message type; when the message type indicates that the service is a real-time service, performing step 204; when the message type indicates that the service is not a real-time service, the first server sends a second processing request directly to the second server.
204. When the message type indicates that the service is a real-time service, the first server sends a second processing request to the second server.
In this step, the first server and the second server may perform message transmission through a network transmission channel, that is, the following first implementation manner, and the first server and the second server may also perform message transmission through a message forwarding module, that is, the following second implementation manner.
For the first implementation, the step may be: the first server establishes a first network transmission channel with the second server, and sends a second processing request to the second server through the first network transmission channel. The first network Transmission channel may be a UDP (User data Protocol) Transmission channel or a TCP (Transmission Control Protocol) Transmission channel.
For the second implementation, the step may be: the first server establishes a message transmission channel between the message transmission channel and a message forwarding module of the second server through the message forwarding module of the first server, and sends a second processing request to the second server through the message transmission channel and the message forwarding module.
For convenience of description, the message forwarding module of the first server is referred to as a first message forwarding module, and the message forwarding module of the second server is referred to as a second message forwarding module. The step of sending the second processing request to the second server by the first server through the message transmission channel and the message forwarding module may be: the first server sends a second processing request to the first message forwarding module. The first message forwarding module receives the second processing request, and forwards the second processing request to the second message forwarding module through a message transmission channel between the first message forwarding module and the second message forwarding module. And the second message forwarding module receives the second processing request and forwards the second processing request to a second server.
In a possible implementation manner, after the first server performs persistent processing on the second processing request and before the first server sends the second processing request to the second server, the first server obtains the second processing request from the second database according to the message identifier of the second processing request.
The first server performs persistent processing on the second processing request, that is, the second database stores a plurality of processing requests. And the first server sends the processing request to the second server according to the storage time of each processing request in the second database. Therefore, before the first server acquires the second processing request from the second database according to the message identifier of the second processing request, the first server detects whether the sending time of the second processing request is reached, and when the sending time of the second processing request is reached, the step that the first server acquires the second processing request from the second database according to the message identifier of the second processing request is executed.
In the embodiment of the invention, the message forwarding module supports two message forwarding modes of serial forwarding and parallel forwarding. The serial forwarding means that only one message is forwarded each time, and the next message is forwarded after the confirmation is received. The parallel forwarding means that multiple messages can be forwarded at the same time, and the message forwarding mode has high efficiency but does not guarantee the order of message arrival. When the first message forwarding module sends the second processing request to the second server in a serial forwarding manner, the step of the first server detecting whether the sending time of the second processing request is reached may be: when the first server receives the confirmation message of the third processing request, the sending time of the second processing request is determined to be reached, and the third processing request is the last processing request of the second processing request. When the first message forwarding module sends the second processing request to the second server in a parallel forwarding manner, the step of the first server detecting whether the sending time of the second processing request is reached may be: whether the current group of processing requests of the first server comprises a second processing request or not; when the current set of processing requests includes a second processing request, determining that a transmission time of the second processing request is reached. The current set of processing requests includes a plurality of processing requests.
It should be noted that the first message forwarding module may be a message broker module or a message middleware, and similarly, the second message forwarding module may be a message broker module or a message middleware.
In one possible implementation, when the first server sends the second processing request to the second server through two transmission routes, the reliability of the second processing request is improved. Therefore, when the message type indicates that the service is a real-time service, the first server further needs to perform step 205 to forward the second processing request to the second server through the terminal. It should be noted that 204 and 205 are not in strict sequence, and 204 may be executed first, and then 205 may be executed; or firstly executing 205 and then executing 204; of course, 204 and 205 may also be performed simultaneously by two processes.
In one possible implementation, when the message type indicates that the service is not a real-time service, the first server sends the second processing request directly to the second server. The process of the first server directly sending the second processing request to the second server is the same as the process of step 204, and is not described herein again.
205. And the first server sends a second forwarding instruction to the terminal, wherein the second forwarding instruction is used for indicating the terminal to forward the second processing request to the second server.
And the first server and the terminal transmit messages through a network transmission channel. Correspondingly, the steps can be as follows: and the first server establishes a second network transmission channel with the terminal and sends a second transmission request message to the terminal through the second network transmission channel. The second network transmission channel may also be a UDP transmission channel or a TCP transmission channel.
When the first server does not perform persistent processing on the second processing request, the first server directly sends a second forwarding instruction to the terminal after generating the second processing request based on the first processing request, wherein the second forwarding instruction carries the second processing request and is used for instructing the terminal to forward the second processing request to the second server. When the first server performs persistent processing on the second processing request, before the first server sends a second forwarding instruction to the terminal, the first server acquires the second processing request from the second database according to the message identifier of the second processing request.
206. And the terminal receives the second forwarding instruction, responds to the second forwarding instruction, and forwards the second processing request to the second server according to the second forwarding instruction.
And the terminal and the second server also carry out message transmission through the network transmission channel. Correspondingly, the steps can be as follows: and the terminal establishes a third network transmission channel with the second server and forwards the second processing request to the second server through the third network transmission channel. The third network transmission channel may also be a UDP transmission channel or a TCP transmission channel.
207. The second server receives a second processing request, which is sent by the first server or the terminal.
In the embodiment of the invention, the first server sends the second processing request to the second server through two transmission routes, and the first route is that the first server directly sends the second processing request to the second server; the second approach is that the first server sends a second processing request to the second server through the terminal. Therefore, the second processing request received by the second server may be sent by the first server or may be sent by the terminal.
After receiving the second processing request, the second server may directly perform the step of processing the second processing request in step 209, or may perform step 208, detect whether the second processing request is processed in history, and process the second processing request only when the second processing request is not processed in history, thereby avoiding repeated processing and saving network resources of the second server.
And after receiving the second processing request, the second server sends a confirmation message to the device sending the second processing request, wherein the confirmation message carries the message identifier of the second processing request and is used for indicating that the second server has received the second processing request. When the second processing request is sent by the terminal, the second server sends a first confirmation message to the terminal. And the terminal receives the first confirmation message, and deletes the second processing request and the message identifier of the second processing request which are stored in the second database in a correlation manner according to the message identifier of the second processing request carried by the first confirmation message. When the second processing request is sent by the first server, the second server sends a second acknowledgement message to the first server. And the first server receives the second confirmation message, and deletes the second processing request and the message identifier of the second processing request which are stored in the second database in a correlation manner according to the message identifier of the second processing request carried by the second confirmation message, so that the storage space of the second database is saved.
In this embodiment of the present invention, when the terminal or the first server does not receive the acknowledgment message corresponding to the second processing request within a period of time after the terminal or the first server sends the second processing request, the terminal or the first server may send the second processing request to the second server again, so as to further improve reliability of message transmission, where the process may be:
and when the terminal does not receive the first confirmation message fed back by the second server within a second preset time length after the terminal forwards the second processing request to the second server, the terminal forwards the second processing request to the second server again until the first confirmation message fed back by the second server is received within a second preset time length after the terminal forwards the second processing request to the second server. When the first server does not receive the second confirmation message fed back by the second server within a third preset time length after the first server sends the second processing request to the second server, the first server sends the second processing request to the second server again until the second confirmation message fed back by the second server is received within a third preset time length after the second processing request is sent to the second server
The second preset time period and the third preset time period may be equal or unequal. In addition, the second preset time length and the third preset time length can be set and changed according to needs, and in the embodiment of the present invention, neither the second preset time length nor the third preset time length is specifically limited. For example, the second preset time period and the third preset time period are equal and both are 3 s.
208. The second server detects whether the second processing request is processed historically.
And after the second server processes a certain processing request, storing the message identifier of the processed processing request into the message record of the processed request. Thus, the message record of the processed request includes the message identification of the processed request of the second server history. Correspondingly, the steps can be as follows: the second server determines whether the message record of the processed request stores the message identification of the second processing request. When the message identifier is stored in the message record, the second server determines that the second processing request is processed historically; when the message identifier is not stored in the message record, the second server determines that the second processing request has not been processed historically.
And when the second processing request is detected to be processed historically, discarding the second processing request, thereby avoiding repeated processing and causing loss to the second server. When it is detected that the history has not processed the second processing request, step 209 is performed.
It should be noted that, the first server sends the second processing request to the second server through two transmission paths of directly sending the second processing request to the second server and forwarding the second processing request to the second server through the terminal, and in order to prevent the terminal from tampering the second processing request when forwarding the second processing request to the second server through the terminal. When detecting that the second processing request of the history processing is processed, the second server determines whether the second processing request of the history processing is transmitted by the terminal; when the second processing request of the historical processing is sent by the terminal and the currently received second processing request is sent by the first server, the second server processes the currently received second processing request and verifies the second processing request of the historical processing based on the processing result. When the second processing request of the historical processing is sent by the first server, the second server does not process the currently received second processing request, namely discards the currently received second processing request, regardless of whether the currently received second processing request is sent by the terminal or the first server.
Accordingly, the message record of the processed request stores not only the message identification of the processed request, but also the device identification of the transmitting device of the processed request. Accordingly, the step in which the second server determines whether the second processing request for the history processing is transmitted by the terminal may be: and the second server acquires the equipment identification for sending the second processing request from the processed message record based on the second processing request. When the equipment identifier is a terminal identifier, determining that a second processing request of historical processing is sent by the terminal; when the device identification is not the terminal identification, it is determined that the second processing request of the history processing is not transmitted by the terminal.
209. And when the second server detects that the second processing request is not processed in history, executing the processing operation corresponding to the second processing request.
And the second server executes the processing operation corresponding to the second processing request through a second process for processing the second processing request. In the embodiment of the present invention, when the second server receives the second processing request, the processing operation corresponding to the second processing request is executed, or when the second server receives the second processing request, the second server performs persistent processing on the second processing request first, and then executes the processing operation corresponding to the second processing request through the second process. The process of the second server for persisting the second processing request may be: and after receiving the second processing request, the second server stores the second processing request and the message identifier association of the second processing request in a third database.
In one possible implementation manner, the second server stores all the received second processing requests in the third database. In another possible implementation manner, the second server stores the second processing request in the third database only when the second processing request is received for the first time, and discards the second processing request after the second processing request is subsequently received. In another possible implementation manner, the second server stores the second processing request in the third database when receiving the second processing request for the first time, replaces the second processing request in the third database with the second processing request sent by the first server when the second processing request received for the first time is sent by the terminal and subsequently receives the second processing request sent by the first server, and discards the second processing request when any second processing request received for the first time is sent by the first server and subsequently receives any second processing request.
In a possible implementation manner, when the second server performs persistent processing on the second processing request and before the second server executes processing operation corresponding to the second processing request, the second server obtains the second processing request from the third database according to the message identifier of the second processing request. Since a plurality of second processing requests may be stored in the second database, the second server may obtain the second processing request from the third database in the following four ways.
For the first implementation manner, the second server may randomly obtain one second processing request from the second database, and correspondingly, the step of obtaining, by the second server, the second processing request from the third database according to the message identifier of the second processing request may be:
and the second server acquires a plurality of second processing requests from the second database according to the message identification of the second processing request, and randomly selects one second processing request from the plurality of second processing requests.
For the second implementation manner, the second database stores the receiving time of each received second processing request, the second server selects one second processing request with the earliest receiving time from the second database, and correspondingly, the step of the second server obtaining the second processing request from the third database according to the message identifier of the second processing request may be:
the second server acquires a plurality of second processing requests from a second database according to the message identification of the second processing request; according to the reception time of each second processing request, a second processing request whose reception time is earliest is selected from the plurality of processing requests.
For the third implementation manner, the device identifier of the sending device of each received second processing request is stored in the second database, and the second server selects the second processing request sent by the first server from the second database. Correspondingly, the step of the second server obtaining the second processing request from the third database according to the message identifier of the second processing request may be:
and the second server acquires a plurality of second processing requests from a second database according to the message identification of the second processing request, and selects the sending equipment as the second processing request of the first server from the plurality of second processing requests according to the equipment identification of the sending equipment of each second processing request.
For the fourth implementation, the second database stores the device identification and the reception time of the transmission device of each received second processing request. Correspondingly, the step of the second server obtaining the second processing request from the third database according to the message identifier of the second processing request may be:
and the second server acquires a plurality of second processing requests from a second database according to the message identifiers of the second processing requests, and selects a sending device from the plurality of second processing requests as the first server according to the device identifier and the sending time of the sending device of each second processing request, wherein the sending time of the second processing request is the earliest second processing request.
It should be noted that, when the second processing request that has been processed by the second server in history is sent by the terminal, the currently received second processing request is sent by the first server. After receiving the second processing request sent by the first server, the second server still processes the second processing request, and verifies the second processing request processed in history based on the processing result, where the process may be:
and the second server acquires a first processing result and a second processing result, wherein the first processing result is a processing result obtained by historically processing the second processing request, and the second processing result is a processing result obtained by currently processing the second processing request. And when the first processing result and the second processing result are the same, the second server determines that the verification is passed. And when the first processing result and the second processing result are different, the second server determines that the verification is not passed. And when the second server determines that the verification is passed, ending. And when the second server determines that the verification fails, replacing the first processing result with a second processing result, and sending a processing success instruction to the terminal.
For example, when the second processing request is a shipping reminder indicating that the second server performs shipping, the second processing request carries the user identification, the item identification of the purchased virtual item, and the item quantity. Correspondingly, the steps can be as follows: the second server adds the purchased virtual item to the first user account of the user according to the user identification and the item quantity of the purchased virtual item. The first processing result may be the number of virtual items included in the first user account after the processing operation corresponding to the second processing request is executed historically, and the second processing result may be the number of virtual items included in the first user account after the processing operation corresponding to the second processing request is executed currently.
210. And the second server sends a processing success instruction to the terminal.
And when the terminal forwards the second processing request to the second server, a third network transmission channel is established between the terminal and the server, and in the step, the second server directly sends the processing success instruction to the terminal through the third network transmission channel. The processing success instruction indicates that the second server has provided the service for the terminal.
When the second processing request is a shipping alert message, the processing success instruction is a purchase success notification message. The processing success instruction carries purchase detail information, and the purchase detail information may include one or more of user identification, total resource value, item identification of the purchased virtual item, item quantity, and the like. The processing success instruction may further include details of the virtual item in the first user account of the user.
In a possible implementation manner, the second server may also forward the processing success instruction to the terminal through two transmission routes, so as to improve the reliability of the processing success instruction. Correspondingly, the steps can be as follows: and the second server sends the processing success instruction to the terminal and sends a third forwarding instruction to the first server, wherein the third forwarding instruction carries the processing success instruction, and the third forwarding instruction indicates the first server to forward the processing success instruction to the terminal. And the first server receives the third forwarding instruction and forwards the processing success instruction to the terminal.
In a possible implementation manner, since two transmission paths are used to perform the redundant forwarding on the second processing request to ensure the reliable transmission of the second processing request, as long as one of the transmission paths is normal, the terminal can receive the processing success instruction in time. If the network between the first server and the second server has a problem and cannot be restored for a while, the terminal and the second server can interact in real time only by means of the transfer of the second processing request from the terminal to the second server. When the network between the terminal and the second server is disconnected, the terminal cannot receive the processing success instruction returned by the second server. Therefore, when the second server detects that a problem occurs in the network between the terminal and the second server, and the terminal logs in the second server again, the second server transmits the processing success instruction to the terminal again. For example, when a user purchases a virtual item in the second server, the second server records the purchase record of the user, and when the terminal logs in the second server, the second server sends the purchase record to the terminal.
For example, referring to fig. 2d, the first server is deployed in a first room, the second server is deployed in a second room, and the first server sends the second processing request to the second server through two transmission routes, which may be:
1. the terminal sends a first processing request to the first server.
2. And the first server executes the processing operation corresponding to the first processing request through the first process to obtain a second processing request.
3. And the first server forwards the second processing request to the first message agent module and sends a second forwarding instruction to the terminal, wherein the second forwarding instruction is used for indicating the terminal to forward the second processing request to the second server.
4. And the terminal receives the second forwarding instruction, forwards the second processing request to the second server, reads the second processing request from the second database DB by the first message agent module, and sends the second processing request to the second message agent module.
5. And the second message agent module receives the second processing request and forwards the second processing request to the second server.
6. And the second server executes the processing operation corresponding to the second processing request through a second process.
7. And the second server sends a processing success instruction to the terminal.
For example, referring to fig. 2e, the first server is deployed in a first computer room, the second server is deployed in a second computer room, and the first server directly sends the second processing request to the second server, where the process may be:
1. the terminal sends a first processing request to the first server.
2. And the first server executes the processing operation corresponding to the first processing request through the first process to obtain a second processing request.
3. The first server writes the second processing request into the second database DB.
4. The first message agent module periodically pulls the second processing request from the DB.
5. The DB returns the second processing request to the first message broker module.
6. The first message broker module forwards the second processing request to a second message broker module of the second server.
7. The second message agent module receives the second processing request and sends a second confirmation message to the first message agent module, wherein the second confirmation message is used for indicating that the first message agent module has received the second confirmation message
8. The second message agent module forwards the second processing request to the second server, and the first message agent module receives the second confirmation message and deletes the second processing request from the DB according to the message identifier of the second processing request.
9. And the second server executes the processing operation corresponding to the second processing request through a second process.
10. And the second server sends a processing success instruction to the terminal.
211. And the terminal receives the processing success instruction and responds to the processing success instruction to display the acquired service in the user account of the terminal.
The processing success instruction is sent by the first server or sent by the second server. When the terminal receives the processing success command, whether the history responds to the processing success command is detected; when the history does not respond to the processing success instruction, responding to the processing success instruction, and displaying the acquired service in the user account of the terminal; when the history responded to the processing success instruction, the processing success instruction is discarded.
In the embodiment of the present invention, after obtaining the second processing request based on the received first processing request, the first server sends the second processing request to the second server, and sends a forwarding instruction to the terminal, where the forwarding instruction is used to instruct the terminal to forward the second processing request to the second server. When the first server sends the second processing request to the second server, the first server sends the second processing request to the second server through two transmission paths, wherein one transmission path is to directly send the second processing request to the second server, and the other transmission path is to forward the second processing request to the second server through the terminal, so that the second server can receive the second processing request, and the reliability of the second processing request is improved. The embodiment of the invention can be applied to the scene that any terminal needs to interact with the multiple servers, and particularly can ensure the reliability of cross-regional message transmission for the game scene.
In a possible implementation manner, the first server may also provide a service for the terminal, and the terminal may log in the first server through a specified application program to directly obtain the service of the first server. Correspondingly, when the terminal acquires the service in the first server, the terminal sends a fourth processing request to the first server, and the fourth processing request is used for acquiring the service provided by the first server. The first server receives a fourth processing request sent by the terminal, executes processing operation corresponding to the fourth processing request to obtain a successful processing instruction, for convenience of distinguishing, the successful processing instruction obtained by the second server executing the operation corresponding to the second processing request is called a first successful processing instruction, the first server executes the processing operation corresponding to the fourth processing request, the obtained successful processing instruction is called a second successful processing instruction, and the first server sends the second successful processing instruction to the terminal.
For example, when the terminal purchases a virtual item from the first server, the terminal sends a fourth processing request to the first server, wherein the fourth processing request carries the user identifier, the item identifier of the virtual item in the first server and the item number. The first server determines a resource value of the virtual article according to the article identification and the article quantity of the virtual article, carries out fee deduction processing on the user according to the user identification and the resource value, and adds the virtual article purchased by the user into a second user account according to the user identification, the article identification and the article quantity of the virtual article. And the second user account is the user account registered in the first server by the user.
In one possible implementation manner, when the first server detects that the network between the terminal and the first server is in a problem and the terminal logs in the first server again, the first server sends the second processing success instruction to the terminal again. For example, when a user purchases a virtual item in a first server, the first server records the purchase record of the user, and when the terminal logs in the first server, the first server sends the purchase record to the terminal. Therefore, the terminal can synchronize the purchase record in the first server, and the reliability is improved.
In the embodiment of the invention, the terminal can directly acquire the service provided by the first server from the first server, and can also acquire the service provided by the second server from the second server through the first server, so that application scenes are increased.
The embodiment of the invention provides a message transmission device, which is applied to a first server and is used for executing steps executed by the first server in the message transmission method. Referring to fig. 3a, the apparatus comprises:
a first receiving module 301, configured to receive a first processing request of a terminal, where the first processing request is used to obtain a service provided by a second server;
a first executing module 302, configured to execute a processing operation corresponding to the first processing request to obtain a second processing request, where the second processing request is used to instruct a second server to provide the service for the terminal;
the first sending module 303 is configured to send the second processing request to the second server, and send a forwarding instruction to the terminal, where the forwarding instruction is used to instruct the terminal to forward the second processing request to the second server.
In one possible implementation, referring to fig. 3b, the apparatus further includes:
a determining module 304, configured to determine a message type of the second processing request;
the first sending module 303 is further configured to send a forwarding instruction to the terminal when the message type indicates that the service is a real-time service, where the real-time service is a service with a service delay requirement not less than a preset time duration.
In a possible implementation manner, the first sending module 303 is further configured to establish a network transmission channel with the second server, and send the second processing request to the second server through the network transmission channel; or,
the first sending module 303 is further configured to establish a message transmission channel with a message forwarding module of the second server through the message forwarding module of the first server, and send the second processing request to the second server through the message forwarding module and the message transmission channel.
In one possible implementation manner, when the first processing request is a purchase request for purchasing a virtual item from the second server, the first processing request carries a user identifier of the user, and an item identifier and an item number of the virtual item to be purchased;
the first execution module 302 is further configured to determine a resource value of the virtual item according to the item identifier and the item quantity; according to the user identification and the resource value, fee deduction processing is carried out on the user to obtain delivery reminding; the shipping reminder is made as a second processing request.
In the embodiment of the present invention, after obtaining the second processing request based on the received first processing request, the first server sends the second processing request to the second server, and sends a forwarding instruction to the terminal, where the forwarding instruction is used to instruct the terminal to forward the second processing request to the second server. When the first server sends the second processing request to the second server, the first server sends the second processing request to the second server through two transmission paths, wherein one transmission path is to directly send the second processing request to the second server, and the other transmission path is to forward the second processing request to the second server through the terminal, so that the second server can receive the second processing request, and the reliability of the second processing request is improved. The embodiment of the invention can be applied to the scene that any terminal needs to interact with the multiple servers, and particularly can ensure the reliability of cross-regional message transmission for the game scene.
The embodiment of the invention provides a message transmission device, which is applied to a second server and is used for executing steps executed by the second server in the message transmission method. Referring to fig. 4a, the apparatus comprises:
a second receiving module 401, configured to receive a second processing request, where the second processing request is used to instruct a second server to provide a service for the terminal;
a second executing module 402, configured to, when it is detected that the second processing request is not processed in history, execute a processing operation corresponding to the second processing request;
a second sending module 403, configured to send a processing success instruction to the terminal.
In one possible implementation, referring to fig. 4b, the apparatus further includes:
a detecting module 404, configured to determine whether a message identifier of a second processing request is stored in a processing record of the processed request, where the message record of the processed request includes a message identifier of a history processed processing request; and when the message identification is not stored in the processing record, determining that the second processing request is not processed in history.
In a possible implementation manner, the second executing module 402 is further configured to, when it is detected that the second processing request is processed historically, and the second processing request processed historically is sent by the terminal, and the currently received second processing request is sent by the first server, execute a processing operation corresponding to the second processing request.
In one possible implementation, referring to fig. 4c, the apparatus further includes:
the verification module 405 is configured to obtain a first processing result and a second processing result, where the first processing result is a processing result obtained by historically processing the second processing request, and the second processing result is a processing result obtained by currently processing the second processing request; and when the first processing result and the second processing result are different, replacing the first processing result with the second processing result.
In one possible implementation manner, when the second processing request is a delivery reminding indicating that the second server performs delivery, the second processing request carries the user identifier of the user, and the item identifier and the item quantity of the purchased virtual item;
the second executing module 402 is further configured to add the purchased virtual item to the user account of the user according to the user identifier, the item identifier, and the item quantity.
In the embodiment of the invention, when receiving the second processing request, the second server detects whether the second processing request is processed historically or not, and when the second processing request is not processed historically, the second server executes the processing operation corresponding to the second processing request and sends a processing success instruction to the terminal. When the second processing request is not processed in history, the second server processes the second processing request, so that repeated processing is avoided, and resources are saved.
The embodiment of the invention provides a message transmission device, which is applied to a terminal and used for executing steps executed by the terminal in the message transmission method. Referring to fig. 5, the apparatus includes:
a third sending module 501, configured to send, in response to the processing instruction, a first processing request to the first server, where the first processing request is used to obtain a service provided by the second server;
a fourth sending module 502, configured to send, when receiving a forwarding instruction of the first server, a second processing request to the second server in response to the forwarding instruction, where the forwarding instruction is used to instruct the terminal to forward the second processing request to the second server, and the second processing request is used to instruct the second server to provide a service for the terminal;
and a display module 503, configured to receive the processing success instruction, and display the acquired service in the user account of the terminal in response to the processing success instruction.
In the embodiment of the present invention, after obtaining the second processing request based on the received first processing request, the first server sends the second processing request to the second server, and sends a forwarding instruction to the terminal, where the forwarding instruction is used to instruct the terminal to forward the second processing request to the second server. And the terminal responds to the forwarding instruction and sends a second processing request to the second server. When the first server sends the second processing request to the second server, the first server sends the second processing request to the second server through two transmission paths, wherein one transmission path is to directly send the second processing request to the second server, and the other transmission path is to forward the second processing request to the second server through the terminal, so that the second server can receive the second processing request, and the reliability of the second processing request is improved.
It should be noted that: in the message transmission device provided in the foregoing embodiment, only the division of the functional modules is illustrated in the foregoing, and in practical applications, the above functions may be distributed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the message transmission apparatus and the message transmission method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments in detail and are not described herein again.
Fig. 6 is a schematic structural diagram of a server according to an embodiment of the present invention; the server 600 may vary significantly due to configuration or performance, and may include one or more Central Processing Units (CPUs) 622 (e.g., one or more processors) and memory 632, one or more storage media 630 (e.g., one or more mass storage devices) storing applications 642 or data 644. Memory 632 and storage medium 630 may be, among other things, transient or persistent storage. The program stored in the storage medium 630 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Still further, the central processor 622 may be configured to communicate with the storage medium 630 and execute a series of instruction operations in the storage medium 630 on the server 600.
The Server 600 may also include one or more power supplies 626, one or more wired or wireless network interfaces 650, one or more input-output interfaces 658, one or more keyboards 656, and/or one or more operating systems 641, such as a Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTMAnd so on.
The server 600 may be configured to perform the steps performed by the first server or the second server in the message transmission method provided in the foregoing embodiments.
Fig. 7 is a block diagram illustrating a terminal 700 according to an exemplary embodiment of the present invention. The terminal 700 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 700 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and so on.
In general, terminal 700 includes: a processor 701 and a memory 702.
The processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 701 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 701 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 701 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 701 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
In some embodiments, the terminal 700 may further optionally include: a peripheral interface 703 and at least one peripheral. The processor 701, the memory 702, and the peripheral interface 703 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 703 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 704, touch screen display 705, camera 706, audio circuitry 707, positioning components 708, and power source 709.
The peripheral interface 703 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 701 and the memory 702. In some embodiments, processor 701, memory 702, and peripheral interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 701, the memory 702, and the peripheral interface 703 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 704 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 704 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 704 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 704 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 704 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 705 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 705 is a touch display screen, the display screen 705 also has the ability to capture touch signals on or over the surface of the display screen 705. The touch signal may be input to the processor 701 as a control signal for processing. At this point, the display 705 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 705 may be one, providing the front panel of the terminal 700; in other embodiments, the display 705 can be at least two, respectively disposed on different surfaces of the terminal 700 or in a folded design; in still other embodiments, the display 705 may be a flexible display disposed on a curved surface or on a folded surface of the terminal 700. Even more, the display 705 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display 705 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 706 is used to capture images or video. Optionally, camera assembly 706 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 706 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 707 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 701 for processing or inputting the electric signals to the radio frequency circuit 704 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 700. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 701 or the radio frequency circuit 704 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 707 may also include a headphone jack.
The positioning component 708 is used to locate the current geographic Location of the terminal 700 for navigation or LBS (Location Based Service). The Positioning component 708 can be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, or the galileo System in russia.
In some embodiments, terminal 700 also includes one or more sensors 710. The one or more sensors 710 include, but are not limited to: acceleration sensor 711, gyro sensor 712, pressure sensor 713, fingerprint sensor 714, optical sensor 715, and proximity sensor 716.
The acceleration sensor 711 can detect the magnitude of acceleration in three coordinate axes of a coordinate system established with the terminal 700. For example, the acceleration sensor 711 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 701 may control the touch screen 705 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 711. The acceleration sensor 711 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 712 may detect a body direction and a rotation angle of the terminal 700, and the gyro sensor 712 may cooperate with the acceleration sensor 711 to acquire a 3D motion of the terminal 700 by the user. From the data collected by the gyro sensor 712, the processor 701 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 713 may be disposed on a side bezel of terminal 700 and/or an underlying layer of touch display 705. When the pressure sensor 713 is disposed on a side frame of the terminal 700, a user's grip signal on the terminal 700 may be detected, and the processor 701 performs right-left hand recognition or shortcut operation according to the grip signal collected by the pressure sensor 713. When the pressure sensor 713 is disposed at a lower layer of the touch display 705, the processor 701 controls the operability control on the UI interface according to the pressure operation of the user on the touch display 705. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 714 is used for collecting a fingerprint of a user, and the processor 701 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 714, or the fingerprint sensor 714 identifies the identity of the user according to the collected fingerprint. When the user identity is identified as a trusted identity, the processor 701 authorizes the user to perform relevant sensitive operations, including unlocking a screen, viewing encrypted information, downloading software, paying, changing settings, and the like. The fingerprint sensor 714 may be disposed on the front, back, or side of the terminal 700. When a physical button or a vendor Logo is provided on the terminal 700, the fingerprint sensor 714 may be integrated with the physical button or the vendor Logo.
The optical sensor 715 is used to collect the ambient light intensity. In one embodiment, the processor 701 may control the display brightness of the touch display 705 based on the ambient light intensity collected by the optical sensor 715. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 705 is increased; when the ambient light intensity is low, the display brightness of the touch display 705 is turned down. In another embodiment, processor 701 may also dynamically adjust the shooting parameters of camera assembly 706 based on the ambient light intensity collected by optical sensor 715.
A proximity sensor 716, also referred to as a distance sensor, is typically disposed on a front panel of the terminal 700. The proximity sensor 716 is used to collect the distance between the user and the front surface of the terminal 700. In one embodiment, when the proximity sensor 716 detects that the distance between the user and the front surface of the terminal 700 gradually decreases, the processor 701 controls the touch display 705 to switch from the bright screen state to the dark screen state; when the proximity sensor 716 detects that the distance between the user and the front surface of the terminal 700 gradually becomes larger, the processor 701 controls the touch display 705 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 7 is not intended to be limiting of terminal 700 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
An embodiment of the present invention further provides a computer-readable storage medium, which is applied to a terminal, and has at least one instruction, at least one program, a code set, or a set of instructions stored therein, where the instruction, the program, the code set, or the set of instructions are loaded and executed by a processor to implement the operations performed by the first server in the message transmission method according to the foregoing embodiment.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium is applied to a server, and the computer-readable storage medium stores at least one instruction, at least one program, a set of codes, or a set of instructions, where the instruction, the program, the set of codes, or the set of instructions is loaded and executed by a processor to implement the operation performed by a second server in the message transmission method according to the foregoing embodiment.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium is applied to a server, and at least one instruction, at least one program, a code set, or a set of instructions is stored in the computer-readable storage medium, where the instruction, the program, the code set, or the set of instructions is loaded and executed by a processor to implement the operations performed by the terminal in the message transmission method according to the foregoing embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (13)
1. A message transmission method applied in a first server, the method comprising:
receiving a first processing request of a terminal, wherein the first processing request is used for acquiring a service provided by a second server, the first processing request carries a user identifier of a user and a requested service identifier, a specified application program runs in the terminal, and the first server and the second server are servers in different areas corresponding to the specified application program;
executing the processing operation corresponding to the first processing request to obtain a second processing request, wherein the second processing request is used for indicating the second server to provide the service for the terminal;
and sending the second processing request to the second server, and sending a forwarding instruction to the terminal, wherein the forwarding instruction is used for instructing the terminal to forward the second processing request to the second server.
2. The method of claim 1, wherein before sending the forwarding instruction to the terminal, the method further comprises:
determining a message type of the second processing request;
and when the message type indicates that the service is a real-time service, executing a step of sending a forwarding instruction to the terminal, wherein the real-time service is a service with a service delay requirement not lower than a preset time length.
3. The method of claim 1, wherein sending the second processing request to the second server comprises:
establishing a network transmission channel with the second server, and sending the second processing request to the second server through the network transmission channel; or,
and establishing a message transmission channel between the message forwarding module of the first server and the message forwarding module of the second server through the message forwarding module of the first server, and sending the second processing request to the second server through the message forwarding module and the message transmission channel.
4. The method according to any one of claims 1 to 3, wherein when the first processing request is a purchase request for purchasing a virtual item from the second server, the first processing request carries a user identifier of a user and an item identifier and an item number of the virtual item to be purchased;
the executing the processing operation corresponding to the first processing request to obtain a second processing request includes:
determining a resource numerical value of the virtual article according to the article identification and the article quantity;
according to the user identification and the resource value, fee deduction processing is carried out on the user to obtain delivery reminding;
the shipment reminder is taken as the second processing request.
5. A message transmission method applied in a second server, the method comprising:
receiving a second processing request, wherein the second processing request is used for indicating a second server to provide service for a terminal, the second processing request is sent by the terminal, the second processing request is obtained by a first server executing processing operation corresponding to a first processing request, the first processing request carries a user identifier of a user and a requested service identifier, a specified application program runs in the terminal, and the first server and the second server are servers in different areas corresponding to the specified application program;
when the second processing request is not processed in history, executing the processing operation corresponding to the second processing request;
and sending a processing success instruction to the terminal.
6. The method of claim 5, further comprising:
determining whether a message identifier of the second processing request is stored in a processing record of the processed request, wherein the message record of the processed request comprises message identifiers of historical processed processing requests;
and when the message identification is not stored in the processing record, determining that the second processing request is not processed in history.
7. The method according to claim 5 or 6, wherein when the second processing request is a delivery reminder instructing the second server to deliver a delivery, the second processing request carries a user identifier of a user and an item identifier and an item number of a purchased virtual item;
the executing the processing operation of the second processing request comprises:
and adding the purchased virtual article into the user account of the user according to the user identification, the article identification and the article quantity.
8. A message transmission method is applied to a terminal, and the method comprises the following steps:
responding to a processing instruction, and sending a first processing request to a first server, wherein the first processing request is used for acquiring a service provided by a second server, and the first processing request carries a user identifier of a user and a requested service identifier;
when a forwarding instruction of the first server is received, responding to the forwarding instruction, and sending a second processing request to a second server, where the forwarding instruction is used to instruct the terminal to forward the second processing request to the second server, the second processing request is used to instruct the second server to provide the service for the terminal, a specified application program runs in the terminal, and the first server and the second server are servers in different areas corresponding to the specified application program;
and receiving a processing success instruction, and responding to the processing success instruction, and displaying the acquired service in the user account of the terminal.
9. A message transmission apparatus, the apparatus being applied in a first server, the apparatus comprising:
a first receiving module, configured to receive a first processing request of a terminal, where the first processing request is used to obtain a service provided by a second server, the first processing request carries a user identifier of a user and a requested service identifier, a specified application program runs in the terminal, and the first server and the second server are servers in different areas corresponding to the specified application program;
a first execution module, configured to execute a processing operation corresponding to the first processing request to obtain a second processing request, where the second processing request is used to instruct the second server to provide the service for the terminal;
a first sending module, configured to send the second processing request to the second server, and send a forwarding instruction to the terminal, where the forwarding instruction is used to instruct the terminal to forward the second processing request to the second server.
10. A message transmission apparatus, wherein the apparatus is applied in a second server, the apparatus comprising:
a second receiving module, configured to receive a second processing request, where the second processing request is used to instruct a second server to provide a service for a terminal, the second processing request is sent by the terminal, the second processing request is obtained by a first server executing a processing operation corresponding to a first processing request, the first processing request carries a user identifier of a user and a service identifier of the request, a specified application program runs in the terminal, and the first server and the second server are servers in different areas corresponding to the specified application program;
the second execution module is used for executing the processing operation corresponding to the second processing request when the second processing request is not processed in history;
and the second sending module is used for sending a processing success instruction to the terminal.
11. A message transmission apparatus, wherein the apparatus is applied in a terminal, the apparatus comprising:
a third sending module, configured to send, in response to a processing instruction, a first processing request to a first server, where the first processing request is used to obtain a service provided by a second server, and the first processing request carries a user identifier of a user and a requested service identifier;
a fourth sending module, configured to send, when receiving a forwarding instruction of the first server, a second processing request to a second server in response to the forwarding instruction, where the forwarding instruction is used to instruct the terminal to forward the second processing request to the second server, the second processing request is used to instruct the second server to provide the service for the terminal, a specified application program runs in the terminal, and the first server and the second server are servers in different areas corresponding to the specified application program;
and the display module is used for receiving a processing success instruction and responding to the processing success instruction to display the acquired service in the user account of the terminal.
12. A message transmission apparatus, comprising a processor and a memory, wherein the memory has stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by the processor to carry out the operations carried out in the message transmission method according to any one of claims 1 to 4, or the operations carried out in the message transmission method according to any one of claims 5 to 7, or the operations carried out in the message transmission method according to claim 8.
13. A computer-readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to perform the operations performed in the message transmission method as claimed in any one of claims 1 to 4, or the operations performed in the message transmission method as claimed in any one of claims 5 to 7, or the operations performed in the message transmission method as claimed in claim 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711142651.4A CN107682255B (en) | 2017-11-17 | 2017-11-17 | Message transmission method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711142651.4A CN107682255B (en) | 2017-11-17 | 2017-11-17 | Message transmission method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107682255A CN107682255A (en) | 2018-02-09 |
CN107682255B true CN107682255B (en) | 2021-04-16 |
Family
ID=61149923
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711142651.4A Active CN107682255B (en) | 2017-11-17 | 2017-11-17 | Message transmission method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107682255B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108888959B (en) * | 2018-06-27 | 2020-06-30 | 腾讯科技(深圳)有限公司 | Team forming method and device in virtual scene, computer equipment and storage medium |
CN108985823B (en) * | 2018-06-27 | 2021-06-15 | 腾讯科技(深圳)有限公司 | Information delivery method, device, server and storage medium |
CN109348413B (en) * | 2018-11-26 | 2020-10-02 | 苏州达家迎信息技术有限公司 | Position information sharing method, device, equipment and storage medium |
CN109450710A (en) * | 2018-12-21 | 2019-03-08 | 北京金山云网络技术有限公司 | Visualization Service approaches to IM, device, electronic equipment and storage medium |
CN112121413B (en) * | 2020-09-30 | 2024-10-15 | 腾讯科技(深圳)有限公司 | Response method, system, device, terminal and medium for function service |
CN113194508B (en) * | 2021-03-31 | 2022-10-21 | 新华三信息技术有限公司 | Data transmission method, loRA server and LoRA terminal |
CN113220779A (en) * | 2021-04-27 | 2021-08-06 | 阿波罗智联(北京)科技有限公司 | Data processing method, device, storage medium and program product |
CN114461639A (en) * | 2022-01-14 | 2022-05-10 | 车智互联(北京)科技有限公司 | Article information management system and article information display method |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012011122A2 (en) * | 2010-07-23 | 2012-01-26 | Kane Balwant | A system and method for integrated queries routing and processing |
CN102694786A (en) * | 2011-03-25 | 2012-09-26 | 株式会社野村综合研究所 | Session management system |
CN103973545A (en) * | 2014-04-22 | 2014-08-06 | 腾讯科技(深圳)有限公司 | Processing method, device and system of instant message |
CN105262821A (en) * | 2015-10-29 | 2016-01-20 | 努比亚技术有限公司 | Interface management apparatus and method |
CN106375356A (en) * | 2015-07-23 | 2017-02-01 | 阿里巴巴集团控股有限公司 | Data processing method and server for data processing |
CN106411722A (en) * | 2016-11-29 | 2017-02-15 | 天脉聚源(北京)传媒科技有限公司 | Message transmission method and apparatus |
CN106445507A (en) * | 2016-09-08 | 2017-02-22 | 乐视控股(北京)有限公司 | Interface switching method, terminal and server |
CN106817381A (en) * | 2015-11-27 | 2017-06-09 | 阿里巴巴集团控股有限公司 | Data processing method and device |
CN107483973A (en) * | 2017-08-22 | 2017-12-15 | 广州市百果园信息技术有限公司 | In the method and apparatus of direct broadcasting room execution activity |
-
2017
- 2017-11-17 CN CN201711142651.4A patent/CN107682255B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012011122A2 (en) * | 2010-07-23 | 2012-01-26 | Kane Balwant | A system and method for integrated queries routing and processing |
CN102694786A (en) * | 2011-03-25 | 2012-09-26 | 株式会社野村综合研究所 | Session management system |
CN103973545A (en) * | 2014-04-22 | 2014-08-06 | 腾讯科技(深圳)有限公司 | Processing method, device and system of instant message |
CN106375356A (en) * | 2015-07-23 | 2017-02-01 | 阿里巴巴集团控股有限公司 | Data processing method and server for data processing |
CN105262821A (en) * | 2015-10-29 | 2016-01-20 | 努比亚技术有限公司 | Interface management apparatus and method |
CN106817381A (en) * | 2015-11-27 | 2017-06-09 | 阿里巴巴集团控股有限公司 | Data processing method and device |
CN106445507A (en) * | 2016-09-08 | 2017-02-22 | 乐视控股(北京)有限公司 | Interface switching method, terminal and server |
CN106411722A (en) * | 2016-11-29 | 2017-02-15 | 天脉聚源(北京)传媒科技有限公司 | Message transmission method and apparatus |
CN107483973A (en) * | 2017-08-22 | 2017-12-15 | 广州市百果园信息技术有限公司 | In the method and apparatus of direct broadcasting room execution activity |
Also Published As
Publication number | Publication date |
---|---|
CN107682255A (en) | 2018-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107682255B (en) | Message transmission method, device and storage medium | |
CN110278464B (en) | Method and device for displaying list | |
CN111614549B (en) | Interaction processing method and device, computer equipment and storage medium | |
CN111479120A (en) | Method, device, equipment and storage medium for issuing virtual red packet in live broadcast room | |
CN108093307B (en) | Method and system for acquiring playing file | |
CN108174275B (en) | Image display method and device and computer readable storage medium | |
CN110740340B (en) | Video live broadcast method and device and storage medium | |
CN109302385A (en) | Multimedia resource sharing method, device and storage medium | |
CN111061550A (en) | Task processing method, device, equipment and storage medium | |
CN110007981B (en) | Method and device for starting application program, electronic equipment and medium | |
CN113873281A (en) | Information display method and device, terminal and storage medium | |
CN112533015B (en) | Live interaction method, device, equipment and storage medium | |
CN110569220A (en) | Game resource file display method and device, terminal and storage medium | |
CN113069760A (en) | Resource allocation method, device, computing equipment and computer readable storage medium | |
CN110290191B (en) | Resource transfer result processing method, device, server, terminal and storage medium | |
CN110601921A (en) | Method and device for detecting data packet transmission parameters and data packet transmission system | |
CN111064657B (en) | Method, device and system for grouping concerned accounts | |
CN110366044B (en) | Method, device and system for acquiring target object | |
CN111258683A (en) | Detection method, detection device, computer equipment and storage medium | |
CN114140105A (en) | Resource transfer method, device, equipment and computer readable storage medium | |
CN114785766A (en) | Control method of intelligent equipment, terminal and server | |
CN114091998A (en) | Order delivery method, device, equipment and computer readable storage medium | |
CN108310767B (en) | Information display method, device, equipment and computer readable storage medium | |
CN113051494A (en) | Information display method and device, electronic equipment and storage medium | |
CN111131490A (en) | State updating method and device, computer equipment and storage medium |
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 |