CN101965066B - Service information acquisition method, device and system - Google Patents

Service information acquisition method, device and system Download PDF

Info

Publication number
CN101965066B
CN101965066B CN 201010187946 CN201010187946A CN101965066B CN 101965066 B CN101965066 B CN 101965066B CN 201010187946 CN201010187946 CN 201010187946 CN 201010187946 A CN201010187946 A CN 201010187946A CN 101965066 B CN101965066 B CN 101965066B
Authority
CN
China
Prior art keywords
business information
forwarding server
client
wap gateway
data
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
CN 201010187946
Other languages
Chinese (zh)
Other versions
CN101965066A (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN 201010187946 priority Critical patent/CN101965066B/en
Publication of CN101965066A publication Critical patent/CN101965066A/en
Application granted granted Critical
Publication of CN101965066B publication Critical patent/CN101965066B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention is applied in the field of communication, and provides a service information acquisition method, a service information acquisition device and a service information acquisition system. The method comprises the following steps that: a client transmits a service information acquisition request command to a wireless application protocol (WAP) gateway; the WAP gateway resolves the address of a forwarding server from the request command, and transmits the request command to the forwarding server; the forwarding server resolves real service information request data transmitted by the client from the request command, establishes connection with a service information server, and simultaneously forwards the resolved service information request data of the client to the service information server; the service information server reads corresponding service information data from service information files, and returns the data to the forwarding server; the forwarding server forwards the response data to the WAP gateway which forwards the response data to the client; and the client acquires real service information from the received response data and displays the real service information.

Description

A kind of method, Apparatus and system that obtains business information
Technical field
The invention belongs to the communications field, relate in particular to a kind of method, Apparatus and system that obtains business information.
Background technology
Existing service application, no matter be at BREW binary runtime environment for wireless or CE platform, what use all is the NET dial mode, concrete communication process is: at first, client is set up the SOCKET socket by ICP/IP protocol, connects by this socket with traffic information services device on the network; Then, client becomes the information request Information encapsulation protocol package that pre-defines with the traffic information services device, sends to the traffic information services device and processes; At last, the traffic information services device obtains the business information data according to the business information solicited message that client sends, and comprises time data, and K line data etc. are packaged into protocol package again, returns to client and shows.
Prior art can be obtained business information from professional information server, but because prior art is used the NET dial mode, so the network communication expense is higher, and can not utilize the lower communication modes of WAP dial charge.Because what the WAP dialing communication used is that http protocol carries out alternately, and the agreement that existing traffic information services device is supported is fixing, to increase again the support more complicated to http protocol, need to the framework redesign of traffic information services device be realized, workload is larger, in the time of need to expending a large amount of people.
Summary of the invention
The object of the present invention is to provide a kind of method of obtaining business information, the network service expense was higher when the mode that being intended to solve prior art provides client directly to dial by NET from server was obtained business information, but server directly is transformed into the mode of supporting the WAP dialing, workload is larger problem again.
The present invention is achieved in that a kind of method of obtaining business information, and described method comprises the steps:
Client is set up network connection by the WAP dialing with WAP gateway, and sends the request command that obtains business information to WAP gateway, and this request command comprises the address of forwarding server;
WAP gateway parses the forwarding server address from the described request order, and this request command is sent to forwarding server, to obtain the business information data by forwarding server to the traffic information services device;
Forwarding server parses the actual services information request data that client sends from the request command that WAP gateway is transmitted, and connect with the traffic information services device, simultaneously the client business information request msg that parses is forwarded on the traffic information services device;
The business information request msg that the traffic information services device sends according to the client that forwarding server is transmitted reads corresponding business information data from professional message file, and returns these data to forwarding server;
Forwarding server returns to WAP gateway with the reply data that the traffic information services device returns;
The reply data that WAP gateway continuation business transferring information server returns is to client;
Client is resolved the reply data that returns that receives from WAP gateway, therefrom obtains real business information reply data, and shows this business information.
Another object of the present invention is to provide a kind of system that obtains business information, described system comprises client and traffic information services device, and described system also comprises: WAP gateway and forwarding server;
Described client is set up network connection by the WAP dialing with WAP gateway, and sends the request command that obtains business information to WAP gateway, and this request command comprises the address of forwarding server;
WAP gateway parses the forwarding server address from the described request order, and this request command is sent to forwarding server, to obtain the business information data by forwarding server to the traffic information services device;
Forwarding server parses the actual services information request data that client sends from the request command that WAP gateway is transmitted, and connect with the traffic information services device, simultaneously the client business information request msg that parses is forwarded on the traffic information services device;
The business information request msg that the traffic information services device sends according to the client that forwarding server is transmitted reads corresponding business information data from professional message file, and returns these data to forwarding server;
Forwarding server returns to WAP gateway with the reply data that the traffic information services device returns;
The reply data that WAP gateway continuation business transferring information server returns is to client;
Client is resolved the reply data that returns that receives from WAP gateway, therefrom obtains real business information reply data, and shows this business information.
Another object of the present invention is to provide a kind of method of mobile terminal to obtain business information, described method comprises the steps:
Set up the WAP network connection with WAP gateway;
Send the request command that obtains business information to WAP gateway, the described request order comprises the address of forwarding server;
Receive the business information data that WAP gateway sends;
From described business information data, parse real business information data and demonstration.
Another object of the present invention is to provide a kind of device of mobile terminal to obtain business information, described device comprises:
Network connection is set up the unit, is used for setting up the WAP network connection with WAP gateway;
Command sending unit is used for sending the request command that obtains business information to WAP gateway, and the described request order comprises the address of forwarding server;
Business information data receiver unit is used for receiving the business information data that WAP gateway sends;
The business information data display unit is used for parsing real business information data and demonstration from described business information data.
In the present invention, by between client and traffic information services device, setting up forwarding server, this forwarding server is that client and traffic information services device carry out protocol interaction, then original traffic information services device framework does not need to revise fully, the function of forwarding server is then fairly simple, implements also to be easy to, in addition, the present invention uses the WAP dialing to make client and traffic information services device carry out communication, and the network communication expense is reduced.
Description of drawings
Fig. 1 is the structured flowchart of the system that obtains business information that provides of the embodiment of the invention;
Fig. 2 is the flow chart of the method for obtaining business information that provides of the embodiment of the invention;
Fig. 3 is the structured flowchart of the client that provides of the embodiment of the invention;
Fig. 4 is the structured flowchart of the WAP gateway that provides of the embodiment of the invention;
Fig. 5 is the structured flowchart of the forwarding server that provides of the embodiment of the invention;
Fig. 6 is the structured flowchart of the traffic information services device that provides of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
In embodiments of the present invention, by between client and traffic information services device, setting up forwarding server, this forwarding server is that client and traffic information services device carry out protocol interaction, then original traffic information services device framework does not need to revise fully, the function of forwarding server is then fairly simple, implements also to be easy to, in addition, the present invention uses the WAP dialing to make client and traffic information services device carry out communication, and the network communication expense is reduced.
Fig. 1 is the structured flowchart of the system that obtains business information that provides of the embodiment of the invention, for convenience of explanation, only shows the relevant part of the embodiment of the invention.Wherein, this system that obtains business information comprises: a plurality of clients 11, WAP gateway 12, forwarding server 13 and traffic information services device 14.
Wherein, WAP gateway 12 is that operator provides, the forwarding unit that is equivalent to the http protocol bag, be connected by SOCKET with client 11 and carry out communication, receive the HTTP business information request protocol bag that client 11 sends, from this http header, parse the address of forwarding server 13, then this protocol package is sent to forwarding server 13, forwarding server 13 need to be published on the public network, after receiving the http protocol bag of WAP gateway 12 forwardings, therefrom parse client 11 real business information request msgs, create the SOCKET interface and be connected to traffic information services device 14, the business information request that simultaneously client 11 that parses is sent, be forwarded on the traffic information services device 14, after traffic information services device 14 receives the request of the client 11 that forwarding server 13 transmits, from professional message file, read corresponding business information data according to this request, comprise time data, K line data etc., turn back on the forwarding server 13, forwarding server 13 is with the reply data of traffic information services device 14, Reseal becomes the http protocol bag, return to WAP gateway 12, and continue to be delivered on the client 11, after client 11 receives the reply data that returns, by resolving http protocol, therefrom obtain real information answer data, information finally is presented on the screen of client 11.
Fig. 2 is the flow chart of the method for obtaining business information that provides of the embodiment of the invention, and details are as follows:
In step 1, client is set up network connection by the WAP dialing with WAP gateway.
In embodiments of the present invention, client is at first set up network connection by the WAP dialing with WAP gateway, then connects with WAP gateway by SOCKET and carries out communication.
In step 2, client sends the request command that obtains business information to WAP gateway, and this request command comprises the address of forwarding server.
In embodiments of the present invention, client encapsulates many one decks http protocol, wherein on the basis of original newsletter agreement request order, need to add the address of forwarding server in the http header, WAP gateway just can be delivered to this request command on the forwarding server like this.
In step 3, WAP gateway parses the forwarding server address, and this request command is sent to forwarding server, to obtain the business information data by forwarding server to the traffic information services device after receiving the request command of client transmission from request command.
In step 4, after forwarding server receives the request command of WAP gateway forwarding, therefrom parse the actual services information request data that client sends.
In step 5, forwarding server and traffic information services device connect, and simultaneously the client business information request msg that parses are forwarded on the traffic information services device.
In step 6, after the traffic information services device receives the business information request msg that client that forwarding server transmits sends, from professional message file, read corresponding business information data according to the request of submitting to, and return these data to forwarding server.
In embodiments of the present invention, after the traffic information services device receives the business information request msg that client that forwarding server transmits sends, from professional message file, read corresponding business information data according to the request of submitting to, comprise time data, K line data etc., and return these data to forwarding server.
In step 7, forwarding server returns to WAP gateway with the reply data that the traffic information services device returns.
As one embodiment of the present of invention, the reply data that forwarding server returns the traffic information services device, Reseal return to WAP gateway after becoming the http protocol bag.
In step 8, the reply data that WAP gateway continuation business transferring information server returns is to client.
In step 9, behind the reply data that client returns to WAP gateway, it is resolved, therefrom obtain real business information reply data, and show this business information information.
The structured flowchart of the client that Fig. 3 provides for the embodiment of the invention for convenience of explanation, only shows the relevant part of the embodiment of the invention.Wherein, in the present embodiment, client is portable terminal, and this portable terminal comprises: obtain the device of business information, this device comprises: network connection is set up unit 31, command sending unit 32, business information data receiver unit 33 and business information data display unit 34.
Wherein, network connection is set up unit 31 and is set up the WAP network connection with WAP gateway;
Command sending unit 32 sends the request command that obtains business information to WAP gateway, this request command comprises the address of forwarding server;
Business information data receiver unit 33 receives the business information data that WAP gateway sends;
Business information data display unit 34 parses real business information data and shows from described business information data.Concrete condition does not repeat them here as mentioned above.
The structured flowchart of the WAP gateway that Fig. 4 provides for the embodiment of the invention for convenience of explanation, only shows the relevant part of the embodiment of the invention.Wherein, this WAP gateway comprises the device that obtains business information, and this device comprises: network connection is set up unit 41, order receiving element 42, order retransmission unit 43, business information data receiver unit 44 and business information data transmission unit 45.
Wherein, network connection is set up unit 41 and is set up the WAP network connection with client;
Order receiving element 42 receives the request command that obtains business information that client sends, and this request command comprises the address of forwarding server;
Order retransmission unit 43 parses the forwarding server address from described protocol header, and the request command that will order receiving element 42 to receive sends to forwarding server, to obtain the business information data by forwarding server to the traffic information services device;
Business information data receiver unit 44 receives the business information data that forwarding server obtains from professional information server;
The business information data that business information data transmission unit 45 transmission business information data receiver unit 44 receive are to client.Concrete condition does not repeat them here as mentioned above.
The structured flowchart of the forwarding server that Fig. 5 provides for the embodiment of the invention for convenience of explanation, only shows the relevant part of the embodiment of the invention.Wherein, this forwarding server comprises the device of forwarding service information, and this device comprises: order receiving element 51, business information request msg acquiring unit 52, business information request msg retransmission unit 53, business information data receiver unit 54 and business information data transmission unit 55.
Wherein, order receiving element 51 receives the request command that obtains business information of the client transmission of WAP gateway forwarding, and this request command comprises the address of forwarding server;
Business information request msg acquiring unit 52 parses the business information request msg that client sends from the described request order;
Business information request msg retransmission unit 53 connects with the traffic information services device, simultaneously the client business information request msg that parses is forwarded on the traffic information services device;
Business information data receiver unit 54 receives the business information data that the traffic information services device reads from professional message file according to the request msg that receives;
Business information data transmission unit 55 is sent to WAP gateway with the business information data that the traffic information services device returns, to be forwarded to client by described WAP gateway.Concrete condition does not repeat them here as mentioned above.
The structured flowchart of the traffic information services device that Fig. 6 provides for the embodiment of the invention for convenience of explanation, only shows the relevant part of the embodiment of the invention.Wherein, this traffic information services device comprises the device that obtains business information, and this device comprises: business information request msg receiving element 61 and business information data transmission unit 62.
Wherein, business information request msg receiving element 61 connects with forwarding server, receives simultaneously the business information request msg that client that described forwarding server parses sends;
Business information data transmission unit 62 reads corresponding business information Data Concurrent according to described business information request msg and delivers to forwarding server from professional message file.Concrete condition does not repeat them here as mentioned above.
In embodiments of the present invention, by between client and traffic information services device, setting up forwarding server, this forwarding server is that client and traffic information services device carry out protocol interaction, then original traffic information services device framework does not need to revise fully, the function of forwarding server is then fairly simple, implement also and be easy to, in addition, the present invention uses the WAP dialing to make client and traffic information services device carry out communication, the network communication expense is reduced, the traffic information services device also can make other any service server into simultaneously, allows other business also can simply realize the support of WAP communication.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. a method of obtaining business information is characterized in that, described method comprises the steps:
Client is set up network connection by the WAP dialing with WAP gateway, and sends the request command that obtains business information to WAP gateway, and this request command comprises the address of forwarding server;
WAP gateway parses the forwarding server address from the described request order, and this request command is sent to forwarding server, to obtain the business information data by forwarding server to the traffic information services device;
Forwarding server parses the actual services information request data that client sends from the request command that WAP gateway is transmitted, and connect with the traffic information services device, simultaneously the client business information request msg that parses is forwarded on the traffic information services device;
The business information request msg that the traffic information services device sends according to the client that forwarding server is transmitted reads corresponding business information data from professional message file, and returns these data to forwarding server;
Forwarding server returns to WAP gateway with the reply data that the traffic information services device returns;
The reply data that WAP gateway continuation business transferring information server returns is to client;
Client is resolved the reply data that returns that receives from WAP gateway, therefrom obtains real business information reply data, and shows this business information.
2. the method for claim 1 is characterized in that, the described request order is the http protocol bag that meets http protocol, comprises the address of forwarding server in the protocol header.
3. the method for claim 1 is characterized in that, described business information comprises securities information, stock information.
4. a system that obtains business information is characterized in that, described system comprises client and traffic information services device, it is characterized in that, described system also comprises: WAP gateway and forwarding server;
Described client is set up network connection by the WAP dialing with WAP gateway, and sends the request command that obtains business information to WAP gateway, and this request command comprises the address of forwarding server;
WAP gateway parses the forwarding server address from the described request order, and this request command is sent to forwarding server, to obtain the business information data by forwarding server to the traffic information services device;
Forwarding server parses the actual services information request data that client sends from the request command that WAP gateway is transmitted, and connect with the traffic information services device, simultaneously the client business information request msg that parses is forwarded on the traffic information services device;
The business information request msg that the traffic information services device sends according to the client that forwarding server is transmitted reads corresponding business information data from professional message file, and returns these data to forwarding server;
Forwarding server returns to WAP gateway with the reply data that the traffic information services device returns;
The reply data that WAP gateway continuation business transferring information server returns is to client;
Client is resolved the reply data that returns that receives from WAP gateway, therefrom obtains real business information reply data, and shows this business information.
5. the system that obtains business information as claimed in claim 4 is characterized in that:
Described WAP gateway comprises:
Network connection is set up the unit, is used for setting up the WAP network connection with client;
The order receiving element is used for receiving the request command that obtains business information that client sends, and the described request order comprises the address of forwarding server;
The order retransmission unit is used for parsing the forwarding server address from the described request order, and the described request order is sent to forwarding server, to obtain the business information data by forwarding server to the traffic information services device;
Business information data receiver unit is used for receiving the business information data that forwarding server obtains from professional information server;
The business information data transmission unit is used for sending described business information data to client;
Described forwarding server comprises:
The order receiving element, for the request command that obtains business information that the client that receives the WAP gateway forwarding sends, the described request order comprises the address of forwarding server;
Business information request msg acquiring unit is used for parsing the business information request msg that client sends from the described request order;
Business information request msg retransmission unit is used for connecting with the traffic information services device, simultaneously the client business information request msg that parses is forwarded on the traffic information services device;
Business information data receiver unit is used for receiving the business information data that the traffic information services device reads from professional message file according to the request msg that receives;
The business information data transmission unit is used for sending described business information data to WAP gateway, to be forwarded to client by described WAP gateway;
Described client comprises:
Network connection is set up the unit, is used for setting up the WAP network connection with WAP gateway;
Command sending unit is used for sending the request command that obtains business information to WAP gateway, and the described request order comprises the address of forwarding server;
Business information data receiver unit is used for receiving the business information data that WAP gateway sends;
The business information data display unit is used for parsing real business information data and demonstration from described business information data;
Described traffic information services device comprises:
Business information request msg receiving element is used for connecting with forwarding server, receives simultaneously the business information request msg that client that described forwarding server parses sends;
The business information data transmission unit is used for reading corresponding business information Data Concurrent according to described business information request msg from professional message file and delivers to forwarding server.
6. the method for a mobile terminal to obtain business information is characterized in that, described method comprises the steps:
Set up the WAP network connection with WAP gateway;
Send the request command that obtains business information to WAP gateway, the described request order comprises the address of forwarding server;
Receive the business information data that WAP gateway sends;
From described business information data, parse real business information data and demonstration.
7. method as claimed in claim 6 is characterized in that, the described request order is the http protocol bag that meets http protocol, comprises the address of forwarding server in the protocol header.
8. method as claimed in claim 6 is characterized in that, described business information comprises securities information, stock information.
9. the device of a mobile terminal to obtain business information is characterized in that, described device comprises:
Network connection is set up the unit, is used for setting up the WAP network connection with WAP gateway;
Command sending unit is used for sending the request command that obtains business information to WAP gateway, and the described request order comprises the address of forwarding server;
Business information data receiver unit is used for receiving the business information data that WAP gateway sends;
The business information data display unit is used for parsing real business information data and demonstration from described business information data.
CN 201010187946 2010-05-31 2010-05-31 Service information acquisition method, device and system Active CN101965066B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010187946 CN101965066B (en) 2010-05-31 2010-05-31 Service information acquisition method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010187946 CN101965066B (en) 2010-05-31 2010-05-31 Service information acquisition method, device and system

Publications (2)

Publication Number Publication Date
CN101965066A CN101965066A (en) 2011-02-02
CN101965066B true CN101965066B (en) 2013-02-20

Family

ID=43517723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010187946 Active CN101965066B (en) 2010-05-31 2010-05-31 Service information acquisition method, device and system

Country Status (1)

Country Link
CN (1) CN101965066B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049507A (en) * 2015-07-15 2015-11-11 贵阳朗玛信息技术股份有限公司 Method for pushing contents to client side and pushing server
CN108173768B (en) * 2016-12-07 2020-12-22 北京京东尚科信息技术有限公司 Method and apparatus for gateway-based configuration of routing services at a gateway and computer-readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859604A (en) * 2006-05-29 2006-11-08 ***通信集团公司 Power discriminating method for service request start flow
CN101446983A (en) * 2009-01-12 2009-06-03 腾讯科技(深圳)有限公司 Method, system and equipment for realizing web page acquisition by mobile terminal
CN101662505A (en) * 2009-09-27 2010-03-03 中兴通讯股份有限公司 BREW service downloading system and implementation method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859604A (en) * 2006-05-29 2006-11-08 ***通信集团公司 Power discriminating method for service request start flow
CN101446983A (en) * 2009-01-12 2009-06-03 腾讯科技(深圳)有限公司 Method, system and equipment for realizing web page acquisition by mobile terminal
CN101662505A (en) * 2009-09-27 2010-03-03 中兴通讯股份有限公司 BREW service downloading system and implementation method thereof

Also Published As

Publication number Publication date
CN101965066A (en) 2011-02-02

Similar Documents

Publication Publication Date Title
KR100779751B1 (en) Method and apparatus for obtaining data information
EP3300311A1 (en) Interaction method and apparatus for smart watch and wechat platform, and smart watch
CN101005411B (en) Automatic detecting system, device and method for circuit type data service
CN102625287A (en) Method for downloading mobile phone application software
CN101771959B (en) Instant messaging maintenance method, system and device
CN101778053A (en) Inter-instant messenger communication method and device
CN101471953A (en) Information transmission method, system and device
CN101827453B (en) Method and system for establishing connection between PC and wireless terminal
CN101370159B (en) Method, device and system for recognizing service
CN101631127A (en) File transfer method and clients
CN103023751B (en) Multimedia information intercommunicating system and intercommunicating method
RU2007104348A (en) METHOD, SYSTEM AND TERMINAL FOR IMPLEMENTATION OF INFORMATION TRANSFER SERVICES
CN102348198A (en) Wireless terminal and remote parameter setting method thereof
WO2012019391A1 (en) System and method for obtaining detail information of number
CN101965066B (en) Service information acquisition method, device and system
CN101778496B (en) Method for wireless gateway to support function of multimedia message services and wireless gateway thereof
CN103338523A (en) Method for setting up a call via internet between mobile terminals, computer program and storage medium
CN101465783B (en) Connection method, device and connection network bridge for isomery household network appliances
US20120140913A1 (en) Telephone relaying apparatus, telephone relaying method, and program
CN102594892A (en) Data access method and device
CN102325187A (en) System and method for integrating multiple function services
CN103139731A (en) Method, device and system of message interconnection
CN103095554A (en) Media information sending method and device and system
CN102238492A (en) Methods and devices for transmitting and receiving short message with signature line by mobile terminal
US7366146B2 (en) Data communication system and method and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant