[go: up one dir, main page]

WO2009049519A1 - Procédé, dispositif et système de copie de contenu - Google Patents

Procédé, dispositif et système de copie de contenu Download PDF

Info

Publication number
WO2009049519A1
WO2009049519A1 PCT/CN2008/072438 CN2008072438W WO2009049519A1 WO 2009049519 A1 WO2009049519 A1 WO 2009049519A1 CN 2008072438 W CN2008072438 W CN 2008072438W WO 2009049519 A1 WO2009049519 A1 WO 2009049519A1
Authority
WO
WIPO (PCT)
Prior art keywords
content
server
signaling
url
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2008/072438
Other languages
English (en)
Chinese (zh)
Inventor
Dongmo Xie
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of WO2009049519A1 publication Critical patent/WO2009049519A1/fr
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Definitions

  • the present invention relates to the field of computer identification languages, and more particularly to a method, apparatus and system for copying content. Background technique
  • Extensible Makeup Language Configuration Access Protocol is a protocol for managing extensible Makeup Language (XML) documents.
  • XCAP Extensible Makeup Language Configuration Access Protocol
  • the client can create and modify.
  • the current XCAP defines three methods of management (Method): GET, PUT, DELETE, which respectively means to get, create ⁇ 'tampering (add), delete.
  • XCAP XML document managed by XCAP
  • DOC A is a document in XML format with the following contents:
  • the address book contains a contact called Bill Doe.
  • the URL of DOC B is:
  • HTTP ⁇ example.com/resource-lists/global/index.
  • the insiders of DOC B are as follows:
  • the user terminal sends a get (GET) request to the server, and obtains information of the contact sip :j oe@example.com from the company address book;
  • the user terminal sends a create (PUT) request to the server again, and adds the information of the contact sip :j oe@example.com to the document of the personal address book;
  • Step 5) to step 8) Repeat steps 1) to 4), just replace the contact with sip: nancy@example.com, and complete the process of adding the contact's profile to the private address book.
  • the solution of the above example is to obtain and create two contact materials in the company address book one by one according to the requirements of the existing XCAP, that is, first copy the data of a contact from the source document, and add to the target document. Repeat and copy and add another contact profile.
  • the user terminal always needs to obtain the content to be copied in the source document (company address book) from the server (the data of two contacts), and then according to the Uniform Resource Location of the content to be copied. Add it to the target document (personal address book) on the server.
  • the process is as shown in Figure 1. A total of 8 signalings between the user terminal and the server are required to complete.
  • the embodiment of the invention discloses a method, a device and a system for copying content, which reduces signaling interaction between the user terminal and the target document server, and realizes copying of content between the extensible markup language documents.
  • the embodiment of the invention discloses a method for copying content, which is applied to copying the content in the source document of the extensible markup language document into the target document, including:
  • the first server storing the target document receives the first signaling sent by the user terminal, where the first signaling includes at least a uniform resource location identifier URL of the copied content that needs to be copied from the source document;
  • the first server adds the copied content from the source document to the target document according to the URL.
  • the embodiment of the invention discloses a copying system for content, which is applied to the target document in the extensible logo language source document, and includes: a user terminal and a first server, wherein:
  • a user terminal configured to generate and send the first signaling to the first server that stores the target document, where the first signaling includes at least a uniform resource location identifier URL that needs to be copied from the source document;
  • a first server configured to receive the first signaling sent by the user terminal, and obtain the copied content from the source document according to the URL included in the first signaling to be added to the locally saved target document.
  • the embodiment of the invention discloses a user terminal, comprising: a generating unit and a first sending unit;
  • a generating unit configured to generate first signaling and transmit the first signaling to the first sending unit, where the first signaling includes at least a uniform resource positioning identifier URL of the corresponding copy content that needs to be copied from the extensible markup language source document;
  • a first sending unit configured to send the first signaling generated by the generating unit to the first server, where the first server is configured to store the extensible markup language target document, and the target document is used to store the copied content.
  • the embodiment of the invention discloses a server, comprising: a second sending/receiving unit, a parsing unit, a copying unit and a storage unit, wherein:
  • a second sending/receiving unit configured to receive the first signaling sent by the user terminal, and send the first signaling to the parsing unit
  • a parsing unit configured to parse a uniform resource location identifier URL that is included in the first signaling and needs to be copied from the extensible identifier language source document, and send the parsing result to the copy unit;
  • a copying unit configured to: obtain, according to the received URL, the copied content from the source document and add the copied content to the target document saved by the storage unit; and the storage unit is configured to save at least the target document.
  • the URL that needs to copy the added one or more contents is sent to the target document server, and the step of obtaining and adding the content of the source document by the target document server simplifies the signaling between the user terminal and the server, thereby saving Network resources, while reducing processing time.
  • the existing XCAP protocol is used to copy multiple contents between XML documents, the user terminal must repeatedly acquire and add operations, and occupy network resources and inefficient processing.
  • FIG. 1 is a flow chart of adding content between documents in the XCAP protocol in the prior art
  • FIG. 2 is a flowchart of signaling interaction provided by an embodiment of the present invention
  • FIG. 3 is still another flowchart of signaling interaction provided by an embodiment of the present invention.
  • FIG. 4 is a flowchart of signaling interaction according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a content replication system according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a user terminal according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a server according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a replication unit in a server according to an embodiment of the present invention. detailed description
  • the embodiment of the invention discloses a method for copying content, which is applied to copying the content in the source document of the extensible logo language document into the target document, including:
  • the first server storing the target document receives the first signaling sent by the user terminal, where the first signaling includes at least a uniform resource locating identifier URL of the corresponding copied content that needs to be copied from the source document;
  • the first server obtains the corresponding copy content from the original file and adds it to the target document according to the URL, and returns a copy success result message to the user terminal.
  • the foregoing first signaling may be a new signaling defined between the user terminal and the first server, or may be an extension to the signaling in the existing XCAP protocol.
  • the PUT signaling in the extended XCAP is taken as the first signaling, and the first server storing the target document is referred to as the target document server, and correspondingly, the server storing the source document is referred to as the source document server.
  • An embodiment of the present invention provides a method for adding content replication, which copies and adds information of two contacts sip:joe@example.com>3 ⁇ 4 sip:nancy@example.com in a company address book to Personal address book.
  • the signaling interaction process in the embodiment of the present invention is as shown in FIG. 2, and includes:
  • Step 201 The user terminal creates and sends an extended XCAP PUT request (hereinafter referred to as an extended PUT request) to the storage target document (personal address book) server (target document server), and the extended PUT request sequentially includes the need to The URL of the part of the source document (company address book) copied to the target document (personal address book) (data of two contacts).
  • the information body of the extended PUT request defined by the user terminal is an XML file, and its format can be expressed by the following XML schema:
  • the user terminal defines the format of the message body of the extended PUT request through the above XML schema, and stipulates that the message body format element is "multi_put_content", that is, the addition of multiple contents, and defines the content type of multiple contents.”
  • Content— type is the URL.
  • the server can follow the message body format defined by the user terminal according to the corresponding content of the multiple contents included in the extended PUT request. URL to complete the operation of copying and adding.
  • the user terminal sends the URL of the multiple content that needs to be copied and added to the target document server by using the extended PUT request, and the target document server completes the acquisition of the contact data in the source document, and adds Go to the target document without repeating multiple signaling between the user and the target server.
  • the extended PUT request sent by the user terminal to the target server is as follows:
  • the value of the Content-Type header field in line 4 is the newly defined body type:
  • the application/x-multi-put+xml (which may also be defined as other types, which is not limited by the embodiment of the present invention) indicates that the type of the content of the extended PUT request is the newly defined media type.
  • the standard header field "Require” is used to extend the PUT request, an extension condition “x-mutil-put” is defined, and the Require header i or value is set in the fifth line.
  • X-mutil-put The user terminal sends a request to the server through the above "Require" header i, requests the server side to support the extended PUT request, and performs an extended PUT request to define a plurality of content addition functions.
  • "X-extension The header i or the corresponding value is especially x-mutil-put.
  • the order includes the URL of the first contact sip :j oe@example.com and the second contact sip: nancy@example.com:
  • the above-mentioned extended PUT request includes the URLs of the two contact materials that need to be copied and added to the personal address book (of course, the actual situation may also include more than two or more, which is not limited by the embodiment of the present invention), and the target The document server sequentially acquires and adds the content to be copied through the URL of the desired copy content in the extended PUT request.
  • the target document server confirms that the user terminal sends the extended PUT request through the Require header field value in the extended PUT request, instead of the PUT request under the existing XCAP, and processes according to the manner defined by the extended PUT request. That is, according to multiple The URL of the content to be copied is copied and added to the target document; Step 202: After the target document server receives and confirms the PUT request for the extension, the first contact sip included in the extended PUT request is : j oe @example . com URL, determine the company address containing the contact information, this document is also on the target document server, and then the target document server performs step 203;
  • Step 203 The target document server obtains the material information of the first contact sip:joe@example.com directly from the company address book according to the URL of the first contact; Step 204, the target document server sends the information to the personal address book. Adding the information of the first contact sip: j oe @example . com obtained in step 203;
  • Step 205 The target document server determines, according to the URL of the second contact sip:nancy@example.com in the extended PUT request, that the information of the second contact is also in the company address book where the first contact is located. Then, the target document performs step 206; Step 206: The target document server obtains the data information of the second contact sip: nancy@example.com directly from the company address book according to the URL of the second contact;
  • Step 207 The target document server adds the information of the contact sip: nancy@example.com obtained in step 206 to the personal address.
  • Step 208 The target document server returns a result message that the user terminal has successfully copied. If multiple contacts Joe and Nancy are in the same company address book, and the company address book is not on the same server as the private address book, that is, the company address book is on another source document server, the flow is as shown in FIG. , including:
  • Step 301 The user terminal creates and sends an extended PUT request to the target document server where the target document (personal address book) is located;
  • Step 302 After receiving the extended PUT request, the target document server copies the URL of the added first contact data according to the extended PUT request, and determines that the company address book is located on the source document server, that is, Company address book and personal address book Not on a server;
  • Step 303 The target document server sends a GET request to the source document server, requesting the information of the first contact joe in the company address book;
  • Step 304 The source document server returns the data information of the first contact joe;
  • Step 305 The target document server adds the data of the first contact to the personal address book;
  • Step 306 The target document server determines, by using the URL of the second contact Nancy data in the extended PUT request, that the company address book is located on the source document server.
  • Step 307 The target document server requests to obtain the second address of the company address book. Information of contacts;
  • Step 308 The source document server returns the data information of the second contact nancy;
  • Step 309 The target document server adds the acquired second person's data to the personal address book;
  • Step 310 The target document server returns a successfully copied result message to the user terminal.
  • the target document server When the user terminal sends the extended PUT request to the target document server, the target document server obtains the address of the company address A on the local server through the URL of the first contact joe in the extended PUT request, and directly obtains the company address.
  • the information of the contact in this A is added to the personal address book (the specific steps are similar to steps 202 to 203 in Embodiment 1;).
  • the target document server sends a GET request to the source document server through the URL of the second contact nancy in the extended PUT request, and obtains the profile information of the contact, and then adds it to the local personal address book (target document) (specific steps) Similar to step 302 to step 305 in Embodiment 2; After the contact data that needs to be added has been added, the result message that the user terminal has successfully copied is returned.
  • the embodiment provides a content copying system, and the content applied to the source file of the extensible markup language is copied into the target document, as shown in FIG. 5.
  • the method includes: a user terminal and a first server, wherein:
  • the user terminal 51 is configured to generate and send the first signaling to the first server 52 that stores the target document, where the first signaling includes at least a uniform resource location identifier URL of the copied content that needs to be copied from the source document;
  • the first server 52 is configured to receive the first signaling sent by the user terminal 51, and obtain, according to the URL included in the first signaling, the copied content that is obtained from the source document and added to the locally saved In the target document.
  • the first server 52 After the first server 52 obtains the copied content from the source document and adds it to the locally saved target document, it also returns a copy success result message to the user terminal 51.
  • the content replication system described above may also include one or more second servers 53 for storing source documents.
  • the first server 52 sends an acquisition request to the second server 53 storing the corresponding source document according to the URL included in the first signaling, and adds the acquired copy content to the target document.
  • the embodiment of the present invention provides a user terminal, as shown in FIG. 6, including a generating unit 601 and a first sending unit 602;
  • the generating unit 601 is configured to generate first signaling and transmit the first signaling to the first sending unit 602.
  • the first signaling includes at least a unified resource positioning of the corresponding copied content that needs to be copied from the extensible markup language source document. Identification URL;
  • a first sending unit 602 configured to send the first signaling generated by the generating unit to a first server, where the first server is configured to manage an extensible markup language target document, where the target document is used to store Copy the content;
  • the user terminal may further include: a first receiving unit 602, configured to receive a replication success result message returned by the first server.
  • the embodiment of the present invention provides a server. As shown in FIG. 7, the method includes: a second sending/receiving unit 701, a parsing unit 702, a copying unit 703, and a storage unit 704, where: a second sending/receiving unit 701 is configured to: Receiving the first signaling sent by the user terminal, and sending the first signaling to the parsing unit 702; the first signaling includes at least a uniform resource positioning identifier URL of the corresponding copy content that needs to be copied from the extensible markup language source document; 702, configured to parse the unified resource location identifier URL that is included in the first signaling and needs to be copied from the extensible markup language source document, and send the parsing result to the copying unit 703;
  • a copying unit 703 configured to obtain, according to the received URL, the copied content from the source document to be added to the target document saved in the storage unit 704;
  • a storage unit 704 configured to save the target document
  • the copying unit 703 is further configured to send a notification message to the second sending/receiving unit 701 after all the copied content is added;
  • the second sending/receiving unit 701 is further configured to send a copy success result message to the user terminal after receiving the notification message of the copy unit.
  • the copy unit specifically includes: a determining subunit 801, a first obtaining subunit 802, a second obtaining subunit 803, and an adding subunit 804;
  • a determining subunit 801 configured to determine, according to the received URL, whether the source document is saved in the storage unit, and if yes, send the URL to the first obtaining subunit 802; otherwise, The URL is sent to the second obtaining sub-unit 803; the first obtaining sub-unit 802 obtains corresponding copy content from the corresponding source document saved by the storage unit according to the URL, and sends the corresponding copy content to the adding sub-unit 804;
  • the second obtaining sub-unit 803 sends an acquisition request to the corresponding server storing the source document according to the URL, and sends the obtained corresponding copy content to the adding sub-unit 804;
  • the adding sub-unit 804 is configured to add the received copy content to the target document saved in the storage unit, and send the notification message to the second sending/receiving unit after all the content copying is completed.
  • a content copying method, device and system provided by an embodiment of the present invention will be required Copying the URL of one or more added content—sends to the target document server, regardless of whether the source document and the target document are on the same server, and the step of obtaining and adding the source document content by the target document server is simplified.
  • the user terminal When copying multiple contents between XML documents in the prior art, the user terminal must perform repeated acquisition and addition operations one by one, thereby reducing signaling overhead between the user terminal and the server, saving network resources and shortening at the same time. The processing time increases the processing efficiency.
  • the present invention can be implemented by hardware, or can be implemented by means of software plus necessary general hardware platform, and the technical solution of the present invention. It can be embodied in the form of a software product that can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for making a computer device (may It is a personal computer, a server, or a network device, etc.) that performs the methods described in various embodiments of the present invention.
  • a non-volatile storage medium which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.
  • a computer device may It is a personal computer, a server, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

L'invention porte sur un procédé, un dispositif et un système de copie de contenu. Une première signalisation est envoyée par un terminal utilisateur à un premier serveur stockant un document cible, la première signalisation transportant au moins un localisateur uniforme de ressource (adresse URL) correspondant à un contenu devant être copié à partir d'un document source. Le premier serveur obtient le contenu devant être copié à partir du document source selon l'adresse URL dans la première signalisation et ajoute le contenu au document cible. Une ou plusieurs adresses URL, vers lesquelles le contenu doit être copié en correspondance, sont envoyées en une fois à un serveur de document cible. Le serveur de document cible exécute les étapes consistant à obtenir et ajouter le contenu du document source. La signalisation entre le terminal utilisateur et le serveur est simplifiée, les ressources réseau sont économisées et le temps passé dans le traitement est réduit.
PCT/CN2008/072438 2007-10-12 2008-09-19 Procédé, dispositif et système de copie de contenu Ceased WO2009049519A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710151429.0 2007-10-12
CN 200710151429 CN101179572B (zh) 2007-10-12 2007-10-12 一种内容的复制方法、装置与系统

Publications (1)

Publication Number Publication Date
WO2009049519A1 true WO2009049519A1 (fr) 2009-04-23

Family

ID=39405657

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/072438 Ceased WO2009049519A1 (fr) 2007-10-12 2008-09-19 Procédé, dispositif et système de copie de contenu

Country Status (2)

Country Link
CN (1) CN101179572B (fr)
WO (1) WO2009049519A1 (fr)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179572B (zh) * 2007-10-12 2010-10-13 华为技术有限公司 一种内容的复制方法、装置与系统
US8700986B1 (en) 2011-03-18 2014-04-15 Google Inc. System and method for displaying a document containing footnotes
US9361395B2 (en) * 2011-01-13 2016-06-07 Google Inc. System and method for providing offline access in a hosted document service
US8510266B1 (en) 2011-03-03 2013-08-13 Google Inc. System and method for providing online data management services
CN108696399B (zh) * 2017-04-07 2020-12-29 腾讯科技(深圳)有限公司 业务服务的测试方法和装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060041522A1 (en) * 2004-08-18 2006-02-23 Xerox Corporation. Abstract document management systems and methods
CN1852486A (zh) * 2006-05-30 2006-10-25 北京万网志成科技有限公司 使用手机短信访问互联网的方法
US20070050320A1 (en) * 2005-08-25 2007-03-01 Carrier Scott R Method and system for mapping context name space binding lookups
CN1946026A (zh) * 2006-10-20 2007-04-11 清华大学 基于移动存储设备的互联网络数据主动获取方法
CN101030931A (zh) * 2006-03-03 2007-09-05 华为技术有限公司 一种业务数据的传输方法及其所应用的分组终端
CN101179572A (zh) * 2007-10-12 2008-05-14 华为技术有限公司 一种内容的复制方法、装置与系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060041522A1 (en) * 2004-08-18 2006-02-23 Xerox Corporation. Abstract document management systems and methods
US20070050320A1 (en) * 2005-08-25 2007-03-01 Carrier Scott R Method and system for mapping context name space binding lookups
CN101030931A (zh) * 2006-03-03 2007-09-05 华为技术有限公司 一种业务数据的传输方法及其所应用的分组终端
CN1852486A (zh) * 2006-05-30 2006-10-25 北京万网志成科技有限公司 使用手机短信访问互联网的方法
CN1946026A (zh) * 2006-10-20 2007-04-11 清华大学 基于移动存储设备的互联网络数据主动获取方法
CN101179572A (zh) * 2007-10-12 2008-05-14 华为技术有限公司 一种内容的复制方法、装置与系统

Also Published As

Publication number Publication date
CN101179572A (zh) 2008-05-14
CN101179572B (zh) 2010-10-13

Similar Documents

Publication Publication Date Title
US7945536B2 (en) Method and system for recovering a previous version of a document from a current version of the document
CN101426017B (zh) 一种地址簿的处理方法和系统
CN100514968C (zh) 离线消息的处理方法和即时消息服务器
CN102012943B (zh) 可扩展标记语言文档管理客户端、服务器及其方法
KR20110008334A (ko) 네트워크 기반 컨버지드 주소록을 위한 시스템 및 방법
CN101299829A (zh) 一种实现统一存储中管理媒体内容的方法和消息系统
CN101506799B (zh) 用于转发文档的可扩展标记语言文档管理系统方法
WO2009049519A1 (fr) Procédé, dispositif et système de copie de contenu
WO2009115025A1 (fr) Procédé d’opération aux documents xml et système xdms
TWI357748B (en) System and method for correlating messages within
CN104509029B (zh) 在通信系统中更新个人信息的方法及装置
CN110196842A (zh) 文件存储方法、管理方法、装置、服务器及存储介质
US20130091287A1 (en) System for contact subscription invitations in a cross-domain converged address book system
WO2010020153A1 (fr) Procédé, dispositif et système de sélection d’utilisateur en fonction d'un état d'utilisateur
CN101170540A (zh) 一种xml文档管理方法和客户端、服务器
CN101800759B (zh) 一种邀请订阅的实现系统及方法
US20020051012A1 (en) Method and apparatus for applying information remotely via a mobile device
EP1862932B1 (fr) Gestion d'informations dans une architecture de gestion de documents XML
CN104509028B (zh) 在通信系统中更新个人信息的方法及装置
CN101287007A (zh) Xml文档管理方法、系统及xml文档管理服务器
WO2009024099A1 (fr) Procédé servant à mettre en place des requêtes de répertoire de réseau et un serveur de requêtes de répertoire de réseau
CN101808073A (zh) 一种获取节点信息的方法、服务器以及系统
KR20140008221A (ko) 통신 시스템에서 개인 정보를 관리하는 방법 및 장치
CN101119511B (zh) 一种获取资源实体的方法和服务器与客户端
CN118535104A (zh) 文件打印方法、装置、系统、计算机设备和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08800932

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08800932

Country of ref document: EP

Kind code of ref document: A1