CN204669390U - A kind of electronic equipment - Google Patents

A kind of electronic equipment Download PDF

Info

Publication number
CN204669390U
CN204669390U CN201520096893.4U CN201520096893U CN204669390U CN 204669390 U CN204669390 U CN 204669390U CN 201520096893 U CN201520096893 U CN 201520096893U CN 204669390 U CN204669390 U CN 204669390U
Authority
CN
China
Prior art keywords
electronic device
configuration
router
network
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.)
Expired - Lifetime
Application number
CN201520096893.4U
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201520096893.4U priority Critical patent/CN204669390U/en
Application granted granted Critical
Publication of CN204669390U publication Critical patent/CN204669390U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本实用新型公开了一种第一电子设备,所述第一电子设备包括壳体、所述壳体内设置有处理器和计算机存储介质,所述壳体上设置有M个物理端口,其中M为大于等于2的整数,其中:所述M个物理端口中至少一个物理端口为广域网端口,用于连接网络运营商的入户网线;所述M个物理端口中至少一个物理端口为局域网端口,用于连接网络运营商的第二电子设备;所述计算机存储介质上存储有计算机可执行程序;所述处理器,用于接收服务器发送的配置响应数据,以及利用所述配置信息完成自身的配置,所述配置响应数据中包括所述配置信息;所述处理器用于执行计算机存储介质上的计算机可执行程序。

The utility model discloses a first electronic device. The first electronic device includes a casing, a processor and a computer storage medium are arranged in the casing, and M physical ports are arranged on the casing, wherein M is An integer greater than or equal to 2, wherein: at least one of the M physical ports is a wide area network port, which is used to connect the home network cable of the network operator; at least one of the M physical ports is a LAN port, used A second electronic device connected to a network operator; a computer executable program is stored on the computer storage medium; the processor is configured to receive the configuration response data sent by the server, and use the configuration information to complete its own configuration, The configuration response data includes the configuration information; and the processor is configured to execute a computer executable program on a computer storage medium.

Description

一种电子设备an electronic device

技术领域technical field

本实用新型涉及路由技术,尤其涉及一种具有路由功能的电子设备。The utility model relates to routing technology, in particular to an electronic device with routing function.

背景技术Background technique

随着笔记本电脑、智能手机、平板电脑等电子设备的普及,用户在家中通过路由器建立局域网变得越来越普遍,该局域网可以是无线的局域网也可以是有线的局域网。用户在将建立局域网的过程中,需要先向网络运营商申请账号及密码,该账号及密码用于在配置路由器的过程,当完成路由器的配置过程后,用户就可以使用网络运营商提供的网络带宽了。例如,用户如果从网络运营商那里申请了10M的带宽,那么运营商就会给用户一个账号及密码,用户回家之后可以配置自己的路由器。配置路由器的过程一般是这样的,将路由器连接至运营商提供的入户网线上,并将路由器通过网络连接终端设备,然后接通路由器的电源,之后,在终端设备上登陆路由器提供的登陆页面,进入登陆页面后输入路由器的账号及密码,再之后进入配置页面输入网络运营商提供的账号及密码,完成路由器的配置过程。从上述的描述可以看出,用户在建立局域网的过程中,所需要的做的事情是非常繁多的,例如,需要记得用于登陆路由器的账户及密码,以及网络运营商提供的账号及密码,用户还要知晓所有的配置流程。由此可见,现有的建立局域网的过程是非常繁琐的,用户体验不好。With the popularity of electronic devices such as notebook computers, smart phones, and tablet computers, it is becoming more and more common for users to establish a local area network through a router at home. The local area network can be a wireless local area network or a wired local area network. In the process of establishing a local area network, the user needs to apply for an account and password from the network operator. The account and password are used in the process of configuring the router. After completing the router configuration process, the user can use the network provided by the network operator. The bandwidth is up. For example, if a user applies for 10M bandwidth from a network operator, the operator will give the user an account number and password, and the user can configure his own router after returning home. The process of configuring the router is generally as follows: connect the router to the home network cable provided by the operator, connect the router to the terminal device through the network, then turn on the power of the router, and then log in to the login page provided by the router on the terminal device After entering the login page, enter the account number and password of the router, and then enter the configuration page and enter the account number and password provided by the network operator to complete the configuration process of the router. It can be seen from the above description that in the process of establishing a LAN, users need to do a lot of things. For example, they need to remember the account and password used to log in to the router, as well as the account and password provided by the network operator. Users also need to be aware of all configuration procedures. It can be seen that the existing process of establishing a local area network is very cumbersome, and the user experience is not good.

实用新型内容Utility model content

有鉴于此,本实用新型实施例为解决现有技术中存在的至少一个问题而提供一种电子设备,能够简化建立局域网的过程,从而提升用户体验。In view of this, the embodiment of the utility model provides an electronic device to solve at least one problem existing in the prior art, which can simplify the process of establishing a local area network, thereby improving user experience.

本实用新型实施例的技术方案是这样实现的:The technical scheme of the utility model embodiment is realized like this:

第一方面,本实用新型实施例提供一种第一电子设备,所述第一电子设备包括壳体、所述壳体内设置有处理器和计算机存储介质,所述壳体上设置有M个物理端口,其中M为大于等于2的整数,其中:In the first aspect, the embodiment of the present utility model provides a first electronic device, the first electronic device includes a casing, a processor and a computer storage medium are arranged in the casing, and M physical port, where M is an integer greater than or equal to 2, where:

所述M个物理端口中至少一个物理端口为广域网端口,用于连接网络运营商的入户网线;所述M个物理端口中至少一个物理端口为局域网端口,用于连接网络运营商的第二电子设备;At least one physical port among the M physical ports is a wide area network port, which is used to connect the home network cable of the network operator; at least one physical port among the M physical ports is a local area network port, which is used to connect to the network operator's second Electronic equipment;

所述计算机存储介质上存储有计算机可执行程序,计算机可执行程序用于检测自身的状态信息是否满足预设条件,是时,向服务器发送配置请求,其中,所述配置请求用于向网络运营商的服务器请求配置信息,所述配置信息用于完成自身的配置过程;所述第一电子设备为具有无线路由功能的电子设备;所述处理器,用于接收服务器发送的配置响应数据,以及利用所述配置信息完成自身的配置,所述配置响应数据中包括所述配置信息;A computer executable program is stored on the computer storage medium, and the computer executable program is used to detect whether its own state information satisfies a preset condition, and if so, send a configuration request to the server, wherein the configuration request is used to send a The provider's server requests configuration information, and the configuration information is used to complete its own configuration process; the first electronic device is an electronic device with a wireless routing function; the processor is configured to receive configuration response data sent by the server, and Using the configuration information to complete its own configuration, the configuration response data includes the configuration information;

所述处理器用于执行计算机存储介质上的计算机可执行程序。The processor is configured to execute a computer-executable program on a computer storage medium.

在本实用新型的一种实施例中,所述第一电子设备还包括电源接口,所述电源接口用于连接外部电源。In an embodiment of the present utility model, the first electronic device further includes a power interface, and the power interface is used for connecting an external power supply.

在本实用新型的一种实施例中,所述第一电子设备包括复位键,所述复位键用于还原所述第一电子设备的出厂设置。In an embodiment of the present utility model, the first electronic device includes a reset key, and the reset key is used to restore the factory settings of the first electronic device.

在本实用新型的一种实施例中,,所述M为以下数字中的任意一种:(4+1)、(8+1)、(16+1)、(32+1)。In an embodiment of the present invention, the M is any one of the following numbers: (4+1), (8+1), (16+1), (32+1).

在本实用新型的一种实施例中,所述M个物理端口设置于线卡上,所述线卡上还设置有微处理器,所述微处理器与所述M个物理端口连接,其中:In an embodiment of the present utility model, the M physical ports are set on a line card, and a microprocessor is also set on the line card, and the microprocessor is connected to the M physical ports, wherein :

所述微处理器:用于进行数据链路层的封装和解封装;以及,在转发表中查找输入包目的地址从而决定目的端口。The microprocessor: used for encapsulating and decapsulating the data link layer; and searching the destination address of the input packet in the forwarding table to determine the destination port.

在本实用新型的一种实施例中,所述第一电子设备还包括无线发射器,用于通过第一通道向第二电子设备发送数据,使得第二电子设备通过第一电子设备接入网络。In an embodiment of the present utility model, the first electronic device further includes a wireless transmitter, configured to send data to the second electronic device through the first channel, so that the second electronic device accesses the network through the first electronic device .

在本实用新型的一种实施例中,所述第一电子设备还包括无线接收器,用于通过第一通道接收第二电子设备发送的数据,使得第二电子设备通过第一电子设备接入网络。In an embodiment of the present utility model, the first electronic device further includes a wireless receiver, configured to receive data sent by the second electronic device through the first channel, so that the second electronic device accesses the network.

在本实用新型的一种实施例中,所述第一电子设备还包括蓝牙模组,所述蓝牙模组用于通过蓝牙方式连接所述第二电子设备。In an embodiment of the present utility model, the first electronic device further includes a bluetooth module, and the bluetooth module is used to connect to the second electronic device through bluetooth.

在本实用新型的一种实施例中,所述第二电子设备为终端,所述终端包括智能手机、平板电脑、笔记本电脑、台式机电脑、个人数字助理。In an embodiment of the present utility model, the second electronic device is a terminal, and the terminal includes a smart phone, a tablet computer, a notebook computer, a desktop computer, and a personal digital assistant.

在本实用新型的一种实施例中,所述第一电子设备还包括分离器,所述分离器用于将网络运营商的一条入户网线为第一条入户网线和第二条入户网线,其中,第一条入户网线连接所述M个物理端口连接中的广域网端口,所述第二条入户网线连接第三电子设备。In an embodiment of the present utility model, the first electronic device further includes a splitter, and the splitter is used to convert a home network line of the network operator into a first home network line and a second home network line , wherein, the first home network cable is connected to the wide area network port among the M physical port connections, and the second home network cable is connected to the third electronic device.

本实用新型实施例提供一种电子设备,其中,所述第一电子设备包括壳体、所述壳体内设置有处理器和计算机存储介质,所述壳体上设置有M个物理端口,其中M为大于等于2的整数,其中:所述M个物理端口中至少一个物理端口为广域网端口,用于连接网络运营商的入户网线;所述M个物理端口中至少一个物理端口为局域网端口,用于连接网络运营商的第二电子设备;所述计算机存储介质上存储有计算机可执行程序,计算机可执行程序用于检测自身的状态信息是否满足预设条件,是时,向服务器发送配置请求,其中,所述配置请求用于向网络运营商的服务器请求配置信息,所述配置信息用于完成自身的配置过程;所述第一电子设备为具有无线路由功能的电子设备;所述处理器,用于接收服务器发送的配置响应数据,以及利用所述配置信息完成自身的配置,所述配置响应数据中包括所述配置信息;所述处理器用于执行计算机存储介质上的计算机可执行程序,如此,能够简化建立局域网的过程,从而提升用户体验。An embodiment of the present invention provides an electronic device, wherein the first electronic device includes a casing, a processor and a computer storage medium are arranged in the casing, and M physical ports are arranged on the casing, wherein M It is an integer greater than or equal to 2, wherein: at least one physical port in the M physical ports is a wide area network port, which is used to connect the home network cable of the network operator; at least one physical port in the M physical ports is a LAN port, It is used to connect to the second electronic device of the network operator; the computer storage medium stores a computer executable program, and the computer executable program is used to detect whether its own state information meets a preset condition, and if so, send a configuration request to the server , wherein the configuration request is used to request configuration information from a server of a network operator, and the configuration information is used to complete its own configuration process; the first electronic device is an electronic device with a wireless routing function; the processor , configured to receive configuration response data sent by the server, and use the configuration information to complete its own configuration, where the configuration response data includes the configuration information; the processor is configured to execute a computer-executable program on a computer storage medium, In this way, the process of establishing a local area network can be simplified, thereby improving user experience.

附图说明Description of drawings

图1-1为相关技术中路由器与终端连接的示意图一;FIG. 1-1 is a first schematic diagram of the connection between a router and a terminal in the related art;

图1-2为相关技术中路由器与终端连接的示意图二;Figure 1-2 is a second schematic diagram of the connection between a router and a terminal in the related art;

图1-3为本实用新型实施例一第一电子设备的组成结构示意图;1-3 are schematic diagrams of the composition and structure of the first electronic device in Embodiment 1 of the present utility model;

图1-4为本实用新型实施例一信息处理方法的实现流程示意图;1-4 is a schematic diagram of the implementation flow of an information processing method according to an embodiment of the present invention;

图2为本实用新型实施例二信息处理方法的实现流程示意图;Fig. 2 is a schematic diagram of the implementation flow of the information processing method of the second embodiment of the utility model;

图3为本实用新型实施例三信息处理方法的实现流程示意图;Fig. 3 is a schematic diagram of the implementation flow of the information processing method of the third embodiment of the utility model;

图4为本实用新型实施例四信息处理方法的实现流程示意图;Fig. 4 is a schematic diagram of the implementation flow of the information processing method of Embodiment 4 of the present utility model;

图5为本实用新型实施例五信息处理方法的实现流程示意图;Fig. 5 is a schematic diagram of the implementation flow of the information processing method of Embodiment 5 of the present invention;

图6-1为本实用新型实施例六第一电子设备的组成结构示意图一;Figure 6-1 is a first schematic diagram of the composition and structure of the first electronic device in Embodiment 6 of the present utility model;

图6-2为本实用新型实施例六第一电子设备的组成结构示意图二;Fig. 6-2 is a second schematic diagram of the composition and structure of the first electronic device in Embodiment 6 of the present utility model;

图7为本实用新型实施例七第一电子设备的组成结构示意图;7 is a schematic diagram of the composition and structure of the first electronic device in Embodiment 7 of the present utility model;

图8为本实用新型实施例八第一电子设备的组成结构示意图;8 is a schematic diagram of the composition and structure of the first electronic device in Embodiment 8 of the present invention;

图9为本实用新型实施例九第一电子设备的组成结构示意图。FIG. 9 is a schematic diagram of the composition and structure of the first electronic device in Embodiment 9 of the present invention.

具体实施方式Detailed ways

本实用新型的以下实施例中涉及的电子设备,可以分为两组,第一组是具有路由功能的电子设备,即路由电子设备,第二组是不具有路由功能的电子设备;其中将具有路由的电子设备称为第一电子设备,而将不具有路由功能的电子设备称为第二电子设备;第一电子设备典型的代表为路由器(Router),而第二电子设备典型的代表为各种终端设备,如智能手机(Smart Phone)、平板电脑、笔记本电脑、台式机电脑、个人数字助理等。第一电子设备为所述第二电子设备通过有线方式或无线方式提供路由功能,如图1-1所示,路由器10通过无线方式为个人数字助理11、智能手机12和13、笔记本14提供路由功能,路由器10通过有线方式为台式机电脑15提供路由功能。The electronic equipment involved in the following embodiments of the present invention can be divided into two groups, the first group is electronic equipment with routing function, that is, electronic routing equipment, and the second group is electronic equipment without routing function; The routing electronic device is called the first electronic device, and the electronic device without the routing function is called the second electronic device; the typical representative of the first electronic device is a router (Router), and the typical representative of the second electronic device is each A variety of terminal devices, such as smart phones (Smart Phone), tablet computers, notebook computers, desktop computers, personal digital assistants, etc. The first electronic device provides the routing function for the second electronic device in a wired or wireless manner. As shown in FIG. function, the router 10 provides the routing function for the desktop computer 15 through a wired method.

这里,所述路由器包括无线路由器、宽带路由器等各种路由器,其中无线网络路由器(如D-LINK、TP-LINK、TENDA等)是一种用来连接有线和无线网络的通讯设备,它可以通过无线保真(Wi-Fi,Wireless Fidelity)技术接收和发送无线信号来与个人数码助理、智能手机、笔记本等设备通讯;无线网络路由器可以在不设电缆的情况下方便地建立一个网络,图1-1即为一个通过路由器10组建的一个网络。Here, the router includes various routers such as wireless routers and broadband routers, wherein a wireless network router (such as D-LINK, TP-LINK, TENDA, etc.) is a communication device used to connect wired and wireless networks, and it can pass Wireless Fidelity (Wi-Fi, Wireless Fidelity) technology receives and sends wireless signals to communicate with personal digital assistants, smart phones, notebooks and other devices; wireless network routers can easily establish a network without cables, Figure 1 -1 is a network established through the router 10 .

在本实用新型实施例中可能还涉及第三电子设备,第三电子设备在具体实现的过程中可以为固定电话,其中固定电话是针对于一般的用户通过网络运营商提供光纤接入网络的情况,如图1-2所示,网络运营商除了向用户提供网络端口外,还向用户提供一部固定电话20,一般来说,网络端口通过分离器30分出来两条网线31和32,其中一条网线31连接固定电话20,另一条网线32连接路由器10,换句话说,固定电话20是与路由器10通过网络端口绑定在一起,在具体实现过程中,网络端口可能是网络运营商提供的入户光纤接口,其中入户光纤连接楼宇间的路由器。还有部分用户并不采用图1-2所示的情况接入互联网,如图1-1所示,这类用户的路由器并不与固定电话进行绑定,这类用户的路由器一般通过网线直接连接楼宇间的路由器。In the embodiment of the present utility model, the third electronic device may also be involved, and the third electronic device may be a fixed telephone in the process of specific implementation, wherein the fixed telephone is aimed at the situation that the general user provides optical fiber access to the network through the network operator , as shown in Figure 1-2, in addition to providing users with network ports, the network operator also provides users with a fixed telephone 20. Generally speaking, the network port is divided into two network cables 31 and 32 through a splitter 30, of which One network cable 31 is connected to the fixed phone 20, and the other network cable 32 is connected to the router 10. In other words, the fixed phone 20 is bound to the router 10 through a network port. In the actual implementation process, the network port may be provided by the network operator. The home optical fiber interface, where the home optical fiber is connected to the router between buildings. There are also some users who do not use the situation shown in Figure 1-2 to access the Internet. As shown in Figure 1-1, the routers of these users are not bound to fixed phones. Connect routers between buildings.

下面再来描述一下本实用新型以下各实施例都涉及的一个网络,先来介绍一下路由器所组成的分级式网络。多个网络通过路由器互连成为互联网,互联网(Internetwork)从它的产生到发展一直在深远地影响着人们的生活、工作、学习等方方面面。路由器一般分为多级连接,例如用户家庭里面使用的一般是功能相对较少、带宽也较小的家庭路由器;一幢楼里面的用户的家庭路由器都连接一个路由器,该路由器可称为楼宇路由器,一个小区内各幢楼内的楼宇路由器都连接一个路由器,该路由器可称为小区路由器,如此,家庭路由器这样分层单向地向上连接,从而组成庞大的互联网。Next, let's describe a network involved in each of the following embodiments of the present invention, and first introduce a hierarchical network composed of routers. Multiple networks are interconnected through routers to form the Internet, and the Internet (Internetwork) has been profoundly affecting people's life, work, study and other aspects from its generation to development. Routers are generally divided into multi-level connections. For example, the home routers used in users’ homes are generally home routers with relatively few functions and small bandwidth; the home routers of users in a building are all connected to a router, and this router can be called a building router. , The building routers in each building in a community are connected to a router, which can be called a community router. In this way, the home routers are connected upward in layers and unidirectionally, thus forming a huge Internet.

其中,上述所提到的家庭路由器用于转发用户的各个终端发送的数据包或楼宇路由器发送的数据包;楼宇路由器用于转发家庭路由器发送的数据包,或小区路由器发送的数据包;而小区路由器用于转发楼宇路由器发送的数据包,或者转发与小区路由器直接连接的且比小区路由器级别更高的路由器发送的数据包。Among them, the home router mentioned above is used to forward the data packets sent by each terminal of the user or the data packets sent by the building router; the building router is used to forward the data packets sent by the home router, or the data packets sent by the community router; The router is used to forward the data packets sent by the building router, or forward the data packets sent by the router directly connected to the community router and higher than the community router.

本实用新型实施例中所述的终端与上述的第二电子设备的含义相同,在某些语境下为了描述简便,会使用终端一词作为第二电子设备的同义词,所述终端包括移动终端和非移动终端,其中移动终端包括个人数字助理、智能手机、平板电脑、笔记本电脑、导航仪等设备,非移动终端包括台式机电脑等设备。The terminal described in the embodiment of the present invention has the same meaning as the above-mentioned second electronic device. In some contexts, for the sake of simplicity of description, the word terminal is used as a synonym for the second electronic device. The terminal includes a mobile terminal And non-mobile terminals, where mobile terminals include personal digital assistants, smart phones, tablet computers, notebook computers, navigators and other equipment, and non-mobile terminals include desktop computers and other equipment.

下面来介绍一下本实用新型实施例所涉及的各个通道,路由器通过第三通道接入internet网络,这里的第三通道是指通过光纤等方式建立的连接,每一个路由器还会形成Wi-Fi网络,即路由器通过第一通道与终端进行连接;本实用新型实施例中还涉及第二通道,第二通道是指路由器通过除上述第一通道和所述第三通道外与终端的连接方式。一般来说,路由器接入internet网络的带宽即为用户从电信运营商那里购买的带宽;在由路由器所组成的一个Wi-Fi网络下的两个终端ZD1和ZD2进行交互,终端ZD1与终端ZD2之间的带宽会一般大于用户从电信运营商那里购买的带宽,至于大多少主要受限于路由器和终端的硬件条件。一般来说,一个Wi-Fi网络内两个终端发送数据的速率类似于拷贝数据的速率。Let's introduce the various channels involved in the embodiment of the present utility model. The router accesses the internet network through the third channel. The third channel here refers to the connection established by means of optical fiber. Each router also forms a Wi-Fi network. , that is, the router is connected to the terminal through the first channel; the embodiment of the utility model also involves a second channel, and the second channel refers to a connection mode between the router and the terminal through the first channel and the third channel. Generally speaking, the bandwidth that the router accesses to the internet network is the bandwidth purchased by the user from the telecom operator; two terminals ZD1 and ZD2 interact under a Wi-Fi network composed of routers, and terminal ZD1 and terminal ZD2 The bandwidth between them will generally be greater than the bandwidth purchased by the user from the telecom operator. As for the size, it is mainly limited by the hardware conditions of the router and the terminal. Generally speaking, the rate at which two terminals send data in a Wi-Fi network is similar to the rate at which data is copied.

下面结合附图和具体实施例对本实用新型的技术方案进一步详细阐述。The technical scheme of the utility model is further elaborated below in conjunction with the accompanying drawings and specific embodiments.

实施例一Embodiment one

本实用新型实施例提供一种第一电子设备,图1-3为本实用新型实施例一中第一电子设备的组成结构示意图,如图1-3所示,其中所述第一电子设备10包括壳体110、所述壳体110内设置有处理器120和计算机存储介质130,所述壳体上设置有M个物理端口140,其中M为大于等于2的整数,其中:The embodiment of the present utility model provides a first electronic device, and Fig. 1-3 is a schematic diagram of the composition and structure of the first electronic device in the first embodiment of the present utility model, as shown in Fig. 1-3, wherein the first electronic device 10 It includes a housing 110, a processor 120 and a computer storage medium 130 are arranged in the housing 110, and M physical ports 140 are arranged on the housing, where M is an integer greater than or equal to 2, wherein:

所述M个物理端口140中至少一个物理端口为广域网端口141,用于连接网络运营商的入户网线;所述M个物理端口140中至少一个物理端口为局域网端口142,用于连接网络运营商的第二电子设备;At least one physical port in the M physical ports 140 is a wide area network port 141, which is used to connect the home network cable of the network operator; the second electronic device of the merchant;

这里,所述M为以下数字中的任意一种:(4+1)、(8+1)、(16+1)、(32+1)。其中,括号中的数字1代表广域网端口的数目,4、8、16和32均代表局域网端口的数目。Here, the M is any one of the following numbers: (4+1), (8+1), (16+1), (32+1). Among them, the number 1 in brackets represents the number of WAN ports, and 4, 8, 16 and 32 all represent the number of LAN ports.

所述计算机存储介质130上存储有计算机可执行程序,计算机可执行程序用于检测自身的状态信息是否满足预设条件,是时,向服务器发送配置请求,其中,所述配置请求用于向网络运营商的服务器请求配置信息,所述配置信息用于完成自身的配置过程;所述第一电子设备为具有无线路由功能的电子设备;所述处理器,用于接收服务器发送的配置响应数据,以及利用所述配置信息完成自身的配置,所述配置响应数据中包括所述配置信息;A computer executable program is stored on the computer storage medium 130, and the computer executable program is used to detect whether its own state information meets a preset condition, and if so, send a configuration request to the server, wherein the configuration request is used to send the network The operator's server requests configuration information, and the configuration information is used to complete its own configuration process; the first electronic device is an electronic device with a wireless routing function; the processor is configured to receive configuration response data sent by the server, and using the configuration information to complete its own configuration, the configuration response data includes the configuration information;

所述处理120,用于执行计算机存储介质上的计算机可执行程序。The processing 120 is used for executing a computer-executable program on a computer storage medium.

本实用新型实施例中,所述第一电子设备还包括电源接口170,所述电源接口170用于连接外部电源。In the embodiment of the present utility model, the first electronic device further includes a power interface 170, and the power interface 170 is used for connecting an external power supply.

本实用新型实施例中,所述第一电子设备包括复位键,所述复位键用于还原所述第一电子设备的出厂设置。In the embodiment of the present utility model, the first electronic device includes a reset key, and the reset key is used to restore the factory settings of the first electronic device.

本实用新型实施例中,所述M个物理端口设置于线卡上,所述线卡上还设置有微处理器,所述微处理器与所述M个物理端口连接,其中:In the embodiment of the present utility model, the M physical ports are arranged on a line card, and a microprocessor is also arranged on the line card, and the microprocessor is connected to the M physical ports, wherein:

所述微处理器:用于进行数据链路层的封装和解封装;以及,在转发表中查找输入包目的地址从而决定目的端口。The microprocessor: used for encapsulating and decapsulating the data link layer; and searching the destination address of the input packet in the forwarding table to determine the destination port.

本实用新型实施例中,所述第一电子设备还包括无线发射器150,用于通过第一通道向第二电子设备发送数据,使得第二电子设备通过第一电子设备接入网络。In the embodiment of the present invention, the first electronic device further includes a wireless transmitter 150, configured to send data to the second electronic device through the first channel, so that the second electronic device accesses the network through the first electronic device.

本实用新型实施例中,所述第一电子设备还包括无线接收器160,用于通过第一通道接收第二电子设备发送的数据,使得第二电子设备通过第一电子设备接入网络。In the embodiment of the present invention, the first electronic device further includes a wireless receiver 160, configured to receive data sent by the second electronic device through the first channel, so that the second electronic device accesses the network through the first electronic device.

本实用新型实施例中,所述第一电子设备还包括蓝牙模组,所述蓝牙模组用于通过蓝牙方式连接所述第二电子设备。In the embodiment of the present utility model, the first electronic device further includes a Bluetooth module, and the Bluetooth module is used to connect to the second electronic device through Bluetooth.

本实用新型实施例中,所述第一电子设备还包括分离器,所述分离器用于将网络运营商的一条入户网线为第一条入户网线和第二条入户网线,其中,第一条入户网线连接所述M个物理端口连接中的广域网端口,所述第二条入户网线连接第三电子设备。In the embodiment of the present invention, the first electronic device further includes a splitter, and the splitter is used to convert one home network line of the network operator into a first home network line and a second home network line, wherein the first home network line A home network cable is connected to the wide area network port among the M physical port connections, and the second home network cable is connected to the third electronic device.

基于前述提供的第一电子设备,本实用新型实施例提供一种信息处理方法,应用于第一电子设备,该信息处理方法通过第一电子设备中的处理器调用计算机可执行程序来实现,当然计算机可执行程序可以保存在计算机存储介质中,换句话说,计算机存储介质上存储的计算机可执行程序是用来实现下面的信息处理方法的。Based on the first electronic device provided above, the embodiment of the present invention provides an information processing method, which is applied to the first electronic device. The information processing method is realized by calling a computer executable program by the processor in the first electronic device. Of course The computer executable program can be stored in the computer storage medium, in other words, the computer executable program stored on the computer storage medium is used to realize the following information processing method.

图1-4为本实用新型实施例一信息处理方法的实现流程示意图,如图1-4所示,该信息处理方法包括:Fig. 1-4 is a schematic diagram of the implementation flow of an information processing method according to an embodiment of the present invention. As shown in Fig. 1-4, the information processing method includes:

步骤101,所述第一电子设备检测自身的状态信息是否满足预设条件;Step 101, the first electronic device detects whether its own state information satisfies a preset condition;

步骤102,所述第一电子设备检测自身的状态信息满足预设条件时,向服务器发送配置请求;Step 102, when the first electronic device detects that its own state information meets a preset condition, it sends a configuration request to the server;

这里,所述配置请求用于向网络运营商的服务器请求配置信息,所述配置信息用于完成自身的配置过程;所述第一电子设备为具有无线路由功能的电子设备;Here, the configuration request is used to request configuration information from a server of a network operator, and the configuration information is used to complete its own configuration process; the first electronic device is an electronic device with a wireless routing function;

这里,所述服务器存储有用户向网络运营商申请的一些配置信息,这些配置信息用于在路由器上进行操作,以实现家庭或个人或企业接入互联网。在具体实现的过程中,服务器可以为网络运营商的计算设备,其中,计算设备可以是网络服务器、企业级的计算机、个人计算机等,当然该计算设备还可以与数据库服务器相互配合来实现本实用新型实施例中的服务器。Here, the server stores some configuration information applied by the user to the network operator, and the configuration information is used to operate on the router to realize family, personal or enterprise access to the Internet. In the process of specific implementation, the server can be a computing device of a network operator, wherein the computing device can be a network server, an enterprise-level computer, a personal computer, etc. Of course, the computing device can also cooperate with a database server to realize the utility model. A server in a novel embodiment.

步骤103,所述第一电子设备接收服务器发送的配置响应数据,所述配置响应数据中包括所述配置信息;Step 103, the first electronic device receives configuration response data sent by the server, and the configuration response data includes the configuration information;

这里,所述配置信息可以为明文的配置信息,当然为了确保安全,作为优选的实施例中,步骤103中的配置信息可以为加密后的配置信息。Here, the configuration information may be configuration information in clear text. Of course, in order to ensure security, in a preferred embodiment, the configuration information in step 103 may be encrypted configuration information.

步骤104,所述第一电子设备利用所述配置信息完成自身的配置。Step 104, the first electronic device uses the configuration information to complete its own configuration.

这里,当配置信息为加密的配置信息时,对应地,所述方法还包括:所述第一电子设备对所述配置响应数据进行解密,获得解密后的配置信息;对应地,步骤104为:所述第一电子设备利用解密后的配置信息完成自身的配置过程。Here, when the configuration information is encrypted configuration information, correspondingly, the method further includes: the first electronic device decrypts the configuration response data to obtain decrypted configuration information; correspondingly, step 104 is: The first electronic device uses the decrypted configuration information to complete its own configuration process.

本实用新型实施例中,所述配置信息至少包括用户向网络运营商申请的账户及其密码信息,除了网络运营商申请的账户及其密码信息外,还可以包括路由器的账号及密码。如背景技术中所述,在建立网络的过程中,至少需要网络运营商提供的账号及密码才能,完成路由器的配置过程。In the embodiment of the present invention, the configuration information includes at least the account and password information applied by the user to the network operator, and may also include the account number and password of the router in addition to the account and password information applied by the network operator. As described in the background art, in the process of establishing a network, at least an account number and a password provided by a network operator are required to complete the router configuration process.

本实用新型实施例中,在所述第一电子设备利用所述配置信息完成自身的配置后,所述方法还包括:通过第一通道向第二电子设备提供无线路由功能,使得第二电子设备通过第一电子设备接入网络,其中所述第二电子设备为终端。In the embodiment of the present invention, after the first electronic device uses the configuration information to complete its own configuration, the method further includes: providing a wireless routing function to the second electronic device through the first channel, so that the second electronic device The network is accessed through the first electronic device, wherein the second electronic device is a terminal.

这里,当第一电子设备为路由器,所述终端接入的网络可以为Wi-Fi网络,这样终端可以通过路由器提供的Wi-Fi网络实现访问互联网(Internet)。对应地,所述第一通道可以为路由器提供的Wi-Fi网络。Here, when the first electronic device is a router, the network accessed by the terminal may be a Wi-Fi network, so that the terminal can access the Internet (Internet) through the Wi-Fi network provided by the router. Correspondingly, the first channel may be a Wi-Fi network provided by the router.

本实用新型实施例提供的技术方案可以用于下面的场景,下面以路由器代表第一电子设备为例,路由器检测自身的状态是否满足预设条件,当满足预设条件的时候,路由器会获取一些信息形成配置请求,然后向服务器发送配置请求,该配置请求用于获取路由器在完成自我配置过程中所需要的配置信息;服务器接收配置请求后,就会根据配置请求获取路由所需的配置信息,服务器将配置信息携带于配置响应数据中,然后服务器将配置响应数据发送给路由器;路由器在接收到配置响应数据后,会从配置响应数据中获取到配置信息,然后利用该配置信息完成自身的配置过程,从而用户完成了通过路由器建立网络的过程。The technical solutions provided by the embodiments of the present invention can be used in the following scenarios. The router represents the first electronic device as an example. The router detects whether its own state meets the preset conditions. When the preset conditions are met, the router will obtain some The information forms a configuration request, and then sends a configuration request to the server. The configuration request is used to obtain the configuration information required by the router to complete the self-configuration process; after the server receives the configuration request, it will obtain the configuration information required by the router according to the configuration request. The server carries the configuration information in the configuration response data, and then the server sends the configuration response data to the router; after receiving the configuration response data, the router will obtain the configuration information from the configuration response data, and then use the configuration information to complete its own configuration process, so that the user completes the process of establishing a network through the router.

本实用新型实施例中,所述第一电子设备检测自身的状态信息是否满足预设条件,是时,向服务器发送配置请求,其中,所述配置请求用于向网络运营商的服务器请求配置信息;所述第一电子设备为具有无线路由功能的电子设备;所述第一电子设备接收服务器发送的配置响应数据,所述配置响应数据中包括所述配置信息;所述第一电子设备利用所述配置信息完成自身的配置,如此,能够简化建立局域网的过程,从而提升用户体验。In the embodiment of the present utility model, the first electronic device detects whether its own state information meets the preset condition, and if so, sends a configuration request to the server, wherein the configuration request is used to request configuration information from the server of the network operator The first electronic device is an electronic device with a wireless routing function; the first electronic device receives the configuration response data sent by the server, and the configuration response data includes the configuration information; the first electronic device uses the The above configuration information is used to complete its own configuration. In this way, the process of establishing a local area network can be simplified, thereby improving user experience.

实施例二Embodiment two

基于前述的实施例一,本实用新型实施例提供一种信息处理方法,该方法应用于第一电子设备,该信息处理方法所实现的功能可以通过第一电子设备中的处理器调用计算机可执行程序来实现,当然计算机可执行程序可以保存在计算机存储介质中,换句话说,计算机存储介质上存储的计算机可执行程序是用来实现下面的信息处理方法的。Based on the foregoing first embodiment, this utility model embodiment provides an information processing method, which is applied to the first electronic device, and the functions implemented by the information processing method can be executed by calling a computer through the processor in the first electronic device Programs, of course, the computer executable program can be stored in the computer storage medium, in other words, the computer executable program stored on the computer storage medium is used to implement the following information processing method.

图2为本实用新型实施例二信息处理方法的实现流程示意图,如图2所示,该信息处理方法包括:Fig. 2 is a schematic diagram of the implementation flow of the information processing method of Embodiment 2 of the present invention. As shown in Fig. 2, the information processing method includes:

步骤201,所述第一电子设备检测自身的物理端口是否连接正常,所述物理端口用于连接运营商提供的入网线缆;Step 201, the first electronic device detects whether its own physical port is connected normally, and the physical port is used to connect the network access cable provided by the operator;

这里,若第一电子设备为路由器,步骤201中的物理端口可以为路由器上的广域网(WAN,Wide Area Network)端口。一般来说,路由器上物理端口包括WAN端口和局域网(LAN,Local Area Network)端口,其中WAN端口的数量一般为一个,而LAN端口一般具有两个及两个以上,当然LAN端口也可以具有一个。为了便于区分,WAN端口与LAN端口接口颜色是不同。用户拿到路由器之后,需要将网络运营商提供的入网线缆(即入户光纤)插入路由器的WAN端口。在现有技术中,为了通过路由器接入互联网,用户除了将入户光纤插入路由器的WAN端口外,还需要将终端如个人计算机(PC,PersonalComputer)通过网线连接路由器的LAN端口,才能在个人计算机上登陆路由器的界面实现路由器的配置过程。Here, if the first electronic device is a router, the physical port in step 201 may be a wide area network (WAN, Wide Area Network) port on the router. Generally speaking, the physical ports on the router include WAN ports and LAN (Local Area Network) ports. The number of WAN ports is generally one, while the number of LAN ports generally has two or more. Of course, LAN ports can also have one . For easy identification, the color of the WAN port and the LAN port are different. After getting the router, the user needs to insert the network access cable provided by the network operator (that is, the home optical fiber) into the WAN port of the router. In the prior art, in order to access the Internet through a router, the user needs to connect a terminal such as a personal computer (PC, Personal Computer) to the LAN port of the router through a network cable in addition to inserting the home optical fiber into the WAN port of the router. Log in to the interface of the router to realize the configuration process of the router.

步骤202,当所述第一电子设备检测自身的物理端口连接正常时,向服务器发送配置请求;Step 202, when the first electronic device detects that its physical port connection is normal, send a configuration request to the server;

这里,所述配置请求用于向网络运营商的服务器请求配置信息,所述配置信息用于完成自身的配置过程;所述第一电子设备为具有无线路由功能的电子设备;Here, the configuration request is used to request configuration information from a server of a network operator, and the configuration information is used to complete its own configuration process; the first electronic device is an electronic device with a wireless routing function;

步骤203,所述第一电子设备接收服务器发送的配置响应数据,所述配置响应数据中包括所述配置信息;Step 203, the first electronic device receives configuration response data sent by the server, and the configuration response data includes the configuration information;

步骤204,所述第一电子设备利用所述配置信息完成自身的配置。Step 204, the first electronic device uses the configuration information to complete its own configuration.

需要说明的是,一般来说,第一电子设备需要正常的供电来能完成本实用新型实施例提供的各个步骤,以路由器为例,当路由器接外接电源时,用户除了将路由器的WAN端口插入入网光线,还需要将路由器正确的连接电源。当然对于采用自身携带的电池供电的路由器来说,用户除了将路由器的WAN端口插入入网光线,还需要开启电源开关,这样路由器才能保持正常的供电。It should be noted that, generally speaking, the first electronic device needs a normal power supply to be able to complete the various steps provided by the embodiment of the present invention. Taking a router as an example, when the router is connected to an external power supply, the user can plug the WAN port of the router into the The network access light also needs to connect the router to the power supply correctly. Of course, for routers powered by their own batteries, users need to turn on the power switch in addition to plugging the WAN port of the router into the network access light, so that the router can maintain normal power supply.

本实用新型实施例提供的技术方案可以用于下面的场景,如果路由器自身供电正常,路由器将自身的WAN端口是否连接正常,当检测到WAN端口连接有入网光线时,路由器即检测自身的物理端口连接时正常的,因此,路由器会向服务器发送配置请求,所述配置请求用于向网络运营商的服务器请求配置信息;服务器接收配置请求后,就会根据配置请求获取路由所需的配置信息,服务器将配置信息携带于配置响应数据中,然后服务器将配置响应数据发送给路由器;路由器在接收到配置响应数据后,会从配置响应数据中获取到配置信息,然后利用该配置信息完成自身的配置过程,从而用户完成了通过路由器建立网络的过程。由上述描述可以看出,用户只需要保证路由器正常连接而且供电正常即可,换句话说,本实用新型实施例提供的技术方案,在通过路由器接入互联网的过程中,用户需要做的仅仅是:用户在拿到路由器之后,只需将网络运营商提供的入户光纤插入路由器的WAN端口,然后保证路由器正常的供电即可,至于后续的路由器配置过程,路由器将自己完成。因此,本实用新型实施例提供的技术方案,能够省去用户繁琐的配置操作,从而提升用户体验。The technical solution provided by the embodiment of the utility model can be used in the following scenarios. If the power supply of the router itself is normal, the router will check whether its WAN port is connected normally. When it detects that the WAN port is connected to the network light, the router will detect its own physical port The connection is normal, therefore, the router will send a configuration request to the server, and the configuration request is used to request configuration information from the server of the network operator; after the server receives the configuration request, it will obtain the configuration information required for routing according to the configuration request, The server carries the configuration information in the configuration response data, and then the server sends the configuration response data to the router; after receiving the configuration response data, the router will obtain the configuration information from the configuration response data, and then use the configuration information to complete its own configuration process, so that the user completes the process of establishing a network through the router. It can be seen from the above description that the user only needs to ensure that the router is connected normally and the power supply is normal. : After getting the router, the user only needs to insert the home optical fiber provided by the network operator into the WAN port of the router, and then ensure the normal power supply of the router. As for the subsequent router configuration process, the router will complete it by itself. Therefore, the technical solution provided by the embodiment of the utility model can save the user from cumbersome configuration operations, thereby improving user experience.

实施例三Embodiment three

基于前述的实施例,本实用新型实施例本实用新型实施例提供一种信息处理方法,应用于第一电子设备,该信息处理方法所实现的功能可以通过第一电子设备中的处理器调用计算机可执行程序来实现,当然计算机可执行程序可以保存在计算机存储介质中,换句话说,计算机存储介质上存储的计算机可执行程序是用来实现下面的信息处理方法的。Based on the aforementioned embodiments, the embodiments of the present utility model provide an information processing method, which is applied to the first electronic device, and the functions realized by the information processing method can be called by the processor in the first electronic device. Executable program, of course, the computer executable program can be stored in the computer storage medium, in other words, the computer executable program stored on the computer storage medium is used to implement the following information processing method.

图3为本实用新型实施例三信息处理方法的实现流程示意图,如图3所示,该信息处理方法包括:Fig. 3 is a schematic diagram of the implementation flow of the third information processing method of the utility model embodiment, as shown in Fig. 3, the information processing method includes:

步骤301,所述第一电子设备检测自身的状态信息是否满足预设条件;Step 301, the first electronic device detects whether its own state information satisfies a preset condition;

步骤302,所述第一电子设备检测自身的状态信息满足预设条件时,获取用户的标识信息,所述用户的标识信息用于使得所述服务器根据所述用户的标识信息获取所述配置信息。Step 302, when the first electronic device detects that its own state information meets a preset condition, it acquires identification information of a user, and the identification information of the user is used to enable the server to acquire the configuration information according to the identification information of the user .

这里,在具体实现的过程中,用户的标识信息可以电话号码,用户的编号信息、用户的账号、用户的邮箱、手机号码等等。Here, in a specific implementation process, the user's identification information may be a phone number, a user's serial number information, a user's account number, a user's mailbox, a mobile phone number, and the like.

步骤303,所述第一电子设备将所述用户的标识信息携带于配置请求中,并向服务器发送配置请求;Step 303, the first electronic device carries the identification information of the user in the configuration request, and sends the configuration request to the server;

这里,所述配置请求用于向网络运营商的服务器请求配置信息,所述配置信息用于完成自身的配置过程;所述第一电子设备为具有无线路由功能的电子设备;Here, the configuration request is used to request configuration information from a server of a network operator, and the configuration information is used to complete its own configuration process; the first electronic device is an electronic device with a wireless routing function;

步骤304,所述第一电子设备接收服务器发送的配置响应数据,所述配置响应数据中包括所述配置信息;Step 304, the first electronic device receives configuration response data sent by the server, and the configuration response data includes the configuration information;

步骤305,所述第一电子设备利用所述配置信息完成自身的配置。Step 305, the first electronic device uses the configuration information to complete its own configuration.

本实用新型实施例中,所述第一电子设备检测自身的状态信息是否满足预设条件,包括:所述第一电子设备检测自身的物理端口是否连接正常,所述物理端口用于连接运营商提供的入网线缆;In the embodiment of the present invention, the first electronic device detects whether its own state information meets the preset conditions, including: the first electronic device detects whether its own physical port is connected normally, and the physical port is used to connect to the operator The network cable provided;

对应地,所述向服务器发送配置请求,包括:当所述第一电子设备检测自身的物理端口连接正常时,第一电子设备检测自身的状态信息满足预设条件。Correspondingly, the sending the configuration request to the server includes: when the first electronic device detects that its physical port connection is normal, the first electronic device detects that its state information satisfies a preset condition.

本实用新型实施例中,为了便于服务器根据配置请求获取配置信息,配置信息可以在服务器上以预设列表的形式存在,服务器在获取配置信息时,可以根据配置请求中的用户标识信息来查找预设列表,然后获取到配置信息。在具体实现过程中,为了便于精确地查找配置信息,配置请求中还可以携带路由器的有关信息,例如路由器可以获取自身的品牌信息、型号信息等,然后路由器将自身的品牌信息、型号信息、用户的标识信息等携带于配置请求发送给服务器。需要说明的,用户的标识信息一般来说具有唯一性,当用户的标识信息不具有唯一性时,可能会导致服务器不能正确地获取属于用户的路由器的配置信息,因此,在实现时,还可以在配置请求中增加字段,增加的字段中用于携带路由器的有关信息,通过在配置请求中携带更多信息,以便在服务器中精确地匹配到属于用户的配置信息。这里,当配置请求中携带有路由器的有关信息时,用户在向网络运营商申请入网时,就需要向运营商提供自己的路由器的有关信息。In the embodiment of the present invention, in order to facilitate the server to obtain the configuration information according to the configuration request, the configuration information can exist in the form of a preset list on the server. When the server obtains the configuration information, it can search the preset Set the list, and then get the configuration information. In the specific implementation process, in order to facilitate accurate search of configuration information, the configuration request can also carry information about the router, for example, the router can obtain its own brand information, model information, etc., and then the router will send its own brand information, model information, user The identification information etc. carried in the configuration request is sent to the server. It should be noted that the user's identification information is generally unique. When the user's identification information is not unique, the server may not be able to correctly obtain the configuration information of the router belonging to the user. Therefore, during implementation, you can also Add fields in the configuration request, and the added fields are used to carry information about the router. By carrying more information in the configuration request, the server can accurately match the configuration information belonging to the user. Here, when the configuration request carries the relevant information of the router, the user needs to provide the relevant information of the router to the operator when applying for network access to the network operator.

实施例四Embodiment four

基于前述的实施例,本实用新型实施例本实用新型实施例提供一种信息处理方法,应用于第一电子设备,该信息处理方法所实现的功能可以通过第一电子设备中的处理器调用计算机可执行程序来实现,当然计算机可执行程序可以保存在计算机存储介质中,换句话说,计算机存储介质上存储的计算机可执行程序是用来实现下面的信息处理方法的。Based on the aforementioned embodiments, the embodiments of the present utility model provide an information processing method, which is applied to the first electronic device, and the functions realized by the information processing method can be called by the processor in the first electronic device. Executable program, of course, the computer executable program can be stored in the computer storage medium, in other words, the computer executable program stored on the computer storage medium is used to implement the following information processing method.

图4为本实用新型实施例四信息处理方法的实现流程示意图,如图4所示,该信息处理方法包括:Fig. 4 is a schematic diagram of the implementation flow of the fourth information processing method of the utility model embodiment, as shown in Fig. 4, the information processing method includes:

步骤401,所述第一电子设备检测自身的状态信息是否满足预设条件;Step 401, the first electronic device detects whether its own state information satisfies a preset condition;

步骤402,所述第一电子设备检测自身的状态信息满足预设条件时,所述第一电子设备获取与所述第一电子设备通过有线方式连接的第三电子设备的标识信息,将所述第三电子设备的标识信息作为用户的标识信息;Step 402, when the first electronic device detects that its own state information meets the preset condition, the first electronic device acquires the identification information of the third electronic device connected to the first electronic device by wire, and transfers the The identification information of the third electronic device is used as the identification information of the user;

这里,在具体实现的过程,所述第三电子设备可以为与第一电子设备共用一个分离器的固定电话,所述用户的标识信息用于使得所述服务器根据所述用户的标识信息获取所述配置信息。Here, in a specific implementation process, the third electronic device may be a fixed phone that shares a splitter with the first electronic device, and the user's identification information is used to enable the server to obtain the configuration information.

步骤403,所述第一电子设备将所述用户的标识信息携带于配置请求中,并向服务器发送配置请求;Step 403, the first electronic device carries the identification information of the user in the configuration request, and sends the configuration request to the server;

这里,所述配置请求用于向网络运营商的服务器请求配置信息,所述配置信息用于完成自身的配置过程;所述第一电子设备为具有无线路由功能的电子设备;Here, the configuration request is used to request configuration information from a server of a network operator, and the configuration information is used to complete its own configuration process; the first electronic device is an electronic device with a wireless routing function;

步骤404,所述第一电子设备接收服务器发送的配置响应数据,所述配置响应数据中包括所述配置信息;Step 404, the first electronic device receives configuration response data sent by the server, and the configuration response data includes the configuration information;

步骤405,所述第一电子设备利用所述配置信息完成自身的配置。Step 405, the first electronic device uses the configuration information to complete its own configuration.

本实用新型实施例中,所述第一电子设备检测自身的状态信息是否满足预设条件,包括:所述第一电子设备检测自身的物理端口是否连接正常,所述物理端口用于连接运营商提供的入网线缆;In the embodiment of the present invention, the first electronic device detects whether its own state information meets the preset conditions, including: the first electronic device detects whether its own physical port is connected normally, and the physical port is used to connect to the operator The network cable provided;

对应地,所述向服务器发送配置请求,包括:当所述第一电子设备检测自身的物理端口连接正常时,第一电子设备检测自身的状态信息满足预设条件。Correspondingly, the sending the configuration request to the server includes: when the first electronic device detects that its physical port connection is normal, the first electronic device detects that its state information satisfies a preset condition.

本实用新型实施例中,所述第一电子设备利用所述配置信息完成自身的配置后,所述方法还包括:In the embodiment of the present utility model, after the first electronic device uses the configuration information to complete its own configuration, the method further includes:

通过第一通道向第二电子设备提供无线路由功能,使得第二电子设备通过第一电子设备接入网络,其中所述第二电子设备为终端。The wireless routing function is provided to the second electronic device through the first channel, so that the second electronic device accesses the network through the first electronic device, wherein the second electronic device is a terminal.

本实用新型实施例提供的信息处理方法可以用于下面的场景,以路由器代表第一电子设备为例,如图1-2所示,当路由器10检测自身的状态信息满足预设条件时,路由器10就会获取通过网线31和网线32与路由器10连接的固定电话20的标识信息,一般来说,固定电话的电话号码具有唯一性,因此,固定电话的电话号码可以作为固定电话的标识信息。然后,路由器10将所述固定电话20的标识信息作为用户的标识信息携带于配置请求中,并向服务器发送配置请求;服务器接收配置请求后,就会根据配置请求获取路由所需的配置信息,服务器将配置信息携带于配置响应数据中,然后服务器将配置响应数据发送给路由器;路由器在接收到配置响应数据后,会从配置响应数据中获取到配置信息,然后利用该配置信息完成自身的配置过程,从而用户完成了通过路由器建立网络的过程。由上述描述可以看出,本实用新型实施例提供的技术方案,能够省去用户繁琐的配置操作,从而提升用户体验。The information processing method provided by the embodiment of the present invention can be used in the following scenarios. Taking the router as an example representing the first electronic device, as shown in Figure 1-2, when the router 10 detects that its own state information meets the preset conditions, the router 10 will obtain the identification information of the fixed telephone 20 connected to the router 10 through the network cable 31 and the network cable 32. Generally speaking, the telephone number of the fixed telephone is unique, so the telephone number of the fixed telephone can be used as the identification information of the fixed telephone. Then, the router 10 carries the identification information of the fixed phone 20 as the user identification information in the configuration request, and sends the configuration request to the server; after the server receives the configuration request, it will obtain the configuration information required for routing according to the configuration request, The server carries the configuration information in the configuration response data, and then the server sends the configuration response data to the router; after receiving the configuration response data, the router will obtain the configuration information from the configuration response data, and then use the configuration information to complete its own configuration process, so that the user completes the process of establishing a network through the router. It can be seen from the above description that the technical solutions provided by the embodiments of the present invention can save the user from cumbersome configuration operations, thereby improving user experience.

实施例五Embodiment five

基于前述的实施例,本实用新型实施例本实用新型实施例提供一种信息处理方法,应用于第一电子设备,该信息处理方法所实现的功能可以通过第一电子设备中的处理器调用计算机可执行程序来实现,当然计算机可执行程序可以保存在计算机存储介质中,换句话说,计算机存储介质上存储的计算机可执行程序是用来实现下面的信息处理方法的。Based on the aforementioned embodiments, the embodiments of the present utility model provide an information processing method, which is applied to the first electronic device, and the functions realized by the information processing method can be called by the processor in the first electronic device. Executable program, of course, the computer executable program can be stored in the computer storage medium, in other words, the computer executable program stored on the computer storage medium is used to implement the following information processing method.

图5为本实用新型实施例五信息处理方法的实现流程示意图,如图5所示,该信息处理方法包括:Fig. 5 is a schematic diagram of the implementation flow of the information processing method of Embodiment 5 of the present utility model. As shown in Fig. 5, the information processing method includes:

步骤501,所述第一电子设备检测自身的状态信息是否满足预设条件;Step 501, the first electronic device detects whether its own state information satisfies a preset condition;

步骤502,所述第一电子设备检测自身的状态信息满足预设条件时,所述第一电子设备通过第二通道与第二电子设备建立连接;Step 502, when the first electronic device detects that its own state information satisfies a preset condition, the first electronic device establishes a connection with the second electronic device through a second channel;

这里,第二电子设备为终端。Here, the second electronic device is a terminal.

这里,所述第二通道与上述的第一通道不同,在本实用新型实施例中,第一通道为无线通道,而第二通道可以为有线通道,第二通道还可以为无线通道,当第二通道为有线通道时,第二通道具体可以为通过线缆建立的通道连接;当第二通道为无线通道,第二通道具体可以为通过蓝牙等方式建立的通道连接。Here, the second channel is different from the above-mentioned first channel. In the embodiment of the present invention, the first channel is a wireless channel, and the second channel can be a wired channel, and the second channel can also be a wireless channel. When the second channel is a wired channel, the second channel may specifically be a channel connection established through a cable; when the second channel is a wireless channel, the second channel may specifically be a channel connection established through Bluetooth or the like.

步骤503,所述第一电子设备接收第二电子设备发送的用户的标识信息;Step 503, the first electronic device receives the user identification information sent by the second electronic device;

这里,当第一电子设备与第二电子设备建立连接之后,用户可以利用第二电子设备如手机的显示单元所呈现的界面进行了预定的配置,这时,第二电子设备就会接收用户的配置操作,然后第二电子设备基于用户的配置操作获取用户的标识信息,并将用户的标识信息发送给第一电子设备,具体地,用户的手机与路由器通过蓝牙建立连接之后,用户在手机上打开一个程序,这个程序可以是预先安装好的,在该程序的显示界面上,用户可以输入用户的标识信息,然后手机就将用户的标志信息发送给路由器。Here, after the first electronic device establishes a connection with the second electronic device, the user can use the interface presented by the display unit of the second electronic device, such as a mobile phone, to perform predetermined configurations. At this time, the second electronic device will receive the user's Configuration operation, and then the second electronic device obtains the user's identification information based on the user's configuration operation, and sends the user's identification information to the first electronic device. Open a program, which can be pre-installed, on the display interface of the program, the user can input the user's identification information, and then the mobile phone will send the user's identification information to the router.

步骤504,所述第一电子设备将所述用户的标识信息携带于配置请求中,并向服务器发送配置请求;Step 504, the first electronic device carries the identification information of the user in the configuration request, and sends the configuration request to the server;

这里,所述配置请求用于向网络运营商的服务器请求配置信息,所述配置信息用于完成自身的配置过程;所述第一电子设备为具有无线路由功能的电子设备;Here, the configuration request is used to request configuration information from a server of a network operator, and the configuration information is used to complete its own configuration process; the first electronic device is an electronic device with a wireless routing function;

步骤505,所述第一电子设备接收服务器发送的配置响应数据,所述配置响应数据中包括所述配置信息;Step 505, the first electronic device receives the configuration response data sent by the server, the configuration response data includes the configuration information;

步骤506,所述第一电子设备利用所述配置信息完成自身的配置。Step 506, the first electronic device uses the configuration information to complete its own configuration.

本实用新型实施例中,所述第一电子设备检测自身的状态信息是否满足预设条件,包括:所述第一电子设备检测自身的物理端口是否连接正常,所述物理端口用于连接运营商提供的入网线缆;In the embodiment of the present invention, the first electronic device detects whether its own state information meets the preset conditions, including: the first electronic device detects whether its own physical port is connected normally, and the physical port is used to connect to the operator The network cable provided;

对应地,所述向服务器发送配置请求,包括:当所述第一电子设备检测自身的物理端口连接正常时,第一电子设备检测自身的状态信息满足预设条件。Correspondingly, the sending the configuration request to the server includes: when the first electronic device detects that its physical port connection is normal, the first electronic device detects that its state information satisfies a preset condition.

本实用新型实施例中,所述第一电子设备利用所述配置信息完成自身的配置后,所述方法还包括:In the embodiment of the present utility model, after the first electronic device uses the configuration information to complete its own configuration, the method further includes:

通过第一通道向第二电子设备提供无线路由功能,使得第二电子设备通过第一电子设备接入网络,其中所述第二电子设备为终端。The wireless routing function is provided to the second electronic device through the first channel, so that the second electronic device accesses the network through the first electronic device, wherein the second electronic device is a terminal.

本实用新型实施例提供的信息处理方法可以用于下面的场景,以路由器代表第一电子设备为例,如图1-1所示,当路由器10检测自身的状态信息满足预设条件时,路由器10就会获取通过蓝牙与笔记本11建立无线连接,连接正常后,用户在笔记本11上打开一个程序,这个程序可以是预先安装好的,用户在该程序的显示界面上输入用户的标识信息,这时,笔记本11就获取到用户的标识信息,然后将用户的标识信息发送给路由器10。然后,路由器10将用户的标识信息携带于配置请求中,并向服务器发送配置请求;服务器接收配置请求后,就会根据配置请求获取路由所需的配置信息,服务器将配置信息携带于配置响应数据中,然后服务器将配置响应数据发送给路由器;路由器在接收到配置响应数据后,会从配置响应数据中获取到配置信息,然后利用该配置信息完成自身的配置过程,从而用户完成了通过路由器建立网络的过程。由上述描述可以看出,本实用新型实施例提供的技术方案,能够省去用户繁琐的配置操作,从而提升用户体验。The information processing method provided by the embodiment of the present invention can be used in the following scenarios. Taking the router as an example representing the first electronic device, as shown in Figure 1-1, when the router 10 detects that its own state information meets the preset conditions, the router 10 will obtain the establishment of a wireless connection with the notebook 11 through Bluetooth. After the connection is normal, the user opens a program on the notebook 11. This program may be pre-installed, and the user inputs the user's identification information on the display interface of the program. , the notebook 11 acquires the user's identification information, and then sends the user's identification information to the router 10. Then, router 10 carries the identification information of the user in the configuration request, and sends the configuration request to the server; after the server receives the configuration request, it will obtain the configuration information required for routing according to the configuration request, and the server will carry the configuration information in the configuration response data , and then the server sends the configuration response data to the router; after the router receives the configuration response data, it will obtain the configuration information from the configuration response data, and then use the configuration information to complete its own configuration process, so that the user completes the establishment through the router. network process. It can be seen from the above description that the technical solutions provided by the embodiments of the present invention can save the user from cumbersome configuration operations, thereby improving user experience.

实施例六Embodiment six

基于前述的方法实施例,本实用新型实施例提供一种第一电子设备,第一电子设备中的检测单元、发送单元、接收单元和配置单元,都可以通过第一电子设备中的处理器来实现;当然也可通过具体的逻辑电路实现;在具体实施例的过程中,处理器可以为中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等。Based on the aforementioned method embodiments, this utility model embodiment provides a first electronic device. The detection unit, the sending unit, the receiving unit and the configuration unit in the first electronic device can all be controlled by the processor in the first electronic device. Realize; Certainly also can realize by concrete logic circuit; In the process of specific embodiment, processor can be central processing unit (CPU), microprocessor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA), etc.

图6-1为本实用新型实施例六电子设备的组成结构示意图一,如图6-1所示,该第一电子设备600包括检测单元601、发送单元602、接收单元603和配置单元604,其中:Fig. 6-1 is a first schematic diagram of the composition and structure of the electronic device according to Embodiment 6 of the present utility model. As shown in Fig. 6-1, the first electronic device 600 includes a detection unit 601, a sending unit 602, a receiving unit 603 and a configuration unit 604, in:

所述检测单元601,用于检测自身的状态信息是否满足预设条件,是时,触发所述发送单元;The detection unit 601 is used to detect whether the state information of itself satisfies a preset condition, and if so, trigger the sending unit;

所述发送单元602,用于向服务器发送配置请求,其中,所述配置请求用于向网络运营商的服务器请求配置信息,所述配置信息用于完成自身的配置过程;所述第一电子设备为具有无线路由功能的电子设备;The sending unit 602 is configured to send a configuration request to a server, wherein the configuration request is used to request configuration information from a server of a network operator, and the configuration information is used to complete its own configuration process; the first electronic device It is an electronic device with wireless routing function;

这里,所述配置信息为用户向网络运营商申请的账户及其密码信息。Here, the configuration information is the account and password information applied by the user to the network operator.

所述接收单元603,用于接收服务器发送的配置响应数据,所述配置响应数据中包括所述配置信息;The receiving unit 603 is configured to receive configuration response data sent by the server, where the configuration response data includes the configuration information;

所述配置单元604,用于利用所述配置信息完成自身的配置。The configuration unit 604 is configured to use the configuration information to complete its own configuration.

本实用新型实施例中,如图6-2所示,所述第一电子设备600还包括提供单元605,用于通过第一通道向第二电子设备提供无线路由功能,使得第二电子设备通过第一电子设备接入网络,其中所述第二电子设备为终端。In the embodiment of the present invention, as shown in FIG. 6-2, the first electronic device 600 further includes a providing unit 605, configured to provide a wireless routing function to the second electronic device through the first channel, so that the second electronic device can pass through The first electronic device accesses the network, wherein the second electronic device is a terminal.

本实用新型实施例中,所述检测单元,用于检测自身的物理端口是否连接正常,所述物理端口用于连接运营商提供的入网线缆;是时,触发所述发送单元。In the embodiment of the present invention, the detection unit is used to detect whether the physical port of itself is connected normally, and the physical port is used to connect the network access cable provided by the operator; if so, trigger the sending unit.

实施例七Embodiment seven

基于前述的方法实施例,本实用新型实施例提供一种第一电子设备,第一电子设备中的检测单元、获取单元、发送单元、接收单元和配置单元,都可以通过第一电子设备中的处理器来实现;当然也可通过具体的逻辑电路实现。Based on the foregoing method embodiments, this utility model embodiment provides a first electronic device. The detection unit, acquisition unit, sending unit, receiving unit, and configuration unit in the first electronic device can all processor; of course, it can also be realized by a specific logic circuit.

图7为本实用新型实施例七电子设备的组成结构示意图,如图7所示,该第一电子设备700包括检测单元701、获取单元702、发送单元703、接收单元704和配置单元705,其中:Fig. 7 is a schematic diagram of the composition and structure of the electronic device of Embodiment 7 of the present utility model. As shown in Fig. 7, the first electronic device 700 includes a detection unit 701, an acquisition unit 702, a sending unit 703, a receiving unit 704 and a configuration unit 705, wherein :

所述检测单元701,用于检测自身的状态信息是否满足预设条件,是时,触发获取单元;The detection unit 701 is used to detect whether the state information of itself satisfies the preset condition, and if so, trigger the acquisition unit;

所述获取单元702,用于获取用户的标识信息,将所述用户的标识信息携带于配置请求中,所述用户的标识信息用于使得所述服务器根据所述用户的标识信息获取所述配置信息;The obtaining unit 702 is configured to obtain identification information of the user, and carry the identification information of the user in the configuration request, and the identification information of the user is used to enable the server to obtain the configuration according to the identification information of the user information;

所述发送单元703,用于向服务器发送配置请求,其中,所述配置请求用于向网络运营商的服务器请求配置信息,所述配置信息用于完成自身的配置过程;所述第一电子设备为具有无线路由功能的电子设备;The sending unit 703 is configured to send a configuration request to a server, wherein the configuration request is used to request configuration information from a server of a network operator, and the configuration information is used to complete its own configuration process; the first electronic device It is an electronic device with wireless routing function;

这里,所述配置信息为用户向网络运营商申请的账户及其密码信息。Here, the configuration information is the account and password information applied by the user to the network operator.

所述接收单元704,用于接收服务器发送的配置响应数据,所述配置响应数据中包括所述配置信息;The receiving unit 704 is configured to receive configuration response data sent by the server, where the configuration response data includes the configuration information;

所述配置单元705,用于利用所述配置信息完成自身的配置。The configuration unit 705 is configured to use the configuration information to complete its own configuration.

本实用新型实施例中,所述检测单元,用于检测自身的物理端口是否连接正常,所述物理端口用于连接运营商提供的入网线缆;是时,触发所述获取单元702。In the embodiment of the present utility model, the detection unit is used to detect whether its own physical port is connected normally, and the physical port is used to connect the network access cable provided by the operator; if so, trigger the acquisition unit 702 .

本实用新型实施例中,所述第一电子设备还包括提供单元,用于通过第一通道向第二电子设备提供无线路由功能,使得第二电子设备通过第一电子设备接入网络,其中所述第二电子设备为终端。In the embodiment of the present invention, the first electronic device further includes a providing unit, configured to provide a wireless routing function to the second electronic device through the first channel, so that the second electronic device accesses the network through the first electronic device, wherein the The second electronic device is a terminal.

实施例八Embodiment Eight

基于前述的方法实施例,本实用新型实施例提供一种第一电子设备,第一电子设备中的检测单元、获取单元、发送单元、接收单元和配置单元,以及获取单元所包括的建立模块和接收模块,都可以通过第一电子设备中的处理器来实现;当然也可通过具体的逻辑电路实现。Based on the foregoing method embodiments, the embodiments of the present invention provide a first electronic device, a detection unit, an acquisition unit, a sending unit, a receiving unit, and a configuration unit in the first electronic device, as well as the establishment module and The receiving module can be realized by a processor in the first electronic device; of course, it can also be realized by a specific logic circuit.

图8为本实用新型实施例八电子设备的组成结构示意图,如图8所示,该第一电子设备800包括检测单元801、获取单元802、发送单元803、接收单元804和配置单元805,其中所述获取单元802包括建立模块8021和接收模块8022,其中:Fig. 8 is a schematic diagram of the composition and structure of an electronic device according to Embodiment 8 of the present utility model. As shown in Fig. 8, the first electronic device 800 includes a detection unit 801, an acquisition unit 802, a sending unit 803, a receiving unit 804, and a configuration unit 805, wherein The acquiring unit 802 includes an establishing module 8021 and a receiving module 8022, wherein:

所述检测单元801,用于检测自身的状态信息是否满足预设条件,是时,触发所述建立模块8021;The detection unit 801 is configured to detect whether its own state information meets a preset condition, and if so, trigger the establishment module 8021;

所述建立模块8021,用于通过第二通道与第二电子设备建立连接;The establishment module 8021 is configured to establish a connection with the second electronic device through the second channel;

所述接收模块8022,用于接收第二电子设备发送的配置信息;The receiving module 8022 is configured to receive configuration information sent by the second electronic device;

所述发送单元803,用于向服务器发送配置请求,其中,所述配置请求用于向网络运营商的服务器请求配置信息,所述配置信息用于完成自身的配置过程;所述第一电子设备为具有无线路由功能的电子设备;The sending unit 803 is configured to send a configuration request to a server, wherein the configuration request is used to request configuration information from a server of a network operator, and the configuration information is used to complete its own configuration process; the first electronic device It is an electronic device with wireless routing function;

这里,所述配置信息为用户向网络运营商申请的账户及其密码信息。Here, the configuration information is the account and password information applied by the user to the network operator.

所述接收单元804,用于接收服务器发送的配置响应数据,所述配置响应数据中包括所述配置信息;The receiving unit 804 is configured to receive configuration response data sent by the server, where the configuration response data includes the configuration information;

所述配置单元805,用于利用所述配置信息完成自身的配置。The configuration unit 805 is configured to use the configuration information to complete its own configuration.

本实用新型实施例中,所述检测单元,用于检测自身的物理端口是否连接正常,所述物理端口用于连接运营商提供的入网线缆;是时,触发所述建立模块8021。In the embodiment of the present utility model, the detection unit is used to detect whether its own physical port is connected normally, and the physical port is used to connect the network access cable provided by the operator; if so, trigger the establishment module 8021 .

本实用新型实施例中,所述第一电子设备还包括提供单元,用于通过第一通道向第二电子设备提供无线路由功能,使得第二电子设备通过第一电子设备接入网络,其中所述第二电子设备为终端。In the embodiment of the present invention, the first electronic device further includes a providing unit, configured to provide a wireless routing function to the second electronic device through the first channel, so that the second electronic device accesses the network through the first electronic device, wherein the The second electronic device is a terminal.

实施例九Embodiment nine

基于前述的方法实施例,本实用新型实施例提供一种第一电子设备,第一电子设备中的检测单元、发送单元、接收单元、解密单元和配置单元,都可以通过第一电子设备中的处理器来实现;当然也可通过具体的逻辑电路实现。Based on the foregoing method embodiments, this utility model embodiment provides a first electronic device. The detection unit, the sending unit, the receiving unit, the decryption unit, and the configuration unit in the first electronic device can all pass through the first electronic device. processor; of course, it can also be realized by a specific logic circuit.

图9为本实用新型实施例九电子设备的组成结构示意图,如图9所示,该第一电子设备900包括检测单元901、发送单元902、接收单元903、解密单元904和配置单元905,其中:Fig. 9 is a schematic diagram of the composition and structure of an electronic device according to Embodiment 9 of the present invention. As shown in Fig. 9, the first electronic device 900 includes a detection unit 901, a sending unit 902, a receiving unit 903, a decryption unit 904 and a configuration unit 905, wherein :

所述检测单元901,用于检测自身的状态信息是否满足预设条件,是时,触发所述发送单元;The detection unit 901 is used to detect whether the state information of itself satisfies a preset condition, and if so, trigger the sending unit;

所述发送单元902,用于向服务器发送配置请求,其中,所述配置请求用于向网络运营商的服务器请求配置信息,所述配置信息用于完成自身的配置过程;所述第一电子设备为具有无线路由功能的电子设备;The sending unit 902 is configured to send a configuration request to a server, wherein the configuration request is used to request configuration information from a server of a network operator, and the configuration information is used to complete its own configuration process; the first electronic device It is an electronic device with wireless routing function;

这里,所述配置信息为用户向网络运营商申请的账户及其密码信息。Here, the configuration information is the account and password information applied by the user to the network operator.

所述接收单元903,用于接收服务器发送的配置响应数据,所述配置响应数据中包括加密后的配置信息;The receiving unit 903 is configured to receive configuration response data sent by the server, where the configuration response data includes encrypted configuration information;

所述解密单元904,用于对所述配置响应数据进行解密,获得解密后的配置信息;The decryption unit 904 is configured to decrypt the configuration response data to obtain decrypted configuration information;

所述配置单元905,用于利用解密后的配置信息完成自身的配置过程。The configuration unit 905 is configured to use the decrypted configuration information to complete its own configuration process.

本实用新型实施例中,所述第一电子设备还包括提供单元,用于通过第一通道向第二电子设备提供无线路由功能,使得第二电子设备通过第一电子设备接入网络,其中所述第二电子设备为终端。In the embodiment of the present invention, the first electronic device further includes a providing unit, configured to provide a wireless routing function to the second electronic device through the first channel, so that the second electronic device accesses the network through the first electronic device, wherein the The second electronic device is a terminal.

本实用新型实施例中,所述检测单元,用于检测自身的物理端口是否连接正常,所述物理端口用于连接运营商提供的入网线缆;是时,触发所述发送单元。In the embodiment of the present invention, the detection unit is used to detect whether the physical port of itself is connected normally, and the physical port is used to connect the network access cable provided by the operator; if so, trigger the sending unit.

本实用新型实施例中,所述获取单元,用于获取与所述第一电子设备通过有线方式连接的第三电子设备的标识信息,将所述第三电子设备的标识信息作为用户的标识信息。In the embodiment of the present utility model, the acquisition unit is configured to acquire identification information of a third electronic device connected to the first electronic device in a wired manner, and use the identification information of the third electronic device as the identification information of the user .

实施例十Embodiment ten

基于前述的方法实施例,本实用新型实施例提供一种第一电子设备,第一电子设备中的检测单元、获取单元、发送单元、接收单元和配置单元,都可以通过第一电子设备中的处理器来实现;当然也可通过具体的逻辑电路实现。Based on the foregoing method embodiments, this utility model embodiment provides a first electronic device. The detection unit, acquisition unit, sending unit, receiving unit, and configuration unit in the first electronic device can all processor; of course, it can also be realized by a specific logic circuit.

该第一电子设备包括检测单元、获取单元、发送单元、接收单元和配置单元,其中:The first electronic device includes a detection unit, an acquisition unit, a sending unit, a receiving unit and a configuration unit, wherein:

所述检测单元,用于检测自身的状态信息是否满足预设条件,是时,触发所述获取单元;The detection unit is used to detect whether the state information of itself satisfies a preset condition, and if so, trigger the acquisition unit;

所述获取单元,用于获取与所述第一电子设备通过有线方式连接的第三电子设备的标识信息,将所述第三电子设备的标识信息作为用户的标识信息。The obtaining unit is configured to obtain identification information of a third electronic device connected to the first electronic device in a wired manner, and use the identification information of the third electronic device as user identification information.

所述发送单元,用于向服务器发送配置请求,其中,所述配置请求用于向网络运营商的服务器请求配置信息,所述配置信息用于完成自身的配置过程;所述第一电子设备为具有无线路由功能的电子设备;The sending unit is configured to send a configuration request to a server, wherein the configuration request is used to request configuration information from a server of a network operator, and the configuration information is used to complete its own configuration process; the first electronic device is Electronic devices with wireless routing capabilities;

这里,所述配置信息为用户向网络运营商申请的账户及其密码信息。Here, the configuration information is the account and password information applied by the user to the network operator.

所述接收单元,用于接收服务器发送的配置响应数据,所述配置响应数据中包括所述配置信息;The receiving unit is configured to receive configuration response data sent by the server, where the configuration response data includes the configuration information;

所述配置单元,用于利用所述配置信息完成自身的配置。The configuration unit is configured to use the configuration information to complete its own configuration.

本实用新型实施例中,所述第一电子设备还包括提供单元,用于通过第一通道向第二电子设备提供无线路由功能,使得第二电子设备通过第一电子设备接入网络,其中所述第二电子设备为终端。In the embodiment of the present invention, the first electronic device further includes a providing unit, configured to provide a wireless routing function to the second electronic device through the first channel, so that the second electronic device accesses the network through the first electronic device, wherein the The second electronic device is a terminal.

本实用新型实施例中,所述检测单元,用于检测自身的物理端口是否连接正常,所述物理端口用于连接运营商提供的入网线缆;是时,触发所述获取单元。In the embodiment of the present invention, the detection unit is used to detect whether its own physical port is connected normally, and the physical port is used to connect the network access cable provided by the operator; if so, trigger the acquisition unit.

这里需要指出的是:以上电子设备实施例项六至十的描述,与上述实施例一至五的描述是类似的,具有同实施例一至五相同的有益效果,因此不做赘述。对于本实用新型电子设备实施例中未披露的技术细节,本领域的技术人员请参照前述的方法实施例的描述而理解,为节约篇幅,这里不再赘述。It should be pointed out here that the descriptions of items 6 to 10 of the above electronic device embodiments are similar to the descriptions of the above embodiments 1 to 5, and have the same beneficial effects as those of embodiments 1 to 5, so they are not repeated here. For technical details not disclosed in the embodiments of the electronic device of the present invention, those skilled in the art should refer to the descriptions of the foregoing method embodiments for understanding, and to save space, details are not repeated here.

应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本实用新型的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。应理解,在本实用新型的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本实用新型实施例的实施过程构成任何限定。It should be understood that references to "one embodiment" or "an embodiment" throughout the specification mean that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present invention. Thus, appearances of "in one embodiment" or "in an embodiment" in various places throughout the specification are not necessarily referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that in various embodiments of the present utility model, the size of the serial numbers of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, and should not be used by the present utility model. The implementation of the examples constitutes no limitation.

在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or May be integrated into another system, or some features may be ignored, or not implemented. In addition, the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms of.

上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元;既可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed to multiple network units; Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本实用新型各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the utility model can be integrated into one processing unit, or each unit can be used as a unit separately, or two or more units can be integrated into one unit; the above The integrated unit can be implemented in the form of hardware, or in the form of hardware plus software functional units.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储计算机可执行程序的介质。Those of ordinary skill in the art can understand that all or part of the steps to realize the above method embodiments can be completed by hardware related to program instructions, and the aforementioned programs can be stored in computer-readable storage media. When the program is executed, the execution includes The steps of the foregoing method embodiments; and the aforementioned storage media include: removable storage devices, read-only memory (Read Only Memory, ROM), magnetic disks or optical disks, and other media that can store computer-executable programs.

或者,本实用新型上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本实用新型实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本实用新型各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、磁碟或者光盘等各种可以存储计算机可执行程序的介质。Or, if the above-mentioned integrated units of the present invention are implemented in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the utility model is essentially or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions. So that a computer device (which may be a personal computer, a server, or a network device, etc.) executes all or part of the methods described in the various embodiments of the present invention. The aforementioned storage media include: various media capable of storing computer executable programs, such as removable storage devices, ROM, magnetic disks, or optical disks.

以上所述,仅为本实用新型的具体实施方式,但本实用新型的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本实用新型揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本实用新型的保护范围之内。因此,本实用新型的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present utility model, but the scope of protection of the present utility model is not limited thereto. Anyone familiar with the technical field can easily think of changes or changes within the technical scope disclosed by the utility model Replacement should be covered within the protection scope of the present utility model. Therefore, the protection scope of the present utility model should be based on the protection scope of the claims.

Claims (10)

1.一种第一电子设备,其特征在于,所述第一电子设备包括壳体、所述壳体内设置有处理器和计算机存储介质,所述壳体上设置有M个物理端口,其中M为大于等于2的整数,其中: 1. A first electronic device, characterized in that the first electronic device comprises a casing, a processor and a computer storage medium are arranged in the casing, and M physical ports are arranged on the casing, wherein M is an integer greater than or equal to 2, where: 所述M个物理端口中至少一个物理端口为广域网端口,用于连接网络运营商的入户网线;所述M个物理端口中至少一个物理端口为局域网端口,用于连接网络运营商的第二电子设备; At least one physical port among the M physical ports is a wide area network port, which is used to connect the home network cable of the network operator; at least one physical port among the M physical ports is a local area network port, which is used to connect to the network operator's second Electronic equipment; 所述第一电子设备包括检测单元、发送单元、接收单元和配置单元。 The first electronic device includes a detection unit, a sending unit, a receiving unit and a configuration unit. 2.根据权利要求1所述的第一电子设备,其特征在于,所述第一电子设备还包括电源接口,所述电源接口用于连接外部电源。 2. The first electronic device according to claim 1, wherein the first electronic device further comprises a power interface, and the power interface is used to connect to an external power supply. 3.根据权利要求1所述的第一电子设备,其特征在于,所述第一电子设备包括复位键,所述复位键用于还原所述第一电子设备的出厂设置。 3. The first electronic device according to claim 1, characterized in that the first electronic device comprises a reset key, and the reset key is used to restore the factory settings of the first electronic device. 4.根据权利要求1所述的第一电子设备,其特征在于,所述M为以下数字中的任意一种:(4+1)、(8+1)、(16+1)、(32+1)。 4. The first electronic device according to claim 1, wherein the M is any one of the following numbers: (4+1), (8+1), (16+1), (32 +1). 5.根据权利要求1所述的第一电子设备,其特征在于,所述M个物理端口设置于线卡上,所述线卡上还设置有微处理器,所述微处理器与所述M个物理端口连接,其中: 5. The first electronic device according to claim 1, wherein the M physical ports are arranged on a line card, and the line card is also provided with a microprocessor, and the microprocessor and the M physical port connections, where: 所述微处理器:用于进行数据链路层的封装和解封装;以及,在转发表中查找输入包目的地址从而决定目的端口。 The microprocessor: used for encapsulating and decapsulating the data link layer; and searching the destination address of the input packet in the forwarding table to determine the destination port. 6.根据权利要求1所述的第一电子设备,其特征在于,所述第一电子设备还包括无线发射器,用于通过第一通道向第二电子设备发送数据,使得第二电子设备通过第一电子设备接入网络。 6. The first electronic device according to claim 1, wherein the first electronic device further comprises a wireless transmitter for sending data to the second electronic device through the first channel, so that the second electronic device passes through The first electronic device accesses the network. 7.根据权利要求1所述的第一电子设备,其特征在于,所述第一电子设备还包括无线接收器,用于通过第一通道接收第二电子设备发送的数据,使得第二电子设备通过第一电子设备接入网络。 7. The first electronic device according to claim 1, characterized in that, the first electronic device further comprises a wireless receiver for receiving the data sent by the second electronic device through the first channel, so that the second electronic device Access to the network through the first electronic device. 8.根据权利要求1至7任一项所述的第一电子设备,其特征在于,所述第 一电子设备还包括蓝牙模组,所述蓝牙模组用于通过蓝牙方式连接所述第二电子设备。 8. The first electronic device according to any one of claims 1 to 7, characterized in that, the first electronic device further comprises a bluetooth module, and the bluetooth module is used to connect the second Electronic equipment. 9.根据权利要求1至7任一项所述的第一电子设备,其特征在于,所述第二电子设备为终端,所述终端包括智能手机、平板电脑、笔记本电脑、台式机电脑、个人数字助理。 9. The first electronic device according to any one of claims 1 to 7, wherein the second electronic device is a terminal, and the terminal includes a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant. 10.根据权利要求1至7任一项所述的第一电子设备,其特征在于,所述第一电子设备还包括分离器,所述分离器用于将网络运营商的一条入户网线为第一条入户网线和第二条入户网线,其中,第一条入户网线连接所述M个物理端口连接中的广域网端口,所述第二条入户网线连接第三电子设备。 10. The first electronic device according to any one of claims 1 to 7, characterized in that the first electronic device further comprises a splitter, and the splitter is used to convert a home network line of a network operator into a second A home network cable and a second home network cable, wherein the first home network cable is connected to the WAN port in the M physical port connections, and the second home network cable is connected to the third electronic device.
CN201520096893.4U 2015-02-10 2015-02-10 A kind of electronic equipment Expired - Lifetime CN204669390U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201520096893.4U CN204669390U (en) 2015-02-10 2015-02-10 A kind of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201520096893.4U CN204669390U (en) 2015-02-10 2015-02-10 A kind of electronic equipment

Publications (1)

Publication Number Publication Date
CN204669390U true CN204669390U (en) 2015-09-23

Family

ID=54139730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201520096893.4U Expired - Lifetime CN204669390U (en) 2015-02-10 2015-02-10 A kind of electronic equipment

Country Status (1)

Country Link
CN (1) CN204669390U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111884938A (en) * 2020-06-30 2020-11-03 海尔优家智能科技(北京)有限公司 Router information acquisition method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111884938A (en) * 2020-06-30 2020-11-03 海尔优家智能科技(北京)有限公司 Router information acquisition method and device
CN111884938B (en) * 2020-06-30 2022-12-30 海尔优家智能科技(北京)有限公司 Router information acquisition method and device

Similar Documents

Publication Publication Date Title
US9979497B2 (en) Audio playing method and apparatus based on Bluetooth connection
CN104981000B (en) A kind of stealthy Wi-Fi hotspot automatic accessing device and method
CN105323757B (en) Anti-network-rubbing wireless routing equipment and method
CN102255887B (en) Method and system for providing online service corresponding to multiple mobile devices
CN105704837B (en) Method and equipment for establishing wireless connection
CN112445700B (en) Test method and device
US9781125B2 (en) Enrollment in a device-to-device network
US7870305B2 (en) Proxy association for devices
US10152587B2 (en) Device pairing method
CN105554845B (en) An access method, router and terminal
US20180160463A1 (en) Wireless control of devices
CN106658488B (en) Intelligent household appliance and method and device for safely accessing intelligent household appliance
CN107404720A (en) The method and relevant device that a kind of wireless setting information is reset
WO2015139401A1 (en) Establishment method and system for wireless network, and wireless routing device
US20250063015A1 (en) Domain name system configuration during virtual private network connection
CN105306228A (en) Virtual content sharing method
CN204669390U (en) A kind of electronic equipment
CN112135253B (en) Network connection method and device
CN114531279A (en) Private network access method, server and storage medium
CN110460567A (en) A method and device for identity authentication
CN105282818A (en) A wireless speaker network access method and user terminal
CN113423068B (en) Communication method, mobile terminal, publishing terminal and communication system
CN115174107B (en) Virtual user authentication method, device, equipment and storage medium
CN104639408B (en) A kind of information processing method and electronic equipment
CN115174062B (en) Cloud service authentication method, device, equipment and storage medium

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Granted publication date: 20150923

CX01 Expiry of patent term