关键词不能为空

当前您在: 主页 > 英语 >

有关进销存管理系统中英文翻译

作者:高考题库网
来源:https://www.bjmy2z.cn/gaokao
2021-02-09 15:47
tags:

-

2021年2月9日发(作者:毫米的英文)


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


.




n


In 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



the


session


in


a


browser


session ,...


to close the period of



. The most confusing is the


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



and


/


or



hold


so


the


two


meanings,



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



17





- 1 -




correct, communication


channels


Buyi


Ding


can


be


established, but the sender,


the


communication has already begun.


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,



.



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



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


ssion 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


browser


session,


the meaning


of



, use



, use the


meaning



, use specific




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 customer's consumption. Imagine


that in fact nothing less than the following several options:


1, the store's staff is very powerful, able to remember each customer's 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.



17





- 2 -




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:



card


how


to


distribute;



card


of


the


content;


and customers how to use the


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 McDonald's membership card can only be produced in the McDonald's store, if


a store has also issued


its own membership card, then enter the store when the addition


to produce McDonald's membership card, but also to produce a member of the store card.



cookie's contents include: name, values, expiration time, path and domain.


You can specify a domain in which a domain such as. , 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 cookie's 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



javascript


window


will


open


with


the


original


windows


shared


memory


cookie.



17





- 3 -




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 client's


request to create a


session when the server first


checks the client's 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 = ByOK3vjF D75aPnrF7C2HmdnV6QZcEbzWoWiBYEnLerjQ99zWpBng!


-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


=


ByOK 3vjFD75aPnrF7C2HmdnV6QZcEbzWoWiBYEnLerjQ99zWpBng! -145788764


The


other


is


as


a


URL


query


string


appended


to


the


back,


showing


the


form


of


http://.. .../xxx?jsessionid=ByOK3vjFD75aPnrF7C2HmdnV6QZcEbz WoWiBYEnLerjQ99zWpBng!-1


45788764



17





- 4 -




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


id's 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




type=


name=


value=




Application of this technology is now less, I contacted the very old iPlanet6 (SunONE


Application Server's 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,


long as the browser is closed, session disappears.


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 browser's


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, ssion


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 BEA's 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,



17





- 5 -




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


cluster, so even if a server process to stop working and still available from other


processes obtain session.



cookie


settings


will


affect


the


survival


time


of


the


browser


generates


a


session


cookie


is a cookie. The default is to use a session cookie. Interested can use it to test us


in the fourth quarter, as mentioned in the misunderstanding.



cookie path for the web application is a very important option, Weblogic Server on the


default handling of this option makes it significantly different from other servers.


We will discuss the topic later.



Settings


on


the


session


reference


[5]


/wls/docs70/webapp/weblogic_ # 1036869



6, HttpSession Frequently Asked Questions


(In this section the implications for the session mixed



and



)




1, session is created when


A common misconception is that the session in a


client


visit, was


created, but the fact


is that until a server-side program called sion (true) when


such


a


statement


is


created,


note


that


if


the


JSP


does


not


appear


to


use


<%


@


page


session


=


when


the


inclusion


of


such


a


statement


HttpSession


session


=


sion


(true);


This


is


also


implied


in


JSP


session


object


origin.



As


the


session


will


consume


memory


resources,


so


if


you


do


not


intend


to


use


the


session,


all the JSP should be turned off it.



2, session is deleted when


Comprehensive


discussions


earlier,


session


is


deleted


in


the


following


cases


a.


program


calls date (); or b. from the last time before the client sends the


session id than the interval session timeout settings; or c. server process is stopped


(non- persistent session)



3, how to do delete the browser closed session


Strictly speaking, can not do this. Approach can do a little effort is all clients use



17





- 6 -




the


javascript


代码


se


page


to


monitor


the


browser's


closing


movement,


and


then send to the server to delete a Qingqiu session. But the collapse or forced to kill


the browser process is still powerless these unconventional means.



4, there is how the matter HttpSessionListener


You can create such a listener to monitor the session creation and destruction events,


so


in


the


event


of


such


an


event


you


can


do


some


relevant


work.


Note


that


session


creation


and destruction of action trigger listener, not the reverse. Similar to the listener


with the HttpSession also HttpSessionBindingListener, HttpSessionActivationListener


and HttpSessionAttributeListener.



5, stored in a session of the object must be serializable for you


Not required. Requested objects can be serialized only to session in the cluster can


be copied or saved to a lasting or temporary, where necessary, the session server can


exchange the memory. The session in Weblogic Server can not be placed in a serialized


object in the console will receive a warning. I used a iPlanet version if there can not


be serialized session objects in the session there will be a destruction of Exception,


very strange.



6, how to correctly deal with the possibility of the client against cookie


The URL for all URL rewriting to use, including hyperlinks, form of action, and the


redirection of URL, the specific approach, see [6]


/wls/docs70/webapp/ # 100770



7, open two browser windows to access the application will use the same session or a


different session


See the discussion of the third section of the cookie, the session id is not only the


recognition of identification, so different browsers, different methods and different


windows open the cookie is stored will affect the answer to this question.



8,


how


to


prevent


the


user


to


open


two


browser


windows


operating


session


due


to


confusion


This issue is to prevent multiple submits of similar form, you can set to solve the


client's token. Is generated each time the server returns a different id to the client,


while


preserving


the


session,


the


client


submits


the


form


must


also


return


the


id


server,


the program first compares the return of id and the value stored in the session are the


same


in


,


and


if


not


then


explain


this


operation


has


been


submitted


before.


Can


see



Core Model


of the layer model. Note that the


use of javascript


to open the window, generally do not set the id, or use a separate id, to prevent the


main window does not


operate, it is recommended


not


to


open the


window


make


changes to operations, so that you can not set.



9,


why


change


the


session


in


Weblogic


Server


to


re-call


after


the


value


of


a


ue


In


order


to


do


this


action


is


mainly


in


the


cluster


environment


prompted


Weblogic


Server


session in the value has changed, need to copy to other server processes the value of


the new session.



10 Why is gone session


Rule out the failure


factors, the normal session, the server itself will be very little



17





- 7 -




possibility,


although


the


author


plus


a


number


of


patches


in


iPlanet6SP1


Solaris


version


has


faced


down;


the


possibility


of


browser


plug- second,


I


also


encountered


3721


plug-in


caused problems; theory firewall or proxy server in cookie handling could also be a


problem.


Most of the reasons for this problem occurs, the errors are the most common is an


application to access another application. We discuss this issue in the next section.


7, cross-application sharing session



Often


such


a


situation,


a


large


project


divided


into


a


number


of


small


project


development,


in order to be able to interference from each other, requires that each small item as


a separate web application development, but to suddenly find that last between a few


small projects need to share some information, or want to use the session to achieve


SSO (single sign on), stored in the session login user information, the most natural


requirement is that between applications can access each other's session.



However, in accordance with the Servlet Specification, session of the current scope


should


be


limited


to


application


procedures,


between


the


different


applications


can


not


access each other's session of each other. Each application server, both from the


practical


effect


of


compliance


with


this


specification,


but


implementation


details


might


vary, so to address cross-application session to share the methods are different.



First of all, look at the Tomcat web application is how to achieve isolation between


the session, from Tomcat to set the cookie path of view, its application in different


set cookie path is different, so different applications used by the session id is


different, so even in the same browser window access different applications, sent to


the server's session id can be different.



According to this feature, we can speculate Tomcat in the session memory structure as


follows.



I've


used


the


iPlanet


also


used


the


same


way,


it


is


estimated


between


SunONE


and


iPlanet


will not be much difference. For the server this way, the idea is very simple to solve,


the actual practice it is not difficult. Or all applications sharing a session id, or


let the application access to other applications session id.



iPlanet there is a very simple way to achieve sharing a session id, that is the path


of each application of the cookie are set to / (in fact should be / NASApp, for the


application in terms of its functions as the root).



/ NASApp




Note


that


the


operation


of


some


shared


session


should


follow


the


programming


conventions,


such


as


session


attribute


name


preceded


by


the


prefix


of


the


application,


making


setAttribute


(



into


setAttribute


(



to


avoid


namespace


conflicts, leading to overwrite each other.




In Tomcat the choice is not so easy. In the Tomcat version 3, we also have some means



17





- 8 -



-


-


-


-


-


-


-


-



本文更新与2021-02-09 15:47,由作者提供,不代表本网站立场,转载请注明出处:https://www.bjmy2z.cn/gaokao/622141.html

有关进销存管理系统中英文翻译的相关文章

  • 爱心与尊严的高中作文题库

    1.关于爱心和尊严的作文八百字 我们不必怀疑富翁的捐助,毕竟普施爱心,善莫大焉,它是一 种美;我们也不必指责苛求受捐者的冷漠的拒绝,因为人总是有尊 严的,这也是一种美。

    小学作文
  • 爱心与尊严高中作文题库

    1.关于爱心和尊严的作文八百字 我们不必怀疑富翁的捐助,毕竟普施爱心,善莫大焉,它是一 种美;我们也不必指责苛求受捐者的冷漠的拒绝,因为人总是有尊 严的,这也是一种美。

    小学作文
  • 爱心与尊重的作文题库

    1.作文关爱与尊重议论文 如果说没有爱就没有教育的话,那么离开了尊重同样也谈不上教育。 因为每一位孩子都渴望得到他人的尊重,尤其是教师的尊重。可是在现实生活中,不时会有

    小学作文
  • 爱心责任100字作文题库

    1.有关爱心,坚持,责任的作文题库各三个 一则150字左右 (要事例) “胜不骄,败不馁”这句话我常听外婆说起。 这句名言的意思是说胜利了抄不骄傲,失败了不气馁。我真正体会到它

    小学作文
  • 爱心责任心的作文题库

    1.有关爱心,坚持,责任的作文题库各三个 一则150字左右 (要事例) “胜不骄,败不馁”这句话我常听外婆说起。 这句名言的意思是说胜利了抄不骄傲,失败了不气馁。我真正体会到它

    小学作文
  • 爱心责任作文题库

    1.有关爱心,坚持,责任的作文题库各三个 一则150字左右 (要事例) “胜不骄,败不馁”这句话我常听外婆说起。 这句名言的意思是说胜利了抄不骄傲,失败了不气馁。我真正体会到它

    小学作文