KR20150060266A - Object serialization method for content sharing and apparatus thereof - Google Patents

Object serialization method for content sharing and apparatus thereof Download PDF

Info

Publication number
KR20150060266A
KR20150060266A KR1020130144480A KR20130144480A KR20150060266A KR 20150060266 A KR20150060266 A KR 20150060266A KR 1020130144480 A KR1020130144480 A KR 1020130144480A KR 20130144480 A KR20130144480 A KR 20130144480A KR 20150060266 A KR20150060266 A KR 20150060266A
Authority
KR
South Korea
Prior art keywords
content
session
client
present
relay server
Prior art date
Application number
KR1020130144480A
Other languages
Korean (ko)
Inventor
최준균
안상홍
양진홍
박상민
오현택
Original Assignee
한국과학기술원
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 한국과학기술원 filed Critical 한국과학기술원
Priority to KR1020130144480A priority Critical patent/KR20150060266A/en
Publication of KR20150060266A publication Critical patent/KR20150060266A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/178Techniques for file synchronisation in file systems
    • G06F16/1794Details of file format conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services

Abstract

An object serialization method to share web content and a device thereof are disclosed. A content object serialization method comprises the steps of: performing the textualization of a hyper text markup language (HTML) code of at least one object, included in web content which is to be shared with other devices, in a device; and objectifying a property of the object in a java script object notation (JSON) form, according to a sequence of the HTML code, in the device.

Description

TECHNICAL FIELD The present invention relates to an object serialization method for sharing web contents,

Embodiments of the invention relate to techniques for sharing content data between terminals.

Recently, an N screen service that can use the same contents as a plurality of information devices is being provided as a next generation network service.

N screen service can share one content from various digital information devices such as smart phone, PC, smart TV, tablet, navigation terminal, etc., so you can watch the same contents anytime and anywhere without any time, place, .

Korean Patent Laid-Open No. 10-2011-0003964 (published Jan. 13, 2011) discloses a technique for providing a multi-screen service using a mobile terminal and a secondary display device.

In order to share contents such as N screen service, it is necessary to have a technique of maintaining the operation state of the contents when moving the contents to the screen of another terminal.

There is provided a content object serialization method and apparatus for moving content to be executed independently and being consumed to a screen of another terminal and maintaining the previous work state of the content in order to support web continuity in moving.

According to an embodiment of the present invention, there is provided a method of serializing a content object, comprising: textizing HTML (hyper text markup language) codes of at least one object included in a web content to be shared with another device in a device; And in the device, objectizing the attributes of the object in the form of JSON (java script object notation) according to the order of the HTML code.

According to an aspect of the present invention, the step of objecting the attributes of the object in the JSON form comprises: objecting the attributes of the child nodes in the object in JSON form and sorting the attributes of the objectized child nodes in a depth first search (DFS) can do.

According to another aspect of the present invention, the other device receives the textized HTML code and the objectized object in the JSON form, restores the object with the textual HTML code, and stores the object in the JSON form Attribute can be applied.

According to the embodiment of the present invention, contents that are independently executed and consumed can be moved to a screen of another terminal to share the same contents among the terminals.

According to an embodiment of the present invention, a specific object can be selectively shared with other terminals through division and combination of a web area.

According to the embodiment of the present invention, it is possible to maintain the working state of the contents between the terminals by synchronizing the objects of the contents shared among the terminals.

1 is a block diagram illustrating an overall configuration of a content sharing system supporting web continuity between terminals in an embodiment of the present invention.
2 illustrates a session handshake process for content object sharing in an embodiment of the present invention.
FIG. 3 illustrates a process of transmitting an object together with a control function in an embodiment of the present invention.
FIG. 4 illustrates a process of transmitting an object during a session according to an embodiment of the present invention.
5 illustrates a process of synchronizing objects between devices in an embodiment of the present invention.
FIG. 6 illustrates a process of serializing a transfer object in an embodiment of the present invention.
7 illustrates a process of deserializing a receiving object in an embodiment of the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

Embodiments of the present invention relate to a technique for sharing content between terminals.

In this specification, 'content' may refer to any web document that can be output in the form of a web page to a client's screen through a web browser.

The term 'device' is used to refer to the Internet, such as an Internet TV, a smart phone, a tablet, a laptop computer, a digital broadcasting terminal (DMB), a portable multimedia player (PMP), a navigation terminal The term " terminal "

1 is a block diagram illustrating an overall configuration of a content sharing system supporting web continuity between terminals in an embodiment of the present invention.

The content sharing system according to an exemplary embodiment of the present invention may include a content server 110, a mediate server 120, and a client 130.

First, the content server 110 can serve as a service platform for providing content to the client 130, and can provide an external service that uses content object sharing through a web-based service platform.

At this time, the content server 110 may provide a general web view interface 111 for providing the content to the client 130.

The content server 110 may also support an interface (session / authorization interface) 112 for sharing login and session information of the client 130 with the relay server 120.

Next, the relay server 120 relays the data so that the client 130 can share the content object. To this end, the relay server 120 may provide a user experience framework (uxFramework) for content object sharing.

The relay server 120 includes a socket manager 121, an object mediator 122, a session manager 123, and a session store 124, .

The communication management unit 121 manages websocket communication between the relay server 120 and the client 130.

The object relaying unit 122 is responsible for processing (receiving device search, etc.) for relaying the content object.

The session management unit 123 manages session data synchronization with the content server 110 and user session / device session management.

Here, the user session refers to a session containing information about a user who actually uses the service, and the device session refers to a session containing information related to a device used by a user. The relationship between a user session and a device session can be one-to-many (1: n).

The database 124 may serve as a repository for storing and maintaining session data with the content server 110, user session data, device session data, and the like.

Next, the client 130 outputs the content in the form of a web page through the web browser 140. [

To this end, the client 130 includes a socket manager 131, an object receiver 132, an object sender 133, and a view manager 134 .

The communication manager 131 manages the web socket communication between the relay server 120 and the client 130.

The object receiving unit 132 performs a related process (object data recovery and function execution after receiving a content object) from another device.

The object transmission unit 133 is responsible for processing (object serialization and function execution after transmission) for transmitting the content object to another device.

The view management unit 134 manages the UI related to transmission / reception of the content object and inserts the UI into the web screen interface 111 of the content server 110.

The view management unit 134 includes a UI manager for managing user / device (session) list management and handle display / management for a content object, an object view manager for managing the display status of the transmitted / ), And the like.

Hereinafter, specific processes for sharing a content object according to the present invention will be described.

2 illustrates a session handshake process for content object sharing in an embodiment of the present invention.

The content server 110 creates a session with the client 130 for use of the service of the client 130 (S201), and stores the generated session data in the database (S202).

The content server 110 may transmit the session ID generated in step S201 to the client 130 (S203).

The client 130 may load an external service including a content object from the content server 110 (S204) and load a framework (uxFramework) for content object sharing (S205).

The client 130 may transmit the session ID of the external service received from the content server 110 to the corresponding uxFramework (S206).

The relay server 120 may create a session for the uxFramework loaded by the client 130 for content object sharing (S207).

After the relay server 120 receives the session ID of the external service from the client 130 (S208), the relay server 120 may synchronize the session information of the external service with the uxFramework (S209).

FIG. 3 illustrates a process of transmitting an object together with a control function in an embodiment of the present invention.

The device A-side object transmitting unit 133 may select an object to be transmitted according to a user request (S301), and then select another device and session corresponding to the transmission object (S302). Then, the object transmitting unit 133 performs object serialization and control function serialization on the object selected for the object transmission (S303) (S304), and transmits a transmission command for the object to the relay server 120 through the web socket (S305).

When the relay server 120 waits for command reception and receives a transmission command from the device A (S306), the relay server 120 can select the socket of the device B side session corresponding to the transmission target (S307). Then, the relay server 120 can transmit the object data selected in the device A, the control function data, the information about the device A, and the like to the device B together with the object display command (S308).

When the device B-side object receiving unit 132 waits for data reception and data for content object sharing is received through the relay server 120 (S309), the device B-side object receiving unit 132 releases serialization of the received object data and control function data, (S310) (S311). Next, the object receiving unit 132 may control to display the deserialized object (S312) and execute a control function for the object (S313).

FIG. 4 illustrates a process of transmitting an object during a session according to an embodiment of the present invention.

The device A-side object transmission unit 133 selects an object to be transmitted according to a user request (S401), and then selects another device and a session corresponding to the transmission object (S402). In operation S403, the object transmission unit 133 performs object serialization on the object selected for the object transmission, and then transmits the transmission command for the object to the relay server 120 through the web socket in operation S404.

The relay server 120 waits for command reception, and when a transmission command is received from the device A (S405), the relay server 120 can select the socket of the device B side session corresponding to the transmission target (S406). Then, the relay server 120 can transmit the object data selected in the device A, the information about the device A, and the like to the device B together with the object display command (S407).

When the device B-side object receiving unit 132 waits for data reception and data for content object sharing via the relay server 120 is received (S408), the device B-side object receiving unit 132 can serialize the received object data to objectize the receiving object (S409). Then, the object receiving unit 132 may control to display the deserialized object (S410).

5 illustrates a process of synchronizing objects between devices in an embodiment of the present invention.

When the user manipulates the object shared with the device B (S501), the device A-side object sending unit 133 recognizes the user's manipulation of the object (S502) and transmits the object manipulation command by the user to the relay server (S503).

The relay server 120 waits for command reception, and when an object manipulation command is received from the device A (S504), the relay server 120 can select a socket of the device B side session corresponding to the transmission object (S505). Then, the relay server 120 can transmit the object operation information, the execution function, the information about the device A, and the like by the device A to the device B together with the object operation command (S506).

When receiving the object manipulation command through the relay server 120 (S507), the device-B-side object receiving unit 132 waits for data reception and objectsize the manipulation command for the object shared with the device B (S508) It is possible to control the object to be manipulated in accordance with the manipulation command (S509).

In order to display a content object on a screen of a device through a web browser, a hyper text markup language (HTML) code for describing an object in a web document and an attribute attribute (Attribute, Property) Is required.

Object properties do not exist in an explicit form, so in order to transfer an object, you must read the object attributes as well as HTML code and wrap them in a transferable form.

To this end, in the present embodiment, a device that transmits an object may serialize the HTML code of the transmission object and its attribute, respectively, and deserialize the receiving object in the device receiving the object.

FIG. 6 illustrates a process of serializing a transfer object in an embodiment of the present invention. The object serialization method according to an exemplary embodiment may be performed by an object transmission client (i.e., an object transmission unit).

The object transmission client may textize the HTML code of the target object to be transmitted (= obj) (S601), and may attribute the attribute of the object to a Java script object notation (JSON) (S602).

If there is a child node, the object transmission client selects a child node to be objectized next in a depth first search (DFS) manner (S604). Then, the selected child node May be objectified in JSON manner and added to Ele (S605). Therefore, in the object transmission client, the attributes of the child nodes in the target object can be objectified in the JSON form and the attributes of the child nodes can be arranged using the DFS method.

If the child nodes do not exist in the target object or the steps S604 and S605 are completed for all the child nodes, it is possible to return obj and Ele for the target object in operation S606.

Therefore, when serializing the attributes of the target object, it is possible to use the DFS technique to proceed according to the order of the HTML code. The order of the serialized data for each object (and attribute value) can be determined according to the tree traversal sequence using DFS.

7 illustrates a process of deserializing a receiving object in an embodiment of the present invention. The method for deserializing an object according to an exemplary embodiment may be performed by an object receiving client (i.e., an object receiving unit).

The object receiving client can receive obj and Ele from the object transmission client through the relay server. At this time, the object is generated according to the HTML code corresponding to the obj (S701). Then, (S702).

In step S703, if there is a child node, the object receiving client can select a child node to which the next attribute is applied in the DFS method in step S704.

Therefore, when deserializing the receiving object, the object can be generated first by HTML code, and then the attribute value can be applied while traversing the object node tree according to the DFS technique.

The methods according to embodiments of the present invention may be implemented in the form of a program instruction that can be executed through various computer systems and recorded in a computer-readable medium.

The program according to the present embodiment can be configured as a PC-based program or an application dedicated to a mobile terminal. In this embodiment, an application for input screen control may be implemented as a program that operates independently, or may be implemented in an in-app form of a specific application so as to be able to operate on the specific application .

As described above, according to the embodiment of the present invention, it is possible to share the same contents among the terminals by moving the contents independently consumed and consumed to the screen of the other terminal. In addition, according to an embodiment of the present invention, a specific object can be selectively shared with other terminals through division and combination of a web area. According to the embodiment of the present invention, it is possible to maintain the working state of the inter-terminal contents by synchronizing the objects of the contents shared between the terminals.

The apparatus described above may be implemented as a hardware component, a software component, and / or a combination of hardware components and software components. For example, the apparatus and components described in the embodiments may be implemented within a computer system, such as, for example, a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA) , A programmable logic unit (PLU), a microprocessor, or any other device capable of executing and responding to instructions. The processing device may execute an operating system (OS) and one or more software applications running on the operating system. The processing device may also access, store, manipulate, process, and generate data in response to execution of the software. For ease of understanding, the processing apparatus may be described as being used singly, but those skilled in the art will recognize that the processing apparatus may have a plurality of processing elements and / As shown in FIG. For example, the processing unit may comprise a plurality of processors or one processor and one controller. Other processing configurations are also possible, such as a parallel processor.

The software may include a computer program, code, instructions, or a combination of one or more of the foregoing, and may be configured to configure the processing device to operate as desired or to process it collectively or collectively Device can be commanded. The software and / or data may be in the form of any type of machine, component, physical device, virtual equipment, computer storage media, or device , Or may be permanently or temporarily embodied in a transmitted signal wave. The software may be distributed over a networked computer system and stored or executed in a distributed manner. The software and data may be stored on one or more computer readable recording media.

The method according to an embodiment may be implemented in the form of a program command that can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions to be recorded on the medium may be those specially designed and configured for the embodiments or may be available to those skilled in the art of computer software. Examples of computer-readable media include magnetic media such as hard disks, floppy disks and magnetic tape; optical media such as CD-ROMs and DVDs; magnetic media such as floppy disks; Magneto-optical media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. Examples of program instructions include machine language code such as those produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like. The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the embodiments, and vice versa.

While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. For example, it is to be understood that the techniques described may be performed in a different order than the described methods, and / or that components of the described systems, structures, devices, circuits, Lt; / RTI > or equivalents, even if it is replaced or replaced.

Therefore, other implementations, other embodiments, and equivalents to the claims are also within the scope of the following claims.

110: Content server
120: Relay server
130: Client
132: object receiver
133:
140: Web browser

Claims (3)

Texturing a hypertext markup language (HTML) code of at least one object in a web content to be shared with another device in a device; And
In the device, objectizing the attributes of the object in the form of JSON (java script object notation) according to the order of the HTML code
Wherein the content object is a content object.
The method according to claim 1,
The step of objectizing the attributes of the object in JSON form comprises:
The attributes of the child nodes in the object are objectified in JSON form and the attributes of the object nodes are arranged in a depth first search (DFS) manner
Wherein the content object is a content object.
The method according to claim 1,
The other device receives the textualized HTML code and the objectized object in the JSON form, restores the object with the textual HTML code, and applies the objectized object to the recovered object in the JSON form
Wherein the content object is a content object.
KR1020130144480A 2013-11-26 2013-11-26 Object serialization method for content sharing and apparatus thereof KR20150060266A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020130144480A KR20150060266A (en) 2013-11-26 2013-11-26 Object serialization method for content sharing and apparatus thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020130144480A KR20150060266A (en) 2013-11-26 2013-11-26 Object serialization method for content sharing and apparatus thereof

Publications (1)

Publication Number Publication Date
KR20150060266A true KR20150060266A (en) 2015-06-03

Family

ID=53504922

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130144480A KR20150060266A (en) 2013-11-26 2013-11-26 Object serialization method for content sharing and apparatus thereof

Country Status (1)

Country Link
KR (1) KR20150060266A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900991A (en) * 2018-08-02 2018-11-27 北京趣拿软件科技有限公司 order sending method and device, processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900991A (en) * 2018-08-02 2018-11-27 北京趣拿软件科技有限公司 order sending method and device, processor

Similar Documents

Publication Publication Date Title
EP3465467B1 (en) Web page accelerations for web application hosted in native mobile application
JP6997253B2 (en) Web page rendering methods, equipment, electronics, storage media and programs
KR102015070B1 (en) System for Network Discovery and Synchronization
CN105493067A (en) Application context migration framework and protocol
KR101826625B1 (en) Document collaborative support apparatus supporting simultaneous editing of document and operating method thereof
CN104025078A (en) Mobile solution for signing and retaining third-party documents
CN108470302B (en) Interaction method and device of client and server
US20200133617A1 (en) Interface display method and apparatus
CN104702665A (en) Information sharing method and information sharing device
CN110765744A (en) Multi-person collaborative document editing method and system
CN109710905B (en) Document collaborative editing method and device, storage medium and electronic equipment
US11693827B2 (en) Syncing and propagation of metadata changes across multiple endpoints
CN103699635B (en) Information processing method and device
US10616332B2 (en) Optimized synching of metadata changes using chunked response
US9588652B2 (en) Providing feedback for screen sharing
CN110007936B (en) Data processing method and device
CN110619100A (en) Method and apparatus for acquiring data
CN110851211A (en) Method, apparatus, electronic device, and medium for displaying application information
CN113888104B (en) Schedule sharing method, device and equipment
CN110879729A (en) Channel configuration method and device for live broadcast room, readable medium and electronic equipment
CN111813685B (en) Automatic test method and device
CN112256370A (en) Information display method and device and electronic equipment
JP2023514271A (en) Page operation processing method, apparatus, equipment, and storage medium
CN112558933A (en) Component rendering method and device, readable medium and electronic equipment
CN111367689A (en) Interactive prompt information sending method and device of online document and electronic equipment

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination