CN104780209A - Portable equipment and server for realizing sharing interface scenario - Google Patents

Portable equipment and server for realizing sharing interface scenario Download PDF

Info

Publication number
CN104780209A
CN104780209A CN201510161950.7A CN201510161950A CN104780209A CN 104780209 A CN104780209 A CN 104780209A CN 201510161950 A CN201510161950 A CN 201510161950A CN 104780209 A CN104780209 A CN 104780209A
Authority
CN
China
Prior art keywords
information
application module
scene
portable set
identity information
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.)
Pending
Application number
CN201510161950.7A
Other languages
Chinese (zh)
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.)
Quick-Witted Information Technology Co Ltd Of Beijing Singular Point
Original Assignee
Quick-Witted Information Technology Co Ltd Of Beijing Singular Point
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 Quick-Witted Information Technology Co Ltd Of Beijing Singular Point filed Critical Quick-Witted Information Technology Co Ltd Of Beijing Singular Point
Priority to CN201510161950.7A priority Critical patent/CN104780209A/en
Publication of CN104780209A publication Critical patent/CN104780209A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides portable equipment for sending a sharing interface scenario. The portable equipment comprises a processor, a touch-sensitive display screen and a first application module, wherein the touch-sensitive display screen is coupled with the processor and used for receiving an operation instruction; the first application module comprises an operation receiving sub-module and an interface scenario sharing interface; the processor calls the operation receiving sub-module to receive an input sharing operation instruction through the touch-sensitive display screen, responds to the sharing operation instruction to call the interface scenario sharing interface to acquire scenario identification information of a current interface of the first application module, sends the scenario identification information to a first sharing server, receives first scenario recovery information which corresponds to the scenario identification information and is returned by the first sharing server, and sends the first scenario recovery information to portable equipment of a target sharing object. With the adoption of the portable equipment, the interface scenario in the application module can be shared, and the application module can be distributed.

Description

A kind of for realizing portable set, the server of sharing interface scenario
Technical field
The present invention relates to mobile communication technology field, particularly relating to a kind of for sending the portable set sharing interface scenario, a kind of portable set, a kind of server for realizing sharing interface scenario for realizing sharing interface scenario.
Background technology
In general, in the technical field of mobile communication, for the Information Sharing in mobile device be all carry out its file itself based on user's input or the word generated, picture, audio, video data file share transmission, or by its network address, such as URL, URI information, is sent to and shares in target mobile device.This share in short message sending, in time communication software very common.
But in the scene that a lot of mobile terminal user uses, user needs to be not only the URL information that send/receive word, picture or audio, video data file, but needing more about the information of current application program, the word can sharing sending/receiving by described, picture, audio, video data file carrying out on the mobile apparatus are better opened, show and are used.Such as, when sending latest news in a news APP to the mobile phone of another cellie, the URL of this news just shares away by the sharing function in general news APP, the developer of inconvenience news APP carries out the popularization of this news APP, allows more user to install the news APP of its exploitation; The more information about news APP except news content URL can not be shared.
Summary of the invention
In view of the above problems, The embodiment provides a kind of overcome the problems referred to above or solve the problem at least in part a kind of for sending the portable set sharing interface scenario, a kind of portable set, a kind of server for realizing sharing interface scenario for realizing sharing interface scenario.
According to an aspect of the embodiment of the present invention, providing a kind of for sending the portable set sharing interface scenario, comprising: processor; Be couple to described processor and touch-sensitive display panel for receiving operational order; First application module, it comprises: operation receives submodule and shares interface with interface scenario; What wherein said processor call operation reception submodule was inputted by touch-sensitive display panel reception shares operational order; And share operational order in response to described, call interface scenario and share the scene identity information that interface obtains the first application module current interface, described scene identity information is sent to the first sharing service device, and receive first scene corresponding with described scene identity information that the first sharing service device returns and recover information, information of the first scene being recovered is sent to a target and shares object portable set.
According to another aspect of the embodiment of the present invention, providing a kind of portable set for realizing sharing interface scenario, comprising: wireless data receipt modules, it recovers information for receiving the first scene; Processor; Http protocol processing module, it is recovered information by the first scene that described processor calls for receiving described in foundation, send out a HTTP request to the first sharing service device, the device identifier information obtaining this portable set uploads to the first sharing service device and described first scene, and to recover information corresponding, and receive the installation kit file being used for the first application module; First application module, it is called by described processor and according to installation kit file configuration first application module of described first application module for comprising: receives information/transmission submodule, interface scenario recover submodule; The device identifier information of this portable set, when the first application module starts, is sent to the first sharing service device by described receives information/transmission submodule by wherein said processor; And got the scene identity information of the first corresponding application module of described device identifier information from the first sharing service device by described receives information/transmission submodule; And described processor calls described interface scenario recovers submodule according to described scene identity information, recovers the interface scenario corresponding to scene identity information of loading first application module.
According to another aspect of the embodiment of the present invention, providing a kind of server for realizing sharing interface scenario, comprising: scene identity information receiving unit, it is configured to the first scene identity information that reception first portable set sends; Scene recovers information generating unit, and it is configured to generate first scene uniquely corresponding with the first scene identity information according to the first scene identity information and recovers information, and the first scene identity information and the first scene are recovered information binds; Scene recovers information transmitting unit, and it is configured to that described first scene is recovered information and is sent to the first portable set; First scene recovers information receiving unit, it is configured to the HTTP request of the information of recovering according to the first scene that reception second portable set sends, provide the address information of the installation kit file of the first application module, and get the device identifier information of the second portable set, this three of device identifier information of the first scene identity information, the first scene recovery information, the second portable set is bound; The scene recovery request receiving element of the first application module, it is configured to the scene recovery request that in reception second portable set, the first application module sends, wherein with the device identifier information of the second portable set; First scene identity information transmitting unit of the first application module, it is configured to the device identifier information of the second portable set received described in foundation, inquire about described first scene identity information, the binding relationship of this three of device identifier information that the first scene recovers information, the second portable set, and get the first corresponding scene identity information, and the first scene identity information to be sent in the second portable set in the first application module.
According to another aspect of the embodiment of the present invention, providing a kind of portable set for realizing sharing interface scenario, comprising: processor; First application module, it comprises: receives information/transmission submodule, interface scenario recover submodule; Wherein said processor receives the first application module in other portable set by described receives information/transmission submodule and sends to the first scene of the first application module in this portable set to recover information; And receive scene identity information corresponding to the first scene recovery information according to the first scene recovery information from the first sharing service device; And call interface scenario recovery submodule loads the first application module interface scenario corresponding to scene identity information according to described scene identity Information recovering.
Like this, due in embodiments of the present invention, by the interface sharing interface scenario arranged in application program, interface, current for application program place is shared away, and receive the user shared and this application program can be installed, and automatically redirect or load corresponding described in the interface of application program of sharing.Operation is shared like this for cellphone subscriber, than the URL information of sharing web page common at present, more comprehensive, also facilitate using and distributing of application program in mobile terminal widely.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of specification, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
Set forth the details of one or more embodiment by reference to the accompanying drawings below.Based on detailed description hereinafter, further feature and various advantage will clearly, and appended accompanying drawing comprises:
The structural representation of the portable set of interface scenario is shared in Fig. 1 transmission showed according to a first embodiment of the present invention;
The structural representation of the portable set of interface scenario is shared in Fig. 2 realization showed according to a second embodiment of the present invention;
The structural representation of the server of interface scenario is shared in Fig. 3 realization showed according to a third embodiment of the present invention;
The structural representation of the portable set of interface scenario is shared in Fig. 4 realization showed according to a fourth embodiment of the present invention;
The structural representation of the system of interface scenario is shared in Fig. 5 realization showed according to a fifth embodiment of the present invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present invention is described in more detail.Although show exemplary embodiment of the present invention in accompanying drawing, but should be appreciated that and can realize the present invention in a variety of manners, and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the present invention can be understood, and complete for scope of the present invention can be conveyed to those skilled in the art.
Some vocabulary is employed to censure specific components in the middle of specification and claim.Those skilled in the art should understand, and hardware manufacturer may call same assembly with different noun.This specification and claims are not used as with the difference of title the mode distinguishing assembly, but are used as the criterion of differentiation with assembly difference functionally." comprising " as mentioned in the middle of specification and claim is in the whole text an open language, therefore should be construed to " comprise but be not limited to "." roughly " refer to that in receivable error range, those skilled in the art can solve the technical problem within the scope of certain error, reach described technique effect substantially.In addition, " couple " or " electric connection " one word comprise directly any and indirectly electric property coupling means at this.Therefore, if describe a first device in literary composition to be coupled to one second device, then represent described first device and directly can be electrically coupled to described second device, or be indirectly electrically coupled to described second device by other device or the means that couple.Specification subsequent descriptions is for implementing better embodiment of the present invention, and right described description is to illustrate for the purpose of rule of the present invention, and is not used to limit scope of the present invention.Protection scope of the present invention is when being as the criterion depending on the claims person of defining.
Also it should be noted that, term " comprises ", " comprising " or its other variant any are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, commodity or system and not only comprise those key elements, but also comprise other key element clearly do not listed, or also comprise by the intrinsic key element of this process, method, commodity or system.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, commodity or the system comprising described key element and also there is other identical element.
first embodiment
With reference to Fig. 1, the structural representation of the portable set of interface scenario is shared in a kind of transmission shown according to a first embodiment of the present invention.Portable set 101 in FIG comprises: processor 102; Be couple to described processor 102 and touch-sensitive display panel 103 for receiving operational order; First application module 104, it comprises: operation receives submodule 1041 and shares interface 1042 with interface scenario; Wherein processor 102 call operation receive submodule 1041 by touch-sensitive display panel 103 receive user input share operational order, this instruction is that user passes through to trigger the appointed area on touch-sensitive display panel, by processor according to operation receive alignment processing logic in submodule receive and get this and share operational order; processor 102 also shares operational order in response to described, call interface scenario and share the scene identity information that interface 1042 obtains the first application module 104 current interface, described scene identity information is sent to the first sharing service device (not shown, for carrying out with portable set 101 server apparatus that wireless data is connected, sharing service device 300 in embodiment shown in Figure 3, here send mode scene identity information being sent to the first sharing service device is sent to sharing service device by a HTTP request of http protocol, or the link to be set up by other communication protocols such as TCP/UDP and be sent to sharing service device), and receive first scene corresponding with described scene identity information that the first sharing service device returns and recover information, and information of the first scene being recovered is sent to a target, and to share object portable set (not shown, for carrying out the portable set of another opposite end that wireless data is connected with portable set 101, portable set 200 in embodiment shown in Figure 2).
Preferably, described in the present embodiment, the first application module 104 is stored in the memory (not shown) coupled mutually with processor 102.
Preferably, the scene identity information at the first interface, application module current place comprises: in the first application module current Activity and/or wherein in the name information of the name information of Fragment or current UIViewController, the first application module current Activity and/or wherein in the identification code of the identification code of Fragment or current UIViewController, the first application module the identification code of current loading content, described loading content progress identification code at least one.The name information of Activity here and/or wherein Fragment be application developer according to carry out sharing function of the present invention needs and can carry out the interface processing shared Activity and/or wherein Fragment carry out the name of specific names, or use the identification code of its correspondence.Be preferably: if Android operation system, the scene identity information at the first interface, application module current place comprises: the title of each activity of configuration definition in the activity configuration file manifest.xml file of the first application module or the identification code of its correspondence, or directly uses the name information of Fragment in described Activity or the identification code of its correspondence; If the mobile terminal of iOS operating system, the scene identity information at the first interface, application module current place comprises name information or its identification code of each UIViewController defined in the first application module, also can be name information or its identification code of the subclass of UIViewController class further, these titles or identification code can as required by program staff in the first application module for each UIViewController defines a title or identification code, as long as each interface in the first application module can be distinguished.Interface scenario share interface 1042 obtain the scene identity information of the first application module 104 current interface time, the webpage URL information that can also comprise described Activity further and/or wherein load in the name information of Fragment or current UIViewController, the URL of the URL of such as audio frequency webpage, the URL of news web page, video web-pages, do shopping in the URL of electric business's product any one; And the progress identification code of described loading content comprises: time frame data, news that audio frequency is play read anchor point information in webpage, the video playback frame data of video playback, the anchor point information of doing shopping in electric business's product web page.Can using Activity in the present embodiment and/or wherein the name information of the name information of Fragment or current UIViewController, identification code carry out uploading to sharing service device as the scene identity information at interface, current place together with progress msg with wherein corresponding loading content.In sharing service device side, the described scene identity information uploaded be generated a corresponding identification code by meeting, such as numeric string or character string and the above-mentioned all scene identity information uploaded carry out unique preservation one to one, preferably described identification code is general unique identifier (Universally Unique Identifier is called for short UUID).A URL address can be generated in sharing service device side, it has pointed to a script file, and (coding of predetermined algorithm is have passed through with the described identification code that correspond to scene identity information in this URL address, include but not limited to it is the algorithm of described UUID, as long as the algorithm with the corresponding unique parameters of described scene identity information can be generated).Described script file is configured to operationally whether be provided with described first application module for detecting this locality, if do not installed, jumps to the URL address of the installation kit file having pointed to described first application module; If there is installation, the first application module being configured to installed by this carries out scene Recovery processing.
First scene of such generation is recovered the interface scenario that information is sent to the first application module and is shared interface, so that it sends it to other portable set, this transmission can be realized by http protocol or TCP/UDP agreement.Above-mentioned identification information can be this first application module developer oneself for the such window interface of each similar Activity or Fragment or Uiviewcontroller and the mark defining and arrange, as long as the identification information of the window in the interface current to it and wherein corresponding content, and can directly redirect and recover interfaces windows after being identified by the first application module, just can upload this scene identity information.
It should be noted that, in the present embodiment, portable set 101 is Smartphone device or Intelligent flat equipment or digit aid equipment or kneetop computer, it can comprise memory interface, one or more data processor, image processor and/or CPU, and peripheral interface.Wherein memory interface, one or more processor and/or peripheral interface both can be discrete components, also can be integrated in one or more integrated circuit.In portable terminal, various element can be coupled by one or more communication bus or holding wire.Transducer, equipment and subsystem can be coupled to peripheral interface, to help to realize several functions.Such as, motion sensor, optical sensor and range sensor can be coupled to peripheral interface, to facilitate the functions such as orientation, illumination and range finding.Other transducers can be connected with peripheral interface equally, such as navigation system (such as GPS), temperature sensor, biometric sensor or other sensor devices, can help thus to implement relevant function.Camera sub-system and optical pickocff may be used for the realization of the camera function of convenient such as recording photograph and video clipping, and wherein camera sub-system and optical pickocff can be such as charge coupled device (CCD) or complementary metal oxide semiconductors (CMOS) (CMOS) optical pickocff.Can help realize communication function by one or more radio communication subsystem, wherein radio communication subsystem can comprise radio-frequency transmitter and transmitter and/or light (such as infrared) Receiver And Transmitter.The particular design of radio communication subsystem and execution mode can depend on one or more communication networks that portable set is supported.Such as, portable set 101 can comprise the communication subsystem being designed to support GSM network, GPRS network, EDGE network, Wi-Fi or WiMax network and Bluebooth network.Audio subsystem can be coupled with loud speaker and microphone, such as, to help the function of implementing to enable voice, speech recognition, speech reproduction, digital record and telephony feature.I/O subsystem can comprise touch screen controller and/or other input control devices one or more.Touch screen controller can be coupled to touch-sensitive display panel 103.For example, what this touch-sensitive display panel 103 and touch screen controller can use any one in multiple touch-sensing technology to detect to carry out with it contact and movement or time-out, and wherein detection technology is including, but not limited to capacitive character, resistive, infrared and surface acoustic wave technique.Other input control devices one or more can be coupled to other input/control devicess, the indication equipment of such as one or more button, rocker switch, thumb wheel, infrared port, USB port and/or stylus and so on.One or more button can comprise the up/down button for control loudspeaker and/or microphone volume.Described memory interface can be coupled with first memory.This first memory can comprise high-speed random access memory and/or nonvolatile memory, such as one or more disk storage device, one or more optical storage apparatus, and/or flash memories (such as NAND, NOR).In the present embodiment, the first application module 104 can be stored in described grace ground first memory.First memory can storage operation system, the such as operating system of Android, iOS or Windows Phone and so on.This operating system can comprise the instruction of the task of depending on hardware for the treatment of basic system services and execution.First memory can also store various application module.When mobile device runs, meeting load operation system from first memory, and performed by processor.Due to the embodiment of the present invention just and processor 102, touch-sensitive display panel 103, first application module have direct contact, so only identify when disclosing and illustrate these parts, other unshowned parts or assembly, also in the portable set of the present embodiment, be only used to prevent from repeating, and do not carry out explanation one by one and illustrate, this point those skilled in the art needs clear.
Preferably, the first application module 104 is further configured to: share interface 1042 by described interface scenario and the identification code of described first application module 104 and/or title are sent to the first sharing service device.Identification code and/or the title of the first application module 104 are here such as: the title " micro-letter 5.0 version " of the first application module 104 or " 360 cloud dish 6.0 version ", identification code is the identification string of the data format of " unique identification number+software developer ".
Preferably, it is the URL address that the first sharing service device generates that described first scene recovers information, it has pointed to a script file, this script file is configured to operationally whether be provided with described first application module for detecting this locality, if do not installed, jump to the URL address of the installation kit file having pointed to described first application module; If there is installation, the first application module being configured to installed by this carries out scene Recovery processing.
Preferably, described first scene recovers information and described scene identity information is relation one to one.This closing one to one ties up to server side generation, and preserves maintenance in the server, to use any one recovery in information or scene identity information of the first scene can inquire another accordingly.
Preferably, in described first scene recovery information with the unique parameters of the correspondence calculated according to predictive encoding algorithm according to described scene identity information.This predetermined encryption algorithm is url cryptographic algorithm, UTF8 coding, Base64 coding.The example that this first scene recovers information is a URL address:
http:// www.shareserver.com/app1/userlink? dlid=5ec1ad98-1179-45da-bc3a-b93e29fdc5df, this URL has pointed to a script file exactly, this script file is configured to operationally whether be provided with described first application module for detecting this locality, if do not installed, jump to the URL address of the installation kit file having pointed to described first application module; If there is installation, the first application module being configured to installed by this carries out scene Recovery processing.And bring userlink parameter in described URL, the ID of this Parametric Representation deep linking, be exactly a newly-generated UUID in fact, establish the corresponding relation of key-value in service end this general unique identifier (UUID) and the scene identity information uploaded.Such as described scene identity information UUID is the title or the identification code that correspond to an Activity in the first application module.In sharing service device side, the scene identity information using this UUID can inquire original users to upload.Such as, in the first application module in the name information of an Activity, the first application module in the identification code of an Activity, the first application module the identification code of current loading content, described loading content progress identification code at least one.Namely this one or more information can be used 5ec1ad98-1179-45da-bc3a-b93e29fdc5df so a mark mark rear storage uniformly, so that after using 5ec1ad98-1179-45da-bc3a-b93e29fdc5df to inquire about again, send to the first application module in another portable terminal.Here the Digital ID that 5ec1ad98-1179-45da-bc3a-b93e29fdc5df is such, it is only an example, its be also can directly use at least one in the progress identification code of the identification code of current loading content in the identification code of an Activity in the name information of an Activity in such as the first application module, the first application module, the first application module, described loading content as (certainly, these parameters are also use Base64 to carry out coding) of above-mentioned parameter.
Preferably, the first application module 104 by the intended target contact person in note, multimedia message, Email, Bluetooth communication protocol, http protocol, Wifi agreement, near field communication protocols, the application of appointment instant messaging, specify at least one mode of the target group in social application that described information of first scene being recovered is sent to described target and shares object portable set.Here the instant communication software that appointment specifies the intended target contact person in instant messaging application to refer to by such as QQ, MSN etc. are such is shared to the good friend communicated in time.Social activity application of specifying the target group in social application to refer to by such as micro-letter, credulity, Whatsapp etc. are so described here is shared to the good friend in group or circle of friends.
Preferably, described interface scenario share interface and be further configured to the identification information of current login user or the device identifier information of current portable equipment in acquisition first application module, and upload the first sharing service device together with the scene identity information of the first application module current interface; First scene corresponding with described scene identity information that then the first sharing service device returns recover information be also with the identification information of described current login user or the device identifier information of current portable equipment corresponding.The identification information of current login user described here, be exactly the user ID information of the first application module, the user data system having this first application module is safeguarded in the first sharing service device side, so that the user of the first application module uses its user ID and password to carry out register, and can carry out corresponding being kept at the first sharing service device side with the scene identity information of current interface.The device identifier information of current portable equipment preferably also can use together with the identification information of current login user, or uses separately.Preferably, the device identifier information of described current portable equipment comprises: the UserAgent information of the password figure that the IP address of current portable equipment and/or server side generate, the MAC Address of current portable equipment, current portable equipment, by the script at current portable equipment side run generate be kept in local unique identification information at least one.The password figure that described server generates be the first sharing service device be the first application module and the unique numerical identification that generates separately the first different application modules is distinguished.Also can be the unique identification information being kept at this locality generated after the script of current portable equipment side runs, such as, a unique string in the cache file that a Javascript script is write after running, and be kept at local to identify this first application module.
Preferably, described scene identity information is stored in described portable set side, to use the scene identity information of described preservation directly to recover the first scene in the first application module recover scene corresponding to information.Such as: the scene identity information got by the first application module is kept in the first application module as a scene bookmark, when selecting to open this scene bookmark, what load is current Activity and/or the wherein name information of Fragment or the name information of current UIViewController in the first application module that this bookmark is corresponding, current Activity and/or the wherein identification code of Fragment or the identification code of current UIViewController in first application module, the identification code of current loading content in first application module, at least one in the progress identification code of described loading content, and directly carried out loading and redirect by the first application module.Preferably, the first scene is wherein recovered information and be correspond to the scene identity information that interface scenario shares the first application module that interface obtains, relation one to one, the form that key-value is right, wherein key is that the first scene recovers information, and value is the scene identity information of the first application module.
Preferably, the first application module is instant messaging application module or social application class module, then the target that the first scene recovery information is sent to shares the portable set that object portable set is good friend user during instant messaging application or social activity are applied.
Preferably, the first scene is recovered information and be may further include: the mark picture of the first application module and/or the descriptor of the first application module and/or to point to the URL address of hit testing script of described mark picture and/or other user with regard to the comment information of the first application module and/or the first sharing service device end be that the information of the virtual coin that current login user sends and/or the first application module are by the number of times shared.Specifically: the mark picture of the first application module is the icon mark of this application program; Description is the word of the abbreviated functional description to the first application in detail; Described hit testing script is JavaScript script, and it operates to and will return this clicking operation to server when user clicks described mark picture, is recorded the situation of the clicked download of this first application by server; The information of described ideal money has carried out sharing operation at this login user, and after the scene identity information of namely having carried out the first application module is uploaded, the virtual currency award given, it is a virtual monetary data.
Preferably, described interface scenario is shared interface and is further configured to: the scene identity information of acquisition first application module current interface is configured setting again, described configuration settings information is sent to the first sharing service device together with scene identity information.Like this, carry out sharing upload before, the operation that can once configure, the numeral, the text message that input in the input element such as, in the first application module in current loading content, can be configured before sharing, then upload server together.
Preferably, the URL address that described first sharing service device generates is further configured to: according to the difference of the User Agent information in the HTTP request that described URL address is corresponding, and obtains sensing different editions script file from the first sharing service device side.Such as, when the URL address that the first sharing service device generates is when portable set side is clicked, it is likely the browser kernel that the first application module carries, and such as its user agent just records is QQ browser, its X5 kernel used; Or its chrome lite browser kernel using android operating system to carry, that its user agent just records is Chrome.Can with above-mentioned different user agent information in the HTTP request initiated according to this URL, it can indicate different home environment information, thus returns corresponding different editions script file, can run in described home environment smoothly.The realization of this point is the portable set side be sent to of the different editions script file that the first sharing service device carries out according to the described HTTP request received.
second embodiment
With reference to Fig. 2, show a kind of structural representation realizing sharing the portable set of interface scenario according to a second embodiment of the present invention.In fig. 2, for realizing the portable set 200 sharing interface scenario, comprise: wireless data receipt modules 201, it recovers information (this first scene being in Fig. 1 embodiment, the first application module 104 is sent by least one mode of the target group (circle of friends, group) in the intended target contact person in note, multimedia message, Email, Bluetooth communication protocol, http protocol, Wifi agreement, near field communication protocols, the application of appointment instant messaging, the social application of appointment recovers information) for receiving the first scene; Processor 202; Http protocol processing module 203, it is recovered information by the first scene that processor 202 calls for receiving described in foundation, send out a HTTP request to the first sharing service device, the device identifier information obtaining this portable set 200 uploads to the first sharing service device and described first scene, and to recover information corresponding, and receive the installation kit file being used for the first application module 204; First application module 204, it is called by processor 202 and according to installation kit file configuration first application module 204 of described first application module 204 for comprising: receives information/transmission submodule 2041, interface scenario recover submodule 2042; Wherein processor 202 is when the first application module 204 starts, and by receives information/transmission submodule 2041, the device identifier information of this portable set 200 is sent to the first sharing service device; And got the scene identity information of the first corresponding application module 2041 of described device identifier information from the first sharing service device by described receives information/transmission submodule 2041; And processor 202 calls interface scenario recovers submodule 2042 according to described scene identity information, recovers the interface scenario corresponding to scene identity information of loading first application module 204.Preferably, in an embodiment when the first application module 204 starts, receives information/transmission submodule 2041 can be configured to the device identifier information of this portable set 200 to be sent to the first sharing service device together with the title of the first application module, so just can realize the support for different application modules, such as the second application module, the 3rd application module, because can distinguish different application modules after uploading application module title.
The portable set 200 that interface scenario is shared in realization in the present embodiment is corresponding with the portable set 101 in Fig. 1, and portable set 200 receives the first scene recovery information that portable set 101 sends.Identical with above-mentioned first embodiment is, portable set 200 is Smartphone device or Intelligent flat equipment or digit aid equipment or kneetop computer, it is similar to above-mentioned first embodiment, different places is exactly the description in epimere, and repeat to prevent, just be illustrated with regard to wireless data receipt modules 201, processor 202 and http protocol processing module 203 wherein and the first application module, this point it will be apparent to those skilled in the art.The object lesson that the first scene in the embodiment of the present invention recovers information is same as above first embodiment, following 3rd embodiment, just repeats no more here, the first scene in the first embodiment, the 3rd embodiment can be recovered information object lesson and be incorporated in this.
In the present embodiment, by http protocol processing module 203, the first scene received is recovered information and be sent to the first sharing service device in the mode of HTTP request, the device identifier information obtaining this portable set uploads to the first sharing service device and described first scene, and to recover information corresponding, and receive the installation kit file being used for the first application module.So just the first scene can be recovered information to set up with the corresponding relation of the scene identity information of the first application module and this three of device identifier information of this portable set, and maintain in the first sharing service device, just can be got the scene identity information of the first corresponding application module when the first application module after installing starts after mounting again by its device identifier information uploaded, thus realize the recovery of the scene that it is shared, what will load when new the first application module installed starts that its participator specifies shares interface and/or content.This is exactly the invention core concept place of sharing scene and realizing restoration scenario of the present invention.
Preferably, described in the present embodiment, the first scene recovers the scene identity information phase one_to_one corresponding of information and the first application module 204, also with the device identifier information phase one_to_one corresponding of described portable set 200.
Preferably, it is a URL address that described first scene recovers information, it has pointed to a script file, obtains the device identifier information of this portable set 200 when this script file runs, and to upload to the first sharing service device and described first scene, to recover information corresponding; And detect in this equipment whether the first application module is installed, if do not installed, jump to the URL address of the installation kit file having pointed to the first application module, to receive the installation kit file for the first application module; If there is installation, trigger the process that this first application module installed carries out scene recovery.So in the present embodiment, when information of recovering according to the first described scene initiates a HTTP request to first server, because it has pointed to a script file, the device identifier information of this portable set 200 when this script runs, will be got.
Preferably, described script file is by jumping to the URL address of the installation kit file having pointed to the first application module, to receive the installation kit file being used for the first application module, here the URL address jumping to the installation kit file having pointed to the first application module and the number of times of the download of the first application module carried out can be carried out record at server side, namely the download time of described first application module installation kit file can be recorded thus indicate out the pouplarity of the first application module, and then the searched weight (namely search rank is higher) arrived of the first application module is increased in application distribution or application searches, what be such as similar to page rank algorithm increases the searched weight then of the first application module.Such as user search first application module title, describe keyword or described in share in scene webpage in keyword time, for the APP matched, according to the page rank algorithm of described App, the first application module that weight such as in coupling is higher can be preferentially listed in Search Results, is preferentially distributed.
Preferably, in the present embodiment, the device identifier information of portable set 200 comprises: the User Agent information of the IP address of portable set, the MAC Address of current portable equipment, current portable equipment, by the script at current portable equipment side run generate be kept in local unique identification information at least one.The script of current portable equipment side wherein can be aforesaid script file, and it operationally can generate a file and records and preserve a unique identification number or character string, for identifying current equipment in this locality.Its unique character that above-mentioned MAC Address can be used to add the time scheduling algorithm factor and generate according to pre-defined algorithm, this point those skilled in the art can adopt common algorithm, is all to be encompassed in invention thought range of the present invention.
Preferably, in the present embodiment when described device identifier information is the IP address of portable set 200, described script file is further configured to for identical described IP address, a unique identifier corresponding to this IP address is got from the first sharing service device, use IP address and the current portable set of described identification code unique identification, and to recover information corresponding with described first scene.For in the WLAN (wireless local area network) such as such as wifi, multiple portable set can use common IP address, during identifier information therefore for identical ip addresses, the first sharing service device is just needed to be that portable set that each sends identical ip addresses returns a unique identification code (can be use the mode of note to be sent to portable set end) again, such as unique numeric string, as a password or difference code, come together to identify this portable set for described identical IP address, so also can to recover information corresponding with described and described first scene.Carry out described device identifier information when the first application module starts when uploading, just need described IP address to upload to the first sharing service device in the present embodiment together with described numeric string (this numeric string received before user may be needed to fill in) so that the scene that the first scene corresponding to inquiry recovers information and its correspondence recovers mark.Preferably, the different and unique identifier with different code length degree that generates of the described number of times that to correspond to the unique identifier of this IP address be the first sharing service device is mounted according to the quantity of portable set or described application module with identical ip addresses.Such as, if the first sharing service device discovery has the HTTP request from multiple portable set under a local area network (LAN) of identical ip addresses, just can record and learn out for different portable sets (such as, the client of multiple portable set is had under just can judging this IP address in conjunction with User Agent information) need to send out unique identifier, use described IP address and the current portable set of described identification code unique identification, and to recover information corresponding with described first scene.Preferably, if the marking equipment quantity under this identical ip addresses is a lot, just need the identification code using larger code length, this is determined according to using the quantity of portable set of this IP address by server side, or the first application module counted at server side by the number of times installed after sharing or quantity number decide the length of described unique identifier.Preferably, the device identifier information of described portable set is after the operation passing through a script, and got by described script, then be saved and be written in a local file, so that the first application module reads the device identifier information of preserving in this file, to use this device identifier information to identify current portable set when starting.
Preferably, the scene identity information of described first application module comprises: in the first application module an Activity and/or wherein in the name information of the name information of Fragment or current UIViewController, the first application module an Activity and/or wherein the identification code of Fragment or a UIViewController identification code, in the first application module the identification code of loading content, described loading content progress identification code at least one.This point for the illustrative example of the scene identity information of the first application module, can with reference in the first embodiment for the example of the scene identity information of the first application module, can be incorporated in this, no longer repeat here.
Preferably, described receives information/transmission submodule 2041 is further configured in the present embodiment: called by processor 202 and carry out corresponding preservation the scene identity information at interface, current place of the first application module 204, the device identifier information of portable set 200 and/or the first application module to be passed to nominally described first sharing service device; Then described interface scenario recovery submodule 2042 is further configured to: called by processor 202, when the first application module 204 is restarted, get the scene identity information of described device identifier information mutually the first application module 204 one to one from the first sharing service device; And according to described scene identity information, recover the interface scenario corresponding to scene identity information of loading first application module.With regard to this point, first application module 204 can by the scene identity information of its current interface, the device identifier information of portable set 200 and/or the first application module pass to described first sharing service device nominally and carry out corresponding preservation, like this when the first application module 204 is restarted, foundation uploads the scene identity information of its current interface of preservation, the device identifier information of portable set and/or the first application module title, thus the scene identity information of the first application module current interface of its correspondence is inquired according to the device identifier information of portable set, then directly recovered by the first application module 204, thus can by the first application module in this equipment when it starts, just can return to the scene place at the interface of user oneself configuration or mark.Because the scene identity information at interface, current place, the device identifier information of this portable set and/or the first application module are passed to nominally described first sharing service device to carry out corresponding preservation, even if so just can realize is not the recovery of just carrying out sharing interface when installing application, also directly recovery operation can be carried out when the first application module starts, can be user-friendly, just jump to after need not clicking or touch operation many times and share or target interface; And direct cloud preservation can be carried out, and carry out the laggard row recovery of direct high in the clouds acquisition data when starting.This point is also one object of the present invention place.Concrete scene recovery operation, refers to the specific implementation details that interface scenario recovers submodule 2042.
Preferably, described receives information/transmission submodule 2041 is further configured to: called that the scene identity information at its interface, current place is kept at (not shown in Fig. 2) in portable set local storage by described processor 202; Then described interface scenario recovery submodule 2042 is further configured to: called by described processor 202, the scene identity information stored described in direct basis in the first application module, recovers the interface scenario corresponding to scene identity information of loading first application module.
Preferably, the scene identity information of described first application module comprises further: the device identifier information of the mark sharing the user of this interface scenario or the portable set sharing this scene.Here user refers to the user of the first application module, and its mark refers to user ID, and it can be the user ID data of the first application module safeguarded in the first sharing service device side.Like this when carrying out scene identity information and uploading, the id information of user is uploaded together, the statistics of the scene information shared can be carried out according to user ID at server side, and can the device identifier of each portable set corresponding upper, so just scene identity information and portable set also can be mapped, a thus portable set can be inquired at server side and the user of several first application module can have been had to share how many, and those concrete scene identity information.
Preferably, described first application module is instant messaging application module or social application class module.
Preferably, the module of receive data by wireless described in the present embodiment 201 by note, multimedia message, Email, Bluetooth communication protocol, http protocol, Wifi agreement, near field communication protocols, as instant messaging application in object contact person, as social activity application in target group at least one mode receive first scene recover information.
Preferably, described http protocol processing module 203 is browser kernel module or browser client module.In the present embodiment, recovering URL information due to the first scene received is url data, so be preferentially the server that the browser kernel that uses the operating system in portable set 200 to carry or third party's browser client are specified to use this URL information to initiate HTTP request to URL.It is identical that the first scene recovery URL information in the present embodiment and first scene of sending in the first embodiment recover URL information, just no longer repeats here.Here browser kernel module can be integrated in the first application module, for initiating described HTTP request specially, and carries out follow-up installation kit file download.Such as in the such application of micro-letter, use the X5 browser kernel Components Development bag of Tengxun or the browser kernel assembly of UC browser, be integrated in the first application module.
Preferably, the unique parameters of the correspondence calculated according to predictive encoding algorithm with the scene identity information according to described first application module in the first scene recovery information described in the present embodiment.It is identical that the first scene recovery information in this enforcement and the first scene in the first embodiment recover information, just no longer repeats here.This unique parameters can be used in the first scene recovery information, such as, in the first scene recovery information of URL form is exactly this unique parameters with a parameter.So that when initiating HTTP request according to this URL, this parameter can be sent to the first sharing service device side together and be got by sharing service device.
Preferably, interface scenario described in the present embodiment recovers submodule 2042 and is configured to: called by processor 202, according to scene identity information, use Activity and/or the wherein name information of Fragment or the name information of UIViewController of the first application module wherein, identification code, the identification code of loading content in first application module, at least one in the progress identification code of described loading content, directly jump to corresponding Activity and/or wherein Fragment or UIViewController by the first application module, and the content loaded wherein and/or progress.Described scene identity information is from the first sharing service device, it is the device identifier phase one_to_one corresponding with portable set 200, its can be preferably the form of Json data carry out organizing (such as by the Activity of the first application module and/or wherein in the name information of the name information of Fragment or UIViewController, identification code, the first application module the progress identification code of the identification code of loading content, described loading content with Json data format, be sent in the first application module).First application module uses the Activity of these the first application modules and/or the wherein identification code of loading content, the progress identification code of described loading content in the name information of the name information of Fragment or UIViewController, identification code, the first application module, directly jump to described Activity window or the wherein title of Fragment or UIViewController assembly, and the content loaded wherein and/or progress.
Preferably, the identification code of loading content described in the present embodiment comprise the URL of audio frequency webpage, the URL of news web page, video web-pages URL, do shopping in the URL of electric business's product any one; And the progress identification code of described loading content comprises: time frame data, news that audio frequency is play read anchor point information in webpage, the video playback frame data of video playback, the anchor point information of doing shopping in electric business's product web page.
Preferably, described first scene is recovered information and is comprised further: the mark picture of the first application module and/or the descriptor of the first application module and/or point to the URL address of hit testing script of described mark picture and/or other user with regard to the comment information of the first application module and/or the first application module by the number of times shared.Specifically: the mark picture of the first application module is the icon mark of this application program, is convenient to make user better identify the application program that will install; Description is the word of the abbreviated functional description to the first application in detail; Described hit testing script is JavaScript script, and it operates to and will return this clicking operation to server when user clicks described mark picture, is recorded the situation of the clicked download of this first application by server.These are all generated by the first sharing service device side, have more information to be shown to user in a portable device, thus have more information and user to carry out alternately so that the first scene recovers information.
Preferably, in the present embodiment, described first application module is further configured to: when the first application module starts, message received (such as note in first application module scanning current portable equipment 200, multimedia message information), the first scene determining whether to meet predetermined format recovers information (because the first scene generated by server recovers information by predetermined format, URL wherein and concrete parameter name and form are all predetermined, recover the format match of information so regular expression can be used to carry out described first scene thus determine in described note or multimedia message with the first scene recovery information), if had, obtain the device identifier information of this portable set, and uploading to the first sharing service device and described first scene, to recover information corresponding.So just can determine the acquisition of the device identifier information whether needing to carry out portable set more accurately, and carry out upload process.Receive the first scene recovery information if all do not scanned, just there is no need the process of carrying out recovering.
3rd embodiment
With reference to Fig. 3, the structural representation of the server of interface scenario is shared in the realization shown according to a third embodiment of the present invention, and this server is exactly the first sharing service device in Fig. 1, Fig. 2, and it shares interface scenario for realizing.In figure 3, for realizing the sharing service device 300 sharing interface scenario, comprising: scene identity information receiving unit 301, it is configured to the first scene identity information that reception first portable set sends; Scene recovers information generating unit 302, and it is configured to generate first scene uniquely corresponding with the first scene identity information according to the first scene identity information and recovers information, and the first scene identity information and the first scene are recovered information binds; Scene recovers information transmitting unit 303, and it is configured to that described first scene is recovered information and is sent to the first portable set; First scene recovers information receiving unit 304, its be configured to that reception second portable set sends according to the first scene recover information and HTTP request, provide the address information of the installation kit file of the first application module, and get the device identifier information of the second portable set, this three of device identifier information of the first scene identity information, the first scene recovery information, the second portable set is bound; The scene recovery request receiving element 306 of the first application module, it is configured to the scene recovery request that in reception second portable set, the first application module sends, wherein with the device identifier information of the second portable set; First scene identity information transmitting unit 307 of the first application module, it is configured to the device identifier information of the second portable set received described in foundation, inquire about described first scene identity information, the binding relationship of this three of device identifier information that the first scene recovers information, the second portable set, and get the first corresponding scene identity information, and the first scene identity information to be sent in the second portable set in the first application module.
In the present embodiment, preferably, the first scene identity information that the first portable set sends comprises: in the first application module an Activity and/or wherein in the name information of the name information of Fragment or current UIViewController, the first application module an Activity and/or wherein the identification code of Fragment or a UIViewController identification code, in the first application module the identification code of loading content, described loading content progress identification code at least one.In the embodiment of epimere describes, if Android operation system, the scene identity information at the first interface, application module current place comprises: the title of each Activity of configuration definition in the Activity configuration file manifest.xml file of the first application module or the identification code of its correspondence, certainly more refinement some also can be name information or its corresponding identification code of Fragment in Activity; If iOS operating system, the scene identity information at the first interface, application module current place comprises name information or its identification code of current UIViewController.The difference of this point in the operating system of different portable sets, it is be used in this above-mentioned several information that the present invention does not limit, as long as the information of the scene identity class in value application is all encompassed under thought of the present invention.The identification code of wherein said loading content, the progress identification code of described loading content refer to the URL address of such as loading content respectively, and what such as load is a webpage, or video, and progress mark is exactly time point or the present frame of current video broadcasting.By recording these parameters as scene identity information, can load more exactly and recovering current interface scenario.
Preferably, described scene is recovered information generating unit 302 and is further configured to: it is pointed to the URL address of a script file that its first scene generated recovers information, for detecting in the second portable set, whether described first application module is installed when this script file is run, if do not installed, jump to the URL address of the installation kit file having pointed to described first application module; If there is installation, the first application module being configured to installed by this carries out scene Recovery processing.The example that this first scene recovers URL information is: http://www.shareserver.com/app1/userlink? dlid=NWVjMWFkOTgtMTE3OS00NWRhLWJjM2EtYjkzZTI5ZmRjNWRm, this URL is exactly the JavaScript script having pointed to server side, and wherein bring userlink parameter, the ID of this Parametric Representation deep linking, be exactly the result after the Base64 of a newly-generated UUID encodes in fact, the UUID of its correspondence is 5ec1ad98-1179-45da-bc3a-b93e29fdc5df, the corresponding relation of key-value is established in service end this general unique identifier (UUID) and the scene identity information uploaded.Wherein scene identity information UUID is the figure notation that correspond to an Activity in the first application module, in sharing service device side, and the scene identity information using this UUID can inquire original users to upload.Such as, in the first application module in the name information of an Activity, the first application module in the identification code of an Activity, the first application module the identification code of current loading content, described loading content progress identification code at least one.Namely this one or more information can be used 5ec1ad98-1179-45da-bc3a-b93e29fdc5df so a mark mark rear storage uniformly, so that after using 5ec1ad98-1179-45da-bc3a-b93e29fdc5df to inquire about again, send to the first application module in another portable terminal.Here the Digital ID that 5ec1ad98-1179-45da-bc3a-b93e29fdc5df is such, it is only an example, it is also directly to use at least one (certainly, these parameters are also to use Base64 to carry out coding) as above-mentioned parameter in the progress identification code of the identification code of current loading content in the identification code of an Activity in the name information of an Activity in such as the first application module, the first application module, the first application module, described loading content.Here be only use Activity for example, its thought is also to be adapted to the title of Fragment or the use of identifier, or the title of UIViewController and the use of identifier, and the use of the identification code of loading content or its progress identification code.And described script carries out operation execution script by the browser in the system of portable set this locality, and operation logic judges whether the installation being provided with the first application module, this logic is exactly check the title whether having the first application module in the APP installed in operating system.
Preferably, in the present embodiment, described script file is by jumping to the URL address of the installation kit file having pointed to the first application module, to receive the installation kit file being used for the first application module, here the URL address jumping to the installation kit file having pointed to the first application module and the number of times of the download of the first application module carried out can be carried out record at server side, namely the download time of described first application module installation kit file can be recorded thus indicate out the pouplarity of the first application module, and then the searched weight (namely search rank is higher) arrived of the first application module is increased in application distribution or application searches, what be such as similar to page rank algorithm increases the searched weight then of the first application module.Such as user search first application module title, describe keyword or described in share in scene webpage in keyword time, for the APP matched, according to the page rank algorithm of described App, the first application module that weight such as in coupling is higher can be preferentially listed in Search Results, is preferentially distributed.
Preferably, described scene is recovered information generating unit 302 and is further configured to: its first scene generated recovers the unique parameters of information with the correspondence calculated according to predictive encoding algorithm according to described scene identity information, and the first scene of described scene identity information and described generation is recovered information preserves one to one.This predictive encoding algorithm is such as the generating algorithm of UUID, it can be corresponding with described scene identity information uniquely, but being also not limited to is this kind of algorithm of UUID, the generating algorithm of carrying out unique random number according to the time etc. also can generate described unique parameters, and this point those skilled in the art can expect algorithm common in other prior aries.
Preferably, described scene identity information receiving unit 301 is further configured to: the title and/or the identification code that obtain the first application module in the first portable set, and the title of the first application module and/or identification code and described scene identity information is preserved one to one.So just can realize the correspondence that the title of the first application module and/or identification code, described scene identity information and the first scene recover between this three of information to preserve, information inquiry can be recovered to the title of the first application module of correspondence and/or identification code by scene identity information or the first scene.
Preferably, the scene recovery request that in described second portable set, the first application module sends comprises further: the title of the first application module and/or identification code.
Preferably, described scene identity information receiving unit 301 is further configured to: obtain the identification information of the current login user of the first application module in the first portable set and/or the device identifier information of the first portable set; Then described scene is recovered information generating unit 302 and is further configured to: the identification information of current login user in the scene identity information of the first application module current interface, the first application module or the device identifier information of current portable equipment are recovered with the first scene of described generation information is corresponding binds.
Preferably, described scene identity information receiving unit 301 is further configured to: according to the identification information of described login user or the device identifier information of portable equipment, records the comment information of the number of times of the scene that this login user is shared and/or user's input and/or the configuration information of user's input and/or the virtual coin quantity forwarded of this login user.In the embodiment of server of the present invention, this server side can safeguard the login user information of this first application, i.e. the identification information of login user, and preferably can get up with the device identifier informational linkage of the first portable set; The number of times of the scene that this login user is shared just can be recorded like this at server side, and the comment information that user shares for this scene, and the carrying out of this login user share upload before the input text class data of the web page contents shared are configured, and then the data of this configuration are carried out corresponding preservation with described scene information side of uploading onto the server together of sharing, and be correspond to the preservation that user totem information carries out.In the present embodiment, server side can according to login user mark, distinguishing is sharing of carrying out of which user, and be shared with the user of which the first application, this can by the device identifier information of described second portable set (the IP address of such as the second portable set or MAC Address) by the determination of sharing user, and second user login information in portable set carry out mating and determining, these are all the user totem information of the first application safeguarded at server side and realize.Further, the record etc. sharing number of operations commented on, virtual coin transmission is carried out with user can be realized.
Preferably, described first scene is recovered information and is comprised further: the mark picture of the first application module and/or the descriptor of the first application module and/or to point to the URL address of hit testing script of described mark picture and/or other user with regard to the comment information of the first application module and/or the first sharing service device end be the virtual coin information that sends of current login user and/or the first application module by the configuration information of the number of times shared and/or user's input.Specifically: the mark picture of the first application module is the icon mark of this application module program; Description is the word of the abbreviated functional description to the first application in detail; Described hit testing script is JavaScript script, it operates to and will return this clicking operation to server when user clicks described mark picture, the situation of the clicked download of this first application is recorded by server, here be only the URL address giving test script, will point to after user clicks described mark picture this address download after described in local runtime script; Described ideal money information has carried out sharing operation at this login user, after the scene identity information of namely having carried out the first application module is uploaded, and the virtual currency award given.The configuration information of described user's input, that user is when carrying out described scene identity information and uploading or the configuration information inputted by user uploaded again afterwards, recover information with described scene to preserve accordingly, such as to the amendment configuration parameter of the list input data uploaded in webpage, uploaded by together with described webpage together.So need with this parameter in scene recovery information, and further can call by script and use, be such as shown to user.
Preferably, the device identifier information of described second portable set comprises: the User Agent information of the IP address of the second portable set, the MAC Address of the second portable set, the second portable set, by the script in the second portable set side run generate be kept in local unique identification information at least one.Here the unique identification information being kept at this locality generated by the script operation in the second portable set side said refers to by the operation of the script pointed by scene recovery request and generates a unique identification information in the second portable set side and be kept at this locality, to carry out reading to identify this portable set later.
Preferably, when described device identifier information is the IP address of the second portable set, described script file is further configured to for identical described IP address, a unique identifier corresponding to this IP address is got from described server, use IP address and described identification code unique identification second portable set, and to recover information corresponding with described first scene.For in the WLAN (wireless local area network) such as such as wifi, multiple portable set (such as also has the 3rd, 4th, 5th portable set) common IP address can be used, during identifier information therefore for identical ip addresses, first sharing service device is that portable set that each sends identical ip addresses returns a unique identification code (can be use the mode of note to be sent to portable set end) again, such as unique numeric string, as a password or difference code, come together to identify this portable set for described identical IP address, so also can to recover information corresponding with described and described first scene.Carry out described device identifier information when the first application module starts when uploading, just need described IP address to upload to the first sharing service device in the present embodiment together with described numeric string (this numeric string received before user may be needed to fill in) so that the scene that the first scene corresponding to inquiry recovers information and its correspondence recovers mark.
Preferably, the different and unique identifier with different code length degree that generates of the described number of times that to correspond to the unique identifier of this IP address be the first sharing service device is mounted according to the quantity of the second portable set or described application module with identical ip addresses.Such as, if the first sharing service device discovery has the HTTP request from multiple portable set under a local area network (LAN) of identical ip addresses, just can record and learn out for different portable sets (such as, have under just can judging this IP address in conjunction with User Agent information second, third, the 4th, the client of the 5th portable set) need to send out unique identifier, use described IP address and the current portable set of described identification code unique identification, and to recover information corresponding with described first scene.Preferably, if the marking equipment quantity under this identical ip addresses is a lot, just need the identification code using larger code length, this is determined by the described server side quantity according to the portable set using this IP address, or the first application module counted at server side by the number of times installed after sharing or quantity number decide the length of described unique identifier.Be preferably, the device identifier information of described portable set is after the operation passing through a script, and got by described script, then be saved and be written in a local file, so that the first application module reads the device identifier information of preserving in this file, to use this device identifier information to identify current portable set when starting.
Preferably, in the present embodiment according to the difference of the User Agent information pointed in HTTP request corresponding to the URL address of described script file, described server provides and points to different editions script file to the second portable set.
Preferably, record in the embodiment of book server and describedly shared by difference the sequencing that user carries out sharing by the scene shared, and recover with the first scene of described generation that information is corresponding binds, and correspond to the first scene identity information.
4th embodiment
With reference to Fig. 4, the structural representation of the portable set of interface scenario is shared in the realization shown according to a fourth embodiment of the present invention, this portable set is different from the portable set in Fig. 2, it is exactly the first scene recovery information that in other portable set directly received, the first application module sends to the first application module in this portable set, instead of the foundation HTTP request in Fig. 2 finally obtains the installation kit file of the first application module, do not need the acquisition of the installation kit file carrying out the first application module in the present embodiment, in portable set in the present embodiment, the first application module is installed, after itself receiving the first scene recovery information of the first application module, just directly can obtain the first scene and recover scene identity information corresponding to information, and directly carry out recovering to load interface scenario corresponding to described scene identity information in this portable set.
In the diagram, for realizing the portable set 400 sharing interface scenario, comprising: processor 401; First application module 402, it comprises: receives information/transmission submodule 4021, interface scenario recover submodule 4022; Wherein said processor 401 receives the first application module in other portable set by described receives information/transmission submodule 4021 and sends to the first scene of the first application module 402 in this portable set to recover information; And receive scene identity information corresponding to the first scene recovery information according to the first scene recovery information from the first sharing service device; And call interface scenario recovery submodule 4022 loads the first application module interface scenario corresponding to scene identity information according to described scene identity Information recovering.
Preferably, described first scene recovers the scene identity information phase one_to_one corresponding of information and the first application module in the present embodiment.This one-to-one relationship, ensure that the scene identity information that can find the first corresponding application module according to the first scene recovery information, and this one-to-one relationship can preserve the fixed time (such as) or specify share number of times (predetermined number of times namely sharing operation according to the carrying out of login user of the first application module in the first sharing service device side records) after will delete described first scene in the first sharing service device side and recover information, the first scene after user shares recovers just to inquire about when information is sent to the first sharing service device again the scene identity information of the first application module that the user less than correspondence shares.
Preferably, in the present embodiment, the scene identity information of described first application module comprises: in the first application module an Activity and/or wherein in the name information of the name information of Fragment or current UIViewController, the first application module an Activity and/or wherein the identification code of Fragment or a UIViewController identification code, in the first application module the identification code of loading content, described loading content progress identification code at least one.Be preferably: if Android operation system, the scene identity information at the first interface, application module current place comprises: the title of each Activity of configuration definition in the Activity configuration file manifest.xml file of the first application module or the identification code of its correspondence, or directly uses the name information of Fragment in described Activity or the identification code of its correspondence; If the mobile terminal of iOS operating system, the scene identity information at the first interface, application module current place comprises name information or its identification code of each UIViewController defined in the first application module, also can be name information or its identification code of the subclass of UIViewController class further, these titles or identification code can as required by program staff in the first application module for each UIViewController defines a title or identification code, as long as each interface in the first application module can be distinguished.
Preferably, it is the URL address that the first sharing service device generates that described first scene recovers information, it has pointed to a script file, and this script file is configured to operationally to recover information according to the first scene and receives scene identity information corresponding to the first scene recovery information from the first sharing service device.Preferably, described first scene recovers information further with the unique parameters that correspond to the scene identity information that will be resumed scene calculated according to predictive encoding algorithm, to get the scene identity information corresponding to the first scene recovery information according to this unique parameters correspondence.
Preferably, described interface scenario recovers submodule 4022 and is configured to: called by processor, according to scene identity information, use the first application module wherein Activity and/or wherein in the name information of the name information of Fragment or UIViewController, identification code, the first application module the identification code of loading content, described loading content progress identification code at least one, directly jump to corresponding Activity and/or wherein Fragment or UIViewController by the first application module, and the content loaded wherein and/or progress.Preferably, the identification code of described loading content here comprise the URL of audio frequency webpage, the URL of news web page, video web-pages URL, do shopping in the URL of electric business's product any one; And the progress identification code of described loading content comprises: time frame data, news that audio frequency is play read anchor point information in webpage, the video playback frame data of video playback, the anchor point information of doing shopping in electric business's product web page.
5th embodiment
In order to understand content of the present invention and spirit better, with reference to Fig. 5, the structural representation of the system of interface scenario is shared in the realization shown according to a fifth embodiment of the present invention, and this system comprises the first portable set 501, second portable set 502, sharing service device 503.The portable set wherein disclosed in the first portable set 501 and the first embodiment is similar, it comprises: processor 5011, touch-sensitive display panel 5012 and the first application module 5013, and wherein the first application module 5013 comprises operation reception submodule 50131 and shares interface 50132 with interface scenario.What wherein operation reception submodule 50131 was inputted by touch-sensitive display panel 5012 reception shares operational order, interface scenario shares interface 50132 after the operational order receiving operation reception submodule 50131, the scene identity information of the current interface in the first current application module is sent to sharing service device 503 side, and the scene receiving the server end corresponding to identification information of the interface scenario of the current APP that sharing service device 503 side returns recovers information, and this first scene recovery information is sent to the second portable set 502.The implementation detail of concrete first portable set 501, refers to the announcement in the first embodiment, no longer repeats here for succinct consideration.
In Figure 5, the second portable set 502, comprising: wireless data receipt modules 5021, processor 5022, http protocol processing unit 5023, first application module 5024; Wherein the first application module 5024 comprises: receives information/transmission submodule 50242 and interface scenario recover submodule 50241.Wherein wireless data receipt modules 5021 receives and all recovers information from the first scene of the first portable set 501, and send a HTTP request to sharing service device 503 according to described first scene recovery information through http protocol processing unit 5023, the device identifier information obtaining this portable set uploads to sharing service device 503 and described first scene, and to recover information corresponding, and receive the installation kit file being used for the first application module.Receives information in first application module 5024/transmission submodule 50242 is when the first application module starts or run, the device identifier information of this portable set and the first application module title are sent to sharing service device 503, and from sharing service device 503, get scene identity information corresponding to described device identifier information, and recover by interface scenario the loading that submodule 50241 pairs of scene identity information carry out corresponding scene information, thus achieve the loading of the first portable set 501 in the scene shared.Similar with in the second embodiment of the second portable set 502 in this embodiment, the technology of the portable set in the second embodiment realizes details and is incorporated in this, no longer repeats.
In Figure 5, sharing service device 503, comprising: scene identity information receiving unit 5031, scene recover information generating unit 5032, scene recovers the scene identity information transmitting unit 5037 that information transmitting unit 5033, first scene recovers scene recovery request receiving element 5036, first application module of installation kit file transmitting element 5035, first application module of information receiving unit 5034, first application module.Sharing service device 503 wherein in this embodiment is similar with server in the 3rd embodiment, and the technology of the sharing service device in the 3rd embodiment realizes details and is incorporated in this, no longer repeats.Each concrete portable set and sharing service device carry out mutual information, can see the dealing interactive information marked in Fig. 5.Certain the present invention can be not limited to only have first and second portable set, can also share in other portable set, and the principle wherein carrying out sharing is same as the principle in the second portable set.Certainly first and second portable set still can be integrated into same portable set, and namely this portable set is can initiate to share also can carry out receiving sharing to carry out sharing realization, and this point it will be apparent to those skilled in the art.
Based on the above embodiments, due in embodiments of the present invention, at portable set, the mobile terminals such as such as mobile phone, in application program in, by the interface sharing interface scenario arranged in application program, interface, current for application program place is shared away, and receive the user shared and this application program can be installed, and automatically redirect or load corresponding described in the interface of sharing.Operation is shared like this for cellphone subscriber, than the URL information of sharing web page common at present, more comprehensive, also facilitate using and propagating of APP program widely.And due to, what share is application program current place interface information, also include the content information of the loading in APP interface, just can directly share current interface and content so among applications, more fully share the information in application program, so just make the mode of sharing in the APP of mobile terminal abundanter than existing sharing contents.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of features all disclosed in this specification and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this specification can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary compound mode.
The embodiment of the present invention further discloses A1, a kind of for sending the portable set sharing interface scenario, comprising: processor; Be couple to described processor and touch-sensitive display panel for receiving operational order; First application module, it comprises: operation receives submodule and shares interface with interface scenario; What wherein said processor call operation reception submodule was inputted by touch-sensitive display panel reception shares operational order; And share operational order in response to described, call interface scenario and share the scene identity information that interface obtains the first application module current interface, described scene identity information is sent to the first sharing service device, and receive first scene corresponding with described scene identity information that the first sharing service device returns and recover information, information of the first scene being recovered is sent to a target and shares object portable set.
A2. the portable set according to A1, is characterized in that, described first application module is stored in the memory coupled with described processor.
A3. the portable set according to A1, it is characterized in that, the scene identity information at described first interface, application module current place comprises: in the first application module current Activity and/or wherein in the name information of the name information of Fragment or current UIViewController, the first application module current Activity and/or wherein in the identification code of the identification code of Fragment or current UIViewController, the first application module the identification code of current loading content, described loading content progress identification code at least one.
A4. according to described portable set arbitrary in A1 ~ A3, it is characterized in that, described first application module is further configured to: share interface by described interface scenario and the identification code of described first application module and/or title are sent to the first sharing service device.
A5. according to the portable set described in A1, it is characterized in that, it is the URL address that the first sharing service device generates that described first scene recovers information, it has pointed to a script file, this script file is configured to operationally whether be provided with described first application module for detecting this locality, if do not installed, jump to the URL address of the installation kit file having pointed to described first application module; If there is installation, the first application module being configured to installed by this carries out scene Recovery processing.
A6. according to the portable set described in A1, it is characterized in that, described first scene recovers information and described scene identity information one_to_one corresponding.
A7. according to the portable set described in A6, it is characterized in that, with the unique parameters of the correspondence calculated according to predictive encoding algorithm according to described scene identity information in described first scene recovery information.
A8. according to described portable set arbitrary in A1 ~ A7, it is characterized in that, by the intended target contact person in note, multimedia message, Email, Bluetooth communication protocol, http protocol, Wifi agreement, near field communication protocols, the application of appointment instant messaging, specify at least one mode of the target group in social application that described information of first scene being recovered is sent to described target and shares object portable set.
A9. according to the portable set described in A1, it is characterized in that, described interface scenario is shared interface and is further configured to the identification information of current login user or the device identifier information of current portable equipment in acquisition first application module, and uploads the first sharing service device together with the scene identity information of the first application module current interface; First scene corresponding with described scene identity information that then the first sharing service device returns recover information be also with the identification information of described current login user or the device identifier information of current portable equipment corresponding.
A10. according to the portable set described in A1, it is characterized in that, described scene identity information is stored in described portable set side, to use the scene identity information of described preservation directly to recover the first scene in the first application module recover scene corresponding to information.
A11. according to the portable set described in A1, it is characterized in that, described first application module is instant messaging application module or social application class module, then the target that the first scene recovery information is sent to shares the portable set that object portable set is good friend user during instant messaging application or social activity are applied.
A12. according to the portable set described in A5, it is characterized in that, described first scene is recovered information and is comprised further: the mark picture of the first application module and/or the descriptor of the first application module and/or to point to the URL address of hit testing script of described mark picture and/or other user with regard to the comment information of the first application module and/or the first sharing service device end be that the information of the virtual coin that current login user sends and/or the first application module are by the number of times shared.
A13. according to the portable set described in A1, it is characterized in that, described interface scenario is shared interface and is further configured to: the scene identity information of acquisition first application module current interface is configured setting again, described configuration settings information is sent to the first sharing service device together with scene identity information.
A14. according to the portable set described in A5, it is characterized in that, the URL address that described first sharing service device generates is further configured to: according to the difference of the User Agent information in the HTTP request that described URL address is corresponding, and obtains sensing different editions script file from the first sharing service device side.
A15. according to the portable set described in A9, it is characterized in that, the device identifier information of described current portable equipment comprises: the User Agent information of the password figure that the IP address of current portable equipment and/or server side generate, the MAC Address of current portable equipment, current portable equipment, by the script at current portable equipment side run generate be kept in local unique identification information at least one.
The embodiment of the present invention further discloses B16. mono-kind for realizing sharing the portable set of interface scenario, comprising: wireless data receipt modules, and it recovers information for receiving the first scene; Processor; Http protocol processing module, it is recovered information by the first scene that described processor calls for receiving described in foundation, send out a HTTP request to the first sharing service device, the device identifier information obtaining this portable set uploads to the first sharing service device and described first scene, and to recover information corresponding, and receive the installation kit file being used for the first application module; First application module, it is called by described processor and according to installation kit file configuration first application module of described first application module for comprising: receives information/transmission submodule, interface scenario recover submodule; The device identifier information of this portable set, when the first application module starts, is sent to the first sharing service device by described receives information/transmission submodule by wherein said processor; And got the scene identity information of the first corresponding application module of described device identifier information from the first sharing service device by described receives information/transmission submodule; And described processor calls described interface scenario recovers submodule according to described scene identity information, recovers the interface scenario corresponding to scene identity information of loading first application module.
B17. according to the portable set described in B16, it is characterized in that, described first scene recovers the scene identity information phase one_to_one corresponding of information and the first application module, also with the device identifier information phase one_to_one corresponding of described portable set.
B18. according to the portable set described in B16, it is characterized in that, it is a URL address that described first scene recovers information, it has pointed to a script file, this script file obtains the device identifier information of this portable set when running, and to upload to the first sharing service device and described first scene, to recover information corresponding; And detect in this equipment whether the first application module is installed, if do not installed, jump to the URL address of the installation kit file having pointed to the first application module, to receive the installation kit file for the first application module; If there is installation, trigger the process that this first application module installed carries out scene recovery.
B19. according to the portable set described in B18, it is characterized in that, the device identifier information of described portable set comprises: the User Agent information of the IP address of portable set, the MAC Address of current portable equipment, current portable equipment, by the script at current portable equipment side run generate be kept in local unique identification information at least one.
B20. according to the portable set described in B19, it is characterized in that, when described device identifier information is the IP address of portable set, described script file is further configured to for identical described IP address, a unique identifier corresponding to this IP address is got from the first sharing service device, use IP address and the current portable set of described identification code unique identification, and to recover information corresponding with described first scene.
B21. according to the portable set described in B20, it is characterized in that, the described number of times that to correspond to the unique identifier of this IP address be the first sharing service device is mounted according to the quantity of portable set or described application module with identical ip addresses is different and the unique identifier with different code length degree that generates.
B22. according to the portable set described in B19, it is characterized in that, the device identifier information of described portable set is obtained rear preservation by described script and is written in a local file, so that the first application module carries out reading when starting identify current portable set.
B23. according to the portable set described in B16, it is characterized in that, the scene identity information of described first application module comprises: in the first application module an Activity and/or wherein in the name information of the name information of Fragment or current UIViewController, the first application module an Activity and/or wherein the identification code of Fragment or a UIViewController identification code, in the first application module the identification code of loading content, described loading content progress identification code at least one.
B24. according to the portable set described in B16, it is characterized in that, described receives information/transmission submodule is further configured to: called by described processor and carry out corresponding preservation the scene identity information at its interface, current place, the device identifier information of this portable set and/or the first application module to be passed to nominally described first sharing service device; Then described interface scenario recovers submodule and is further configured to: called by described processor, when the first application module is restarted, gets the scene identity information of described device identifier information the first application module one to one mutually from the first sharing service device; And according to described scene identity information, recover the interface scenario corresponding to scene identity information of loading first application module.
B25. according to the portable set described in B16, it is characterized in that, described receives information/transmission submodule is further configured to: called to be kept in portable set local storage by the scene identity information at its interface, current place by described processor; Then described interface scenario recovery submodule is further configured to: called by described processor, the scene identity information stored described in direct basis in the first application module, recover the interface scenario corresponding to scene identity information of loading first application module.
B26. according to the portable set described in B16, it is characterized in that, the scene identity information of described first application module comprises further: the device identifier information of the mark sharing the user of this interface scenario or the portable set sharing this scene.B
B27. according to the portable set described in B16, it is characterized in that, described first application module is instant messaging application module or social application class module.
B28. according to the portable set described in B16, it is characterized in that, described receive data by wireless module by note, multimedia message, Email, Bluetooth communication protocol, http protocol, Wifi agreement, near field communication protocols, as instant messaging application in object contact person, as social activity application in target group at least one mode receive first scene recover information.
B29. according to the portable set described in B16, it is characterized in that, described http protocol processing module is browser kernel module or browser client module.
B30. the portable set according to claim arbitrary in B16 ~ B18, it is characterized in that, the unique parameters of the correspondence calculated according to predictive encoding algorithm with the scene identity information according to described first application module in described first scene recovery information.
B31. according to the portable set described in B23, it is characterized in that, described interface scenario recovers submodule and is configured to: called by processor, according to scene identity information, use Activity and/or the wherein name information of Fragment or the name information of UIViewController of the first application module wherein, identification code, the identification code of loading content in first application module, at least one in the progress identification code of described loading content, directly jump to corresponding Activity and/or wherein Fragment or UIViewController by the first application module, and the content loaded wherein and/or progress.
B32. the portable set according to B31, is characterized in that, the identification code of described loading content comprise the URL of audio frequency webpage, the URL of news web page, video web-pages URL, do shopping in the URL of electric business's product any one; And the progress identification code of described loading content comprises: time frame data, news that audio frequency is play read anchor point information in webpage, the video playback frame data of video playback, the anchor point information of doing shopping in electric business's product web page.
B33. the portable set according to B18, it is characterized in that, described first scene is recovered information and is comprised further: the mark picture of the first application module and/or the descriptor of the first application module and/or point to the URL address of hit testing script of described mark picture and/or other user with regard to the comment information of the first application module and/or the first application module by the number of times shared.
B34. the portable set according to B18, it is characterized in that, described first application module is further configured to: when the first application module starts, message received in first application module scanning current portable equipment, determine whether that the first scene meeting predetermined format recovers information, if had, obtain the device identifier information of this portable set, and uploading to the first sharing service device and described first scene, to recover information corresponding.
The embodiment of the present invention further discloses C35. mono-kind for realizing sharing the server of interface scenario, comprising: scene identity information receiving unit, and it is configured to the first scene identity information that reception first portable set sends; Scene recovers information generating unit, and it is configured to generate first scene uniquely corresponding with the first scene identity information according to the first scene identity information and recovers information, and the first scene identity information and the first scene are recovered information binds; Scene recovers information transmitting unit, and it is configured to that described first scene is recovered information and is sent to the first portable set; First scene recovers information receiving unit, it is configured to the HTTP request of the information of recovering according to the first scene that reception second portable set sends, provide the address information of the installation kit file of the first application module, and get the device identifier information of the second portable set, this three of device identifier information of the first scene identity information, the first scene recovery information, the second portable set is bound; The scene recovery request receiving element of the first application module, it is configured to the scene recovery request that in reception second portable set, the first application module sends, wherein with the device identifier information of the second portable set; First scene identity information transmitting unit of the first application module, it is configured to the device identifier information of the second portable set received described in foundation, inquire about described first scene identity information, the binding relationship of this three of device identifier information that the first scene recovers information, the second portable set, and get the first corresponding scene identity information, and the first scene identity information to be sent in the second portable set in the first application module.
C36. according to the server described in C35, it is characterized in that, the first scene identity information that wherein the first portable set sends comprises: in the first application module an Activity and/or wherein in the name information of the name information of Fragment or current UIViewController, the first application module an Activity and/or wherein the identification code of Fragment or a UIViewController identification code, in the first application module the identification code of loading content, described loading content progress identification code at least one.
C37. according to the server described in C35, it is characterized in that, wherein said scene is recovered information generating unit and is further configured to: it is pointed to the URL address of a script file that its first scene generated recovers information, for detecting in the second portable set, whether described first application module is installed when this script file is run, if do not installed, jump to the URL address of the installation kit file having pointed to described first application module; If there is installation, the first application module being configured to installed by this carries out scene Recovery processing.
C38. according to the server described in C37, it is characterized in that, wherein said scene is recovered information generating unit and is further configured to: its first scene generated recovers the unique parameters of information with the correspondence calculated according to predictive encoding algorithm according to described scene identity information, and the first scene of described scene identity information and described generation is recovered information preserves one to one.
C39. according to the server described in C35 or C36, it is characterized in that, wherein said scene identity information receiving unit obtains title and/or the identification code of the first application module in the first portable set further, and the title of the first application module and/or identification code and described scene identity information is preserved one to one.
C40. the server according to C39, is characterized in that, the scene recovery request that in wherein said second portable set, the first application module sends comprises further: the title of the first application module and/or identification code.
C41. the server according to C35, it is characterized in that, wherein said scene identity information receiving unit is further configured to: obtain the identification information of the current login user of the first application module in the first portable set and/or the device identifier of the first portable set; Then described scene is recovered information generating unit and is further configured to: the identification information of current login user in the scene identity information of the first application module current interface, the first application module or the device identifier of current portable equipment are recovered with the first scene of described generation information is corresponding binds.
C42. the server according to C41, it is characterized in that, wherein said scene identity information receiving unit is further configured to: according to the identification information of described login user or the device identifier of portable equipment, records the comment information of the number of times of the scene that this login user is shared and/or user's input and/or the configuration information of user's input and/or the virtual coin quantity forwarded of this login user.
C43. the server according to C42, it is characterized in that, wherein said first scene is recovered information and is comprised further: the mark picture of the first application module and/or the descriptor of the first application module and/or to point to the URL address of hit testing script of described mark picture and/or other user with regard to the comment information of the first application module and/or the first sharing service device end be the virtual coin information that sends of current login user and/or the first application module by the configuration information of the number of times shared and/or user's input.
C44. the server according to C37, it is characterized in that, the device identifier information of wherein said second portable set comprises: the User Agent information of the IP address of the second portable set, the MAC Address of the second portable set, the second portable set, by the script in the second portable set side run generate be kept in local unique identification information at least one.
C45. the server according to C44, it is characterized in that, when described device identifier information is the IP address of the second portable set, described script file is further configured to for identical described IP address, a unique identifier corresponding to this IP address is got from described server, use IP address and described identification code unique identification second portable set, and to recover information corresponding with described first scene.
C46. according to the server described in C45, it is characterized in that, the described number of times that to correspond to the unique identifier of this IP address be the first sharing service device is mounted according to the quantity of the second portable set or described application module with identical ip addresses is different and the unique identifier with different code length degree that generates.
C47. according to the server described in C37, it is characterized in that, according to the difference of the User Agent information in the HTTP request that the URL address pointing to script file is corresponding, described server provides and points to different editions script file to the second portable set.
C48. the server according to C41, it is characterized in that, record further and describedly shared by difference the sequencing that user carries out sharing by the scene shared, and recover with the first scene of described generation that information is corresponding binds, and correspond to the first scene identity information.
Embodiments of the invention further disclose D49. mono-kind for realizing sharing the portable set of interface scenario, comprising: processor; First application module, it comprises: receives information/transmission submodule, interface scenario recover submodule; Wherein said processor receives the first application module in other portable set by described receives information/transmission submodule and sends to the first scene of the first application module in this portable set to recover information; And receive scene identity information corresponding to the first scene recovery information according to the first scene recovery information from the first sharing service device; And call interface scenario recovery submodule loads the first application module interface scenario corresponding to scene identity information according to described scene identity Information recovering.
D50. according to the portable set described in D49, it is characterized in that, described first scene recovers the scene identity information phase one_to_one corresponding of information and the first application module.
D51. according to the portable set described in D49, it is characterized in that, the scene identity information of described first application module comprises: in the first application module an Activity and/or wherein in the name information of the name information of Fragment or current UIViewController, the first application module an Activity and/or wherein the identification code of Fragment or a UIViewController identification code, in the first application module the identification code of loading content, described loading content progress identification code at least one.
D52. according to the portable set described in D49, it is characterized in that, it is the URL address that the first sharing service device generates that described first scene recovers information, it has pointed to a script file, and this script file is configured to operationally to recover information according to the first scene and receives scene identity information corresponding to the first scene recovery information from the first sharing service device.
D53. according to the portable set described in D52, it is characterized in that, described first scene recovers information further with the unique parameters that correspond to the scene identity information that will be resumed scene calculated according to predictive encoding algorithm, to get the scene identity information corresponding to the first scene recovery information according to this unique parameters correspondence.
D54. according to the portable set described in D51, it is characterized in that, described interface scenario recovers submodule and is configured to: called by processor, according to scene identity information, use Activity and/or the wherein name information of Fragment or the name information of UIViewController of the first application module wherein, identification code, the identification code of loading content in first application module, at least one in the progress identification code of described loading content, directly jump to corresponding Activity and/or wherein Fragment or UIViewController by the first application module, and the content loaded wherein and/or progress.
D55. the portable set according to D54, is characterized in that, the identification code of described loading content comprise the URL of audio frequency webpage, the URL of news web page, video web-pages URL, do shopping in the URL of electric business's product any one; And the progress identification code of described loading content comprises: time frame data, news that audio frequency is play read anchor point information in webpage, the video playback frame data of video playback, the anchor point information of doing shopping in electric business's product web page.

Claims (10)

1., for sending the portable set sharing interface scenario, comprising:
Processor;
Be couple to described processor and touch-sensitive display panel for receiving operational order;
First application module, it comprises: operation receives submodule and shares interface with interface scenario;
What wherein said processor call operation reception submodule was inputted by touch-sensitive display panel reception shares operational order; And share operational order in response to described, call interface scenario and share the scene identity information that interface obtains the first application module current interface, described scene identity information is sent to the first sharing service device, and receive first scene corresponding with described scene identity information that the first sharing service device returns and recover information, information of the first scene being recovered is sent to a target and shares object portable set.
2. portable set according to claim 1, is characterized in that, described first application module is stored in the memory coupled with described processor.
3. portable set according to claim 1, it is characterized in that, the scene identity information at described first interface, application module current place comprises: in the first application module current Activity and/or wherein in the name information of the name information of Fragment or current UIViewController, the first application module current Activity and/or wherein in the identification code of the identification code of Fragment or current UIViewController, the first application module the identification code of current loading content, described loading content progress identification code at least one.
4. according to described portable set arbitrary in claims 1 to 3, it is characterized in that, described first application module is further configured to: share interface by described interface scenario and the identification code of described first application module and/or title are sent to the first sharing service device.
5. according to the portable set described in claim 1, it is characterized in that, it is the URL address that the first sharing service device generates that described first scene recovers information, it has pointed to a script file, this script file is configured to operationally whether be provided with described first application module for detecting this locality, if do not installed, jump to the URL address of the installation kit file having pointed to described first application module; If there is installation, the first application module being configured to installed by this carries out scene Recovery processing.
6., for realizing the portable set sharing interface scenario, comprising:
Wireless data receipt modules, it recovers information for receiving the first scene;
Processor;
Http protocol processing module, it is recovered information by the first scene that described processor calls for receiving described in foundation, send out a HTTP request to the first sharing service device, the device identifier information obtaining this portable set uploads to the first sharing service device and described first scene, and to recover information corresponding, and receive the installation kit file being used for the first application module;
First application module, it is called by described processor and according to installation kit file configuration first application module of described first application module for comprising: receives information/transmission submodule, interface scenario recover submodule;
The device identifier information of this portable set, when the first application module starts, is sent to the first sharing service device by described receives information/transmission submodule by wherein said processor; And got the scene identity information of the first corresponding application module of described device identifier information from the first sharing service device by described receives information/transmission submodule; And described processor calls described interface scenario recovers submodule according to described scene identity information, recovers the interface scenario corresponding to scene identity information of loading first application module.
7. according to the portable set described in claim 6, it is characterized in that, described first scene recovers the scene identity information phase one_to_one corresponding of information and the first application module, also with the device identifier information phase one_to_one corresponding of described portable set.
8., for realizing the server sharing interface scenario, comprising:
Scene identity information receiving unit, it is configured to the first scene identity information that reception first portable set sends; Scene recovers information generating unit, and it is configured to generate first scene uniquely corresponding with the first scene identity information according to the first scene identity information and recovers information, and the first scene identity information and the first scene are recovered information binds; Scene recovers information transmitting unit, and it is configured to that described first scene is recovered information and is sent to the first portable set; First scene recovers information receiving unit, it is configured to the HTTP request of the information of recovering according to the first scene that reception second portable set sends, provide the address information of the installation kit file of the first application module, and get the device identifier information of the second portable set, this three of device identifier information of the first scene identity information, the first scene recovery information, the second portable set is bound;
The scene recovery request receiving element of the first application module, it is configured to the scene recovery request that in reception second portable set, the first application module sends, wherein with the device identifier information of the second portable set;
First scene identity information transmitting unit of the first application module, it is configured to the device identifier information of the second portable set received described in foundation, inquire about described first scene identity information, the binding relationship of this three of device identifier information that the first scene recovers information, the second portable set, and get the first corresponding scene identity information, and the first scene identity information to be sent in the second portable set in the first application module.
9. according to Claim 8 described in server, it is characterized in that, the first scene identity information that wherein the first portable set sends comprises: in the first application module an Activity and/or wherein in the name information of the name information of Fragment or current UIViewController, the first application module an Activity and/or wherein the identification code of Fragment or a UIViewController identification code, in the first application module the identification code of loading content, described loading content progress identification code at least one.
10., for realizing the portable set sharing interface scenario, comprising:
Processor;
First application module, it comprises: receives information/transmission submodule, interface scenario recover submodule;
Wherein said processor receives the first application module in other portable set by described receives information/transmission submodule and sends to the first scene of the first application module in this portable set to recover information; And receive scene identity information corresponding to the first scene recovery information according to the first scene recovery information from the first sharing service device; And call interface scenario recovery submodule loads the first application module interface scenario corresponding to scene identity information according to described scene identity Information recovering.
CN201510161950.7A 2015-04-07 2015-04-07 Portable equipment and server for realizing sharing interface scenario Pending CN104780209A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510161950.7A CN104780209A (en) 2015-04-07 2015-04-07 Portable equipment and server for realizing sharing interface scenario

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510161950.7A CN104780209A (en) 2015-04-07 2015-04-07 Portable equipment and server for realizing sharing interface scenario

Publications (1)

Publication Number Publication Date
CN104780209A true CN104780209A (en) 2015-07-15

Family

ID=53621443

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510161950.7A Pending CN104780209A (en) 2015-04-07 2015-04-07 Portable equipment and server for realizing sharing interface scenario

Country Status (1)

Country Link
CN (1) CN104780209A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106211033A (en) * 2016-06-28 2016-12-07 北京小米移动软件有限公司 Data sharing method, device and electronic equipment
CN107301242A (en) * 2017-07-03 2017-10-27 北京小米移动软件有限公司 Method, device and the storage medium of page jump
CN107357600A (en) * 2016-05-10 2017-11-17 中兴通讯股份有限公司 Application sharing device and method
CN107517323A (en) * 2017-09-08 2017-12-26 咪咕数字传媒有限公司 A kind of information sharing method, device and storage medium
CN107589949A (en) * 2016-07-07 2018-01-16 北京京东尚科信息技术有限公司 The distribution of application program installation kit and installation method and corresponding intrument
CN107885334A (en) * 2017-11-23 2018-04-06 联想(北京)有限公司 A kind of information processing method and virtual unit
US10372512B2 (en) 2016-09-30 2019-08-06 DeepAssist Inc. Method and apparatus for automatic processing of service requests on an electronic device
US10394577B2 (en) 2016-09-30 2019-08-27 DeepAssist Inc. Method and apparatus for automatic processing of service requests on an electronic device
CN110287162A (en) * 2019-06-03 2019-09-27 北京达佳互联信息技术有限公司 Content share method and device, electronic equipment and storage medium
CN112579264A (en) * 2019-09-30 2021-03-30 上海游昆信息技术有限公司 Application program jumping method, terminal and computer storage medium
CN113472861A (en) * 2018-09-30 2021-10-01 华为技术有限公司 File transmission method and electronic equipment
CN114048048A (en) * 2021-11-15 2022-02-15 Oppo广东移动通信有限公司 Information sharing method and device, electronic equipment and storage medium
CN114265641A (en) * 2021-12-14 2022-04-01 Oppo广东移动通信有限公司 Control method, electronic device, and computer-readable storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101611602A (en) * 2007-02-20 2009-12-23 斯凯普有限公司 Instant messaging activity notification
CN103179220A (en) * 2011-12-20 2013-06-26 腾讯科技(深圳)有限公司 Method and relevant system and device for sharing application program playing contents
CN103530221A (en) * 2012-07-02 2014-01-22 北京大学 Method for mapping procedure behavior and interface operation in Android system
CN103543990A (en) * 2012-07-09 2014-01-29 中兴通讯股份有限公司 Method for instructing user to operate terminal and terminal
CN103558959A (en) * 2013-10-31 2014-02-05 青岛海信移动通信技术股份有限公司 Window displaying method and device applied to Android platform
CN103581754A (en) * 2012-07-20 2014-02-12 腾讯科技(深圳)有限公司 Data display method and intelligent equipment
CN103617078A (en) * 2013-11-22 2014-03-05 北京奇虎科技有限公司 Method and device for managing active components
US20140075351A1 (en) * 2012-09-13 2014-03-13 Timothy E. Hansen Methods and apparatus for improving user experience
CN103942076A (en) * 2014-04-11 2014-07-23 珠海市君天电子科技有限公司 Integral wall information acquisition method and device
CN104050076A (en) * 2013-03-12 2014-09-17 阿里巴巴集团控股有限公司 Testing method, device and system of application software on mobile terminal
CN104375836A (en) * 2014-11-19 2015-02-25 深圳市腾讯计算机***有限公司 Method and device for showing lock screen window
CN104461264A (en) * 2014-12-11 2015-03-25 北京奇虎科技有限公司 Interaction interface generating method and device in mobile terminal browser

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101611602A (en) * 2007-02-20 2009-12-23 斯凯普有限公司 Instant messaging activity notification
CN103179220A (en) * 2011-12-20 2013-06-26 腾讯科技(深圳)有限公司 Method and relevant system and device for sharing application program playing contents
CN103530221A (en) * 2012-07-02 2014-01-22 北京大学 Method for mapping procedure behavior and interface operation in Android system
CN103543990A (en) * 2012-07-09 2014-01-29 中兴通讯股份有限公司 Method for instructing user to operate terminal and terminal
CN103581754A (en) * 2012-07-20 2014-02-12 腾讯科技(深圳)有限公司 Data display method and intelligent equipment
US20140075351A1 (en) * 2012-09-13 2014-03-13 Timothy E. Hansen Methods and apparatus for improving user experience
CN104050076A (en) * 2013-03-12 2014-09-17 阿里巴巴集团控股有限公司 Testing method, device and system of application software on mobile terminal
CN103558959A (en) * 2013-10-31 2014-02-05 青岛海信移动通信技术股份有限公司 Window displaying method and device applied to Android platform
CN103617078A (en) * 2013-11-22 2014-03-05 北京奇虎科技有限公司 Method and device for managing active components
CN103942076A (en) * 2014-04-11 2014-07-23 珠海市君天电子科技有限公司 Integral wall information acquisition method and device
CN104375836A (en) * 2014-11-19 2015-02-25 深圳市腾讯计算机***有限公司 Method and device for showing lock screen window
CN104461264A (en) * 2014-12-11 2015-03-25 北京奇虎科技有限公司 Interaction interface generating method and device in mobile terminal browser

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
李鲲鹏: "基于Android的即时通讯平台研究与实现", 《中国优秀硕士学位论文全文数据库(电子期刊)·信息科技辑》 *
秦凯文: "基于Wi-Fi Direct的音视频共享***的研究与实现", 《中国优秀硕士学位论文全文数据库(电子期刊)·信息科技辑》 *
黄现云: "基于Android平台电子阅读客户端的设计与实现", 《中国优秀硕士学位论文全文数据库(电子期刊)•信息科技辑》 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357600A (en) * 2016-05-10 2017-11-17 中兴通讯股份有限公司 Application sharing device and method
CN106211033A (en) * 2016-06-28 2016-12-07 北京小米移动软件有限公司 Data sharing method, device and electronic equipment
CN107589949A (en) * 2016-07-07 2018-01-16 北京京东尚科信息技术有限公司 The distribution of application program installation kit and installation method and corresponding intrument
US10372512B2 (en) 2016-09-30 2019-08-06 DeepAssist Inc. Method and apparatus for automatic processing of service requests on an electronic device
US10394577B2 (en) 2016-09-30 2019-08-27 DeepAssist Inc. Method and apparatus for automatic processing of service requests on an electronic device
CN107301242A (en) * 2017-07-03 2017-10-27 北京小米移动软件有限公司 Method, device and the storage medium of page jump
CN107517323B (en) * 2017-09-08 2019-12-24 咪咕数字传媒有限公司 Information sharing method and device and storage medium
CN107517323A (en) * 2017-09-08 2017-12-26 咪咕数字传媒有限公司 A kind of information sharing method, device and storage medium
CN107885334B (en) * 2017-11-23 2021-10-22 联想(北京)有限公司 Information processing method and virtual equipment
CN107885334A (en) * 2017-11-23 2018-04-06 联想(北京)有限公司 A kind of information processing method and virtual unit
CN113472861A (en) * 2018-09-30 2021-10-01 华为技术有限公司 File transmission method and electronic equipment
CN110287162A (en) * 2019-06-03 2019-09-27 北京达佳互联信息技术有限公司 Content share method and device, electronic equipment and storage medium
CN112579264A (en) * 2019-09-30 2021-03-30 上海游昆信息技术有限公司 Application program jumping method, terminal and computer storage medium
CN114048048A (en) * 2021-11-15 2022-02-15 Oppo广东移动通信有限公司 Information sharing method and device, electronic equipment and storage medium
CN114265641A (en) * 2021-12-14 2022-04-01 Oppo广东移动通信有限公司 Control method, electronic device, and computer-readable storage medium
WO2023109452A1 (en) * 2021-12-14 2023-06-22 Oppo广东移动通信有限公司 Control method, electronic device, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN104780209A (en) Portable equipment and server for realizing sharing interface scenario
CN104113787B (en) Based on the comment method of program, terminal, server and system
US11889014B2 (en) Method and apparatus for processing contact information using a wireless terminal
CN104219617B (en) Service acquisition method and device
JP6463463B2 (en) Service processing method, apparatus, and server
CN104462570B (en) Web page contents acquisition methods and device
CN109408132A (en) A kind of configuration file processing method and server, user terminal, storage medium
CN104243517A (en) Content sharing method and device used between different terminals
CN104935744A (en) Verification code display method, verification code display device and mobile terminal
CN108280692A (en) Reward distribution method, device, computer readable storage medium and terminal
CN104965848A (en) Front-end resource loading method and apparatus
CN103294515A (en) Method, device and system for acquiring application programs
CN104468463A (en) Verification method, verification device and verification system
CN101771676A (en) Setting and authentication method for cross-domain authorization and relevant device and system
CN104410680A (en) Method, client terminal, server and system of sharing file/file folder
CN105306199A (en) Identity verification method, device and system
CN112312222A (en) Video sending method and device and electronic equipment
CN103561063B (en) A kind of method of Register top box and terminal
CN105320885A (en) Method and device for detecting malicious website
CN103248697A (en) Information sharing method, system, browser and server
CN103841154A (en) Network media information publishing method, system and client
US10873643B2 (en) Unified content posting
CN103888505A (en) File transmission method and system, and terminal devices and servers
US20080313287A1 (en) E-mail publishing of photos to photo albums
CN106209584A (en) User profile processing method based on the Internet, client and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150715