




已阅读5页,还剩12页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
in traditional supply chain inventory management, orders are the only information firms exchange, but information technology now allows firms to share demand and inventory data quickly and inexpensively. we study the value of sharing these data in a model with one supplier, n identical retailers, and stationary stochastic consumer demand. there are inventory holding costs and back-order penalty costs. we compare a traditional information policy that does not use shared information with a full information policy that does exploit shared information. in a numerical study we find that supply chain costs are 2.2% lower on average with the full information policy than with the traditional information policy, and the maximum difference is 12.1%. we also develop a simulation-based lower bound over all feasible policies. the cost difference between the traditional information policy and the lower bound is an upper bound on the value of information sharing: in the same study, that difference is 3.4% on average, and no more than 13.8%. we contrast the value of information sharing with two other benefits of information technology, faster and cheaper order processing, which lead to shorter lead times and smaller batch sizes, respectively. in our sample, cutting lead times nearly in half reduces costs by 21% on average, and cutting batches in half reduces costs by 22% on average. for the settings we study, we conclude that implementing information technology to accelerate and smooth the physical flow of goods through a supply chain is significantly more valuable than using information technology to expand the flow of information.inventory management is a commercial enterprise management of the core areas, enterprises can also achieve an effective key, if we can achieve from the purchase of stock, sales then the entire flow of goods and capital flow situation for the unified management and reasonable production, timely sales and inventory is the smallest. reduce the backlog of material, then the business will achieve the best results.1.sessionin my experience, session word is probably second only to the extent of the abuse of transaction, even more interesting is the transaction and the session in the context of the meaning of some of the same. session, the chinese often translated into the session, its original meaning refers to the beginnings and ends of a series of action / information, such as a phone call from the dial to pick up the phone to hang up the middle of the process can be described as a series of session. sometimes we can see that the case during the session in a browser session ,., term used here is its original meaning, is open from a browser window to close the period of . the most confusing is the user (client) during the first session, the words, it may refer to a series of user actions (generally with a specific purpose related to a series of actions, such as log on to buy goods from to sign out such an online shopping checkout process, sometimes also called a transaction), but sometimes may be just that a connection could also be that the meaning of , the difference can only be inferred by context . however, when the term session is associated with the network protocol when it often implies a connection-oriented and / or on hold so the two meanings, connection-oriented refers to both the communication in the communication prior to first establish a communication channel, such as phone calls, until the other party answered the phone communication can begin, and this is the opposite of writing, before you sent the letter, the time you and can not confirm the other side of the address is correct, communication channels buyi ding can be established, but the sender, the communication has already begun. keep state means the communication party is able to associate a series of messages, making messages between each other depends, for example, a waiter can recognize old customers come back and remember the last time the customer still owes a store, dollar . examples of this type, a tcp session or a pop3 session . and to the web server flourishing, session in the context of semantic web development has a new expansion, its meaning is mean to the client and server to maintain state between the solution . session is also sometimes used to refer to such solutions, storage structures, such stored in the session to xxx where . for various 用于 web development languages are available to some extent on the support of such a solution, so in the context of a particular language 下, session also used to denote a solution on behalf of the language, such as regular java in the provision of javax.servlet.http.httpsession referred to as the session . in view of this confusion has been changed, in this article use the term session will have different meanings depending on the context, drew attention to the resolution. in this article, the use of chinese during the browser session, to convey the meaning of , use session mechanism to convey the meaning , use the session expression meaning , use specific httpsession to convey the meaning second, http protocol and the state to maintain http protocol itself is stateless, http protocol which is consistent with the original purpose of the client only needs a simple request to download some file server, either the client or the server not have been necessary records of past behavior to each other, and each time between the request are independent, like a customer and a vending machine or an ordinary (non-membership) as the relationship between supermarkets. however, smart (or greedy?) people soon discovered that if they can provide on-demand generation of dynamic web information will become more useful, like a cable tv with on-demand the same function. this demand on the one hand to force gradually add html form, script, dom and other client-side behavior, on the other hand there is the server-side cgi practices to respond to client-side dynamic request, the http protocol as the transport carrier also added a file upload , cookie these characteristics. the role which cookie is to solve the stateless http protocol efforts defects. as for the subsequent emergence of the session mechanism is yet another in between the client and the server state solution. let us use some examples to describe the session cookie and the differences and similarities between the mechanisms. i once frequented a coffee shop with free gifts to drink five cups of coffee offers a cup of coffee, but a one-time consumption of five cups of coffee is remote, then need a way to record a customers consumption. imagine that in fact nothing less than the following several options: 1, the stores staff is very powerful, able to remember each customers consumption, as long as customers entered the cafe, shop assistants know how to deal with the. this approach is the agreement itself to support the state. 2, issue customers a card recording the number of consumers in general have a validity period. each consumer, if this card is produced, then the consumer will be with the consumer before or after linking up. this approach is maintained in the client state. 3, a membership card issued to customers, in addition to any information outside the card number is not recorded, each consumer, if the card is produced, then the records clerk in the store to find the card number corresponds to the record to add some consumer information. this approach is maintained in the server-side state. as the http protocol is stateless, but due to various considerations do not want to become a state, therefore, the last two programs has become a realistic option. specifically cookie mechanism is used to maintain state of the client program, which uses a session mechanism to maintain state in the server-side program. we also see that, thanks to server-side maintain state of the program in customer client but also xuyaobaocun a logo, so mechanisms may need the help of session cookie mechanism to identify the purpose of da dao saved, it actually alternatives are available.third, the cookie mechanism the basic principle cookie mechanism as simple as the above example, but there are several issues to resolve: membership card how to distribute; membership card of the content; and customers how to use the member card. orthodox cookie distribution is by extending the http protocol to achieve, and the server through the http response header with a line of special instructions to prompt the browser in accordance with the instructions generates the corresponding cookie. but pure client-side scripting such as javascript or vbscript can also generate the cookie. the cookie used by the browser in the background according to certain principles automatically sent to the server. check all stored browser cookie, if a cookie is greater than or equal scope statement will be the location of the requested resources, put the resources of the http request cookie attached to the head sent the request to the server. means that mcdonalds membership card can only be produced in the mcdonalds store, if a store has also issued its own membership card, then enter the store when the addition to produce mcdonalds membership card, but also to produce a member of the store card. cookies contents include: name, values, expiration time, path and domain. you can specify a domain in which a domain such as. g, the equivalent of main store signs, such as procter & gamble, you can also specify a specific domain of a machine under such or , can float flexibility to do than. path is the name behind the url with the path, such as / or / foo, etc., can do more than a counter rejoice. path together with the domain constitutes a cookies scope. if you do not set the expiration time, then the lifetime of this cookie to the browser during the session, simply close the browser window, cookie disappears. this period of life of the cookie browser session is called session cookie. session cookie is generally not stored on the hard disk but kept in memory, of course, provided that it is not standardized. if you set the expiration time, the browser the cookie will be saved to the hard disk, open again after closing the browser, the cookie is still valid until the expiration time exceeds a set. stored in a cookie on your hard disk in a different browser, shared between processes, such as the two ie windows. and stored in memory for the cookie, different browsers have different approaches. for ie, open windows in a press ctrl-n (or from the file menu) to open the window can be shared with the original window while using other means to open the ie process will not have to open the windows shared memory cookie; for mozilla firefox0.8, all of the process and can share the same tab the cookie. in general is the window.open javascript window will open with the original windows shared memory cookie. browser, this cookie for the session cookie does not believe that people only recognize the approach to the use of the regular session of web application development mechanism causing great distress. here is a goolge set cookie response header example http/1.1 302 found location: /intl/zh-cn/ set-cookie: pref = id = 0565f77e132de138: nw = 1: tm = 1098082649: lm = 1098082649: s = kaeacfpo49ria_d8; expires = sun, 17-jan-2038 19:14:07 gmt; path = /; domain =. google . com content-type: text / html this is the use of httplook the http sniffer http communications software to capture the part of the record goolge browser to access the resources again, automatically send out cookie use firefox can easily observe the current value of cookie use httplook with firefox cookie can easily understand the working principle. ie can be set to ask before accepting cookie this is a dialog box asking to accept cookie. fourth, understand the session mechanism mechanism is a server-side session mechanism, the server uses a hash table is similar to the structure (and probably is to use a hash table) to save the information. when the program needs for a clients request to create a session when the server first checks the clients request is included in a session id - known as the session id, if the description contains a session id for this client previously create over session, the server in accordance with the session id to retrieve the session out of the use (if not retrieved, may be the new one), if the client request does not include session id, then create a session for this client and generate a session with this associated with the session id, session id value should be a not only will not repeat, not easy to find the law to copy the string, the session id to be returned in this response to the client saved. save the session id of the ways to use cookie, so the interaction of the browser can automatically identify this play by the rules to the server. the name of this cookie are generally similar to seeesionid, and. for example, web applications weblogic generated cookie, jsessionid = byok3vjfd75apnrf7c2hmdnv6qzcebzwowibyenlerjq99zwpbng! -145788764, its name is jsessionid. as the cookie can be artificially prohibited, there must be other mechanisms to be banned in the cookie when the session id still be able to pass back to the server. often use a technique called url rewriting, the session id is attached to the url path directly behind, there are two additional ways, one is the url path as additional information, showing the form of http:/ . . / xxx; jsessionid = byok3vjfd75apnrf7c2hmdnv6qzcebzwowibyenlerjq99zwpbng! -145788764 the other is as a url query string appended to the back, showing the form of http:/./xxx?jsessionid=byok3vjfd75apnrf7c2hmdnv6qzcebzwowibyenlerjq99zwpbng!-145788764 both ways is no different for users, and only a server parsing the time to deal with the different ways, using the first ways are conducive to turning one kind of session ids information and to distinguish normal program parameters. wei liao zai the interaction always maintain state, we must each client may request a path to the rear of containing this session id. another technique known as hidden form fields. is that the server will automatically modify the form, add a hidden field, so when the form is submitted to the session id passed back to the server. example, the following form being passed to client will be rewritten before application of this technology is now less, i contacted the very old iplanet6 (sunone application servers predecessor) on the use of this technology. in fact this technology can simply apply to the action url rewriting instead. when talking about the session mechanism, often heard of such a misunderstanding, as long as the browser is closed, session disappears. in fact, imagine the example card, unless the customer to make sales on the store card, otherwise the store would not easily remove the customer information. this is also true of the session, unless the procedure to inform the server to delete a session, otherwise the server will remain on the program are generally done in the user log off when the send a command to delete the session. however, the browser will never take the initiative to notify the server will be shut off, so the server will not have the opportunity to know the browser has been the reason why there is such a misconception, the majority of session mechanism to use a session cookie to store the session id and close your browser the session id is gone, once again connect to the server will not be able to find when the original session. if the server cookie settings are saved to the hard disk, or use some means to rewrite the browsers http request header sent to the original session id sent to the server, then re-open the browser can still find the original session. it is precisely because of the closure does not cause the browser session is deleted, forcing server seesion set up a failure time, as the distance between the first use of the client session for more than the failure time, the server that the client has ceased its activities, the session will be deleted to save storage space. 5, javax.servlet.http.httpsession httpsession session mechanism is the java platform implementation of norms, because it is only the interface, specific to each web application server providers, in addition to standard support, there will still be no requirement of some norms in the nuances. here we are with beas weblogic server8.1 as an example to demonstrate. first of all, weblogic server provides a set of parameters to control its httpsession implementation, including the use of cookie switch option to use url rewriting switches, session persistence settings, session failure time setting, as well as for the cookie a variety of settings, such as set cookie name, path, domain, cookie survival time. in general, session are stored in memory, when the process is stopped, or restart the server when the memory of the session will also be empty, if you set the session persistence feature, the server will save the session to your hard drive when the server process restart or the information can be used again, weblogic server supports sustainable manner including documents, databases, client-side cookie preservation and reproduction. strictly speaking not a persistent copy saved, because the session is actually stored in memory, but the same information is replicated to each server process within the cluste
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 三基基础知识培训意义课件
- 高级领导决策技能面试题目及答案精 编
- 小儿骨科髋关节脱位课件
- 三八妇女节课件
- 初中书面表达主题分类训练10篇-文学艺术
- 大学生母亲节活动主题策划方案
- 大学生会计顶岗毕业实习报告
- 大专生毕业自我鉴定总结
- 地下停车位租赁的简单协议书
- 期货从业资格之期货投资分析考前冲刺测试卷讲解带答案详解(精练)
- 2025年时事政治考试题及参考答案(100题)
- 井工煤矿风险监测预警处置方案之安全监控系统监测预警处置方案
- 员工社保补贴合同协议
- 企业财务会计全套教学课件
- 劳动关系证明书模板
- 仲夏夜之梦英文话剧剧本
- 脱不花三十天沟通训练营
- SH/T 0356-1996燃料油
- 科脉解决方案御商
- 变电室高压停电工作票1
- 住院患者用药教育学习记录
评论
0/150
提交评论