Summary of the invention
The object of the invention is to overcome the problem of above-mentioned prior art, a kind of method and system based on the quick pushed information in micro-letter platform feasible region are provided, it can realize quick a plurality of clients in specific region PUSH messages simultaneously.
Above-mentioned purpose is to be achieved through the following technical solutions:
A method based on the quick pushed information in micro-letter platform feasible region, this micro-letter platform comprises micro-letter client and stores micro-telecommunications databases of Customer Location information, comprises the following steps:
User creates simulant-client, and generates user account information and be sent to server stores;
Login simulant-client, initiates query statement based on local position information and greeting instruction to this server;
This server receives after this query statement and this greeting instruction, and coupling is called this user account information simultaneously, logins micro-letter API simulator;
This micro-letter API simulator receives this user account information, and this user account information is sent to this micro-telecommunications databases, initiates logging request;
This micro-telecommunications databases receives after this logging request, verifies, after being proved to be successful, feedback logins successfully information to this micro-letter API simulator, and this micro-letter API simulator sends this and logins successfully information to this server;
This server logins successfully information according to this, and this query statement is sent to this micro-letter API simulator;
This micro-letter API simulator receives after this query statement, by this query statement generated query coded message of encoding, is forwarded to this micro-telecommunications databases;
This micro-telecommunications databases receives after this inquiry coded message, search this Customer Location information of storage in this micro-telecommunications databases, and generated query object information feeds back to this micro-letter API simulator;
This micro-letter API simulator will receive this Query Result information and send to this server;
This server is received after this Query Result information, by this micro-letter API simulator, this greeting instruction is encoded and is generated greeting coded message, and send to this micro-telecommunications databases;
This micro-telecommunications databases receives this greeting coded message, and this greeting coded message is pushed to each the micro-letter client that meets this Query Result information by wide area network;
This this greeting coded message of micro-letter client also generates the request of greeting, and feedback information arrives instruction to this micro-telecommunications databases simultaneously;
This micro-telecommunications databases arrives this information in instruction and feeds back to this server by this micro-letter API simulator;
This server arrives this information in instruction feedback to this simulant-client, and user has confirmed that area message pushes.
A kind of system based on the quick pushed information in micro-letter platform feasible region, comprise micro-letter client and micro-telecommunications databases, also comprise server, micro-letter API simulator and simulant-client, this simulant-client is connected with this server by wide area network, this server is connected by the micro-letter of local area network (LAN) and this API simulator, this micro-letter API simulator is connected by the micro-telecommunications databases of wide area network and this, and this micro-telecommunications databases is connected by the micro-letter client of wide area network and this.
A kind of method and system based on the quick pushed information in micro-letter platform feasible region of the present invention, this system comprises micro-letter client and micro-telecommunications databases, server, micro-letter API simulator and simulant-client, by simulant-client, micro-letter API simulator and server, obtain the positional information that meets a plurality of micro-letter client of querying condition in region, and to each micro-letter client, generate the request of greeting, thereby realized quick a plurality of clients in specific region PUSH message simultaneously simultaneously.
Embodiment
According to drawings and embodiments the present invention is described in further detail below.
As shown in Figure 1, a kind of method based on the quick pushed information in micro-letter platform feasible region described in the embodiment of the present invention, this micro-letter platform comprises micro-letter client and stores micro-telecommunications databases of Customer Location information, comprise the following steps: S1: user creates simulant-client, and generate user account information and be sent to server stores; S2: login simulant-client, initiate query statement based on local position information and greeting instruction to this server; S3: this server receives after this query statement and this greeting instruction, coupling is called this user account information simultaneously, logins micro-letter API simulator; S4: this micro-letter API simulator receives this user account information, and this user account information is sent to this micro-telecommunications databases, initiates logging request; S5: this micro-telecommunications databases receives after this logging request, verifies, after being proved to be successful, feedback logins successfully information to this micro-letter API simulator, and this micro-letter API simulator sends this and logins successfully information to this server; S6: this server logins successfully information according to this, sends to this micro-letter API simulator by this query statement; S7: this micro-letter API simulator receives after this query statement, by this query statement generated query coded message of encoding, is forwarded to this micro-telecommunications databases; S8: this micro-telecommunications databases receives after this inquiry coded message, search this Customer Location information of storing in this micro-telecommunications databases, and generated query object information feeds back to this micro-letter API simulator; S9: this micro-letter API simulator will receive this Query Result information and send to this server; S10: this server is received after this Query Result information, by this micro-letter API simulator, this greeting instruction is encoded and is generated greeting coded message, and send to this micro-telecommunications databases; S11: this micro-telecommunications databases receives this greeting coded message, and this greeting coded message is pushed to each the micro-letter client that meets this Query Result information by wide area network; S12: this this greeting coded message of micro-letter client also generates the request of greeting, and feedback information arrives instruction to this micro-telecommunications databases simultaneously; S13: this micro-telecommunications databases arrives this information in instruction and feeds back to this server by this micro-letter API simulator; S14: this server arrives this information in instruction feedback to this simulant-client, user has confirmed that area message pushes.
As shown in Figure 2, a kind of system based on the quick pushed information in micro-letter platform feasible region, comprise micro-letter client and micro-telecommunications databases, also comprise server, micro-letter API simulator and simulant-client, this simulant-client is connected with this server by wide area network, this server is connected by the micro-letter of local area network (LAN) and this API simulator, and this micro-letter API simulator is connected by the micro-telecommunications databases of wide area network and this, and this micro-telecommunications databases is connected by the micro-letter client of wide area network and this.
The foregoing is only explanation embodiments of the present invention; be not limited to the present invention, for a person skilled in the art, within the spirit and principles in the present invention all; any modification of doing, be equal to replacement, improvement etc., within protection scope of the present invention all should be included in.