Movatterモバイル変換


[0]ホーム

URL:


CN110753358B - Configuration method and device - Google Patents

Configuration method and device
Download PDF

Info

Publication number
CN110753358B
CN110753358BCN201910955134.1ACN201910955134ACN110753358BCN 110753358 BCN110753358 BCN 110753358BCN 201910955134 ACN201910955134 ACN 201910955134ACN 110753358 BCN110753358 BCN 110753358B
Authority
CN
China
Prior art keywords
terminal
configuration
cpe
configuration information
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.)
Active
Application number
CN201910955134.1A
Other languages
Chinese (zh)
Other versions
CN110753358A (en
Inventor
王建平
张沛
林栋�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co LtdfiledCriticalChina United Network Communications Group Co Ltd
Priority to CN201910955134.1ApriorityCriticalpatent/CN110753358B/en
Publication of CN110753358ApublicationCriticalpatent/CN110753358A/en
Application grantedgrantedCritical
Publication of CN110753358BpublicationCriticalpatent/CN110753358B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

一种配置方法及装置,涉及通信领域,用于对多个终端进行统一配置。该方法包括:服务器首先确定第一终端的第一配置信息和第二终端的第二配置信息,然后通过基站向CPE发送第一配置信息和第二配置信息,CPE接收来自基站的第一配置信息和第二配置信息之后,向第一终端发送第一配置信息,以及向第二终端发送第二配置信息,实现了对多个终端进行统一配置。

Figure 201910955134

A configuration method and device relate to the field of communication and are used for uniform configuration of multiple terminals. The method includes: the server first determines the first configuration information of the first terminal and the second configuration information of the second terminal, and then sends the first configuration information and the second configuration information to the CPE through the base station, and the CPE receives the first configuration information from the base station After and the second configuration information, the first configuration information is sent to the first terminal, and the second configuration information is sent to the second terminal, so as to implement unified configuration for multiple terminals.

Figure 201910955134

Description

Translated fromChinese
一种配置方法及装置A configuration method and device

技术领域technical field

本发明涉及通信领域,尤其涉及一种配置方法及装置。The present invention relates to the field of communications, and in particular, to a configuration method and device.

背景技术Background technique

随着技术的发展,无线摄像头逐渐普及。现有的无线摄像头通常安装有第四代移动通信技术(the 4th generation mobile communication technology,4G)网络的用户识别(subscriber identification module,SIM)卡,并通过4G SIM卡与基站建立连接,实现视频监控。With the development of technology, wireless cameras are becoming more and more popular. The existing wireless camera is usually installed with a subscriber identification module (SIM) card of the 4th generation mobile communication technology (4G) network, and establishes a connection with the base station through the 4G SIM card to realize video surveillance. .

目前,运维人员需要对安装有4G SIM卡的每一无线摄像头进行配置,以实现视频监控。这样,在无线摄像头数量较多的场景中,对无线摄像头的配置所花销的时间较长,配置过程也较为繁琐。Currently, operation and maintenance personnel need to configure each wireless camera installed with a 4G SIM card for video surveillance. In this way, in a scenario with a large number of wireless cameras, it takes a long time to configure the wireless cameras, and the configuration process is also cumbersome.

发明内容SUMMARY OF THE INVENTION

本申请提供一种配置方法及装置,解决了在终端数量较多的场景中,无法对多个终端进行统一配置的问题。The present application provides a configuration method and device, which solves the problem that a unified configuration of multiple terminals cannot be performed in a scenario with a large number of terminals.

为达到上述目的,本申请采用如下技术方案:To achieve the above object, the application adopts the following technical solutions:

第一方面,提供一种配置方法,应用于服务器,该配置方法包括:服务器首先确定第一终端对应的第一配置信息,以及第二终端对应的第二配置信息,然后向基站发送第一配置信息和第二配置信息,以使基站通过客户前置设备CPE向第一终端发送第一配置信息、以及向第二终端发送第二配置信息。A first aspect provides a configuration method applied to a server, the configuration method comprising: the server first determines first configuration information corresponding to a first terminal and second configuration information corresponding to a second terminal, and then sends the first configuration to a base station information and the second configuration information, so that the base station sends the first configuration information to the first terminal and the second configuration information to the second terminal through the customer premises equipment CPE.

可以看出,本申请中,服务器首先确定第一终端对应的第一配置信息,以及第二终端对应的第二配置信息,然后向基站发送第一配置信息和第二配置信息,以使基站通过CPE向第一终端和第二终端统一发送对应的配置信息。相比现有技术需要对多个终端中每个终端分别进行配置,本申请无需与多个终端建立多条通信链路,也可完成多个终端的配置信息的发送,有效地提升了配置效率。It can be seen that in this application, the server first determines the first configuration information corresponding to the first terminal and the second configuration information corresponding to the second terminal, and then sends the first configuration information and the second configuration information to the base station, so that the base station can pass The CPE uniformly sends the corresponding configuration information to the first terminal and the second terminal. Compared with the prior art, which needs to configure each terminal of multiple terminals separately, the present application does not need to establish multiple communication links with multiple terminals, and can also complete the sending of configuration information of multiple terminals, which effectively improves the configuration efficiency. .

第二方面,提供一种配置方法,应用于CPE,该配置方法包括:CPE首先接收来自基站的第一配置信息和第二配置信息;然后向第一终端发送第一配置信息,以及向第二终端发送第二配置信息。In a second aspect, a configuration method is provided, which is applied to a CPE. The configuration method includes: the CPE first receives first configuration information and second configuration information from a base station; then sends the first configuration information to a first terminal, and sends the second configuration information to a second terminal. The terminal sends the second configuration information.

可以看出,本申请中,CPE接收来自基站的第一配置信息和第二配置信息后,统一向第一终端发送第一配置信息,以及向第二终端发送第二配置信息。相比现有技术需要对多个终端中每个终端分别进行配置,本申请中,CPE在接收到服务器发送的多个终端的配置信息后,统一发送所述配置信息。这样,服务器无需与多个终端建立多条通信链路,也可完成多个终端的配置信息的发送,有效地提升了配置效率。It can be seen that in this application, after receiving the first configuration information and the second configuration information from the base station, the CPE uniformly sends the first configuration information to the first terminal, and sends the second configuration information to the second terminal. Compared with the prior art, each of the multiple terminals needs to be configured separately. In this application, the CPE sends the configuration information uniformly after receiving the configuration information of the multiple terminals sent by the server. In this way, the server does not need to establish multiple communication links with multiple terminals, and can also complete the sending of configuration information of multiple terminals, which effectively improves configuration efficiency.

本申请中,服务器首先确定第一终端的第一配置信息和第二终端的第二配置信息,然后通过基站向CPE发送第一配置信息和第二配置信息,CPE接收来自基站的第一配置信息和第二配置信息之后,向第一终端发送第一配置信息,以及向第二终端发送第二配置信息。由于本申请中,多个终端通过CPE,与基站和服务器连接。服务器确定终端的配置信息后,通过基站发送给CPE,CPE在接收到服务器发送的多个终端的配置信息后,统一发送所述配置信息。这样,服务器无需与多个终端建立多条通信链路,也可完成多个终端的配置信息的发送,有效地提升了配置效率。In this application, the server first determines the first configuration information of the first terminal and the second configuration information of the second terminal, and then sends the first configuration information and the second configuration information to the CPE through the base station, and the CPE receives the first configuration information from the base station After and the second configuration information, the first configuration information is sent to the first terminal, and the second configuration information is sent to the second terminal. Because in this application, multiple terminals are connected to the base station and the server through the CPE. After the server determines the configuration information of the terminal, it sends the configuration information to the CPE through the base station, and the CPE sends the configuration information uniformly after receiving the configuration information of multiple terminals sent by the server. In this way, the server does not need to establish multiple communication links with multiple terminals, and can also complete the sending of configuration information of multiple terminals, which effectively improves configuration efficiency.

第三方面,提供一种配置装置,应用于服务器,该配置装置包括:确定单元和发送单元;确定单元,用于确定第一配置信息和第二配置信息;第一配置信息用于指示第一终端根据第一配置信息完成配置,第二配置信息用于指示第二终端根据第二配置信息完成配置,第一终端和第二终端均已在服务器中注册;发送单元,用于向基站发送确定单元确定的第一配置信息和第二配置信息,以使基站通过客户前置设备CPE向第一终端发送第一配置信息、以及向第二终端发送第二配置信息。In a third aspect, a configuration device is provided, applied to a server, the configuration device includes: a determination unit and a sending unit; a determination unit for determining first configuration information and second configuration information; the first configuration information is used to indicate the first configuration information. The terminal completes the configuration according to the first configuration information, the second configuration information is used to instruct the second terminal to complete the configuration according to the second configuration information, and both the first terminal and the second terminal have been registered in the server; the sending unit is used for sending the confirmation to the base station The unit determines the first configuration information and the second configuration information, so that the base station sends the first configuration information to the first terminal and sends the second configuration information to the second terminal through the customer premises equipment CPE.

第四方面,提供一种配置装置,应用于CPE,该配置装置包括:接收单元和发送单元;接收单元,用于接收来自基站的第一配置信息和第二配置信息;发送单元,用于向第一终端发送接收单元接收的第一配置信息;第一配置信息用于指示第一终端根据第一配置信息完成配置;发送单元,还用于向第二终端发送接收单元接收的第二配置信息;第二配置信息用于指示第二终端根据第二配置信息完成配置。In a fourth aspect, a configuration apparatus is provided, applied to a CPE, the configuration apparatus includes: a receiving unit and a sending unit; a receiving unit, configured to receive first configuration information and second configuration information from a base station; The first terminal sends the first configuration information received by the receiving unit; the first configuration information is used to instruct the first terminal to complete the configuration according to the first configuration information; the sending unit is further configured to send the second configuration information received by the receiving unit to the second terminal ; the second configuration information is used to instruct the second terminal to complete the configuration according to the second configuration information.

第五方面,提供一种配置装置,包括存储器和处理器;存储器用于存储计算机执行指令,处理器与存储器通过总线连接;当配置装置运行时,处理器执行存储器存储的计算机执行指令,以使配置装置执行第一方面所述的配置方法。In a fifth aspect, a configuration device is provided, including a memory and a processor; the memory is used to store computer-executed instructions, and the processor and the memory are connected through a bus; when the configuration device is running, the processor executes the computer-executed instructions stored in the memory, so that the The configuration apparatus executes the configuration method described in the first aspect.

该配置装置可以是网络设备,也可以是网络设备中的一部分装置,例如网络设备中的芯片系统。该芯片系统用于支持网络设备实现第一方面及其任意一种可能的实现方式中所涉及的功能,例如,接收、确定、分流上述配置方法中所涉及的数据和/或信息。该芯片系统包括芯片,也可以包括其他分立器件或电路结构。The configuration device may be a network device, or may be a part of the device in the network device, such as a chip system in the network device. The chip system is used to support the network device to implement the functions involved in the first aspect and any possible implementation manners thereof, for example, receiving, determining, and offloading the data and/or information involved in the above configuration method. The chip system includes chips, and may also include other discrete devices or circuit structures.

第六方面,提供一种计算机存储介质,计算机存储介质包括计算机执行指令,当计算机执行指令在计算机上运行时,使得该计算机执行第一方面和第二方面所述的配置方法。In a sixth aspect, a computer storage medium is provided, the computer storage medium includes computer-executable instructions, which, when executed on a computer, cause the computer to perform the configuration methods described in the first and second aspects.

第七方面,还提供一种计算机程序产品,该计算机程序产品包括计算机指令,当计算机指令在配置装置上运行时,使得配置装置执行如上述第一方面和第二方面所述的配置方法。In a seventh aspect, a computer program product is also provided, the computer program product comprising computer instructions, when the computer instructions are executed on the configuration device, the configuration device is caused to perform the configuration method described in the first and second aspects above.

需要说明的是,上述计算机指令可以全部或者部分存储在第一计算机存储介质上。其中,第一计算机存储介质可以与配置装置的处理器封装在一起的,也可以与配置装置的处理器单独封装,本申请对此不作限定。It should be noted that the above computer instructions may be stored in whole or in part on the first computer storage medium. The first computer storage medium may be packaged together with the processor of the configuration device, or may be packaged separately with the processor of the configuration device, which is not limited in this application.

本申请中第三方面、第四方面、第五方面、第六方面以及第七方面的描述,可以参考第一方面和第二方面的详细描述;并且,第三方面、第四方面、第五方面、第六方面以及第七方面的有益效果,可以参考第一方面和第二方面的有益效果分析,此处不再赘述。For the description of the third aspect, the fourth aspect, the fifth aspect, the sixth aspect and the seventh aspect in this application, reference may be made to the detailed description of the first aspect and the second aspect; For the beneficial effects of the first aspect, the sixth aspect and the seventh aspect, reference may be made to the analysis of the beneficial effects of the first aspect and the second aspect, which will not be repeated here.

在本申请中,上述配置装置的名字对设备或功能模块本身不构成限定,在实际实现中,这些设备或功能模块可以以其他名称出现。只要各个设备或功能模块的功能和本申请类似,属于本申请权利要求及其等同技术的范围之内。In this application, the names of the above configuration apparatuses do not limit the devices or functional modules themselves, and in actual implementation, these devices or functional modules may appear in other names. As long as the functions of each device or functional module are similar to those of the present application, they fall within the scope of the claims of the present application and their equivalents.

本申请的这些方面或其他方面在以下的描述中会更加简明易懂。These and other aspects of the present application will be more clearly understood from the following description.

附图说明Description of drawings

图1为本申请实施例提供的通信系统的结构示意图;FIG. 1 is a schematic structural diagram of a communication system provided by an embodiment of the present application;

图2为本申请实施例提供的通信装置的一种硬件结构示意图;FIG. 2 is a schematic diagram of a hardware structure of a communication device provided by an embodiment of the present application;

图3为本申请实施例提供的通信装置的又一种硬件结构示意图;FIG. 3 is a schematic diagram of another hardware structure of a communication device provided by an embodiment of the present application;

图4为本申请实施例提供的配置方法的流程示意图一;4 is aschematic flowchart 1 of a configuration method provided by an embodiment of the present application;

图5为本申请实施例提供的配置方法的流程示意图二;5 is a second schematic flowchart of a configuration method provided by an embodiment of the present application;

图6为本申请实施例提供的配置装置的流程示意图一;FIG. 6 is aschematic flowchart 1 of a configuration apparatus provided by an embodiment of the present application;

图7为本申请实施例提供的配置装置的流程示意图二。FIG. 7 is a second schematic flowchart of a configuration apparatus provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

需要说明的是,本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations, or illustrations. Any embodiments or designs described in the embodiments of the present application as "exemplary" or "such as" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner.

为了便于清楚描述本申请实施例的技术方案,在本申请实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分,本领域技术人员可以理解“第一”、“第二”等字样并不是在对数量和执行次序进行限定。In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same items or similar items with basically the same functions and functions. Persons can understand that words such as "first" and "second" are not intended to limit the quantity and execution order.

随着技术的发展,无线摄像头逐渐普及。现有的无线摄像头通常通过安装SIM卡,并通过SIM卡与基站和服务器建立连接,实现服务器通过基站查看视频监控。但是,在无线摄像头数量较多的场景中,服务器需要对多个无线摄像头中的每个无线摄像头进行配置,配置时间较长,配置过程也较为繁琐。With the development of technology, wireless cameras are becoming more and more popular. The existing wireless camera usually installs a SIM card and establishes a connection with the base station and the server through the SIM card, so that the server can view the video surveillance through the base station. However, in a scenario with a large number of wireless cameras, the server needs to configure each wireless camera in the multiple wireless cameras, which takes a long time to configure, and the configuration process is also cumbersome.

针对上述问题,本申请实施例提供了一种配置方法,在基站与多个终端之间部署了客户前置设备(customer premise equipment,CPE),所述多个终端通过CPE,与基站和服务器连接。CPE在接收到服务器发送的多个终端的配置信息后,统一发送所述配置信息。这样,服务器无需与多个终端建立多条通信链路,也可完成多个终端的配置信息的发送,有效地提升了配置效率。In response to the above problems, an embodiment of the present application provides a configuration method, in which customer premise equipment (CPE) is deployed between a base station and multiple terminals, and the multiple terminals are connected to the base station and the server through the CPE . After receiving the configuration information of multiple terminals sent by the server, the CPE sends the configuration information uniformly. In this way, the server does not need to establish multiple communication links with multiple terminals, and can also complete the sending of configuration information of multiple terminals, which effectively improves configuration efficiency.

本申请实施例提供的配置方法适用于通信系统。图1示出了该通信系统100的一种结构。如图1所示,该通信系统100包括:至少两个终端(如图1中所示的终端101、终端102)、CPE 103、基站104和服务器105。终端101和终端102均可与CPE 103建立通信连接,终端101和终端102还可以与服务器105建立通信连接,CPE 103与基站104之间建立通信连接,基站104与服务器105之间建立通信连接。The configuration methods provided in the embodiments of the present application are applicable to communication systems. FIG. 1 shows a structure of thecommunication system 100 . As shown in FIG. 1 , thecommunication system 100 includes: at least two terminals (terminal 101 and terminal 102 as shown in FIG. 1 ), aCPE 103 , abase station 104 and aserver 105 . Both the terminal 101 and the terminal 102 can establish a communication connection with theCPE 103, the terminal 101 and the terminal 102 can also establish a communication connection with theserver 105, theCPE 103 establishes a communication connection with thebase station 104, and thebase station 104 establishes a communication connection with theserver 105.

在实际应用中,基站104可以连接多个CPE,CPE 103可以连接多个终端。图1以基站104连接CPE 103,CPE 103连接终端101和终端102为例进行说明。In practical applications, thebase station 104 can be connected to multiple CPEs, and theCPE 103 can be connected to multiple terminals. FIG. 1 takes as an example that thebase station 104 is connected to theCPE 103, and theCPE 103 is connected to the terminal 101 and the terminal 102 as an example.

图1中的终端101和终端102用于向用户提供语音和/或数据连通性服务。所述终端可以有不同的名称,例如:用户设备(user equipment,UE)、接入终端、终端单元、终端站、移动站、移动台、远方站、远程终端、移动设备、无线通信设备、车辆用户设备、终端代理或终端装置等。可选的,所述终端可以为各种具有通信功能的手持设备、车载设备、可穿戴设备、计算机,本申请实施例对此不作任何限定。例如,手持设备可以是智能手机。车载设备可以是车载导航系统。可穿戴设备可以是智能手环。计算机可以是个人数字助理(personaldigital assistant,PDA)电脑、平板型电脑以及膝上型电脑(laptop computer)。Terminals 101 and 102 in Figure 1 are used to provide voice and/or data connectivity services to users. The terminal may have different names, such as: user equipment (user equipment, UE), access terminal, terminal unit, terminal station, mobile station, mobile station, remote station, remote terminal, mobile equipment, wireless communication equipment, vehicle User equipment, terminal agent or terminal device, etc. Optionally, the terminal may be various handheld devices, vehicle-mounted devices, wearable devices, and computers with communication functions, which are not limited in this embodiment of the present application. For example, the handheld device may be a smartphone. The in-vehicle device may be an in-vehicle navigation system. The wearable device can be a smart bracelet. The computer may be a personal digital assistant (PDA) computer, a tablet computer, and a laptop computer.

图1中的CPE 103是一种将第四代移动通信技术(the 4th Generation mobilecommunication technology,4G)信号或者第五代移动通信技术(the 5th Generationmobile communication technology,5G)信号转换成无线信号的设备,可支持多个终端同时进行通信连接。TheCPE 103 in FIG. 1 is a device that converts the 4th Generation mobile communication technology (the 4th Generation mobile communication technology, 4G) signal or the 5th Generation mobile communication technology (the 5th Generation mobile communication technology, 5G) signal into a wireless signal, It can support multiple terminals to communicate at the same time.

在本申请实施例中,CPE 103通过5Gsim卡与基站104进行通信连接,并将5G信号转换为无线信号,以使终端101和终端102接入该无线信号,实现CPE 103分别与基站104、终端101和终端102的通信连接。In the embodiment of the present application, theCPE 103 communicates with thebase station 104 through a 5Gsim card, and converts the 5G signal into a wireless signal, so that the terminal 101 and the terminal 102 can access the wireless signal, so that theCPE 103 communicates with thebase station 104 and the terminal respectively. 101 and the communication connection of the terminal 102.

图1中的基站104可以是无线通信的基站或基站控制器等。在本申请实施例中,所述基站可以是全球移动通信系统(global system for mobile communication,GSM),码分多址(code division multiple access,CDMA)中的基站(base transceiver station,BTS),宽带码分多址(wideband code division multiple access,WCDMA)中的基站(nodeB),eNB,物联网(internet of things,IoT)或者窄带物联网(narrow band-internet ofthings,NB-IoT)中的eNB,未来5G移动通信网络或者未来演进的公共陆地移动网络(publicland mobile network,PLMN)中的基站,本申请实施例对此不作任何限制。Thebase station 104 in FIG. 1 may be a base station or a base station controller or the like for wireless communication. In this embodiment of the present application, the base station may be a global system for mobile communication (GSM), a base transceiver station (BTS) in code division multiple access (CDMA), a broadband base station (nodeB), eNB in code division multiple access (wideband code division multiple access, WCDMA), eNB in Internet of things (internet of things, IoT) or narrow band-internet of things (NB-IoT), A base station in a future 5G mobile communication network or a future evolved public land mobile network (publicland mobile network, PLMN) is not limited in this embodiment of the present application.

图1中的服务器105可以是服务器集群(由多个服务器组成)中的一个服务器,也可以是该服务器中的芯片,还可以是该服务器中的片上系统,还可以通过部署在物理机上的虚拟机(virtual machine,VM)实现,本申请实施例对此不作限定。Theserver 105 in FIG. 1 may be a server in a server cluster (composed of multiple servers), a chip in the server, a system-on-chip in the server, or a virtual machine deployed on a physical machine. It is implemented by a virtual machine (VM), which is not limited in this embodiment of the present application.

通信系统100中的终端101、终端102、CPE 103、基站104和服务器105的基本硬件结构类似,都包括图2或图3所示通信装置所包括的元件。下面以图2和图3所示的通信装置为例,介绍终端101、终端102、CPE 103、基站104和服务器105的硬件结构。The basic hardware structures of the terminal 101 , the terminal 102 , theCPE 103 , thebase station 104 and theserver 105 in thecommunication system 100 are similar, and all include the elements included in the communication apparatus shown in FIG. 2 or FIG. 3 . The hardware structures of the terminal 101 , the terminal 102 , theCPE 103 , thebase station 104 and theserver 105 are described below by taking the communication device shown in FIG. 2 and FIG. 3 as an example.

如图2所示,为本申请实施例提供的通信装置的一种硬件结构示意图。该通信装置包括处理器21,存储器22、通信接口23、总线24。处理器21,存储器22以及通信接口23之间可以通过总线24连接。As shown in FIG. 2 , it is a schematic diagram of a hardware structure of a communication apparatus according to an embodiment of the present application. The communication device includes aprocessor 21 , amemory 22 , acommunication interface 23 , and a bus 24 . Theprocessor 21 , thememory 22 and thecommunication interface 23 can be connected through a bus 24 .

处理器21是通信装置的控制中心,可以是一个处理器,也可以是多个处理元件的统称。例如,处理器21可以是一个通用中央处理单元(central processing unit,CPU),也可以是其他通用处理器等。其中,通用处理器可以是微处理器或者是任何常规的处理器等。Theprocessor 21 is the control center of the communication device, and may be a processor or a general term for multiple processing elements. For example, theprocessor 21 may be a general-purpose central processing unit (central processing unit, CPU), or other general-purpose processors or the like. Wherein, the general-purpose processor may be a microprocessor or any conventional processor or the like.

作为一种实施例,处理器21可以包括一个或多个CPU,例如图2中所示的CPU 0和CPU 1。As an example, theprocessor 21 may include one or more CPUs, such asCPU 0 andCPU 1 shown in FIG. 2 .

存储器22可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electricallyerasable programmable read-only memory,EEPROM)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。Thememory 22 may be read-only memory (ROM) or other type of static storage device that can store static information and instructions, random access memory (RAM), or other type of static storage device that can store information and instructions The dynamic storage device can also be an electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), a magnetic disk storage medium or other magnetic storage devices, or can be used to carry or store data in the form of instructions or data structures. desired program code and any other medium that can be accessed by a computer, but is not limited thereto.

一种可能的实现方式中,存储器22可以独立于处理器21存在,存储器22可以通过总线24与处理器21相连接,用于存储指令或者程序代码。处理器21调用并执行存储器22中存储的指令或程序代码时,能够实现本发明下述实施例提供的配置方法。In a possible implementation manner, thememory 22 may exist independently of theprocessor 21, and thememory 22 may be connected to theprocessor 21 through a bus 24 for storing instructions or program codes. When theprocessor 21 calls and executes the instructions or program codes stored in thememory 22, the configuration methods provided by the following embodiments of the present invention can be implemented.

在本申请实施例中,对于终端101、终端102、CPE 103、基站104和服务器105而言,存储器22中存储的软件程序不同,所以终端101、终端102、CPE 103、基站104和服务器105实现的功能不同。关于各设备所执行的功能将结合下面的流程图进行描述。In the embodiment of the present application, for the terminal 101, the terminal 102, theCPE 103, thebase station 104 and theserver 105, the software programs stored in thememory 22 are different, so the terminal 101, the terminal 102, theCPE 103, thebase station 104 and theserver 105 realize function is different. The functions performed by each device will be described in conjunction with the following flowcharts.

另一种可能的实现方式中,存储器22也可以和处理器21集成在一起。In another possible implementation manner, thememory 22 may also be integrated with theprocessor 21 .

通信接口23,用于通信装置与其他设备通过通信网络连接,所述通信网络可以是以太网,无线接入网,无线局域网(wireless local area networks,WLAN)等。通信接口23可以包括用于接收数据的接收单元,以及用于发送数据的发送单元。Thecommunication interface 23 is used for connecting the communication device and other devices through a communication network, and the communication network may be Ethernet, wireless access network, wireless local area networks (wireless local area networks, WLAN) and the like. Thecommunication interface 23 may include a receiving unit for receiving data, and a transmitting unit for transmitting data.

总线24,可以是工业标准体系结构(industry standard architecture,ISA)总线、外部设备互连(peripheral component interconnect,PCI)总线或扩展工业标准体系结构(extended industry standard architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图1中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 24 may be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, an extended industry standard architecture (EISA) bus, or the like. The bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in FIG. 1, but it does not mean that there is only one bus or one type of bus.

需要指出的是,图2中示出的结构并不构成对该通信装置的限定,除图2所示部件之外,该通信装置可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It should be pointed out that the structure shown in FIG. 2 does not constitute a limitation on the communication device. In addition to the components shown in FIG. 2, the communication device may include more or less components than those shown in the figure, or a combination of certain some components, or a different arrangement of components.

图3示出了本申请实施例中通信装置的另一种硬件结构。如图3所示,通信装置可以包括处理器31以及通信接口32。处理器31与通信接口32耦合。FIG. 3 shows another hardware structure of the communication device in the embodiment of the present application. As shown in FIG. 3 , the communication apparatus may include aprocessor 31 and acommunication interface 32 . Theprocessor 31 is coupled with thecommunication interface 32 .

处理器31的功能可以参考上述处理器21的描述。此外,处理器31还具备存储功能,可以起上述存储器22的功能。For the function of theprocessor 31, reference may be made to the description of theprocessor 21 above. In addition, theprocessor 31 also has a storage function, which can function as the above-mentionedmemory 22 .

通信接口32用于为处理器31提供数据。该通信接口32可以是通信装置的内部接口,也可以是通信装置对外的接口(相当于通信接口23)。Thecommunication interface 32 is used to provide data to theprocessor 31 . Thecommunication interface 32 may be an internal interface of the communication device, or may be an external interface of the communication device (equivalent to the communication interface 23).

需要指出的是,图2(或图3)中示出的结构并不构成对通信装置的限定,除图2(或图3)所示部件之外,该通信装置可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It should be pointed out that the structure shown in FIG. 2 (or FIG. 3 ) does not constitute a limitation on the communication device, and the communication device may include more components than those shown in the figure except for the components shown in FIG. 2 (or FIG. 3 ). or fewer components, or a combination of certain components, or a different arrangement of components.

下面结合附图对本申请实施例提供的配置方法进行详细介绍。The configuration method provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.

为了便于描述,在本申请实施例中,以终端101为摄像头A、终端102为摄像头B为例,对本申请实施例进行说明。For ease of description, in the embodiments of the present application, the embodiments of the present application are described by taking the terminal 101 as the camera A and the terminal 102 as the camera B as examples.

可选的,摄像头A和摄像头B可以为无线摄像头。Optionally, camera A and camera B may be wireless cameras.

如图4所示,为本申请实施例提供的一种配置方法的流程示意图。该配置方法包括:S401-S415。As shown in FIG. 4 , it is a schematic flowchart of a configuration method provided by an embodiment of the present application. The configuration method includes: S401-S415.

S401、摄像头A向服务器105发送第一注册请求。S401 , the camera A sends a first registration request to theserver 105 .

其中,第一注册请求包括:摄像头A的位置信息。The first registration request includes: location information of camera A.

具体的,摄像头A通过注册通信链路向服务器105发送第一注册请求。该第一注册请求用于向服务器105请求注册摄像头A。Specifically, the camera A sends the first registration request to theserver 105 through the registration communication link. The first registration request is used to request theserver 105 to register the camera A.

可选的,运维人员通过使用服务器105相应的应用软件,扫描摄像头A自身携带的二维码,建立摄像头A与服务器105之间的注册通信链路,实现通信连接。该注册通信链路的带宽资源较少,仅仅可以实现简单的消息转发。摄像头A还可以通过其他方式与服务器105建立通信连接,在此不作限定。Optionally, the operation and maintenance personnel scan the two-dimensional code carried by the camera A by using the corresponding application software of theserver 105 to establish a registered communication link between the camera A and theserver 105 to realize the communication connection. The registered communication link has less bandwidth resources, and can only implement simple message forwarding. The camera A can also establish a communication connection with theserver 105 in other ways, which is not limited here.

服务器105在接收到第一注册请求后,可以根据第一注册请求完成摄像头A的注册,并向摄像头A回复注册成功或者注册失败的响应消息。本申请实施例以摄像头A注册成功为例进行说明。After receiving the first registration request, theserver 105 may complete the registration of the camera A according to the first registration request, and reply to the camera A a response message of registration success or registration failure. The embodiment of the present application takes the successful registration of the camera A as an example for description.

S402、摄像头B向服务器105发送第二注册请求。S402 , the camera B sends a second registration request to theserver 105 .

其中,第二注册请求包括:摄像头B的位置信息。Wherein, the second registration request includes: location information of camera B.

具体的,摄像头B通过注册通信链路向服务器105发送第二注册请求。该第二注册请求用于向服务器105请求注册摄像头B。Specifically, the camera B sends the second registration request to theserver 105 through the registration communication link. The second registration request is used to request theserver 105 to register the camera B.

摄像头B向服务器105发送第二注册请求的方式可以参考摄像头A向服务器105发送第一注册请求的方式,在此不再赘述。For the manner in which the camera B sends the second registration request to theserver 105, reference may be made to the manner in which the camera A sends the first registration request to theserver 105, and details are not described herein again.

服务器105在接收到第二注册请求后,可以根据第二注册请求完成摄像头B的注册,并向摄像头B回复注册成功或者注册失败的响应消息。本申请实施例以摄像头B注册成功为例进行说明。After receiving the second registration request, theserver 105 may complete the registration of the camera B according to the second registration request, and reply to the camera B a response message of registration success or registration failure. The embodiment of the present application takes the successful registration of the camera B as an example for description.

需要说明的是,摄像头A和摄像头B可以同时向服务器105发送第一注册请求和第二注册请求;也可以是摄像头A先向服务器105发送第一注册请求,摄像头B后向服务器105发送第二注册请求;还可以是,摄像头B先向服务器105发送第二注册请求,摄像头A后向服务器105发送第一注册请求,在此不作限定。It should be noted that the camera A and the camera B can send the first registration request and the second registration request to theserver 105 at the same time; it is also possible that the camera A sends the first registration request to theserver 105 first, and then the camera B sends the second registration request to theserver 105. A registration request; it may also be that the camera B sends the second registration request to theserver 105 first, and the camera A sends the first registration request to theserver 105 afterward, which is not limited herein.

S403、CPE 103向基站104发送第三注册请求。S403 , theCPE 103 sends a third registration request to thebase station 104 .

其中,第三注册请求包括:CPE 103的位置信息。第三注册请求用于向服务器105请求注册CPE 103。Wherein, the third registration request includes: the location information of theCPE 103 . The third registration request is used to request theserver 105 to register theCPE 103 .

CPE 103与基站104进行通信连接,并向基站发送第三注册请求。TheCPE 103 is in communication connection with thebase station 104, and sends a third registration request to the base station.

可选的,CPE 103通过5G sim卡与基站104连接。Optionally, theCPE 103 is connected to thebase station 104 through a 5G sim card.

在实际应用中,CPE 103可以将5G信号转换为无线信号。该CPE103服务范围内的摄像头可以接入该CPE 103发出的无线信号。上述无线信号和CPE 103的关系是一一对应的,CPE 103为了更加清楚的表明自己的身份,CPE 103在向基站发送第三注册请求时,需要将自己对应的无线信号的相关信息发送至服务器105。因此,上述第三注册请求还包括:CPE103的无线信号的名称、接入CPE 103的无线信号的密钥、CPE 103的无线信号的加密类型(有线等效加密类型、预共享加密类型等)等信息。In practical applications, theCPE 103 can convert 5G signals into wireless signals. Cameras within the service range of theCPE 103 can access the wireless signals sent by theCPE 103 . The relationship between the above wireless signals and theCPE 103 is one-to-one correspondence. In order for theCPE 103 to more clearly indicate its identity, when theCPE 103 sends the third registration request to the base station, it needs to send the relevant information of its corresponding wireless signal to the server. 105. Therefore, the above-mentioned third registration request also includes: the name of the wireless signal of theCPE 103, the key for accessing the wireless signal of theCPE 103, the encryption type of the wireless signal of the CPE 103 (wired equivalent encryption type, pre-shared encryption type, etc.), etc. information.

S404、基站104向服务器105转发来自CPE 103的第三注册请求。S404 , thebase station 104 forwards the third registration request from theCPE 103 to theserver 105 .

服务器105可以根据第三注册请求对CPE 103进行注册,并向基站104回复注册成功或者注册失败的响应消息。基站104向CPE 103转发来自服务器105的响应消息。本申请实施例以CPE 103注册成功为例进行说明。Theserver 105 may register theCPE 103 according to the third registration request, and reply to thebase station 104 with a response message of registration success or registration failure. Thebase station 104 forwards the response message from theserver 105 to theCPE 103 . The embodiment of the present application takes the successful registration of theCPE 103 as an example for description.

S405、服务器105根据摄像头A的位置信息、摄像头B的位置信息和CPE 103的位置信息,确定摄像头A和摄像头B在CPE 103提供服务的范围内。S405. Theserver 105 determines, according to the location information of the camera A, the location information of the camera B, and the location information of theCPE 103, that the camera A and the camera B are within the scope of the service provided by theCPE 103.

在摄像头A和摄像头B注册的过程中,服务器105获取摄像头A的位置信息和摄像头B的位置信息。During the registration process of camera A and camera B, theserver 105 obtains the location information of camera A and the location information of camera B.

具体的,由于摄像头A向服务器105发送的第一注册请求中包括摄像头A的位置信息,因此,服务器105可以从第一注册请求中获取摄像头A的位置信息。同理,服务器可以获取摄像头B的位置信息。Specifically, since the first registration request sent by the camera A to theserver 105 includes the location information of the camera A, theserver 105 can obtain the location information of the camera A from the first registration request. Similarly, the server can obtain the location information of camera B.

同理,在CPE 103注册的过程中,服务器105获取CPE 103的位置信息。由于每个CPE的性能参数是固定的,因此,每个CPE的服务范围也是固定的。服务器105在获取出CPE 103的位置信息后,能够确定出该CPE 103提供服务的范围。Similarly, in the process ofCPE 103 registration,server 105 obtains the location information ofCPE 103 . Since the performance parameters of each CPE are fixed, the service scope of each CPE is also fixed. After acquiring the location information of theCPE 103, theserver 105 can determine the scope of the service provided by theCPE 103.

服务器105根据摄像头A的位置信息、摄像头B的位置信息和CPE103的位置信息,判断摄像头A和摄像头B是否在CPE 103提供服务的范围内。当摄像头A和摄像头B不在CPE 103提供服务的范围时,服务器105需要判断摄像头A和摄像头B是否在其他CPE提供的范围内。当摄像头A和摄像头B在CPE 103提供服务的范围时,执行步骤S406。本申请实施例以摄像头A和摄像头B在CPE 103提供服务的范围为例进行说明。Theserver 105 determines whether the camera A and the camera B are within the range of the service provided by theCPE 103 according to the location information of the camera A, the location information of the camera B, and the location information of theCPE 103 . When the camera A and the camera B are not within the range provided by theCPE 103, theserver 105 needs to determine whether the camera A and the camera B are within the range provided by other CPEs. When the camera A and the camera B are in the range where theCPE 103 provides services, step S406 is performed. The embodiments of the present application are described by taking the scope of the services provided by the camera A and the camera B in theCPE 103 as an example.

示例性的,当摄像头A的位置信息、摄像头B的位置信息与CPE 103的位置信息都是第一小区时,服务器105确定摄像头A和摄像头B在CPE 103提供服务的范围内。Exemplarily, when the location information of the camera A, the location information of the camera B, and the location information of theCPE 103 are all the first cell, theserver 105 determines that the camera A and the camera B are within the range that theCPE 103 provides services.

S406、服务器105向摄像头A发送第一指示信息,并向摄像头B发送第二指示信息。S406 , theserver 105 sends the first indication information to the camera A, and sends the second indication information to the camera B.

当摄像头A和摄像头B都在CPE 103提供服务的范围内时,服务器105确定将摄像头A和摄像头B分别与CPE 103连接。具体的,服务器105通过注册通信链路向摄像头A发送第一指示信息,该第一指示信息用于指示摄像头A连接CPE 103。服务器105通过注册通信链路向摄像头B发送第二指示信息,该第二指示信息用于指示摄像头B连接CPE 103。第一指示消息和第二指示消息中都包括:服务器105从第三注册请求中获取到的CPE 103的无线信号的名称、接入CPE 103的无线信号的密钥、CPE 103的无线信号的加密类型等信息。When both the camera A and the camera B are within the range provided by theCPE 103, theserver 105 determines to connect the camera A and the camera B with theCPE 103, respectively. Specifically, theserver 105 sends the first indication information to the camera A through the registered communication link, where the first indication information is used to instruct the camera A to connect to theCPE 103 . Theserver 105 sends the second indication information to the camera B through the registered communication link, where the second indication information is used to instruct the camera B to connect to theCPE 103 . Both the first indication message and the second indication message include: the name of the wireless signal of theCPE 103 obtained by theserver 105 from the third registration request, the key for accessing the wireless signal of theCPE 103, and the encryption of the wireless signal of theCPE 103 type, etc.

由上述可知,由于注册通信链路的带宽资源较少,因此,服务器105在向摄像头A发送第一指示信息、以及向摄像头B发送第二指示信息之后,若在预设时间内未收到摄像头A和摄像头B的其他消息,则说明摄像头A和摄像头B已经与CPE 103建立连接,服务器105可以通过基站104和CPE103与摄像头A和摄像头B进行通信,无需使用带宽资源较少的注册通信链路进行通信,因此,服务器105断开与摄像头A和和摄像头B之间的注册通信链路。It can be seen from the above that since the bandwidth resources of the registered communication link are relatively small, theserver 105, after sending the first indication information to camera A and sending the second indication information to camera B, if it does not receive the camera within the preset time Other messages from camera A and camera B indicate that camera A and camera B have established a connection withCPE 103, andserver 105 can communicate with camera A and camera B throughbase station 104 andCPE 103, without using a registered communication link with less bandwidth resources communication, therefore, theserver 105 disconnects the registered communication link with camera A and camera B.

S407、摄像头A根据第一指示信息接入CPE 103,以及摄像头B根据第二指示信息接入CPE 103。S407. Camera A accesses theCPE 103 according to the first instruction information, and camera B accesses theCPE 103 according to the second instruction information.

摄像头A根据第一指示消息中的CPE 103的无线信号的名称、接入CPE 103的无线信号的密钥、CPE 103的无线信号的加密类型等信息,接入CPE 103发出的无线信号。The camera A accesses the wireless signal sent by theCPE 103 according to the name of the wireless signal of theCPE 103, the key for accessing the wireless signal of theCPE 103, the encryption type of the wireless signal of theCPE 103 and other information in the first instruction message.

同理,摄像头B根据第二指示消息中的CPE 103的无线信号的名称、接入CPE 103的无线信号的密钥、CPE 103的无线信号的加密类型等信息,接入CPE 103发出的无线信号。Similarly, the camera B accesses the wireless signal sent by theCPE 103 according to the information such as the name of the wireless signal of theCPE 103, the key for accessing the wireless signal of theCPE 103, and the encryption type of the wireless signal of theCPE 103 in the second instruction message. .

S408、服务器105确定第一配置信息和第二配置信息。S408: Theserver 105 determines the first configuration information and the second configuration information.

其中,第一配置信息与摄像头A对应,且用于指示摄像头A根据第一配置信息完成配置。第二配置信息与摄像头B对应,且用于指示摄像头B根据第二配置信息完成配置。The first configuration information corresponds to the camera A, and is used to instruct the camera A to complete the configuration according to the first configuration information. The second configuration information corresponds to the camera B, and is used to instruct the camera B to complete the configuration according to the second configuration information.

S409、服务器105向基站104发送第一配置信息和第二配置信息。S409 , theserver 105 sends the first configuration information and the second configuration information to thebase station 104 .

摄像头A和摄像头B与CPE 103建立连接后,服务器105可以通过基站104、CPE 103控制摄像头A和摄像头B。例如,控制摄像头A和摄像头B的操作系统的升级,转动方向或转动频率等。After the camera A and the camera B are connected to theCPE 103 , theserver 105 can control the camera A and the camera B through thebase station 104 and theCPE 103 . For example, control the upgrade of the operating systems of camera A and camera B, the rotation direction or rotation frequency, etc.

相应的,服务器105分别为摄像头A和摄像头B确定第一配置信息和第二配置信息,并向基站104发送第一配置信息和第二配置信息。Correspondingly, theserver 105 determines the first configuration information and the second configuration information for the camera A and the camera B, respectively, and sends the first configuration information and the second configuration information to thebase station 104 .

具体的,由于服务器105断开了与摄像头A和摄像头B之间建立的注册通信链路,因此,服务器需要通过基站104和CPE 103向摄像头A和摄像头B发送第一配置信息和第二配置信息。Specifically, since theserver 105 disconnects the registration communication link established between the camera A and the camera B, the server needs to send the first configuration information and the second configuration information to the camera A and the camera B through thebase station 104 and theCPE 103 .

S410、基站104向CPE 103转发来自服务器105的第一配置信息和第二配置信息。S410 . Thebase station 104 forwards the first configuration information and the second configuration information from theserver 105 to theCPE 103 .

S411、CPE 103向摄像头A发送第一配置信息,以及向摄像头B发送第二配置信息。S411 . TheCPE 103 sends the first configuration information to the camera A, and sends the second configuration information to the camera B.

具体的,由于第一配置信息与摄像头A对应,第二配置信息与摄像头B对应,CPE103可以根据对应关系,分别向摄像头A发送第一配置信息,以及向摄像头B发送第二配置信息,完成统一配置。Specifically, since the first configuration information corresponds to camera A and the second configuration information corresponds to camera B, theCPE 103 can respectively send the first configuration information to camera A and the second configuration information to camera B according to the corresponding relationship to complete the unification configuration.

S412、摄像头A根据第一配置信息完成配置,以及摄像头B根据第二配置信息完成配置。S412. Camera A completes the configuration according to the first configuration information, and camera B completes the configuration according to the second configuration information.

示例性的,若第一配置信息用于指示摄像头A每隔1分钟水平方向旋转一次,则摄像头A在接收到第一配置信息后,以1分钟的频率,水平方向旋转进行拍摄。若第二配置信息用于指示摄像头B每隔2分钟垂直方向旋转一次,摄像头B在接收到第二配置信息后,以2分钟的频率,垂直方向旋转进行拍摄。Exemplarily, if the first configuration information is used to instruct the camera A to rotate in the horizontal direction every 1 minute, after receiving the first configuration information, the camera A rotates in the horizontal direction for shooting at a frequency of 1 minute. If the second configuration information is used to instruct the camera B to rotate vertically every 2 minutes, after receiving the second configuration information, the camera B rotates vertically to shoot at a frequency of 2 minutes.

S413、摄像头A向CPE 103发送第一监控数据,以及摄像头B向CPE 103发送第二监控数据。S413 , the camera A sends the first monitoring data to theCPE 103 , and the camera B sends the second monitoring data to theCPE 103 .

具体的,摄像头A和摄像头B完成配置后,根据配置信息对自身的监控区域进行监控,并周期性(例如1天)的向CPE 103发送自身的监控数据,如影像数据。Specifically, after the camera A and the camera B are configured, monitor their own monitoring areas according to the configuration information, and periodically (for example, one day) send their own monitoring data, such as image data, to theCPE 103 .

S414、CPE 103向基站104转发来自摄像头A的第一监控数据,以及来自摄像头B的第二监控数据。S414 , theCPE 103 forwards the first monitoring data from the camera A and the second monitoring data from the camera B to thebase station 104 .

S415、基站104向服务器105转发来自摄像头A的第一监控数据,以及来自摄像头B的第二监控数据。S415 , thebase station 104 forwards the first monitoring data from the camera A and the second monitoring data from the camera B to theserver 105 .

服务器105接收第一监控数据和第二监控数据后,对第一监控数据和第二监控数据进行存储,以便于运维人员可以直接从服务器105获取每个终端对应的监控数据。After receiving the first monitoring data and the second monitoring data, theserver 105 stores the first monitoring data and the second monitoring data, so that the operation and maintenance personnel can directly obtain the monitoring data corresponding to each terminal from theserver 105 .

综上,摄像头A和摄像头B通过CPE 103,与基站104和服务器105建立连接。服务器105确定摄像头A和摄像头B的配置信息后,通过基站104发送给CPE 103,CPE 103在接收到服务器105发送的摄像头A和摄像头B的配置信息后,统一发送所述配置信息。这样,服务器105无需与摄像头A和摄像头B建立多条通信链路,也可完成摄像头A和摄像头B的配置信息的发送,有效地提升了配置效率。To sum up, the camera A and the camera B establish a connection with thebase station 104 and theserver 105 through theCPE 103 . After theserver 105 determines the configuration information of camera A and camera B, it sends it to theCPE 103 through thebase station 104. After receiving the configuration information of camera A and camera B sent by theserver 105, theCPE 103 sends the configuration information uniformly. In this way, theserver 105 does not need to establish multiple communication links with the camera A and the camera B, and can also complete the sending of the configuration information of the camera A and the camera B, which effectively improves the configuration efficiency.

进一步可选的,本申请实施例中的CPE 103会周期性的向基站104和服务器105发送自身的位置信息和工作状态信息,以使运维人员可以从服务器105获取到CPE 103的位置和工作状态。结合上述图4,如图5所示,本申请实施例提供的数据处理的方法还包括:S501-S502。Further optionally, theCPE 103 in this embodiment of the present application will periodically send its own location information and working status information to thebase station 104 and theserver 105 , so that the operation and maintenance personnel can obtain the location and work of theCPE 103 from theserver 105 . state. With reference to the above FIG. 4 , as shown in FIG. 5 , the data processing method provided by the embodiment of the present application further includes: S501-S502.

S501、CPE 103周期性的向基站104发送CPE 103的位置信息和工作状态信息。S501 , theCPE 103 periodically sends the location information and working status information of theCPE 103 to thebase station 104 .

具体的,CPE 103可以对自身的位置信息进行定位,然后向基站发送自身的位置信息,防止非法人员盗取CPE 103。此外,CPE 103还可以向基站发送自身的工作状态信息。该工作状态信息用于表示CPE 103是否处于正常工作状态,以便于运维人员可以根据CPE 103的工作状态信息进行相应操作。Specifically, theCPE 103 can locate its own location information, and then send its own location information to the base station to prevent illegal persons from stealing theCPE 103 . In addition, theCPE 103 can also send its own working status information to the base station. The working state information is used to indicate whether theCPE 103 is in a normal working state, so that the operation and maintenance personnel can perform corresponding operations according to the working state information of theCPE 103 .

S502、基站104向服务器105发送CPE 103的位置信息和工作状态信息。S502 , thebase station 104 sends the location information and working status information of theCPE 103 to theserver 105 .

可选的,服务器105可以根据CPE 103的位置信息和工作状态信息,通过相应的应用软件,向运维人员发送告警信息。例如:当CPE 103在第二次发送的位置信息比第一次发送的位置信息变化程度大于预设距离时,服务器105通过相应的应用软件向运维人员发送告警信息,提醒运维人员CPE 103位置发生变化,运维人员可以根据CPE 103的位置信息到现场进行查看,并根据实际情况进行相应操作。当CPE 103发送的工作状态信息为故障状态信息时,服务器105也可以通过相应的应用软件向运维人员发送告警信息,提示运维人员对CPE 103进行维护。Optionally, theserver 105 may send alarm information to the operation and maintenance personnel through corresponding application software according to the location information and working status information of theCPE 103 . For example: when the position information sent by theCPE 103 for the second time is more than the preset distance from the position information sent for the first time, theserver 105 sends an alarm message to the operation and maintenance personnel through the corresponding application software, reminding the operation and maintenance personnel of theCPE 103 When the location changes, the operation and maintenance personnel can check the site according to the location information of theCPE 103, and perform corresponding operations according to the actual situation. When the working state information sent by theCPE 103 is fault state information, theserver 105 may also send alarm information to the operation and maintenance personnel through corresponding application software, prompting the operation and maintenance personnel to maintain theCPE 103 .

综上,本申请实施例中,服务器首先确定摄像头A的第一配置信息和摄像头B的第二配置信息,然后通过基站104向CPE 103发送第一配置信息和第二配置信息,CPE 103接收来自基站104的第一配置信息和第二配置信息之后,向摄像头A发送第一配置信息,以及向摄像头B发送第二配置信息。由于本申请实施例中,摄像头A和摄像头B通过CPE 103,与基站104和服务器105建立连接。服务器105确定摄像头A和摄像头B的配置信息后,通过基站104发送给CPE 103,CPE 103在接收到服务器105发送的摄像头A和摄像头B的配置信息后,统一发送所述配置信息。这样,服务器105无需与摄像头A和摄像头B建立多条通信链路,也可完成摄像头A和摄像头B的配置信息的发送,有效地提升了配置效率。其次,CPE 103还可以周期性的向基站104和服务器105发送自身的位置信息和工作状态信息,以使运维人员可以从服务器105获取到CPE 103的位置和工作状态,便于对CPE进行管理。To sum up, in this embodiment of the present application, the server first determines the first configuration information of camera A and the second configuration information of camera B, and then sends the first configuration information and the second configuration information to theCPE 103 through thebase station 104, and theCPE 103 receives the After the first configuration information and the second configuration information of thebase station 104, the first configuration information is sent to the camera A, and the second configuration information is sent to the camera B. Because in this embodiment of the present application, the camera A and the camera B establish a connection with thebase station 104 and theserver 105 through theCPE 103 . After theserver 105 determines the configuration information of camera A and camera B, it sends it to theCPE 103 through thebase station 104. After receiving the configuration information of camera A and camera B sent by theserver 105, theCPE 103 sends the configuration information uniformly. In this way, theserver 105 does not need to establish multiple communication links with the camera A and the camera B, and can also complete the sending of the configuration information of the camera A and the camera B, which effectively improves the configuration efficiency. Secondly, theCPE 103 can also periodically send its own location information and working status information to thebase station 104 and theserver 105, so that the operation and maintenance personnel can obtain the position and working status of theCPE 103 from theserver 105, which is convenient for CPE management.

上述主要从方法的角度对本申请实施例提供的方案进行了介绍。为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The solutions provided by the embodiments of the present application have been introduced above mainly from the perspective of methods. In order to realize the above-mentioned functions, it includes corresponding hardware structures and/or software modules for executing each function. Those skilled in the art should easily realize that the present application can be implemented in hardware or a combination of hardware and computer software with the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.

本申请实施例可以根据上述方法示例对终端进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。可选的,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment of the present application, the terminal may be divided into functional modules according to the foregoing method examples. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. Optionally, the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and another division manner may be used in actual implementation.

如图6所示,为本申请实施例提供的一种配置装置的结构示意图。该配置装置可以用于执行图4和图5所示的配置方法。图6所示配置装置应用于服务器,该配置装置包括:确定单元601和发送单元602。As shown in FIG. 6 , it is a schematic structural diagram of a configuration apparatus provided by an embodiment of the present application. The configuration apparatus can be used to perform the configuration methods shown in FIGS. 4 and 5 . The configuration apparatus shown in FIG. 6 is applied to a server, and the configuration apparatus includes: a determiningunit 601 and a sendingunit 602 .

确定单元601,用于确定第一配置信息和第二配置信息;第一配置信息用于指示第一终端根据第一配置信息完成配置,第二配置信息用于指示第二终端根据第二配置信息完成配置,第一终端和第二终端均已在服务器中注册。The determiningunit 601 is configured to determine first configuration information and second configuration information; the first configuration information is used to instruct the first terminal to complete the configuration according to the first configuration information, and the second configuration information is used to instruct the second terminal to complete the configuration according to the second configuration information After completing the configuration, both the first terminal and the second terminal have been registered in the server.

发送单元602,用于向基站发送确定单元601确定的第一配置信息和第二配置信息,以使基站通过客户前置设备CPE向第一终端发送第一配置信息、以及向第二终端发送第二配置信息。The sendingunit 602 is configured to send the first configuration information and the second configuration information determined by the determiningunit 601 to the base station, so that the base station sends the first configuration information to the first terminal and the second terminal to the second terminal through the customer premise equipment CPE. 2. Configuration information.

可选的,该配置装置还包括:接收单元603;Optionally, the configuration apparatus further includes: a receivingunit 603;

接收单元603,用于接收来自第一终端的第一注册请求,第一注册请求包括:第一终端的位置信息;第一注册请求用于请求注册第一终端;A receivingunit 603, configured to receive a first registration request from the first terminal, where the first registration request includes: location information of the first terminal; the first registration request is used to request to register the first terminal;

接收单元603,还用于接收来自第二终端的第二注册请求,第二注册请求包括:第二终端的位置信息;第二注册请求用于请求注册第二终端;The receivingunit 603 is further configured to receive a second registration request from the second terminal, where the second registration request includes: location information of the second terminal; the second registration request is used to request to register the second terminal;

接收单元603,还用于接收来自基站的第三注册请求,第三注册请求包括:CPE的位置信息;第三注册请求用于请求注册CPE;第三注册请求是CPE向基站发送的;The receivingunit 603 is further configured to receive a third registration request from the base station, where the third registration request includes: location information of the CPE; the third registration request is used to request to register the CPE; the third registration request is sent by the CPE to the base station;

确定单元601,还用于根据接收单元603接收的第一终端的位置信息、第二终端的位置信息和CPE的位置信息,确定第一终端和第二终端位于CPE提供服务的范围内;The determiningunit 601 is further configured to determine, according to the location information of the first terminal, the location information of the second terminal and the location information of the CPE received by the receivingunit 603, that the first terminal and the second terminal are located within the scope of the service provided by the CPE;

发送单元602,还用于向第一终端发送第一指示信息,并向第二终端发送第二指示信息;第一指示信息用于指示第一终端连接CPE,第二指示信息用于指示第二终端连接CPE。The sendingunit 602 is further configured to send first indication information to the first terminal, and send second indication information to the second terminal; the first indication information is used to instruct the first terminal to connect to the CPE, and the second indication information is used to instruct the second terminal The terminal is connected to the CPE.

如图7所示,为本申请实施例提供的一种配置装置的结构示意图。该配置装置可以用于执行图4和图5所示的配置方法。图7所示配置装置应用于CPE,该配置装置包括:接收单元701和发送单元702。As shown in FIG. 7 , it is a schematic structural diagram of a configuration apparatus provided by an embodiment of the present application. The configuration apparatus can be used to perform the configuration methods shown in FIGS. 4 and 5 . The configuration apparatus shown in FIG. 7 is applied to the CPE, and the configuration apparatus includes: a receivingunit 701 and a sendingunit 702 .

接收单元701,用于接收来自基站的第一配置信息和第二配置信息;a receivingunit 701, configured to receive first configuration information and second configuration information from a base station;

发送单元702,用于向第一终端发送接收单元701接收的第一配置信息;第一配置信息用于指示第一终端根据第一配置信息完成配置;The sendingunit 702 is configured to send the first configuration information received by the receivingunit 701 to the first terminal; the first configuration information is used to instruct the first terminal to complete the configuration according to the first configuration information;

发送单元702,还用于向第二终端发送接收单元701接收的第二配置信息;第二配置信息用于指示第二终端根据第二配置信息完成配置。The sendingunit 702 is further configured to send the second configuration information received by the receivingunit 701 to the second terminal; the second configuration information is used to instruct the second terminal to complete the configuration according to the second configuration information.

可选的,发送单元702,还用于向基站发送第三注册请求,以使得基站向服务器发送第三注册请求;第三注册请求用于请求在服务器中注册CPE。Optionally, the sendingunit 702 is further configured to send a third registration request to the base station, so that the base station sends a third registration request to the server; the third registration request is used to request to register the CPE in the server.

可选的,发送单元702,还用于周期性的向基站发送CPE的位置信息和工作状态信息,以使得基站向服务器发送CPE的位置信息和工作状态信息。Optionally, the sendingunit 702 is further configured to periodically send the location information and working state information of the CPE to the base station, so that the base station sends the location information and working state information of the CPE to the server.

本申请实施例还提供一种计算机存储介质,计算机存储介质包括计算机执行指令,当计算机执行指令在计算机上运行时,使得计算机执行如上述实施例提供的配置方法。Embodiments of the present application further provide a computer storage medium, where the computer storage medium includes computer-executable instructions, and when the computer-executable instructions are executed on the computer, the computer executes the configuration method provided by the foregoing embodiments.

本申请实施例还提供一种计算机程序,该计算机程序可直接加载到存储器中,并含有软件代码,该计算机程序经由计算机载入并执行后能够实现上述实施例提供的配置方法。Embodiments of the present application further provide a computer program, which can be directly loaded into a memory and contains software codes. After the computer program is loaded and executed by a computer, the configuration methods provided by the above embodiments can be implemented.

本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should appreciate that, in one or more of the above examples, the functions described in the present invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.

通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。From the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be allocated as required. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division, and there may be other division manners in actual implementation. For example, multiple units or components may be combined or may be integrated into another device, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms. Units described as separate components may or may not be physically separated, and components shown as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units. The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, which are stored in a storage medium Among them, several instructions are included to cause a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk and other mediums that can store program codes.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the technical scope disclosed by the present invention can easily think of changes or substitutions. All should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims (10)

CN201910955134.1A2019-10-092019-10-09Configuration method and deviceActiveCN110753358B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910955134.1ACN110753358B (en)2019-10-092019-10-09Configuration method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910955134.1ACN110753358B (en)2019-10-092019-10-09Configuration method and device

Publications (2)

Publication NumberPublication Date
CN110753358A CN110753358A (en)2020-02-04
CN110753358Btrue CN110753358B (en)2022-09-27

Family

ID=69277838

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910955134.1AActiveCN110753358B (en)2019-10-092019-10-09Configuration method and device

Country Status (1)

CountryLink
CN (1)CN110753358B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP1838056A1 (en)*2006-03-242007-09-26Huawei Technologies Co., Ltd.A method and device for automatic configuration of PVC for CPE
CN101867509A (en)*2007-02-162010-10-20华为技术有限公司 Device, system and method for automatic configuration of application terminals in home network
CN102075506A (en)*2009-11-232011-05-25皇家Kpn公司 Method and system for remote device management
CN107710800A (en)*2015-06-302018-02-16诺基亚通信公司 Rapid and flexible deployment of UE-based relay stations
JP2018516511A (en)*2015-06-012018-06-21アルカテル−ルーセント Load balancing server for transferring priority traffic to one or more priority autoconfiguration servers
CN110278095A (en)*2018-03-132019-09-24华为技术有限公司 A message transmission method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP1838056A1 (en)*2006-03-242007-09-26Huawei Technologies Co., Ltd.A method and device for automatic configuration of PVC for CPE
CN101867509A (en)*2007-02-162010-10-20华为技术有限公司 Device, system and method for automatic configuration of application terminals in home network
CN102075506A (en)*2009-11-232011-05-25皇家Kpn公司 Method and system for remote device management
JP2018516511A (en)*2015-06-012018-06-21アルカテル−ルーセント Load balancing server for transferring priority traffic to one or more priority autoconfiguration servers
CN107710800A (en)*2015-06-302018-02-16诺基亚通信公司 Rapid and flexible deployment of UE-based relay stations
CN110278095A (en)*2018-03-132019-09-24华为技术有限公司 A message transmission method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Relay站点下的VOLTE通话问题及解决方案;张志鹏;《信息通信》;20180215(第02期);全文*
WLAN CPE部署技术探讨;文永鑫;《电信科学》;20121215(第12期);全文*
浅析DHCP及其在Cable Modem系统中的应用;邢浩等;《有线电视技术》;20130120(第01期);全文*

Also Published As

Publication numberPublication date
CN110753358A (en)2020-02-04

Similar Documents

PublicationPublication DateTitle
US11297666B2 (en)Electronic device and method for forming Wi-Fi direct group thereof
US11032858B2 (en)Network access method, terminal, access network, and core network
US20210274340A1 (en)Method For Obtaining Capability Information Of Terminal, Apparatus, And System
US12095849B2 (en)Method and apparatus for transferring an edge computing application
CN110351828B (en) A positioning method and device
US20200374829A1 (en)Method for determining location information and apparatus
WO2018201407A1 (en)Report sending method, report receiving method, device and system
WO2018170798A1 (en)Session migration method and device
CN112019378B (en) Method and device for troubleshooting
CN111586797B (en)Communication method and access network equipment
WO2019184016A1 (en)Sim card authentication method and terminal
CN112153667B (en)Measuring method and device
CN107333260A (en)A kind of method and device for the real MAC address for obtaining terminal
KR20150065410A (en)Access point connection method of electronic apparatus and electronic appparatus thereof
CN106413047A (en)Method and device for enabling intelligent device to be accessed to wireless network
CN111669792A (en) Cell handover method and device
US20230396988A1 (en)Method and apparatus for establishing communication connections
BR112020020070A2 (en) METHOD, APPARATUS AND COMMUNICATIONS SYSTEM, AND STORAGE MEDIA
CN108024308A (en)The method and apparatus that wireless access point is shared, connected
WO2022199402A1 (en)Cell access method, user equipment, and base station
CN114158038A (en)Communication method, device and storage medium
CN107026857B (en) An information processing method and gateway device
CN110753358B (en)Configuration method and device
CN111565437A (en) A communication method and access network device
CN114900792A (en)Communication method, terminal, base station device, campus communication system, and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp