CN1217273C - Method for radio network server to treat and transmit data - Google Patents

Method for radio network server to treat and transmit data Download PDF

Info

Publication number
CN1217273C
CN1217273C CN 03156887 CN03156887A CN1217273C CN 1217273 C CN1217273 C CN 1217273C CN 03156887 CN03156887 CN 03156887 CN 03156887 A CN03156887 A CN 03156887A CN 1217273 C CN1217273 C CN 1217273C
Authority
CN
China
Prior art keywords
data
length
historical data
group
transmit
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
Application number
CN 03156887
Other languages
Chinese (zh)
Other versions
CN1492340A (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.)
E Ten Information Systems Co Ltd
Original Assignee
E Ten Information Systems 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 E Ten Information Systems Co Ltd filed Critical E Ten Information Systems Co Ltd
Priority to CN 03156887 priority Critical patent/CN1217273C/en
Publication of CN1492340A publication Critical patent/CN1492340A/en
Application granted granted Critical
Publication of CN1217273C publication Critical patent/CN1217273C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to a method for a radio network server to process and transmit data. In the method, after a plurality of historical data and the correspondingly set numerical values are obtained, according to the distribution state of the position length of the numerical values of the historical data, the historical data is divided into n groups by using a grouping algorithm; a length format is respectively generated for each group to define the position length used by data transmission. The present invention can be used for transmitting all the historical data in the same group, and then generates a maximum length format capable of comprising all the possible data, and dynamically updates and transmits the N+1 new length formats to a client before transmitting the current data. When beginning to transmit the data, aiming at each current data, a server end dynamically selects the length format wasting the least positions for transmission.

Description

Wireless network server is handled and the method that transmits data
Technical field
The present invention is the technical field that is applied to carry out exchanges data in wireless network environment, refers to that especially a kind of wireless network server is handled and the method for transmission data.
Background technology
In wireless network environment, the known regular length transformat that normally adopts carries out data transfer between server end (server) and the client (client).That is before carrying out data transfer, server end is analyzed the data volume size of the data with same field or attribute in advance, in last selected more same field or the attribute, maximum data volume is as constant transmissions length (being figure place), thus, can transmit the reception operation according to carry out data by the good fixed-length format of server end predefined between the client and server end.
With stock market's real-time communication service is example, server end is then to be stock market's message transmitting machine for stock market citation service provides dealer, client, be for example to transmit in real time information such as share price between the two, each share price data includes stock code and share price two fields at least, suppose, the regular length of stock code be pre-defined be that the regular length of 12 and share price is defined as 12.Therefore, server end promptly forms the data packet that length adds up to 24 and is passed to client the share price data back of being encoded according to the regular length of above-mentioned definition, and after client was receiving data packet, directly decipher captured preceding 12 and informs the user for stock code, back 12 for share price information shows.
Yet, because the share price of each tame listed company does not wait, for example X company share price is that 10 yuan, Y company share price are 150 yuan, it respectively can bit be expressed as " 1010 " reach " 10010110 ", that is the share price of X company in fact only uses 4 transmission length, the share price of Y company only uses 8 transmission length, but, therefore knownly will transmit share price information with the format length that " 000000001010 " reaches " 000010010110 " because share price has been set at 12 so as to including all data.That is to say, in the regular length transformat, in order to include the same field that is distribution at random or the data content of attribute, therefore regular length must be set at maximum length value, but thus, very easily cause the situation of transmission figure place waste, especially more obvious when the numeric distribution of data is uneven, for example when transmission X company share price, waste 8 transmission length, Y company share price more and then wasted 4; In addition, when the Network Transmission frequency range hour, the frequency range that also can be subject to the regular length transformat and wasted and cause transfer efficiency clear, more than all non-very good.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of wireless network to handle and transmit the method for data, be according to the data volume length of tendency to develop transmission of data format length (or bit length), can meet the change characteristic of data, the waste of the frequency range that causes when reducing the transmission data simultaneously with the most suitable these data of transmission of design.
For reaching above-mentioned purpose, the method of data is handled and transmitted to wireless network server proposed by the invention, be to finish by server, and at least one client brought in the transmission data, server end is to store current-period data and historical data, and carry out to comprise the following steps: at first to be acquisition historical data step, be acquisition complex historical data and the corresponding numerical value of setting thereof; The step of hiving off is according to the bit length distribution of the numerical value of above-mentioned historical data, historical data is divided into N group; The generation format length step of hiving off produces a format length respectively according to each group, and the employed bit length of its definition transmission data is each historical data that is enough to transmit in the same group; The transformat step has definition the formal definition shelves of format length to transfer at least one client again, upgrades the formal definition shelves of local side for client; Transmit the current-period data step at last, before the transmission current-period data, will analyze the pairing bit length of numerical value of current-period data,, current-period data is transferred to client to select the minimum length form that is enough to transmit current-period data respectively.
In addition, the method for data is handled and transmitted to wireless network server proposed by the invention, before this transformat step, can comprise that still one produces maximum length form step, to produce a maximum length form that is enough to transmit all data.
Description of drawings
Fig. 1 is the process flow diagram of a preferred embodiment of the present invention;
Fig. 2 is the historical data synoptic diagram of a preferred embodiment of the present invention;
Fig. 3 is the current-period data synoptic diagram of a preferred embodiment of the present invention.
Embodiment
The method of data is handled and transmitted to wireless network proposed by the invention, is to be finished by server, and at least one client is brought in the transmission data.Server is to can be any electronic equipment that can be connected and have calculation function via Radio Network System (for example double-direction radio communication gsm system, gprs system or uni-directional wireless communication paging system or the like) and client message, for example, server can be known computer equipment, and it comprises an input interface, a CPU (central processing unit), a storage device and a communication device.Wherein, input interface can be any interface that can receive information, and for example, if with the information of artificial input, then input interface can be mouse or keyboard etc.; If information is the data data that transmit via network, then input interface can be a network card.Have the knack of the visual actual state of this operator, adopt different software and hardwares to be used as input interface.Storage device can be the data memory device of any or several embodied on computer readable such as Winchester disk drive, CD-ROM drive, DRAM or EEPROM.CPU (central processing unit) then can adopt any known central processing unit framework, for example, comprises ALU, buffer and controller etc., to carry out the computing of computing module.Communication device is wireless communication apparatus, and it can be sent to client via wireless network with the data commentaries on classics, for example can comprise radio circuits such as scrambler, modulator, code translator, detuner, antenna.This wireless network server hardware structure can adopt existing technology, does not repeat them here.
Present embodiment is illustrated at stock market's real-time communication service, also is exactly to be example to utilize unidirectional call wireless network that the client stock market information is provided.Storage device planning at server end has historical information database, in order to store previous share price information, can be in proxima luce (prox. luc), the last week or the share price information of all or part in previous month, relies the dealer to determine in considering actual state entirely.Storage device also has current information simultaneously.
The method of data is handled and transmitted to wireless network proposed by the invention, dealer's server end is provided by stock market's citation service) after analyzing previous (for example the previous day) share price information, design the format length that accords with transmission share price information today, carry out data transfer operations with stock market's message transmitting machine (hereinafter to be referred as message transmitting machine, i.e. client) according to this.See also the process flow diagram of Fig. 1, at first, the CPU (central processing unit) of dealer's server is to carry out following steps: share price information (the step S101 that captures proxima luce (prox. luc) in historical data base; Acquisition historical data step), see also Fig. 2, be to be example with the closing quotation share price (being historical data) of six tame marketing enterprises last business day, suppose that the share price information that captures is respectively 9 yuan, 20 yuan, 12 yuan, 15 yuan, 27 yuan, reaches 127 yuan, if above-mentioned closing quotation share price data with the binary number value representation, then be " 1001 ", " 10100 ", " 1100 ", " 1111 ", " 11011 " in regular turn, reach " 1111111 ".Then according to the bit length distribution of above-mentioned closing quotation share price data, the historical data that analyzes present embodiment includes different format length (the step S102 of N (N=3) group altogether; Next the step of hiving off determines the format length of each colony according to the result who hives off, be in this example 4,5, with 7.Then, above-mentioned three kinds of format lengths are preset as format length (the step S103 of transmission share price today; The generation format length step of hiving off), certainly also 4 historical datas with 5 can be divided into same group, thereby only define 5 format length, it is all decided on dealer's demand or frequency range.Wherein, present embodiment is to use the K-means algorithm that hives off to mark off N group's format length with the distribution according to the numerical value of historical data, also can use the algorithm that hives off of other equivalence certainly.
Again, because share price is the data for daily variation, for example Fig. 3 is the real-time share price (being current-period data) that shows today of present embodiment six tame marketing enterprises, wherein, it is 130 yuan that the real-time share price of F enterprise goes up, its binary numeral is to be " 10000010 ", amount to 8, but defined three kinds of format lengths all can't satisfy the demand of transmission 8 bit data in step S103, therefore, step S104 will produce one be enough to transmit might the share price data the maximum length form, in this example, be that the maximum amount of data of default share price is 12, so the maximum length form promptly is defined as 12, make that today, defined format length amounted to the N+1=4 kind, to avoid taking place the situation that data can't be transmitted.
And server will converge the format length data of putting in order its setting earlier before beginning to transmit real-time share price information, includes message transmitting machine (the step S105 of the formal definition file transfer of (N+1) individual new format length definition to each user to form one; The transformat step), so as to upgrading message transmitting machine in employed old formal definition shelves on last business day; Can analyze each pen pairing bit length of share price in real time at last one by one, with the selected respectively minimum length form that is enough to transmit these data dynamically, and coding forms data packet to be sent to message transmitting machine (step S106; Transmission current-period data step), so that the transmission figure place that may waste drops to minimum; And can hunting out the suitable length form according to the definition of each data package in the formal definition shelves, message transmitting machine comes the interpret data package, to obtain the correct real-time share price information (step S107) of each enterprise.In present embodiment, the real-time share price information of six tame marketing enterprises promptly use in regular turn respectively 4,5,4,5,5, and 12 format length transmit 8 yuan, 20 yuan, 12 yuan, 16 yuan, 26 yuan, and 130 yuan real-time share price.In addition, when the dealer when spreading out of real-time share price, be that package form with " in real time share price+format name " sends client (also may include pairing stock code information certainly) to, wherein, the format length that the bit length of " in real time share price " is among the step S105, the dealer dynamically selectes according to data volume institute, " format name " then be in the formal definition shelves, the code of designated length form, for example be 2 data.Therefore, message transmitting machine is that content according to format name hunts out the suitable length form and comes the interpret data package to read real-time share price content to separate in the formal definition shelves.
Again, be noted that if the falling stock prices of A enterprise is 7 yuan, that is the data volume contraction in length is 3 (promptly binary " 111 "), this moment, the dealer will use 4 format length to transmit real-time share price, because in the formal definition file of today and undefined 3 format length; In like manner, be 32 yuan if the real-time share price of E enterprise goes up, this moment, the dealer will use 7 format length to transmit, and can not use undefined 6 to its real-time share price coding.
Moreover, the historical data of the foregoing description is to be the closing price of personal share last business day, its also can be set at certainly personal share last week average price or last month average price etc., and practical application area of the present invention is not limited to stock market's real-time communication service, it also can be applicable to any operation of carrying out exchanges data in the wireless network transmissions environment, and present embodiment is only for illustrating.In addition, only include real-time share price information in each of the foregoing description data package, and in actual applications, a data package may include data miscellaneous, be example also with stock market's real-time communication service, its real-time share price may just include stock code, buying price, selling price, knockdown price, reach contents such as conclusion of the business number, this moment, data packet was that record is value group (tuple) form, in each value group, be respectively at above-mentioned stock code, buying price, selling price, knockdown price, and content such as conclusion of the business number defines its attribute, and insert value corresponding, in this case, the dealer hold server can be one by one at the operation of hiving off of the data of each different attribute (or field), also can produce maximum format length according to each data group, form the formal definition shelves in view of the above to be sent to message transmitting machine, make message transmitting machine can come the received data packet of decipher according to the definition of formal definition shelves equally.
According to above-mentioned explanation, show that the present invention is can be according to the operation of hiving off of the distribution of historical data numerical value, so as to defining different format lengths, but make each data field bit length data-driven amount length and change, therefore server end with data transmission in client, will encode and dynamically choose different format lengths according to the difference of data length.Thus, can meet the change characteristic of data, shorten the shared frequency range of transmission data simultaneously, and, really can promote effect to quicken the transfer efficiency in the wireless network.
The method of wireless network server process of the present invention and transmission data can be write as so that carry out by computerese, and the software program that this is write as can be stored in any microprocessing unit can identification, the programmed recording medium of deciphering, or include the article and the device of this programmed recording medium.It is not limited to any form, and these article are preferably a random access memory (RAM), also can be IC chip, CD, CD-R, MO, hard disk, floppy disk disk, or any those who are familiar with this art the spendable article that include this programmed recording medium.Because it is complete that wireless network change transmission quantity method for optimizing of the present invention has disclosed, therefore any familiar with computers language speaker reads instructions of the present invention and promptly knows how to write software program, so relevant software program detail section is not given unnecessary details at this.

Claims (6)

1. a wireless network server is handled and the method that transmits data, and this server end is to store present latest data and historical data, and this server is to carry out to comprise the following steps:
One acquisition historical data step be acquisition complex historical data and the corresponding numerical value of setting thereof, and the numerical value of this historical data is to represent with bit;
One step of hiving off is the bit length distribution according to this historical data, this historical data is divided into N group;
One produces the format length step of hiving off, and is to produce a format length respectively according to each group, and the employed bit length of its definition transmission data is each historical data that is enough to transmit in the same group;
One produces maximum length form step, to produce a maximum length form that is enough to transmit all data;
One transformat step is that this N format length and the formed formal definition shelves of this maximum length form transfer at least one client, so that upgrade the formal definition shelves of local side for this client;
And a transmission current-period data step, be the pairing bit length of numerical value of analyzing the present latest data of complex, transmit the minimum length form that deserves the issue certificate with selected being enough to respectively, should reportedly transport to this client by issue.
2. as method according to claim 1, wherein, this historical data is the data that sent out for last pen.
3. as method according to claim 1, wherein, this historical data is the mean value for the complex data that sent out before.
4. as method according to claim 1, wherein, this step of hiving off is that the historical data that will have identical bits length is divided into same group.
5. as method according to claim 1, wherein, this step of hiving off is to use the K-means algorithm that hives off to mark off N group with the bit length distribution according to the numerical value of this historical data.
6. as method according to claim 1, wherein, this historical data or this present latest data are to be its value of being recorded as group form of a package, it in each package value group at least one attribute of definition, wherein this attribute comprises: stock code, buying price, selling price, knockdown price or conclusion of the business number, and insert value corresponding in this each attribute.
CN 03156887 2003-09-11 2003-09-11 Method for radio network server to treat and transmit data Expired - Fee Related CN1217273C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03156887 CN1217273C (en) 2003-09-11 2003-09-11 Method for radio network server to treat and transmit data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03156887 CN1217273C (en) 2003-09-11 2003-09-11 Method for radio network server to treat and transmit data

Publications (2)

Publication Number Publication Date
CN1492340A CN1492340A (en) 2004-04-28
CN1217273C true CN1217273C (en) 2005-08-31

Family

ID=34240848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03156887 Expired - Fee Related CN1217273C (en) 2003-09-11 2003-09-11 Method for radio network server to treat and transmit data

Country Status (1)

Country Link
CN (1) CN1217273C (en)

Also Published As

Publication number Publication date
CN1492340A (en) 2004-04-28

Similar Documents

Publication Publication Date Title
JP4680925B2 (en) Mass quote message processing using market data message format by trading engine
CN1354862A (en) Enhancing utility and diversifying model risk in portfolio optimization framework
CN110197331A (en) Business data processing method, device, equipment and computer readable storage medium
EP2456076A1 (en) Analysis of large data sets using distributed polynominal interpolation
CN110515951B (en) BOM standardization method and system, electronic device and storage medium
CN111489201A (en) Method, device and storage medium for analyzing customer value
CN109961198B (en) Associated information generation method and device
WO2012019001A2 (en) Returning estimated value of search keywords of entire account
CN111160658A (en) Collaborative manufacturing resource optimization method, system and platform
EP1151403A1 (en) System and method for generating dependent data
Erel et al. Mixed-model assembly line sequencing using beam search
CN102201922A (en) Data charging method and relevant apparatus
CN1217273C (en) Method for radio network server to treat and transmit data
US7945593B2 (en) Diagram creation device and program for the same
CN101159052A (en) Reading board data processing method and reading board application integrating system
US20170372243A1 (en) System and method for inventory management, cost savings delivery and decision making
CN109242680B (en) Method for dynamically adjusting block chain consensus
CN115062676B (en) Data processing method, device and computer readable storage medium
CN111582408A (en) Data processing method, data processing apparatus, storage medium, and electronic device
CN115757936A (en) Hotel night product providing method and device, electronic equipment and storage medium
CN115391047A (en) Resource scheduling method and device
CN115293867A (en) Financial reimbursement user portrait optimization method, device, equipment and storage medium
CN112070438B (en) Material distribution method and system based on configuration layering
CN101841423B (en) Network management system history performance data query method, device and network management system
CN111062772B (en) Self-adaptive order aggregation method and electronic equipment

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: 20050831

Termination date: 20190911

CF01 Termination of patent right due to non-payment of annual fee