WO2010133097A1 - 微技系统的数据共享方法、服务器以及数据共享系统 - Google Patents

微技系统的数据共享方法、服务器以及数据共享系统 Download PDF

Info

Publication number
WO2010133097A1
WO2010133097A1 PCT/CN2010/070437 CN2010070437W WO2010133097A1 WO 2010133097 A1 WO2010133097 A1 WO 2010133097A1 CN 2010070437 W CN2010070437 W CN 2010070437W WO 2010133097 A1 WO2010133097 A1 WO 2010133097A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
shared
shared data
server
information
Prior art date
Application number
PCT/CN2010/070437
Other languages
English (en)
French (fr)
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 华为技术有限公司
Publication of WO2010133097A1 publication Critical patent/WO2010133097A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes

Definitions

  • the embodiments of the present invention relate to the field of data processing technologies, and in particular, to a data sharing method, a server, and a data sharing system of a microtechnology system.
  • the widget is a specific implementation form of the mobile Internet. As the widget type becomes more and more rich, the widget generates more and more content.
  • the industry generally believes that a widget is only a small application that can execute simple logic and implement a single task, and does not regard the widget as a network that can communicate with each other. If the data sharing between the widgets is achieved, an overlay network can be formed. Widgets with a single function can be combined to implement complex applications, and new widget developers can quickly develop new composite applications based on existing widgets.
  • the purpose of data sharing can be achieved to a certain extent by means of message communication, and the communication between the similar widgets is implemented, and the interface between the instant I widget, the chess widget, and the jth widget is
  • the communication format of the message is only applicable to the communication between such widgets. Since the communication format is not reusable, the communication format between similar widgets cannot be applied to communication between other types of widgets; the other can implement specific widgets. Inter-communication, such as emai l, such widgets need to be formatted in advance for communication data.
  • the inventors have found that at least the following technical problems exist in the prior art: in the prior art, data sharing between heterogeneous data cannot be effectively realized.
  • An object of the embodiments of the present invention is to provide a data sharing method, a server, and a data sharing system for a microtechnology system, so as to effectively implement data sharing between heterogeneous widgets.
  • the embodiment of the invention provides a data sharing method for a microtechnology system, including:
  • the embodiment of the invention further provides a server for a microtechnology system, including:
  • a first receiving module configured to receive a shared data request message that is sent by the data using device and includes a data type of the request
  • a first storage module configured to store data information of the shared data, and data types of the shared data and the types of the data a description information corresponding to the shared data
  • the processing module configured to: when the shared data of the requested data type exists, send the data information of the shared data and the description information of the shared data to the data using device, where the description information of the shared data is used And causing the data using device to parse the data packet corresponding to the data information of the shared data according to the description information of the shared data.
  • the embodiment of the invention further provides a client of the microtechnology system, including:
  • a first sending module configured to send, to the server, a shared data request including a requested data type Interest rate
  • a second receiving module configured to receive, by the server, data information of the shared data and description information of the shared data when the shared data of the requested data type exists;
  • a parsing module configured to parse the data packet corresponding to the data information of the shared data according to the description information of the shared data to obtain shared data.
  • the embodiment of the present invention further provides a data sharing system, including a server and a data using device.
  • the server is configured to receive a shared data request message including a data type of the request sent by the data using device, where the data type of the request exists. Data, the data information of the shared data and the description information of the shared data are sent to the data using device;
  • the data using device is configured to send, to the server, a shared data request message including a requested data type, and the receiving server returns the data information of the shared data and the description of the shared data when the shared data of the requested data type exists. And parsing the data packet corresponding to the data information of the shared data according to the description information of the shared data to obtain shared data.
  • the embodiment of the invention further provides a server for a microtechnology system, including:
  • a first receiving module configured to receive a shared data request message that is sent by the data using device and includes a data type of the request
  • a processing module configured to: when the shared data of the requested data type exists, send the data information of the shared data and the description information of the shared data to the data using device, where the description information of the shared data is used to make the data using device Parsing a data packet corresponding to the data information of the shared data according to the description information of the shared data.
  • the data sharing method, the server, the client, and the data sharing system of the microtechnology system provided by the embodiment of the present invention enable the client to send the description information of the shared data sent by the server to the server according to the description information of the shared data sent by the server.
  • the data packet corresponding to the data information of the shared data is parsed to obtain the required shared data, thereby realizing data sharing between the heterogeneous widgets.
  • FIG. 1 is a schematic flow chart of an embodiment of a data sharing method of a microtechnology system according to the present invention
  • FIG. 2 is a schematic flowchart of a shared data distribution according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of generating shared data according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of a description of a data distribution system according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a server embodiment of a microtechnology system according to the present invention
  • FIG. 7 is a schematic structural diagram of an embodiment of a data sharing system according to the present invention.
  • FIG. 8 is a schematic structural diagram of a specific embodiment of a data sharing system according to the present invention. detailed description
  • Embodiments of the present invention provide a data sharing method for a microtechnology system, and FIG. 1 is a microtechnology system of the present invention.
  • Step 101 Receive a shared data request message including a data type of the request sent by the data using device; in this step, the data using device is in the widget
  • the data type of the requested shared data needs to be set first, that is, which type of shared data is required, and then the shared data request message is sent to the server, and the message includes the request.
  • the data type of the shared data is, if the shared data needs to be dynamically loaded, the data type of the requested shared data needs to be set first, that is, which type of shared data is required, and then the shared data request message is sent to the server, and the message includes the request.
  • Step 102 When the shared data of the requested data type is determined, the data information of the shared data and the description information of the shared data are sent to the data using device. This step is after receiving the shared data request message in the foregoing step 101. And if the shared data of the requested data type exists in the server, sending the data information of the shared data and the description information of the shared data, where the data information of the shared data may be a data packet of the shared data, that is, storing the shared data on the server, The data packet of the shared data is sent to the data using device; the data information of the shared data may also be the storage location information of the shared data, and after the data using device receives the storage location information of the shared data, The storage location information acquires a data packet of the shared data, and the storage location may be a data sharing device, a microtechnology data sharing server, or a shared database. In this embodiment, when the data packet of the required shared data is acquired according to the storage location information, the data packet of the shared data still needs to be parsed according to the description information of the
  • the data type of the shared data may be divided according to the type of the widget.
  • the weather widget, the car wash widget, etc. may generate different types of shared data, and the corresponding types of widgets have corresponding description information.
  • Information is used to describe the data structure of shared data generated by various types of widgets.
  • the information returned to the data using device in this step includes description information of the shared data, and the data using device acquires the data packet of the shared data and the description of the shared data.
  • the data packet of the shared data can be parsed according to the description information of the shared data to obtain the shared data, which may include the step of restoring the shared data to the JavaScr ipt operable script object.
  • the data sharing method provided by the foregoing embodiment of the present invention includes the data type of the requested shared data in the data sharing request message received by the server, and when it is determined that the shared data of the data type exists, the data information of the shared data is used. And the description information is sent to the data using device, so that the data using device parses the data packet corresponding to the data information of the shared data according to the description information of the shared data, so that the data sharing device can obtain various types.
  • the shared data of the data type is applied to the widget system, and a type of widget can be implemented to obtain shared data of different kinds of widgets, thereby realizing data sharing between heterogeneous widgets.
  • the method further includes receiving, by the data sharing device, a shared data generation message including a data type of the shared data, and establishing an index of the shared data according to the data type, that is, the data sharing device is generating the sharing.
  • the shared data generating message including the data type of the shared data is sent to the server, and the server establishes the index of the shared data according to the data type, and after receiving the shared data request message sent by the data using device, the server according to the foregoing Whether the requested data type query includes the index of the shared data corresponding to the requested data type.
  • the server when it is determined that there is an index of the shared data corresponding to the data type, it is determined that there is shared data of the requested data type.
  • FIG. 2 is a schematic flowchart of the shared data distribution in the embodiment of the present invention. As shown in FIG. 2, the method includes:
  • Step 201 Perform pre-processing on the data to be shared according to the description information to generate shared data.
  • the data sharing device needs to share after the widget runs and generates data.
  • the data is shared and pre-processed, which can be used to persist the data that needs to be shared.
  • the script object can be created by the shared data, then serialized, and networked to generate data that can be propagated on the network.
  • the shared data may be uploaded to the server, for example, may be sent to a micro-technology server or a micro-technology data sharing server, or a storage module may be set in the shared data providing device. Using the storage module to store shared data;
  • Step 202 Send a shared data generation message including a shared data type to the server. This step is to notify the server that a certain type of shared data is generated after the shared data is generated on the basis of step 201, and the type of the shared data and the description of the shared data. Information is one-to-one correspondence.
  • the data sharing apparatus can issue a message generated by the shared data to the server, and can notify the server of the data type of the shared data generated as described above.
  • FIG. 3 is a schematic flowchart of generating shared data in an embodiment of the present invention.
  • the method for generating shared data in the embodiment of the present invention that is, the method for packaging shared data, may be as shown in FIG. 3, where FIG. 3 is in the embodiment of the present invention.
  • a schematic diagram of a packet flow for generating shared data including the following steps:
  • Step 301 Encapsulate the shared data to generate a JavaScr ip object.
  • Step 302 Serialize the JavaScr ip object into a JS0N string
  • Step 303 Packet the serialized JS0N string into a data packet, the format of the data packet conforms to a specific protocol agreed between the client and the server, and may add auxiliary metadata in the data packet header field;
  • step 304 After the data packet of the shared data is generated, it may be stored in the data sharing device, or may be sent to the server for storage, for example, step 304 is performed;
  • Step 304 Send the data packet to the server.
  • a protocol such as HTTP or FTP may be used.
  • the server in this step needs to perform data legality check after receiving the data packet, and after passing the check, the index of the shared data is established and stored in the database.
  • This embodiment provides a packet capable of packetizing shared data, generating shared data, and transmitting it to a server.
  • the server of the embodiment of the present invention further stores various types of widgets and corresponding description information thereof, where the description information may be uploaded by the widget developer after the widget is developed, or other providers that share data in the widget ( For example, other websites) send the description information to the server before publishing the shared data.
  • One implementation is to encapsulate the shared data as a script object (such as a JavaScr ipt object) that the widget can use, and to describe the data structure of the object in XML language.
  • a car wash index widget can obtain weather forecast information. If weather information is to be shared for use by other widgets, the weather information can be encapsulated in a JavaScr ipt weather object, and the weather object is described in the widget description file. data structure.
  • FIG. 4 is a schematic flowchart of the description information of the data to be distributed in the embodiment of the present invention. As shown in FIG. 4, the method includes the following steps:
  • Step 401 Determine whether to use shared data generated by other widgets, and if yes, perform steps
  • Step 402 The shared data is operated according to the description information of the other widgets, and step 403 is performed; Step 403: Write the business logic of the widget;
  • Step 404 Generate description information of the shared data of the widget.
  • Step 405 Send the foregoing description information to the server.
  • the description information of the shared data generated in this step may be sent to a microtechnology server or a microtechnology data sharing server.
  • a microtechnology server By generating a description of the shared data of each type of widget and sending it to On the server, data sharing protection can be implemented between different types of widgets, so that a certain type of widget can obtain the description information of the other kinds of widgets while acquiring the shared data of other kinds of widgets, and perform data on the shared data according to the description of the device.
  • the package is parsed to enable data sharing between heterogeneous widgets.
  • the server acts as a shared data transfer function. For example, if a widget wants to share a video on its device, the shared data itself may be uploaded to the server, or the storage location thereof may be stored. The information is uploaded to the shared server as shared data, and the video request widget obtains the storage location information from the server, parses the address actually stored by the video, and directly requests the video data from the other party.
  • FIG. 5 is a schematic structural diagram of a server embodiment of a microtechnology system according to the present invention.
  • the first receiving module 11, the first storage module 12, and the processing module 13 are included, where the first receiving module 11 is configured to receive data.
  • the shared data request message sent by the device includes the requested data type;
  • the first storage module 12 is configured to store the data information of the shared data and the data types of the various types of shared data and their corresponding description information;
  • the processing module 13 is configured to determine the presence request When the data type is shared data, the data information of the shared data and the description information of the shared data are transmitted to the data using device.
  • the server of the microtechnology system receives the shared data request message including the requested data type sent by the data using device by the first receiving module, and searches for the shared data of the corresponding data type from the data information stored by the first storage module. And transmitting the data information and the description information of the shared data to the data using device, thereby realizing that the data using device can request various types of data to achieve the effect of data sharing between the heterogeneous widgets.
  • the server of the micro-giant system may further include a second receiving module 14 and an index establishing module 15, wherein the second receiving module 14 is configured to receive the data transmission device, including The shared data generating message of the data type of the shared data; the index establishing module 15 is configured to establish an index of the shared data according to the shared data generating message received by the second receiving module 14.
  • the above-mentioned processing module 13 can be divided into a query unit 131 and a sending unit 1 32, wherein the query unit 131 is configured to query whether the index of the shared data corresponding to the requested data type is included according to the requested data type; When the query unit 131 queries the index of the shared data corresponding to the requested data type, the data information of the shared data and the description information of the shared data are transmitted to the data using device.
  • the server of the microtechnology system in the present embodiment indexes the multicast data when it receives the shared data including the shared data, so that when the shared data request message is received, the query corresponds to whether the shared data type is included.
  • the index of the data so as to know whether there is shared data of this type, can realize data sharing between heterogeneous widgets more conveniently and quickly.
  • FIG. 6 is a schematic structural diagram of a client embodiment of a microtechnology system according to the present invention.
  • the client 2 of the microtechnology system includes a first sending module 21, a second receiving module 22, and a parsing module 23, where the first The sending module 21 is configured to send a shared data request message including the requested data type to the server.
  • the second receiving module 22 is configured to receive, by the server, the data information and the returned shared data when the shared data of the requested data type exists. Descriptive information of the shared data; the parsing module 23 is configured to parse the data packet of the shared data according to the description information of the shared data to obtain shared data.
  • the client of the microcomputer system provided in this embodiment may be equivalent to the data using device in the microtechnology system, and the device can send the shared data request message including the requested data type to the server, and can acquire the shared data corresponding to the data type.
  • Data information and description information, the specific data information may be a data packet of shared data or storage location information of shared data, in the above number According to the information, when the location information is stored, the data sharing device, the microtechnology data sharing server, or the shared database may obtain the data packet of the shared data according to the storage location information, where the data sharing device may be another client of the microtechnology system. After obtaining the data packet and the description information of the shared data, the data packet of the shared data can be parsed according to the description information of the shared data, thereby obtaining the shared data, and realizing the data sharing between the heterogeneous widgets.
  • the client may be a device capable of providing shared data and capable of using shared data, and the client may further include a preprocessing module 24 and a second sending module 25, and the preprocessing module 24 is configured according to the description.
  • the information is shared and pre-processed to share the data to be shared data.
  • the second sending module 25 is configured to send the shared data generation message including the shared data type to the server after the pre-processing module generates the shared data.
  • the storage module may be further configured in the client of the microtechnology system provided by the foregoing embodiment, and the module is used to store the shared data generated by the preprocessing module 24.
  • the client of the micro-technology system provided in this embodiment can publish the shared data on the server, and can share the shared data published by other clients, and the shared data can be different data types, that is, different
  • the shared data published by the type of wi dge t enables data sharing between heterogeneous widgets.
  • FIG. 7 is a schematic structural diagram of an embodiment of a data sharing system according to the present invention.
  • the data sharing system includes a server 31 and a data using device 32, wherein the server 31 is configured to receive the data type including the request sent by the data using device 32.
  • a shared data request message when the shared data of the requested data type exists, transmitting the data information of the shared data and the description information of the shared data to the data using device 32; the data using device 32 (equivalent to a client) Sending a shared data request message including the requested data type to the server 31, and the receiving server 31 is present in the presence
  • the shared data of the requested data type is used, the returned data information of the shared data and the description information of the shared data, and parsing the data packet of the shared data according to the description information of the shared data to obtain the shared data.
  • the server of the microtechnology system sends the data information and the description information of the shared data corresponding to the existing data type to the data after receiving the shared data request message including the requested data type sent by the data using device.
  • the data using device can request various types of data to achieve the effect of data sharing between heterogeneous widgets.
  • the data sharing system in the above embodiment may further include a data sharing device 33, which may be equivalent to another client, configured to perform pre-processing on the data to be shared according to the description information to generate shared data, and then send the data to the server.
  • a shared data generation message that includes a shared data type.
  • the data sharing device and the data using device in this embodiment may be a widget, and the data using device parses the acquired data packet of the shared data according to the description information of the shared data that is captured, and obtains the shared data, thereby realizing data sharing. Realize data sharing between remote and heterogeneous widgets, and achieve the effect that one widget's data is multiplexed by another widget, so that the widgets form a communication network across the terminal area, and the types of the above widgets can be different.
  • the server in the foregoing embodiment may include a micro-technology server and a micro-technology data sharing server, where the micro-technology server is configured to process the received shared data generation message and the shared data request message, where the micro-technology data sharing server is used. Stores description information about shared data.
  • micro-technology data sharing server for sharing data, it can also be stored in the micro-technology data sharing server.
  • the micro-data sharing server is also used to store shared data in a shared state.
  • the foregoing server may further include a microtechnology server, a microtechnology data sharing server, and a shared database, and the microtechnology server is configured to process the received shared data generation message and the shared data request cancellation.
  • the micro-technology data sharing server is configured to store description information of the shared data
  • the shared database is configured to store the shared data in a shared state, that is, to set a separate shared database to store the shared data in a shared state.
  • the data sharing system provided by the foregoing embodiment, wherein the shared data and the description information of the shared data can have different setting methods, can realize data sharing of different types of widgets.
  • the data sharing system includes a data sharing device 4, a widget server 5, and a data using device 6, wherein the data sharing device 4 is configured to issue shared data.
  • the shared device is a widget engine
  • the device should include a widget 41 and a widget running environment 42.
  • a specific implementation manner is to set a pre-processing module 43 and a sending module 44 in the data sharing device 4, and the pre-processing module 43 can implement sharing pre-processing and generating energy for the widget shared data.
  • the data packet transmitted on the network the sending module 44 sends a shared data generating message including the shared data type to the widget server; correspondingly, in the data using device 6, in addition to setting the widget 61 and the widget running environment 62, the parsing should also be set.
  • the module 63 and the requesting module 64, the requesting module 6 sends a shared data request message including the requested data type to the widget server, for acquiring the shared data information in the widget server including the data type satisfying the request, and the parsing module 63 is configured to Descriptive information of the shared data parses the shared data to obtain shared data; one implementation manner is to combine the foregoing preprocessing and packet parsing functions into one module, and combine the functions of publishing the shared data and requesting the shared data.
  • the widget engine can also While using the device as data sharing devices and data.
  • the widget server 5 in this embodiment may include a network proxy module 51, a widget IDE 52, a request processing module 53 and a registration module 54, and may set a shared data database 55 for storing and managing The shared data or the index information of the shared data provided by the data sharing device is connected to the request processing module 53.
  • a widget database 56 may be provided, which stores and manages the widget and its configuration information and the description information of the shared data.
  • the shared data database 55 and the widget database 56 described above may be set on the same widget server or may be deployed on different servers.
  • the widget server essentially functions to complete the transfer of shared data. It can be one or more devices.
  • the request may be divided into a widget upload server, a widget download server, a widget data sharing server, a widget service request server, and the like.
  • the widget server 5 can also communicate with the third party service provider 7.
  • a data sharing method, a server, a client, and a data sharing system of a microtechnology system provided by an embodiment of the present invention, by storing description information of various types of widgets in a server, and data information of various types of shared data, and a client After generating a certain type of shared data, the terminal may send a shared data generation message including the data type to the server to implement the release of the shared data.
  • the terminal may send the server to include The shared data request message of the requested data type, the server queries whether there is shared data of the above data type, and returns the data information of the shared data and the description information of the shared data to the requesting client when present, and can implement various types of data. Sharing between different clients to achieve data sharing between remote heterogeneous widgets.
  • the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware or a combination of the two.
  • the technical solution of the present invention which is essential or contributes to the prior art, can be embodied in the form of a software product, which is soft or soft.
  • a piece of product may be stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.
  • the storage medium may be a random access memory (RAM), a memory, a read only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or is known in the art. Any other form of storage medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Description

微技系统的数据共享方法、 服务器以及数据共享系统 本申请要求于 2009 年 5 月 20 日提交中国专利局, 申请号为 200910085055. 6 , 发明名称为"微技系统的数据共享方法、 服务器以及数据共 享系统"的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域
本发明实施例涉及数据处理技术领域, 特别涉及一种微技系统的数据共 享方法、 服务器以及数据共享系统。
背景技术
移动 ^敖技 ( widget )是移动互联网的一种具体实现形式, 随着 widget类 型的越来越丰富, widget所产生的内容也越来越多。当前业界普遍认为 widget 仅是一种能够执行简单逻辑、 实现单一任务的小应用, 而没有把 widget看作 是能够相互通信的网络, 如果 widget间能够实现数据共享, 则能够组成一个 叠加网络, 使得具有单一功能的 widget能够组合起来而实现复杂应用, 而且 新的 widget开发者可以在已有的 widget基础上快速开发出新的组合应用。 在现有技术中可以通过消息通信的方式在一定程度上达到数据共享的目 的, 列^口实现同类 widget之间的通信, ^口即时 I印天 widget、 下棋 widget , jth 类 widget之间的消息的通信格式仅适用于此类 widget之间的通信,由于通信 格式没有复用性,因此,同类 widget之间的通信格式不能应用于其他类 widget 之间的通信; 另一类能实现特定 widget间的通信, 例如 emai l , 此类 widget 需要提前对通信数据做格式约束。 发明人在实现本发明的过程中发现,现有技术至少存在如下技术问题:现 有技术中无法有效实现异构 w i dge t间的数据共享。
发明内容
本发明实施例的目的是提供一种微技系统的数据共享方法、 服务器以及 数据共享系统, 以有效实现异构 widget间的数据共享。 本发明实施例提供了一种微技系统的数据共享方法,包括:
接收数据使用装置发送的包括请求的数据类型的共享数据请求消息; 当确定存在请求的数据类型的共享数据时,向所述数据使用装置发送所述 共享数据的数据信息以及所述共享数据的描述信息,以使得所述数据使用装置 根据所述共享数据的描述信息对所述共享数据的数据信息对应的数据包进行 解析。 本发明实施例还提供了一种微技系统的服务器, 包括:
第一接收模块 ,用于接收数据使用装置发送的包括请求的数据类型的共享 数据请求消息; 第一存储模块,用于存储共享数据的数据信息以及各类共享数据的数据类 型及所述各类共享数据对应的描述信息; 处理模块,用于确定存在请求的数据类型的共享数据时, 向所述数据使用 装置发送共享数据的数据信息以及共享数据的描述信息,所述共享数据的描述 信息用于使所述数据使用装置根据所述共享数据的描述信息对所述共享数据 的数据信息对应的数据包进行解析。 本发明实施例还提供了一种微技系统的客户端, 包括:
第一发送模块,用于向服务器发送包括请求的数据类型的共享数据请求消 息;
第二接收模块, 用于接收服务器在存在所述请求的数据类型的共享数据 时, 返回的共享数据的数据信息和所述共享数据的描述信息;
解析模块,用于根据所述共享数据的描述信息对所述共享数据的数据信息 对应的数据包进行解析以获取共享数据。
本发明实施例还提供了一种数据共享系统, 包括服务器和数据使用装置; 所述服务器用于接收数据使用装置发送的包括请求的数据类型的共享数 据请求消息,在存在请求的数据类型的共享数据时, 向数据使用装置发送所述 共享数据的数据信息以及所述共享数据的描述信息;
所述数据使用装置用于向服务器发送包括请求的数据类型的共享数据请 求消息,接收服务器在存在所述请求的数据类型的共享数据时,返回的共享数 据的数据信息和所述共享数据的描述信息,并根据所述共享数据的描述信息对 所述共享数据的数据信息对应的数据包进行解析以获取共享数据。
本发明实施例还提供了一种微技系统的服务器, 包括:
第一接收模块,用于接收数据使用装置发送的包括请求的数据类型的共享 数据请求消息;
处理模块,用于确定存在请求的数据类型的共享数据时, 向所述数据使用 装置发送共享数据的数据信息以及共享数据的描述信息,所述共享数据的描述 信息用于使所述数据使用装置根据所述共享数据的描述信息对所述共享数据 的数据信息对应的数据包进行解析。
本发明实施例提供的微技系统的数据共享方法、服务器、客户端和数据共 享系统,使客户端根据服务器发送的所述共享数据的描述信息对服务器发送的 所述共享数据的数据信息对应的数据包进行解析, 从而获取到所需的共享数 据, 进而实现了异构 widget间的数据共享。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描 述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲,在不 付出创造性劳动的前提下 , 还可以根据这些附图获得其他的附图。 图 1为本发明微技系统的数据共享方法实施例的流程示意图;
图 2为本发明实施例中共享数据发布的流程示意图;
图 3为本发明实施例中生成共享数据的流程示意图; 图 4为本发明实施例中发布数据的描述信息的流程示意图; 图 5为本发明微技系统的服务器实施例的结构示意图; 图 6为本发明微技系统的客户端实施例的结构示意图; 图 7为本发明数据共享系统实施例的结构示意图;
图 8为本发明数据共享系统具体实施例的结构示意图。 具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 本发明实施例提供了一种微技系统的数据共享方法,图 1为本发明微技系 统的数据共享方法实施例的流程示意图, 如图 1所示, 包括如下步驟: 步驟 101、接收数据使用装置发送的包括请求的数据类型的共享数据请求 消息;本步骤中是数据使用装置在 widget客户端引擎上运行 widget时,若需 要动态加载共享数据, 则首先需要设定请求的共享数据的数据类型, 即需要哪 个类型的共享数据, 然后向服务器发送共享数据请求消息,该消息中包括请求 的共享数据的数据类型;
步骤 102、 确定存在请求的数据类型的共享数据时, 向数据使用装置发送 所述共享数据的数据信息以及所述共享数据的描述信息,本步骤是在上述步骤 101中接收到共享数据请求消息后, 如果服务器中存在请求的数据类型的共享 数据,则发送上述共享数据的数据信息和共享数据的描述信息,上述共享数据 的数据信息可以是共享数据的数据包, 即在服务器上存储共享数据,将共享数 据的数据包发送给数据使用装置;另外上述的共享数据的数据信息还可以是共 享数据的存储位置信息,此时数据使用装置在接收到共享数据的存储位置信息 后,还需要根据上述的存储位置信息获取共享数据的数据包,上述的存储位置 可以是数据共享装置、微技数据共享服务器或共享数据库。在本实施例中, 当 根据存储位置信息获取所需的共享数据的数据包,仍需根据该共享数据的描述 信息对该共享数据的数据包进行解析, 以获得所需的数据。
本实施例中共享数据的数据类型可根据 widget 的种类划分, 例如天气 widge t , 洗车 widget等都可以生成不同类型的共享数据, 针对上述不同类型 的 widget , 又有各自对应的描述信息, 该描述信息用于描述各类 widget生成 的共享数据的数据结构。本步骤中在向数据使用装置返回的信息包括共享数据 的描述信息,数据使用装置在获取上述的共享数据的数据包以及共享数据的描 述信息后,即可根据共享数据的描述信息对共享数据的数据包进行解析以获取 共享数据, 可以包括将共享数据还原成 JavaScr ipt可操作脚本对象的步骤。
本发明上述实施例提供的数据共享方法,在服务器接收到的数据共享请求 消息中包括请求的共享数据的数据类型,当确定存在所述数据类型的共享数据 时,将所述共享数据的数据信息和描述信息发送给数据使用装置, 以使得所述 数据使用装置根据所述共享数据的描述信息对所述共享数据的数据信息对应 的数据包进行解析,从而能够实现数据共享装置能够获取到各种数据类型的共 享数据,应用到 widget系统中,可以实现一种类型的 widget获取不同种类的 w i dge t的共享数据, 从而实现异构 widget间的数据共享。
在上述实施例中,还可以包括接收数据共享装置发送的包括共享数据的数 据类型的共享数据生成消息,并根据所述数据类型建立所述共享数据的索引的 步骤, 即数据共享装置在生成共享数据后,发送包括共享数据的数据类型的共 享数据生成消息给服务器,由服务器根据所述数据类型建立所述共享数据的索 引,服务器在接收到数据使用装置发送的共享数据请求消息后,根据上述请求 的数据类型查询是否包括情求的数据类型对应的共享数据的索引。在本实施例 中, 当确定有该数据类型对应的共享数据的索引时,确定存在该请求的数据类 型的共享数据。并进一步在存在请求的数据类型的共享数据时, 向数据使用装 置发送所述共享数据的数据信息以及所述共享数据的描述信息。
其中对于数据共享装置提供共享数据的过程可见如下的实施例,图 2为本 发明实施例中共享数据发布的流程示意图, 如图 2所示, 包括:
步骤 201、根据描述信息对需要共享的数据进行共享预处理以生成共享数 据; 本步骤中是数据共享装置在 widget运行起来并产生数据后, 对需要共享 的数据进行共享预处理,可以是对需要共享的数据进行持久化处理,例如可以 是由共享数据创建脚本对象, 然后做序列化处理, 并进行网络化处理, 以生成 可在网络上传播的数据包;在上述生成共享数据和数据包后,可将上述的共享 数据上传到服务器, 例如可以发送给微技服务器或者是微技数据共享服务器, 另外也可以在共享数据的提供装置中设置存储模块,利用该存储模块存储共享 数据;
步骤 202、 向服务器发送包括共享数据类型的共享数据生成消息; 本步骤 是在步骤 201 的基础上生成共享数据后通知服务器有某一类型的共享数据生 成, 上述共享数据的类型与共享数据的描述信息是一一对应的。
通过上述的实施例,数据共享装置能够将共享数据生成的消息发布到服务 器上, 并能够通知服务器上述生成的共享数据的数据类型。
图 3为本发明实施例中生成共享数据的流程示意图,本发明实施例中生成 共享数据的方法,也即对共享数据进行打包的方法可如图 3所示, 图 3为本发 明实施例中生成共享数据的数据包流程示意图, 包括如下步骤:
步骤 301、 对共享数据进行封装生成 JavaScr ip对象;
步骤 302、 将 JavaScr ip对象序列化为 JS0N字符串;
步骤 303、 对序列化后的 JS0N字符串打包成数据包, 数据包的格式符合 客户端与服务器端之间事先约定的特定协议,并且可以在数据包头域中添加辅 助性元数据;
在上述生成共享数据的数据包后,可以将其存储在数据共享装置中,也可 以将其发送到服务器上进行存储, 例如执行步骤 304 ;
步骤 304、将数据包发送到服务器,本步骤中可以使用 HTTP、 FTP等协议, 本步骤中的服务器端在接收到数据包后需要进行数据合法性检查,并在通过检 查后将建立上述共享数据的索引并存储到数据库中。
本实施例提供能够对共享数据进行打包,生成共享数据的数据包,并可将 其发送到服务器。
本发明实施例的服务器中还存储中各种类型的 widget及其对应的描述信 息, 上述描述信息可以由 widget开发者开发完 widget后要上传 widget时, 或者是在 widget共享数据的其他提供者(例如是其他网站)发布共享数据之 前, 将描述信息发送到服务器上。 其中一种实现方式是将共享数据封装为 widget能够使用的脚本对象(如 JavaScr ipt对象), 并用 XML语言描述对象 的数据结构。 例如某洗车指数 widget能够得到天气预报信息, 如果要将天气 信息共享以供其他的 widget 使用, 则可将天气信息封装在一个 JavaScr ipt 天气对象里, 并在 widget的描述文件里描述此天气对象的数据结构。
图 4为本发明实施例中发布数据的描述信息的流程示意图, 如图 4所示, 具体包括如下步骤:
步骤 401、 判断是否使用其他 widget产生的共享数据, 若是则执行步骤
402 , 否则执行步骤 403;
步骤 402、 按照其他 widget的描述信息操作共享数据, 并执行步骤 403; 步骤 403、 编写本 widget的业务逻辑;
步骤 404、 生成本 widget的共享数据的描述信息;
步骤 405、 将上述的描述信息发送到服务器。
本步骤中生成所述共享数据的描述信息可以发送给微技服务器或微技数 据共享服务器。 通过生成各个类型的 widget的共享数据的描述信息并发送到 服务器上, 从而能够为不同种类的 widget之间实现数据共享保障, 使得某一 类 widget在获取到其他种类的 widget 的共享数据的同时可以获取其描述信 息, 并根据器描述进行对共享数据的数据包进行解析, 从而能够实现异构 widget间的数据共享。
在上述的实施例中, 服务器 (widget服务器)充当了共享数据中转的角色, 例如某 widget要共享其设备上的一段视频, 即可将共享数据本身上传到服务 器上,也可以是将其存储位置信息作为共享数据上传到共享服务器上,视频请 求 widget从服务器上得到存储位置信息后解析出视频实际存放的地址, 再直 接向对方请求视频数据
图 5为本发明微技系统的服务器实施例的结构示意图,如图 5所示, 包括 第一接收模块 11, 第一存储模块 12和处理模块 13, 其中第一接收模块 11用 于接收数据使用装置发送的包括请求的数据类型的共享数据请求消息;第一存 储模块 12用于存储共享数据的数据信息以及各类共享数据的数据类型及其对 应的描述信息; 处理模块 13用于确定存在请求的数据类型的共享数据时, 向 数据使用装置发送共享数据的数据信息以及共享数据的描述信息。
本实施例提供的微技系统的服务器,通过第一接收模块接收数据使用装置 发送的包括请求的数据类型的共享数据请求消息,从第一存储模块存储的数据 信息中查找相应数据类型的共享数据,并将该共享数据的数据信息和描述信息 发送给数据使用装置, 从而实现了数据使用装置可以请求获得各种类型的数 据, 达到异构 widget间数据共享的效果。
在上述实施例的基础上, 微巨系统的服务器还可以包括第二接收模块 14 和索引建立模块 15 , 其中第二接收模块 14用于接收数据共享装置发送的包括 共享数据的数据类型的共享数据生成消息; 索引建立模块 15用于根据第二接 收模块 14接收到的共享数据生成消息建立所述共享数据的索引。
并且上述的处理模块 1 3可分为查询单元 131和发送单元 1 32, 其中查询 单元 131 用于根据所述请求的数据类型查询是否包括请求的数据类型对应的 共享数据的索引;发送单元 132用于在查询单元 131查询到上述请求的数据类 型对应的共享数据的索引时,向数据使用装置发送共享数据的数据信息以及共 享数据的描述信息。
本实施中的微技系统的服务器通过在接收到包括共享数据的数据类型的 共享数据生成消息时为其建立索引 ,使得在接收到共享数据请求消息时通过查 询是否包括请求的数据类型对应的共享数据的索引,从而获知是否存在该类型 的共享数据, 能够更加方便快捷的实现异构 widget间的数据共享。
图 6为本发明微技系统的客户端实施例的结构示意图,如图 6所示,微技 系统的客户端 2包括第一发送模块 21、第二接收模块 22和解析模块 23 ,其中 第一发送模块 21 用于向服务器发送包括请求的数据类型的共享数据请求消 息; 第二接收模块 22用于接收服务器在存在所述请求的数据类型的共享数据 时, 返回的共享数据的数据信息和所述共享数据的描述信息; 解析模块 23用 于根据所述共享数据的描述信息对所述共享数据的数据包进行解析以获取共 享数据。
本实施中提供的微机系统的客户端可以相当于微技系统中的数据使用装 置, 该装置能够通过向服务器发送包括请求的数据类型的共享数据请求消息, 并能够获取上述数据类型对应的共享数据的数据信息和描述信息,具体的上述 数据信息可以为共享数据的数据包或者共享数据的存储位置信息,在上述的数 据信息为存储位置信息时,可以根据该存储位置信息从数据共享装置、微技数 据共享服务器或共享数据库获取共享数据的数据包,上述的数据共享装置可以 为微技系统的另一个客户端, 在获取到上述的共享数据的数据包和描述信息 后, 能够根据共享数据的描述信息对共享数据的数据包进行解析,从而获得共 享数据, 实现异构 widget间的数据共享。
在微技系统中,客户端可以是即能够提供共享数据,又是能够使用共享数 据的装置, 该客户端还可以包括预处理模块 24和第二发送模块 25, 预处理模 块 24用于根据描述信息对需要共享的数据进行共享预处理以生成共享数据; 第二发送模块 25用于在预处理模块生成共享数据后, 向服务器发送包括共享 数据类型的共享数据生成消息。
上述实施例提供的微技系统的客户端中还可以设置存储模块,该模块用于 存储预处理模块 24生成的共享数据。
本实施例提供的微技系统的客户端, 即能在服务器上发布共享数据, 由能 够荻取其他客户端发布的共享数据, 且上述的共享数据可以为不同的数据类 型,即可以是由不同种类的 wi dge t发布的共享数据,从而能够实现异构 widget 间的数据共享。
图 7为本发明数据共享系统实施例的结构示意图,如图 7所示,数据共享 系统包括服务器 31和数据使用装置 32 , 其中服务器 31用于接收数据使用装 置 32发送的包括请求的数据类型的共享数据请求消息, 在存在请求的数据类 型的共享数据时, 向数据使用装置 32发送所述共享数据的数据信息以及所述 共享数据的描述信息; 数据使用装置 32 (相当于一个客户端)用于向服务器 31发送包括请求的数据类型的共享数据请求消息,接收服务器 31在存在所述 请求的数据类型的共享数据时,返回的共享数据的数据信息和所述共享数据的 描述信息,并根据所述共享数据的描述信息对所述共享数据的数据包进行解析 以获取共享数据。
本实施例提供的微技系统的服务器,通过在接收数据使用装置发送的包括 请求的数据类型的共享数据请求消息后,将存在的上述数据类型对应的共享数 据的数据信息和描述信息发送给数据使用装置,从而实现了数据使用装置可以 请求获得各种类型的数据, 达到异构 widget间数据共享的效果。
上述实施例中的数据共享系统还可以进一步包括数据共享装置 33 , 该装 置可相当于另一个客户端 ,用于根据描述信息对需要共享的数据进行共享预处 理以生成共享数据后, 向服务器发送包括共享数据类型的共享数据生成消息。
本实施例中的数据共享装置和数据使用装置可以为 widget , 数据使用装 置根据荻取的共享数据的描述信息对获取的共享数据的数据包进行解析并获 得共享数据, 从而实现了数据共享, 能够实现远程、 异构 widget间的数据共 享, 达到一个 widget的数据被另一个 widget复用的效果, 从而使得 widget 组成跨终端区域的通信网络, 并且上述的 widget的类型可以不同。
上述实施例中的所述服务器可以包括微技服务器和微技数据共享服务器, 所述微技服务器用于处理接收到的共享数据生成消息和共享数据请求消息,所 述微技数据共享服务器用于存储共享数据的描述信息。
另外对于共享数据,也可以使存储在微技数据共享服务器中,此次微技数 据共享服务器还用于存储处于共享状态的共享数据。
另外上述服务器还可以是包括微技服务器、微技数据共享服务器和共享数 据库,所述微技服务器用于处理接收到的共享数据生成消息和共享数据请求消 息,所述微技数据共享服务器用于存储共享数据的描述信息, 所述共享数据库 用于存储处于共享状态的共享数据,即设置单独的共享数据库存储处于共享状 态的共享数据。
上述实施例提供的数据共享系统,其中的共享数据和共享数据的描述信息 可以有不同的设置方法, 都能够实现不同类型的 widget的数据共享。
图 8为本发明数据共享系统具体实施例的结构示意图,如图 8所示,数据 共享系统包括数据共享装置 4、 widget服务器 5和数据使用装置 6, 其中的数 据共享装置 4用于发布共享数据, 具体的当上述共享装置为 widget引擎时, 该装置内应包括 widget41及 widget运行环境 42。 为了方便共享数据在网络 中传播, 一种具体实现方式是在数据共享装置中 4中设置预处理模块 43和发 送模块 44 , 该预处理模块 43能够实现对 widget共享数据进行共享预处理并 生成能在网络上传播的数据包,发送模块 44向 widget服务器发送包括共享数 据类型的共享数据生成消息; 相对应的, 在数据使用装置 6 中除设置 widget 61 、 widget运行环境 62外, 还应该设置解析模块 63和请求模块 64 , 请求模块 6 向 widget服务器发送包括请求的数据类型的共享数据请求消息, 用于获取 widget服务器中包括满足请求的数据类型的共享数据信息, 解析模 块 63用于根据所述共享数据的描述信息对所述共享数据进行解析以获取共享 数据; 一种实现方式是将上述的预处理和数据包解析功能合并在一个模块中, 将发布共享数据和请求共享数据的功能合并在一个模块中, 其中的 widget引 擎也可以同时作为数据共享装置和数据使用装置使用。 本实施例中的 widget 服务器 5可以包括网络代理模块 51、 widget IDE52、 请求处理模块 53和注册 模块 54 ,并可设置共享数据数据库 55 ,该共享数据数据库 55用于存储并管理 数据共享装置提供的共享数据或者共享数据的索引信息,该模块与请求处理模 块 53连接, 另外还可以设置 widget数据库 56, 该数据库存储并管理 widget 及其配置信息和共享数据的描述信息。 上述的共享数据数据库 55 和 widget 数据库 56可以设置在同一 widget服务器上, 也可以部署在不同的服务器上。 widget 服务器实质上起的作用是完成共享数据的中转, 可以是一个或者多个 设备, 该设备能够为开发者提供描述信息的上传接口、 为 widget提供联网代 理、 验证并处理共享数据的上传和下载请求, 具体可将其划分为 widget上传 服务器、 widget下载服务器、 widget数据共享服务器、 widget服务请求服务 器等。 另外 widget服务器 5还可以与第三方服务提供商 7通信连接。
本发明实施例提供的微技系统的数据共享方法、服务器、客户端以及数据 共享系统, 通过在服务器中存储各种类型的 widget的描述信息, 以及各种类 型的共享数据的数据信息,并且客户端在生成某一类型的共享数据后,可以向 服务器发送包括该数据类型的共享数据生成消息, 实现共享数据的发布,在某 一客户端需要某种类型的共享数据时,可以向服务器发送包括请求的数据类型 的共享数据请求消息,服务器查询是否存在上述数据类型的共享数据,并在存 在时向请求的客户端返回共享数据的数据信息和共享数据的描述信息,能够实 现各种类型的数据在不同的客户端之间的共享, 达到远程异构 widget间的数 据共享。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明 可借助软件加必需的通用硬件平台的方式来实现, 当然也可以通过硬件,或者 二者的结合来实施。基于这样的理解,本发明的技术方案本质上或者说对现有 技术做出贡献的部分可以以软件产品的形式体现出来,该软件模块或计算机软 件产品可以存储在一个存储介质中, 包括若干指令用以使得一台计算机设备 (可以是个人计算机, 服务器, 或者网络设备等)执行本发明各个实施例所述 的方法。 存储介质可以是随机存储器(RAM )、 内存、 只读存储器(ROM )、 电可编程 ROM、电可擦除可编程 ROM、寄存器、硬盘、可移动磁盘、 CD-ROM、 或技术领域内所公知的任意其它形式的存储介质。
最后应说明的是:以上实施例仅用以说明本发明的技术方案而非对其进行 限制,尽管参照较佳实施例对本发明进行了详细的说明,本领域的普通技术人 员应当理解:其依然可以对本发明的技术方案进行修改或者等同替换, 而这些 修改或者等同替换亦不能使修改后的技术方案脱离本发明技术方案的精神和 范围。
15

Claims

权 利 要 求
1、 一种微技系统的数据共享方法, 其特征在于, 包括:
接收数据使用装置发送的包括请求的数据类型的共享数据请求消息; 当确定存在请求的数据类型的共享数据时, 向所述数据使用装置发送所述共 享数据的数据信息以及所述共享数据的描述信息, 以使得所述数据使用装置根据 所述共享数据的描述信息对所述共享数据的数据信息对应的数据包进行解析。
2、 根据权利要求 1所述的微技系统的数据共享方法, 其特征在于, 还包 括:
接收所述数据共享装置发送的包括共享数据的数据类型的共享数据生成 消息, 并根据所述数据类型建立所述共享数据的索引。
3、 根据权利要求 2所述的微技系统的数据共享方法, 其特征在于, 在接收 所述数据使用装置发送的包括请求的数据类型的共享数据请求消息之后还包括: 根据所述请求的数据类型查询是否包括请求的数据类型对应的共享数据 的索引;
当确定有所述共享数据的索引时,确定存在所述倚求的数据类型的共享数 据。
4、 根据权利要求 2所述的微技系统的数据共享方法, 其特征在于, 所述 向所述数据使用装置发送的共享数据的数据信息为共享数据的数据包或者共 享数据的存储位置信息。
5、 根据权利要求 4所述的微技系统的数据共享方法, 其特征在于, 在所 述数据信息为共享数据的存储位置信息时, 所述方法还包括:
接收到所述共享数据的存储位置信息的数据使用装置从数据共享装置、微 技数据共享服务器或共享数据库获取共享数据的数据包。
6、 根据权利要求 4或 5所述的微技系统的数据共享方法, 其特征在于, 还包括:
获取到所述共享数据的数据包的数据使用装置根据所述共享数据的描述 信息对所述共享数据的数据包进行解析。
7、 一种微技系统的服务器, 其特征在于, 包括:
第一接收模块 ,用于接收数据使用装置发送的包括请求的数据类型的共享 数据请求消息;
第一存储模块,用于存储共享数据的数据信息以及各类共享数据的数据类 型及所述各类共享数据对应的描述信息;
处理模块,用于确定存在请求的数据类型的共享数据时, 向所述数据使用 装置发送共享数据的数据信息以及共享数据的描述信息,所述共享数据的描述 信息用于使所述数据使用装置根据所述共享数据的描述信息对所述共享数据 的数据信息对应的数据包进行解析。
8、 根据权利要求 7所述的微技系统的服务器, 其特征在于, 还包括: 第二接收模块,用于接收数据共享装置发送的包括共享数据的数据类型的 共享数据生成消息;
索引建立模块,用于根据第一接收模块共享数据生成消息建立所述共享数 据的索引。
9、 根据权利要求 8所述的微技系统的服务器, 其特征在于, 所述处理模 块包括:
查询单元,用于根据所述请求的数据类型查询是否包括请求的数据类型对 应的共享数据的索引;
发送单元,用于在查询单元查询到所述请求的数据类型对应的共享数据的索 引时, 向数据使用装置发送共享数据的数据信息以及共享数据的描述信息。
10、 一种微技系统的客户端, 其特征在于, 包括:
第一发送模块,用于向服务器发送包括请求的数据类型的共享数据请求消 息;
第二接收模块, 用于接收服务器在存在所述请求的数据类型的共享数据 时, 返回的共享数据的数据信息和所述共享数据的描述信息;
解析模块,用于根据所述共享数据的描述信息对所述共享数据的数据信息 对应的数据包进行解析以获取共享数据。
11、 根据权利要求 10所述的微技系统的客户端, 其特征在于, 还包括: 预处理模块,用于根据描述信息对需要共享的数据进行共享预处理以生成 共享数据;
第二发送模块,用于在预处理模块生成共享数据后, 向服务器发送包括共 享数据类型的共享数据生成消息。
12、 一种数据共享系统, 其特征在于, 包括服务器和数据使用装置; 所述服务器用于接收数据使用装置发送的包括请求的数据类型的共享数 据请求消息,在存在请求的数据类型的共享数据时, 向数据使用装置发送所述 共享数据的数据信息以及所述共享数据的描述信息;
所述数据使用装置用于向服务器发送包括倚求的数据类型的共享数据请 求消息,接收服务器在存在所述请求的数据类型的共享数据时,返回的共享数 据的数据信息和所述共享数据的描述信息,并根据所述共享数据的描述信息对 所述共享数据的数据信息对应的数据包进行解析以获取共享数据。
13、 根据权利要求 12所述的数据共享系统, 其特征在于, 还包括: 数据共享装置,用于根据描述信息对需要共享的数据进行共享预处理以生 成共享数据后, 向服务器发送包括共享数据类型的共享数据生成消息。
14、 根据权利要求 12所述的数据共享系统, 其特征在于, 所述服务器包 括微技服务器和微技数据共享服务器 ,所述微技服务器用于处理接收到的共享 数据生成消息和共享数据请求消息,所述微技数据共享服务器用于存储共享数 据的描述信息。
15、 根据权利要求 12所述的数据共享系统, 其特征在于, 所述服务器包 括微技服务器、微技数据共享服务器和共享数据库,所述微技服务器用于处理 接收到的共享数据生成消息和共享数据请求消息消息,所述微技数据共享服务 器用于存储共享数据的描述信息, 所述共享数据库用于存储共享数据。
16、 一种微技系统的服务器, 其特征在于, 包括:
第一接收模块 ,用于接收数据使用装置发送的包括请求的数据类型的共享 数据请求消息;
处理模块,用于确定存在请求的数据类型的共享数据时, 向所述数据使用 装置发送共享数据的数据信息以及共享数据的描述信息,所述共享数据的描述 信息用于使所述数据使用装置根据所述共享数据的描述信息对所述共享数据 的数据信息对应的数据包进行解析。
17、 如权利要求 16所述的微技系统的服务器, 其特征在于, 所述服务器 还包括:
第一存储模块,用于存储共享数据的数据信息以及各类共享数据的数据类 型及所述各类共享数据对应的描述信息。
20
PCT/CN2010/070437 2009-05-20 2010-01-30 微技系统的数据共享方法、服务器以及数据共享系统 WO2010133097A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910085055.6 2009-05-20
CN 200910085055 CN101895520B (zh) 2009-05-20 2009-05-20 微技系统的数据共享方法、服务器以及数据共享系统

Publications (1)

Publication Number Publication Date
WO2010133097A1 true WO2010133097A1 (zh) 2010-11-25

Family

ID=43104587

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/070437 WO2010133097A1 (zh) 2009-05-20 2010-01-30 微技系统的数据共享方法、服务器以及数据共享系统

Country Status (2)

Country Link
CN (1) CN101895520B (zh)
WO (1) WO2010133097A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571720B (zh) * 2010-12-27 2015-02-04 中国移动通信集团辽宁有限公司 一种异构信息内容处理方法及装置
CN102143219B (zh) * 2011-01-25 2015-01-28 中兴通讯股份有限公司 widget资源的共享方法及系统
CN103842960A (zh) * 2011-09-30 2014-06-04 诺基亚公司 用于控件间通信的方法和设备
CN102812690B (zh) 2012-05-30 2014-06-11 华为技术有限公司 获取数据类型定义的方法和装置
CN104301102B (zh) * 2013-07-19 2019-03-15 中国移动通信集团北京有限公司 Widget通信方法、装置及系统
CN111245854B (zh) * 2014-11-27 2022-11-22 华为终端有限公司 一种媒体传输方法、媒体控制方法及装置
CN104780222B (zh) * 2015-04-29 2019-03-12 江苏物联网研究发展中心 基于http和对象序列化的通用数据交换方法
CN107172173A (zh) * 2017-06-01 2017-09-15 智象互联(厦门)科技有限公司 一种saas模式的移动互联网平台数据共享办法和装置
CN108920111B (zh) * 2018-07-27 2021-05-28 中国联合网络通信集团有限公司 数据共享方法及分布式数据共享系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1525334A (zh) * 2003-02-24 2004-09-01 日本电气株式会社 移动终端数据存储器共享系统及实现上述功能的程序
CN1949763A (zh) * 2005-10-11 2007-04-18 北京航空航天大学 共享信息服务器系统
CN101116074A (zh) * 2005-02-07 2008-01-30 索尼爱立信移动通讯股份有限公司 电子设备的通用解析器
US20090044144A1 (en) * 2007-08-06 2009-02-12 Morris Robert P Methods And Apparatus For Sharing User Interface Widget Annotations

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1525334A (zh) * 2003-02-24 2004-09-01 日本电气株式会社 移动终端数据存储器共享系统及实现上述功能的程序
CN101116074A (zh) * 2005-02-07 2008-01-30 索尼爱立信移动通讯股份有限公司 电子设备的通用解析器
CN1949763A (zh) * 2005-10-11 2007-04-18 北京航空航天大学 共享信息服务器系统
US20090044144A1 (en) * 2007-08-06 2009-02-12 Morris Robert P Methods And Apparatus For Sharing User Interface Widget Annotations

Also Published As

Publication number Publication date
CN101895520A (zh) 2010-11-24
CN101895520B (zh) 2013-06-12

Similar Documents

Publication Publication Date Title
WO2010133097A1 (zh) 微技系统的数据共享方法、服务器以及数据共享系统
US11729294B2 (en) Processing DNS queries to identify pre-processing information
CN109067914B (zh) Web服务的代理方法、装置、设备及存储介质
WO2017097123A1 (zh) 访问请求转换的方法和装置
Lampesberger Technologies for web and cloud service interaction: a survey
KR20130093764A (ko) 게이트웨이에서 인터넷 프로토콜 기반 네트워크를 이용하여 컨텐츠 중심 네트워크를 구현하는 방법 및 그 게이트웨이
JP2011501829A (ja) 安全なモジュール間通信機構
CN110769009B (zh) 用户身份认证方法及系统
US20130212159A1 (en) Method, Apparatus and System for Intercepted Triggering of Execution of Internet Services
WO2015024604A1 (en) System and device for enabling any network functionality client or server in a html5 application
US8230448B2 (en) Methods, systems and computer program products for web service interaction with a resource management system
JP2008533784A5 (zh)
WO2021008567A1 (zh) 基于全双工通信协议的请求传输方法及装置
US10382521B2 (en) Gateway that enables a browser-based application to communicate with a server-side application using a non-browser-compatible protocol
WO2015061938A1 (zh) 一种重定向数据业务代理的方法、设备及系统
CN103347087B (zh) 一种结构化p2p和uddi的服务注册与查找方法和系统
WO2014179950A1 (zh) 一种文件上传方法、客户端和服务端
US20150113101A1 (en) Method and apparatus for providing streaming content
US10044788B2 (en) Native client multimedia redirection
JP2008134914A (ja) 複合サービス提供システムおよび方法
WO2012163177A1 (zh) 多媒体文件的处理方法及通信系统中的网络侧设备
CN113285920B (zh) 业务访问方法、装置、设备及存储介质
EP3170089B1 (en) Brokering data access requests and responses
EP2101474A1 (en) Service bindings for web services
CA2593877A1 (en) Automatic mobile device configuration

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: 10777301

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: 10777301

Country of ref document: EP

Kind code of ref document: A1