社交网站_外文翻译

时间:2019-05-13 22:31:22下载本文作者:会员上传
简介:写写帮文库小编为你整理了多篇相关的《社交网站_外文翻译》,但愿对你工作学习有帮助,当然你在写写帮文库还可以找到更多《社交网站_外文翻译》。

第一篇:社交网站_外文翻译

社交网站

我们定义的社交网络站点作为基于Web的服务,允许个人:(1)有界系统内构建一个公共或半公共的配置文件。(2)阐明列表中的其他用户,与他们共享一个连接。

(3)查看和遍历他们的名单和那些由其他系统内的连接。性质和命名这些连接可能会有所不同,从站点到站点。

虽然我们使用的术语―社交网站‖来形容这种现象,―社交网站‖也出现在公共话语中,经常交替使用这两个术语。我们选择不采用―联网‖的原因有两个:重点和范围。―物联网‖强调关系启动,往往陌生人之间。虽然网络是可能在这些网站上,它是不是主要的做法,他们中的许多,也不是有什么区别他们从其他形式的计算机中介传播(CMC)。

是什么让独特的社交网站并不是说他们允许个人见陌生人,而是他们让使用者能够表达,使人们看到他们的社交网络。这可能会导致个人之间的连接,否则不会进行,但往往不是我们的目标,而这些会议之间―的潜在关系‖(Haythornthwaite,2005年)谁分享一些脱机连接频繁。许多大型SNS网站,参与者不一定―网络‖或寻找,以满足新的人,相反,它们是人谁已经扩展社交网络的一部分,他们的主要沟通。为了强调这一点明确的社会网络,这些网站作为一个重要的组织特征,我们将它们标记―社交网站‖。

虽然SNS网站已经实施了各种各样的技术特点,他们的骨干组成可见型材显示铰接式的Friends1谁也系统的用户列表。配置文件是独特的网页,人们可以―输入自己的应运而生‖(松登,2003年,第3页)。在加入一个SNS,一个人被要求填写表格,包含了一系列的问题。回答这些问题,这些问题通常包括描述符,如年龄,位置,兴趣,和一个―关于我‖一节使用该配置文件。大多数网站还鼓励用户上传的个人资料照片。有些网站允许用户添加多媒体内容,或修改他们的个人资料的外观和感觉,以提高他们的档案。其他,如Facebook,允许用户添加模块(―应用程序‖),提高他们的个人资料。

在一个档案中的知名度不同的网站,并根据用户的自由裁量权。默认情况下,型材Friendster和Tribe.net被搜索引擎抓取,使他们的人看到,无论是否观众有一个帐户。另外,LinkedIn的控制的基础上,他或她是否有付费帐户,观众可能会看到什么。像MySpace允许用户来选择他们是否希望他们的个人资料,以成为公众或―朋友只。‖Facebook的一个不同的方法默认情况下,谁是在相同的―网络‖的一部分用户可以查看对方的轮廓,除非一个轮廓所有者已决定拒绝那些在其网络的权限。结构变化的可视性和访问社交网站区别于对方的主要方式之一。

加入一个社交网络站点后,会提示用户识别系统与他们有关系的人在。这些关系的不同而有所不同的标签对网站热门词汇,包括―朋友‖,―联系人‖和―粉丝‖,大多数SNS网站需要双向确认的友谊,但有些则没有。这些单向的关系有时会标示为―粉丝‖或―关注‖,但许多网站称这些朋友。

―朋友‖一词是误导,因为连接并不一定意味着在日常白话感的友谊,人们连接的原因是多种多样的(博伊德,2006A)。

公共显示器的连接是SNS网站的重要组成部分。好友列表中包含链接到每个朋友的个人资料,使观众通过点击好友列表遍历网络图。在大多数网站,好友列表是可见的人谁被允许查看配置文件,但也有例外。例如,一些MySpace的用户已经破解隐藏好友显示他们的个人资料,LinkedIn允许用户选择退出显示其网络。

大多数SNS网站还提供了一种机制,用户朋友的个人资料上留下消息。此功能通常涉及离开―的评论,‖虽然网站使用此功能的各种标签。此外,SNS网站往往有一个私人消息功能类似的webmail。虽然私人消息和评论上流行的主要SNS网站,他们尚未普及。

并非所有的社交网络网站等开始。

QQ作为中国的即时通讯服务,LunarStorm开始作为一个社区网站,赛我网作为韩国的讨论区工具,以及环讯(原Skyblog)的加入SNS功能,是法国前博客服务。

Classmates.com,学校联营公司在1995年推出的一个目录,开始支持SNS网站走红后,铰接式好友列表。在2005-2006年与SNS的功能和结构,然后再重新启动,MiGente AsianAvenue,BlackPlanet早期流行的民族社区网站与好友的功能有限。

虽然SNS网站的设计通常是普及,许多吸引同质人群最初,因此它并不少见找到组使用网站分开自己的国籍,年龄,教育程度,或其他因素,通常段的社会(Hargittai,这个问题)即使那是在没有设计师的意图。字的口碑策略有吸引力,因为他们结合消费者克服阻力显着降低成本和快速的交付,尤其是通过技术,如互联网的前景。不幸的是,目前scantregarding经验证据的相对有效性口碑营销提高企业绩效随着时间的推移。这就提出了一个需要研究企业如何测量WOM通信和口碑如何与其他形式的营销传播效果。

字的口碑营销是互联网上的一个特别突出的特点。互联网为消费者提供了大量的场地,分享自己的观点,喜好,或与别人的经验,以及公司利用口碑营销的机会。正如一位评论家指出,―折腾了数百万美元的超级碗广告,而不是初出茅庐的dot-com公司正试图通过吸引注意力的营销策略,如博客和[口碑]运动‖(2006年,惠特曼B3A页)便宜得多。因此,重要的是要了解是否口碑才是真正有效的,如果是这样,如何与传统营销活动的影响比较。

万维网发展最快的舞台之一是所谓的社交网站的空间。社交网站通常由一小群发送了邀请函,以自己的个人网络的成员加入该网站的创始人发起的。反过来,新的

成员发送邀请到他们的网络,等等。

因此,邀请函(即口碑推荐)网站获得新的成员一直是最重要的推动力。随着社交网站的成熟,他们可能会开始增加他们的传统营销工具的使用。因此,在这个阶段,管理层可能会开始质疑口碑的相对有效性。

本研究的目的是开发和估计一个模型,捕捉新成员收购,口碑转介,与传统营销活动之间的动态关系。在这样做,我们提供一些贡献。

首先,我们之间的第一次直接观察到的口碑链接

吸纳新客户。其次,我们将展示如何配装有口碑与传统营销的措施(例如,增加口碑营销行动的活动,这反过来又增加了新的成员收购)的直接影响和间接影响。我们经验证明,我们的数据集,新加入的会员UPS,这些营销变量之间的内生性。这突出表明,需要考虑到这些间接影响口碑与传统营销的效果,以避免偏估计。第三,我们量化和对比口碑和传统的营销行动,立即和长期弹性。特别是,我们结转效果强的口碑在我们的数据文件。最后,我们估计货币价值附加到每个口碑推荐,提供一个上限的财政奖励管理可能会考虑提供口碑推荐。事实上,这种做法的播种或刺激口碑已迅速增长,但这一活动的有效性仍然很难量化(例如,戈德斯和Mayzlin 2004的)。

我们本文的其余部分组织如下:首先,我们总结前人的研究,以帮助的角度,把我们的贡献。然后,我们描述我们的建模方法。接下来,我们提出了我们的实证分析的数据合作的互联网社交网站,并提供理论和管理者的影响。特别是,我们发现,口碑推荐强烈影响收购新客户,并具有比传统的营销形式由该公司与3至7天(21天)显着较长的结转。我们估计口碑的长期弹性为0.53-约20-30倍,高于传统营销的弹性。

Social Network Sites: Definition, History, and Scholarship

danah m.boyd, Nicole B.Ellison

Journal of Computer-Mediated Communication, Volume 13, Issue 1, pages 210–230, October 2007

Social Network Sites: Definition We define social network sites as web-based services that allow individuals to(1)construct a public or semi-public profile within a bounded system,(2)articulate a list of other users with whom they share a connection, and(3)view and traverse their list of connections and those made by others within the system.The nature and nomenclature of these connections may vary from site to site.While we use the term ―social network site‖ to describe this phenomenon, the term ―social networking sites‖ also appears in public discourse, and the two terms are often used interchangeably.We chose not to employ the term ―networking‖ for two reasons: emphasis and scope.―Networking‖ emphasizes relationship initiation, often between strangers.While networking is possible on these sites, it is not the primary practice on many of them, nor is it what differentiates them from other forms of computer-mediated communication(CMC).What makes social network sites unique is not that they allow individuals to meet strangers, but rather that they enable users to articulate and make visible their social networks.This can result in connections between individuals that would not otherwise be made, but that is often not the goal, and these meetings are frequently between ―latent ties‖(Haythornthwaite, 2005)who share some offline connection.On many of the large SNSs, participants are not necessarily ―networking‖ or looking to meet new people;instead, they are primarily communicating with people who are already a part of their extended social network.To emphasize this articulated social network as a critical organizing feature of these sites, we label them ―social network sites.‖

While SNSs have implemented a wide variety of technical features, their backbone consists of visible profiles that display an articulated list of Friends1 who are also users of the system.Profiles are unique pages where one can ―type oneself into being‖(Sundén, 2003, p.3).After joining an SNS, an individual is asked to fill out forms containing a series of questions.The profile is generated using the answers to these questions, which typically include descriptors such as age, location, interests, and an ―about me‖ section.Most sites also encourage users to upload a profile photo.Some sites allow users to enhance their profiles by adding multimedia content or modifying their profile’s look and feel.Others, such as Facebook, allow users to add modules(―Applications‖)that enhance their profile.The visibility of a profile varies by site and according to user discretion.By default, profiles on Friendster and Tribe.net are crawled by search engines, making them visible to anyone, regardless of whether or not the viewer has an account.Alternatively, LinkedIn controls what a viewer may see based on whether she or he has a paid account.Sites like MySpace allow users to choose whether they want their profile to be public or ―Friends only.‖ Facebook takes a different approach—by default, users who are part of the same ―network‖ can view each other’s profiles, unless a profile owner has decided to deny permission to those in their network.Structural variations around visibility and access are one of the primary ways that SNSs differentiate themselves from each other.After joining a social network site, users are prompted to identify others in the system with whom they have a relationship.The label for these relationships differs depending on the site—popular terms include ―Friends,‖―Contacts,‖ and ―Fans.‖ Most SNSs require bi-directional confirmation for Friendship, but some do not.These one-directional ties are sometimes labeled as ―Fans‖ or ―Followers,‖ but many sites call these Friends as well.The term ―Friends‖ can be misleading, because the connection does not necessarily mean friendship in the everyday vernacular sense, and the reasons people connect are varied(boyd, 2006a).The public display of connections is a crucial component of SNSs.The Friends list contains links to each Friend’s profile, enabling viewers to traverse the network graph by clicking through the Friends lists.On most sites, the list of Friends is visible to anyone who is permitted to view the profile, although there are exceptions.For instance, some MySpace users have hacked their profiles to hide the Friends display, and LinkedIn allows users to opt out of displaying their network.Most SNSs also provide a mechanism for users to leave messages on their Friends’ profiles.This feature typically involves leaving ―comments,‖ although sites employ various labels for this feature.In addition, SNSs often have a private messaging feature similar to webmail.While both private messages and comments are popular on most of the major SNSs, they are not universally available.Not all social network sites began as such.QQ started as a Chinese instant messaging service, LunarStorm as a community site, Cyworld as a Korean discussion forum tool, and Skyrock(formerly Skyblog)was a French blogging service before adding SNS features.Classmates.com, a directory of school affiliates launched in 1995, began supporting articulated lists of Friends after SNSs became popular.AsianAvenue, MiGente, and BlackPlanet were early popular ethnic community sites with limited Friends functionality before re-launching in 2005–2006 with SNS features and structure.While SNSs are often designed to be widely accessible, many attract homogeneous populations initially, so it is not uncommon to find groups using sites to segregate themselves by nationality, age, educational level, or other factors that typically segment society(Hargittai, this issue), even if that was not the intention of the designers.Word-of-mouth communication strategies are appealing because they combine the prospect of overcoming consumer resistance with significantly lower costs and fast delivery—especially through technology, such as the Internet.Unfortunately, empirical evidence is currently scantregarding the relative effectiveness of WOM marketing in increasing firm performance over time.This raises the need to study how firms can measure the effects of WOM communications and how WOM compares with other forms of marketing communication.Word-of-mouth marketing is a particularly prominent feature on the Internet.The Internet provides numerous venues for consumers to share their views, preferences, or experiences with others, as well as opportunities for firms to take advantage of WOM marketing.As one commentator stated, ―Instead of tossing away millions of dollars on Superbowl advertisements, fledgling dot-com companies are trying to catch attention through much cheaper marketing strategies such as blogging and [WOM] campaigns‖(Whitman 2006, p.B3A).Thus, it is important to understand whether WOM is truly effective and, if so, how its impact compares with traditional marketing activities.One of the fastest-growing arenas of the World Wide Web is the space of so-called social networking sites.A social networking site is typically initiated by a small group of founders who send out invitations to join the site to the members of their own personal networks.In turn, new members send invitations to their networks, and so on.Thus, invitations(i.e., WOM referrals)have been the foremost driving force for sites to acquire new members.As social networking sites mature, they may begin to increase their use of traditional marketing tools.Therefore, management may begin to question the relative effectiveness of WOM at this stage.The objective of this research is to develop and estimate a model that captures the dynamic relationships among new member acquisition, WOM referrals, and traditional marketing activities.In doing so, we offer several contributions.First, we are among the first to link observed WOM directly to new customer acquisition.Second, we show how toincorporate both the direct effects and the indirect effects of WOM and traditional marketing actions(e.g., a marketing action increases WOM activity, which in turn increases new member acquisition).We empirically demonstrate, for our data set, the endogeneity among new member sign-ups and these marketing variables.This highlights the need to account for these indirect effects to avoid biased estimates for both WOM and traditional marketing effects.Third, we quantify and contrast the immediate and long-term elasticities of WOM and traditional marketing actions.In particular, we document strong carryover effects for WOM in our data.Finally, we attach an estimated monetary value to each WOM referral, providing an upper bound to the financial incentive management might consider offering for WOM referrals.Indeed, the practice of seeding or stimulating WOM has grown rapidly, but quantifying the effectiveness of this activity remains difficult(e.g., Godes and Mayzlin 2004).We organize the remainder of this article as follows: We begin by summarizing previous research to help put our contributions in perspective.We then describe our modeling approach.Next, we present our empirical analysis of the data from a collaborating Internet social networking site and offer implications for theory and managers.In particular, we find that WOM referrals strongly affect new customer acquisitions and have significantly longer carryover than traditional forms of marketing used by the firm(21 days versus 3 to 7 days).We estimate a long-term elasticity for WOM of.53—approximately 20–30 times higher than the elasticities for traditional marketing.

第二篇:网站远程管理外文翻译

湖北大学本科毕业论文(设计)外文翻译

外文翻译:

浅谈网络中的远程控制

原文来源:

Rabiner, L.R.;Gold, B.Englewood Cliffs, N.J., Prentice-Hall, Inc., 2009 p.译文正文:

摘要:在网络高速发展的今天,随着计算机应用的普及,远程控制也逐渐被人们所关注。远程控制是网络的一大优势,在网络管理、远程协作、远程办公等计算机领域都有着广泛的应用,它进一步克服了由于地域性的差异而带来的操作中的不便性,使得网络的效率得到了更大的发挥。远程控制可通过多种方法加以实现。关键词:远程控制;遥控操作;技术应用;实现方法 计算机远程控制

计算机远程控制是在网络上由一台电脑(主控端Remote/客户端)远距离去控制另一台电脑(被控端Host/J]服务器端)的技术⋯。这里的远程不是字面意思的远距离,而是指通过网络来对远端的计算机实施遥控。

远程控制只是通过网络来操纵计算机的一种手段而已,只要运用得当,操纵远程的计算机也就如同你操纵眼前正在使用的计算机一样没有任何区别。当操作者使用主控端电脑控制被控端电脑时,就如同坐在被控端电脑的屏幕前一样,可以启动被控端电脑的应用程序,可以使用被控端电脑的文件资料,甚至可以利用被控端电脑的外部打印设备和通信设备来进行打印和访问互联网。在这个过程中主控端电脑只是将键盘和鼠标的指令传送给远程电脑,同时将被控端电脑的屏幕画面通过通信线回传过来。也就是说,我们控制被控端电脑进行操作似乎是在眼前的电脑上进行的,实质是在远程的电脑中实现的,不论打开文件,还是上网浏览、下载,所有的资料和上网等都是存储在远程的被控端电脑中的。

实行远程控制,实际上就是一个服务器程序(以下简称被控程序)和一个客户程序(以下简称主控程序),被控方即为服务器程序,它监听客户的请求,并做出处理;主控方即为客户程序,它连接上服务器后,发出自己的请求,服务器便根据客户的请求做出不同的响应。远程控制系统组成如图1所示。

当今的远程控制技术支持的网络方式有:LAN、WAN、拨号方式、互联网方式。此外,有的远程控制软件还支持通过串口、并口、红外端口来对远程机进行控制。远程控制克服了由于地域性的差异而带来的操作中的不便性,使得网络的效率得到了更大的发挥。

2远程控制的技术实现

2.1远程控制的原理

“只要网络有通路就可以实现远程控制”,远程控制必须通过网络才能进行。位于本地的、已被安装了客户端程序的主控端是操纵指令的发出端,它像一个普通客户一样向非本地、安装了服务器端程序的被控端发出信号,建立并通过一个特殊的远程服务,使用各种远程控制功能发送远程控制命令,控制被控端电脑中的各种应用程序运行,使得被控端按照主控端的 要求进行各种操作,从而实现远程控制的目的。图2远程控制示意图

湖北大学本科毕业论文(设计)外文翻译

通过网络实现的远程控制示意图如图2所示。

2.2远程控制实现方法

2.2.1 利用微软Windows XP系统中远程控制功能

每台Windows XP电脑都同时包括客户端和服务器端,也就是说它既可以当成客户端来连接其他的Windows XP电脑,也可以将自己当成服务器端,让别的电脑来控制自己。服务器端的系统都是使用Windows XP,而客户端就可以是Windows XP、Windows 2000或者Windows Me,并且对客户端没有语言的限制。用户可以利用远程桌面通过网络对远程计算机进行控制,控制后可以访问所有应用程序、文件和网络资源等。

2.2.2利用一些功能强大的远程控制软件。

远程控制技术发展到今天,产生了许多优秀的远程控制软件,有提供多层次安全防护的远程遥控软件,还有加速远程遥控操作软件,以及更加利于快速文档传送的控制软件。还有如“RemotelyAnywhere”只需在服务器端一次性安装,客户端在网络中不需要再增加任何软件,就可以直接通过浏览器来对服务器进行远程控制。它不仅仅只是让客户端能够远程控制服务器的桌面,还可以给多个用户设置不同的权限,以便让他们根据授权对服务器的文件管理器、注册表等项目进行查询和管理;它允许服务器和客户端之间传递剪贴板,也可实现普通文档的传送。另外,一些集远程控制、数据通信和文件传输等功能于一体,具有很高的数据传输效率和系统安全保障的远程控制系统正在被推广。

2.2.3根据实际需求开发实现远程控制

自行开发实现远程控制,涉及主控机和受控机,故采用Client/Server结构。可以用Delphi编程环境分别在两台不同的电脑上编制控制和被控制程序,一个为Clientdpr.exe,装在受控机上;另一个为Serverdpr.exe,装在主控机上。Serverdpr.exe指定要监视的受控机的IP地址和发送指令给客户机的Clientdpr.exe,客户机的Clientdpr.exe得到指令后,接着在本机执行相应指令,将结果返回给主控机。主控方的功能是这样实现的:读取命令串一将命令串转换成数组一清除内存流一指定目标计算机(通过读取所输入的IP地址)一将指令码发送给目标计算机。当主控机将指令发给受控机后,受控机将在本机上调用Windows的应用程序接口API函数以执行所接收的指令。当受控机接收到数据时,便开始执行主控机发送的操作。具体操作是这样的:读取控制码_+识别控制码一执行相应的过程或API函数以达到相应的功能。结束语

远程控制虽然可以方便地操纵远程计算机,给人们带来很多便利,但它也会由此带来安全方面的隐患。随着远程控制市场的成熟,网络安全变得越发重要,只有彻底解决这一关键问题,才能促进远程控制真正走向应用。

湖北大学本科毕业论文(设计)外文翻译

Remote control of network

Abstract: The rapid development of the network today, with the popularization of computer applications, remote control have gradually been of concern to the people.Network remote control is a major advantage in network management, remote collaboration, remote office and other computer fields have a wide range of applications, it further to overcome regional differences in the operation brought the inconvenience, making the network efficiency Given greater play.Remote control can be achieved through a variety of ways.Keywords: remote control;remote operation;technology;Implementation 1 computer remote control

Computer remote control is on the network by a computer(host Remote / Client)remote to control another computer technology.Here is not the literal meaning of the long-distance remote, but rather through the network to the remote computer on the implementation of remote control.Remote control is to manipulate the computer through the network as a means only, if used properly, will control the remote computer as you manipulate the front of the computer being used as there is no difference.When the operator using the host computer control host computer to host computer as if sitting in front of the screen as the computer can start the host application, you can use the host computer documentation, or even Host computer using the external printing device and communications equipment to print and access the Internet.In this process, host computer is just a keyboard and mouse commands sent to the remote computer, while host computer's screen image come through the communication line return.That is, we control the host computer to operate in front of the computer seems to be carried out, in essence, a remote computer to achieve, whether to open the file, or Web browsing, downloading, all the information and the Internet are all Stored in the remote host computer.Implementation of remote control, in fact, a server program(hereinafter referred to as charged program)and a client(hereinafter referred to as master control program), the prosecution is the server program that listens to customer requests, and to deal with it;Master Is the client side, it is connected to the server, to make their request, the server will be made according to customer's request a different response.Remote control system shown in Figure 1.Today's technical support network remote control methods are: LAN, WAN, dial-up Internet way.In addition, some remote control software also supports serial, parallel, infrared port to control a remote machine.Remote control to overcome regional differences in the operation brought the inconvenience, make the network to play a greater efficiency.2 remote control technology 2.1 Principles of remote control

“As long as the network has access to connect remote control ”, remote control must be carried out through the network.At local, has been installed, the host is a client program to issue control instructions side, it is the same as an ordinary customer to non-local, the installation of the host server program signals, and through the establishment of a special Remote service, using a variety of remote control function to send a remote control command, control, host computers running various applications, making the host in accordance with the master's

湖北大学本科毕业论文(设计)外文翻译

Requirements for various operations, in order to achieve the remote control.Figure 2 Schematic diagram of the remote control

Remote control through the network diagram shown in Figure 2.2.2Implementation of Remote Control 2.2.1 Microsoft Windows XP system using the remote control function

Windows XP computers each include both client and server side, meaning that both can be used as a client to connect to other Windows XP computer, you can also themselves as the server side, so that other computer to control themselves.Server systems are using Windows XP, the client can be Windows XP, Windows 2000 or Windows Me, and the client without language restrictions.Users can use the Remote Desktop computer through the network to the remote control, after controlling for access to all applications, files and network resources.2.2.2 using some powerful remote control software.Remote control technology to today, have a lot of great remote control software, providing multi-level security protection for remote control software, as well as speed up the remote control operating software, and more conducive to the rapid document transmission control software.Also, as “RemotelyAnywhere” just a one-time installation on the server side, the client in the network do not need to add any software to connect directly through the browser on the server for remote control.It is not just the client to remotely control the server's desktop, but also can set different permissions for multiple users so that they are under the authority of the server's file manager, registry, query and manage projects;it allows the server and Clipboard passed between the client can also be transmitted to achieve common document.In addition, some set of remote control, data communications and file transfer and other functions into one, with high data transmission efficiency and system security remote control system is being promoted.2.2.3 Development and implementation of the actual needs of the remote control

Develop their own remote control, involving the host computer and controlled machines, so the use of Client / Server structure.Delphi programming environment can be used separately on two different computers to be controlled preparation of control and procedures, one for Clientdpr.exe, installed in the controlled machine;one for Serverdpr.exe, installed in the main computer on.Serverdpr.exe designated to monitor the controlled machine IP address and send instructions to the client Clientdpr.exe, client Clientdpr.exe get command, and then execute the corresponding instructions in the machine, the results are returned to the host computer.Master side function is implemented as follows: Read command string into a string array of commands to clear the memory of a stream to a specified target computer(by reading the entered IP address)to send the script to a target computer.When the command sent to the host computer controlled machine, the machine will be controlled on the unit's application program interface calls Windows API functions to perform the received command.When the controlled unit receives the data, they begin to send the host computer operation.To do this: Read identification control code _ + implementation of the corresponding control code for a procedure or function to achieve the appropriate API function.3 Conclusion

Although the remote control can easily manipulate the remote computer, to bring a lot of convenience, but it also the resulting security risks.As the market matures remote control, network security becomes more important, only solve this critical issue, to really go for remote

control applications.

第三篇:网站建设技术外文翻译(精选)

原文:

On site construction technology.Introduction

The development of network technology for today's global information exchange and sharing funding source in the establishment of contacts and provide more channels and possible.Homes will be known world affairs, according few keyboard or a few mouse clicks can be distant friends thousands of miles away exchanges, and online communications, Internet browsing, on-line interactive, e-commerce has become a modern part of people's lives.Internet era, has created the new people's work and lifestyle, the Internet, openness and sharing of information model, breaking the traditional mode of information dissemination many barriers for people with new opportunities.With computers and the advent of the information age, the pace of the advance of human society in gradually accelerated.In recent years the development of web design, fast people occupied.With the development of web design, a colorful online website together one scenic beauty.To design aesthetic and practical web site should be thoroughly master the building techniques.In building site, we analyzed the websites of objectives, contents, functions, structure, the application of more web design technology.2.the definition of website

How definition of websites 2.1

Web site identified the tasks and objectives, the building site is the most important issue.Why people will come to your website? You have a unique service? The first people to your website is to what? They will come back? All these issues must be taken into account when the site definition of the problem.Definition site to, first of all, the entire site must have a clear understanding of what the design should understand in the end, the main purpose of the mission, how to carry out the task of organization and planning.Second, to maintain the high-quality Web site.Many websites in the face of strong competition from high-quality product is the greatest long-term competitive advantage.An excellent Web site should have the following:

(1)users visit Web site is faster.(2)attention to the feedback and updates.To update the content of the website and timely feedback the user's requirements;

(3)Home design to be reasonable.Home to the first impression left by visitors is important, the design must be attractive in order to have a good visual effect.2.2 The contents of the website and function

The content of the web site is to be a new, fast, all three sides.The content of the website, including the type of static, dynamic, functional and things to deal with.Website content is determined in accordance with the nature of the site, in the design of the site, commercial websites, popular science site, company websites, teaching and exchange websites, the content and style are different.We have established websites with the nature of these types of sites are not the same.2.3 The structure website(1)site structure;

(2)definition of navigation;(3)Visual Design;

(4)framework and design pages.3.Site Design and Implementation

With increasing demands on design, high style, high-grade design work before gaining popularity.This also to the designers have put forward higher requirements, from this point of view, the plate design is to meet the requirements of the people should be and Health.The rapid development of science and technology, the Internet into millions of households, also produced a new design space, and a new web design an important part of the field of design.Excellent web design, we must have good creative, so that the audience can be difficult to shift attention long time, produce power.Layout is very important, through text, graphics space portfolio, can best express harmony with the United States.If you want to further understand website design, made separately from other web site's homepage, you need to have more like CSS, javascript, CGI, and other web design technology.In building on the site of the CSS, javascript and other web design technology.CSS 3.1 Application Design website

(1)What is CSS? CSS is a style sheet(stylesheet)technology.Some of them called CSS(Cascading Stylesheet).(2)the combination of CSS and HTML form.Mode 1: The CSS content, as defined in the writing between the labels.Mode 2: CSS will be preserved as a separate text file, and then from labels to call.(3)CSS the web site of examples.The web site pages, and increase the following definition so that the pages show with special effects.3.2 Application Design website javascript

Javascript and the emergence of making information between users is not only a display and browse the relationship, but to achieve a real-time, dynamic, cross-expression.Thus based on the CGI static HTML pages will be to provide dynamic real-time information, and customer response to the operation of the Web pages replaced.javascript scripting is satisfy this demand arising from the language.It's loved by extensive user.Many scripting language it is in a relatively good..A.S.Boranbayev, Optimal Methods for Java Web Services, News of the National Academy of Science of the Republic of Kazakhstan, 5(2007), 38-43.

第四篇:jsp技术网站设计外文翻译

外文翻译

工 学 部

业 班

级 学

号 姓

名 指导教师 负责教师

工学一部 网络工程 B741111 B74111104 王雨娉 潘琢金

沈阳航空航天大学北方科技学院

2011年6月沈阳航空航天大学北方科技学院毕业设计(论文)外文翻译——原文

Combining JSP and Servlets The technology of JSP and Servlet is the most important technology which use Java technology to exploit request of server, and it is also the standard which exploit business application.Java developers prefer to use it for a variety of reasons, one of which is already familiar with the Java language for the development of this technology are easy to learn Java to the other is “a preparation, run everywhere” to bring the concept of Web applications, To achieve a “one-prepared everywhere realized.” And more importantly, if followed some of the principles of good design, it can be said of separating and content to create high-quality, reusable, easy to maintain and modify the application.For example, if the document in HTML embedded Java code too much(script), will lead the developed application is extremely complex, difficult to read, it is not easy reuse, but also for future maintenance and modification will also cause difficulties.In fact, CSDN the JSP / Servlet forum, can often see some questions, the code is very long, can logic is not very clear, a large number of HTML and Java code mixed together.This is the random development of the defects.Early dynamic pages mainly CGI(Common Gateway Interface, public Gateway Interface)technology, you can use different languages of the CGI programs, such as VB, C / C + + or Delphi, and so on.Though the technology of CGI is developed and powerful, because of difficulties in programming, and low efficiency, modify complex shortcomings, 沈阳航空航天大学北方科技学院毕业设计(论文)外文翻译——原文

it is gradually being replaced by the trend.Of all the new technology, JSP / Servlet with more efficient and easy to program, more powerful, more secure and has a good portability, they have been many people believe that the future is the most dynamic site of the future development of technology.Similar to CGI, Servlet support request / response model.When a customer submit a request to the server, the server presented the request Servlet, Servlet responsible for handling requests and generate a response, and then gave the server, and then from the server sent to the customer.And the CGI is different, Servlet not generate a new process, but with HTTP Server at the same process.It threads through the use of technology, reduce the server costs.Servlet handling of the request process is this: When received from the client's request, calling service methods, the method of Servlet arrival of the first judgement is what type of request(GET / POST / HEAD…), then calls the appropriate treatment(DoGet / doPost / doHead…)and generate a response.Although such a complex, in fact, simply said to Servlet is a Java class.And the general category of the difference is that this type operating in a Servlet container, which can provide session management and targeted life-cycle management.So that when you use the Servlet, you can get all the benefits of the Java platform, including the safety of the management, use JDBC access the database and cross-platform capability.Moreover, Servlet using thread, and can develop more efficient Web applications.JSP technology is a key J2EE technology, it at a higher level of abstraction of a Servlet.沈阳航空航天大学北方科技学院毕业设计(论文)外文翻译——原文

It allows conventional static and dynamic HTML content generated by combining an HTML page looks like, but as a Servlet to run.There are many commercial application server support JSP technology, such as BEA WebLogic, IBM WebSphere, JRun, and so on.JSP and Servlet use more than simple.If you have a JSP support for Web servers, and a JSP document, you can put it Fangdao any static HTML files can be placed, do not have to compile, do not have to pack, do not have to ClassPath settings, you can visit as ordinary Web It did visit, the server will automatically help you to do other work.JSP document looks like an ordinary static HTML document, but inside contains a number of Java code.It uses.Jsp the suffix, used to tell the server this document in need of special treatment.When we visit a JSP page, the document will first be translated into a JSP engine Java source files, is actually a Servlet, and compiler, and then, like other Servlet, from Servlet engine to handle.Servlet engine of this type loading, handling requests from customers, and the results returned to the customer, as shown below:

Figure 1: Calling the process of JSP pages 沈阳航空航天大学北方科技学院毕业设计(论文)外文翻译——原文

After another visit this page to the customer, as long as the paper there have been no changes, JSP engine has been loaded directly call the Servlet.If you have already been modified, it will be once again the implementation of the above process, translate, compile and load.In fact, this is the so-called “first person to punishment.” Because when the first visit to the implementation of a series of the above process, so will spend some time after such a visit would not.Java servlets offer a powerful API that provides access to all the information about the request, the session, and the application.combining JSP with servlets lets you clearly separate the application logic from the presentation of the application;in other words, it lets you use the most appropriate component type for the roles of Model, View and Controller.Servlets, Filters, and Listeners

A servlet is a Java class that extends a server with functionality for processing a request and producing a response.It's implemented using the classes and interfaces defined by the Servlet API.The API consists of two packages: the javax.servlet package contains classes and interfaces that are protocol-independent, while the javax.servlet.http package provides HTTP-specific extensions and utility classes.What makes a servlet a servlet is that the class implements an interface named javax.servlet.Servlet, either directly or by extending one of the support classes.This interface defines the methods used by the web container to manage and interact with the 沈阳航空航天大学北方科技学院毕业设计(论文)外文翻译——原文

servlet.A servlet for processing HTTP requests typically extends the javax.servlet.http.HttpServlet class.This class implements the Servlet interface and provides additional methods suitable for HTTP processing.Servlet Lifecycle The web container manages all aspects of the servlet's lifecycle.It creates an instance of the servlet class when needed, passes requests to the instance for processing, and eventually removes the instance.For an HttpServlet, the container calls the following methods at the appropriate times in the servlet lifecycle.Besides the doGet()and doPost()methods, there are methods corresponding to the other HTTP methods: doDelete(), doHead(), doOptions(), doPut(), and doTrace().Typically you don't implement these methods;the HttpServlet class already takes care of HEAD, OPTIONS, and TRACE requests in a way that's suitable for most servlets, and the DELETE and PUT HTTP methods are rarely used in a web application.It's important to realize that the container creates only one instance of each servlet.This means that the servlet must be thread safe--able to handle multiple requests at the same time, each executing as a separate thread through the servlet code.Without getting lost in details, you satisfy this requirement with regards to instance variables if you modify the referenced objects only in the init()and destroy()methods, and just read them in the request processing methods.沈阳航空航天大学北方科技学院毕业设计(论文)外文翻译——原文

Compiling and Installing a Servlet To compile a servlet, you must first ensure that you have the JAR file containing all Servlet API classes in the CLASSPATH environment variable.The JAR file is distributed with all web containers.Tomcat includes it in a file called servlet.jar, located in the common/lib directory.On a Windows platform, you include the JAR file in the CLASSPATH..Reading a Request One of the arguments passed to the doGet()and doPost()methods is an object that implements the HttpServletRequest interface.This interface defines methods that provide access to a wealth of information about the request.Generating a Response Besides the request object, the container passes an object that implements the HttpServletResponse interface as an argument to the doGet()and doPost()methods.This interface defines methods for getting a writer or stream for the response body.It also defines methods for setting the response status code and headers.Using Filters and Listeners The servlet specification defines two component types beside servlets: filters and listeners.These two types were introduced in the Servlet 2.3 specification, so if you're using a container that doesn't yet support this version of the specification, I'm afraid you're 沈阳航空航天大学北方科技学院毕业设计(论文)外文翻译——原文

out of luck.Filters A filter is a component that can intercept a request targeted for a servlet, JSP page, or static page, as well as the response before it's sent to the client.This makes it easy to centralize tasks that apply to all requests, such as access control, logging, and charging for the content or the services offered by the application.A filter has full access to the body and headers of the request and response, so it can also perform various transformations.One example is compressing the response body if the Accept-Language request header indicates that the client can handle a compressed response.A filter can be applied to either a specific servlet or to all requests matching a URL pattern, such as URLs starting with the same path elements or having the same extension.Listeners

Listeners allow your application to react to certain events.Prior to Servlet 2.3, you could handle only session attribute binding events(triggered when an object was added or removed from a session).You could do this by letting the object saved as a sessionattribute(using

the

HttpSession.setAttribute()

method)implement

the HttpSessionBindingListener interface.With the new interfaces introduced in the 2.3 version of the specification, you can create listeners for servlet context and session lifecycle events as well as session activation and passivation events(used by a container that temporarily saves session state to disk or migrates a session to another server).A new 沈阳航空航天大学北方科技学院毕业设计(论文)外文翻译——原文

session attribute event listener also makes it possible to deal with attribute binding events for all sessions in one place, instead of placing individual listener objects in each session.The new types of listeners follow the standard Java event model.In other words, a listener is a class that implements one or more of the listener interfaces.The interfaces define methods that correspond to events.The listener class is registered with the container when the application starts, and the container then calls the event methods at the appropriate times.Initializing Shared Resources Using a Listener Beans like this typically need to be initialized before they can be used.For instance, they may need a reference to a database or some other external data source and may create an initial information cache in memory to provide fast access even to the first request for data.You can include code for initialization of the shared resources in the servlet and JSP pages that need them, but a more modular approach is to place all this code in one place and let the other parts of the application work on the assumption that the resources are already initialized and available.An application lifecycle listener is a perfect tool for this type of resource initialization.This type of listener implements the javax.servlet.ServletContextListener interface, with methods called by the container when the application starts and when it shuts down.Picking the Right Component Type for Each Task The Project Billboard application introduced is a fairly complex application.Half the 沈阳航空航天大学北方科技学院毕业设计(论文)外文翻译——原文

pages are pure controller and business logic processing, it accesses a database to authenticate users, and most pages require access control.In real life, it would likely contain even more pages, for instance, pages for access to a shared document archive, time schedules, and a set of pages for administration.As the application evolves, it may become hard to maintain as a pure JSP application.It's easy to forget to include the access control code in new pages.This is clearly an application that can benefit from using a combination of JSP pages and the component types defined by the servlet specification for the MVC roles.Let's look at the main requirements and see how we can map them to appropriate component types:  Database access should be abstracted, to avoid knowledge of a specific data schema or database engine in more than one part of the application: beans in the role of Model can be used to accomplish this. The database access beans must be made available to all other parts of the application when it starts: an application lifecycle event listener is the perfect component type for this task. Only authenticated users must be allowed to use the application: a filter can perform access control to satisfy this requirement. Request processing is best done with Java code: a servlet, acting as the Controller, fits the bill. It must be easy to change the presentation: this is where JSP shines, acting as the 沈阳航空航天大学北方科技学院毕业设计(论文)外文翻译——原文

View.Adding servlets, listeners, and filters to the mix minimizes the need for complex logic in the JSP pages.Placing all this code in Java classes instead makes it possible to use a regular Java compiler and debugger to fix potential problems.Centralized Request Processing Using a Servlet With a servlet as the common entry point for all application requests, you gain control over the page flow of the application.The servlet can decide which type of response to generate depending on the outcome of the requested action, such as returning a common error page for all requests that fail, or different responses depending on the type of client making the request.With the help from some utility classes, it can also provide services such as input validation, I18N preparations, and in general, encourage a more streamlined approach to request handling.When you use a servlet as a Controller, you must deal with the following basic requirements:

 All requests for processing must be passed to the single Controller servlet. The servlet must be able to distinguish requests for different types of processing.Here are other features you will want support for, even though they may not be requirements for all applications:

 A strategy for extending the application to support new types of processing requests in a flexible manner.沈阳航空航天大学北方科技学院毕业设计(论文)外文翻译——原文

 A mechanism for changing the page flow of the application without modifying code.Mapping Application Requests to the Servlet The first requirement for using a Controller servlet is that all requests must pass through it.This can be satisfied in many ways.If you have played around a bit with servlets previously, you're probably used to invoking a servlet with a URI that starts with /myApp/servlet.This is a convention introduced by Suns Java Web Server(JWS), the first product to support servlets before the API was standardized.Most servlet containers support this convention today, even though it's not formally defined in the servlet specification.沈阳航空航天大学北方科技学院毕业设计(外文翻译)

将Servlet和JSP组合使用

Servlet和JSP技术是用Java开发服务器端应用的主要技术,是开发商务应用表示端的标准。Java开发者喜欢使用它有多种原因,其一是对于已经熟悉Java语言的开发者来说这个技术容易学习;其二是Java把“一次编写,到处运行”的理念带入到Web应用中,实现了“一次编写,到处实现”。而且更为重要的是,如果遵循一些良好的设计原则的话,就可以把表示和内容相分离,创造出高质量的、可以复用的、易于维护和修改的应用程序。比方说,在HTML文档中如果嵌入过多的Java代码(scriptlet),就会导致开发出来的应用非常复杂、难以阅读、不容易复用,而且对以后的维护和修改也会造成困难。事实上,在CSDN的JSP/Servlet论坛中,经常可以看到一些提问,代码很长,可以逻辑却不是很清晰,大量的HTML和Java代码混杂在一起,让人看得一头雾水。这就是随意开发的弊端。

早期的动态网页主要采用CGI(Common Gateway Interface,公共网关接口)技术,你可以使用不同的语言编写CGI程序,如VB、C/C++或Delphi等。虽然CGI技术发展成熟且功能强大,但由于编程困难、效率低下、修改复杂等缺点,所以有逐渐被取代的趋势。在所有的新技术中,JSP/Servlet具备更高效、更容易编程、功能更强、更安全和具有良好的可移植性,因而被许多人认为是未来最有发展前途的动态网站技术。

与CGI相似,Servlet支持请求/响应模型。当一个客户向服务器递交一个请求时,服务器把请求送给Servlet,Servlet负责处理请求并生成响应,然后送给服务器,再由服务器发送给客户。与CGI不同的是,Servlet没有生成新的进程,而是与HTTP Server处于同一进程中。它通过使用线程技术,减小了服务器的开销。Servlet处理请求的过程是这样的:当收到来自客户端的请求后,调用service方法,该方法中Servlet先判断到来的请求是什么类型的(GET/POST/HEAD„),然后调用相应的处理方法(doGet/doPost/doHead„)并生成响应。

沈阳航空航天大学北方科技学院毕业设计(外文翻译)别看这么复杂,其实简单说来Servlet就是一个Java类。与一般类的不同之处是,这个类运行在一个Servlet容器内,可以提供session管理和对象生命周期管理。因而当你使用Servlet的时候,你可以得到Java平台的所有好处,包括安全性管理、使用JDBC访问数据库以及跨平台的能力。而且,Servlet使用线程,因而可以开发出效率更高的Web应用。

JSP技术是J2EE的一个关键技术,它在更高一级的层次上抽象Servlet。它可以让常规静态HTML与动态产生的内容相结合,看起来像一个HTML网页,却作为Servlet来运行。现在有许多商业应用服务器支持JSP技术,比如BEA WebLogic、IBM WebSphere、JRun等等。使用JSP比用Servlet更简单。如果你有一个支持JSP的Web服务器,并且有一个JSP文件,你可以把它放倒任何静态HTML文件可以放置的位置,不用编译,不用打包,也不用进行ClassPath的设置,就可以像访问普通网页那样访问它,服务器会自动帮你做好其他的工作。

JSP 文件看起来就像一个普通静态HTML文件,只不过里面包含了一些Java代码。它使用.jsp的后缀,用来告诉服务器这个文件需要特殊的处理。当我们访问一个JSP页面的时候,这个文件首先会被JSP引擎翻译为一个Java源文件,其实就是一个Servlet,并进行编译,然后像其他Servlet一样,由Servlet引擎来处理。Servlet引擎装载这个类,处理来自客户的请求,并把结果返回给客户,如下图所示:

图1: 调用JSP页面的流程

沈阳航空航天大学北方科技学院毕业设计(外文翻译)以后再有客户访问这个页面的时候,只要该文件没有发生过更改,JSP引擎就直接调用已经装载的Servlet。如果已经做过修改的话,那就会再次执行以上过程,翻译、编译并装载。其实这就是所谓的“第一人惩罚”。因为首次访问的时候要执行一系列以上的过程,所以会耗费一些时间;以后的访问就不会这样了。

Java servlet提供了一种强有力的API,用这个API可以访问关于请求、会话和应用程序的所有信息。将servlet和JSP页面组合起来使用,可以把应用程序的逻辑部分和外观呈现部分清楚地分开;换句话,利用这个方式可以对模型、视图和控制器这三种角色分别使用最合适的组件类型。Servlet、过滤器和监听器

Servlet是一种Java类,它使得服务器的功能可扩展至处理请求和生成应答。它是用Servlet API定义的类和接口实现的。API由两个程序包组成:jvavax.servlet程序包包含独立于协议的类和接口,而javax.servlet.http程序包则提供HTTP特定的扩展的实用程序类。

Servlet的实质是实现了接口javax.servlet.Servlet的类,实现是直接完成或通过扩展某个支持类来完成的。该接口定义了Web容器用来管理servlet和与之交互的方法。用于处理HTTP请求的servlet一般情况下都会扩展javax.servlet.http.HttpServlet类。该类实现了Servlet接口,并提供了使用HTTP处理的附加方法。Servlet的生命周期

Web容器管理servlet生命周期的所有方面。它根据需要创建servlet类的实例、将请求传递给实例进行处理,最终删除实例。对于HttpServlet来说,容器会在servlet生命周期的适当时间调用方法。

除了doGet()和doPost()方法之外,还有一些对应于其他HTTP方法的方法:doDelete()、doHead()、doOptiongs()、doPut()和doTrace()。一般情况下不用实现这些方法,因为HttpServlet类已经用适用于大多数servlet的方法考虑到了HEAD、OPTIONS和TRACE请求,而且DELETE和PUT这两种HTTP方法很少用在Web应用程序中。

沈阳航空航天大学北方科技学院毕业设计(外文翻译)容器只为每个Servlet创建一个实例非常重要。这意味着servlet必须是线程安全的—即,能够同时处理多个请求,每个处理都通过servlet代码作为单独的线程来执行。如果只在init()和destroy()方法中修改参考的对象,而且只在请求处理方法中读取他们,那么不用丧失任何细节就可以满足关于实例变量的这个要求。编译和安装servlet 要编译servlet,必须首先确保JAR文件包含着CLASSPATH环境变量中所有Servlet API类。该JAR文件将随所有的Web容器一起发布。Tomcat中包含了一个名为servlet.jar的JAR文件,位于common/lib目录中。在Windows平台中,应在CLASSPATH中包含JAR文件。读取请求

传递到doGet()和doPost()方法的参数之一是实现了HttpServletRequest接口的对象。该接口定义的方法可提供对关于请求的许多信息的访问。生成应答

除应答对象之外,容器还将实现HttpServletRequest接口的对象作为icanshu传递给doGet()和doPost()方法。该接口定义了为应答行为体获取数序程序或流的方法。它还定义了设置应答状态代码和首部的方法。使用过滤器和监听器

Servlet规范servlet内定义了两种组件类型:过滤器和监听器。这两种类型是在Servlet 2.3规范中引入的,因此,如果你使用的是不支持该版本规范的容器,恐怕就不能继续学习了。过滤器

过滤器是一种组件,可以解释对servlet、JSP页面或静态页面的请求以及发送给客户端之前的应答。这样可以很容易地将应用于所有请求的任务集中在一起,例如访问控制、登录和内容的开销或应用提供的服务等。过滤器对请求与应答的行为体和首部具有完全访问权限,因此还可以执行各种转换。例如,如果Accept-Language请求

沈阳航空航天大学北方科技学院毕业设计(外文翻译)首部指出客户端可以处理压缩的应答,那么过滤器就可以压缩应答的行为体。

过滤器可以应用在特定servlet上,或匹配某种URL模式的所有请求上,例如以相同的路径元素开头或具有相同扩展名的URL。监听器

监听器允许应用程序对特定事件做出回应。Servlet 2.3之前,只能处理会话属性绑定事件(在添加对象或从会话中删除对象时)。实现监听器的方式是用保存为会话属性(使用HttpSession.setAttribute()方法)的对象实现HttpSessionBinding-Listener接口。随着Servlet规范的2.3版本中新接口的引入,可以为servlet环境和会话生命周期事件以及激活和钝化事件(容器用来暂时将会话状态保存在磁盘上或将会话移植到另一个服务器上)创建监听器。使用新的会话属性事件监听器还可以在一个位置上处理所有会话的属性绑定事件,而不是在每个会话中防止单独的监听器对象。

新类型的监听器遵循的是标准Java事件模型。换句话说,监听器是实现了一个或多个监听器接口的类。接口定义的是事件相应的方法。当应用程序启动是,容易会注册监听器类,然后该容器会在合适的事件调用那些事件方法。使用监听器初始化共享资源

Bean一般都有需要在使用之前进行初始化。例如,它们可能需要对数据库或某些其他外部数据源的引用,还可能在内存中创建一个初始消息缓存,以便即使是第一个请求数据也可以提供更快的访问。可以在需要共享资源的servlet和JSP页面中包含初始化共享资源的代码,但是更标准的方法是在一个位置放置所有这些代码,并在假设资源已经初始化和可用的情况下,使应用程序的其他部分可以正常工作。应用程序生命周期监听器是此类资源初始化的绝好工具。此类监听器实现了javax.servlet.ServletContextListener接口,当应用程序启动和关闭时会由容器调用该接口的方法。

为每个任务选择正确的组件类型

在之前介绍的项目公告牌应用程序是相当复杂的应用程序。页面的一般都是纯粹的控制器和商务逻辑处理,它访问数据库以对用户进行身份验证,而且多数页面都需

沈阳航空航天大学北方科技学院毕业设计(外文翻译)要访问控制。在现实生活中,它可能会包含更多的页面,例如,用于访问共享文档档案、事件表的页面和用于管理的一组页面等。由于应用程序在不断地发展变化,因此可能变得很难作为纯JSP应用程序来维护。例如,很容易忘记在新页面中包含访问控制代码。

很明显,这种应用程序可以从使用JSP页面与组件类型的组合中受益,其中组件类型由用于MVC角色的servlet规范所定义。下面看一下主要的要求,并了解如何将他们映射到适当的组件类型上:

 数据库访问应该是抽象的,从而避免料接应用程序中多个部分的特定数据模式或数据库引擎:模型角色中的bean可以用来完成这种认知。

 数据库访问bean必须在应用程序启动时可用于所有其他的部分:应用程序生命周期时间监听器是用了该任务的完美的组件类型。

 只有通过验证的用户才允许使用应用程序:过滤器可以完成访问控制以满足该要求。

 用Java代码进行请求处理效果最佳:servlet作为控制器正符合需要。 必须很容易改编外观呈现:这正是JSP的反光点,也就是作为视图。将servlet、监听器和过滤器混合起来,就将JSP页面对复杂逻辑的需求降到了最低。将这些代码放置到Java类中后,就可以使用普通的Java编译程序和调试程序来修复潜在的问题。

使用servlet集中处理请求

将servlet作为所有应用程序请求的公共入口时,可以获得对应用程序页面流的整体控制。Servlet可以根据所请求行为的结果来决定要生成的应答类型,例如,为所有失败的请求返回公共的错误页面,或者根据发出请求的客户端返回不同的应答等。在某些使用程序类的帮助下,servlet还可以提供诸如输入验证、J18N准备之类的服务,而且通常会鼓励使用更有效率的方法来请求处理。

当使用servlet作为控制器时,必须处理下列基本要求:  所有处理请求必须传递到单独的控制器servlet中。

沈阳航空航天大学北方科技学院毕业设计(外文翻译) Servlet必须能够区分请求,以便进行不同类型的处理。

下面是其他一些你可能希望支持的功能,即使并非所有应用程序都要求:  扩展应用程序以便以更灵活的方式支持新类型的请求处理。 在不修改代码的情况下改变应用程序页面流的机制。

当然,你可以自己开发满足这些要求的servlet,但是已经有开源式servlet了,他们可以满足所有这些要求,甚至还有更多的功能。将应用程序请求映射到servlet 使用控制器servlet的第一个要求是所有请求必须都经过该servlet。该要求可以通过多种方式来满足。如果你以前曾经使用过servlet,那么你可能习惯于用以/myApp/servlet开头的URI来调用servlet。这是由Sun公司的Java Web Server(JWS)所引入的一个约定,JWS是在推出标准API之前第一个支持servlet的产品。今天,大部分servlet容器都支持这个约定,即使servlet规范中并没有正式的定义。

第五篇:外文翻译

当今时代是一个自动化时代,交通灯控制等很多行业的设备都与计算机密切相关。因此,一个好的交通灯控制系统,将给道路拥挤,违章控制等方面给予技术革新。随着大规模集成电路及计算机技术的迅速发展,以及人工智能在控制技术方面的广泛运用,智能设备有了很大的发展,是现代科技发展的主流方向。本文介绍了一个智能交通的系统的设计。该智能交通灯控制系统可以实现的功能有:对某市区的四个主要交通路口进行控制:个路口有固定的工作周期,并且在道路拥挤时中控制中心能改变其周期:对路口违章的机动车能够即时拍照,并提取车牌号。在世界范围内,一个以微电子技术,计算机和通信技术为先导的,一信息技术和信息产业为中心的信息革命方兴未艾。而计算机技术怎样 与实际应用更有效的结合并有效的发挥其作用是科学界最热门的话题,也是当今计算机应用中空前活跃的领域。本文主要从单片机的应用上来实现十字路口交通灯智能化的管理,用以控制过往车辆的正常运作。

研究交通的目的是为了优化运输,人流以及货流。由于道路使用者的不断增加,现有资源和基础设施有限,智能交通控制将成为一个非常重要的课题。但是,智能交通控制的应用还存在局限性。例如避免交通拥堵被认为是对环境和经济都有利的,但改善交通流也可能导致需求增加。交通仿真有几个不同的模型。在研究中,我们着重于微观模型,该模型能模仿单独车辆的行为,从而模仿动态的车辆组。

由于低效率的交通控制,汽车在城市交通中都经历过长时间的行进。采用先进的传感器和智能优化算法来优化交通灯控制系统,将会是非常有益的。优化交通灯开关,增加道路容量和流量,可以防止交通堵塞,交通信号灯控制是一个复杂的优化问题和几种智能算法的融合,如模糊逻辑,进化算法,和聚类算法已经在使用,试图解决这一问题,本文提出一种基于多代理聚类算法控制交通信号灯。

在我们的方法中,聚类算法与道路使用者的价值函数是用来确定每个交通灯的最优决策的,这项决定是基于所有道路使用者站在交通路口累积投票,通过估计每辆车的好处(或收益)来确定绿灯时间增益值与总时间是有差异的,它希望在它往返的时候等待,如果灯是红色,或者灯是绿色。等待,直到车辆到达目的地,通过有聚类算法的基础设施,最后经过监测车的监测。

我们对自己的聚类算法模型和其它使用绿灯模拟器的系统做了比较。绿灯模拟器是一个交通模拟器,监控交通流量统计,如平均等待时间,并测试不同的交通灯控制器。结果表明,在拥挤的交通条件下,聚类控制器性能优于其它所有测试的非自适应控制器,我们也测试理论上的平均等待时间,用以选择车辆通过市区的道路,并表明,道路使用者采用合作学习的方法可避免交通瓶颈。

本文安排如下:第2部分叙述如何建立交通模型,预测交通情况和控制交通。第3部分是就相关问题得出结论。第4部分说明了现在正在进一步研究的事实,并介绍了我们的新思想。

The times is a automation times nowadays,traffic light waits for much the industey equipment to go hand in hand with the computer under the control of.Therefore,a good traffic light controls system,will give road aspect such as being crowded,controlling against rules to give a technical improvement.With the fact that the large-scale integrated circuit and the computer art promptness develop,as well as artificial intelligence broad in the field of control technique applies,intelligence equipment has had very big development,the main current being that modern science and technology develops direction.The main body of a book is designed having introduccd a intelligence traffic light systematically.The function being intelligence traffic light navar’s turn to be able to come true has:The crossing carries out supervisory control on four main traffic of some downtown area;Every crossing has the fixed duty period,charges centrefor being able to change it’s period and in depending on a road when being crowded;The motro vehicle breaking rules and regulations to the crossing is able to take a photo immediately,abstracts and the vehicle shop sign.Within world range ,one uses the microelectronics technology,the computer and the technology communicating by letter are a guide’s,centering on IT and IT industry information revolution is in the ascendant.But,how,computer art applies more effective union and there is an effect’s brought it’s effect into play with reality is the most popular topic of scientific community,is also that computer applications is hit by the unparalleled active field nowadays.The main body of a book is applied up mainly from slicing machine’s only realizing intellectualized administration of crossroads traffic light,use operation in controlling the vehicular traffic regularity.Transportation research has the goal to optimize transportation flow of people and goods.As the number of road users constantly increases, and resources provided by current infras-tructures are limited, intelligent control of traffic will become a very important issue in thefuture.However, some limitations to the usage of intelligent tra?c control exist.Avoidingtraffic jams for example is thought to be beneficial to both environment and economy, butimproved traffic-flow may also lead to an increase in demand [Levinson, 2003].There are several models for traffic simulation.In our research we focus on microscopicmodels that model the behavior of individual vehicles, and thereby can simulate dynam-ics of groups of vehicles.Research has shown that such models yield realistic behavior[Nagel and Schreckenberg, 1992, Wahle and Schreckenberg, 2001].Cars in urban traffic can experience long travel times due to inefficient traffic light con-trol.Optimal control of traffic lights using sophisticated sensors and intelligent optimizationalgorithms might therefore bevery beneficial.Optimization of traffic light switching increasesroad capacity and traffic flow, and can prevent tra?c congestions.Traffic light control is acomplex optimization problem and several intelligent algorithms, such as fuzzy logic, evo-lutionary algorithms, and reinforcement learning(RL)have already been used in attemptsto solve it.In this paper we describe a model-based, multi-agent reinforcement learningalgorithm for controlling traffic lights.In our approach, reinforcement learning [Sutton and Barto, 1998, Kaelbling et al., 1996]with road-user-based value functions [Wiering, 2000] is used to determine optimal decisionsfor each traffic light.The decision is based on a cumulative vote of all road users standingfor a traffic junction, where each car votes using its estimated advantage(or gain)of settingits light to green.The gain-value is the difference between the total time it expects to waitduring the rest of its trip if the light for which it is currently standing is red, and if it is green.The waiting time until cars arrive at their destination is estimated by monitoring cars flowingthrough the infrastructure and using reinforcement learning(RL)algorithms.We compare the performance of our model-based RL method to that of other controllersusing the Green Light District simulator(GLD).GLD is a traffic simulator that allows usto design arbitrary infrastructures and traffic patterns, monitor traffic flow statistics such asaverage waiting times, and test different traffic light controllers.The experimental resultsshow that in crowded traffic, the RL controllers outperform all other tested non-adaptivecontrollers.We also test the use of the learned average waiting times for choosing routes of cars through the city(co-learning), and show that by using co-learning road users can avoidbottlenecks.

下载社交网站_外文翻译word格式文档
下载社交网站_外文翻译.doc
将本文档下载到自己电脑,方便修改和收藏,请勿使用迅雷等下载。
点此处下载文档

文档为doc格式


声明:本文内容由互联网用户自发贡献自行上传,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任。如果您发现有涉嫌版权的内容,欢迎发送邮件至:645879355@qq.com 进行举报,并提供相关证据,工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。

相关范文推荐

    外文翻译

    设计一个位于十字路口的智能交通灯控制系统 摘要:本文模型使用模糊本体的交通灯控制域,并把它应用到控制孤立十字路口。本文最重要的目的之一是提出一个独立的可重复使用的交......

    外文翻译

    中原工学院毕业设计(论文)译文 超声测距系统设计 原文出处:传感器文摘 布拉福德:1993年第13页 摘要:超声测距系统技校在工业场车辆导航水声工程等领域都具有了广泛的应用价值,目......

    外文翻译

    Low Voltage Flyback DC-DC Converter For Power Supply Applications Hangzhou Liu1, John Elmes2, Kejiu Zhang1, Thomas X. Wu1, Issa Batarseh1 Department of Electric......

    外文翻译

    微孔的加工方法 正如宏观加工一样,在微观加工中孔的加工也许也是最常用的加工之一。孔的加工方法有很多种,每一种都有其优点和缺点,这主要取决于孔的直径、深度、工作材料和设......

    外文及翻译

    ZHEJIANG SHUREN UNIVERSITY 《学科前沿文献读写议》课程作业 学生姓名: 沈焱强 学号: 201001013335 专业: 工商管理 班级: 工本103班 浙江树人大学管理学院 毕业论文题目:浙江......

    外文翻译

    数字通信第四版 Digital Communications,Fourth Edition 作者:John Proakis 起止页码:1-10 出版日期(期刊号):2003年1月 出版单位:电子工业出版社外文翻译译文: 第1章 引 言 在本书......

    外文翻译

    大连海洋大学土木工程毕业设计 外文翻译 译文题目: 原稿题目: 原稿出处: 毕业设计 译文及原稿 施工项目成本上升的因素 Construction Project Cost Escalation Factors Engrg......

    外文翻译

    本科生毕业设计(论文)外文资料译文设计(论文)题目:学生姓名:徐凯学号:0965251027分院:信息与机电工程分院班级: 091指导教师:袁鸿斌职称:讲师填表日期:2013年3月6日杭州师范大学钱江学院......