CN101453792B - Network information providing method and apparatus - Google Patents
Network information providing method and apparatus Download PDFInfo
- Publication number
- CN101453792B CN101453792B CN2008101827035A CN200810182703A CN101453792B CN 101453792 B CN101453792 B CN 101453792B CN 2008101827035 A CN2008101827035 A CN 2008101827035A CN 200810182703 A CN200810182703 A CN 200810182703A CN 101453792 B CN101453792 B CN 101453792B
- Authority
- CN
- China
- Prior art keywords
- network information
- information
- wap terminal
- sends
- database
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a method and a device for providing network information, wherein the method comprises the following steps: a network information sending server loads network information stored in a network information database into own memory; a network information access request of a WAP terminal is received; the network information to be sent to the WAP terminal is selected from the loaded network information according to the network information access request; and the selected network information is sent to the WAP terminal. The method provided by the embodiment of the invention has the advantages of avoiding the process of repeatedly reading the network information database when the network information is acquired, saving the time of acquiring the network information when the information is sent, providing information release efficiency and meeting the requirements of network information release.
Description
Technical field
The present invention relates to communication technical field, relate in particular to the network information method and apparatus is provided.
Background technology
WAP (wireless application protocol) (WAP, Wireless Application Protocol) is a kind ofly to provide the global unified open protocol standard of internet content and advanced value-added service to portable terminal, is the wireless Internet agreement of having simplified.WAP combines Internet and mobile phone technology, and making whenever and wherever possible, the abundant internet resource of visit becomes a reality.WAP service is that a kind of mobile phone is directly surfed the Net, and browses the service of WAP website by mobile phone WAP browser, can enjoy multiple application services such as news is browsed, stock inquiry, mail transmission/reception, game on line, chat.Insert WAP by GPRS network, can give full play to advantages such as access delay short (inserting in 2 seconds) speed height, always online, easy switching.
As shown in Figure 1, the existing network information provides system to comprise network information database 101, network information send server 102, load equalizer 103 and portable terminal 104, and wherein, a plurality of servers can be formed server zone.When portable terminal 104 visit WAP networks, load equalizer is transferred to idle network information send server with this visit, network information send server is transmitted to network information database with this visit, and network information database obtains the network information that will send and sends it to network information send server.
The inventor is by discovering prior art, generally speaking, the network information in the database is all deposited in the disk, when access to netwoks arrives, network information database finds the corresponding position of the network information in disk according to this access to netwoks, and it is read, and sends then, again it is put back to disk after being sent completely, wait for the arrival of access to netwoks next time.When new access to netwoks arrived, network information database is same to find earlier the network information that will send of storage in disk, read, and sends, and again it is put back to disk, carries out so repeatedly.Because after each operation was finished, network information database had just been put back to disk with this network information, so, even send the identical network information continuously, network information database also all will repeat the work of reading of the network information, has expended a large amount of time, and efficient is low.
In addition, sharp increase along with the WAP terminal, the quantity of network information send server constantly increases, each network information send server all will obtain the network information that sends to WAP user from network information database, cause visit capacity sharply to increase to network information database, over-burden for database server, can't satisfy the present network information and send requirement, sometimes even can cause the collapse of network information database.
Summary of the invention
In view of this, the purpose of the embodiment of the invention is to disclose the network information method and apparatus is provided, and has realized providing the network information to portable terminal apace, has satisfied the network information and has sent requirement.
For achieving the above object, the embodiment of the invention provides following technical scheme:
A kind of network information provides method, comprising:
Network information send server is loaded into the network information of storing in the network information database in the internal memory of self;
Receive the network information access request of WAP terminal;
Choosing from the network information that loads according to described network information access request will be to the network information of described WAP terminal transmission;
The described network information of choosing is sent to described WAP terminal.
This method also comprises:
When the network information in the described network information send server has renewal, described renewal is sent in the described network information database;
When in the described network information database New Network Information being arranged, described New Network Information is updated in the described network information send server.
Network information send server is loaded into the network information of storing in the network information database in self the internal memory and is specially:
Network information send server is divided into different storage areas with the internal memory of self;
To classify from the network information that described network information database obtains;
The sorted network information is stored in the different storage areas according to classification.
Describedly from the network information that loads, choose and will specifically comprise to the network information that described WAP terminal sends according to access request:
Retrieve the user property of described WAP terminal according to described network information access request;
Judge according to described user property whether the network information that self loads meets the first transmission standard;
Choosing the network information conduct that meets the described first transmission standard will be to the network information of described WAP terminal transmission.
After judging according to described user property whether the network information that self loads meets the first transmission standard, also comprise:
To meet described first network information that sends standard and put into the transmission set;
Described choosing meets described first network information that sends standard as being specially to the network information that described WAP terminal sends:
From described transmission set, choose and will be specially to the network information of described WAP terminal transmission:
From described transmission set, choose the network information that sends to described WAP terminal according to the second transmission standard.
The described second transmission standard comprises:
Information price, the effective conversion ratio of information, information exhibition frequency or information response lead.
A kind of network information send server comprises:
Loading unit is used for the network information that network information database is stored is loaded in the internal memory of self;
Receiving element is used to receive the network information access request of WAP terminal;
Choose the unit, the network information that the network information access request that is used for receiving according to described receiving element loads from described loading unit is chosen will be to the network information of described WAP terminal transmission;
Transmitting element is used for the described network information of choosing unit selection is sent to described WAP terminal.
Described transmitting element when the network information that also is used for loading at described loading unit has renewal, sends to described renewal in the described network information database;
Described receiving element also is used for when described network information database has new information, receives the New Network Information that network information database sends.
Described loading unit specifically comprises:
The subregion subelement is used for the internal memory of self is divided into different storage areas;
The classification subelement is used for the network information that obtains from network information database is classified;
Storing sub-units is used for storing different storage areas in the sorted network information of classification subelement.
The described unit of choosing specifically comprises:
Retrieve subelement, be used for retrieving the user property of described WAP terminal according to described network information access request;
Judgment sub-unit is used for judging according to the user property that described retrieval subelement retrieves whether the network information that self loads meets the first transmission standard;
Choose subelement, be used for to meet described first network information that sends standard and be decided to be the network information that will send to described WAP terminal.
The described unit of choosing also is used for choosing from described first network information that sends standard that meets and chooses and meet second network information that sends standard and send to described WAP terminal.
As seen, in embodiments of the present invention, network information send server is loaded into the network information of storing in the network information database in the internal memory of self; Receive the network information access request of WAP terminal; Choosing from the network information that loads according to described network information access request will be to the network information of described WAP terminal transmission; The described network information of choosing is sent to described WAP terminal, the method that the embodiment of the invention provided has been avoided when obtaining the network information process that reads repeatedly to network information database, saved the time of obtaining the network information when information sends, the efficient that provides information to throw in has satisfied the requirement that the network information is thrown in.
Description of drawings
Fig. 1 is a system configuration schematic diagram of the prior art;
Fig. 2 is method flow diagram that one embodiment of the invention provided;
Fig. 3 is the particular flow sheet of a step in the method that one embodiment of the invention provided;
Fig. 4 is the particular flow sheet of another step in the method that one embodiment of the invention provided;
Fig. 5 is the flow chart of the method that another embodiment of the present invention provided;
Fig. 6 is the structural representation of the device that one embodiment of the invention provided.
Embodiment
The embodiment of the invention discloses the network information method and apparatus be provided, for making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in further detail.
Referring to Fig. 2, the method that the embodiment of the invention provided specifically comprises:
Step 201: network information send server is loaded into the network information of storing in the network information database in the internal memory of self.
The method that the embodiment of the invention provided is applied to the network information system is provided, and as shown in Figure 1, in this system, the network information that terminal sends in moving all leaves in the network information database.By step 201 network information that originally leaves in the described network information database all is loaded in the internal memory of network information send server.
In actual applications, described network information send server can just carry out the loading of the network information in system initialization;
Carry out the loading of the network information when perhaps network is idle;
Perhaps, carrying out the network information when network information send server is received the network information access request first loads.
The concrete network information load networks time can determine according to actual needs that the present invention does not do qualification.
As shown in Figure 1, in system, there are a lot of network information send servers, subnetwork information generation server wherein is according to some factor, for example region factor etc. can be divided into the server group, when carrying out network information loading, can carry out successively, also can load simultaneously according to the loading synchronously of server group or all servers, concrete load mode is decided by physical device and network condition.
Step 202: network information send server receives the network information access request of WAP terminal.
As shown in Figure 1, when WAP terminal access WAP network, the network information access request is passed to current comparatively idle network information send server via load equalizer.
Step 203: choosing from the network information that loads according to described network information access request will be to the network information of described WAP terminal transmission.
Because through step 201, the network information in the network information database has been loaded in the internal memory of network information send server, so this moment, network information send server can directly be chosen from the internal memory of self will be to the network information of WAP terminal transmission.
Step 204: the described network information that will choose sends to described WAP terminal.
By method shown in Figure 2, the network information that network information send server will be positioned at network information database is loaded into the internal memory of self, like this, after the network information access request comes, network information send server can be directly sends to the network information WAP terminal from the internal memory of self, avoided in the prior art, during the network information access request comes, network information database earlier finds the network information that will send of storage in disk, read, send, again it is put back to the process of disk, greatly reduce the network information and sent the spent time, improved the efficient that the network information sends.
In addition, after network information send server is loaded into the internal memory of self with the network information, even network access quantity is very big, network information database does not have very big pressure yet, because network information send server can directly provide the network information of access to netwoks, so the method that the embodiment of the invention provided has greatly alleviated the burden of network information database.
In the practical application, information in the network information database can not be unalterable, have renewal, and network information send server also may change because of a variety of causes after having loaded the network information, so, after the network information that network information send server is stored in network information database is loaded in self the internal memory, also comprise:
When the network information in the described network information send server has renewal, described renewal is sent in the described network information database;
When in the described network information database New Network Information being arranged, described New Network Information is updated in the described network information send server.
So just can give the information synchronization that guarantees between network information database and the network information send server.
In order to enrich the content of the network information, satisfy user's multiple needs, the amount of information in the network information database is very huge, in order further to accelerate network information send server obtaining the network information, referring to Fig. 3, the step 201 among Fig. 2 specifically comprises:
Step 301: network information send server is divided into different storage areas with the internal memory of self.
Step 302: will classify from the network information that described network information database obtains.
Step 303: the sorted network information is stored in the different storage areas according to classification.
By step shown in Figure 3, can provide the restriction classification according to the area of the network information, sex restriction classification etc., make that like this network information send server can be more targeted when choosing the network information that will send, thereby further accelerate network information send server obtaining the network information.
Referring to Fig. 4, the step 203 shown in Fig. 2 specifically comprises:
Step 401: the user property of retrieving described WAP terminal according to described network information access request.
Step 402: judge according to described user property whether the network information that self loads meets the first transmission standard.
Step 403: choosing the network information conduct that meets the described first transmission standard will be to the network information of described WAP terminal transmission.
The described first transmission standard is the standard of being determined by user property, for example user location restriction, user's sex, age of user or the like.When the network information that meets the transmission standard has many, can put into the transmission set with meeting described first network information that sends standard, from described transmission set, choose the network information and send to the WAP terminal.
In certain embodiments, from described transmission set, choose the network information when the WAP terminal sends, can carry out according to the second transmission standard.Described second what send standard to describe is the characteristic of information itself, and for example information price, the effective conversion ratio of information, information exhibition frequency or information response lead etc.
Wherein, information price is meant the expense that the information publisher whenever provides an information to collect.
The information exhibition frequency is meant the number of times of information exhibition.
Information response leads the number of times that responds for WAP user when receiving information.
The effective conversion ratio of information is that information response leads the ratio with the information exhibition frequency, shows the validity of information.
If described network information send server is stored the network information subregion that loads according to method shown in Figure 3, so in step 402, then can in the storage area of network information send server correspondence, directly choose the network information that will send according to described user property, can further reduce the time of choosing the network information like this, thereby send the network information quickly.
The network information of a great variety referring to Fig. 5, is that example provides method to do detailed description to the network information provided by the present invention with the advertisement putting in the WAP net, and this method specifically comprises:
Step 501: the advertisement send server is loaded into the information in the database in the internal memory of self.
Wherein, described database comprises advertising database, mobile phone area data storehouse or the like.Wherein, the ad data library storage the contents such as transmission restriction of advertisement and advertisement; The phone number and the corresponding attribute information thereof that then comprise part WAP user in the mobile phone area data storehouse.By step 501, the advertisement send server all is loaded into these information the internal memory of self from the disk of the database of correspondence.
Before loading, can be in advance the internal memory of advertisement send server be carried out area dividing, for example mark off user property memory field, advertisement memory field and ad constraints memory field, wherein:
The user property memory field is used for storing the customer attribute information that loads from mobile phone area data storehouse;
The advertisement memory field is used to deposit the advertising message that loads from advertising database;
Ad constraints sending area and advertisement memory field are interrelated, are used to deposit the restricted information of advertisement.
Step 502: after receiving the access request of WAP terminal, retrieve user property according to user's cell-phone number.
After the information that will load from database when advertisement send server subregion is stored, can directly from user property region of memory wherein, retrieve this attribute of user information.
Step 503:, judge one by one in conjunction with the ad constraints condition of ad constraints memory field whether the advertisement of advertisement memory field meets the first transmission standard of advertisement according to the customer attribute information that retrieves.
Step 504: will meet first advertisement that sends standard and put into the transmission set.
Step 505: from above-mentioned transmission set, choose the advertisement that meets the second transmission standard and send to WAP user.
By the method that the embodiment of the invention provided, make the network information send the restriction that (sending as advertising message) broken away from database, directly from the internal memory of send server, obtain the network information (advertisement) that will send, reduced the acquisition time of the network information, the efficient that provides of the network information greatly has been provided, has satisfied the requirement that the network information sends.
Embodiment is corresponding with method, and the embodiment of the invention also is provided for a kind of network information send server, and referring to Fig. 6, this server comprises:
Loading unit 601 is used for the network information that network information database is stored is loaded in the internal memory of self;
Receiving element 602 is used to receive the network information access request of WAP terminal;
Choose unit 603, the network information that the network information access request that is used for receiving according to described receiving element loads from described loading unit is chosen will be to the network information of described WAP terminal transmission;
Transmitting element 604 is used for the described network information of choosing unit selection is sent to described WAP terminal.
By device shown in Figure 6, make the network information break away from the restriction of network data base, when having avoided obtaining the network information to the read-write operation of network information database, greatly improved the acquisition speed of the network information, the efficient that provides of the network information has been provided, has satisfied the transmission requirement of the network information.
In order to make network information send server choose the network information from self quickly, wherein, described loading unit 601 specifically comprises:
The subregion subelement is used for the internal memory of self is divided into different storage areas;
The classification subelement is used for the network information that obtains from network information database is classified;
Storing sub-units is used for storing different storage areas in the sorted network information of classification subelement.
The described unit 603 of choosing specifically comprises:
Retrieve subelement, be used for retrieving the user property of described WAP terminal according to described network information access request;
Judgment sub-unit is used for judging successively according to the user property that described retrieval subelement retrieves whether the network information that self loads meets the first transmission standard;
Choose subelement, be used for to meet described first network information that sends standard and be decided to be the network information that will send to described WAP terminal.
Like this, make network information send server more targeted, thereby further accelerated the access speed of the network information, accelerated the transmission of the network information choosing of the network information.
Preferably, when the information in network information database or the network information send server changes, in order to realize both information mutual communications, described transmitting element 603, when the network information that also is used for loading at described loading unit has renewal, described renewal is sent in the described network information database;
Described receiving element 602 also is used for when described network information database has new information, receives the New Network Information that network information database sends.
When meeting described first network information that sends standard and have many, the described unit of choosing also is used for choosing and meeting second network information that sends standard and send to described WAP terminal from described first network information that sends standard that meets.
The present invention can describe in the general context of the computer executable instructions of being carried out by computer, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract, program, object, assembly, data structure or the like.Also can in distributed computing environment (DCE), put into practice the present invention, in these distributed computing environment (DCE), by by communication network connected teleprocessing equipment execute the task.In distributed computing environment (DCE), program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (12)
1. a network information provides method, it is characterized in that, comprising:
Network information send server is loaded into the network information of storing in the network information database in the internal memory of self;
Network information send server receives the network information access request of WAP (wireless application protocol) WAP terminal;
Network information send server is chosen from the network information that loads according to described network information access request will be to the network information of described WAP terminal transmission;
The described network information that network information send server will be chosen sends to described WAP terminal.
2. method according to claim 1 is characterized in that, also comprises:
When the network information in the described network information send server had renewal, network information send server sent to described renewal in the described network information database;
When in the described network information database New Network Information being arranged, network information send server is updated to described New Network Information in the described network information send server.
3. method according to claim 1 and 2 is characterized in that, network information send server is loaded into the network information of storing in the network information database in self the internal memory and is specially:
Network information send server is divided into different storage areas with the internal memory of self;
To classify from the network information that described network information database obtains;
The sorted network information is stored in the different storage areas according to classification.
4. method according to claim 1 is characterized in that, described network information send server is chosen from the network information that loads and will specifically be comprised to the network information that described WAP terminal sends according to described network information access request:
Retrieve the user property of described WAP terminal according to described network information access request;
Judge according to described user property whether the network information that self loads meets the first transmission standard;
Choosing the network information conduct that meets the described first transmission standard will be to the network information of described WAP terminal transmission.
5. method according to claim 4 is characterized in that, after judging according to described user property whether the network information that self loads meets the first transmission standard, also comprises:
To meet described first network information that sends standard and put into the transmission set;
Described choosing meets described first network information that sends standard as being specially to the network information that described WAP terminal sends:
Choosing from described transmission set will be to the network information of described WAP terminal transmission.
6. method according to claim 5 is characterized in that, chooses and will be specially to the network information that described WAP terminal sends from described transmission set:
Choose the network information that sends to described WAP terminal according to the second transmission standard from described transmission set, the described second transmission standard comprises:
Information price, the effective conversion ratio of information, information exhibition frequency or information response lead.
7. a network information send server is characterized in that, comprising:
Loading unit is used for the network information that network information database is stored is loaded in the internal memory of self;
Receiving element is used to receive the network information access request of WAP (wireless application protocol) WAP terminal;
Choose the unit, the network information that the network information access request that is used for receiving according to described receiving element loads from described loading unit is chosen will be to the network information of described WAP terminal transmission;
Transmitting element is used for the described network information of choosing unit selection is sent to described WAP terminal.
8. server according to claim 7 is characterized in that,
Described transmitting element when the network information that also is used for loading at described loading unit has renewal, sends to described renewal in the described network information database;
Described receiving element also is used for when described network information database has new information, receives the New Network Information that network information database sends.
9. according to claim 7 or 8 described servers, it is characterized in that described loading unit specifically comprises:
The subregion subelement is used for the internal memory of self is divided into different storage areas;
The classification subelement is used for the network information that obtains from network information database is classified;
Storing sub-units is used for storing different storage areas in the sorted network information of classification subelement.
10. according to claim 7 or 8 described servers, it is characterized in that the described unit of choosing specifically comprises:
Retrieve subelement, be used for retrieving the user property of described WAP terminal according to described network information access request;
Judgment sub-unit is used for judging according to the user property that described retrieval subelement retrieves whether the network information that self loads meets the first transmission standard;
Choose subelement, be used for to meet described first network information that sends standard and be decided to be the network information that will send to described WAP terminal.
11. server according to claim 10 is characterized in that,
The described subelement of choosing also is used for choosing the network information that sends to described WAP terminal according to the second transmission standard from described first network information that sends standard that meets.
12. server according to claim 11 is characterized in that, the described second transmission standard comprises:
Information price, the effective conversion ratio of information, information exhibition frequency or information response lead.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101827035A CN101453792B (en) | 2008-12-01 | 2008-12-01 | Network information providing method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101827035A CN101453792B (en) | 2008-12-01 | 2008-12-01 | Network information providing method and apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101453792A CN101453792A (en) | 2009-06-10 |
CN101453792B true CN101453792B (en) | 2011-09-14 |
Family
ID=40735746
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008101827035A Expired - Fee Related CN101453792B (en) | 2008-12-01 | 2008-12-01 | Network information providing method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101453792B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106570029B (en) * | 2015-10-12 | 2021-01-12 | 创新先进技术有限公司 | Data processing method and system for distributed relational database |
CN106998370A (en) * | 2017-06-15 | 2017-08-01 | 北京微影时代科技有限公司 | Access control method, device and system |
-
2008
- 2008-12-01 CN CN2008101827035A patent/CN101453792B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN101453792A (en) | 2009-06-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20060268896A1 (en) | System and method for services functionality | |
CN1832591B (en) | Method for transmitting messages in mobile communications system and mobile communications terminal | |
CN102387125B (en) | Method and system for accessing microblog, and picture sending method and system of microblog website | |
CN103368986A (en) | Information recommendation method and information recommendation device | |
CN102148843A (en) | Asynchronous downloading system and method | |
CN101216834A (en) | File downloading method, system, device and server | |
CN101083633B (en) | Information searching system and searching method | |
CN102111426A (en) | Method, system and device for implementing point-to-point technology | |
CN102710535B (en) | A kind of data capture method and equipment | |
CN107800767A (en) | A kind of access response management method, server and computer-readable recording medium | |
CN102404242B (en) | A kind of user profile updating device, electronic equipment and updating method of user information | |
CN101707812B (en) | Corporate advertising method based on caller identification at mobile terminal | |
CN1953455A (en) | A method, module and server to control access to network resource | |
CN101453792B (en) | Network information providing method and apparatus | |
CN101494833B (en) | Method, device and system for sending network message | |
CN105763616A (en) | Resource-downloading method and device | |
CN101998282A (en) | Advertisement terminal and method for providing user-customized mobile advertising service | |
CN101795310B (en) | Mobile phone and method for processing multimedia message notification message | |
CN101212787A (en) | Personalized information publishing method and system | |
CN102904935A (en) | Downloading method, downloading device and downloading system based on home gateway | |
CN101505318B (en) | User attribute identification method and apparatus | |
CN101394606A (en) | Information publishing method, apparatus and system thereof | |
CN101616497B (en) | Method for realizing short message on-demand service, user identification card and unit | |
CN101997885A (en) | User data scheduling method, server and data center | |
CN105847286A (en) | Multimedia file obtaining method and device |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110914 Termination date: 20181201 |
|
CF01 | Termination of patent right due to non-payment of annual fee |