Summary of the invention
It is an object of the invention to overcome above-mentioned problem of the prior art, it is provided that one quickly pushes based on wechat platform feasible region
The method and system of information, its multiple clients that can realize quickly in specific region PUSH message simultaneously.
Above-mentioned purpose is to be achieved through the following technical solutions:
A kind of method based on the quick pushed information in wechat platform feasible region, this wechat platform includes that wechat client and storage have
The wechat data base of Customer Location information, comprises the following steps:
User creates simulant-client, and generates user account information transmission to server storage;
Log in simulant-client, initiate query statement based on local position information and instruction of greeting to this server;
After this server receives this query statement and this greeting instruction, coupling calls this user account information simultaneously, logs in micro-
Letter API simulator;
This wechat API simulator receives this user account information, sends this user account information to this wechat data base, initiates
Logging request;
After this wechat data base receives this logging request, verifying, after being proved to be successful, it is micro-to this that feedback logins successfully information
Letter API simulator, this wechat 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 wechat API simulator;
After this wechat API simulator receives this query statement, this query statement is carried out coding and generates inquiry coding information, turn
Send to this wechat data base;
After this wechat data base receives this inquiry coding information, search this Customer Location information of this wechat databases storage,
And generate Query Result information and feed back to this wechat API simulator;
This wechat API simulator will receive this Query Result information and be sent to this server;
After this server receives this Query Result information, by this wechat API simulator, this greeting instruction is carried out coding and generate
Greeting coding information, and it is sent to this wechat data base;
This wechat data base receives this greeting coding information, and pushes to meet this by wide area network by this greeting coding information
Each wechat client of Query Result information;
This wechat client receives this greeting coding information and generates greeting request, and the instruction of feedback information arrival simultaneously is micro-to this
Telecommunications databases;
This information is arrived instruction and feeds back to this server by this wechat API simulator by this wechat data base;
This information arrival instruction feedback is given this simulant-client by this server, and user has confirmed that area message pushes.
A kind of system based on the quick pushed information in wechat platform feasible region, including wechat client and wechat data base, also wraps
Including server, wechat API simulator and simulant-client, this simulant-client is connected with this server by wide area network, these clothes
Business device is connected with this wechat API simulator by LAN, and this wechat API simulator is by wide area network with this wechat data base even
Connecing, this wechat data base is connected with this wechat client by wide area network.
A kind of method and system based on the quick pushed information in wechat platform feasible region of the present invention, this system includes wechat
Client and wechat data base, server, wechat API simulator and simulant-client, by simulant-client, wechat API
Simulator and server, meet the positional information of multiple wechat clients of querying condition in obtaining region, and simultaneously to each micro-
Letter client generates the request of greeting, it is achieved thereby that the quickly PUSH message simultaneously of the multiple clients in specific region.
Detailed description of the invention
Below according to drawings and Examples, the present invention is described in further detail.
As it is shown in figure 1, a kind of based on the quick pushed information in wechat platform feasible region the method described in the embodiment of the present invention, should
Wechat platform includes that wechat client and storage have the wechat data base of Customer Location information, comprises the following steps: S1: Yong Huchuan
Build simulant-client, and generate user account information transmission to server storage;S2: log in simulant-client, initiates based on this
The query statement of position information and instruction of greeting are to this server;S3: this server receives this query statement and this dozen is recruited
After exhaling instruction, coupling calls this user account information simultaneously, logs in wechat API simulator;S4: this wechat API simulator connects
Receive this user account information, this user account information is sent to this wechat data base, initiates logging request;S5: this wechat number
After receiving this logging request according to storehouse, verify, after being proved to be successful, feedback login successfully information give this wechat API simulator,
This wechat API simulator sends this and logins successfully information to this server;S6: this server logins successfully information according to this, will
This query statement is sent to this wechat API simulator;S7: after this wechat API simulator receives this query statement, this is looked into
Ask instruction and carry out coding generation inquiry coding information, be forwarded to this wechat data base;S8: this wechat data base receives this inquiry
After coding information, search this Customer Location information of this wechat databases storage, and generating Query Result information, to feed back to this micro-
Letter API simulator;S9: this wechat API simulator will receive this Query Result information and be sent to this server;S10: should
After server receives this Query Result information, by this wechat API simulator, this greeting instruction is carried out coding and generate greeting
Coding information, and it is sent to this wechat data base;S11: this wechat data base receives this greeting coding information, and by this dozen
Greeting coding information pushes to meet each wechat client of this Query Result information by wide area network;S12: this wechat client
End receives this greeting coding information and generates greeting request, and feedback information arrives instruction to this wechat data base simultaneously;S13:
This information is arrived instruction and feeds back to this server by this wechat API simulator by this wechat data base;S14: this server will
This information arrival instruction feedback gives this simulant-client, and user has confirmed that area message pushes.
As in figure 2 it is shown, a kind of system based on the quick pushed information in wechat platform feasible region, including wechat client and wechat
Data base, also includes server, wechat API simulator and simulant-client, and this simulant-client is by wide area network and this service
Device connects, and this server is connected with this wechat API simulator by LAN, and this wechat API simulator is by wide area network and is somebody's turn to do
Wechat data base connects, and this wechat data base is connected with this wechat client by wide area network.
The foregoing is only explanation embodiments of the present invention, be not limited to the present invention, those skilled in the art is come
Say, all within the spirit and principles in the present invention, any modification, equivalent substitution and improvement etc. made, should be included in this
Within bright protection domain.