[go: up one dir, main page]

WO2015035907A1 - Databox system for data exchanges and service acquirement and sensing, and operation method thereof - Google Patents

Databox system for data exchanges and service acquirement and sensing, and operation method thereof Download PDF

Info

Publication number
WO2015035907A1
WO2015035907A1 PCT/CN2014/086202 CN2014086202W WO2015035907A1 WO 2015035907 A1 WO2015035907 A1 WO 2015035907A1 CN 2014086202 W CN2014086202 W CN 2014086202W WO 2015035907 A1 WO2015035907 A1 WO 2015035907A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
service
data box
services
user
Prior art date
Application number
PCT/CN2014/086202
Other languages
French (fr)
Chinese (zh)
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 WO2015035907A1 publication Critical patent/WO2015035907A1/en

Links

Images

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/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/42Mailbox-related aspects, e.g. synchronisation of mailboxes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/487Arrangements for providing information services, e.g. recorded voice services or time announcements
    • H04M3/493Interactive information services, e.g. directory enquiries ; Arrangements therefor, e.g. interactive voice response [IVR] systems or voice portals
    • H04M3/4931Directory assistance systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/487Arrangements for providing information services, e.g. recorded voice services or time announcements
    • H04M3/493Interactive information services, e.g. directory enquiries ; Arrangements therefor, e.g. interactive voice response [IVR] systems or voice portals
    • H04M3/4938Interactive information services, e.g. directory enquiries ; Arrangements therefor, e.g. interactive voice response [IVR] systems or voice portals comprising a voice browser which renders and interprets, e.g. VoiceXML

Definitions

  • the invention belongs to the technical field of networks, and specifically relates to a data box system for mailing and directory exchange data, acquiring and sensing services and a using method thereof.
  • the present invention provides a data box system capable of effectively providing a directory-type navigation service, integrating different services, exchanging data, acquiring and sensing services, and using the same. Provide users with more convenient and fast service.
  • a data box system for exchanging data, acquiring and sensing services, characterized by including a service provider and a user,
  • the service provider provides a data box for each user or service provider and provides at least one data box address for each data box;
  • the user or service provider uses the client or logs into its own data box, specifies the address of the data box of itself or the other party, and exchanges data, acquisition and sensing services with the specified data box through a commonly adhered protocol.
  • the service provider is multiple, the service provider implements a trust relationship through a digital certificate or an RSA/DES/HASH security algorithm or a password, or establishes a trust relationship by trusting a service provider, and the users or service providers of different service providers themselves Data exchange, acquisition and awareness services are provided through data box addresses provided by different service providers.
  • the user or the service provider can bind the data box address to the account provided by the trust service provider, and select the policy setting whether to disclose all or several of the bound data box addresses, thereby facilitating other users or service providers to pass the The account gets these data box addresses.
  • the user or service provider can log in to the data box through the portal provided by the service provider or through the client.
  • Any client that can access the data box can exchange data, acquire and sense services with the data box, which is a system, software or program.
  • the data box system provides a directory for each data box that describes the service.
  • the service is a service program that extends the data box system with other systems, software, or programs.
  • the service program is extended or attached to the data box through an adapter, and is configured or dynamically registered to the directory of the data box description service.
  • the services include: mailbox service, message service, chat or message service, status notification service, data management and statistical analysis or chart service, e-commerce or shopping or group purchase service, online survey service, question and answer service, web navigation service, network Disk or archive service, document service, File conversion services such as format conversion or compression or download or thumbnail or file services, pages or components or applications or files or photo albums, subscription and publishing services such as RSS, advertising services, blogs or microblogging services, encyclopedia services, post bar services, forums Internet services such as services, chat dating, video and audio services, financial or news information services, pictorial services, dictionary services, translation services, custody services, directory services, tracing or donation services, online mediation and rental services, gaming services , collaborative office management services, collaborative development services, remote control services, mobile phones or SMS or MMS or contacts or voice or office services, photo services, voice services, review and comment services, template services, consulting or design or carpooling or Life services such as lottery or recharge or repayment or payment, print service, online payment service, business opportunity service, anti-virus service, search service,
  • the extended format of the data box address is a data box address/service name/sub-service name/..., and the data box system quickly locates the service program to process the request according to the extended format of the data box address.
  • One request and response data in the data box is called a data piece, and the data box system stores the data of each transmission and response in a format and saves it.
  • a data piece is composed of two parts of data transmitted and responded.
  • the two parts of the data content include one or more of a directory service, a service-related data message, and a UI interface-related data Ui, or none of them.
  • the data content of the response part contains the data that Status describes the response status.
  • the present invention also provides a method of using a data box system for exchanging data, acquiring and sensing services.
  • a method for using a data box system for exchanging data, acquiring and sensing services comprising: the following steps:
  • the user logs in to his or her own data box, or through the client, which includes the service provider himself;
  • the user specifies the data box address of the other party, and the other party refers to himself, other users or service providers;
  • the data box system or client where the user data box is located resolves the address of the other party's data box, and sends a service request to the data box system where the other data box is located, and if it is the data box system or client where the user data box is located, When the data file function is stored locally, the data of the service request is saved to the user's data box or the client local;
  • the data box system where the other party's data box is located first confirms whether the received data box address is correct, and whether the user's identity is valid or trusted. If invalid or untrusted, according to the policy, whether to respond or not; receiving the service request Data and save it to the data box; the data box system where the other data box is located determines whether the data box system provides a service program for these service requests, and if so, runs these service programs for processing, and describes the directory status of the response status. The processing result, Ui and other data are sent to the data box system where the data box is located. Otherwise, the response status, directory service, UI and other data responses are directly sent to the data box system or client where the user data box is located; the data box; The response data will also be saved to the other party's data box;
  • the data box system or client where the user data box is located receives the response data, and if the data box system in which the user data box is located or the client has the function of locally storing data pieces, the response data is saved to the corresponding data piece. This is the process of completing this request and response.
  • the data box system identifies whether the sender identity is valid or trusted for the data item, and the user can check and manage the data pieces in the data box.
  • the data box system or client can provide the user with a UI interface for further selection of services and associated with the returned processing result data.
  • Step 2-5 is started again according to the UI interface of the directory service and data, wherein the data box address specified in step 2 can be an extended format with a service name.
  • the step 2 includes: 1) the user specifies the account on the trusted service provider of the other party; 2) the data box system or the client where the user data box is located sends a request to the trusted service provider to find the data box address bound by the other party account 3) After obtaining the data box address bound to the other party's account, use the data box address specified by the other party's account by default, or the user directly selects the data box address.
  • the client can access the data box address of the other party without logging in, and the data box system where the data box of the other party is located directly confirms that the identity of the sender is unknown or untrusted, and selects whether the response is rejected according to the policy.
  • the client may use a trust token generated by the user's data box system and the other party's data box system for the user's appointment or dynamic interaction, and when the client holds the trust token to access the other party's data box,
  • the identity of the data box owned by the user may be indicated, the trust token being a certificate issued by the data box system in which the user data box is located and the data box system of the other party, or a password, or a specific session cookie value.
  • the design idea of the system and the method is derived from the widely used electronic mailbox, IVR voice navigation and the like. Data exchange is realized by means of e-mail mail transmission, and the directory service is provided to users by means of IVR voice instruction work.
  • the technical effects achieved are:
  • Figure 1 A B service providers establish a trust relationship.
  • Figure 3 A service provider's data box address.
  • Figure 4 The user owns the data box of the A service provider.
  • Figure 5 The user owns the account of the C trust service provider and binds multiple data box addresses.
  • Figure 6 shows the directory-based service provided by the data box address, which is similar in structure to IVR voice navigation.
  • Figure 10 Establish a trust relationship directly between service providers.
  • Figure 12 Directory Service UI interface.
  • Figure 13 Directory service photo photos UI interface.
  • Figure 14 Directory Service Photo Photo's "Latest Photos” user interface.
  • Figure 15 supports other service programs through adapter extensions.
  • Figure 16 Schematic diagram of the user's use of the data box.
  • Figure 17 Steps for the client to access the data box without logging in.
  • Figure 18 The mode in which the user uses the client's local storage.
  • Figure 19 Flowchart of the mode stored by the user using the other party's data box agent.
  • the design idea of the DataBox data box stems from the widely used e-mail, IVR voice navigation and so on.
  • the DataBox data box uses the method of “sending mail to the other party's email address or accessing its own mailbox to obtain mail” to obtain and exchange information with the sensing service, and the two parties exchange data with each other. At the same time, it provides catalogue-type convenient service in combination with the work similar to the IVR voice command. .
  • the e-mail can automatically receive e-mails sent by any e-mail address on the network, and can store electronic files in various formats such as a specified size. Its characteristics are that people can receive and send letters at any time, solve the limitations of time and space, greatly improve work efficiency, and provide great convenience for office automation and commercial activities.
  • IVR Interactive Voice Response
  • IVR is an interactive voice response. You only need to use the phone to enter the service center and listen to the mobile entertainment products according to the operation prompts. The related information can be played according to the content input by the user. IVR is available 24 hours a day, 7 days a week. IVR handles a large amount of day-to-day business for businesses without having to go through a business representative. Customers can input information to the enterprise host through button or voice selection, access various types of enterprise databases (through ODBC) within the allowed range, and self-service to obtain a variety of services, so that business representatives have more time to serve customers with special requirements.
  • ODBC enterprise databases
  • the DataBox data box design is as follows:
  • a service provider for providing data box services.
  • the service provider can realize the trust through digital certificates, RSA/DES/HASH security algorithms or passwords. Relationship ( Figure 1).
  • service providers can establish trust relationships through trust service providers ( Figure 2).
  • a service called a user who uses a data box service and at least one data box address is provided by the service provider.
  • the format of the data item address emulates the email address can be: username! CPU name.
  • databox! Onegrid.cn the service provider itself also has a data box address ( Figure 3), which can be:! Hostname, for example! Onegrid.cn.
  • a user on the Internet usually has multiple data box addresses, such as databox! A service provider ( Figure 4), databox! B service provider.
  • the user can apply for registration of an account at the trust service provider, and the account will bind these data box addresses to the user (Fig. 5).
  • the service provider provides the data box service to the user through the data box system.
  • These services are usually related to their own business, system functions or operational strategies.
  • a mail system operator can provide a mail service as a service provider
  • a blog system operator can provide a blog service as a service provider
  • an archive system operator can provide an archive service as a service provider
  • an e-commerce enterprise can provide an e-commerce service as a service provider, etc. Wait.
  • a service provider's data box system has at least one directory service. At the same time, these services form a tree directory.
  • the data box address format can be extended to:
  • register, product, databox, and order are service names
  • databox is the subservice name of product
  • order is the subservice name of databox
  • Onegrid.cn user databox on onegrid.cn service provider
  • photos.family, leaveword are service names
  • family is the sub-service name of photos
  • the data box address does not carry any service name, it means that it points to a default directory service.
  • the data transfer of the data box considers the widely used protocols such as HTTP(S) and S-HTTP, and refers to the design and development method of REST. Different from the design of the mailbox system:
  • the requested service name can be carried on the specified data box address.
  • the data transmitted and responded to the data box is also in a standard format and is defined using XML (Marking Language).
  • XML Marking Language
  • Custom information is like a mailbox starting with X-.
  • Custom information is like a mailbox starting with X-.
  • the data box system can provide data processing programs for standard data format extensions.
  • the mail processing program is provided to transfer the mail to the mailbox system;
  • the message processing program is provided to save the message to the website message system;
  • the order message service provides an order processing program to save the order to the company's online sales system;
  • the data in the data box also supports group sending, CC, Bcc, forwarding and other functions. That is to say, the format of the data piece is composed of two parts: transmission and response.
  • the preparation stage Access the client (system, software, program, etc.) of the data box, specify the address of the other party's data box, the service requested, and the data to be transmitted. Can provide users with a directory-based selection service, a form-based environment for writing data, or The system, software, programs, etc. are automatically generated according to requirements.
  • the transmission phase According to the data box address of the other party, the data is sent to the data box system of the service provider of the other party through the data transmission protocol through the network.
  • the certification phase After receiving the request from the service provider's data box system, first confirm whether the data box address specified by the sender is correct, and whether the sender's identity is valid (it is also possible to select whether to authenticate the sender according to the policy).
  • the receiving phase Receive data and save it to a data box (called a data piece).
  • a data box called a data piece.
  • the data box system provides a processing program for these data extensions, and if so, the programs are run for processing.
  • the user can set the policy of data reception according to the humanized configuration service provided by the data box system.
  • A.1. The data box system of the other service provider confirms that the identity of the sender is unknown or untrusted.
  • sender's data box service provider is a trusted service provider
  • the sender's identity can be trusted by the security technology trusted by both parties.
  • the sender identity process is the same as the B process.
  • the sender sends a request by trusting the service provider's account role
  • the sender's identity can be trusted by the three-party trusted security technology.
  • the confirmation strategy can be selected as follows:
  • D.3.1. Access Trust The service provider verifies that the sender's data box address matches the account number. If it does not match, the sender's identity is forged and the response is rejected.
  • D.3.2. Access Trust The service provider verifies that the sender's data box service provider is the service provider that passes the authentication, and then confirms that the sender's identity is trusted. If not, the sender is required to manually verify that the current request is from the website under the trust provider's website domain, similar to the online shopping online payment process.
  • the service provider data box system should provide a user-friendly configuration interface to facilitate the user to set the data receiving strategy.
  • a global policy can be set, or a special policy for providing a service provider's account for certain data box addresses or trusts. These policies may be that if the sender's identity is unknown or untrustworthy, the user must manually confirm and choose whether to adopt the same policy in the future; if the sender's identity is trusted, respond immediately, and so on.
  • a data box system is different from a mail system, not just for receiving mail. More importantly, the data box and the service or service system provided by the service provider are usually connected.
  • the service provider provides the user with the hosting service of the website, then the user's data box can provide the external message service, and the message data from the data box is automatically processed into the message system of the website; the service provider sells the product and has the invoicing. System, then the service provider's data box can provide product ordering service to the outside, and the order from the data box is processed into the invoicing system automatically. As shown in Figure 9.
  • the response processing is usually real-time.
  • the data content of the response contains the result of the program processing in addition to the result of receiving the data.
  • user a registers account ca with the trusted service provider c and binds the data box a he uses! S0.com, a! S1.com
  • user b registers account cb with the trusted service provider c and binds the data box b he uses! S1.com.
  • FIG. 10 a trust relationship is directly established between the service provider s0.com and the service provider s1.com.
  • the service provider s0.com and the service provider s1.com establish a trust relationship indirectly through the trust service provider c.
  • the first step is to specify the data box address a! S0.com
  • the data box system s1.com is located to send a request for obtaining a directory service to the service provider s0.com where the target data box address is located.
  • the system will save this request to the data box.
  • the technology used in this solution is that the service provider s0.com uses REST to provide directory services.
  • REST defines a set of architectural principles that you can use to design system resources-centric Web services, including how clients written in different languages can process and transfer resource state over HTTP. If you consider the number of Web services that use it, REST has become the most important Web service design pattern in recent years.
  • the data box address of user a at the service provider s0.com is a! S0.com, then the service provider s1.com can think that the REST URL of the service provider s0.com is http://s0.com/a, method: GET.
  • HTTPS Hypertext Transfer Protocol over Secure Socket Layer
  • SSL Secure Socket Layer
  • the SSL protocol is located between the TCP/IP protocol and various application layer protocols to provide security support for data communication.
  • the SSL protocol can be divided into two layers: the SSL Record Protocol: it is built on a reliable transport protocol (such as TCP) to provide basic functions such as data encapsulation, compression, and encryption for higher layer protocols.
  • SSL Handshake Protocol It is built on the SSL record protocol to authenticate the identity, negotiate encryption algorithms, and exchange encryption keys before the actual data transmission begins.
  • the workflow of the SSL protocol 1) The client sends a start message "Hello" to the server to start a new session connection; 2) The server determines whether it needs to generate a new master key based on the customer information, and the server responds if needed The customer's "Hello” information will contain the information needed to generate the master key; 3) the client generates a master key based on the received server response information, and encrypts it with the server's public key and transmits it to the server; 4) Server The master key is restored and returned to the client with a message authenticated by the master key to allow the client to authenticate the server.
  • the service provider s1.com sends a request to the service provider s0.com, then the service provider s1.com is the client, and the service provider s0.com is the server.
  • the service provider s1.com and the service provider s0.com perform an SSL handshake through digital certificates trusted by each other.
  • digital certificates that are trusted to each other can be issued by the root certificate of the trusted service provider c (including the root certificate provided by the authority). Through this handshake, the authentication of the trust relationship is completed, and the service provider s0.com can also determine whether the identity of the sender is trustworthy.
  • the OAUTH protocol provides a secure, open and easy standard for authorizing user resources.
  • the difference from the previous authorization method is that the OAUTH authorization does not enable the third party to touch the user's account information (such as the user name and password), that is, the third party can apply for the user resource without using the user's username and password. Authorization, so OAUTH is safe.
  • the service provider s0.com confirms whether the recipient's data box address exists, and confirms the identity of the sender, receives the requested data according to the policy, and runs the corresponding program to return data such as the directory service. At the same time, these received, responsive data will also be saved to the data box.
  • the default definition of the scheme to receive request data is:
  • waiting for the user to confirm the policy means that the request response requires the user to manually respond, similar to the prompting strategy when the webpage loads some unknown or unsafe controls.
  • the service provider s1.com receives the response data and saves the data to the corresponding data piece, which indicates the process of completing the request and response.
  • the data box system usually provides the user with a UI interface for further selection of services. For example, if the user dials a voice call, the voice prompt presses the 1 button to obtain the photo service, and the 2 button to obtain the message service requires keyboard operation. See Figure 12 for an example.
  • the user further selects the service, for example, the user presses the 1 button to obtain the photo service according to the voice prompt.
  • the sixth step is to run according to the first step to the fourth step. Only the data box address of this request has a service name, such as:
  • data of the directory service, photos, and the like are returned according to the standard format of the data box response data.
  • the data for the directory service is as follows:
  • the photo data is as follows:
  • the service provider s0.com provides UI data for the above data, as shown in the following example:
  • the above package is a form of the UI specification. It is a component for displaying the latest photos, similar to the controls on the web page. When the service provider's data box system does not have this component, it can be downloaded through the specified plugin path.
  • the UI interface of the directory service is changed to the following example form of FIG.
  • the voice prompt For example, if the user dials the voice prompt and presses the 1 button, the voice prompts to press the 1 button to obtain the home photo service, and press the 2 button to obtain the personal photo service.
  • the data box system of the service provider s1.com displays the operation interface shown in FIG. 14 according to the data data and the UI.
  • the user can further select the service, for example, the user continues to press the button to obtain the service according to the voice prompt.
  • step 4 repeat the steps from step 1 to step 4.
  • This solution uses an adapter to extend or hook up other service programs.
  • the key role of the adapter is to achieve the conversion between the data piece and the data format required by the service program.
  • the adapter is applied between the data box system and the service program, as shown in Figure 15.
  • the data box system sends the data transfer data to the adapter, and the adapter converts the data into the data required by the service program according to the format protocol, thereby satisfying the data processing needs of the service program.
  • the result data is converted into data piece response data by the adapter, and then the response service request is encapsulated by the data box system.
  • adapters are designed and developed based on service programs. Since the data piece format is a canonical protocol format, this solution can be extended to support any form of service program.
  • service program Such as email services, message services, chat or messaging services, status notification services, data management and statistical analysis or charting services, e-commerce or shopping or group purchase services, online survey services, question and answer services, web navigation services, web or archive services, Document services, format conversion or file services such as compression or download or thumbnails, data sharing services such as pages or components or applications or files or photo albums, subscription and publishing services such as RSS, advertising services, blogs or microblogging services, encyclopedia services, post bars Services such as services, forum services, chat dating, online social services, video and audio services, financial or news information services, pictorial services, dictionary services, translation services, custody services, directory services, tracing or donation, public services, online mediation and rental services , game services, collaborative office management services, collaborative development services, remote control services, mobile phones or SMS or MMS or contacts or voice or office services, photo services, voice services,
  • the data box system provides a directory function that describes the service. These extended service programs are configured or dynamically registered to the directory of the data box description service.
  • the trust service provider c can also be extended to:
  • the trust relationship between the trust service provider c and the service provider s0.com and the service provider s1.com is fully utilized, and after the users a and b log in to the trusted service provider c, the login to the service provider data box system is automatically switched.
  • the service provider s0.com and the service provider s1.com use the account of the trusted service provider c to log in.
  • the data box system can implement this functionality based on the services provided by the trusted service provider c.
  • the first step is to specify the account a of user a on the trusted service provider c.
  • the data box system s1.com is located to send a request for the data box address bound by the account ca to the trusted service provider c.
  • the service provider s1.com and the trusted service provider c can still perform handshake authentication via SSL, which is one.
  • user a can trust service provider c to set an account disclosure policy:
  • the default data box address specified by the user b account ca is preferred, and of course, the user b can select the data box address.
  • the fourth step is to follow the steps from step 1 to step 4 mentioned in the above 2.5.3. working process.
  • user b can use the data box address a! S0.com:
  • H Functions for implementing data box data item operations such as batch mark status, reply, response, forwarding, group sending, deletion, etc.
  • Step one the user logs in to his own data box; ⁇ ⁇ like: the user logs in to his mailbox
  • i. may be a user accessing a data box system provided by a service provider through a browser or client software;
  • Ii. can use the client (system, software, programs, etc.) to automatically log in to the data box system provided by the service provider;
  • Step 2 specify the address of the other party's data box; ⁇ ⁇ like: specify the other party's email address
  • Step 3 The data box system where the data box is located parses the data box address of the other party, and is connected and transmitted with the data box system where the other data box is located, and the system saves the current transmission to the data box;
  • is like: the sender's mail server is connected to the recipient's mailbox's receiving email server.
  • Step 4 After receiving the request, the data box system where the data box of the other party receives the request first confirms whether the received data box address is correct, and whether the identity of the sender is valid or trusted, and if invalid or untrusted, according to the policy, whether to respond or not is rejected. Receive the data, save it to the data box, and determine if a handler is available for these data extensions, and if so, run the program for processing. Finally, the response status, the results of the directory service and processing, the Ui and other data responses will be described to the client. At the same time, the received and responsive data will be saved to the other party's data box.
  • the mailbox system (1) does not confirm the identity of the sender, (2) does not support the extension of the mail content processing program, and (3) only responds to the status of the description, which has a great relationship with the application scenario.
  • Step 5 The data box system where the data box is located receives the response data, and saves the data to the corresponding data piece, that is, the process of completing the request and the response.
  • the data box system can provide the user with a UI interface for further selecting the service and related to the returned processing result data.
  • ⁇ Different The mailbox system ends when it receives the response data.
  • step 6 the user further selects the service and starts running again from step two.
  • the designated data box address usually carries the service name.
  • is like: voice call, the user presses the 1 button to get the photo service according to the voice prompt.
  • Step one the user logs in to his own data box
  • Step 2 Specify an account on the trusted service provider of the other party
  • Step 3 The data box system where the data box is located sends a request to the trusted service provider to find the data box address bound by the other party's account.
  • Step 4 After obtaining the data box address bound to the other party's account, it is preferred to use the data box address specified by the other party's account by default, and of course, the user can select the data box address therein.
  • Step 5 repeat the above steps 3.1. Steps 3 to 6 based on the data box address
  • Step one the user logs in to his own data box
  • Step 2 Check and manage the data items in the data box, for example, perform marking status, reply, response, forwarding, group sending, and the like;
  • Step 3 If the data component includes data such as Services, UI, or the UI program provided by the data box system for the data format, the user may perform the above step 3.1 based on the data box interface according to the UI interface of the directory service and the data. Step six;
  • the data box system allows the client to access the data box through a contracted protocol.
  • the specified data box address can be accessed without logging in.
  • the data box system where the other party's data box is located directly confirms that the sender's identity is unknown or untrusted, and selects whether the response is rejected according to the policy. Use the steps in Figure 17.
  • the data box system where the user data box is located can generate a trust token for the user by interacting or dynamically interacting with the data box system of the other party.
  • the role of the token is to indicate the identity of the data box owned by the user when the client used by the user holds the trust token to access the other party's data box.
  • the token may be a certificate issued by the data box system in which the user data box is located with the other party's data box system, or a password, or a specific session cookie value.
  • the user uses the mode of the client's local storage.
  • the usage steps are as shown in Figure 18.
  • the client has the ability to store locally, so usually the client is a fat client.
  • the user uses the mode stored by the other party's data box agent.
  • the usage steps are as shown in FIG. 19.
  • the client's local storage capacity is limited or not, so usually the client is a thin client, such as a browser.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to the technical field of networking, and specifically a mail-type and directory-type databox system for data exchanges and service acquirement and sensing. Provided is an effective directory-type navigation service that integrates different services so as to provide more convenient and rapid services to users. Data exchanges are enabled via e-mail exchanges between mailboxes, and directory service is provided to users using IVR voice commands. A uniform method is provided to enable data exchanges between service providers, between service providers and users, and between users. While individuals and enterprises utilize and provide services, data is transmitted and received like e-mails, and the data also seamlessly interacts with the private clouds or business systems of the individuals and enterprises. Directory-type navigation service and interactive response-type services are provided to users. The three aspects described above integrate services and data on different service provider systems for users.

Description

交换数据、获取与感知服务的数据箱系统及其使用方法Data box system for exchanging data, acquiring and sensing services and using method thereof 技术领域Technical field
本发明属于网络技术领域,具体为一种邮件式、目录式交换数据、获取与感知服务的数据箱系统及其使用方法。The invention belongs to the technical field of networks, and specifically relates to a data box system for mailing and directory exchange data, acquiring and sensing services and a using method thereof.
背景技术Background technique
移动互联网的迅速发展,云计算时代的来临,用户通过手机等智能设备在享受这些云服务的同时却存在很大的困扰,用户的数据分散在各个服务商上的系统内,无法有效的集成在一起;通过手机等智能设备查找与使用服务商服务的不灵活与不便捷,迫切需要一个更有效的方法提供目录式的导航服务;同时个人、企业在使用与提供服务的同时如何又能与自身的私有云、业务系统进行交互,缺少一个行之有效的方法;各个服务商之间又能否通过一个统一的方法为用户实现数据交换。With the rapid development of the mobile Internet and the advent of the cloud computing era, users enjoy the cloud services while using smart devices such as mobile phones. However, users' data is scattered in the systems of various service providers and cannot be effectively integrated. Together; the inflexibility and inconvenience of finding and using service providers through smart devices such as mobile phones, there is an urgent need for a more efficient way to provide directory-based navigation services; and how individuals and businesses can use themselves while providing and providing services. The private cloud and business system interact, lacking an effective method; whether each service provider can exchange data for users through a unified method.
发明内容Summary of the invention
为了解决以上问题,本发明提供一种能有效的提供目录式的导航服务,将不同的服务集成在一起的交换数据、获取与感知服务的数据箱系统及其使用方法。为用户的提供更方便、快捷的服务。In order to solve the above problems, the present invention provides a data box system capable of effectively providing a directory-type navigation service, integrating different services, exchanging data, acquiring and sensing services, and using the same. Provide users with more convenient and fast service.
交换数据、获取与感知服务的数据箱系统,其特征在于:包括服务商和用户,a data box system for exchanging data, acquiring and sensing services, characterized by including a service provider and a user,
其中,among them,
服务商为每个用户或服务商自身提供数据箱,并且为每个数据箱至少提供一个数据箱地址;The service provider provides a data box for each user or service provider and provides at least one data box address for each data box;
用户或服务商使用客户端或登录自己的数据箱,指定自己或对方的数据箱地址,通过共同遵守的协议与指定的数据箱交换数据、获取与感知服务。The user or service provider uses the client or logs into its own data box, specifies the address of the data box of itself or the other party, and exchanges data, acquisition and sensing services with the specified data box through a commonly adhered protocol.
所述服务商为多个,服务商之间通过数字证书或RSA/DES/HASH安全算法或密码实现信任关系,或者通过信任服务提供商来建立信任关系,不同服务商的用户或服务商自身相互通过不同服务商提供的数据箱地址交换数据、获取与感知服务。The service provider is multiple, the service provider implements a trust relationship through a digital certificate or an RSA/DES/HASH security algorithm or a password, or establishes a trust relationship by trusting a service provider, and the users or service providers of different service providers themselves Data exchange, acquisition and awareness services are provided through data box addresses provided by different service providers.
所述用户或服务商可以通过信任服务商提供的账户为自己绑定数据箱地址,同时选择策略设定是否公开所有或其中几个绑定的数据箱地址,进而方便其他用户或服务商通过该账号获得这些数据箱地址。The user or the service provider can bind the data box address to the account provided by the trust service provider, and select the policy setting whether to disclose all or several of the bound data box addresses, thereby facilitating other users or service providers to pass the The account gets these data box addresses.
所述用户或服务商可以通过服务商提供的入口,或者通过客户端登录到数据箱。The user or service provider can log in to the data box through the portal provided by the service provider or through the client.
凡是能访问数据箱的客户端都可以与数据箱进行交换数据、获取与感知服务,所述客户端为系统、软件或程式。Any client that can access the data box can exchange data, acquire and sense services with the data box, which is a system, software or program.
数据箱系统为每个数据箱提供描述服务的目录。The data box system provides a directory for each data box that describes the service.
所述服务为数据箱系统与其它系统、软件或程式一起扩展提供的服务程式。The service is a service program that extends the data box system with other systems, software, or programs.
所述服务程式通过适配器来实现扩展或挂接到数据箱上,通过配置或动态注册到数据箱描述服务的目录上。The service program is extended or attached to the data box through an adapter, and is configured or dynamically registered to the directory of the data box description service.
所述的服务包括:邮箱服务、留言服务、聊天或消息服务、状态通知服务、数据管理与统计分析或图表服务、电商或购物或团购服务、在线调查服务、问答服务、网页导航服务、网盘或存档服务、文档服务、 格式转换或压缩或下载或缩略图等文件服务、页面或组件或应用或文件或相册等数据分享服务、RSS等订阅与发布服务、广告服务、博客或微博服务、百科服务、贴吧服务、论坛服务、聊天交友等网络社交服务、视音频服务、财经或新闻资讯服务、画报服务、词典服务、翻译服务、托管服务、目录服务、寻人或捐助等公益服务、网上中介与租用服务、游戏服务、协同办公管理服务、协同开发服务、远程控制服务、移动电话或短信或彩信或通信录或语音或办公等服务、拍照服务、语音服务、点评与评论服务、模板服务、咨询或设计或拼车或彩票或充值或还款或缴费等生活服务、打印服务、网上支付服务、商机服务、杀毒服务、搜索服务、桌面服务、旅行计划或CRM或进销存等云应用服务、远程教育服务、远程会议服务、远程医疗服务、语音信箱服务、计算服务、存储服务、传感器服务、地图与卫星遥感服务、位置服务、虚拟现实服务、增强现实服务中的一种或多种。The services include: mailbox service, message service, chat or message service, status notification service, data management and statistical analysis or chart service, e-commerce or shopping or group purchase service, online survey service, question and answer service, web navigation service, network Disk or archive service, document service, File conversion services such as format conversion or compression or download or thumbnail or file services, pages or components or applications or files or photo albums, subscription and publishing services such as RSS, advertising services, blogs or microblogging services, encyclopedia services, post bar services, forums Internet services such as services, chat dating, video and audio services, financial or news information services, pictorial services, dictionary services, translation services, custody services, directory services, tracing or donation services, online mediation and rental services, gaming services , collaborative office management services, collaborative development services, remote control services, mobile phones or SMS or MMS or contacts or voice or office services, photo services, voice services, review and comment services, template services, consulting or design or carpooling or Life services such as lottery or recharge or repayment or payment, print service, online payment service, business opportunity service, anti-virus service, search service, desktop service, travel plan or cloud application service such as CRM or Invoicing, distance education service, teleconference Service, telemedicine service, voicemail service, meter Services, storage services, sensor services, mapping and remote sensing services, location services, virtual reality service, enhance one or more real service.
所述数据箱地址的扩展格式为数据箱地址/服务名/子服务名/…,数据箱系统根据数据箱地址的扩展格式快速定位到服务程式处理该请求。The extended format of the data box address is a data box address/service name/sub-service name/..., and the data box system quickly locates the service program to process the request according to the extended format of the data box address.
数据箱里一次请求和响应数据称为一个数据件,数据箱系统会将每次传送与响应的数据按照格式封装存成数据件,并保存。One request and response data in the data box is called a data piece, and the data box system stores the data of each transmission and response in a format and saves it.
一个数据件由传送与响应的数据两部分构成,这两部分数据内容,包含目录服务Services、与服务相关的数据Message、与UI界面相关的数据Ui中的一种或多种,或者一个都不包含,响应部分的数据内容包含Status描述响应状态的数据。A data piece is composed of two parts of data transmitted and responded. The two parts of the data content include one or more of a directory service, a service-related data message, and a UI interface-related data Ui, or none of them. The data content of the response part contains the data that Status describes the response status.
另外本发明还提供了交换数据、获取与感知服务的数据箱系统的使用方法。In addition, the present invention also provides a method of using a data box system for exchanging data, acquiring and sensing services.
交换数据、获取与感知服务的数据箱系统的使用方法,其特征在于:包括如下步骤:A method for using a data box system for exchanging data, acquiring and sensing services, comprising: the following steps:
1、用户登录到自己的数据箱,或通过客户端,所述用户包括服务商自己;1. The user logs in to his or her own data box, or through the client, which includes the service provider himself;
2、用户指定对方的数据箱地址,所述对方指自己、其他用户或服务商;2. The user specifies the data box address of the other party, and the other party refers to himself, other users or service providers;
3、用户数据箱所在的数据箱系统或客户端解析对方的数据箱地址,并与对方数据箱所在的数据箱系统连接发送服务请求,同时如果为用户数据箱所在的数据箱系统或者客户端具有本地存储数据件功能时则会将本次服务请求的数据保存到用户的数据箱或客户端本地;3. The data box system or client where the user data box is located resolves the address of the other party's data box, and sends a service request to the data box system where the other data box is located, and if it is the data box system or client where the user data box is located, When the data file function is stored locally, the data of the service request is saved to the user's data box or the client local;
4、对方数据箱所在的数据箱系统接收到请求后,首先确认接收的数据箱地址是否正确,以及用户的身份是否有效或可信,若无效或不可信根据策略选择是否响应拒绝;接收服务请求的数据并将其保存到数据箱;对方数据箱所在的数据箱系统判断数据箱系统是否对这些服务请求提供了服务程式,若是则运行这些服务程式进行处理,并将描述响应状态的、目录服务、处理的结果、Ui等数据响应给数据箱所在的数据箱系统,若否则直接将描述响应状态的、目录服务、UI等数据响应给用户数据箱所在的数据箱系统或客户端;数据箱;响应数据也将保存到对方数据箱内;4. After receiving the request, the data box system where the other party's data box is located first confirms whether the received data box address is correct, and whether the user's identity is valid or trusted. If invalid or untrusted, according to the policy, whether to respond or not; receiving the service request Data and save it to the data box; the data box system where the other data box is located determines whether the data box system provides a service program for these service requests, and if so, runs these service programs for processing, and describes the directory status of the response status. The processing result, Ui and other data are sent to the data box system where the data box is located. Otherwise, the response status, directory service, UI and other data responses are directly sent to the data box system or client where the user data box is located; the data box; The response data will also be saved to the other party's data box;
5、用户数据箱所在的数据箱系统或客户端接收到响应数据,同时如果为用户数据箱所在的数据箱系统或者客户端具有本地存储数据件功能时则将响应数据保存到对应的数据件,即表示完成本次请求及响应的过程。5. The data box system or client where the user data box is located receives the response data, and if the data box system in which the user data box is located or the client has the function of locally storing data pieces, the response data is saved to the corresponding data piece. This is the process of completing this request and response.
数据箱系统为数据件标记发送者身份是否有效或可信,用户可以查收与管理数据箱中的数据件。The data box system identifies whether the sender identity is valid or trusted for the data item, and the user can check and manage the data pieces in the data box.
数据箱系统或客户端可以为用户提供进一步选择服务的、以及与返回的处理结果数据相关的UI界面。The data box system or client can provide the user with a UI interface for further selection of services and associated with the returned processing result data.
如果数据件中包含Services、Ui等数据,或者数据箱系统针对该数据格式提供的UI程式,则用户可 以根据目录服务及数据的UI界面进行步骤2-5开始再次运行,其中步骤2中指定的数据箱地址可以为带有服务名的扩展格式。If the data piece contains data such as Services, Ui, or the UI program provided by the data box system for the data format, the user can Step 2-5 is started again according to the UI interface of the directory service and data, wherein the data box address specified in step 2 can be an extended format with a service name.
所述步骤2包括:1)用户指定对方的信任服务提供商上的账号;2)用户数据箱所在的数据箱系统或客户端向信任服务提供商发出查找对方账号绑定的数据箱地址的请求;3)获取对方账号绑定的数据箱地址后,使用对方账户默认指定的数据箱地址,或者用户直接选择其中的数据箱地址。The step 2 includes: 1) the user specifies the account on the trusted service provider of the other party; 2) the data box system or the client where the user data box is located sends a request to the trusted service provider to find the data box address bound by the other party account 3) After obtaining the data box address bound to the other party's account, use the data box address specified by the other party's account by default, or the user directly selects the data box address.
所述的客户端可以在未登录情况下访问对方的数据箱地址,对方数据箱所在的数据箱系统接收到请求后直接确认发送方身份未知或不可信,根据策略选择响应是否拒绝。The client can access the data box address of the other party without logging in, and the data box system where the data box of the other party is located directly confirms that the identity of the sender is unknown or untrusted, and selects whether the response is rejected according to the policy.
所述的客户端可以使用用户所在的数据箱系统与对方的数据箱系统为用户约好或动态交互生成的信任令牌,当所述的客户端持有该信任令牌访问对方数据箱时即可表明用户所拥有的数据箱身份,所述信任令牌是由用户数据箱所在的数据箱系统与对方的数据箱系统一起签发的证书,或者口令,或者特定的会话cookie值。The client may use a trust token generated by the user's data box system and the other party's data box system for the user's appointment or dynamic interaction, and when the client holds the trust token to access the other party's data box, The identity of the data box owned by the user may be indicated, the trust token being a certificate issued by the data box system in which the user data box is located and the data box system of the other party, or a password, or a specific session cookie value.
本系统、本方法设计思想源于广泛应用的电子邮箱、IVR语音导航等。利用电子邮箱邮件往来传送的方式实现数据交换,利用IVR语音指令工作的方式为用户提供目录服务。其达到的技术效果是:The design idea of the system and the method is derived from the widely used electronic mailbox, IVR voice navigation and the like. Data exchange is realized by means of e-mail mail transmission, and the directory service is provided to users by means of IVR voice instruction work. The technical effects achieved are:
1、提供一种统一的方法实现服务商之间、服务商与用户之间、用户与用户之间的数据交换;1. Provide a unified method for data exchange between service providers, between service providers and users, and between users and users;
2、个人、企业在使用与提供服务的同时,数据随之如邮件一样被发送与接收,且这些数据又可与自身的私有云、业务系统进行无缝交互;2. While individuals and enterprises use and provide services, data is sent and received as mail, and these data can seamlessly interact with their own private cloud and business systems;
3、提供一种简单的访问方式,结合数据与自身的私有云、业务系统无缝的交互能力,为用户提供目录式的导航服务、交互响应式的服务,犹如IVR语音指令按键1、按键2…然后再按键1、按键2…直观、便捷;3, Provide a simple access method, combined with the data and its own private cloud, business system seamless interaction capabilities, to provide users with directory-based navigation services, interactive and responsive services, like IVR voice command button 1, button 2 ...and then press 1, button 2... intuitive and convenient;
4、基于上述三点为用户集成在各个服务商系统上的服务与数据。4. Based on the above three points, the services and data that the user integrates on each service provider system.
附图说明DRAWINGS
图1 A、B服务商之间建立信任关系。Figure 1 A, B service providers establish a trust relationship.
图2 A、B服务商通过C信任服务提供商建立信任关系。Figure 2 A, B service provider establishes a trust relationship through C trust service provider.
图3 A服务商的数据箱地址。Figure 3 A service provider's data box address.
图4 用户拥有A服务商的数据箱。Figure 4 The user owns the data box of the A service provider.
图5 用户拥有C信任服务提供商的账户,并绑定多个数据箱地址。Figure 5 The user owns the account of the C trust service provider and binds multiple data box addresses.
图6 数据箱地址提供的目录式服务,其结构类似于IVR语音导航。Figure 6 shows the directory-based service provided by the data box address, which is similar in structure to IVR voice navigation.
图7 REST的操作示例。Figure 7 Example of REST operation.
图8 运行机制。Figure 8 operating mechanism.
图9 扩展的数据处理程式。Figure 9 Extended data processing program.
图10 服务商之间直接建立信任关系。Figure 10 Establish a trust relationship directly between service providers.
图11 服务商之间通过信任服务提供商间接建立信任关系。Figure 11 The trust relationship is established indirectly between the service providers through the trust service provider.
图12 目录服务UI界面。Figure 12 Directory Service UI interface.
图13 目录服务照片Photos的UI界面。 Figure 13 Directory service photo photos UI interface.
图14 目录服务照片Photos的“最新照片”操作界面。Figure 14 Directory Service Photo Photo's "Latest Photos" user interface.
图15 通过适配器扩展支持其它服务程式。Figure 15 supports other service programs through adapter extensions.
图16 用户使用数据箱步骤示意图。Figure 16 Schematic diagram of the user's use of the data box.
图17 客户端在未登录下访问数据箱的步骤。Figure 17 Steps for the client to access the data box without logging in.
图18 用户使用客户端本地存储的模式。Figure 18 The mode in which the user uses the client's local storage.
图19 用户使用对方数据箱代理存储的模式流程图。Figure 19 Flowchart of the mode stored by the user using the other party's data box agent.
具体实施方式detailed description
DataBox数据箱的设计思想源于广泛应用的电子邮箱、IVR语音导航等。DataBox数据箱运用“往对方邮箱地址投送邮件或访问自己的邮箱获取邮件”的方式来获取与感知服务、双方彼此交换数据,同时结合类似IVR语音指令工作的方式为顾客提供目录式的便捷服务。The design idea of the DataBox data box stems from the widely used e-mail, IVR voice navigation and so on. The DataBox data box uses the method of “sending mail to the other party's email address or accessing its own mailbox to obtain mail” to obtain and exchange information with the sensing service, and the two parties exchange data with each other. At the same time, it provides catalogue-type convenient service in combination with the work similar to the IVR voice command. .
在网络中,电子邮箱可以自动接收网络任何电子邮箱所发的电子邮件,并能存储规定大小的等多种格式的电子文件。其特点是人们可以在任何地方时间收、发信件,解决了时空的限制,大大提高了工作效率,为办公自动化,商业活动提供了很大便利。In the network, the e-mail can automatically receive e-mails sent by any e-mail address on the network, and can store electronic files in various formats such as a specified size. Its characteristics are that people can receive and send letters at any time, solve the limitations of time and space, greatly improve work efficiency, and provide great convenience for office automation and commercial activities.
IVR,(Interactive Voice Response)即互动式语音应答,您只须用电话即可进入服务中心,根据操作提示收听手机娱乐产品。可以根据用户输入的内容播放有关的信息。IVR能提供每周7天,每天24小时全天候服务。IVR为企业处理大量的日常业务,无须通过业务代表。顾客通过按键或语音选择,向企业主机输入信息,在允许范围内访问各类企业数据库(通过ODBC),自助得到多种服务,令业务代表有更多的时间服务于有特别要求的顾客。IVR (Interactive Voice Response) is an interactive voice response. You only need to use the phone to enter the service center and listen to the mobile entertainment products according to the operation prompts. The related information can be played according to the content input by the user. IVR is available 24 hours a day, 7 days a week. IVR handles a large amount of day-to-day business for businesses without having to go through a business representative. Customers can input information to the enterprise host through button or voice selection, access various types of enterprise databases (through ODBC) within the allowed range, and self-service to obtain a variety of services, so that business representatives have more time to serve customers with special requirements.
DataBox数据箱设计方案如下:The DataBox data box design is as follows:
2.1.数据箱服务商、信任服务提供商2.1. Data box service provider, trust service provider
提供数据箱服务的称为服务商。考虑到传送数据的安全性、保密性、交换双方身份的确定性、不可否认性、不可修改性,通常服务商之间可以通过数字证书、RSA/DES/HASH安全算法或密码等技术手段实现信任关系(图1)。同时也考虑到庞大的互联网上将存在无数个服务商,通常服务商之间可以通过信任服务提供商来建立信任关系(图2)。A service provider is provided for providing data box services. Considering the security of the transmitted data, the confidentiality, the certainty of the identity of the exchanged parties, the non-repudiation, and the non-modifiability, usually the service provider can realize the trust through digital certificates, RSA/DES/HASH security algorithms or passwords. Relationship (Figure 1). At the same time, it is also considered that there will be countless service providers on the huge Internet. Usually, service providers can establish trust relationships through trust service providers (Figure 2).
2.2.用户2.2. User
使用数据箱服务的称为用户,并由其服务的服务商至少提供一个数据箱地址。在互联网中,数据项地址的格式效仿邮箱地址(但又区别于邮箱地址)可以是:用户名!主机名。例如databox!onegrid.cn。同时,服务商本身就是也有一个数据箱地址(图3),可以是:!主机名,例如!onegrid.cn。另外,在互联网上一个用户通常拥有多个数据箱地址,例如databox!A服务商(图4)、databox!B服务商。为实现信任服务商之间单点登录、网络身份证等功能,用户可以在信任服务提供商申请注册一个账户,该账户将为用户绑定这些数据箱地址(图5)。 A service called a user who uses a data box service and at least one data box address is provided by the service provider. In the Internet, the format of the data item address emulates the email address (but different from the email address) can be: username! CPU name. For example, databox! Onegrid.cn. At the same time, the service provider itself also has a data box address (Figure 3), which can be:! Hostname, for example! Onegrid.cn. In addition, a user on the Internet usually has multiple data box addresses, such as databox! A service provider (Figure 4), databox! B service provider. In order to implement the functions of single sign-on and network ID card between the trust service providers, the user can apply for registration of an account at the trust service provider, and the account will bind these data box addresses to the user (Fig. 5).
2.3.数据箱地址2.3. Data box address
服务商通过数据箱系统为用户提供数据箱服务。这些服务通常与其自身的业务、系统功能或运营策略等相关。例如邮件系统运营商作为服务商可提供邮件服务,博客系统运营商作为服务商可提供博客服务,存档系统运营商作为服务商可提供存档服务,电商企业作为服务商可提供电商服务,等等。一个服务商的数据箱系统至少存在一个目录服务。同时,这些服务形成树形目录。为了方便用户快速定位服务,数据箱地址格式可扩展为:The service provider provides the data box service to the user through the data box system. These services are usually related to their own business, system functions or operational strategies. For example, a mail system operator can provide a mail service as a service provider, a blog system operator can provide a blog service as a service provider, an archive system operator can provide an archive service as a service provider, and an e-commerce enterprise can provide an e-commerce service as a service provider, etc. Wait. A service provider's data box system has at least one directory service. At the same time, these services form a tree directory. In order to facilitate users to quickly locate services, the data box address format can be extended to:
数据箱地址/服务名/子服务名/···Data box address / service name / sub-service name / ···
例如(图6):For example (Figure 6):
onegrid.cn服务商提供:Onegrid.cn service provider offers:
!onegrid.cn/register提供注册服务! Onegrid.cn/register provides registration services
!onegrid.cn/product提供产品目录服务! Onegrid.cn/product provides catalog service
!onegrid.cn/product/databox提供数据箱产品服务! Onegrid.cn/product/databox provides data box product service
!onegrid.cn!product/databox/order提供数据箱产品的订购服务! Onegrid.cn! Product/databox/order provides ordering services for data box products
其中register、product、databox、order都是服务名,且databox为product的子服务名,order为databox的子服务名Where register, product, databox, and order are service names, and databox is the subservice name of product, and order is the subservice name of databox.
databox!onegrid.cn(在onegrid.cn服务商上的用户databox)提供Databox! Onegrid.cn (user databox on onegrid.cn service provider)
databox!onegrid.cn/photos提供相片目录服务Databox! Onegrid.cn/photos provides photo directory service
databox!onegrid.cn/photos/family提供家相片浏览服务Databox! Onegrid.cn/photos/family provides home photo browsing service
databox!onegrid.cn/leaveword提供留言服务Databox! Onegrid.cn/leaveword provides message service
其中photos、photos.family、leaveword都是服务名,且family为photos的子服务名Where photos, photos.family, leaveword are service names, and family is the sub-service name of photos
如果数据箱地址不带有任何服务名时,则表示指向一个默认的目录服务。If the data box address does not carry any service name, it means that it points to a default directory service.
2.4.数据箱数据传送协议及格式2.4. Data box data transfer protocol and format
数据箱的数据传送考虑采用应用广泛的HTTP(S)、S-HTTP等协议,并参考REST的设计和开发方式。不同于邮箱系统的设计:The data transfer of the data box considers the widely used protocols such as HTTP(S) and S-HTTP, and refers to the design and development method of REST. Different from the design of the mailbox system:
第一,不限于仅在数据箱之间相互进行数据传送,凡是能访问数据箱的客户端(系统、软件、程式等)都可以与数据箱进行数据传送。First, it is not limited to data transfer between data boxes. Any client (system, software, program, etc.) that can access the data box can transfer data with the data box.
第二,在指定的数据箱地址上可带上请求的服务名。Second, the requested service name can be carried on the specified data box address.
第三,如同电子邮件存在标准的格式(RFC822),数据箱传送与响应的数据也存在标准的格式,并且使用XML(标记语言)来进行定义。XML定义如下: Third, as the standard format of the email (RFC822), the data transmitted and responded to the data box is also in a standard format and is defined using XML (Marking Language). The XML is defined as follows:
传送的数据格式:Transmitted data format:
Figure PCTCN2014086202-appb-000001
Figure PCTCN2014086202-appb-000001
Figure PCTCN2014086202-appb-000002
Figure PCTCN2014086202-appb-000002
Figure PCTCN2014086202-appb-000003
Figure PCTCN2014086202-appb-000003
Figure PCTCN2014086202-appb-000004
Figure PCTCN2014086202-appb-000004
说明:Description:
(1)支持群发、抄送、密送、回复、转发等功能;(1) Support group sending, CC, Bcc, reply, forwarding and other functions;
(2)并非所有的传送,都有Service、Message、UI等部分。例如请求获取对方的照片时,就不需要带有Service、UI部分;如果请求对方浏览我发的照片时,往往需要UI部分,以方便对方浏览我的照片;如果请求对方使用我提供的服务时,往往需要Services部分,以方便浏览目录式服务;(2) Not all transmissions, there are Service, Message, UI and other parts. For example, when requesting to get the photo of the other party, you do not need to have the Service and UI parts; if you ask the other party to browse the photos I send, you often need the UI part to facilitate the other party to browse my photos; if you request the other party to use the service I provide , often need the Services section to facilitate browsing of directory-based services;
(3)自定义信息如同邮箱均以X-开头。(3) Custom information is like a mailbox starting with X-.
响应的数据格式:The data format of the response:
Figure PCTCN2014086202-appb-000005
Figure PCTCN2014086202-appb-000005
Figure PCTCN2014086202-appb-000006
Figure PCTCN2014086202-appb-000006
说明:Description:
(1)当Status的Code为-1(拒绝),0(等待用户确认)时,不响应Services、Message、UI等数据;当Status的Code为0(等待用户确认)时,表示用户可查收到该数据件,人为去响应或回复该件;当Status的Code为1(允许)时,并不是所有都响应Services、Message、UI等数据,有可能只响应其中的一个或多个。例如发邮件的数据箱服务就仅响应状态允许;(1) When the Code of Status is -1 (rejected), 0 (waiting for user confirmation), it does not respond to data such as Services, Message, UI, etc.; when the Code of Status is 0 (waiting for user confirmation), it indicates that the user can check and receive The data piece is manually responded to or replied to the piece; when the Status Code is 1 (allowed), not all of them respond to data such as Services, Message, UI, etc., and may respond to only one or more of them. For example, the data box service that sends the mail is only allowed to respond to the status;
(2)自定义信息如同邮箱均以X-开头。 (2) Custom information is like a mailbox starting with X-.
第四,不同于邮件系统,数据箱系统可以针对标准的数据格式扩展提供数据处理程式。例如针对服务为/email的邮件服务,则提供邮件处理程式将邮件转入邮箱系统;针对服务为/leaveword的留言服务,则提供留言处理程式将留言保存到网站留言系统;针对服务为/products/order的消息服务,则提供订单处理程式将订单保存到企业的网上销售系统;Fourth, unlike the mail system, the data box system can provide data processing programs for standard data format extensions. For example, for the mail service with the service /email, the mail processing program is provided to transfer the mail to the mailbox system; for the message service with the service /leaveword, the message processing program is provided to save the message to the website message system; for the service, /products/ The order message service provides an order processing program to save the order to the company's online sales system;
第五,参考REST开发设计的风格(图7),数据箱服务请求的REST URL规范为Fifth, referring to the style of REST development design (Figure 7), the REST URL specification for the data box service request is
HTTP(s)://主机名/用户名/服务名/服务名/...HTTP(s)://hostname/username/servicename/servicename/...
同时,使用一套统一的方式(或方法)GET、POST、PUT、DELETE来简单操作服务资源。At the same time, use a unified way (or method) GET, POST, PUT, DELETE to simply operate the service resources.
应用到数据箱,则如:Applied to the data box, such as:
数据箱地址:!onegrid.cnData box address:! Onegrid.cn
Figure PCTCN2014086202-appb-000007
Figure PCTCN2014086202-appb-000007
第六,如同邮箱里的称为邮件,数据箱里的称为数据件,也支持群发、抄送、密送、转发等功能。也就是说数据件的格式是由传送与响应两部分构成。Sixth, like the mail in the mailbox, called the data in the data box, also supports group sending, CC, Bcc, forwarding and other functions. That is to say, the format of the data piece is composed of two parts: transmission and response.
2.5.工作原理2.5. Working principle
2.5.1.访问某服务商或用户的数据箱时,必须指定对方的数据箱地址,如同发送电子邮件时必须输入对方的邮件地址。同时如同通过Foxmail客户端软件访问邮箱一样可以通过客户端软件程序访问数据箱。2.5.1. When accessing the data box of a service provider or user, you must specify the address of the other party's data box, just as you must enter the email address of the other party when sending an email. At the same time, the data box can be accessed through the client software program as if the mailbox was accessed through the Foxmail client software.
2.5.2.运行机制2.5.2. Operating mechanism
第一、准备阶段。访问数据箱的客户端(系统、软件、程式等),指定对方的数据箱地址,所需请求的服务,以及传送的数据。可以给用户提供一种目录式选择服务、表单式撰写数据的环境,或 者由系统、软件、程式等自动根据需求生成。First, the preparation stage. Access the client (system, software, program, etc.) of the data box, specify the address of the other party's data box, the service requested, and the data to be transmitted. Can provide users with a directory-based selection service, a form-based environment for writing data, or The system, software, programs, etc. are automatically generated according to requirements.
第二、发送阶段。根据对方的数据箱地址,通过网络经数据传送协议将数据送到对方所在服务商的数据箱系统上。Second, the transmission phase. According to the data box address of the other party, the data is sent to the data box system of the service provider of the other party through the data transmission protocol through the network.
第三、认证阶段。对方服务商的数据箱系统接收到请求后,首先确认发送方指定的数据箱地址是否正确,以及发送方身份是否有效(也可根据策略选择是否认证发送者身份)。Third, the certification phase. After receiving the request from the service provider's data box system, first confirm whether the data box address specified by the sender is correct, and whether the sender's identity is valid (it is also possible to select whether to authenticate the sender according to the policy).
第四、接收阶段。接收数据,保存到数据箱(称为数据件)。同时并判断数据箱系统是否对这些数据扩展提供了处理程式,若是则运行这些程式进行处理。在此处,用户可以根据数据箱系统提供的人性化配置服务来设定数据接收的策略。Fourth, the receiving phase. Receive data and save it to a data box (called a data piece). At the same time, it is judged whether the data box system provides a processing program for these data extensions, and if so, the programs are run for processing. Here, the user can set the policy of data reception according to the humanized configuration service provided by the data box system.
第五、响应阶段。最后将描述接收的与处理的结果响应给客户端。Fifth, the response phase. Finally, the received and processed result responses will be described to the client.
具体如图8所示Specifically as shown in Figure 8.
A、确认数据箱地址A, confirm the data box address
确认被请求的数据箱地址是否存在,如果不是则响应拒绝。Confirm that the requested data box address exists. If not, the response is rejected.
B、确认发送方身份B, confirm the identity of the sender
A.如果发送方没有登录数据箱服务商与信任提供服务商而直接发送请求A. If the sender does not log in to the data box service provider and the trust provider, send the request directly.
A.1.对方服务商的数据箱系统确认发送方身份未知或不可信A.1. The data box system of the other service provider confirms that the identity of the sender is unknown or untrusted.
B.如果发送方登录到数据箱服务商后发送请求B. If the sender logs in to the data box service provider and sends a request
B.1.如果发送方数据箱服务商为本服务商,即确认发送方身份可信。B.1. If the sender's data box service provider is the service provider, the sender's identity is confirmed to be trustworthy.
B.2.如果发送方数据箱服务商为信任的服务商,通过双方信任的安全技术手段即可确认发送方身份是否可信。B.2. If the sender's data box service provider is a trusted service provider, the sender's identity can be trusted by the security technology trusted by both parties.
B.3.如果发送方数据箱服务商为不信任的服务商,即确认发送方身份不可信。B.3. If the sender's data box service provider is an untrusted service provider, it is confirmed that the sender's identity is not trusted.
C.如果发送方登录到信任提供服务商后再发送请求C. If the sender logs in to the trusted provider, then send the request
C.1.通过服务商与信任提供服务商之间的安全技术手段即可确认发送方身份是否可信。C.1. It is confirmed by the security technology between the service provider and the trust provider that the identity of the sender is credible.
D.如果发送方使用信任提供服务商账号单点登录到数据箱服务商后再发送请求D. If the sender uses the trust provider account to single sign in to the data box service provider and then send the request
D.1.如果发送方数据箱服务商为本服务商,即确认发送方身份可信。D.1. If the sender's data box service provider is the service provider, the sender's identity is confirmed to be trustworthy.
D.2.如果发送方以所在的数据箱地址角色发送请求,则确认发送方身份过程同B过程D.2. If the sender sends the request in the role of the data box address, the sender identity process is the same as the B process.
D.3.如果发送方以信任提供服务商的账号角色发送请求,通过三方信任的安全技术手段可确认发送方身份可信。另外在一定的应用需求下同时还需要进一步确认信任提供服务商的账号是否可信。其确认策略可选择如下过程:D.3. If the sender sends a request by trusting the service provider's account role, the sender's identity can be trusted by the three-party trusted security technology. In addition, under certain application requirements, it is necessary to further confirm whether the account of the trust provider is trusted. The confirmation strategy can be selected as follows:
D.3.1.访问信任提供服务商验证发送方数据箱地址与账号是否匹配,若不匹配则确认发送方身份伪造,响应拒绝。D.3.1. Access Trust The service provider verifies that the sender's data box address matches the account number. If it does not match, the sender's identity is forged and the response is rejected.
D.3.2.访问信任提供服务商验证发送方数据箱服务商为认证通过的服务商,则确认发送方身份可信。如果不是,则要求发送者在信任提供服务商的网站域下手工验证当前请求来自本人,类似于网上购物在线支付过程。 D.3.2. Access Trust The service provider verifies that the sender's data box service provider is the service provider that passes the authentication, and then confirms that the sender's identity is trusted. If not, the sender is required to manually verify that the current request is from the website under the trust provider's website domain, similar to the online shopping online payment process.
C、用户的数据接收策略服务商数据箱系统应提供人性化的配置界面,方便用户设定数据接收策略。如在使用服务商数据箱系统可设定全局策略,或针对某些数据箱地址或信任提供服务商的账号的特殊策略。这些策略可以是如果发送方身份未知或不可信时,须用户手工确认,并选择在以后是否采用相同的策略;如果发送方身份可信,立即响应等等。C. User's data receiving strategy The service provider data box system should provide a user-friendly configuration interface to facilitate the user to set the data receiving strategy. For example, in the use of the service provider data box system, a global policy can be set, or a special policy for providing a service provider's account for certain data box addresses or trusts. These policies may be that if the sender's identity is unknown or untrustworthy, the user must manually confirm and choose whether to adopt the same policy in the future; if the sender's identity is trusted, respond immediately, and so on.
D、扩展的数据处理程式D, extended data processing program
数据箱系统不同于邮件系统,不仅仅是接收到邮件而已,更重要的是数据箱与服务商提供的业务或服务系统通常会连接在一起。例如服务商为用户提供网站的托管服务,那么用户的数据箱可对外提供留言服务,同时来自数据箱的留言数据经过处理自动进入到网站的留言系统内;服务商销售产品同时又拥有进销存系统,那么服务商的数据箱可对外提供产品订购服务,来自数据箱的订单经过处理自动进入到进销存系统内。如图9.A data box system is different from a mail system, not just for receiving mail. More importantly, the data box and the service or service system provided by the service provider are usually connected. For example, the service provider provides the user with the hosting service of the website, then the user's data box can provide the external message service, and the message data from the data box is automatically processed into the message system of the website; the service provider sells the product and has the invoicing. System, then the service provider's data box can provide product ordering service to the outside, and the order from the data box is processed into the invoicing system automatically. As shown in Figure 9.
E、响应结果E, response results
不同于邮箱系统,为保证数据箱服务的延续性、与客户端的交互性,响应处理通常是实时的。而且响应的数据内容除了描述接收数据的结果外还含程式处理的结果。Unlike the mailbox system, in order to ensure the continuity of the data box service and the interaction with the client, the response processing is usually real-time. Moreover, the data content of the response contains the result of the program processing in addition to the result of receiving the data.
2.5.3.工作过程2.5.3. Working process
图10和图11中,用户a在服务商s0.com、服务商s1.com分别注册并使用数据箱a!s0.com、a!s1.com,用户b在服务商s1.com注册并使用数据箱b!s1.com。In Figure 10 and Figure 11, user a registers and uses data box a at service provider s0.com and service provider s1.com respectively! S0.com, a! S1.com, user b registers with service provider s1.com and uses data box b! S1.com.
在图11中,用户a在信任服务提供商c注册账户ca并绑定他使用的数据箱a!s0.com、a!s1.com,用户b在信任服务提供商c注册账户cb并绑定他使用的数据箱b!s1.com。In Figure 11, user a registers account ca with the trusted service provider c and binds the data box a he uses! S0.com, a! S1.com, user b registers account cb with the trusted service provider c and binds the data box b he uses! S1.com.
在图10中,服务商s0.com、服务商s1.com之间直接建立信任关系。在图11中,服务商s0.com、服务商s1.com通过信任服务提供商c间接建立信任关系。In FIG. 10, a trust relationship is directly established between the service provider s0.com and the service provider s1.com. In FIG. 11, the service provider s0.com and the service provider s1.com establish a trust relationship indirectly through the trust service provider c.
用户b访问自己的数据箱b!s1.com后,试图访问用户a的数据箱a!s0.com的过程示例如下:User b accesses his own data box b! After s1.com, try to access user a's data box a! An example of the process of s0.com is as follows:
第一步,指定数据箱地址a!s0.comThe first step is to specify the data box address a! S0.com
第二步,所在的数据箱系统s1.com向目标数据箱地址所在的服务商s0.com发出获取目录服务的请求。同时系统会将本次请求保存到数据箱。In the second step, the data box system s1.com is located to send a request for obtaining a directory service to the service provider s0.com where the target data box address is located. At the same time, the system will save this request to the data box.
A.本方案使用的技术是服务商s0.com使用REST的方式提供目录服务。 A. The technology used in this solution is that the service provider s0.com uses REST to provide directory services.
REST定义了一组体系架构原则,您可以根据这些原则设计以系统资源为中心的Web服务,包括使用不同语言编写的客户端如何通过HTTP处理和传输资源状态。如果考虑使用它的Web服务的数量,REST近年来已经成为最主要的Web服务设计模式。REST defines a set of architectural principles that you can use to design system resources-centric Web services, including how clients written in different languages can process and transfer resource state over HTTP. If you consider the number of Web services that use it, REST has become the most important Web service design pattern in recent years.
用户a在服务商s0.com的数据箱地址是a!s0.com,那么服务商s1.com就可认为服务商s0.com的REST URL为http://s0.com/a,方法:GET。The data box address of user a at the service provider s0.com is a! S0.com, then the service provider s1.com can think that the REST URL of the service provider s0.com is http://s0.com/a, method: GET.
B.本方案使用的技术是基于HTTPS协议实现双方的信任认证。B. The technology used in this scheme is based on the HTTPS protocol to achieve mutual trust authentication.
HTTPS(全称:Hypertext Transfer Protocol over Secure Socket Layer),是以安全为目标的HTTP通道,简单讲是HTTP的安全版。即HTTP下加入SSL层,HTTPS的安全基础是SSL。SSL协议位于TCP/IP协议与各种应用层协议之间,为数据通讯提供安全支持。SSL协议可分为两层:SSL记录协议(SSL Record Protocol):它建立在可靠的传输协议(如TCP)之上,为高层协议提供数据封装、压缩、加密等基本功能的支持。SSL握手协议(SSL Handshake Protocol):它建立在SSL记录协议之上,用于在实际的数据传输开始前,通讯双方进行身份认证、协商加密算法、交换加密密钥等。HTTPS (full name: Hypertext Transfer Protocol over Secure Socket Layer) is an HTTP channel for security purposes. It is simply a secure version of HTTP. That is, the SSL layer is added under HTTP, and the security foundation of HTTPS is SSL. The SSL protocol is located between the TCP/IP protocol and various application layer protocols to provide security support for data communication. The SSL protocol can be divided into two layers: the SSL Record Protocol: it is built on a reliable transport protocol (such as TCP) to provide basic functions such as data encapsulation, compression, and encryption for higher layer protocols. SSL Handshake Protocol: It is built on the SSL record protocol to authenticate the identity, negotiate encryption algorithms, and exchange encryption keys before the actual data transmission begins.
SSL协议的工作流程:1)客户端向服务器发送一个开始信息“Hello”以便开始一个新的会话连接;2)服务器根据客户的信息确定是否需要生成新的主密钥,如需要则服务器在响应客户的“Hello”信息时将包含生成主密钥所需的信息;3)客户根据收到的服务器响应信息,产生一个主密钥,并用服务器的公开密钥加密后传给服务器;4)服务器恢复该主密钥,并返回给客户一个用主密钥认证的信息,以此让客户认证服务器。The workflow of the SSL protocol: 1) The client sends a start message "Hello" to the server to start a new session connection; 2) The server determines whether it needs to generate a new master key based on the customer information, and the server responds if needed The customer's "Hello" information will contain the information needed to generate the master key; 3) the client generates a master key based on the received server response information, and encrypts it with the server's public key and transmits it to the server; 4) Server The master key is restored and returned to the client with a message authenticated by the master key to allow the client to authenticate the server.
服务商s1.com向服务商s0.com发出请求,那么服务商s1.com就是客户端,服务商s0.com就是服务器。服务商s1.com与服务商s0.com之间通过彼此信任的数字证书进行SSL握手。在图10中,彼此信任的数字证书可由信任服务提供商c的根证书(包括由权威机构提供的根证书)签发。通过此次握手,完成信任关系的认证,服务商s0.com也可认定发送者的身份是否可信。The service provider s1.com sends a request to the service provider s0.com, then the service provider s1.com is the client, and the service provider s0.com is the server. The service provider s1.com and the service provider s0.com perform an SSL handshake through digital certificates trusted by each other. In FIG. 10, digital certificates that are trusted to each other can be issued by the root certificate of the trusted service provider c (including the root certificate provided by the authority). Through this handshake, the authentication of the trust relationship is completed, and the service provider s0.com can also determine whether the identity of the sender is trustworthy.
发送者的身份是否可信,它的作用在于描述其可信度,方便用户定义策略或处理。并不能够完全认为此次请求就是由发送者本人亲自发送的。因为不可避免还存在其它风险的可能,例如服务商s1.com主动欺骗、或者被黑,致使伪造用户b的身份来试图访问。Whether the identity of the sender is trustworthy, its role is to describe its credibility, so that users can define policies or processes. It is not entirely possible to believe that the request was sent by the sender himself. Because there are inevitably other risks, for example, the service provider s1.com actively spoofs, or is hacked, causing the identity of the user b to be falsified to try to access.
以下几种情况经常需要进一步认证访问者的身份。The following situations often require further authentication of the identity of the visitor.
1.判断发送者的身份能否比匿名用户或者其它会员用户获取更多的服务或数据;1. Determine whether the identity of the sender can obtain more services or data than anonymous users or other member users;
2.判断发送者的身份是否为与系统内的某个会员;(目前很多系统为支持单点登录,而使用OAuth的 技术)2. Determine whether the sender's identity is a member of the system; (Currently many systems support single sign-on and use OAuth technology)
OAUTH协议为用户资源的授权提供了一个安全的、开放而又简易的标准。与以往的授权方式不同之处是OAUTH的授权不会使第三方触及到用户的帐号信息(如用户名与密码),即第三方无需使用用户的用户名与密码就可以申请获得该用户资源的授权,因此OAUTH是安全的。The OAUTH protocol provides a secure, open and easy standard for authorizing user resources. The difference from the previous authorization method is that the OAUTH authorization does not enable the third party to touch the user's account information (such as the user name and password), that is, the third party can apply for the user resource without using the user's username and password. Authorization, so OAUTH is safe.
3.其它可能的情况3. Other possible situations
本方案所采用的技术与目前主流实现单点登录的策略一致,弹出服务商s0.com的一张认证WEB页面,并告知发送者在这页面上输入更多的安全信息例如图片验证码等进行确认。The technology adopted in this solution is consistent with the current mainstream single sign-on strategy. An authentication WEB page of the service provider s0.com is popped up, and the sender is informed to input more security information such as a picture verification code on this page. confirm.
第三步,服务商s0.com确认接收者的数据箱地址是否存在,以及确认发送者身份后,根据策略接收请求的数据,并运行相应的程式返回目录服务等数据。与此同时,这些接收到的、响应的数据也将保存到数据箱内。In the third step, the service provider s0.com confirms whether the recipient's data box address exists, and confirms the identity of the sender, receives the requested data according to the policy, and runs the corresponding program to return data such as the directory service. At the same time, these received, responsive data will also be saved to the data box.
本方案默认定义接收请求数据的策略为:The default definition of the scheme to receive request data is:
针对某些服务+针对某些数据箱地址+选择允许、等待用户确认、拒绝策略For some services + for certain data box addresses + select allow, wait for user confirmation, reject policy
其中,等待用户确认策略是指该项请求响应需要用户手工操作响应,类似于网页加载某些未知或不安全的控件时的提示策略。Among them, waiting for the user to confirm the policy means that the request response requires the user to manually respond, similar to the prompting strategy when the webpage loads some unknown or unsafe controls.
例如:E.g:
服务:目录服务Service: Directory Service
目标数据箱地址:所有Target data box address: all
策略:允许Strategy: Allow
根据数据箱响应数据的标准格式,返回目录服务等数据。目录服务的数据如下示例:Returns data such as directory services based on the standard format of the data box response data. The data for the directory service is as follows:
Figure PCTCN2014086202-appb-000008
Figure PCTCN2014086202-appb-000008
Figure PCTCN2014086202-appb-000009
Figure PCTCN2014086202-appb-000009
第四步,服务商s1.com接收到响应数据,并将这些数据保存到相应的数据件,即表示完成本次请求及响应的过程。为保证数据箱服务的延续性、与客户端的交互性,数据箱系统通常为用户提供进一步选择服务的UI界面。就好比如用户拨打语音电话,语音提示按1键获取照片服务,按2键获取留言服务等需要键盘操作。如图12示例。In the fourth step, the service provider s1.com receives the response data and saves the data to the corresponding data piece, which indicates the process of completing the request and response. In order to ensure the continuity of the data box service and the interaction with the client, the data box system usually provides the user with a UI interface for further selection of services. For example, if the user dials a voice call, the voice prompt presses the 1 button to obtain the photo service, and the 2 button to obtain the message service requires keyboard operation. See Figure 12 for an example.
第五步,用户进一步选择服务,就好比如用户根据语音提示按1键获取照片服务。In the fifth step, the user further selects the service, for example, the user presses the 1 button to obtain the photo service according to the voice prompt.
第六步,按照第一步到第四步过程运行。只不过此次请求的数据箱地址带有服务名,如:The sixth step is to run according to the first step to the fourth step. Only the data box address of this request has a service name, such as:
数据箱地址:a!s0.com/photosData box address: a! S0.com/photos
REST URL:http(s)://s0.com/a/photosREST URL: http(s)://s0.com/a/photos
方法:GETMethod: GET
同时,在第三步,根据数据箱响应数据的标准格式,返回目录服务、照片等的数据。At the same time, in the third step, data of the directory service, photos, and the like are returned according to the standard format of the data box response data.
目录服务的数据如下示例:The data for the directory service is as follows:
Figure PCTCN2014086202-appb-000010
Figure PCTCN2014086202-appb-000010
照片的数据如下:The photo data is as follows:
Figure PCTCN2014086202-appb-000011
Figure PCTCN2014086202-appb-000011
Figure PCTCN2014086202-appb-000012
Figure PCTCN2014086202-appb-000012
同时服务商s0.com为上述数据提供UI数据,如下示例: At the same time, the service provider s0.com provides UI data for the above data, as shown in the following example:
Figure PCTCN2014086202-appb-000013
Figure PCTCN2014086202-appb-000013
其中上述package是UI规范中的一种形式,是一个用于显示最新照片的组件,类似于网页上的控件,当服务商的数据箱系统没有这个组件时,可通过指定的plugin路径下载。The above package is a form of the UI specification. It is a component for displaying the latest photos, similar to the controls on the web page. When the service provider's data box system does not have this component, it can be downloaded through the specified plugin path.
在第四步,目录服务的UI界面改变成如下图13示例形式。In the fourth step, the UI interface of the directory service is changed to the following example form of FIG.
就好比如用户拨打按语音提示按1键后,语音又提示按1键获取家照片服务,按2键获取个人照片服务等。For example, if the user dials the voice prompt and presses the 1 button, the voice prompts to press the 1 button to obtain the home photo service, and press the 2 button to obtain the personal photo service.
同时,服务商s1.com的数据箱系统根据数据data以及UI,显示操作界面图14所示。At the same time, the data box system of the service provider s1.com displays the operation interface shown in FIG. 14 according to the data data and the UI.
第七步,用户进一步可以选择服务,就好比如用户根据语音提示继续按键往下获取服务。In the seventh step, the user can further select the service, for example, the user continues to press the button to obtain the service according to the voice prompt.
如查看“幸福的家”具体照片:For example, see the specific photo of "Happy Home":
数据箱地址:a!s0.com/photos/family/f0Data box address: a! S0.com/photos/family/f0
REST URL:http(s)://s0.com/a/photos/family/f0REST URL: http(s)://s0.com/a/photos/family/f0
方法:GETMethod: GET
浏览个人照片:Browse personal photos:
数据箱地址:a!s0.com/photos/personData box address: a! S0.com/photos/person
REST URL:http(s)://s0.com/a/photos/personREST URL: http(s)://s0.com/a/photos/person
方法:GETMethod: GET
等等and many more
第八步,重复按照第一步到第四步过程运行。In the eighth step, repeat the steps from step 1 to step 4.
2.6.数据箱系统关键的几个基本功能:2.6. The key basic functions of the data box system:
数据箱系统关键的几个基本功能:The key basic functions of the data box system are:
(1)为用户提供一个或多个数据箱,每个数据箱至少具有一个数据箱地址;(1) providing the user with one or more data boxes, each data box having at least one data box address;
(2)解析数据箱地址以及其扩展格式,并与其它的数据箱系统之间交互通信,支持为用户发送数据,支持为每次请求确认接收的数据箱地址是否正确、发送方的身份是否有效或可信,并根据策略选择响应,接收数据,以及保存数据件; (2) Analyze the data box address and its extended format, and communicate with other data box systems, support sending data for the user, and support whether the received data box address is correct and the sender's identity is valid for each request. Or be trusted, and select responses based on policies, receive data, and save data pieces;
(3)解析数据件传送与响应的数据格式,并为用户提供UI界面,以实现交互性;(3) Parsing the data format of the data piece transmission and response, and providing the user with a UI interface to achieve interactivity;
(4)为每个数据箱提供数据件存储功能,以及标记出发送者的身份是否有效或可信;(4) Provide data storage function for each data box, and mark whether the identity of the sender is valid or trusted;
(5)支持用户登录到自己的数据箱,并支持用户管理数据箱中的数据件;(5) Support users to log in to their own data box, and support users to manage data pieces in the data box;
(6)为每个数据箱提供描述服务的目录功能,并支持为不同的数据箱地址以及其扩展格式请求响应不同的服务目录数据;(6) Provide a directory function for describing each service box and support different service directory data for different data box addresses and their extended format requests;
(7)支持扩展或挂接其它服务程式,并支持将服务请求转发到相应的服务程式处理并响应,(8)支持这些扩展的服务程式配置或动态注册到数据箱描述服务的目录上;(7) Support to extend or hook other service programs, and support forwarding of service requests to the corresponding service program for processing and response, and (8) support for the extended service program configuration or dynamic registration to the directory of the data box description service;
(9)支持用户使用客户端访问数据箱(9) Support users to access the data box using the client
以下几个关键的扩展功能:Here are a few key extensions:
(1)与其它的数据箱系统之间交互通信为客户端生成信任令牌的功能;(1) The function of generating a trust token for the client by interacting with other data box systems;
(2)代理存储数据件功能;(2) The function of storing data pieces by the agent;
2.7.扩展支持其它服务程式2.7. Extension support for other service programs
本方案使用适配器来实现扩展或挂接其它服务程式。适配器的关键作用在于实现数据件与服务程式所需、响应的数据格式之间的转换。适配器应用在数据箱系统与服务程序之间,如图15所示。This solution uses an adapter to extend or hook up other service programs. The key role of the adapter is to achieve the conversion between the data piece and the data format required by the service program. The adapter is applied between the data box system and the service program, as shown in Figure 15.
当服务请求时,数据箱系统将数据件传送数据发送给适配器,适配器根据格式协议将数据转换为服务程式所需的数据,从而满足服务程式数据处理的需要。When the service requests, the data box system sends the data transfer data to the adapter, and the adapter converts the data into the data required by the service program according to the format protocol, thereby satisfying the data processing needs of the service program.
当服务程式处理完毕后将结果数据经过适配器转换为数据件响应数据,然后再由数据箱系统封装响应服务请求。After the service program is processed, the result data is converted into data piece response data by the adapter, and then the response service request is encapsulated by the data box system.
通常,适配器是根据服务程序开发设计的。由于数据件格式是规范的协议格式,因此本方案可以扩展支持任何形式的服务程式。例如邮箱服务、留言服务、聊天或消息服务、状态通知服务、数据管理与统计分析或图表服务、电商或购物或团购服务、在线调查服务、问答服务、网页导航服务、网盘或存档服务、文档服务、格式转换或压缩或下载或缩略图等文件服务、页面或组件或应用或文件或相册等数据分享服务、RSS等订阅与发布服务、广告服务、博客或微博服务、百科服务、贴吧服务、论坛服务、聊天交友等网络社交服务、视音频服务、财经或新闻资讯服务、画报服务、词典服务、翻译服务、托管服务、目录服务、寻人或捐助等公益服务、网上中介与租用服务、游戏服务、协同办公管理服务、协同开发服务、远程控制服务、移动电话或短信或彩信或通信录或语音或办公等服务、拍照服务、语音服务、点评与评论服务、模板服务、咨询或设计或拼车或彩票或充值或还款或缴费等生活服务、打印服务、网上支付服务、商机服务、杀毒服务、搜索服务、桌面服务、旅行计划或CRM或进销存等云应用服务、远程教育服务、远程会议服务、远程医疗服务、语音信箱服务、计算服务、存储服务、传感器服务、地图与卫星遥感服务、位置服务、虚拟现实服务、增强现实服务等等。Typically, adapters are designed and developed based on service programs. Since the data piece format is a canonical protocol format, this solution can be extended to support any form of service program. Such as email services, message services, chat or messaging services, status notification services, data management and statistical analysis or charting services, e-commerce or shopping or group purchase services, online survey services, question and answer services, web navigation services, web or archive services, Document services, format conversion or file services such as compression or download or thumbnails, data sharing services such as pages or components or applications or files or photo albums, subscription and publishing services such as RSS, advertising services, blogs or microblogging services, encyclopedia services, post bars Services such as services, forum services, chat dating, online social services, video and audio services, financial or news information services, pictorial services, dictionary services, translation services, custody services, directory services, tracing or donation, public services, online mediation and rental services , game services, collaborative office management services, collaborative development services, remote control services, mobile phones or SMS or MMS or contacts or voice or office services, photo services, voice services, review and comment services, template services, consulting or design Or carpool or lottery or recharge or repayment or payment Such as life services, print services, online payment services, business opportunities, anti-virus services, search services, desktop services, travel plans or CRM or Invoicing cloud application services, distance education services, teleconferencing services, telemedicine services, voicemail Services, computing services, storage services, sensor services, maps and satellite remote sensing services, location services, virtual reality services, augmented reality services, and more.
数据箱系统提供描述服务的目录功能。这些扩展的服务程式配置或动态注册到数据箱描述服务的目录上。 The data box system provides a directory function that describes the service. These extended service programs are configured or dynamically registered to the directory of the data box description service.
2.8.信任服务提供商扩展应用2.8. Trust Service Provider Extension Application
信任服务提供商c除了在上述过程中起到为服务商s0.com、服务商s1.com之间建立信任关系外,还可以扩展应用到:In addition to establishing a trust relationship between the service provider s0.com and the service provider s1.com in the above process, the trust service provider c can also be extended to:
A.用户a、用户b的单点登录A. Single sign-on for user a and user b
充分运用信任服务提供商c与服务商s0.com、服务商s1.com之间建立的信任关系,实现用户a、b登录到信任服务提供商c后,自动切换登录到服务商数据箱系统。The trust relationship between the trust service provider c and the service provider s0.com and the service provider s1.com is fully utilized, and after the users a and b log in to the trusted service provider c, the login to the service provider data box system is automatically switched.
同时,结合OAuth技术,实现服务商s0.com、服务商s1.com使用信任服务提供商c的账号进行登录。At the same time, combined with OAuth technology, the service provider s0.com and the service provider s1.com use the account of the trusted service provider c to log in.
B.用户b访问用户a的数据箱时,使用“用户a在信任服务提供商c上的账户ca”来替代输入用户a的数据箱地址。因为用户a很有可能在很多服务商上有数据箱地址,而且难以记忆。由此,数据箱系统可基于信任服务提供商c提供的服务来实现该功能。B. When user b accesses the data box of user a, the user A's data box address of the user a is replaced with "user a's account ca on the trusted service provider c". Because user a is likely to have a data box address on many service providers, and it is difficult to remember. Thus, the data box system can implement this functionality based on the services provided by the trusted service provider c.
第一步,指定用户a在信任服务提供商c上的账户caThe first step is to specify the account a of user a on the trusted service provider c.
第二步,所在的数据箱系统s1.com向信任服务提供商c发出账户ca绑定的数据箱地址的请求。In the second step, the data box system s1.com is located to send a request for the data box address bound by the account ca to the trusted service provider c.
在这里,服务商s1.com与信任服务提供商c仍然可以通过SSL进行握手认证,这是一。第二,用户a可以信任服务提供商c设定账户公开策略:Here, the service provider s1.com and the trusted service provider c can still perform handshake authentication via SSL, which is one. Second, user a can trust service provider c to set an account disclosure policy:
针对某些数据箱地址、某些账户+选择公开策略允许、等待用户确认、拒绝For certain data box addresses, some accounts + select public policy permission, wait for user confirmation, reject
如默认定义为:As defined by default:
数据箱地址:所有Data box address: all
账户:所有Account: All
策略:允许Strategy: Allow
第三步,获取数据箱地址后,首选提供给用户b账户ca指定的默认数据箱地址,当然也可支持用户b选择其中的数据箱地址。In the third step, after obtaining the data box address, the default data box address specified by the user b account ca is preferred, and of course, the user b can select the data box address.
第四步,按照上述2.5.3.工作过程提及的第一步到第四步过程运行。The fourth step is to follow the steps from step 1 to step 4 mentioned in the above 2.5.3. working process.
数据箱默认提供的服务The default service provided by the data box
为更好的运用数据箱服务于工作、生活,应默认提供:邮箱、留言、消息、状态通知等服务。In order to better use the data box to serve and live, it should provide by default: mailbox, message, message, status notification and other services.
例如用户b可以使用数据箱地址a!s0.com: For example, user b can use the data box address a! S0.com:
服务说明:给用户a发邮件Service Description: Email user a
数据箱地址:a!s0.com/emailData box address: a! S0.com/email
REST URL:http(s)://s0.com/a/emailREST URL: http(s)://s0.com/a/email
方法:POSTMethod: POST
服务说明:给用户a留言Service Description: Leave a message to the user
数据箱地址:a!s0.com/leavewordData box address: a! S0.com/leaveword
REST URL:http(s)://s0.com/a/leavewordREST URL: http(s)://s0.com/a/leaveword
方法:POSTMethod: POST
服务说明:给用户a发消息Service Description: Send a message to user a
数据箱地址:a!s0.com/messageData box address: a! S0.com/message
REST URL:http(s)://s0.com/a/messageREST URL: http(s)://s0.com/a/message
方法:POSTMethod: POST
2.8.信任服务提供商、数据箱服务商应实现的基本功能2.8. Basic functions that trust service providers and data box service providers should implement
2.8.1.信任服务提供商2.8.1. Trust Service Provider
A.注册、审核数据箱服务商以及信用评级的功能A. Registration, auditing of data box service providers and credit rating functions
B.签发数据箱服务商数字证书的功能B. Issuing the function of the digital certificate of the data box service provider
C.认证数据箱服务商以及信用等级的功能C. Certification of data box service providers and credit rating functions
D.注册用户账户以及绑定数据箱地址的功能D. Register user accounts and bind data box addresses
E.认证用户账户、数据箱地址的功能E. Function of authenticating user account and data box address
F.查找用户账户、数据箱地址的功能F. Find the function of user account and data box address
G.其它基本功能G. Other basic functions
2.8.2.信任服务提供商2.8.2. Trust Service Provider
A.注册并使用数据箱的功能A. Register and use the data box function
B.认证发送者身份的功能B. The function of authenticating the identity of the sender
C.代理访问信任服务提供商查找用户账户、数据箱地址的功能C. The function of the proxy access trust service provider to find the user account and the data box address
D.实现按数据箱数据标准格式封装数据箱传送与响应数据的功能D. Implement the function of encapsulating data box transmission and response data according to the data box data standard format
E.实现数据箱响应目录服务以及数据的UI界面功能E. Implement the data box response directory service and the UI interface function of the data
F.通过OAuth实现信任服务提供商账户的单点登录F. Implementing single sign-on to a trusted service provider account via OAuth
G.实现来自信任服务提供商登录用户的自动切换登录G. Implement automatic switch login from the trusted service provider login user
H.实现数据箱数据件操作的功能如批量标记状态、回复、响应、转发、群发、删除等H. Functions for implementing data box data item operations such as batch mark status, reply, response, forwarding, group sending, deletion, etc.
I.实现数据箱扩展或挂接服务程式以及配置或动态注册到描述服务的目录功能I. Implement the data box extension or hook service program and configure or dynamically register to the directory function describing the service
J.实现与其它数据箱交互为用户生成信任令牌的功能 J. Implement the function of interacting with other data boxes to generate trust tokens for users
K.支持客户端访问数据箱的功能K. Support client access to data box functions
L.其它基本功能L. Other basic functions
三、登录到数据箱的使用步骤Third, the steps to log in to the data box
如图16所示:As shown in Figure 16:
3.1.基于数据箱地址3.1. Based on the data box address
步骤一,用户登录到自己的数据箱;←→如同:用户登录到自己的邮箱Step one, the user logs in to his own data box; ← → like: the user logs in to his mailbox
i.可以是用户通过浏览器或客户端软件访问服务商提供的数据箱系统;i. may be a user accessing a data box system provided by a service provider through a browser or client software;
ii.可以是使用客户端(系统、软件、程式等)自动登录到服务商提供的数据箱系统;Ii. can use the client (system, software, programs, etc.) to automatically log in to the data box system provided by the service provider;
iii.其它能够登录到服务商提供的数据箱系统的方式;Iii. Other ways to log in to the data box system provided by the service provider;
iv.描述用户是数据箱拥有者身份的方式;Iv. describe how the user is the identity of the data box owner;
步骤二,指定对方的数据箱地址;←→如同:指定对方的邮箱地址Step 2, specify the address of the other party's data box; ← → like: specify the other party's email address
步骤三,数据箱所在的数据箱系统解析对方的数据箱地址,并与对方数据箱所在的数据箱系统连接发送,同时系统会将本次发送的保存到数据箱;Step 3: The data box system where the data box is located parses the data box address of the other party, and is connected and transmitted with the data box system where the other data box is located, and the system saves the current transmission to the data box;
←→如同:发送方邮件服务器与收信人信箱的接收电子邮件服务器连接发送←→ is like: the sender's mail server is connected to the recipient's mailbox's receiving email server.
步骤四,对方数据箱所在的数据箱系统接收到请求后,首先确认接收的数据箱地址是否正确,以及发送方的身份是否有效或可信,若无效或不可信根据策略选择是否响应拒绝。接收数据,将其保存到数据箱,并判断是否对这些数据扩展提供了处理程式,若是则运行这些程式进行处理。最后将描述响应状态的、目录服务与处理的结果、Ui等数据响应给客户端。与此同时,这些接收到的、响应的数据也将保存到对方的数据箱内。Step 4: After receiving the request, the data box system where the data box of the other party receives the request first confirms whether the received data box address is correct, and whether the identity of the sender is valid or trusted, and if invalid or untrusted, according to the policy, whether to respond or not is rejected. Receive the data, save it to the data box, and determine if a handler is available for these data extensions, and if so, run the program for processing. Finally, the response status, the results of the directory service and processing, the Ui and other data responses will be described to the client. At the same time, the received and responsive data will be saved to the other party's data box.
←→不同于:邮箱系统(1)不确认发送方身份,(2)不支持对邮件内容扩展处理程式,(3)只响应描述接收的状态,这与应用场景的不同有很大的关系。←→Different: The mailbox system (1) does not confirm the identity of the sender, (2) does not support the extension of the mail content processing program, and (3) only responds to the status of the description, which has a great relationship with the application scenario.
步骤五,数据箱所在的数据箱系统接收到响应的数据,并将这些数据保存到对应的数据件,即表示完成本次请求及响应的过程。为保证数据箱服务的延续性、与客户端的交互性,数据箱系统可以为用户提供进一步选择服务的、以及与返回的处理结果数据相关的UI界面。Step 5: The data box system where the data box is located receives the response data, and saves the data to the corresponding data piece, that is, the process of completing the request and the response. In order to ensure the continuity of the data box service and the interaction with the client, the data box system can provide the user with a UI interface for further selecting the service and related to the returned processing result data.
←→不同于:邮箱系统接收到响应的数据后即结束。←→Different: The mailbox system ends when it receives the response data.
←→如同:语音电话,语音提示按1键获取照片服务,按2键获取留言服务等需要键盘操作。←→ like: voice call, voice prompt press 1 button to get photo service, press 2 button to get message service, etc. need keyboard operation.
步骤六,用户进一步选择服务,并从步骤二开始再次运行,此次指定的数据箱地址通常会带上服务名。In step 6, the user further selects the service and starts running again from step two. The designated data box address usually carries the service name.
←→如同:语音电话,用户根据语音提示按1键获取照片服务。←→ is like: voice call, the user presses the 1 button to get the photo service according to the voice prompt.
3.2.基于信任服务提供商的账号3.2. Account based on trusted service provider
步骤一,用户登录到自己的数据箱;Step one, the user logs in to his own data box;
步骤二,指定对方的信任服务提供商上的账号; Step 2: Specify an account on the trusted service provider of the other party;
步骤三,数据箱所在的数据箱系统向信任服务提供商发出查找对方账号绑定的数据箱地址的请求。Step 3: The data box system where the data box is located sends a request to the trusted service provider to find the data box address bound by the other party's account.
步骤四,获取对方账号绑定的数据箱地址后,首选使用对方账户默认指定的数据箱地址,当然也支持用户选择其中的数据箱地址。Step 4: After obtaining the data box address bound to the other party's account, it is preferred to use the data box address specified by the other party's account by default, and of course, the user can select the data box address therein.
步骤五,重复上述3.1.基于数据箱地址的步骤三~步骤六Step 5, repeat the above steps 3.1. Steps 3 to 6 based on the data box address
3.3.处理数据箱中的数据件3.3. Processing data pieces in the data box
步骤一,用户登录到自己的数据箱;Step one, the user logs in to his own data box;
步骤二,查收与管理数据箱中的数据件,例如进行标记状态、回复、响应、转发、群发等操作;Step 2: Check and manage the data items in the data box, for example, perform marking status, reply, response, forwarding, group sending, and the like;
步骤三,如果数据件中包含Services、UI等数据,或者数据箱系统针对该数据格式提供的UI程式,则用户可以根据目录服务及数据的UI界面进行上述3.1.基于数据箱地址的步骤三~步骤六;Step 3: If the data component includes data such as Services, UI, or the UI program provided by the data box system for the data format, the user may perform the above step 3.1 based on the data box interface according to the UI interface of the directory service and the data. Step six;
四、客户端在未登录下访问数据箱的步骤Fourth, the client does not log in to access the data box step
数据箱系统支持客户端通过约定的协议访问数据箱。在未登录情况下可以访问指定的数据箱地址。对方数据箱所在的数据箱系统接收到请求后直接确认发送方身份未知或不可信,根据策略选择响应是否拒绝。如图17使用步骤。The data box system allows the client to access the data box through a contracted protocol. The specified data box address can be accessed without logging in. After receiving the request, the data box system where the other party's data box is located directly confirms that the sender's identity is unknown or untrusted, and selects whether the response is rejected according to the policy. Use the steps in Figure 17.
五、客户端基于信任令牌的使用步骤Five, the client based on the use of trust tokens
用户数据箱所在的数据箱系统可以与对方的数据箱系统事项约好或动态交互为用户生成信任令牌。该令牌的作用在于当用户所使用的客户端持有该信任令牌访问对方数据箱时即可表明用户所拥有的数据箱身份。该令牌可以是由用户数据箱所在的数据箱系统与对方的数据箱系统一起签发的证书,或者口令,或者特定的会话cookie值。The data box system where the user data box is located can generate a trust token for the user by interacting or dynamically interacting with the data box system of the other party. The role of the token is to indicate the identity of the data box owned by the user when the client used by the user holds the trust token to access the other party's data box. The token may be a certificate issued by the data box system in which the user data box is located with the other party's data box system, or a password, or a specific session cookie value.
用户使用客户端本地存储的模式,使用步骤如图18,此种模式下客户端具有本地存储的能力,所以通常客户端为胖客户端。The user uses the mode of the client's local storage. The usage steps are as shown in Figure 18. In this mode, the client has the ability to store locally, so usually the client is a fat client.
用户使用对方数据箱代理存储的模式,使用步骤如图19,此种模式下客户端本地存储的能力有限或者没有,所以通常客户端为瘦客户端,如浏览器。 The user uses the mode stored by the other party's data box agent. The usage steps are as shown in FIG. 19. In this mode, the client's local storage capacity is limited or not, so usually the client is a thin client, such as a browser.

Claims (19)

  1. 交换数据、获取与感知服务的数据箱系统,其特征在于:包括服务商和用户,a data box system for exchanging data, acquiring and sensing services, characterized by including a service provider and a user,
    其中,among them,
    服务商为每个用户或服务商自身提供数据箱,并且为每个数据箱至少提供一个数据箱地址;The service provider provides a data box for each user or service provider and provides at least one data box address for each data box;
    用户或服务商使用客户端或登录自己的数据箱,指定自己或对方的数据箱地址,通过共同遵守的协议与指定的数据箱交换数据、获取与感知服务。The user or service provider uses the client or logs into its own data box, specifies the address of the data box of itself or the other party, and exchanges data, acquisition and sensing services with the specified data box through a commonly adhered protocol.
  2. 根据权利要求1所述的交换数据、获取与感知服务的数据箱系统,其特征在于:所述服务商为多个,服务商之间通过数字证书或RSA/DES/HASH安全算法或密码实现信任关系,或者通过信任服务提供商来建立信任关系,不同服务商的用户或服务商自身相互通过不同服务商提供的数据箱地址交换数据、获取与感知服务。The data box system for exchanging data and acquiring and sensing services according to claim 1, wherein the number of the service providers is multiple, and the service providers implement trust by using digital certificates or RSA/DES/HASH security algorithms or passwords. Relationships, or trust trust providers to establish trust relationships. Users or service providers of different service providers exchange data, acquire and sense services with each other through data box addresses provided by different service providers.
  3. 根据权利要求1所述的交换数据、获取与感知服务的数据箱系统,其特征在于:所述用户或服务商可以通过信任服务商提供的账户为自己绑定数据箱地址,同时选择策略设定是否公开所有或其中几个绑定的数据箱地址,进而方便其他用户或服务商通过该账号获得这些数据箱地址。The data box system for exchanging data and acquiring and sensing services according to claim 1, wherein the user or the service provider can bind the data box address to the account provided by the trust service provider, and select the policy setting. Whether to disclose all or some of the bound data box addresses, so that other users or service providers can obtain these data box addresses through the account.
  4. 根据权利要求1所述的交换数据、获取与感知服务的数据箱系统,其特征在于:所述用户或服务商可以通过服务商提供的入口,或者通过客户端登录到数据箱。The data box system for exchanging data, acquiring and sensing services according to claim 1, wherein the user or service provider can log in to the data box through an portal provided by a service provider or through a client.
  5. 根据权利要求1或4所述的交换数据、获取与感知服务的数据箱系统,其特征在于:凡是能访问数据箱的客户端都可以与数据箱进行交换数据、获取与感知服务,所述客户端为系统、软件或程式。The data box system for exchanging data and acquiring and sensing services according to claim 1 or 4, wherein any client capable of accessing the data box can exchange data, acquire and sense services with the data box, the client The end is a system, software or program.
  6. 根据权利要求1所述的交换数据、获取与感知服务的数据箱系统,其特征在于:数据箱系统为每个数据箱提供描述服务的目录。A data box system for exchanging data, obtaining and sensing services according to claim 1, wherein the data box system provides a directory for each data box to describe the service.
  7. 根据权利要求6所述的交换数据、获取与感知服务的数据箱系统,其特征在于:所述服务为数据箱系统与其它系统、软件或程式一起扩展提供的服务程式。The data box system for exchanging data, obtaining and sensing services according to claim 6, wherein the service is a service program that the data box system expands with other systems, software or programs.
  8. 根据权利要求7所述的交换数据、获取与感知服务的数据箱系统,其特征在于:所述服务程式通过适配器来实现扩展或挂接到数据箱上,通过配置或动态注册到数据箱描述服务的目录上。The data box system for exchanging data, obtaining and sensing services according to claim 7, wherein the service program is extended or attached to the data box by using an adapter, and is configured or dynamically registered to the data box description service. On the directory.
  9. 根据权利要求6或7或8所述的交换数据、获取与感知服务的数据箱系统,其特征在于:所述的服务包括:邮箱服务、留言服务、聊天或消息服务、状态通知服务、数据管理与统计分析或图表服务、电商或购物或团购服务、在线调查服务、问答服务、网页导航服务、网盘或存档服务、文档服务、格式转换或压缩或下载或缩略图等文件服务、页面或组件或 应用或文件或相册等数据分享服务、RSS等订阅与发布服务、广告服务、博客或微博服务、百科服务、贴吧服务、论坛服务、聊天交友等网络社交服务、视音频服务、财经或新闻资讯服务、画报服务、词典服务、翻译服务、托管服务、目录服务、寻人或捐助等公益服务、网上中介与租用服务、游戏服务、协同办公管理服务、协同开发服务、远程控制服务、移动电话或短信或彩信或通信录或语音或办公等服务、拍照服务、语音服务、点评与评论服务、模板服务、咨询或设计或拼车或彩票或充值或还款或缴费等生活服务、打印服务、网上支付服务、商机服务、杀毒服务、搜索服务、桌面服务、旅行计划或CRM或进销存等云应用服务、远程教育服务、远程会议服务、远程医疗服务、语音信箱服务、计算服务、存储服务、传感器服务、地图与卫星遥感服务、位置服务、虚拟现实服务、增强现实服务中的一种或多种。The data box system for exchanging data, acquiring and sensing services according to claim 6 or 7 or 8, wherein the service comprises: a mailbox service, a message service, a chat or message service, a status notification service, and a data management. File services, pages or with statistical analysis or charting services, e-commerce or shopping or group purchase services, online survey services, question and answer services, web navigation services, web or archive services, document services, format conversion or compression or download or thumbnails Component or Data sharing services such as applications or documents or photo albums, subscription and publishing services such as RSS, advertising services, blogs or microblogging services, encyclopedia services, post bar services, forum services, chat dating, and other online social services, audio and video services, financial or news information. Services, pictorial services, dictionary services, translation services, custody services, directory services, public services such as tracing or donation, online mediation and rental services, gaming services, collaborative office management services, collaborative development services, remote control services, mobile phones or SMS or MMS or address book or voice or office services, photo service, voice service, review and comment service, template service, consultation or design or carpool or lottery or recharge or repayment or payment, etc., life service, print service, online payment Service, opportunity service, anti-virus service, search service, desktop service, travel plan or cloud application service such as CRM or Invoicing, distance education service, teleconferencing service, telemedicine service, voice mail service, computing service, storage service, sensor Service, map and satellite remote sensing services, bits Services, virtual reality service, enhance one or more real service.
  10. 根据权利要求6或7或8所述的交换数据、获取与感知服务的数据箱系统,其特征在于:所述数据箱地址的扩展格式为数据箱地址/服务名/子服务名/…,数据箱系统根据数据箱地址的扩展格式快速定位到服务程式处理该请求。The data box system for exchanging data, obtaining and sensing services according to claim 6 or 7 or 8, wherein the extended format of the data box address is a data box address/service name/sub-service name/..., data The box system quickly locates the service program to process the request based on the extended format of the data box address.
  11. 根据权利要求1所述的交换数据、获取与感知服务的数据箱系统,其特征在于:数据箱里一次请求和响应数据称为一个数据件,数据箱系统会将每次传送与响应的数据按照格式封装存成数据件,并保存。The data box system for exchanging data, obtaining and sensing services according to claim 1, wherein: one request and response data in the data box is called a data piece, and the data box system will follow the data of each transmission and response. The format package is saved as a data piece and saved.
  12. 根据权利要求11所述的交换数据、获取与感知服务的数据箱系统,其特征在于:一个数据件由传送与响应的数据两部分构成,这两部分数据内容,包含目录服务Services、与服务相关的数据Message、与UI界面相关的数据Ui中的一种或多种,或者一个都不包含,响应部分的数据内容包含Status描述响应状态的数据。The data box system for exchanging data, obtaining and sensing services according to claim 11, wherein a data piece is composed of two parts of data transmitted and responded, and the two parts of the data content include a directory service, and a service. One or more of the data message, the UI U related to the UI interface, or none of the data content of the response part contains data indicating the status of the response.
  13. 根据权利要求1所述的交换数据、获取与感知服务的数据箱系统的使用方法,其特征在于:包括如下步骤:The method for using a data box system for exchanging data and acquiring and sensing services according to claim 1, comprising the steps of:
    1、用户登录到自己的数据箱,或通过客户端,所述用户包括服务商自己;1. The user logs in to his or her own data box, or through the client, which includes the service provider himself;
    2、用户指定对方的数据箱地址,所述对方指自己、其他用户或服务商;2. The user specifies the data box address of the other party, and the other party refers to himself, other users or service providers;
    3、用户数据箱所在的数据箱系统或客户端解析对方的数据箱地址,并与对方数据箱所在的数据箱系统连接发送服务请求,同时如果为用户数据箱所在的数据箱系统或者客户端具有本地存储数据件功能时则会将本次服务请求的数据保存到用户的数据箱或客户端本地;3. The data box system or client where the user data box is located resolves the address of the other party's data box, and sends a service request to the data box system where the other data box is located, and if it is the data box system or client where the user data box is located, When the data file function is stored locally, the data of the service request is saved to the user's data box or the client local;
    4、对方数据箱所在的数据箱系统接收到请求后,首先确认接收的数据箱地址是否正确,以及用户的身份是否有效或可信,若无效或不可信根据策略选择是否响应拒绝;接收 服务请求的数据并将其保存到数据箱;对方数据箱所在的数据箱系统判断数据箱系统是否对这些服务请求提供了服务程式,若是则运行这些服务程式进行处理,并将描述响应状态的、目录服务、处理的结果、Ui等数据响应给数据箱所在的数据箱系统,若否则直接将描述响应状态的、目录服务、UI等数据响应给用户数据箱所在的数据箱系统或客户端;数据箱;响应数据也将保存到对方数据箱内;4. After receiving the request, the data box system where the other party's data box is located first confirms whether the received data box address is correct, and whether the user's identity is valid or trusted. If invalid or untrusted, according to the policy, whether to respond or not; Service request data and save it to the data box; the data box system where the other data box is located determines whether the data box system provides a service program for these service requests, and if so, runs these service programs for processing, and describes the response status, The data of the directory service, the processing result, the Ui, and the like are sent to the data box system where the data box is located. If otherwise, the response status, the directory service, the UI, and the like are directly sent to the data box system or the client where the user data box is located; Box; response data will also be saved to the other party's data box;
    5、用户数据箱所在的数据箱系统或客户端接收到响应数据,同时如果为用户数据箱所在的数据箱系统或者客户端具有本地存储数据件功能时则将响应数据保存到对应的数据件,即表示完成本次请求及响应的过程。5. The data box system or client where the user data box is located receives the response data, and if the data box system in which the user data box is located or the client has the function of locally storing data pieces, the response data is saved to the corresponding data piece. This is the process of completing this request and response.
  14. 根据权利要求13所述的交换数据、获取与感知服务的数据箱系统的使用方法,其特征在于:数据箱系统为数据件标记发送者身份是否有效或可信,用户可以查收与管理数据箱中的数据件。The method for using a data box system for exchanging data, obtaining and sensing services according to claim 13, wherein the data box system marks whether the identity of the sender is valid or trusted for the data item, and the user can check and manage the data box. Data pieces.
  15. 根据权利要求13所述的交换数据、获取与感知服务的数据箱系统的使用方法,其特征在于:数据箱系统或客户端可以为用户提供进一步选择服务的、以及与返回的处理结果数据相关的UI界面。The method for using a data box system for exchanging data, obtaining and sensing services according to claim 13, wherein the data box system or the client can provide the user with further selection of services and related to the returned processing result data. UI interface.
  16. 根据权利要求13所述的交换数据、获取与感知服务的数据箱系统的使用方法,其特征在于:如果数据件中包含Services、Ui等数据,或者数据箱系统针对该数据格式提供的UI程式,则用户可以根据目录服务及数据的UI界面进行步骤2-5开始再次运行,其中步骤2中指定的数据箱地址可以为带有服务名的扩展格式。The method for using a data box system for exchanging data and acquiring and sensing services according to claim 13, wherein if the data item includes data such as Services, Ui, or the UI program provided by the data box system for the data format, Then, the user can start running again according to step 2-5 according to the UI interface of the directory service and data, wherein the data box address specified in step 2 can be an extended format with a service name.
  17. 根据权利要求13所述的交换数据、获取与感知服务的数据箱系统的使用方法,其特征在于:所述步骤2包括:1)用户指定对方的信任服务提供商上的账号;2)用户数据箱所在的数据箱系统或客户端向信任服务提供商发出查找对方账号绑定的数据箱地址的请求;3)获取对方账号绑定的数据箱地址后,使用对方账户默认指定的数据箱地址,或者用户直接选择其中的数据箱地址。The method for using a data box system for exchanging data and obtaining and sensing services according to claim 13, wherein the step 2 comprises: 1) the user specifies an account on the trusted service provider of the other party; 2) the user data The data box system or client where the box is located sends a request to the trusted service provider to find the data box address bound by the other party's account; 3) after obtaining the data box address bound to the other party's account, the data box address specified by the other party's account is used by default. Or the user directly selects the data box address.
  18. 根据权利要求13所述的交换数据、获取与感知服务的数据箱系统的使用方法,其特征在于:所述的客户端可以在未登录情况下访问对方的数据箱地址,对方数据箱所在的数据箱系统接收到请求后直接确认发送方身份未知或不可信,根据策略选择响应是否拒绝。The method for using the data box system for exchanging data and acquiring and sensing services according to claim 13, wherein the client can access the data box address of the other party without the login, and the data of the data box of the other party. After receiving the request, the box system directly confirms that the sender's identity is unknown or untrusted, and selects whether the response is rejected according to the policy.
  19. 根据权利要求13所述的交换数据、获取与感知服务的数据箱系统的使用方法,其特征在于:所述的客户端可以使用用户所在的数据箱系统与对方的数据箱系统为用户约好或动态交互生成的信任令牌,当所述的客户端持有该信任令牌访问对方数据箱时即可表明用户所拥有的数据箱身份,所述信任令牌是由用户数据箱所在的数据箱系统与对方的数据箱系统 一起签发的证书,或者口令,或者特定的会话cookie值。 The method for using the data exchange system for exchanging data and acquiring and sensing according to claim 13, wherein the client can use the data box system where the user is located and the data box system of the other party to make an appointment for the user or Dynamically generated trust token, when the client holds the trust token to access the other party data box, it can indicate the identity of the data box owned by the user, and the trust token is the data box where the user data box is located System and partner's data box system A certificate issued together, or a password, or a specific session cookie value.
PCT/CN2014/086202 2013-09-10 2014-09-10 Databox system for data exchanges and service acquirement and sensing, and operation method thereof WO2015035907A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310410658.5A CN103442084B (en) 2013-09-10 2013-09-10 Data box system capable of providing data exchanging, acquiring and sensing service and use method of data box system
CN201310410658.5 2013-09-10

Publications (1)

Publication Number Publication Date
WO2015035907A1 true WO2015035907A1 (en) 2015-03-19

Family

ID=49695749

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/086202 WO2015035907A1 (en) 2013-09-10 2014-09-10 Databox system for data exchanges and service acquirement and sensing, and operation method thereof

Country Status (2)

Country Link
CN (1) CN103442084B (en)
WO (1) WO2015035907A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117993954A (en) * 2024-02-06 2024-05-07 浪潮卓数大数据产业发展有限公司 Scenic spot business district operation analysis method and system based on electronic business data

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442084B (en) * 2013-09-10 2017-02-22 杭州万格网络科技有限公司 Data box system capable of providing data exchanging, acquiring and sensing service and use method of data box system
CN106911797A (en) * 2017-04-01 2017-06-30 成都你我他科技有限公司 A kind of server of social gaming dating site
CN107403398A (en) * 2017-07-18 2017-11-28 广州市沃迩德文化教育咨询服务有限公司 A kind of English education internet platform and its application method
CN108600223A (en) * 2018-04-24 2018-09-28 四川精工伟达智能技术股份有限公司 Identification device, method based on NB-IoT networks and storage medium
CN108833553A (en) * 2018-06-21 2018-11-16 郑州云海信息技术有限公司 Directory processing method and related equipment
CN111917632B (en) * 2020-07-31 2022-09-16 北京明朝万达科技股份有限公司 Method and device for analyzing mail, nonvolatile storage medium and electronic device
CN113360206A (en) * 2021-05-31 2021-09-07 珠海大横琴科技发展有限公司 Data processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1361609A (en) * 2000-12-28 2002-07-31 廖建克 Network data exchange method and system
CN1835513A (en) * 2005-03-17 2006-09-20 阿尔卡特公司 Method for exchanging packets of user data
CN102904796A (en) * 2012-09-12 2013-01-30 盈世信息科技(北京)有限公司 Mailbox sharing method and mail server
CN103442084A (en) * 2013-09-10 2013-12-11 杭州万格网络科技有限公司 Data box system capable of providing data exchanging, acquiring and sensing service and use method of data box system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200742357A (en) * 2005-12-21 2007-11-01 Koninkl Philips Electronics Nv Mobile device and method for sending a message from a mobile device
CN101588308A (en) * 2008-05-23 2009-11-25 国际商业机器公司 Method and device for sharing data through emails
CN101447999B (en) * 2008-10-31 2012-09-05 神州数码金程(北京)科技有限公司 Security exchange system and realization method thereof
CN101964739B (en) * 2009-07-22 2014-03-26 中国移动通信集团公司 Data transmission method, device and system
EP2559193A4 (en) * 2010-04-15 2015-08-19 Australian Postal Corp Communication system and method
CN103152249A (en) * 2013-03-27 2013-06-12 李良 Method and system for realizing mail receiving and sending and instant communication functions at clients

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1361609A (en) * 2000-12-28 2002-07-31 廖建克 Network data exchange method and system
CN1835513A (en) * 2005-03-17 2006-09-20 阿尔卡特公司 Method for exchanging packets of user data
CN102904796A (en) * 2012-09-12 2013-01-30 盈世信息科技(北京)有限公司 Mailbox sharing method and mail server
CN103442084A (en) * 2013-09-10 2013-12-11 杭州万格网络科技有限公司 Data box system capable of providing data exchanging, acquiring and sensing service and use method of data box system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117993954A (en) * 2024-02-06 2024-05-07 浪潮卓数大数据产业发展有限公司 Scenic spot business district operation analysis method and system based on electronic business data

Also Published As

Publication number Publication date
CN103442084B (en) 2017-02-22
CN103442084A (en) 2013-12-11

Similar Documents

Publication Publication Date Title
WO2015035907A1 (en) Databox system for data exchanges and service acquirement and sensing, and operation method thereof
JP6491381B2 (en) Multi-tenant identity and data security management cloud service
US9043886B2 (en) Relying party platform/framework for access management infrastructures
US9189649B2 (en) Security model for workflows aggregating third party secure services
US7346923B2 (en) Federated identity management within a distributed portal server
US8751586B2 (en) Domain name control based social website account authentication
JP6166824B2 (en) Remote access to tracking system contact information
US8327428B2 (en) Authenticating linked accounts
CN105229987B (en) Active federated mobile authentication
CN105940391B (en) System and method for third-party application activity data collection
US20110055562A1 (en) Public key certificate based social website account authentication
JP2019532418A (en) Multi-tenant identity and data security management Tenant and service management for cloud services
JP2019526868A (en) Single sign-on and single logout capabilities for multi-tenant identity and data security management cloud services
US20110055911A1 (en) Business validation based social website account authentication
WO2007060430A1 (en) Apparatus for and a method of delivering a message to a user
JP2022130673A (en) Methods and apparatuses for managing external approval provisioning and external messaging communication requests in group-based communication system
CN103039032B (en) Communication system and method
US20240250931A1 (en) A method for managing a digital identity
CN102065131A (en) Single-point logging way and logging authentication
EP2915309B1 (en) Utilizing authentication scheme for single sign-on between servers
US10735404B2 (en) Aggregator technology without usernames and passwords implemented in a service store
KR101157876B1 (en) Electronic apparatus for making electronic contract
Rosenberg et al. End-to-end security for enterprise mashups
Marković et al. One possible model of secure e/m-government system
CN110134859B (en) A kind of personal information management method and system

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

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

Country of ref document: EP

Kind code of ref document: A1