CN106487836B - Information processing method and server - Google Patents

Information processing method and server Download PDF

Info

Publication number
CN106487836B
CN106487836B CN201510534283.2A CN201510534283A CN106487836B CN 106487836 B CN106487836 B CN 106487836B CN 201510534283 A CN201510534283 A CN 201510534283A CN 106487836 B CN106487836 B CN 106487836B
Authority
CN
China
Prior art keywords
server
application
event
query
electronic device
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
Application number
CN201510534283.2A
Other languages
Chinese (zh)
Other versions
CN106487836A (en
Inventor
冯锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510534283.2A priority Critical patent/CN106487836B/en
Publication of CN106487836A publication Critical patent/CN106487836A/en
Application granted granted Critical
Publication of CN106487836B publication Critical patent/CN106487836B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/535Tracking the activity of the user

Abstract

The invention discloses an information processing method, which comprises the following steps: the server of the second application receives a first event message sent by the first electronic device, wherein the first event message is used for indicating that the first application installed on the first electronic device is used for completing a first event; the server of the second application responds to the first event message and sends a first query request message to an external server, wherein the first query request message is used for requesting a query result aiming at the first event; the server of the second application receives a first query response message sent by the external server, wherein the first query response message carries a query result aiming at the first event; and the server of the second application sends the query result aiming at the first event to second electronic equipment, wherein the first electronic equipment is different from the second electronic equipment. The invention also discloses a server.

Description

Information processing method and server
Technical Field
The present invention relates to information processing technologies, and in particular, to an information processing method and a server.
Background
Electronic devices such as smart phones, smart televisions, tablet computers, notebook computers, desktop computers, Personal Digital Assistants (PDAs), and the like, have become important components in human lives, for example, people at home may prefer to use desktop computers, and smart televisions, because the display screens of such non-portable electronic devices are relatively large, and the functions of processors and the like are relatively powerful, the non-portable electronic devices are relatively suitable for running large games, displaying high-definition movies, or financial software with high requirements on security. When going out, people prefer to use portable electronic equipment such as tablet computers, smart phones and personal digital assistants.
application software (APP, hereinafter, referred to as application) plays an important role in using electronic devices, for example, various applications such as games, shopping, news, finance, social contact, education, etc. installed in smartphones, various applications such as games, electronic banking, shopping, medical, etc. installed in desktop computers, and home pages of various websites registered through web pages. In order to facilitate the user to know more information, a plurality of second applications are derived from a first application, the first application is installed and operated on a non-portable electronic device, and the second application is installed and operated on a portable electronic device.
generally, an electronic device installed with a first application generally performs data interaction with a server of the first application, for example, the electronic device installed with the first application generally pushes data to the server of the first application, while the electronic device installed with a second application generally performs data interaction with the server of the second application, and the server of the first application and the server of the second application are connected through an account of a user, so that data interaction is performed. In the process of pushing the user history record and other messages through the second application, the server of the second application depends on the server of the first application, in other words, the degree of coupling between the server of the second application and the server of the first application is very high, which results in that the second application server is not beneficial to the architectural maintenance and evolution in the process of pushing the user history record and other messages to the portable electronic device, thereby bringing high operation and maintenance costs. In addition, the server of the first application is only an external interface or an external server for realizing the data transparent transmission function as the server of the second application, and the second application server cannot monitor the pushing delay, the stability, the interface success rate and other indexes.
disclosure of Invention
in view of the above, embodiments of the present invention provide an information processing method server to solve at least one problem in the prior art, which can reduce the degree of coupling with an external server, thereby reducing the maintenance cost.
the technical scheme of the embodiment of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an information processing method, where the method includes:
The server of the second application receives a first event message sent by the first electronic device, wherein the first event message is used for indicating that the first application installed on the first electronic device is used for completing a first event;
The server of the second application responds to the first event message and sends a first query request message to an external server, wherein the first query request message is used for requesting a query result aiming at the first event;
The server of the second application receives a first query response message sent by the external server, wherein the first query response message carries a query result aiming at the first event;
and the server of the second application sends the query result aiming at the first event to second electronic equipment, wherein the first electronic equipment is different from the second electronic equipment.
In a second aspect, an embodiment of the present invention provides an information processing method, where the method includes:
receiving first event data sent by first electronic equipment, wherein the first event data is related data generated by the first application completing a first event;
Finishing preset processing based on the first event data to obtain a processing result;
Receiving the first query request message sent by the server of the second application, and taking the processing result as a query result of the first event to be carried in a first query response message;
and sending the first query response message to the server of the second application.
in a third aspect, an embodiment of the present invention provides a server for a second application, where the server for the second application includes a first receiving unit, a first sending unit, a second receiving unit, and a second sending unit, where:
The first receiving unit is used for receiving a first event message sent by a first electronic device, wherein the first event message is used for indicating that a first application installed on the first electronic device is used for completing a first event;
The first sending unit is configured to send a first query request message to an external server in response to the first event message, where the first query request message is used to request a query result for the first event;
The second receiving unit is configured to receive a first query response message sent by the external server, where the first query response message carries a query result for the first event;
the second sending unit is configured to send a query result for the first event to a second electronic device, where the first electronic device is different from the second electronic device.
in a fourth aspect, an embodiment of the present invention provides an external server, where the external server includes a third receiving unit, a processing unit, a fourth receiving unit, and a fourth sending unit, where:
the third receiving unit is configured to receive first event data sent by the first electronic device, where the first event data is related data generated when the first application completes a first event;
the processing unit is used for finishing preset processing based on the first event data to obtain a processing result;
the fourth receiving unit is configured to receive the first query request message sent by the server of the second application, and carry the processing result as a query result of the first event in a first query response message;
The fourth sending unit is configured to send the first query response message to the server of the second application.
the embodiment of the invention provides an information processing method and a server, wherein the server of a second application receives a first event message sent by first electronic equipment, and the first event message is used for indicating that a first application installed on the first electronic equipment completes a first event; the server of the second application responds to the first event message and sends a first query request message to an external server, wherein the first query request message is used for requesting a query result aiming at the first event; the server of the second application receives a first query response message sent by the external server, wherein the first query response message carries a query result aiming at the first event; the server of the second application sends a query result aiming at the first event to second electronic equipment, wherein the first electronic equipment is different from the second electronic equipment; thus, the coupling degree with the external server can be reduced, and the maintenance cost can be reduced.
drawings
FIG. 1-1 is an embodiment of an MVP message on a lol player's handset;
FIG. 1-2 is a schematic diagram of a network architecture of a related art in a lol game scenario;
FIGS. 1-3 are schematic diagrams of related art implementation flows in a lol game scenario;
FIG. 2 is a schematic flow chart illustrating an implementation of an information processing method according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of an implementation of a second information processing method according to an embodiment of the present invention;
FIG. 4-1 is an architectural diagram of an embodiment of the present invention in a shopping scenario;
FIG. 4-2 is a schematic flow chart illustrating implementation of an embodiment of the present invention in a shopping scenario;
FIG. 5-1 is a schematic diagram of an embodiment of the present invention in an RTS game scenario;
FIG. 5-2 is a schematic flow chart illustrating implementation of an embodiment of the present invention in an RTS game scenario;
Fig. 6 is a schematic structural diagram of a server according to a fifth second application of the present invention;
FIG. 7 is a block diagram of a sixth embodiment of an information processing system according to the present invention.
Detailed Description
In the scenario described in the background, when a certain function, such as a computing function, to be implemented by the second application is provided by a server other than a server independent from the second application, in other words, a certain function to be implemented by the second application is implemented by another server, the other server merely returns a result required by the server of the second application to the server of the second application, and the input of the other server may be from the server of the second application or from the server of the first application. For the server of the second application, the implementation of the function on the second application depends not only on the server of the first application, but also on the server of the second application, that is, for the server of the second application, both the server of the first application and the third server belong to external servers, and then the degree of coupling between the server of the second application and these external servers is very deep, which results in high maintenance cost. The following description takes the instant strategy game in the game field as a scene:
The hero alliance (lol, League of Legends) game is an instant strategy game developed by Riot Games in the United states, which typically runs on a desktop or desktop computer or smart television. In mainland china, lol games are purchased and operated by Tencent corporation. The lol game player downloads the lol game installation package from the official website of Tencent corporation and installs the lol game on the PC. In order to facilitate the lol game player to better know various information of the lol game and various historical battle performances of the lol game player, Tencent corporation has introduced a second application matched with the lol game, namely a palm hero alliance application (hereinafter referred to as palm lol), and the palm lol is generally installed on a portable electronic device such as a smart phone or a tablet computer of the lol game player. Besides pushing the latest information of lol to lol game players, MVP (Most valuable player) push is a feature function of the hero palm alliance. Wherein for a palm lol, the lol game is the first application of the palm lol. The implementation of the MVP push function is described below. Fig. 1-1 is a representation of an MVP message on a mobile phone of a lol player, fig. 1-2 are schematic diagrams of a network architecture of a related technology in a lol game scenario, and fig. 1-3 are schematic diagrams of an implementation flow of the related technology in the lol game scenario, as shown in fig. 1-1, fig. 1-2, and fig. 1-3, the implementation flow of the related technology in the lol game scenario includes:
Step 101, finishing the competition;
specifically, after the lol player finishes playing the game in the hero league game on the PC, the PC will send the lol player's status to the lol game server.
step 102, submitting data;
Specifically, the lol game server receives data sent by the PC of each lol player participating in the game, wherein the data is the battle situation information of the lol game player, and then the lol server sends the battle situations of the players participating in the lol game together to the MVP computing server.
Step 103, returning a result;
Specifically, after receiving the data sent by the lol game server, the MVP calculation server sends a response message to the lol game server, where the response message is used to indicate that the MVP calculation server has received the data sent by the lol game server. The interactive messages in step 102 and step 103 are equivalent to a pair of handshake messages, and when the lol game server does not receive the result returned from the MVP calculation server, the lol game server will continue to perform the data submission step 102 to the MVP calculation server.
step 104, returning a result;
specifically, after receiving a response message sent by the MVP calculation server, the lol game server sends a response message to the PC, where the response message is used to indicate that the MVP calculation server has received the data sent by the lol game server. The messages exchanged in step 101 and step 104 correspond to a pair of handshake messages.
step 105, calculating MVP;
Specifically, the MVP calculation server calculates the score of each lol game player in the match, and the highest score is the MVP of the local match.
Step 106, pushing an event;
Specifically, after the MVP computing server completes MVP computing, the MVP computing server pushes the MVP event to the palm lol application server.
step 107, returning the result;
Specifically, after the palm lol application server receives the MVP event, the palm lol application server sends a response message to the MVP calculation server, where the response message is used to indicate that the palm lol application server has received the MVP event pushed by the MVP calculation server.
step 108, sending down a message;
specifically, the palm lol application server issues the calculation result of the MVP to the mobile phone of the lol game player in the form of a push message, so that the lol game player views the calculation result through the palm lol application on the mobile phone.
In the above implementation, the sequence numbers 101-108 do not represent a strict execution order, for example, step 105 may occur before or after step 104, or may occur simultaneously with step 104; step 108 may occur before or after step 107, or may occur simultaneously with step 107.
in the above implementation flow for implementing the MVP function, both the MVP calculation server and the lol game server belong to external servers. In order to enable a lol player to receive an MVP message in real time, a general method is to require an MVP calculation server to push MVP data to a palm lol application server after calculating an MVP score, and then the palm lol application server issues the MVP data to a terminal of a 101 player, such as a mobile phone, in the form of a push message. As can be seen from the above description, when the palm-top lol application server implements the MVP push message, it depends on the MVP calculation server and the lol game server, in other words, the palm-top lol application server is deeply coupled with the MVP calculation server and the lol game server, which is not favorable for architectural maintenance and evolution, thereby bringing high operation and maintenance cost. In addition, external servers such as the MVP calculation server and the lol game server only realize the pushing function, and the palm lol application server cannot monitor the indexes such as the pushing delay, the stability, the interface success rate and the like.
In order to reduce the coupling to the external server, an embodiment of the present invention provides an information processing method, which aims to solve the problem that the coupling degree between the server of the second application and the external server is relatively deep in the event pushing process. In the specific implementation process, mechanisms such as reporting to a server of a second application by an electronic device (namely, a first application client) for installing a first application, actively performing delay query on the server of the second application to an external server, and the like are introduced, so that the server of the second application removes dependence on pushing of the external server; in the embodiment of the invention, the server of the second application pulls data from the external server when the first application client reports the data, so that the coupling between the server of the second application and the external server is reduced, and the data sent by the external server is monitored.
the technical solution of the present invention is further elaborated below with reference to the drawings and the specific embodiments.
Example one
The embodiment of the invention provides an information processing method, which is applied to a server, wherein the functions realized by the information processing method can be realized by calling a program code through a processor in the server, and the program code can be saved in a computer storage medium.
fig. 2 is a schematic flow chart illustrating an implementation of an information processing method according to an embodiment of the present invention, as shown in fig. 2, the information processing method includes:
Step 201, a server of a second application receives a first event message sent by a first electronic device, wherein the first event message is used for indicating that a first application installed on the first electronic device completes a first event;
Here, by way of example in fig. 1-2, the server of the second application is a palm lol application server, the first application server may be a lol game server, the first electronic device may be a PC, and the first event may be an event that a lol game player finishes a match.
Step 202, the server of the second application responds to the first event message and sends a first query request message to an external server, wherein the first query request message is used for requesting a query result for the first event;
here, step 202 is completed based on step 201, in other words, step 202 in the embodiment of the present invention occurs after step 201.
step 203, the server of the second application receives a first query response message sent by the external server, where the first query response message carries a query result for the first event;
Here, the external server includes a server of the first application and/or a third server, for example, the third server may be an MVP computing server, where a third party in the third server is only used to indicate that the server is a computing module or device other than a server independent of the second application. In the scenarios shown in fig. 1-1 through 1-3, the external server includes only the third server, i.e., the MVP calculation server.
step 204, the server of the second application sends the query result for the first event to a second electronic device, where the first electronic device is different from the second electronic device.
here, taking fig. 1-2 as an example, the second electronic device is a smart phone, and as can be seen from fig. 1-2, the first electronic device is different from the second electronic device. It should be noted that the first application installed on the first electronic device and the second application installed on the second electronic device have the same account information, so that the first electronic device can send the first event to the server of the second application, and the server of the second application can send the query result related to the first event to the second electronic device.
in this embodiment of the present invention, in step 204, the server of the second application sends the query result for the first event to the second electronic device in a form of a push message.
in this embodiment of the present invention, after step 201, the method further includes:
Step 205, sending a first response message to the first electronic device by the server of the second application, where the first response message is used to indicate that the server of the second application receives the first event message.
In this embodiment of the present invention, before step 201, the method further includes:
Step 200, the server of the second application sends a second query request message to the first electronic device, where the second query request message is used to request whether an event is completed.
Correspondingly, after receiving the second query request message, the first electronic device responds to the second query request message when a first event is completed, and the first electronic device sends the first event message to the server of the second application.
In the embodiment of the present invention, a server of a second application receives a first event message sent by a first electronic device, where the first event message is used to indicate that a first application installed on the first electronic device completes a first event; the server of the second application responds to the first event message and sends a first query request message to an external server, wherein the first query request message is used for requesting a query result aiming at the first event; the server of the second application receives a first query response message sent by the external server, wherein the first query response message carries a query result aiming at the first event; the server of the second application sends a query result aiming at the first event to second electronic equipment, wherein the first electronic equipment is different from the second electronic equipment; thus, the coupling degree with the external server can be reduced, and the maintenance cost can be reduced.
Example two
Based on the foregoing embodiments, an embodiment of the present invention provides an information processing method, where the method is applied to an information processing system, where the system includes a first electronic device, a second electronic device, a server for a first application, a server for a second application, and other devices, and fig. 3 is a schematic diagram of an implementation flow of a second information processing method according to an embodiment of the present invention, and as shown in fig. 3, the method includes:
step 300, the server of the second application sends a second query request message to the first electronic device;
Here, the second query request message is used to request whether the query has an event completed.
step 301, the first electronic device sends a first event message to a server of the second application.
Specifically, after receiving the second query request message, when a first event is completed, the first electronic device responds to the second query request message, and sends the first event message to the server of the second application.
step 302, a server of a second application receives a first event message sent by a first electronic device;
Here, the first event message is used to indicate that a first event is to be completed by a first application installed on the first electronic device;
Step 303, an external server receives first event data sent by the first electronic device, where the first event data is related data generated when the first application completes a first event;
step 304, the external server completes preset processing based on the first event data to obtain a processing result;
step 305, the server of the second application sends a first query request message to the external server;
Specifically, the server of the second application sends a first query request message to the external server in response to the first event message, where the first query request message is used to request a query result for the first event;
step 306, the external server receives the first query request message sent by the server of the second application;
step 307, the external server takes the processing result as the query result of the first event and carries the query result in a first query response message;
step 308, the external server sends the first query response message to the server of the second application;
Step 309, the server of the second application receives the first query response message sent by the external server;
Here, the first query response message carries a query result for the first event;
step 310, the server of the second application sends the query result aiming at the first event to a second electronic device in the form of a push message;
here, the first electronic device is different from the second electronic device.
and 311, displaying the push message to the user by the second electronic equipment.
EXAMPLE III
In the following, a specific scenario is used to describe the technical solution provided by the embodiment of the present invention, and although portable electronic devices such as mobile phones and the like can already install and run shopping APPs, people prefer to buy things on electronic devices with large display screens such as desktop computers due to the narrow screen of the mobile phones. Social applications play an important role in people's lives, many other types of APPs are bound with social APPs, the binding means that the social APPs open an interface to the other types of APPs, at this time, the other types of APPs are equivalent to a friend on the social APPs, because the user generally brings the social APPs online for a long time, it is also possible to check the dynamics of the other APPs through the social APPs, and when a large number of other types of APPs are accessed into the social APPs, the social APPs become a monitoring platform. Therefore, when data related to the user is changed on other APPs, the servers of the other APPs send a message to the server of the social application, and then the server of the social application displays the message to the user. Fig. 4-1 is a schematic diagram of an architecture of the embodiment of the present invention in a shopping scenario, and fig. 4-2 is a schematic diagram of an implementation process of the embodiment of the present invention in a shopping scenario, as shown in fig. 4-1 and fig. 4-2, the process includes:
step 401, the PC sends the relevant data of the purchased goods to a server of the shopping APP;
specifically, after the user purchases the commodity on the PC, the PC sends the data related to the commodity purchase to the server of the shopping APP. The related data of the commodity comprises the price of the commodity, the name of the commodity, the seller and other information; the related data of the goods may also be a payment means used to pay the price of the goods.
step 402, the PC sends an event of purchasing commodities to a server of the social APP;
Specifically, after the user purchases the commodity on the PC, the PC sends the commodity purchasing event to the server of the social APP.
here, step 401 and step 402 may occur sequentially or simultaneously.
step 403, the server of the shopping APP calculates the total price of the commodity according to the relevant data of the commodity.
Step 404, the server of the social APP responds to the event of purchasing the commodity and sends a first query request message to the server of the shopping APP;
Step 405, the server of the shopping APP packages the total price of the commodity and the corresponding payment means into a first query response message according to a predetermined format requirement;
Step 406, the server of the shopping APP sends the first query response message to the server of the social APP;
Step 407, the server of the social APP sends the total price of the commodity and the corresponding payment means to the mobile phone in a form of push message;
step 408, the mobile phone displays the push message to the user.
here, the user can view the push message to learn about his own consumption record.
As can be seen from the above steps, the shopping APP in the embodiment of the present invention is equivalent to the first application in the above embodiment, the social APP is equivalent to the second application in the above embodiment, correspondingly, the server of the shopping APP is equivalent to the server of the first application in the above embodiment, the server of the social APP is equivalent to the server of the second application in the above embodiment, the PC is equivalent to the first electronic device in the above embodiment, and the mobile phone is equivalent to the second electronic device in the above embodiment.
Example four
the technical solution provided by the embodiment of the present invention is described below with a Real-Time strategic Game (RTS) scene, fig. 5-1 is a schematic diagram of an architecture of the embodiment of the present invention in the RTS Game scene, fig. 5-2 is a schematic diagram of an implementation flow of the embodiment of the present invention in the RTS Game scene, as shown in fig. 5-1 and fig. 5-2, the flow includes:
step S101, finishing the competition;
Specifically, after the RTS player finishes the RTS game on the PC, the PC will send the RTS player's status to the RTS game server.
Step S102, data submission;
specifically, the RTS game server receives data sent by the PC of each RTS player participating in the game, where the data is the situation information of the RTS game player, and then the RTS game server sends the situation of the players participating in the RTS game together to the MVP calculation server.
Step S103, returning a result;
Specifically, after receiving the data sent by the RTS game server, the MVP calculation server sends a response message to the RTS game server, where the response message is used to indicate that the MVP calculation server has received the data sent by the RTS game server. The interactive messages in step S102 and step S103 correspond to a pair of handshake messages, and when the RTS game server does not receive a result return sent by the MVP calculation server, the RTS game server continues to perform the data submission step S102 to the MVP calculation server.
Step S104, returning the result;
Specifically, after receiving a response message sent by the MVP calculation server, the RTS game server sends a response message to the PC, where the response message is used to indicate that the MVP calculation server has received the data sent by the RTS game server. The messages exchanged in step S101 and step S104 correspond to a pair of handshake messages.
step S105, MVP is calculated;
specifically, the MVP calculation server calculates the score of each RTS game player in the tournament, and the highest score is the MVP of the local tournament.
Step S106, event pushing;
specifically, after the RTS player finishes the RTS game on the PC, the PC sends an event that the RTS player's game has ended to the palm RTS application server in the form of a first event message.
step S107, returning the result;
Specifically, after receiving the first event message sent by the PC, the palm RTS application server sends a response message to the PC, where the response message is used to indicate that the palm RTS application server has received the first event message. The first event message in step S106 and the response message in step S107 correspond to a pair of handshake messages.
Step S108, data query;
Specifically, the palm RTS application server sends a first query request message to the MVP calculation server, where the first query request message is used to query a calculation result of the MVP in a first event;
step S109, returning data;
Specifically, the MVP calculation server sends a first query response message to the palmtop RTS application server, where the first query response message carries a calculation result of the MVP.
step S110, message is issued;
specifically, the palm RTS application server issues the calculation result of the MVP to the mobile phone of the RTS game player in the form of a push message, so that the RTS game player checks the calculation result through the palm RTS application on the mobile phone.
EXAMPLE five
based on the foregoing method embodiment, an embodiment of the present invention provides a server for a second application, where units such as a first receiving unit, a first sending unit, a second receiving unit, and a second sending unit in the server for the second application may all be implemented by a processor in the server for the second application; of course, the implementation can also be realized through a specific logic circuit; in the course of a particular embodiment, the processor may be a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
fig. 6 is a schematic structural diagram of a server of a fifth second application according to an embodiment of the present invention, and as shown in fig. 6, the server 600 of the second application includes a first receiving unit 601, a first sending unit 602, a second receiving unit 603, and a second sending unit 604, where:
The first receiving unit 601 is configured to receive a first event message sent by a first electronic device, where the first event message is used to indicate that a first event is completed by a first application installed on the first electronic device;
The first sending unit 602, configured to send a first query request message to an external server in response to the first event message, where the first query request message is used to request a query result for the first event;
The second receiving unit 603 is configured to receive a first query response message sent by the external server, where the first query response message carries a query result for the first event;
the second sending unit 604 is configured to send the query result for the first event to a second electronic device, where the first electronic device is different from the second electronic device.
In this embodiment of the present invention, the server of the second application further includes a second sending unit, configured to send a first response message to the first electronic device, where the first response message is used to indicate that the server of the second application receives the first event message.
in an embodiment of the present invention, the external server includes a server of the first application and/or a third server.
in the embodiment of the present invention, the first application and the second application have the same account information.
in this embodiment of the present invention, the first sending unit is configured to send the query result for the first event to the second electronic device in a form of a push message.
Here, it should be noted that: the above description of the server embodiment is similar to the above description of the method embodiment, and has similar beneficial effects to the method embodiment, and therefore, the description thereof is omitted. For technical details that are not disclosed in the server embodiment of the present invention, please refer to the description of the method embodiment of the present invention for understanding, and therefore, for brevity, will not be described again.
EXAMPLE six
Based on the foregoing method embodiment, an embodiment of the present invention further provides an information processing system, where the system includes a server of a second application and an external server, and units such as a first receiving unit, a first sending unit, a second receiving unit, and a second sending unit included in the server of the second application may all be implemented by a processor in the server of the second application; the third receiving unit, the processing unit, the fourth receiving unit, the fourth sending unit and other units included in the external server can be realized by a processor in a server of a second application; in the course of a particular embodiment, the processor may be a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
fig. 7 is a schematic structural diagram of a sixth information processing system according to an embodiment of the present invention, and as shown in fig. 7, the system 600 includes a server 610 of a second application and an external server 620, where the server 610 of the second application includes a first receiving unit 611, a first sending unit 612, a second receiving unit 613 and a second sending unit 614, and the external server 620 includes a third receiving unit 621, a processing unit 622, a fourth receiving unit 623 and a fourth sending unit 624, where:
the first receiving unit 611, configured to receive a first event message sent by a first electronic device, where the first event message is used to indicate that a first event is completed by a first application installed on the first electronic device;
the third receiving unit 621 is configured to receive first event data sent by the first electronic device, where the first event data is related data generated when the first application completes a first event;
the processing unit 622 is configured to complete preset processing based on the first event data to obtain a processing result;
the first sending unit 612, configured to send a first query request message to an external server in response to the first event message, where the first query request message is used to request a query result for the first event;
the fourth receiving unit 623 is configured to receive the first query request message sent by the server of the second application, and carry the processing result as a query result of the first event in a first query response message;
the fourth sending unit 624 is configured to send the first query response message to the server of the second application;
the second receiving unit 613 is configured to receive a first query response message sent by the external server, where the first query response message carries a query result for the first event;
The second sending unit 614 is configured to send the query result for the first event to a second electronic device, where the first electronic device is different from the second electronic device.
Here, it should be noted that: the above description of the system embodiment is similar to the above description of the method embodiment, and has similar beneficial effects to the method embodiment, and therefore, the description thereof is omitted. For technical details that are not disclosed in the embodiment of the system of the present invention, please refer to the description of the embodiment of the method of the present invention for understanding, and therefore, for brevity, will not be described again.
it should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
in the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
in addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
the above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (13)

1. an information processing method applied to a server of a second application, the method comprising:
Receiving a first event message sent by a first electronic device, wherein the first event message is used for indicating that a first event is completed by a first application installed on the first electronic device;
responding to the first event message, and sending a first query request message to an external server, wherein the first query request message is used for requesting a query result aiming at the first event;
Receiving a first query response message sent by the external server, wherein the first query response message carries a query result aiming at the first event;
And sending the query result aiming at the first event to second electronic equipment provided with the second application, wherein the first electronic equipment is different from the second electronic equipment.
2. the method of claim 1, further comprising:
A first response message sent to the first electronic device, where the first response message is used to indicate that the server of the second application receives the first event message.
3. The method according to claim 1, wherein the external server comprises a server of the first application and/or a third server.
4. the method according to any one of claims 1 to 3, wherein the first application and the second application have the same account information.
5. the method according to any one of claims 1 to 3, wherein the query result for the first event is sent to the second electronic device in the form of a push message.
6. an information processing method applied to an external server, the method comprising:
receiving first event data sent by first electronic equipment provided with a first application, wherein the first event data is related data generated by the first application after completing a first event;
finishing preset processing based on the first event data to obtain a processing result;
Receiving a first query request message sent by a server of a second application, and taking the processing result as a query result of the first event to be carried in a first query response message;
And sending the first query response message to the server of the second application.
7. A server of a second application, wherein the server of the second application comprises a first receiving unit, a first sending unit, a second receiving unit, and a second sending unit, and wherein:
the first receiving unit is used for receiving a first event message sent by a first electronic device, wherein the first event message is used for indicating that a first event is completed by a first application installed on the first electronic device;
the first sending unit is configured to send a first query request message to an external server in response to the first event message, where the first query request message is used to request a query result for the first event;
The second receiving unit is configured to receive a first query response message sent by the external server, where the first query response message carries a query result for the first event;
the second sending unit is configured to send a query result for the first event to a second electronic device installed with the second application, where the first electronic device is different from the second electronic device.
8. The server according to claim 7, wherein the server further comprises a second sending unit, configured to send a first response message to the first electronic device, where the first response message indicates that the server of the second application receives the first event message.
9. the server of the second application according to claim 7, wherein the external server comprises a server of the first application and/or a third server.
10. the server of the second application according to any one of claims 7 to 9, wherein the first application and the second application have the same account information.
11. The server of the second application according to any one of claims 7 to 9, wherein the first sending unit is configured to send the query result for the first event to the second electronic device in a form of a push message.
12. An external server, wherein the external server comprises a third receiving unit, a processing unit, a fourth receiving unit, and a fourth transmitting unit, wherein:
the third receiving unit is configured to receive first event data sent by a first electronic device installed with a first application, where the first event data is related data generated when the first application completes a first event;
The processing unit is used for finishing preset processing based on the first event data to obtain a processing result;
the fourth receiving unit is configured to receive a first query request message sent by a server of a second application, and carry the processing result as a query result of the first event in a first query response message;
the fourth sending unit is configured to send the first query response message to the server of the second application.
13. a computer-readable storage medium, characterized in that the storage medium has stored therein executable instructions that, when executed, implement the steps in the information processing method of any one of claims 1 to 5, or the steps in the information processing method of claim 6.
CN201510534283.2A 2015-08-27 2015-08-27 Information processing method and server Active CN106487836B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510534283.2A CN106487836B (en) 2015-08-27 2015-08-27 Information processing method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510534283.2A CN106487836B (en) 2015-08-27 2015-08-27 Information processing method and server

Publications (2)

Publication Number Publication Date
CN106487836A CN106487836A (en) 2017-03-08
CN106487836B true CN106487836B (en) 2019-12-13

Family

ID=58234118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510534283.2A Active CN106487836B (en) 2015-08-27 2015-08-27 Information processing method and server

Country Status (1)

Country Link
CN (1) CN106487836B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108961044A (en) * 2018-07-06 2018-12-07 中国电力财务有限公司 A kind of information processing method and device for applying making loans

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101073707A (en) * 2006-05-15 2007-11-21 祁勇 Internet game method and system
US7519720B2 (en) * 2001-01-26 2009-04-14 Microsoft Corporation Pushing rich content information to mobile devices
CN101470924A (en) * 2007-12-28 2009-07-01 世嘉股份有限公司 Computer system, server device and computer system control method
CN101903068A (en) * 2007-12-17 2010-12-01 科乐美数码娱乐株式会社 Game system, game management program, and game management method for game system
CN103067428A (en) * 2011-10-21 2013-04-24 华为技术有限公司 Base station and service processing method and cloud computing system
CN104572913A (en) * 2014-12-26 2015-04-29 北京奇虎科技有限公司 Method, device and server for processing data
CN104683222A (en) * 2015-03-23 2015-06-03 北京合生共济投资咨询有限责任公司 Instant data interaction method, device and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7519720B2 (en) * 2001-01-26 2009-04-14 Microsoft Corporation Pushing rich content information to mobile devices
CN101073707A (en) * 2006-05-15 2007-11-21 祁勇 Internet game method and system
CN101903068A (en) * 2007-12-17 2010-12-01 科乐美数码娱乐株式会社 Game system, game management program, and game management method for game system
CN101470924A (en) * 2007-12-28 2009-07-01 世嘉股份有限公司 Computer system, server device and computer system control method
CN103067428A (en) * 2011-10-21 2013-04-24 华为技术有限公司 Base station and service processing method and cloud computing system
CN104572913A (en) * 2014-12-26 2015-04-29 北京奇虎科技有限公司 Method, device and server for processing data
CN104683222A (en) * 2015-03-23 2015-06-03 北京合生共济投资咨询有限责任公司 Instant data interaction method, device and system

Also Published As

Publication number Publication date
CN106487836A (en) 2017-03-08

Similar Documents

Publication Publication Date Title
US20210319468A1 (en) Information processing method, server, first terminal, and computer storage medium
US10594814B2 (en) Information pushing method, apparatus, and system
CN107634936B (en) Live broadcast interaction method, server and terminal
US9244993B1 (en) Management of application state data
US10127294B2 (en) Idempotency of application state data
US20140058811A1 (en) System and method for monitoring and rewarding an incentivized activity
WO2017133329A1 (en) Information processing method, server, first terminal and computer storage medium
CN104572299A (en) resource transfer method and device
US20160277381A1 (en) Security check method and system, terminal, verification server
US20130174055A1 (en) Content Related Viewer Voting Apparatus, Method and System
US10970964B2 (en) Triggering in-application currency transfer
CN110580641B (en) Method and apparatus for redeeming items
US20140122201A1 (en) Apparatus, method, and computer program product for online social marketing
CN110115836B (en) Virtual property trading method and related device
CN113852834A (en) Content display method, device, equipment and storage medium
CN105323288B (en) Network data processing system and method, corresponding server and terminal
CN106487836B (en) Information processing method and server
WO2020054084A1 (en) Information processing method, information display method, program, terminal, and server
CN113190210A (en) Random data acquisition method and device based on user task and electronic equipment
US20120079087A1 (en) Online help system using session details
CN111415197A (en) Method for acquiring article exchange voucher, method for providing article exchange voucher, device and storage medium
CN112163851B (en) Shopping method and device and electronic equipment
US20170308878A1 (en) Mobile payment system with connected device and mobile payment method
CN109657179B (en) Service processing method, system and storage medium
CN108134860B (en) Electronic device, display control method and related product

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant