CN101827123A - Method and system for realizing mobile widget engine with SNS function - Google Patents

Method and system for realizing mobile widget engine with SNS function Download PDF

Info

Publication number
CN101827123A
CN101827123A CN201010134379A CN201010134379A CN101827123A CN 101827123 A CN101827123 A CN 101827123A CN 201010134379 A CN201010134379 A CN 201010134379A CN 201010134379 A CN201010134379 A CN 201010134379A CN 101827123 A CN101827123 A CN 101827123A
Authority
CN
China
Prior art keywords
mobile widget
information
user profile
mobile
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201010134379A
Other languages
Chinese (zh)
Other versions
CN101827123B (en
Inventor
纪阳
吴振宇
杜亚波
高雅
张春红
章魁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING MOBROAD TECHNOLOGY Co Ltd
Original Assignee
BEIJING MOBROAD TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING MOBROAD TECHNOLOGY Co Ltd filed Critical BEIJING MOBROAD TECHNOLOGY Co Ltd
Priority to CN 201010134379 priority Critical patent/CN101827123B/en
Publication of CN101827123A publication Critical patent/CN101827123A/en
Application granted granted Critical
Publication of CN101827123B publication Critical patent/CN101827123B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method and a system for realizing a mobile widget engine with an SNS function. The method comprises the following steps: after selecting a mobile widget application to be added, a mobile widget portal entity transmits a request for adding the mobile widget to a local mobile widget management control; the local mobile widget management control acquires user information requesting to add the mobile widget application, and transmits the user information and the request which request to add the mobile widget application to a service end; and the service end updates a database, records the mobile widget application to be added and the user information requesting to add the mobile widget application, and completes the mobile widget application and the logon procedure of a user. The invention enables various mobile widget applications operating depending on the mobile widget engine to have the SNS attribute, and provides and bears abundant mobile social network services in the mobile Internet environment.

Description

Realization has the method and system of the mobile Widget engine of SNS function
Technical field
The present invention relates to mobile social networking service (Mobile Social Network Service, be called for short MSNS) application and mobile Widget application, target is the mobile Widget engine framework that proposes a kind of SNS of having function, carry various mobile Widgets application and, under the mobile Internet environment, provide and carry abundant mobile social networking service by this engine with realization its SNSization.
Background technology
Social networking service SNS is meant and is intended to help people to set up the internet, applications service of social network.Utilizing handheld mobile device to realize SNS, is the social networking service that the platform of service bearer and access provides the mobile phone version with the mobile phone, promptly is called as mobile social networking service MSNS.Because mobile phone has characteristics such as mobile, that screen is small and exquisite, terminal processing capacity is limited, having determined MSNS to use must exist corresponding different with the SNS application of PC version.MSNS belongs to a kind of of mobile Internet typical services.
Widget (microtec) is a kind of little application based on the Internet Web, realizes the function that certain is specific usually.Widget comes from an inserter tool-Konfabulator of Apple Computers at first, has expanded on various desktop operating systems and the mobile phone operating system now.It is based on exploitations such as JavaScript, HTML, CSS, mainly as the front end of Web 2.0 services or internet content.
Mobile Widget (mobile microtec) refers to run on the Widget on the portable terminal.The application framework of Widget is fit to mobile phone terminal very much, and the mobile phone terminal screen is less relatively, and browser has but taken limited source of screen, causes the surfing Internet with cell phone user experience relatively poor.Mobile Widget not only can be independent of browser execution, effectively utilizes mobile phone screen, and can quick more direct convenience accessing mobile Internet.Mobile Widget have small volume and less weight, development cost low, based on standard Web technology, the exploitation threshold is low, potential developer is numerous, the characteristics of and telotism low with the operating system degree of coupling, the easy exploiting of mobile Widget, easily dispose, personalized, interactive, consumed flow is few etc., and characteristic makes its be fit to very much mobile Internet business, is the most typical terminal application platform technology of mobile Internet.
In order to promote the user experience that mobile Internet is used, to realize application exploitation fast, dispose and the application of operation mobile Widget, mobile Widget engine can be realized function corresponding.Mobile Widget engine is the mobile Internet application runtime environment that is deployed on the portable terminal, and it supports the cross-platform operation of mobile Widget based on browser technology.BAE (Browser based Application Engine as China Mobile's design, application engine based on browser technology), the S60Web Run Time (WRT) of Nokia, the Apple iPhone Widget (close) of apple with Dashboard, Andorid Widget of Google or the like.
Consider that Widget is based on browser engine as running environment, and present browser engine comprises mainly: 1) Trident:IE with Trident as core engine; 2) Gecko:Firefox is based on the Gecko exploitation; 3) Webkit:Safari, Google Chrome develops based on Webkit.Wherein, Webkit has won a large amount of supports with its strong functions and the characteristic of increasing income.Therefore, the browser of a lot of main flows and (moving) Widget engine all are based on the Webkit expansion.
Prior art will realize that each MSNS uses, all need in concrete application, realize function corresponding, and some function is broadcasted the general function of these social application as registration login, good friend and is all needed independent the realization, so just cause work to have repeatability, and relevant information and data must just can be obtained and carry out to have hindered the autgmentability and the versatility of program so alternately after opening concrete application program.
Summary of the invention
Main purpose of the present invention is the mobile Widget engine framework that proposes a kind of SNS of having function, this framework is the expansion to original mobile Widget engine, make the various mobile Widgets that depend on the mobile Widget engine operation use the attribute that possesses SNS, lightweight moves the SNSization of application under the mobile Internet environment fundamentally having solved, under the mobile Internet environment to provide and to carry abundant mobile social networking service, simultaneously owing to increased the relevant capability of SNS at the portable terminal bottom, so also reduced the development amount of application developer, simplify the development process that MSNS uses, strengthened developer's experience.
According to an aspect of the present invention, a kind of method that realizes having the mobile Widget engine of SNS function is proposed, may further comprise the steps: after the mobile Widget application of selecting to need to add in the mobile Widget portal entity, the request that will add the mobile Widget application sends to local mobile Widget management control; Local mobile Widget management control obtains and will add the user profile that mobile Widget is used, and will add user profile and the request that mobile Widget uses and send to service end; Service end is upgraded database, and the mobile Widget that record will add in database is used and will be added the user profile that mobile Widget is used, and finishes mobile Widget application and user's registration process.
Further, also comprise automatic login process, be specially: when starting the mobile Widget application that has loaded, send logging request from the local mobile Widget management of trend control by the mobile Widget application; Local mobile Widget management control obtains and starts the user profile that mobile Widget is used, and the user profile and the logging request that will start the mobile Widget application send to service end; Service end gets access to the log-on message that mobile Widget is used according to user profile, thinks that mobile Widget is used to have finished automatic login process, is recorded as in database and logins.
The present invention obtains user profile by reading and resolve the mobile Widget engine local profile, and registers and login process according to this user profile in registration and login process afterwards.Therefore, only need be according to user profile, promptly unique account number just can realize registration automatically and login automatically.Simple, convenient.
Further, also comprise the process of monitoring, be specially: the mobile Widget portal entity sends the request of subscribing to good friend's multidate information to local mobile Widget management control; Local mobile Widget management control obtains the user profile that will subscribe to good friend's multidate information, and user profile and the request that will subscribe to good friend's multidate information send to service end; Service end is obtained buddy list according to user profile, and the good friend produces newly dynamically the time in monitoring tabulation, multidate information and friend information is pushed to local mobile Widget management control, and is presented on the mobile Widget portal entity.
The present invention has realized user's multidate information, comprises the automatic issue of event and state and the ability of broadcasting automatically.In mobile Widget engine, adopt multidate information to monitor control, thereby realize that service end pushes to client rapidly with user good friend's lastest imformation, to adapt among the SNS requirement state information real-time and automation.
Further, the user profile of good friend's multidate information and the operation that request sends to service end will be subscribed to, may further comprise the steps: local mobile Widget management control is grown connection or Socket monitoring technique and service end by http protocol and is connected, the user profile and the request of subscribing to good friend's multidate information are sent to service end, good friend's multidate information comprises event information and state information, and state information is online or off-line.The present invention has realized the method for active push multidate information.
According to a further aspect in the invention, also propose a kind of system that realizes having the mobile Widget engine of SNS function, wherein: the mobile Widget portal entity provides and adds the interface that mobile Widget is used; Mobile Widget is used, and the request that will add the mobile Widget application sends to local mobile Widget management control; Local mobile Widget management control comprises: Widget administration module, reception will add the request that mobile Widget is used; The MSNS management entity obtains and will add the user profile that mobile Widget is used, and the interface by definition will add user profile and the request that mobile Widget uses and send to service end; Service end comprises: social networks infrastructure service module, and notification database is upgraded; Database, record will add the user profile that mobile Widget is used and will be added the mobile Widget application, finish mobile Widget application and user's registration process.
Further, the MSNS management entity obtains and starts the user profile that mobile Widget is used when receiving logging request, and the user profile and the logging request that will start the mobile Widget application send to social networks infrastructure service module; Social networks infrastructure service module gets access to the log-on message that mobile Widget is used according to user profile from database, think that mobile Widget is used to have finished automatic login process, and notification database is recorded as and logins.
Further, also comprise the HTTP service request Delivery Function, the dynamic broadcast information monitoring entity that are arranged on local mobile Widget management control, and the real time information that is arranged on service end pushes module, wherein: HTTP service request Delivery Function, receive the user profile and the request of subscribing to good friend's multidate information from the MSNS management entity, and be transmitted to dynamic broadcast information monitoring entity, and multidate information and friend information are sent to the Widget administration module; Dynamic broadcast information is monitored entity, pushes module with real time information and connects, and multidate information and friend information are sent to HTTP service request Delivery Function; Real time information pushes module, obtain buddy list according to user profile, send the data monitoring notice to database, the good friend produces new dynamically the time in monitoring tabulation, obtain multidate information from database, multidate information and friend information are pushed to dynamic broadcast information monitoring entity.
Further, dynamic broadcast information monitoring entity is grown connection or Socket monitoring technique and real time information propelling movement module by http protocol and is connected, and good friend's multidate information comprises event information and state information, and described state information is online or off-line.
According to a further aspect in the invention, a kind of service end that realizes having the mobile Widget engine of SNS function is also proposed, comprise: social networks infrastructure service module, receive will add user profile that mobile Widget uses and register requirement the time from local mobile Widget management control, notification database is upgraded; Database, record will add the user profile that mobile Widget is used and will be added the mobile Widget application, finish mobile Widget application and user's registration process.
Further, also comprise: real time information pushes module, receive the user profile and the request of subscribing to good friend's multidate information from local mobile Widget management control, obtain buddy list according to user profile, send the data monitoring notice to database, the good friend produces newly dynamically the time in monitoring tabulation, obtains multidate information from database, and multidate information and friend information are pushed to local mobile Widget management control.
The present invention has openly proposed a kind of SNS of having (Social Network Service, social networking service) the mobile Widget engine framework of function, this framework is the expansion to original mobile Widget engine, has expanded the module and the interactive interface of being correlated with and use so that mobile Widget engine possesses following general ability in mobile Widget engine: all can utilize unique number of the account to finish after 1) any mobile Widget of user installation is used the automatic registration of this application is logined with automatic; 2) user's multidate information comprises event and state issue and the automatic ability of broadcasting automatically.Expansion by aforementioned capabilities, the final realization carried various mobile Widgets application by this engine, and with its SNSization, under the mobile Internet environment, can provide and carry abundant mobile social networking business, and reduced the development amount of using, the exploitation that has strengthened application developer is experienced.
Description of drawings
Fig. 1 is the mobile Widget engine Organization Chart based on the SNS function of the present invention.
Fig. 2 is that mobile Widget of the present invention is used and the automatic register flow path figure of user.
Fig. 3 is that mobile Widget engine of the present invention starts flow chart.
Fig. 4 is that user of the present invention logins the mobile Widget applicating flow chart automatically.
Fig. 5 is that user of the present invention subscribes to good friend's incident and event information broadcasting flow chart.
Fig. 6 is that user of the present invention subscribes to good friend's state and state information broadcasting flow chart.
Embodiment
The present invention is by expanding original mobile Widget engine, increase local mobile Widget management control, realization is to the unified management of local mobile Widget, make the user utilize same ID can realize management and control, thereby realize utilizing unique ID to land the local all mobile Widgets of registration automatically local all mobile Widgets; Utilize the real time information push function, real-time listening user's behavior is dynamic, and user's behavioural information is transmitted at server end and client automatically, realizes the function of broadcasting good friend state automatically.
In order to achieve the above object, the invention provides a kind of mobile Widget engine framework, comprising based on SNS:
At first, the SNS ability that need in original mobile Widget engine, expand of definition:
1. finish in the application program of service end when the user installation mobile Widget is used and register automatically;
2. after the user loads any one mobile Widget application, only need unified ID login this application automatically;
3. event information broadcasting: 1) client is issued user's latest tendency information automatically; 2) service end pushes this user's latest tendency information from trend user good friend;
4. user state information broadcasting: 1) issue (Online) state of reaching the standard grade automatically behind the client terminal start-up Widget engine, close behind the engine (Offline) state that rolls off the production line of issue automatically; 2) service end pushes this user's last state (Online/Offline) information from trend user good friend.
Secondly, the corresponding SNS functional entity of expansion in original mobile Widget engine:
Existing mobile Widget engine is based on the expansion that the standard browser engine carries out, its core also comprises except basic browser engine: the 1) expansion module of browser engine mainly is in order to support calling and visiting capacity of mobile terminal and resource; 2) Widget administration module mainly is browsing, download, installs, moves, unloading of management Widget; 3) Widget running environment, mainly be the management Widget operation, authenticate and present and play up; 4) browser user interface, the user interface control that main managing and browsing device and mobile Widget are used; 5) also comprise adaptive encapsulated layer for some Widget engine, with adaptive different mobile phone operating system to the mobile phone physical layer interface.
Based on such mobile Widget engine framework, if need the relevant ability of expansion SNS, need carry out following expansion to existing mobile Widget engine framework, please refer to Fig. 1:
1. define the mobile Widget portal entity
It is a mobile Widget application program that is positioned on the mobile Widget engine, its major function is the door of using as mobile Widget, be in charge of mobile Widget used browse, install, move, the front-end interface of operation such as unloading, be responsible for subscribing to, presenting the good friend simultaneously dynamically and so social information such as good friend's state.As door, this mobile Widget portal entity also can be controlled the startup of mobile Widget engine and close in addition, finishes automatic registration and the login of user on this engine platform.
2. define the MSNS management entity
As the expansion of Widget administration module, it mainly finishes following function:
With user installation, unloading, move the information that certain mobile Widget uses and send to service end with the HTTP request mode by the interface that defines in this MSNS management entity, finish the record in database.
Read and resolve certain mobile Widget and use configuration file and mobile Widget engine local profile, call the interface of MSNS management entity definition, the user who finishes this mobile applications logins automatically.
Read and resolve the mobile Widget engine local profile, call the interface of MSNS management entity definition, the user who finishes mobile Widget engine and mobile Widget portal entity logins automatically.
Interface definition in this MSNS management entity:
Interface name Input parameter Output parameter Interactive object Interface specification
??AppRegister??(appid,userid) Appid: application program id userid: user id Success: successful failure: failure Social networks infrastructure service module Mobile Widget application program and user's automatic registration
??UserLogin??(userid,appid) Userid: user id appid: application program id Success: successful failure: failure Social networks infrastructure service module The user that mobile Widget is used logins automatically
??EngineLogin??(userid) Userid: user id Success: successful failure: failure Social networks infrastructure service module The user of mobile Widget engine logins automatically
??SubscribePrese??nce??(userid) Userid: user id Good friend's state information list HTTP service request Delivery Function+dynamic broadcast information is monitored entity Subscribe to good friend's state information
??SubscribeBroa??dcast??(userid) Userid: user id The tabulation of good friend's broadcast message HTTP service request Delivery Function+dynamic broadcast information is monitored entity Subscribe to good friend's multidate information
3. define HTTP service request Delivery Function
This HTTP service request Delivery Function is one of expansion module of mobile Widget engine, realize some communication protocol stack at browsers local, it mainly is the protocol stack of HTTP, and at the local http server environment of realizing a simulation of mobile Widget engine, be responsible for to resolve and send the HTTP request, the respective extension module that request is distributed to other according to request content is handled and is returned result to request object.
4. definition dynamic broadcast information is monitored entity
It is one of expansion module of mobile Widget engine that this dynamic broadcast information is monitored entity, dynamic broadcast information is monitored entity as long (Socket connection) Client Agent that connects of the HTTP of mobile Widget engine, and the real time data of being responsible for mobile Widget engine and service end is mutual.Dynamic broadcast information monitoring entity is set up HTTP length with the Web service end and is connected (Socket connection), monitor the state variation of Web service end, the Web service end can initiatively be pushed to data in the mobile Widget engine in real time, thereby can realize the function of the dynamic auto broadcasting of good friend.
5. define Web service end entity
Web service end entity is mainly realized some functions that service providing end is relevant with SNS, such as, user's registration, login, the management of using load information, the broadcasting of good friend's multidate information push, and the seamless link of realization and mobile Widget engine and data interaction.Wherein, comprise two main modular:
Real time information pushes module, realizes the active push of service end information, realizes the function of good friend's dynamic broadcast, comprises good friend's event information and state information.
Social networks infrastructure service module, the basic function of realization SNS service providing end is such as subscription authentication management, good friend's management, subscriber information management, the management of application load information etc.
Specify below in conjunction with accompanying drawing, the performed function and the reciprocal process of each entity of the present invention's definition is with clearer understanding operation principle of the present invention.
Realization has the system of the mobile Widget engine of SNS function, can realize that mobile Widget is used and user's registration process, and the function of each module will be described below, and idiographic flow will be elaborated in conjunction with Fig. 2 below.This system comprises:
The mobile Widget portal entity provides and adds the interface that mobile Widget is used.
Mobile Widget is used, and the request that will add the mobile Widget application sends to local mobile Widget management control.
Local mobile Widget management control comprises: Widget administration module, reception will add the request that mobile Widget is used; The MSNS management entity obtains and will add the user profile that mobile Widget is used, and the interface by definition will add user profile and the request that mobile Widget uses and send to service end.
Service end comprises: social networks infrastructure service module, and notification database is upgraded; Database, record will add the user profile that mobile Widget is used and will be added the mobile Widget application, finish mobile Widget application and user's registration process.
By above-mentioned module, the present invention can also realize the login process that mobile Widget is used.Idiographic flow will be elaborated in conjunction with Fig. 4 below.
The MSNS management entity obtains and starts the user profile that mobile Widget is used when receiving logging request, and the user profile and the logging request that will start the mobile Widget application send to social networks infrastructure service module; Social networks infrastructure service module gets access to the log-on message that mobile Widget is used according to user profile from database, think that mobile Widget is used to have finished automatic login process, and notification database is recorded as and logins.
The present invention can also realize snoop procedure.Idiographic flow will be elaborated in conjunction with Fig. 5, Fig. 6 below.At this moment, native system is provided with HTTP service request Delivery Function at local mobile Widget management control, dynamic broadcast information is monitored entity, and in service end real time information propelling movement module is set, wherein:
HTTP service request Delivery Function receives the user profile and the request of subscribing to good friend's multidate information from the MSNS management entity, and is transmitted to dynamic broadcast information monitoring entity, and multidate information and friend information are sent to the Widget administration module.
Dynamic broadcast information is monitored entity, pushes module with real time information and connects, and multidate information and friend information are sent to HTTP service request Delivery Function.Dynamic broadcast information monitoring entity is grown connection or Socket monitoring technique and real time information propelling movement module by http protocol and is connected, and good friend's multidate information comprises event information and state information, and described state information is online or off-line.
Real time information pushes module, obtain buddy list according to user profile, send the data monitoring notice to database, the good friend produces new dynamically the time in monitoring tabulation, obtain multidate information from database, multidate information and friend information are pushed to dynamic broadcast information monitoring entity.
Fig. 2 is that mobile Widget of the present invention is used and the automatic register flow path figure of user, described after the user loads a new mobile Widget application, this Widget is applied in the automatic loading on the service end database and finishes the registration process that the user uses this Widget.Wherein, mobile Widget is used the concrete mobile Widget that refers to the current new loading of user and is used, the concrete module in mobile Widget portal entity, Widget administration module, MSNS management entity, Web service end entity and the database difference corresponding diagram 1.
Describing mobile Widget in detail below in conjunction with Fig. 2 uses and the loading registration process of user on platform:
1) after the user loads new mobile Widget application, at first send the AppInstall request to the Widget administration module, the expression client has newly been added a Widget assembly;
2) after the Widget administration module is received the AppInstall request, send request ParseConfigFile to the MSNS management entity, the MSNS management entity receives that at first reading and resolve this mobile Widget after the request uses parameter A ppid and isMSNSApp in configuration file, if parameter isMSNSApp is TRUE, represent that then this application is that MSNS uses, read then and resolve the mobile Widget engine local profile, obtain user profile (Userid) and proceed subsequent operation 3); If be judged as FALSE, think that then this application is not that MSNS uses, do not carry out follow-up MSNS and use registration process, directly start;
3) behind the MSNS management entity checking configuration file, send " Http request: AppRegister (userid; appid) " order by expansion interface to Web service end social networks infrastructure service module, show that client newly added a MSNS mobile Widget and used;
4) after the step 3), social networks infrastructure service module sends request OperateDB to database, and the expression database needs to upgrade;
5) after database manipulation is finished, to social networks infrastructure service module return results result;
6) after social networks infrastructure service module is received the result, result is carried out authentication, if authentication success then continues subsequent step 7); If authentification failure is then pointed out error message;
7) through social networks infrastructure service module authentication and show the authentication pass through after, send authentication success message OK to the MSNS management entity, the registered success of notice MSNS this App of management entity, send request RecordEvent to database simultaneously, this registered events of record is to be used for the real-time dynamic broadcast of good friend in database;
8) the MSNS management entity is to the Widget administration module information success that sends that mobile Widget is used and relative users succeeds in registration, and this mobile Widget of notice Widget administration module is used and is somebody's turn to do with succeeding in registration on platform per family.
9) the Widget administration module sends the information success that succeeds in registration to the mobile Widget portal entity, and mobile Widget is used and the registration of relative users is finished.
Fig. 3 is that mobile Widget engine of the present invention starts flow chart, has described when the user starts mobile Widget engine and (as user's start, has then thought automatic operation mobile Widget engine; Perhaps when starting the mobile Widget portal entity, start the Widget engine) after, the startup flow process of this mobile Widget engine, mobile Widget engine starts the back state of user and becomes online (Online) by not online (Offline).Wherein mobile Widget portal entity, Widget administration module, MSNS management entity, Web service end entity and database are distinguished the concrete module in the corresponding diagram 1.
Describe the startup flow process in user's the mobile Widget engine in detail below in conjunction with Fig. 3:
1) user User is after opening mobile device or starting the mobile Widget portal entity, and the Widget administration module is received the request message StartEngine that mobile Widget engine starts;
2) the Widget administration module sends ParseCongfigFile message to the MSNS management entity, and notice MSNS management entity reads the mobile Widget engine local profile;
3) the MSNS management entity receives the message that the Widget administration module sends, and reads and resolve the mobile Widget engine local profile, reads default user profile (Userid) from configuration file;
4) obtain after the Userid, the MSNS management entity sends " Http request: EngineLogin (userid) " order by expansion interface to the social networks infrastructure service module of Web service end, the user who shows user Userid by name at client terminal start-up mobile Widget engine;
5) after social networks infrastructure service module is received request command, send query requests Operate DB, obtain the information of this user's the registered mistake of mobile Widget engine to database;
6) database is to social networks infrastructure service module end return results result, i.e. this user's the mobile Widget engine information of registered mistake whether;
7) after social networks infrastructure service module is received, result is carried out authentication, if authentication success then continues subsequent step 8); If authentification failure is then pointed out error message;
8) through social networks infrastructure service module authentication and show the authentication pass through after, send authentication success message OK to the MSNS management entity, this mobile Widget engine of notice MSNS management entity also can successfully start by authentication in service end, simultaneously send request UpdatePresence and RecordEvent, in database, upgrade User Status and be online (Online) and write down this log-in events to be used for the real-time dynamic broadcast of good friend to database;
9) the MSNS management entity sends engine start successful information success to the Widget administration module;
10) the Widget administration module sends login successful information success to the mobile Widget portal entity, and shows the successfully information of login on the interface, and the mobile Widget engine login starts to be finished.
Fig. 4 is that user of the present invention logins the mobile Widget applicating flow chart automatically, has described after the user starts the Widget application of some registered mistakes, and this is applied in the startup login process on the platform.Wherein mobile Widget is used and refer to the mobile Widget application of register on platform, and Widget administration module, MSNS management entity, Widget running environment, Web service end entity and database are distinguished the concrete module in the corresponding diagram 1.
Describe in detail after the user starts the Widget application of some registered mistakes below in conjunction with Fig. 4, this is applied in the startup login process on the platform:
1) when the user starts a mobile Widget application, send Login message from trend Widget administration module, notice Widget administration module user has started a mobile Widget and has used;
2) after the Widget administration module is received Login information, send ParseConfigFile message to the MSNS management entity, shown client terminal start-up a mobile Widget use;
3) after the MSNS management entity is received the solicited message of Widget administration module transmission, at first read and resolve parameter A ppid and isMSNSApp in the mobile Widget application configuration file that will start, if parameter isMSNSApp is TRUE, represent that then this application is that MSNS uses, read then and resolve the mobile Widget engine local profile, obtain user profile (Userid) and proceed subsequent operation 4); If be judged as FALSE, think that then this application is not that MSNS uses, do not carry out follow-up MSNS and use login process, directly start;
4) the MSNS management entity sends " Http request: UserLogin (userid; appid) " order by expansion interface to the social networks infrastructure service module of Web service end, the user who shows user Userid by name at client terminal start-up a new MSNS mobile Widget use, Apply Names is Appid;
5) after social networks infrastructure service module is received request command, send query requests Operate DB, obtain this user and registered the log-on message that this mobile Widget is used to database;
6) database is to social networks infrastructure service module return results result, and promptly whether this user registered the log-on message that this mobile Widget is used;
7) after social networks infrastructure service module is received return results, result is carried out the authentication authentication, if authentication success then continues subsequent step 8); If authentification failure is then pointed out error message;
8) through social networks infrastructure service module authentication and show the authentication pass through after, send authentication success message OK to the MSNS management entity, it is that the application that the user had registered is also successfully logined in service end that this mobile Widget of notice MSNS management entity is used, send request RecordEvent to database simultaneously, this log-in events of record is to be used for the real-time dynamic broadcast of good friend in database;
9) the MSNS management entity sends the user to the Widget administration module and logins this mobile Widget application success information success;
10 these users finish the login that this mobile Widget is used.
11) after user's login was finished, the Widget administration module sent request startWidget to Widget running environment, and this mobile Widget of asking to bring into operation is used;
12) after Widget running environment receives request, carry out the local authentication authentication in the running environment, to judge whether to move this application; If checking is passed through, then continue step 13); If authentication failed then sends the prompting failure information;
13) after Widget running environment is proved to be successful, send the message (okToRun) that this application can move, show the operation that in Widget running environment, to carry out this application to the Widget administration module;
14) after the Widget administration module receives that this application can move message (okToRun), select (selectWidget) corresponding mobile Widget to use program start.
Fig. 5 is that user of the present invention subscribes to good friend's incident and event information broadcasting flow chart, described that the user subscribes to good friend's event broadcast information flow and when the user good friend produced certain broadcast event behavior, system sent the flow process of this customer incident information from the trend broadcast object.Wherein mobile Widget portal entity, Widget administration module, MSNS management entity, HTTP service request Delivery Function, dynamic broadcast information are monitored the concrete module in entity, Web service end entity and the database difference corresponding diagram 1.
Describe below in conjunction with Fig. 5 that the user subscribes to good friend's dynamic broadcast information flow and when the user good friend produced certain broadcast event behavior, system sent this customer incident information flow from the trend broadcast object in detail:
The first step: the user subscribes to good friend's event broadcast information flow
1) acquiescence just begins to subscribe to good friend's event broadcast information after starting the mobile Widget portal entity, at this moment sends log-on message start by the mobile Widget portal entity to the Widget administration module, and notice Widget administration module is subscribed to good friend's event broadcast information;
2) the Widget administration module sends message ParseConfigFile to the MSNS management entity, and notice MSNS management entity reads the user profile in the mobile Widget engine local profile;
3) the MSNS management entity reads the user profile (Userid) in the mobile Widget engine local profile;
4) after the MSNS management entity obtains Userid, send " Http request: SubscribeBroadcast (userid) " order to HTTP service request Delivery Function, the booking reader is all good friends' of userid a event information;
5) HTTP service request Delivery Function is monitored the entity dispense request to dynamic broadcast information;
6) dynamic broadcast information monitoring entity is set up long connection of HTTP or Socket connection with the real time information propelling movement module of Web service end after receiving forwarding, with the state of monitoring service end;
7) real time information pushes module and sends acquisition request buddy list (Friend List) according to userid to database;
8) according to buddy list information (Friend List), real time information pushes module and sends data monitoring notice (Detect DB) to database, and the good friend's multidate information in the monitor database when the good friend produces new broadcast event, carries out step 9) in real time;
Second step: when the user good friend produced certain broadcast event behavior, system sent the flow process of this customer incident information from the trend broadcast object
9) if 8) in the good friend produce new broadcast event, real time information pushes module and obtain up-to-date broadcast message from database;
10) real time information pushes module will need the friend information in events broadcast information and the buddy list to push (Push broadcast message) to dynamic broadcast information monitoring entity;
12) dynamic broadcast information is monitored entity events broadcast information is sent (Broadcastmessage) to HTTP service request Delivery Function;
13) HTTP service request Delivery Function sends (Broadcastmessage) with events broadcast information and gives the Widget administration module;
14) the Widget administration module sends (Broadcastmessage) with events broadcast information and gives the mobile Widget portal entity, and the good friend who notifies the user to subscribe to has produced new event information, and new good friend's event information is presented in the interface.
Fig. 6 is that user of the present invention subscribes to good friend's state and state information broadcasting flow chart, describe the user and subscribed to good friend's state broadcast message flow process, and when state of user information changes (online/offline), system sends the flow process of this user state information from the trend broadcast object.Wherein mobile Widget portal entity, Widget management function, MSNS management entity, HTTP service request Delivery Function, dynamic broadcast information are monitored the concrete module in entity, Web service end entity and the database difference corresponding diagram 1.
Describe the user in detail below in conjunction with Fig. 6 and subscribe to good friend's state information flow process:
The first step: the user subscribes to good friend's state information flow process
1) acquiescence just begins to subscribe to good friend's state broadcast message after starting the mobile Widget portal entity, at this moment sends log-on message start by the mobile Widget portal entity to the Widget administration module, and notice Widget administration module is subscribed to good friend's state broadcast message;
2) the Widget administration module sends message ParseConfigFile to the MSNS management entity, and notice MSNS management entity reads the user profile in the mobile Widget engine local profile;
3) the MSNS management entity reads the user profile (Userid) in the mobile Widget engine local profile;
4) after the MSNS management entity obtains Userid, send " Http request: SubscribeBroadcast (userid) " order to HTTP service request Delivery Function, the booking reader is all good friends' of userid a state information;
5) HTTP service request Delivery Function is monitored the entity dispense request to dynamic broadcast information;
6) dynamic broadcast information monitoring entity is set up long connection of HTTP or Socket connection with the real time information propelling movement module of Web service end after receiving forwarding, with the state of monitoring service end;
7) real time information pushes module and sends acquisition request buddy list (Friend List) according to userid to database;
8) according to buddy list information (Friend List), real time information pushes module and sends data monitoring notice (Detect DB) to database, good friend's state information in the real-time monitor database, when good friend's state variation (Online becomes Offline or Offline becomes Online), carry out step 9);
Second step: when user's update mode (Online/Offline), system sends the flow process of this customer incident information from the trend broadcast object
9) if 8) in during good friend's state variation (Online becomes Offline or Offline becomes Online), real time information pushes module and obtain up-to-date good friend's state information from database;
10) real time information pushes good friend's state information and the friend information in the buddy list that module will broadcast and pushes (Push broadcast message) to dynamic broadcast information monitoring entity;
12) dynamic broadcast information is monitored entity and is given HTTP service request Delivery Function with the state information transmission (Broadcastmessage) of broadcasting;
13) HTTP service request Delivery Function sends (Broadcastmessage) to the Widget administration module with the state information of broadcasting;
14) the Widget administration module sends (Broadcastmessage) with the state information of broadcasting and gives the mobile Widget portal entity, good friend's state variation of notifying the user to subscribe to, and new good friend's state information is presented in the interface.
Above-mentioned explanation has only been described when good friend's multidate information changes, to the process of the client push multidate information of subscribing to this good friend's multidate information.Certainly, the present invention can also realize that the multidate information with client is pushed to good friend's process, and specific implementation and above-mentioned flow process are similar, such as, broadcast for event information: 1) client is issued user's latest tendency information automatically; 2) service end pushes this user's latest tendency information from trend user good friend; Broadcast for user state information: 1) automatic issue (Online) state of reaching the standard grade behind the client terminal start-up Widget engine, close behind the engine (Offline) state that rolls off the production line of issue automatically; 2) service end pushes this user's last state (Online/Offline) information from trend user good friend.
The present invention proposes a kind of mobile Widget engine framework of the SNS of having function, this framework can be realized the SNS function in the terminal platform side, so that mobile Widget engine becomes the mobile Widget engine with SNS functional characteristic.And, can reach the purpose of convenient exploitation by this expansion proposed by the invention based on mobile Widget engine.Application developer only needn't be paid close attention to the realization of SNS correlation function with being absorbed in the concrete application of exploitation, by in mobile Widget engine, carrying out the SNS function expansion, making not only that any mobile Widget is used can SNSization, also reached and improved the purpose that realizes and dispose efficient, social simultaneously professional related data need be not mutual by concrete application, undertaken getting final product alternately by this engine, and finally enlarged the coverage and the scope of application that MSNS uses based on such framework.

Claims (10)

1. realization has the method for the mobile Widget engine of SNS function, may further comprise the steps:
After the mobile Widget application of selecting to need to add in the mobile Widget portal entity, the request that will add the mobile Widget application sends to local mobile Widget management control;
Local mobile Widget management control obtains and will add the user profile that mobile Widget is used, and will add user profile and the request that mobile Widget uses and send to service end;
Service end is upgraded database, and the mobile Widget that record will add in database is used and will be added the user profile that mobile Widget is used, and finishes mobile Widget application and user's registration process.
2. described realization has the method for the mobile Widget engine of SNS function according to claim 1, also comprises automatic login process, is specially:
When starting the mobile Widget application that has loaded, send logging request from the local mobile Widget management of trend control by the mobile Widget application;
Local mobile Widget management control obtains and starts the user profile that mobile Widget is used, and the user profile and the logging request that will start the mobile Widget application send to service end;
Service end gets access to the log-on message that mobile Widget is used according to user profile, thinks that mobile Widget is used to have finished automatic login process, is recorded as in database and logins.
3. described realization has the method for the mobile Widget engine of SNS function according to claim 2, also comprises the process of monitoring, is specially:
The mobile Widget portal entity sends the request of subscribing to good friend's multidate information to local mobile Widget management control;
Local mobile Widget management control obtains the user profile that will subscribe to good friend's multidate information, and user profile and the request that will subscribe to good friend's multidate information send to service end;
Service end is obtained buddy list according to user profile, and the good friend produces newly dynamically the time in monitoring tabulation, multidate information and friend information is pushed to local mobile Widget management control, and is presented on the mobile Widget portal entity.
4. described realization has the method for the mobile Widget engine of SNS function according to claim 3, wherein, will subscribe to the user profile of good friend's multidate information and the operation that request sends to service end, may further comprise the steps:
Local mobile Widget management control is grown connection or Socket monitoring technique and service end by http protocol and is connected, the user profile and the request of subscribing to good friend's multidate information are sent to service end, good friend's multidate information comprises event information and state information, and state information is online or off-line.
5. realization has the system of the mobile Widget engine of SNS function, wherein:
The mobile Widget portal entity provides and adds the interface that mobile Widget is used;
Mobile Widget is used, and the request that will add the mobile Widget application sends to local mobile Widget management control;
Local mobile Widget management control comprises:
Widget administration module, reception will add the request that mobile Widget is used;
The MSNS management entity obtains and will add the user profile that mobile Widget is used, and the interface by definition will add user profile and the request that mobile Widget uses and send to service end;
Service end comprises:
Social networks infrastructure service module, notification database is upgraded;
Database, record will add the user profile that mobile Widget is used and will be added the mobile Widget application, finish mobile Widget application and user's registration process.
6. described realization has the system of the mobile Widget engine of SNS function according to claim 5, wherein:
The MSNS management entity obtains and starts the user profile that mobile Widget is used when receiving logging request, and the user profile and the logging request that will start the mobile Widget application send to social networks infrastructure service module;
Social networks infrastructure service module gets access to the log-on message that mobile Widget is used according to user profile from database, think that mobile Widget is used to have finished automatic login process, and notification database is recorded as and logins.
7. described realization has the system of the mobile Widget engine of SNS function according to claim 6, also comprise the HTTP service request Delivery Function, the dynamic broadcast information monitoring entity that are arranged on local mobile Widget management control, and the real time information propelling movement module that is arranged on service end, wherein:
HTTP service request Delivery Function receives the user profile and the request of subscribing to good friend's multidate information from the MSNS management entity, and is transmitted to dynamic broadcast information monitoring entity, and multidate information and friend information are sent to the Widget administration module;
Dynamic broadcast information is monitored entity, pushes module with real time information and connects, and multidate information and friend information are sent to HTTP service request Delivery Function;
Real time information pushes module, obtain buddy list according to user profile, send the data monitoring notice to database, the good friend produces new dynamically the time in monitoring tabulation, obtain multidate information from database, multidate information and friend information are pushed to dynamic broadcast information monitoring entity.
8. described realization has the system of the mobile Widget engine of SNS function according to claim 7, wherein, dynamic broadcast information monitoring entity is grown connection or Socket monitoring technique and real time information propelling movement module by http protocol and is connected, good friend's multidate information comprises event information and state information, and described state information is online or off-line.
9. realization has the service end of the mobile Widget engine of SNS function, comprising:
Social networks infrastructure service module receives will add user profile that mobile Widget uses and register requirement the time from local mobile Widget management control, and notification database is upgraded;
Database, record will add the user profile that mobile Widget is used and will be added the mobile Widget application, finish mobile Widget application and user's registration process.
10. described realization has the service end of the mobile Widget engine of SNS function according to claim 9, also comprises:
Real time information pushes module, receive the user profile and the request of subscribing to good friend's multidate information from local mobile Widget management control, obtain buddy list according to user profile, send the data monitoring notice to database, the good friend produces new dynamically the time in monitoring tabulation, obtain multidate information from database, multidate information and friend information are pushed to local mobile Widget management control.
CN 201010134379 2010-03-29 2010-03-29 Method and system for realizing mobile widget engine with SNS function Expired - Fee Related CN101827123B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010134379 CN101827123B (en) 2010-03-29 2010-03-29 Method and system for realizing mobile widget engine with SNS function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010134379 CN101827123B (en) 2010-03-29 2010-03-29 Method and system for realizing mobile widget engine with SNS function

Publications (2)

Publication Number Publication Date
CN101827123A true CN101827123A (en) 2010-09-08
CN101827123B CN101827123B (en) 2013-04-03

Family

ID=42690822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010134379 Expired - Fee Related CN101827123B (en) 2010-03-29 2010-03-29 Method and system for realizing mobile widget engine with SNS function

Country Status (1)

Country Link
CN (1) CN101827123B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101986657A (en) * 2010-10-28 2011-03-16 浙江大学 Directional specific service pushing method based on mobile widget
CN102006606A (en) * 2010-09-27 2011-04-06 中兴通讯股份有限公司 Mobile terminal resource management method, system and mobile terminals
CN102231755A (en) * 2011-06-20 2011-11-02 中兴通讯股份有限公司 Method and device for unified processing of mobile social network software (SNS) application
CN102520932A (en) * 2011-11-25 2012-06-27 福州博远无线网络科技有限公司 System used for managing service module on movement equipment
CN102710593A (en) * 2012-03-19 2012-10-03 北京邮电大学 Method, device and system for publishing message in graph mashup
CN102957727A (en) * 2011-08-26 2013-03-06 腾讯科技(深圳)有限公司 Client side, server and friend feed prompting system and friend feed prompting method in SNS (social network service) network
CN103037000A (en) * 2012-12-21 2013-04-10 北京邮电大学 Publish-subscribe system and notification message processing method thereof
CN103428169A (en) * 2012-05-17 2013-12-04 腾讯科技(深圳)有限公司 Method and system for recommending users in SNS community
CN103595739A (en) * 2012-08-14 2014-02-19 北京华胜天成科技股份有限公司 A service integration data processing method and system based on a widget engine network
CN103780433A (en) * 2014-02-18 2014-05-07 成都致云科技有限公司 Self-healing type virtual resource configuration management data architecture
CN103875200A (en) * 2011-10-17 2014-06-18 高通股份有限公司 System and apparatus for power efficient delivery of social network updates to a receiver device in a broadcast network
WO2016045390A1 (en) * 2014-09-24 2016-03-31 中兴通讯股份有限公司 Method and apparatus for implementing community information reminding
CN106060283A (en) * 2016-08-10 2016-10-26 杭州九爱科技有限公司 Information display method and device, and mobile terminal
CN109614191A (en) * 2018-12-07 2019-04-12 上海商米科技有限公司 The processing method and processing device of application
CN112383663A (en) * 2019-05-08 2021-02-19 华为技术有限公司 Display method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090043657A1 (en) * 2007-08-06 2009-02-12 Palm, Inc. System and methods for selecting advertisements based on caller identifier information
CN101562802A (en) * 2009-05-07 2009-10-21 浙江大学 Realization method for mobile Widget release platform
CN101626398A (en) * 2009-08-11 2010-01-13 腾讯数码(天津)有限公司 Method for obtaining friend dynamic and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090043657A1 (en) * 2007-08-06 2009-02-12 Palm, Inc. System and methods for selecting advertisements based on caller identifier information
CN101562802A (en) * 2009-05-07 2009-10-21 浙江大学 Realization method for mobile Widget release platform
CN101626398A (en) * 2009-08-11 2010-01-13 腾讯数码(天津)有限公司 Method for obtaining friend dynamic and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
应闻达等: "基于Widget的家庭网络应用系统及终端业务探讨", 《电信科学》 *

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006606A (en) * 2010-09-27 2011-04-06 中兴通讯股份有限公司 Mobile terminal resource management method, system and mobile terminals
CN101986657A (en) * 2010-10-28 2011-03-16 浙江大学 Directional specific service pushing method based on mobile widget
CN102231755A (en) * 2011-06-20 2011-11-02 中兴通讯股份有限公司 Method and device for unified processing of mobile social network software (SNS) application
WO2012174795A1 (en) * 2011-06-20 2012-12-27 中兴通讯股份有限公司 Method and device for unified processing of mobile sns applications
CN102957727A (en) * 2011-08-26 2013-03-06 腾讯科技(深圳)有限公司 Client side, server and friend feed prompting system and friend feed prompting method in SNS (social network service) network
WO2013029442A1 (en) * 2011-08-26 2013-03-07 腾讯科技(深圳)有限公司 Buddy status prompting method and system in sns network, client and server
CN103875200A (en) * 2011-10-17 2014-06-18 高通股份有限公司 System and apparatus for power efficient delivery of social network updates to a receiver device in a broadcast network
CN103875200B (en) * 2011-10-17 2016-11-09 高通股份有限公司 For delivering, to receiver device power-efficient, system and the device that social networks updates in radio network
CN102520932A (en) * 2011-11-25 2012-06-27 福州博远无线网络科技有限公司 System used for managing service module on movement equipment
CN102520932B (en) * 2011-11-25 2015-08-26 福州博远无线网络科技有限公司 To the system that the business module on mobile device manages
CN102710593A (en) * 2012-03-19 2012-10-03 北京邮电大学 Method, device and system for publishing message in graph mashup
CN102710593B (en) * 2012-03-19 2015-05-27 北京邮电大学 Method, device and system for publishing message in graph mashup
CN103428169A (en) * 2012-05-17 2013-12-04 腾讯科技(深圳)有限公司 Method and system for recommending users in SNS community
CN103595739B (en) * 2012-08-14 2016-05-18 北京华胜天成科技股份有限公司 Based on widget Engine-Network integration of services data processing method and system
CN103595739A (en) * 2012-08-14 2014-02-19 北京华胜天成科技股份有限公司 A service integration data processing method and system based on a widget engine network
CN103037000A (en) * 2012-12-21 2013-04-10 北京邮电大学 Publish-subscribe system and notification message processing method thereof
CN103037000B (en) * 2012-12-21 2015-07-08 北京邮电大学 Publish-subscribe system and notification message processing method thereof
CN103780433A (en) * 2014-02-18 2014-05-07 成都致云科技有限公司 Self-healing type virtual resource configuration management data architecture
CN103780433B (en) * 2014-02-18 2017-05-24 成都致云科技有限公司 Self-healing type virtual resource configuration management data architecture
CN105516934A (en) * 2014-09-24 2016-04-20 中兴通讯股份有限公司 Community information promoting method and device
WO2016045390A1 (en) * 2014-09-24 2016-03-31 中兴通讯股份有限公司 Method and apparatus for implementing community information reminding
CN105516934B (en) * 2014-09-24 2020-10-09 南京中兴新软件有限责任公司 Method and device for realizing community information reminding
CN106060283A (en) * 2016-08-10 2016-10-26 杭州九爱科技有限公司 Information display method and device, and mobile terminal
CN109614191A (en) * 2018-12-07 2019-04-12 上海商米科技有限公司 The processing method and processing device of application
CN112383663A (en) * 2019-05-08 2021-02-19 华为技术有限公司 Display method and device

Also Published As

Publication number Publication date
CN101827123B (en) 2013-04-03

Similar Documents

Publication Publication Date Title
CN101827123B (en) Method and system for realizing mobile widget engine with SNS function
CN104102537B (en) A kind of application call method and user terminal
CN103108032B (en) Method and the relevant device of application program are downloaded and managed to many equipment collaborations
CN102859965B (en) Method and the electronic installation of content of multimedia are provided
CN102638797B (en) Access the method for wireless network, terminal, access network node and authentication server
CN102026037A (en) TV interaction method and system based on widget and television
US9092289B2 (en) System and method to create and control a software appliance
US20120079043A1 (en) Method, apparatus and system for accessing an application across a plurality of computers
CN102752369B (en) The supplying method of TV applications service and virtual content service platform
CN102902733A (en) Information push method, device and system based on content subscription
CN103918290A (en) Instant messaging service and method for providing plurality of services extended from instant messaging service
CN103729425A (en) Operation response method, client, browser and operation response system
US11496459B2 (en) Registration process using multiple devices
CN103370921B (en) For method, equipment, gateway and the remotely administered server named the sensor device in local network
CN103167031A (en) Communication between Web applications
CN101610226A (en) A kind of method and system of plug-in download
CN102571940A (en) Remote application installation system, method, intelligent terminal and application server
CN103581111A (en) Communication method and system
CN102291243A (en) Service processing server, system and method
CN103618967A (en) Method and device for interaction of mobile terminal and television end
CN103716230A (en) Message sending method, device and server
CN102833328A (en) Unified application calling method and unified calling client
US9516095B2 (en) Data management system and method for displaying data
CN102185699A (en) Group information interaction method and system for community platform
US20200174825A1 (en) Information processing terminal, resource reservation system, and control method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130403

Termination date: 20150329

EXPY Termination of patent right or utility model