CN106534096A - Method for master device to share user identity with slave device, master device, and slave device - Google Patents

Method for master device to share user identity with slave device, master device, and slave device Download PDF

Info

Publication number
CN106534096A
CN106534096A CN201610958184.1A CN201610958184A CN106534096A CN 106534096 A CN106534096 A CN 106534096A CN 201610958184 A CN201610958184 A CN 201610958184A CN 106534096 A CN106534096 A CN 106534096A
Authority
CN
China
Prior art keywords
identity
network
master device
user
device
Prior art date
Application number
CN201610958184.1A
Other languages
Chinese (zh)
Inventor
韩仕荣
Original Assignee
乐视控股(北京)有限公司
乐视移动智能信息技术(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 乐视控股(北京)有限公司, 乐视移动智能信息技术(北京)有限公司 filed Critical 乐视控股(北京)有限公司
Priority to CN201610958184.1A priority Critical patent/CN106534096A/en
Publication of CN106534096A publication Critical patent/CN106534096A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements or network protocols for addressing or naming
    • H04L61/20Address allocation
    • H04L61/2007Address allocation internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for supporting authentication of entities communicating through a packet data network
    • H04L63/083Network architectures or network communication protocols for network security for supporting authentication of entities communicating through a packet data network using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for supporting authentication of entities communicating through a packet data network
    • H04L63/0876Network architectures or network communication protocols for network security for supporting authentication of entities communicating through a packet data network based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to network resources

Abstract

The embodiments of the invention disclose a method for a master device to share user identity with a slave device, a master device, and a slave device, and belong to the technical field of network communication. The method comprises the following steps: obtaining network identity of a current master device access content provider server and the user identity; and sending the network identity and the user identity to the slave device through wireless network connection and/or a two-dimensional code, wherein the user identity comprises a user account and a password, and the network identity comprises an IP address of the master device on the Internet. According to the embodiments of the invention, multiple devices can be allowed to share one user account under the condition a content access monitoring mechanism that it is not allowed to use the same user account to log into the different devices in the same time period in the prior art is not changed.

Description

主设备向从设备分孚用户身份的方法、主设备和从设备 The method of the device from the master device to the user's identity sub Fu, the master and slave

技术领域 FIELD

[0001] 本发明涉及网络通信技术领域,特别涉及一种主设备向从设备分享用户身份的方法、主设备和从设备。 [0001] The present invention relates to network communication technology field, particularly to a method for the master device to share user identity from the device, the master and slave. 背景技术 Background technique

[0002] 随着互联网技术的发展,用户通过特定的身份信息登录内容提供网站,进行内容访问以及成为网络信息提供的重要方式。 [0002] With the development of Internet technology, to provide users with specific identity information log on content sites, content, and become an important way to access network information provided. 例如,用户购买视频内容提供网站的账号,通过付费的方式观看其提供的视频内容。 For example, a user account to purchase video content websites, watching video content provided by its way of payment.

[0003] 在实现本发明的过程中,发明人发现至少存在如下问题: [0003] During the implementation of the present invention, the inventor finds at least the following problems:

[0004] 用户在购买了账号后,容易将账号分享给多人使用,有时甚至采用将账号公开出售等蓄意盈利分享方式,由此给内容提供网站造成损失。 [0004] user account after purchase, easy to use people to share accounts, sometimes even deliberately using profit sharing method will be sold to the public accounts, etc., thereby providing site losses to the content. 为了防止蓄意分享,内容提供网站设置了内容访问监控机制,例如:不允许同一用户账号同一时间段内在不同的设备上登陆。 In order to prevent deliberate sharing, content providers set up a website content access control mechanisms, such as: landing does not allow the same user account in the same period of time on different devices. 该机制利用了互联网上的每一个网络和每一台主机的逻辑地址(因特网的公有IP地址)的全球唯一性。 This mechanism using the logical address (Internet public IP address) of each network on the Internet and each host is globally unique.

[0005] 然而,在某些情况下,例如为了鼓励用户购买账号,内容提供网站允许用户将购买的账号分享给亲朋好友使用,而不希望用户将账号公开出售等蓄意盈利分享方式时,不允许同一用户账号同一时间段内在不同的设备上登陆这种一刀切的内容访问监控机制便不能同时满足内容提供网站和用户的需求。 When the [0005] However, in some cases, for example in order to encourage users to buy accounts, a content provider site allows users to purchase account to share with friends and family use, do not want the user to account publicly for sale and other profit sharing deliberate way, are not allowed the same user account in the same period of landing such a sweeping content access control mechanisms on different devices can not meet the content and provides site users. 发明内容 SUMMARY

[0006] 本发明的目的是提供一种在不改变现有技术中不允许同一用户账号同一时间段内在不同的设备上登陆这一内容访问监控机制的前提下,允许多个设备之间共享一个用户账号的主设备向从设备分享用户身份的方法、主设备和从设备。 [0006] The object of the present invention is to provide a premise without changing the prior art does not allow the same user account login content access control mechanisms on different devices the same period of time, between a plurality of devices allowed to share user accounts to master ways to share user identity from the device, the master and slave.

[0007] 根据本发明实施例的一个方面,提供了一种主设备向从设备分享用户身份的方法,包括:获取当前主设备访问内容提供服务器的网络身份和用户身份;其中,所述用户身份包括用户账号和密码,所述网络身份包括所述主设备在因特网的IP地址;通过通过无线网络连接和/或二维码将所述网络身份和用户身份分享给从设备。 [0007] In accordance with one aspect of the present invention embodiment, a method from the master device to share user identity device, comprising: obtaining the current master device to access the content providing server network identity and user identity; and wherein the user identity including user IDs and passwords, the network identity comprises an IP address of the master device on the Internet; share from the device via a wireless network connection and / or two-dimensional code to the network identity and user identity.

[0008] 进一步,上述的方法,其中,网络身份还包括主设备的MAC地址和/或主设备在局域网的IP地址。 [0008] Further, the above-described method, wherein the network identity comprises a further IP address and MAC address of the master device / master device or the LAN.

[0009] 根据本发明实施例的另一个方面,提供了一种从设备与主设备共享用户身份的方法,包括:接收主设备分享的该主设备访问内容提供服务器的网络身份和用户身份;其中, 所述用户身份包括用户账号和密码,所述网络身份包括所述主设备在因特网的IP地址;建立与网络身份相同的虚拟网络身份;基于虚拟网络身份和用户身份访问内容提供服务器。 [0009] According to another aspect of embodiments of the present invention, there is provided a method for sharing user identity from a device with a host device, comprising: a master device receiving the master device sharing access to a content provider network identity and user identity server; wherein the user identity, including user IDs and passwords, including the identity of the network IP address of the master device in the Internet; establish a network identity of the same virtual network identity; to provide server-based virtual network identity and the identity of users accessing content.

[0010] 进一步,上述的方法,其中,接收主设备分享的该主设备访问内容提供服务器的网络身份和用户身份包括:与主设备建立无线网络连接,通过无线网络接收主设备分享的该主设备访问内容提供服务器的网络身份和用户身份;或扫描基于网络身份和用户身份生成的二维码,解析二维码得到网络身份和用户身份。 [0010] Further, the above-described method, wherein the receiving the master device sharing the master device to access the content providing server network identity and the user identity comprises: establishing the master device Wi-Fi, receiving a master device over the wireless network sharing the master device provide access to the content server's network identity and user identity; or scan-based network identity and the identity of the user-generated two-dimensional code, two-dimensional code parsing to get the network identity and user identity.

[0011] 进一步,上述的方法,其中,网络身份还包括主设备的MAC地址和/或主设备在局域网的IP地址。 [0011] Further, the above-described method, wherein the network identity comprises a further IP address and MAC address of the master device / master device or the LAN.

[0012] 根据本发明实施例的另一个方面,提供了一种主设备,包括:至少一个处理器,以及,与至少一个处理器通信连接的存储器;其中,存储器存储有可被一个处理器执行的指令,指令被至少一个处理器执行,以使得至少一个处理器能够:获取当前主设备访问内容提供服务器的网络身份和用户身份;其中,所述用户身份包括用户账号和密码,所述网络身份包括所述主设备在因特网的IP地址;通过无线网络连接和/或二维码将所述网络身份和用户身份分享给从设备。 [0012] According to another aspect of embodiments of the present invention, there is provided a host device, comprising: at least one processor and a processor in communication with the at least one memory is connected; wherein the memory stores may be executed a processor instructions, executed by at least one processor, such that the at least one processor to: obtain the current master device to access the content providing server network identity and user identity; and wherein the user identity comprises a user ID and password, the network identity the master device comprises an IP address in the Internet; connection sharing and / or two-dimensional code and the user identity to a network identity from the device over the wireless network.

[0013] 根据本发明实施例的另一个方面,提供了一种主设备,包括: [0013] According to another aspect of embodiments of the present invention, there is provided a host device, comprising:

[0014] 身份获取模块,用于获取当前主设备访问内容提供服务器的网络身份和用户身份;其中,所述用户身份包括用户账号和密码,所述网络身份包括所述主设备在因特网的IP 地址; [0014] identification obtaining module, configured to obtain the current master device to access the content providing server network identity and user identity; and wherein the user identity comprises a user ID and password, the network identity comprises an IP address of the master device on the Internet ;

[0015] 分享模块,用于通过无线网络连接和/或二维码将所述网络身份和用户身份分享给从设备。 [0015] sharing module for sharing to the network via a wireless connection and / or two-dimensional code to the network from the equipment identity and user identity.

[0016] 进一步,上述的主设备,所述分享模块包括:第一无线网络模块,用于与从设备建立无线网络连接,通过无线网络将网络身份和用户身份发送给从设备;和/或二维码生成模块,用于基于网络身份和用户身份生成二维码,显示所述二维码。 [0016] Further, the above master device, said shared module comprises: a first wireless network module for establishing a wireless connection from a network device, and sends the user identity to a network identity from the wireless network device; and / or two dimensional code generating module for generating two-dimensional code based network identity and user identity, to display the two-dimensional code.

[0017] 进一步,上述的主设备,其中,网络身份还包括主设备的MAC地址和/或主设备在局域网的IP地址。 [0017] Further, the above master device, wherein the master device further comprises a network identity of the MAC address and / or IP address of the master device on the LAN.

[0018] 根据本发明实施例的另一个方面,提供了一种从设备,包括:至少一个处理器,以及,与至少一个处理器通信连接的存储器;其中,存储器存储有可被一个处理器执行的指令,指令被至少一个处理器执行,以使得至少一个处理器能够:接收主设备分享的该主设备访问内容提供服务器的网络身份和用户身份;其中,所述用户身份包括用户账号和密码,所述网络身份包括所述主设备在因特网的IP地址;建立与网络身份相同的虚拟网络身份;基于虚拟网络身份和用户身份访问内容提供服务器;。 [0018] According to another aspect of embodiments of the present invention, there is provided a slave device, comprising: at least one processor and a processor in communication with the at least one memory is connected; wherein the memory stores may be executed a processor instructions, executed by at least one processor, such that the at least one processor to: receive a master device sharing access to the master device provides the content network identity and user identity server; wherein the user identity comprises a user ID and password, the network includes the identity of the IP address of the master device in the Internet; establish a network identity of the same virtual network identity; to provide server-based virtual network identity and the identity of users accessing content;.

[0019] 根据本发明实施例的另一个方面,提供了一种从设备,包括: [0019] According to another aspect of embodiments of the present invention, there is provided a slave device, comprising:

[0020] 接收模块,用于接收所述主设备分享的该主设备访问内容提供服务器的网络身份和用户身份;其中,所述用户身份包括用户账号和密码,所述网络身份包括所述主设备在因特网的IP地址; [0020] a receiving module configured to receive the content of the main host device to access sharing network providing server device identity and the user identity; wherein the user identity comprises a user ID and password, the network identity of the master device comprises IP address in the Internet;

[0021] 身份虚拟模块,用于建立与所述网络身份相同的虚拟网络身份; [0021] The virtual identity module, for establishing the same network identity with the identity of the virtual network;

[0022] 访问模块,用于基于所述虚拟网络身份和用户身份访问所述内容提供服务器。 [0022] The access module for accessing the content providing server based on the virtual network identity and user identity.

[0023] 进一步,上述的从设备,其中,所述接收模块包括:第二无线网络模块,用于与主设备建立无线网络连接,通过无线网络接收主设备分享的该主设备访问内容提供服务器的网络身份和用户身份;和/或二维码解析模块,用于扫描基于网络身份和用户身份生成的二维码,解析二维码得到网络身份和用户身份。 [0023] Further, from the above-mentioned apparatus, wherein said receiving module comprises: a second wireless network module for establishing a wireless network connection with the master device, the master device receives via the wireless network to share access to the main content providing server device network identity and user identity; and / or two-dimensional code parsing module for scanning a user identity-based network identity and the generated two-dimensional code, the two-dimensional code is parsed to obtain the identity of the network and user.

[0024] 进一步,上述的从设备,其中,网络身份还包括主设备的MAC地址和/或主设备在局域网的IP地址。 [0024] Further, from the above-described apparatus, wherein the master device further comprises a network identity of the MAC address and / or IP address of the master device on the LAN.

[0025] 根据本发明实施例的又一方面,提供了一种非暂态计算机可读存储介质,非暂态计算机可读存储介质存储计算机指令,计算机指令用于使计算机执行上述任一项方法。 [0025] Example embodiments of the present invention further aspect, there is provided a non-transitory computer-readable storage medium, a non-transitory computer-readable storage medium storing computer instructions, computer instructions for causing a computer to any preceding method .

[0026] 根据本发明实施例的又一方面,提供了一种计算机程序产品,计算机程序产品包括存储在非暂态计算机可读存储介质上的计算程序,计算机程序包括程序指令,当程序指令被计算机执行时,使计算机执行上述任一项的方法。 [0026] According to still another embodiment of the invention aspect, there is provided a computer program product, a computer-readable program product comprising computer program stored on a non-transitory computer storage medium, the computer program comprising program instructions which, when program instructions when a computer to perform the computer-implemented method of any of the above.

[0027] 本发明实施例的有益效果在于,因为采用了主设备将其访问内容提供服务器的网络身份和用户身份通过与从设备连接的局域网分享给从设备,从设备基于虚拟IP技术建立与网络身份相同的虚拟网络身份,并通过该虚拟网络身份和用户身份访问内容提供服务器,所以克服了在现有技术中内容提供网站设置的不允许同一用户账号同一时间段内在不同的设备上登陆的内容访问监控机制下,购买用户账号的用户不能实现在小范围内将该用户账号分享给多人使用的技术问题,进而达到了优化内容访问监控机制的技术效果。 [0027] Advantageous effects of the embodiments of the present invention is that, because the use of the master device to access the content providing network identity and the user identity of the server by sharing a slave device connected to a local area network from the device, the device to establish based on the virtual IP technology from the network the identity of the same virtual network identity, and provide the server through the virtual network identity and the identity of users accessing content, so to overcome the content of the landing site set provided in the content of the prior art does not allow the same user account in the same period of time on different devices under access control mechanism, purchase user account user can not be achieved in a small area to share the user account to use than technical problems, thus achieving optimized content access control mechanisms technical effect. 附图说明 BRIEF DESCRIPTION

[0028] 图1是本发明第一实施例提供的一种主设备向从设备分享用户身份方法的流程图; [0028] FIG. 1 is a flowchart showing master device to share user identity from a method according to a first embodiment of the present invention;

[0029] 图2是本发明第四实施例提供的一种从设备与主设备共享用户身份的方法的流程图;[〇〇3〇]图3是本发明第五实施例提供的主设备的硬件结构示意图; [0029] FIG 2 is a flowchart illustrating the method of sharing a fourth one kind of user identity device and the master device embodiment of the present invention is provided; [〇〇3〇] FIG. 3 is a front device provided in the fifth embodiment of the present invention a schematic view of a hardware configuration;

[0031]图4是本发明第六实施例提供的从设备的硬件结构示意图。 [0031] FIG. 4 is a hardware configuration schematic diagram of a sixth embodiment of the apparatus of the present invention is provided. 具体实施方式[〇〇32] 为使本发明的目的、技术方案和优点更加清楚明了,下面结合具体实施方式并参照附图,对本发明进一步详细说明。 DETAILED DESCRIPTION [〇〇32] For purposes of the present invention, technical solutions and advantages more apparent, the following embodiments and with reference to specific embodiment with reference to the accompanying drawings, the present invention is described in further detail. 应该理解,这些描述只是示例性的,而并非要限制本发明的范围。 It should be understood that these descriptions are exemplary only, and are not intended to limit the scope of the invention. 此外,在以下说明中,省略了对公知结构和技术的描述,以避免不必要地混淆本发明的概念。 In the following description, description is omitted for well-known structures and techniques, in order to avoid unnecessarily obscuring the concepts of the present invention.

[0033] 本发明实施例公开了一种主设备向从设备分享用户身份的方法、主设备、从设备以及为主设备和从设备提供内容的服务器。 Example discloses a method to share the device from the user's identity, the master device, the slave device and the master device and the server apparatus for providing content from a master device [0033] of the present invention. 在本发明实施例中,主设备与从设备建立无线网络连接,主设备将其访问内容提供服务器的服务器的网络身份和用户身份发送给从设备,从设备建立与该络身份相同的虚拟网络身份;并基于虚拟网络身份和用户身份访问该内容提供服务器;从而实现了在不改变现有技术中不允许同一用户账号同一时间段内在不同的设备上登陆的内容访问监控机制下,实现在小范围内多台设备共享一个用户身份。 Network identity and the user identity in the embodiment of the present invention, the main device is connected to establish a wireless network from the device, the master device to access the content providing server in the server is transmitted to the slave device, built from the device the same as the network identity of a virtual network identity ; and virtual network access based on user identity and the identity of the content providing server; in order to achieve without changing the existing technology does not allow content access control mechanisms under the same user account logged in the same period of time on different devices to achieve on a small scale within multiple devices to share a user's identity. 以下分别进行详细说明:[〇〇34] 请参阅图1,图1是本发明第一实施例提供的一种主设备向从设备分享用户身份方法的流程图。 Are hereinafter described in detail: [〇〇34] Please refer to FIG. 1, FIG. 1 is a flowchart showing master device to share user identity from a method according to a first embodiment of the present invention. 其中,图1所示的主设备向从设备分享用户身份方法可以适用于智能手机(如Android手机、1S手机等)、平板电脑、掌上电脑以及移动互联网设备MobileInternetDevices,MID)、PAD等电子设备中。 Wherein, the master device shown in FIG user identity from the device to share the method may be applied to smart phone (e.g., Android mobile phone, 1S phone, etc.), tablet PCs, PDAs and mobile Internet devices MobileInternetDevices, MID), PAD and other electronic equipment . 如图1所示,该方法可以包括以下步骤: [〇〇35] 101、获取当前主设备访问内容提供服务器的网络身份和用户身份。 As shown in FIG 1, the method may comprise the steps of: [〇〇35] 101 acquires the current master device to access the content providing server network identity and the user's identity. [〇〇36] 本发明实施例中,主设备和从设备可以是智能手机(如Android手机、1S手机等)、 平板电脑、掌上电脑以及移动互联网设备此13;[1611^61116七〇6¥;^68,]\00)、? [〇〇36] embodiment of the present invention, the master device and the slave device can be a smart phone (e.g., Android mobile phone, 1S phone, etc.), tablet PCs, PDAs and mobile Internet devices of this 13; [1611 ¥ ^ 61116 seven 〇6 ; ^ 68] \ 00) ,? 40等电子设备, 主设备为主动发起分享的电子设备,从设备为被动接收的电子设备,主设备与从设备的命名是依据使用场景的区分,并不用来限制本发明的保护范围。 40 and other electronic devices, the master device to initiate sharing electronic device from the electronic device is a passive device received from the master device and the device name is based on the use of scene distinction, are not intended to limit the scope of the present invention.

[0037] 内容提供服务器为内容提供网站的服务器,其用于提供内容。 [0037] The content providing server to provide content for the site server for providing content. 内容包括视频文件、 音频文件以及本文文件等。 Content includes video files, audio files and paper files.

[0038] 用户身份由用户通过主设备输入并存储在主设备的存储器中。 [0038] User Identity by the user and stored in memory in the master device through the master input device. 用户身份包括用户账号和密码;其中,用户账号为用户预先通过向内容提供服务器注册而获得,密码为用户在获得用户账号后自定义设置。 User identity, including user IDs and passwords; wherein a user account for the user in advance achieved by providing the content registration server, the password for the user to get a custom user account settings. [〇〇39] 网络身份包括主设备在因特网的IP地址。 [〇〇39] network identity, including IP address of the master device in the Internet. IP为Internet Protocol的缩写,即因特网的网络之间的协议。 IP is an abbreviation for Internet Protocol, that the agreement between the Internet network. IP地址是因特网上的设备一个编号,具有全球唯一性。 IP address of the device is a number on the Internet, globally unique.

[0040] 当用户通过当前主设备通过因特网访问访问内容提供服务器时,需要通过主设备输入预先注册的用户账号和预先设置的密码,主设备通过因特网将用户账号和密码发送至内容提供服务器,内容提供服务器验证用户账号和密码正确后为所述主设备提供内容。 [0040] When the user of the current master device providing server accessible via the Internet to access the content, need to master input previously registered user ID and password, the master device is set in advance to the user account number and password are sent over the Internet to the content providing server, content providing server user account and authentication password is correct offers to the master device.

[0041] 102、通过无线网络连接和/或二维码将网络身份和用户身份发送给从设备。 [0041] 102, the connection and / or two-dimensional code through the wireless network transmits network identity and user identity to the slave.

[0042] 具体的,当主设备收到用户触发的分享指令时,将网络身份和用户身份发送给从设备。 [0042] Specifically, when the master device receives the sharing instruction triggered by the user, and sends the user identity to a network identity from the device. [〇〇43] 在本发明第二实施例提供的一种主设备向从设备分享用户身份方法中,在上述第一实施例的基础上,所述将网络身份和用户身份发送给从设备包括以下步骤11或步骤21: [〇〇43] A master apparatus in the second embodiment of the present invention to provide a device to share user identity from the method, based on the above-described first embodiment, the network sends the identity and user identity to the slave device comprises 11 or step 21 following steps:

[0044] 11、与从设备建立无线网络连接,通过无线网络将网络身份和用户身份发送给从设备。 [0044] 11, establishing a wireless connection from a network device, and sends the user identity to a network identity from the device over the wireless network. 在本发明实施方式中主设备与从设备建立无线网络连接的方式具有多样性,例如,可以是基于蓝牙(Bluetooth)、W1-FI热点、W1-FI直连、近场通信(NFC,Near Field Communicat1n)、紫峰(ZigBee)中任一种方式建立无线网络连接。 Way to build the master device and a slave device connected to a wireless network having a diversity of embodiments of the present invention, for example, may be based on Bluetooth (Bluetooth), W1-FI hot spot, W1-FI direct, near field communication (NFC, Near Field Communicat1n), ZigBee (the ZigBee) in any way to establish a wireless network connection. 主设备与从设备基于W1-FI热点建立无线网络连接包括:主设备建立WIFI热点;从设备接入所述WIFI热点。 Establishing a wireless connection with the master device from the network device based on W1-FI hot spot comprising: establishing a master device WIFI hotspots; WIFI hotspots from the access device. [〇〇45] 12、基于网络身份和用户身份生成二维码,显示二维码。 [〇〇45] 12, generate two-dimensional code based network identity and user identity, display two-dimensional code. 在本实施方式中,主设备在获取网络身份和用户身份后,基于网络身份和用户身份生成二维码,并显示该二维码。 In the present embodiment, the master device after obtaining network identity and the user identity, user identity-based network identity and generate two-dimensional code and displays the two-dimensional code.

[0046] 在本发明第三实施例提供的一种主设备向从设备分享用户身份方法中,在上述第一或第二实施例的基础上,网络身份还包括主设备的MAC地址和/或所述主设备在局域网的IP地址。 [0046] An embodiment of a master device in a third embodiment of the present invention to provide a device to share user identity from the method, based on the first or second embodiment, the network identity comprises a MAC address of the master device further and / or the IP address of the master device on the LAN.

[0047] MAC (Media Access Control或者Medium Access Control)地址,意译为媒体访问控制,或称为物理地址、硬件地址,用来定义网络设备的位置。 [0047] MAC (Media Access Control or a Medium Access Control) address, a media access control for the translation, or called a physical address, hardware address, used to define the location of a network device. 在0SI模型中,第三层网络层负责IP地址,第二层数据链路层则负责MAC地址。 In 0SI model, the third layer of the network layer is responsible for the IP address, the second layer is the data link layer is responsible for MAC address. 因此一个主机会有一个MAC地址,而每个网络位置会有一个专属于它的IP地址。 Thus there is a MAC address of a host, and each will have a network location its exclusive IP address. MAC地址是网卡决定的,是固定的。 MAC address of the network card is determined, is fixed.

[0048] IP地址又分为公网IP和私网IP,访问因特网需要公网IP作为身份的标识,而私网IP则用于局域网,在公网上是不能使用私网IP地址来实现互联网访问的。 [0048] IP address is divided into public IP and private IP, Internet access requires public IP as a logo identity, while private IP is used on a LAN, you can not use the public Internet is private IP addresses to achieve Internet access of. 公网IP在全球内是唯一的。 Public IP is unique in the world. 也就是说在同一时间一个IP (除了一些特别的IP,如:154.0.0.0等)只代表一能设备,所以通只要找得到IP,也就可以找到特定的设备了。 That is at the same time a IP (except for some special IP, such as: 154.0.0.0, etc.) can represent a device, so long as the find through IP, it can find a specific device. 如果A是公网IP,且没有防火墙等Ban连接的话,那么B电脑上的EM就可以找并连接上A 了。 If A is a public network IP, and there is no firewall Ban connected, then the EM B computer can find and connect the A. 私网IP是专门给一些局域网内用的。 Private IP is designed for use within a number of local area network. 也就是说在网络上是不唯一的,公网上是不能通这个私有IP来找到对应的设备的。 That is not unique on the network, not the public Internet through this private IP to find the corresponding devices.

[0049] 对于有些内容提供网站,为了实现不允许同一用户账号同一时间段内在不同的设备上登陆,其设置的内容访问监控机制中,不仅仅设置了不允许同一用户账号同一时间段内在不同公网IP地址(设备在因特网上的全球唯一编号)的设备上登陆,而且设置了不允许同一用户账号同一时间段内在同一公网IP地址中的不同私网IP地址的设备上登陆。 [0049] provide some content for the site, in order to achieve the same user account login is not allowed in the same period of time on different devices, content access control mechanisms set in, not only set up in different public does not allow the same user account the same time period Log on IP network address (device globally unique number on the Internet) equipment, and set up on the device in the same public IP addresses in different private networks do not allow the same user account IP address the same period of landing. 针对这种情况,网络身份还包括主设备在局域网的IP地址。 In response, the network also includes the identity of the IP address of the master device in the LAN.

[0050] 对于有些内容提供网站,为了实现不允许同一用户账号同一时间段内在不同的设备上登陆,其设置的内容访问监控机制中,不仅仅设置了不允许同一用户账号同一时间段内在不同公网IP地址(设备在因特网上的全球唯一编号)的设备上登陆,而且设置了不允许同一用户账号同一时间段内在同一公网IP地址中的不同MAC地址的设备上登陆。 [0050] provide some content for the site, in order to achieve the same user account login is not allowed in the same period of time on different devices, content access control mechanisms set in, not only set up in different public does not allow the same user accounts in the same time period Log on IP network address (device globally unique number on the Internet) equipment, and set up the device on a different MAC address does not allow the same user account the same time period in the same public IP address of the landing. 针对这种情况,网络身份还包括主设备的MAC地址。 For this case, the network identity comprises a MAC address of the further master device.

[0051] 请参阅图2,图2是本发明第四实施例提供的一种从设备与主设备共享用户身份的方法的流程图。 [0051] Please refer to FIG. 2, FIG. 2 is a fourth embodiment of the present invention provides a flow chart of the method for sharing user identity device and the master device. 其中,图2所示的从设备与主设备共享用户身份的方法可以适用于智能手机(如Android手机、1S手机等)、平板电脑、掌上电脑以及移动互联网设备MobileInternetDevices,MID)、PAD等电子设备中。 Wherein the method from FIG shared user device and the master device shown in FIG. 2 may be applied to smart phone (e.g., Android mobile phone, 1S phone, etc.), tablet PCs, PDAs and mobile Internet devices MobileInternetDevices, MID), PAD and other electronic equipment in. 如图2所示,该方法可以包括以下步骤: [〇〇52] 201、接收主设备分享的该主设备访问内容提供服务器的网络身份和用户身份。 2, the method may comprise the steps of: [〇〇52] 201, the master device receiving the master device to access the shared content providing server network identity and the user's identity. [〇〇53] 本发明实施例中,主设备和从设备可以是智能手机(如Android手机、1S手机等)、平板电脑、掌上电脑以及移动互联网设备此13;[1611^61116七〇6¥;^68,]\00)、? [〇〇53] embodiment of the present invention, the master device and the slave device can be a smart phone (e.g., Android mobile phone, 1S phone, etc.), tablet PCs, PDAs and mobile Internet devices of this 13; [1611 ¥ ^ 61116 seven 〇6 ; ^ 68] \ 00) ,? 40等电子设备, 主设备为主动发起分享的电子设备,从设备为被动接收的电子设备,主设备与从设备的命名是依据使用场景的区分,并不用来限制本发明的保护范围。 40 and other electronic devices, the master device to initiate sharing electronic device from the electronic device is a passive device received from the master device and the device name is based on the use of scene distinction, are not intended to limit the scope of the present invention.

[0054] 内容提供服务器为内容提供网站的服务器,其用于提供内容。 [0054] The content providing server to provide content for the site server for providing content. 内容包括视频文件、 音频文件以及本文文件等。 Content includes video files, audio files and paper files.

[0055] 用户身份由用户通过主设备输入并存储在主设备的存储器中。 [0055] User Identity by the user and stored in memory in the master device through the master input device. 用户身份包括用户账号和密码;其中,用户账号为用户预先通过向内容提供服务器注册而获得,密码为用户在获得用户账号后自定义设置。 User identity, including user IDs and passwords; wherein a user account for the user in advance achieved by providing the content registration server, the password for the user to get a custom user account settings. [〇〇56] 网络身份包括主设备在因特网的IP地址。 [〇〇56] network identity, including IP address of the master device in the Internet. IP为Internet Protocol的缩写,即因特网的网络之间的协议。 IP is an abbreviation for Internet Protocol, that the agreement between the Internet network. IP地址是因特网上的设备一个编号,具有全球唯一性。 IP address of the device is a number on the Internet, globally unique.

[0057] 当用户通过当前主设备通过因特网访问访问内容提供服务器时,需要通过主设备输入预先注册的用户账号和预先设置的密码,主设备通过因特网将用户账号和密码发送至内容提供服务器,内容提供服务器验证用户账号和密码正确后为所述主设备提供内容。 [0057] When the user of the current master device providing server accessible via the Internet to access the content, need to master input previously registered user ID and password, the master device is set in advance to the user account number and password are sent over the Internet to the content providing server, content providing server user account and authentication password is correct offers to the master device. [〇〇58] 202、建立与网络身份相同的虚拟网络身份。 [〇〇58] 202, to establish the identity of the network the same virtual network identity.

[0059] 本发明实施例中,从设备基于虚拟IP技术建立与网络身份相同的虚拟网络身份。 Embodiment, the device establishes a virtual IP-based network identity from the same virtual network identity embodiment [0059] of the present invention. 从设备本身在接入英特网时具有其真实的网络身份, From the device itself has its true identity when accessing the Internet network,

[0060] 虚拟IP地址就是一个未分配给从设备的IP,也就是说在从设备有了虚拟网络身份之后,除了有一个真实IP地址外还有一个虚拟IP地址,使用这两个IP中的任意一个都可以连接到这台从设备。 [0060] a virtual IP address is not assigned to the IP devices, that is to say after the device has a virtual network identity, in addition to a real external IP address and a virtual IP address, use both the IP any of which can be connected to a slave device. 虚拟IP地址是一个不与特定计算机或一个计算机中的网络接口卡(NIC)相连的IP地址。 Virtual IP address is the IP address of a computer not connected to a particular computer or a network interface card (NIC). 数据包被发送到这个虚拟IP地址,但是所有的数据还是经过真实的网络接口。 Data packets are sent to the virtual IP address, but all the data or through real network interfaces. 现有技术中,虚拟IP地址大部分用于连接冗余;一个虚拟IP地址也可能在一台计算机或NIC发生故障时可用,交由另一个可选计算机或NIC响应连接。 In the prior art, most of the virtual IP address for connection redundancy; a virtual IP address may also be used in case of a machine failure or NIC, or NIC handed over to another in response to optional computer connection. 虚拟IP地址的例子如:一个Loopback (无电路IP地址)作为不与在主机或路由器中任何一个特定接口(或电路)相关的IP地址。 Examples of such virtual IP address: a Loopback (no circuit IP address) as the IP address does not any one particular interface (or circuits) associated with the host or router.

[0061] 203、基于虚拟网络身份和用户身份访问内容提供服务器。 [0061] 203, provide server-based virtual network identity and the identity of users accessing content.

[0062] 本发明实施例中,在建立与网络身份相同的虚拟网络身份后,将从设备的网络配置由原来真实的网络身份更改为虚拟网络身份,从而实现在访问内容提供服务器时,以该虚拟网络身份与内容提供服务器进行数据传输。 [0062] In the practice of the present invention, after establishing the identity of a network identity of the same virtual network, the network configuration from the network equipment from the original real identity changing the identity of the virtual network, thereby realizing the content providing server access to the virtual network identity and content providing server for data transmission.

[0063] 内容提供服务器在接收到该虚拟网络身份的从设备发送的用户身份后,将其与预设的内容访问监控机制中的网络身份和用户身份进行比对,如果比对通过,则向该从设备提供内容。 [0063] The content providing server after receiving the virtual network identity of the user identity sent from the device, which was aligned with the predefined network user identity and the identity of content access control mechanisms, if the comparison is passed, then the the equipment provided from the content.

[0064] 以下通过一个具体的应用场景对本发明实施例进行详细说明。 [0064] hereinafter be described in detail by a specific application scenario of the embodiment of the present invention.

[0065] 某视频网站的内容访问监控机制为不允许同一用户账号同一时间段内在不同的设备上登陆。 [0065] content access control mechanism a video Web site for the same period of time does not allow the same user account login on different devices. A用户在手机(主设备)上输入其预先在该视频网站上注册的用户身份和密码, 从而连接到该视频网站的服务器,观看视频。 A user enters a user ID and password that pre-registered on the video site on the phone (master) to connect to the server the video site, watch the video. 当A用户欲将该用户身份分享给B用户,使得B 用户也能通过其手机(从设备)观看该视频网站的视频时。 When A user want to share the identity of the user B to the user so that the user B but also through their mobile phones (slave) Watch video of the video sites. A用户在主设备上触发了分享指令,主设备获取当前主设备访问该视频网站服务器的网络身份和用户身份,并基于网络身份和用户身份生成二维码,主设备在显示屏幕上显示二维码,从设备扫描该二维码并解析, 从而获得网络身份和用户身份,之后,从设备建立与网络身份相同的虚拟网络身份,基于虚拟网络身份和用户身份连接到该视频网站的服务器,观看视频。 A user trigger on the master device to share command, the master device obtains the current master device to access the video server's network identity and the identity of the user, and generates a two-dimensional code based network identity and the identity of the user, the master device displays a two-dimensional display on the screen code from the two-dimensional code scanning device and resolution, thereby obtaining network identity and user identity, then, to establish the identity of the same virtual network identity from network devices connected to the server of the video site based on user identity and the identity of the virtual network to watch video.

[0066] 参阅图3,图3是本发明第五实施例提供的主设备的硬件结构示意图。 [0066] Referring to FIG. 3, FIG. 3 is a schematic view of a hardware configuration of the main apparatus according to a fifth embodiment of the present invention is provided. 其中,图3所示的主设备可以是智能手机(如Android手机、1S手机等)、平板电脑、掌上电脑以及移动互联网设备此13;[1611^61116七〇6¥;^6 8,]\00)、? Wherein, the master device shown in FIG. 3 may be a smart phone (e.g., Android mobile phone, 1S phone, etc.), tablet PCs, PDAs and mobile Internet devices of this 13; [1611 61116 seven 〇6 ^ ¥; ^ 6 8,] \ 00) ,? 40等电子设备。 40 and other electronic equipment. 如图3所示,该主设备包括:一个或多个处理器20以及存储器10,图3中以一个处理器20为例。 As shown in FIG. 3, the master device comprising: one or more processors 20 and a memory 10, a processor 3 in FIG. 20 as an example.

[0067] 该主设备还可以包括:输入装置30和输出装置40。 [0067] The master device may further comprise: an input device 30 and output device 40. [〇〇68] 处理器20、存储器10、输入装置30和输出装置40可以通过总线或其他方式连接,图3中以通过总线连接的方式为例。 [〇〇68] processor 20, a memory 10, an input device 30 and output device 40 can be connected via a bus or other means, to FIG. 3, by way of example a bus connection.

[0069] 本领域技术人员可以理解,图3中示出的主设备的结构并不构成对本发明实施例的限定,它既可以是总线形结构,也可以是星型结构,还可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。 [0069] Those skilled in the art will be appreciated, the structure of FIG. 3 the master device illustrated embodiments do not limit the embodiment of the present invention, It may be a bus-like structure, star structure may be, may comprise further than FIG. shows more or fewer components, or a combination of some of the components, or a different arrangement of components. [0〇7〇] 处理器20可以由集成电路(IntegratedCircuit,简称1C)组成,例如可以由单颗封装的1C所组成,也可以由连接多颗相同功能或不同功能的封装1C而组成。 [0〇7〇] The processor 20 may be an integrated circuit (integratedcircuit, referred 1C) composed of, for example, consist 1C single package, it may be connected to multiple pieces of the same function or different functions of the package 1C and composition. 举例来说,处理器20可以仅包括中央处理器20 (CentralProcessingUnit,简称CPU),也可以是CPU、数字信号处理器20 (digitalsignalprocessor,简称DSP)、图形处理器20 (GraphicProcessingUnit, 简称GPU)及各种控制芯片的组合。 For example, the processor 20 may include only a central processor 20 (CentralProcessingUnit, referred to as the CPU), may be a CPU, digital signal processor 20 (DigitalSignalProcessor, referred to as the DSP), graphic processor 20 (GraphicProcessingUnit, referred to as GPU) and each a combination of types of control chip. 在本发明实施方式中,CPU可以是单运算核心,也可以包括多运算核心。 In an embodiment of the present invention, the CPU may be a single core operation may include multiple processor cores.

[0071] 存储器10作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序、非暂态计算机课执行程序以及模块。 [0071] The memory 10 as a non-transitory computer-readable storage medium may be a software program for storing non-transient, non-transitory computer program execution and a module class. 处理器20通过运行存储在存储器10的非暂态软件程序、 指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例列表项操作的处理方法。 The processor 20 in the memory non-transitory software program, and a module 10 instructions to various functional applications and data processing executed by the server storing operation, i.e., the processing method according to the above method of operation list item embodiment.

[0072] 存储器10可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、 至少一个功能所需要的应用程序;在本发明实施例中,操作系统可以是Android系统、1S系统或Windows操作系统等等。 [0072] The memory 10 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, applications, the at least one desired function; In an embodiment of the present invention, the operating system may be Android system, 1S system or Windows operating systems. 存储数据区可存储依据列表项操作的处理装置的使用所创建的数据等。 The data storage area may store data using the processing apparatus according to a list of items and the like created by the operation. 此外,存储器10可以包括高速随机存取存储器10,还可以包括非暂态存储器10, 例如至少一个磁盘存储器10件、闪存器件、或者其他非暂态固态存储器10件。 Further, the memory 10 may include high-speed random access memory 10, it may also include non-transitory memory 10, for example at least a 10 disk storage 10, flash memory device, solid state memory or other non-transitory. 在一些实施例中,存储器10可选包括相对于处理器20远程设置的存储器10,这些远程存储器10可以通过网络连接至列表项操作的处理装置。 In some embodiments, the memory 10 optionally comprises a processor 20 with respect to the remotely located memory 10, the memory 10 may be connected to the remote processing device operated by a network entry list. 上述网络的实施例包括但不限于互联网、企业内部网、 局域网、移动通信网及其组合。 The embodiments described above include but are not limited to the network the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof. [〇〇73] 输入装置30可接收用户输入的数字或字符信息,以及产生与列表操作的处理装置的用户设置以及功能控制有关的键信号输入。 [〇〇73] The input device 30 may receive a user input number or character information, and the user processing apparatus is provided with a list generating operation, and a control function related to the key signal input. 输入装置30可以包括触摸屏、键盘等,也可以包括有线接口、无线接口等。 The input device 30 may include a touch screen, keyboard, etc., may also include a wired interface, a wireless interface. 输出装置40可包括显示屏、扬声器等设备,也可以包括有线接口、无线接口等。 Output device 40 may include a display screen, speaker, etc., may also include a wired interface, a wireless interface.

[0074] 在本发明实施例中,主设备包括身份获取模块和分享模块。 [0074] In an embodiment of the present invention, the main device includes an acquisition module and share identity module. 其中,身份获取模块, 用于获取当前主设备访问内容提供服务器的网络身份和用户身份。 Among them, the identity acquisition module for acquiring the current master device to provide access to the content network user identity and the identity of the server. 分享模块,用于通过无线网络连接和/或二维码将所述网络身份和用户身份分享给从设备。 Sharing means for sharing a wireless network connection and / or two-dimensional code to the network from the equipment identity and user identity. 身份获取模块和分享模块存储在存储器10中,当被所述一个或多个处理器20执行时,执行前述实施例中任一项主设备向从设备分享用户身份的方法。 Identity acquisition module and a sharing module stored in the memory 10, when the one or more processors 20 are performed method an apparatus according to any of sharing primary user identity from the device to the embodiment.

[0075] 具体地,分享模块包括:第一无线网络模块和/或二维码生成模块。 [0075] In particular, the sharing module comprising: a first wireless network module and / or two-dimensional code generating module. 其中,第一无线网络模块,用于与从设备建立无线网络连接,通过无线网络将网络身份和用户身份发送给从设备。 Wherein the first wireless network module for establishing a wireless network connection, and transmits the user identity to a network identity from the device over a wireless network device. 二维码生成模块,用于基于网络身份和用户身份生成二维码,显示二维码。 2D bar code generating module for generating two-dimensional code based network identity and user identity, display two-dimensional code. [〇〇76] 参阅图4,图4是本发明第六实施例提供的从设备的硬件结构示意图。 [〇〇76] Referring to FIG. 4, FIG. 4 is a hardware configuration schematic diagram of a sixth embodiment of the apparatus of the present invention is provided. 其中,图4所示的从设备可以是智能手机(如Android手机、1S手机等)、平板电脑、掌上电脑以及移动互联网设备此13;[1611^61116七〇6¥;^68,]\00)、? Wherein the apparatus may be shown from FIG. 4 Smartphone (e.g. Android mobile phone, 1S phone, etc.), tablet PCs, PDAs and mobile Internet devices of this 13; [1611 61116 seven 〇6 ^ ¥; ^ 68,] \ 00 ) ,? 40等电子设备。 40 and other electronic equipment. 如图4所示,该从设备包括:一个或多个处理器20以及存储器10,图4中以一个处理器20为例。 4, the slave device comprising: one or more processors 20 and a memory 10, a processor 4 in FIG. 20 as an example.

[0077] 该从设备还可以包括:输入装置30和输出装置40。 [0077] The slave device may further comprise: an input device 30 and output device 40. [〇〇78] 处理器20、存储器10、输入装置30和输出装置40可以通过总线或其他方式连接,图4中以通过总线连接的方式为例。 [〇〇78] processor 20, a memory 10, an input device 30 and output device 40 can be connected via a bus or other means, to FIG. 4 by way of example a bus connection.

[0079] 本领域技术人员可以理解,图4中示出的从设备的结构并不构成对本发明实施例的限定,它既可以是总线形结构,也可以是星型结构,还可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。 [0079] Those skilled in the art will appreciate, shown in FIG. 4 from the structure of the apparatus do not limit embodiments of the present invention, It may be a bus-like structure, star structure may be, may comprise further than FIG. shown more or fewer components, or a combination of some of the components, or a different arrangement of components. [0〇8〇] 处理器20可以由集成电路(IntegratedCircuit,简称1C)组成,例如可以由单颗封装的1C所组成,也可以由连接多颗相同功能或不同功能的封装1C而组成。 [0〇8〇] The processor 20 may be an integrated circuit (integratedcircuit, referred 1C) composed of, for example, consist 1C single package, it may be connected to multiple pieces of the same function or different functions of the package 1C and composition. 举例来说,处理器20可以仅包括中央处理器20 (CentralProcessingUnit,简称CPU),也可以是CPU、数字信号处理器20 (digitalsignalprocessor,简称DSP)、图形处理器20 (GraphicProcessingUnit, 简称GPU)及各种控制芯片的组合。 For example, the processor 20 may include only a central processor 20 (CentralProcessingUnit, referred to as the CPU), may be a CPU, digital signal processor 20 (DigitalSignalProcessor, referred to as the DSP), graphic processor 20 (GraphicProcessingUnit, referred to as GPU) and each a combination of types of control chip. 在本发明实施方式中,CPU可以是单运算核心,也可以包括多运算核心。 In an embodiment of the present invention, the CPU may be a single core operation may include multiple processor cores.

[0081] 存储器10作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序、非暂态计算机课执行程序以及模块。 [0081] The memory 10 as a non-transitory computer-readable storage medium may be a software program for storing non-transient, non-transitory computer program execution and a module class. 处理器20通过运行存储在存储器10的非暂态软件程序、 指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例列表项操作的处理方法。 The processor 20 in the memory non-transitory software program, and a module 10 instructions to various functional applications and data processing executed by the server storing operation, i.e., the processing method according to the above method of operation list item embodiment.

[0082] 存储器10可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、 至少一个功能所需要的应用程序;在本发明实施例中,操作系统可以是Android系统、1S系统或Windows操作系统等等。 [0082] The memory 10 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, applications, the at least one desired function; In an embodiment of the present invention, the operating system may be Android system, 1S system or Windows operating systems. 存储数据区可存储依据列表项操作的处理装置的使用所创建的数据等。 The data storage area may store data using the processing apparatus according to a list of items and the like created by the operation. 此外,存储器10可以包括高速随机存取存储器10,还可以包括非暂态存储器10,例如至少一个磁盘存储器10件、闪存器件、或者其他非暂态固态存储器10件。 Further, the memory 10 may include high-speed random access memory 10, it may also include non-transitory memory 10, for example at least a 10 disk storage 10, flash memory device, solid state memory or other non-transitory. 在一些实施例中,存储器10可选包括相对于处理器20远程设置的存储器10,这些远程存储器10可以通过网络连接至列表项操作的处理装置。 In some embodiments, the memory 10 optionally comprises a processor 20 with respect to the remotely located memory 10, the memory 10 may be connected to the remote processing device operated by a network list item. 上述网络的实施例包括但不限于互联网、企业内部网、 局域网、移动通信网及其组合。 The embodiments described above include but are not limited to the network the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. [〇〇83] 输入装置30可接收用户输入的数字或字符信息,以及产生与列表操作的处理装置的用户设置以及功能控制有关的键信号输入。 [〇〇83] The input device 30 may receive a user input number or character information, and the user processing apparatus is provided with a list generating operation, and a control function related to the key signal input. 输入装置30可以包括触摸屏、键盘等,也可以包括有线接口、无线接口等。 The input device 30 may include a touch screen, keyboard, etc., we may also include a wired interface, a wireless interface. 输出装置40可包括显示屏、扬声器等设备,也可以包括有线接口、无线接口等。 Output device 40 may include a display screen, speaker, etc., may also include a wired interface, a wireless interface.

[0084] 在本发明实施例中,从设备包括接收模块、身份虚拟模块和访问模块。 [0084] In an embodiment of the present invention, the device comprises a receiving module, a virtual identity module and the access module. 其中,接收模块,用于接收所述主设备分享的该主设备访问内容提供服务器的网络身份和用户身份。 Wherein the receiving module is configured to access the primary content receiving apparatus to share the master device provides the network identity and the user identity of the server. 身份虚拟模块,用于建立与所述网络身份相同的虚拟网络身份;访问模块,用于基于所述虚拟网络身份和用户身份访问所述内容提供服务器。 Virtual identity module, the network identity for establishing the same virtual network identity; access module for providing the virtual server based network identity and the identity of the user to access the content. 接收模块、身份虚拟模块、访问模块存储在存储器10中,当被所述一个或多个处理器20执行时,执行前述实施例中任一项的从设备与主设备共享用户身份的方法。 A receiving module, a virtual identity module, the access module stored in the memory 10, when the one or more processors 20 are performed the aforementioned method with the shared user device from the master device of any one of embodiments embodiment.

[0085] 具体地,在接收模块包括:第二无线网络模块和/或二维码解析模块。 [0085] Specifically, the receiving module comprises: a second wireless network module and / or two-dimensional code parsing module.

[0086] 第二无线网络模块,用于与主设备建立无线网络连接,通过无线网络接收主设备分享的该主设备访问内容提供服务器的网络身份和用户身份。 [0086] The second wireless network module for establishing a wireless network connection, receiving a master device over the wireless network master device to access the shared content providing server network identity and user identity with the master device.

[0087] 二维码解析模块,用于扫描基于网络身份和用户身份生成的二维码,解析二维码得到网络身份和用户身份。 [0087] The two-dimensional code parsing module for scanning a two-dimensional code based network identity and user identity generated two-dimensional code obtained analytical network identity and user identity. [〇〇88] 应当理解的是,本发明的上述具体实施方式仅仅用于示例性说明或解释本发明的原理,而不构成对本发明的限制。 [〇〇88] It should be appreciated that the above-described embodiments of the present invention are provided for illustrative or explain the principles of the present invention, not to limit the present invention. 因此,在不偏离本发明的精神和范围的情况下所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 Thus, made without departing from the spirit and scope of the present invention any modification, equivalent replacement, or improvement, it should be included within the scope of the present invention. 此外,本发明所附权利要求旨在涵盖落入所附权利要求范围和边界、或者这种范围和边界的等同形式内的全部变化和修改例。 Furthermore, the claims appended hereto are intended to cover the scope of this embodiment and all changes and modifications within the boundary of equivalents of the appended claims and the range boundaries, or request.

Claims (13)

1.一种主设备向从设备分享用户身份的方法,其特征在于,包括:获取当前主设备访问内容提供服务器的网络身份和用户身份;其中,所述用户身份包括用户账号和密码,所述网络身份包括所述主设备在因特网的IP地址;通过无线网络连接和/或二维码将所述网络身份和用户身份分享给从设备。 A master device, characterized in that the method of sharing user identity from the device, comprising: obtaining the current master device to access the content providing server network identity and user identity; and wherein the user identity comprises a user ID and password, the network identity comprises an IP address in the Internet, the master device; connection sharing and / or two-dimensional code and the user identity to a network identity from the device over the wireless network.
2.根据权利要求1所述的方法,其中,所述网络身份还包括所述主设备的MAC地址和/或所述主设备在局域网的IP地址。 2. The method according to claim 1, wherein the network further includes an IP address identity MAC address of the master device and / or the master device on the LAN.
3.—种从设备与主设备共享用户身份的方法,其特征在于,包括:接收所述主设备分享的该主设备访问内容提供服务器的网络身份和用户身份;其中, 所述用户身份包括用户账号和密码,所述网络身份包括所述主设备在因特网的IP地址;建立与所述网络身份相同的虚拟网络身份;基于所述虚拟网络身份和用户身份访问所述内容提供服务器。 3.- ways, ranging from shared user device and the master device, characterized by comprising: receiving the master device sharing access to the master device provides the content network identity and user identity server; wherein the user identity comprises a user account number and password, the network identity, including IP address of the master device in the Internet; to establish the identity of the network the same virtual network identity; providing server based on the virtual network identity and the identity of users accessing the content.
4.根据权利要求3所述的方法,其中,所述接收所述主设备分享的该主设备访问内容提供服务器的网络身份和用户身份包括:与所述主设备建立无线网络连接,通过所述无线网络接收所述主设备分享的该主设备访问内容提供服务器的网络身份和用户身份;或扫描基于所述网络身份和用户身份生成的二维码,解析所述二维码得到网络身份和用户身份。 4. The method according to claim 3, wherein said receiving the main content of the master device access apparatus providing server sharing network identity and the user identity comprises: establishing a wireless network connection with the master device, by the the radio network receiving the master device of the master device to access the shared content providing server network identity and user identity; scanning or based on the network identity and the identity of the user to generate a two-dimensional code, the two-dimensional code is parsed to obtain user identity and network identity.
5.根据权利要求3或4所述的方法,其中,所述网络身份还包括所述主设备的MAC地址和/或所述主设备在局域网的IP地址。 5. The method of claim 3 or claim 4, wherein the network further includes an IP address identity MAC address of the master device and / or the master device on the LAN.
6.—种主设备,其特征在于,包括:至少一个处理器,以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使得所述至少一个处理器能够:获取当前主设备访问内容提供服务器的网络身份和用户身份;其中,所述用户身份包括用户账号和密码,所述网络身份包括所述主设备在因特网的IP地址;通过无线网络连接和/或二维码将所述网络身份和用户身份分享给从设备。 6.- species master apparatus, comprising: at least one processor and a memory coupled to said at least one processor communicatively connected; wherein said memory stores the instructions may be executed by a processor, executed by the at least one processor, such that the at least one processor to: obtain the current master device to access the content providing server network identity and user identity; and wherein the user identity comprises a user ID and password, the said network identity comprises an IP address of the master device on the Internet; connections and / or two-dimensional code and the network identification from the user to the sharing device through the wireless network.
7.—种主设备,其特征在于,包括:身份获取模块,用于获取当前主设备访问内容提供服务器的网络身份和用户身份;其中,所述用户身份包括用户账号和密码,所述网络身份包括所述主设备在因特网的IP地址; 分享模块,用于通过无线网络连接和/或二维码将所述网络身份和用户身份分享给从设备。 7.- species master apparatus, comprising: obtaining identity module, configured to obtain access to the content of the current master device provides network identity and user identity server; wherein said user identity comprises a user ID and password, the network identity the master device comprises an IP address on the Internet; a sharing module for a wireless network connection and / or two-dimensional code and the network identification from the user to the sharing device.
8.根据权利要求7所述的主设备,其中,所述分享模块包括:第一无线网络模块,用于与所述从设备建立无线网络连接,通过所述无线网络将所述网络身份和用户身份发送给从设备;和/或二维码生成模块,用于基于所述网络身份和用户身份生成二维码,显示所述二维码。 A main apparatus according to claim 7, wherein the sharing module comprising: a first wireless network module for establishing a wireless network connection with the slave device, via the wireless network and the network user identity identity sent from the device; and / or two-dimensional code generating module for generating two-dimensional code based on the network identity and the identity of the user, displaying the two-dimensional code.
9.根据权利要求7或8所述的主设备,其中,所述网络身份还包括所述主设备的MAC地址和/或所述主设备在局域网的IP地址。 Master apparatus according to claim 7 or 8, wherein the network further includes an IP address identity MAC address of the master device and / or the master device on the LAN.
10.—种从设备,其特征在于,包括:至少一个处理器,以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使得所述至少一个处理器能够:接收所述主设备分享的该主设备访问内容提供服务器的网络身份和用户身份;其中, 所述用户身份包括用户账号和密码,所述网络身份包括所述主设备在因特网的IP地址;建立与所述网络身份相同的虚拟网络身份;基于所述虚拟网络身份和用户身份访问所述内容提供服务器。 10.- species from the apparatus, characterized by comprising: at least one processor and a memory coupled to said at least one processor communicatively connected; wherein said memory stores the instructions may be executed by a processor, executed by the at least one processor, to cause at least one processor capable of: receiving the master device sharing access to the master device provides the content network identity and user identity server; wherein the user identity comprises user account and password, the network identity, including IP address of the master device in the Internet; to establish the identity of the network the same virtual network identity; providing server based on the virtual network identity and the identity of users accessing the content.
11.一种从设备,其特征在于,包括:接收模块,用于接收所述主设备分享的该主设备访问内容提供服务器的网络身份和用户身份;其中,所述用户身份包括用户账号和密码,所述网络身份包括所述主设备在因特网的IP地址;身份虚拟模块,用于建立与所述网络身份相同的虚拟网络身份;访问模块,用于基于所述虚拟网络身份和用户身份访问所述内容提供服务器。 A slave device, comprising, comprising: receiving means for accessing the contents of the main receiving device sharing the master device provides network identity and user identity server; wherein the user identity comprises a user ID and password the network identity comprises an IP address of the master device on the Internet; virtual identity module, the network identity for establishing the same virtual network identity; access module, based on the virtual network access to the identity and user identity said content providing server.
12.根据权利要求11所述的从设备,其中,所述接收模块包括:第二无线网络模块,用于与所述主设备建立无线网络连接,通过所述无线网络接收所述主设备分享的该主设备访问内容提供服务器的网络身份和用户身份;和/或二维码解析模块,用于扫描基于所述网络身份和用户身份生成的二维码,解析所述二维码得到网络身份和用户身份。 12. The slave device, wherein the receiving module as claimed in claim 11 comprising: a second wireless network module for establishing a wireless network connection with the master device, receiving over the wireless network sharing the master device the master device to access the content providing server network identity and the user identity; and / or two-dimensional code parsing module for scanning based on the network identity and the identity of the user to generate a two-dimensional code, the two-dimensional code obtained parse network identities and user ID.
13.根据权利要求11或12所述的从设备,其中,所述网络身份还包括所述主设备的MAC 地址和/或所述主设备在局域网的IP地址。 13. The apparatus from claim, wherein the network further includes an IP address identity MAC address of the master device and / or the master device on the LAN 11 or 12.
CN201610958184.1A 2016-10-27 2016-10-27 Method for master device to share user identity with slave device, master device, and slave device CN106534096A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610958184.1A CN106534096A (en) 2016-10-27 2016-10-27 Method for master device to share user identity with slave device, master device, and slave device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610958184.1A CN106534096A (en) 2016-10-27 2016-10-27 Method for master device to share user identity with slave device, master device, and slave device

Publications (1)

Publication Number Publication Date
CN106534096A true CN106534096A (en) 2017-03-22

Family

ID=58325913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610958184.1A CN106534096A (en) 2016-10-27 2016-10-27 Method for master device to share user identity with slave device, master device, and slave device

Country Status (1)

Country Link
CN (1) CN106534096A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741556A (en) * 2008-11-26 2010-06-16 中国电信股份有限公司 Method and system for accessing Internet
CN102368764A (en) * 2011-09-10 2012-03-07 上海量明科技发展有限公司 Method for carrying out communication through multiple points of presence, system and client thereof
US20130197998A1 (en) * 2012-01-26 2013-08-01 Finsphere Corporation Authenticating entities engaging in automated or electronic transactions or activities
CN103384237A (en) * 2012-05-04 2013-11-06 华为技术有限公司 Method for sharing IaaS cloud account, shared platform and network device
US20140098671A1 (en) * 2009-01-28 2014-04-10 Headwater Partners I Llc Intermediate Networking Devices
CN104125205A (en) * 2013-04-27 2014-10-29 腾讯科技(深圳)有限公司 Communication account login method, system and terminal
CN104967607A (en) * 2015-04-24 2015-10-07 腾讯科技(北京)有限公司 Information processing method, terminal and server
CN105656984A (en) * 2015-10-22 2016-06-08 乐视致新电子科技(天津)有限公司 Member rights synchronizing method, device, server and system among multiple devices

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741556A (en) * 2008-11-26 2010-06-16 中国电信股份有限公司 Method and system for accessing Internet
US20140098671A1 (en) * 2009-01-28 2014-04-10 Headwater Partners I Llc Intermediate Networking Devices
CN102368764A (en) * 2011-09-10 2012-03-07 上海量明科技发展有限公司 Method for carrying out communication through multiple points of presence, system and client thereof
US20130197998A1 (en) * 2012-01-26 2013-08-01 Finsphere Corporation Authenticating entities engaging in automated or electronic transactions or activities
CN103384237A (en) * 2012-05-04 2013-11-06 华为技术有限公司 Method for sharing IaaS cloud account, shared platform and network device
CN104125205A (en) * 2013-04-27 2014-10-29 腾讯科技(深圳)有限公司 Communication account login method, system and terminal
CN104967607A (en) * 2015-04-24 2015-10-07 腾讯科技(北京)有限公司 Information processing method, terminal and server
CN105656984A (en) * 2015-10-22 2016-06-08 乐视致新电子科技(天津)有限公司 Member rights synchronizing method, device, server and system among multiple devices

Similar Documents

Publication Publication Date Title
US8904021B2 (en) Communication dongle physically coupled with a media device to automatically discover and launch an application on the media device and to enable switching of a primary output display from a first display of a mobile device to a second display of the media device through an operating system of the mobile device sharing a local area network with the communication dongle
US20190173745A1 (en) Proximity and Context Aware Mobile Workspaces in Enterprise Systems
CN103858457B (en) Multi-hop single-sign-on (SSO) for identity provider (IdP) roaming/agency
US20080301303A1 (en) Virtual network connection apparatus, system, method for controlling connection of a virtual network and computer-readable storage medium
KR102005458B1 (en) Shared item account selection
US9231904B2 (en) Deploying and managing networked devices
US10230770B2 (en) Network proxy layer for policy-based application proxies
TWI533740B (en) Access the Internet via a point-share link
US9712486B2 (en) Techniques for the deployment and management of network connected devices
US20170272316A1 (en) Managing network connected devices
US9288194B2 (en) Authorization method, apparatus, and system
US9204301B2 (en) Deploying wireless docking as a service
US9264435B2 (en) Apparatus and methods for access solutions to wireless and wired networks
US20130275492A1 (en) Enabling Web Clients to Provide Web Services
CN104980412A (en) Application client, server and corresponding Portal authentication method
CN103401884A (en) Authentication method and system for public wireless environment Internet access based on micro message
JP2014531650A (en) Group opt-in link
CN101262500A (en) Method, access controller and WEB authentication server for pushing login page
US20130179593A1 (en) Cloud computing controlled gateway for communication networks
CA2864923C (en) Systems and methods for sharing files among multiple terminals
CN102377617A (en) Systems, methods, and apparatus to monitor and authenticate mobile internet activity
CN103763327A (en) Account number logging-in method and system
EP2680500A1 (en) Application discovery
US9391832B1 (en) Secure surrogate cloud browsing
CN103825895A (en) Information processing method and electronic device

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170322