“内容协商”的概念如何理解?在 HTTP 上下文之外调用?
“内容协商”(不谈论 HTTP 时)有哪些不同的术语?
例如:一些(远程或本地)服务、组件、模块、 正在协商使用哪种协议和/或交换哪种内容类型。
服务提供商
- 关于内容:
- 我最擅长的是提供苹果。
- 我也可以提供香蕉,但需要更多时间。
- 我也可以提供橙子,但质量并不总是那么好。
- 关于协议:
- 我可以用塑料袋把水果带给您。
- 或者,我可以把它扔向你的方向。 速度更快,但有些水果可能会丢失。
服务消费者
- 我需要一些水果。
- 香蕉可以,但苹果就更好了!
- 我现在需要它们!
- 有些人可能会迷路。
现在,在使用某种协商协议后,提供者和用户决定他们的最佳解决方案是:“提供者向消费者扔一些苹果”。
我希望您喜欢我的示例;)
那么,什么是更适合我正在寻找的内容的术语?
What are different terms for "content negotiation" (when not talking about HTTP)?
For example: some (remote or local) services, components, modules,
are negotiating about which protocol to use and/or which content type to exchange.
Service provider
- About the content:
- What I am very good at, is providing apples.
- I am also able to provide bananas, but it takes me more time.
- I am also able to provide oranges, but their quality is not always OK.
- About the protocol:
- I can bring the fruits to you in a plastic bag.
- Alternatively, I can throw it in your direction.
It's faster, but some fruits may get lost.
Service consumer
- I need some fruits.
- Bananas are OK, but apples would be great!
- I need them now!
- Some may get lost.
Now, after using some negotiation protocol, the provider and the user decide that the optimal solution for them would be: "the provider throws to the consumer some apples".
I hope you like my example ;)
So, what are better suited terms for what I am looking for?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我将这个过程统称为“谈判”。这是我所知道的业界最好的词。我将此过程称为更广泛的协议握手和协商阶段的一部分。
I would call this process, generically, "negotiation". That is the best word I know of in industry. I'd call this process a part of the broader protocol handshake and negotiation phase.