[go: up one dir, main page]

CN114222377A - Data transmission method, system and computer readable storage medium - Google Patents

Data transmission method, system and computer readable storage medium Download PDF

Info

Publication number
CN114222377A
CN114222377A CN202111591857.1A CN202111591857A CN114222377A CN 114222377 A CN114222377 A CN 114222377A CN 202111591857 A CN202111591857 A CN 202111591857A CN 114222377 A CN114222377 A CN 114222377A
Authority
CN
China
Prior art keywords
wireless network
bmc
client
bluetooth
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.)
Withdrawn
Application number
CN202111591857.1A
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.)
Inspur Shandong Computer Technology Co Ltd
Original Assignee
Inspur Shandong Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Shandong Computer Technology Co Ltd filed Critical Inspur Shandong Computer Technology Co Ltd
Priority to CN202111591857.1A priority Critical patent/CN114222377A/en
Publication of CN114222377A publication Critical patent/CN114222377A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/40Connection management for selective distribution or broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a data transmission method, a system and a medium, wherein the method comprises the following steps: the BMC broadcasts the Bluetooth information and the wireless network information of the BMC so that the client generates a Bluetooth connection request and a wireless network connection request by using the Bluetooth information and the wireless network information respectively and sends the Bluetooth connection request and the wireless network connection request to the BMC; when a Bluetooth connection request is received, establishing Bluetooth connection with a client, and sending a preset IP address to the client through the Bluetooth connection; when a wireless network connection request is received, establishing wireless network connection with a client so that the client performs BMC data transmission with BMC by using the wireless network connection and a preset IP address; the client and the BMC can establish stable communication connection through a Bluetooth connection mode and a wireless network connection mode, burden brought to managers by repeated cable plugging in and unplugging in the related technology can be avoided, and then the efficiency of the managers for maintaining and checking the server can be improved.

Description

Data transmission method, system and computer readable storage medium
Technical Field
The present invention relates to the field of servers, and in particular, to a data transmission method, system, and computer-readable storage medium.
Background
BMC (Baseboard Manager Controller, BMC) is an important component unit for realizing out-of-band management of a server. In the related art, a manager needs to collect logs, upgrade firmware or perform other operations in the BMC through a wired network. However, the number of servers in the machine room is large, and when a manager needs to detect each server in the machine room, the manager needs to repeatedly pull and insert cables, which is easy to increase the burden of the manager on maintenance work.
Disclosure of Invention
The invention aims to provide a data transmission method, a data transmission system and a computer readable storage medium, wherein a stable communication connection can be established between a client and a BMC (baseboard management controller) in a wireless connection mode, so that the burden of a manager caused by repeated cable plugging in and unplugging in the related technology can be avoided, and the efficiency of the manager in maintaining and checking a server can be improved.
In order to solve the above technical problem, the present invention provides a data transmission method, including:
the BMC broadcasts the Bluetooth information and the wireless network information of the BMC so that a client generates a Bluetooth connection request and a wireless network connection request by using the Bluetooth information and the wireless network information respectively and sends the Bluetooth connection request and the wireless network connection request to the BMC;
when the Bluetooth connection request is received, establishing Bluetooth connection with the client, and sending a preset IP address to the client through the Bluetooth connection;
and when the wireless network connection request is received, establishing wireless network connection with the client so that the client performs BMC data transmission with the BMC by using the wireless network connection and the preset IP address.
Optionally, before establishing the bluetooth connection with the client, the method further includes:
the BMC presets a Bluetooth connection mode as a Just Work mode;
correspondingly, the establishing of the bluetooth connection with the client includes:
and the BMC establishes the Bluetooth connection with the client in the Just Work mode.
Optionally, before establishing the wireless network connection with the client, the method further includes:
the BMC presets a wireless network connection mode as an Open System mode;
correspondingly, the establishing of the wireless network connection with the client includes:
and the BMC establishes the wireless network connection with the client in the Open System mode.
Optionally, the client generates a bluetooth connection request and a wireless network connection request by using the bluetooth information and the wireless network information, and sends the bluetooth connection request and the wireless network connection request to the BMC, including:
the client side respectively scans Bluetooth information and wireless network information to obtain a Bluetooth information table and a wireless network information table;
searching the target Bluetooth information of the BMC in the Bluetooth information table, generating the Bluetooth connection request by using the target Bluetooth information and sending the Bluetooth connection request to the BMC;
and searching target wireless network information with the same name as the target Bluetooth information in the wireless network information table, generating the wireless network connection request by using the target wireless network information and sending the wireless network connection request to the BMC.
Optionally, the client performs BMC data transmission with the BMC by using the wireless network connection and the preset IP address, including:
the client sends user information to the BMC by using the wireless network connection and the preset IP address;
the BMC verifies the user information and sends response information to the client by using the wireless network connection after the user information passes the verification;
and after receiving the response message, the client transmits the BMC data with the BMC by using the wireless network connection and the preset IP address.
Optionally, the broadcasting, by the BMC, the bluetooth information and the wireless network information of the BMC includes:
the BMC broadcasts the Bluetooth information and the wireless network information by using a wireless communication module;
correspondingly, when the bluetooth connection request is received, establishing a bluetooth connection with the client includes:
when the BMC receives the Bluetooth connection request by using the wireless communication module, the BMC establishes Bluetooth connection with the client by using the wireless communication module;
correspondingly, the establishing a wireless network connection with the client when receiving the wireless network connection request includes:
and the BMC establishes the wireless network connection with the client by using the wireless communication module when receiving the wireless network connection request by using the wireless communication module.
Optionally, the wireless communication module is connected to the BMC through a USB interface.
The present invention also provides a data transmission system, comprising: a BMC and a client, wherein,
the BMC is used for broadcasting Bluetooth information and wireless network information; when the Bluetooth connection request is received, establishing Bluetooth connection with the client, and sending a preset IP address to the client through the Bluetooth connection; when the wireless network connection request is received, establishing wireless network connection with the client;
the client is used for generating a Bluetooth connection request and a wireless network connection request by respectively utilizing the Bluetooth information and the wireless network information and sending the Bluetooth connection request and the wireless network connection request to the BMC; and carrying out BMC data transmission with the BMC by using the wireless network connection and the preset IP address.
Optionally, the BMC is further configured to preset a bluetooth connection mode as a Just Work mode;
correspondingly, the BMC is also used for establishing the Bluetooth connection with the client in the Just Work mode.
The invention also provides a computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are loaded and executed by a processor, the data transmission method is realized.
The invention provides a data transmission method, which comprises the following steps: the BMC broadcasts the Bluetooth information and the wireless network information of the BMC so that a client generates a Bluetooth connection request and a wireless network connection request by using the Bluetooth information and the wireless network information respectively and sends the Bluetooth connection request and the wireless network connection request to the BMC; when the Bluetooth connection request is received, establishing Bluetooth connection with the client, and sending a preset IP address to the client through the Bluetooth connection; and when the wireless network connection request is received, establishing wireless network connection with the client so that the client performs BMC data transmission with the BMC by using the wireless network connection and the preset IP address.
Therefore, the BMC in the invention provides a Bluetooth connection mode and a wireless network connection mode, and simultaneously broadcasts own Bluetooth information and wireless network information to the outside. After receiving the bluetooth information, a client needing to establish connection with the BMC firstly utilizes the information to establish a bluetooth connection request, and utilizes the request to establish bluetooth connection with the BMC so as to receive a preset IP address sent by the BMC through the bluetooth connection, wherein the address is used for accessing the BMC, because the bluetooth connection speed is higher and the address is more suitable for transmitting a small amount of information compared with a wireless network, the client can quickly obtain the IP address of the BMC through the bluetooth connection; in addition, after the client receives the wireless network information of the BMC, the client can further utilize the information to construct a Bluetooth connection request, and utilize the request to establish wireless network connection with the BMC so as to carry out BMC data transmission with the BMC through the wireless network connection and the preset IP address. In other words, stable communication connection can be established between the client and the BMC in a Bluetooth connection mode and a wireless network connection mode, wired connection does not need to be established, burden on managers caused by repeated cable plugging in and out in the related art can be avoided, and the efficiency of the managers in maintaining and checking the server can be improved. The invention also provides a data transmission system and a computer readable storage medium, which have the beneficial effects.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a data transmission method according to an embodiment of the present invention;
fig. 2a is a block diagram of a data transmission system according to an embodiment of the present invention;
fig. 2b is a block diagram of another data transmission system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the related art, a manager needs to collect logs, upgrade firmware or perform other operations in the BMC through a wired network. However, the number of servers in the machine room is large, and when a manager needs to detect each server in the machine room, the manager needs to repeatedly pull and insert cables, which is easy to increase the burden of the manager on maintenance work. In view of this, the present invention provides a data transmission method, in which a stable communication connection can be established between a client and a BMC through a wireless connection manner, so as to avoid a burden on a manager caused by repeated cable plugging and unplugging in the related art, and further improve the efficiency of the manager in performing maintenance and inspection on a server. Referring to fig. 1, fig. 1 is a flowchart of a data transmission method according to an embodiment of the present invention, where the method includes:
s101, broadcasting the Bluetooth information and the wireless network information of the BMC by the BMC so that the client generates a Bluetooth connection request and a wireless network connection request by using the Bluetooth information and the wireless network information respectively, and sending the Bluetooth connection request and the wireless network connection request to the BMC.
In the embodiment of the invention, two wireless connections are established between the client and the BMC: the data transmission method comprises the following steps of Bluetooth connection and wireless network connection (WIFI), wherein the Bluetooth connection is established at a high speed, but the bandwidth is small, and the Bluetooth connection is suitable for transmitting a small amount of data, so that the Bluetooth connection and the wireless network connection (WIFI) are used for transmitting necessary data for data transmission with a BMC in the embodiment of the invention; the wireless network has larger bandwidth and larger signal strength, and is suitable for transmitting a large amount of data in a long distance, so the wireless network is used for performing BMC data transmission with the BMC in the embodiment of the invention. It can be understood that, to establish the above two types of connections, the BMC needs to broadcast the bluetooth information and the wireless network information that are built in the BMC first, so that the client scans the two types of information to obtain the two types of information, and generates a corresponding bluetooth connection request and a corresponding wireless network connection request by using the information, and further requests the BMC to establish a corresponding connection. It should be noted that, the embodiment of the present invention does not limit the specific bluetooth information, the wireless network information, and the corresponding broadcast manner, nor the specific manner in which the client creates the bluetooth connection request and the wireless network connection request by using the bluetooth information and the wireless network information, respectively, and reference may be made to related technologies of bluetooth and wireless networks.
Further, it can be understood that the number of BMC devices in the room is large, and the client can scan a plurality of bluetooth information and wireless network information in the room area; in addition, the client needs to scan the bluetooth information and the wireless network information respectively to obtain a bluetooth information table and a wireless network information table, and then queries the information of the target BMC in the two tables, at this time, if the bluetooth information and the wireless network information of the BMC do not have associated information that can indicate a corresponding relationship, the client cannot accurately find the required information in the two tables, and thus it is difficult to establish bluetooth connection and wireless network connection with the same BMC. Therefore, the bluetooth information and the wireless network information of the BMC should have the above-mentioned association information. The embodiment of the present invention does not limit the specific association information, and may be, for example, an association identifier, or the same name, and may be set according to the actual application requirements. In the embodiment of the invention, in order to improve the identification efficiency, the same name is set for the Bluetooth information and the wireless network information of the same BMC. The embodiment of the invention does not limit the specific names, and can be set according to the actual application requirements.
In one possible case, the client generates a bluetooth connection request and a wireless network connection request by using the bluetooth information and the wireless network information, respectively, and sends the bluetooth connection request and the wireless network connection request to the BMC, which may include:
step 11: the client side respectively scans the Bluetooth information and the wireless network information to obtain a Bluetooth information table and a wireless network information table;
step 12: searching target Bluetooth information of the BMC in the Bluetooth information table, generating a Bluetooth connection request by using the target Bluetooth information and sending the Bluetooth connection request to the BMC;
step 13: and searching target wireless network information with the same name as the target Bluetooth information in the wireless network information table, and generating a wireless network connection request by using the target wireless network information and sending the wireless network connection request to the BMC.
S102, when receiving the Bluetooth connection request, establishing Bluetooth connection with the client, and sending the preset IP address to the client through the Bluetooth connection.
It should be noted that the embodiment of the present invention does not limit which bluetooth connection mode the BMC uses to establish a bluetooth connection with the client, and may refer to the related technology of bluetooth and select the connection mode according to actual applications. However, some bluetooth modes need to perform code matching operation, that is, the bluetooth connection can be established only after the pairing code is input, and considering that the BMC device does not usually have a display device and a keyboard and is inconvenient to perform pairing code input and display, the embodiment of the present invention can set the bluetooth connection mode of the BMC to be the Just Work mode (direct connection), and at this time, the above code matching operation is not required between the client and the BMC, which can simplify the bluetooth connection process, and further improve the efficiency of establishing the bluetooth connection between the client and the BMC.
In a possible case, before establishing the bluetooth connection with the client, the method may further include:
step 21: the BMC presets the Bluetooth connection mode as a Just Work mode;
correspondingly, the establishing of the bluetooth connection with the client may include:
step 22: the BMC establishes Bluetooth connection with the client in a Just Work mode.
Further, it should be noted that the preset IP address is an IP address that the client needs to use to access the BMC. In the related art, it is troublesome for a manager to perform a query operation in a Basic Input/output System (BIOS) of the BMC to obtain the IP address; in the embodiment of the invention, the IP address of the BMC is prestored, and then after the client establishes the Bluetooth connection with the BMC, the BMC sends the IP address to the client, so that the management personnel can be prevented from performing related query operation, and the efficiency of the management personnel in detecting and maintaining the server is improved.
S103, when the wireless network connection request is received, wireless network connection is established with the client, so that the client performs BMC data transmission with BMC by using the wireless network connection and the preset IP address.
It should be noted that the embodiment of the present invention does not limit which wireless network connection mode the BMC uses to establish the wireless network connection with the client, and may refer to the related technology of the wireless network and select the wireless network connection mode according to the actual application. However, some wireless network modes need to perform related authentication, which reduces the efficiency of establishing the wireless network connection between the client and the BMC, so in order to improve the efficiency, the embodiment of the present invention may set the wireless network connection mode of the BMC to an Open System mode (Open System), and at this time, authentication operation is not required between the client and the BMC, which can simplify the wireless network connection process, thereby improving the efficiency of establishing the wireless network connection between the client and the BMC.
In a possible case, before establishing the wireless network connection with the client, the method may further include:
step 31: the BMC presets a wireless network connection mode as an Open System mode;
correspondingly, establishing a wireless network connection with the client may include:
step 32: the BMC establishes wireless network connection with an Open System mode client.
Further, after the wireless network connection with the BMC is established, the client can access the IP of the BMC through the connection, and further perform BMC data transmission with the BMC. It should be noted that the embodiment of the present invention does not limit the specific data related to BMC data transmission, and for example, the specific data may be a KVM screen data (remote control), or may be other BMC data, and reference may be made to the related art of BMC. Further, in order to improve the security of the BMC and avoid malicious login, the BMC may also require the client to input relevant user information, such as a user name and a password, when the client accesses the IP, and allow BMC data transmission with the client after verifying the user information. It should be noted that, the embodiment of the present invention does not limit specific user information, and may be set according to application requirements.
In a possible case, the BMC data transmission between the client and the BMC using the wireless network connection and the preset IP address may include:
step 41: the client sends user information to the BMC by using the wireless network connection and the preset IP address;
step 42: the BMC verifies the user information and sends response information to the client by using the wireless network connection after the user information passes the verification;
step 43: and after receiving the response information, the client transmits BMC data with the BMC by using the wireless network connection and the preset IP address.
It should be noted that the response message is used to inform the client that the client is authenticated. The embodiment of the invention does not limit the specific form of the response information, and can be set according to the actual application requirements.
Further, the embodiment of the present invention does not limit whether the bluetooth connection capability and the wireless network connection capability are provided by the BMC natively or provided by an independent wireless communication module accessing the BMC. If the native communication capability of the BMC needs to be improved, the connection capability can be provided by the BMC native; if the compatibility needs to be improved, the connection capability can also be provided by the wireless communication module. In the embodiment of the invention, in order to improve compatibility, an independent wireless communication module can be arranged to provide the Bluetooth connection capability and the wireless network connection capability for the BMC, namely, the broadcasting and connection establishing functions can be controlled by the BMC to be executed.
In one possible scenario, the BMC broadcasts the bluetooth information and the wireless network information of the BMC, including:
step 51: the BMC broadcasts Bluetooth information and wireless network information by using the wireless communication module;
correspondingly, when a bluetooth connection request is received, the bluetooth connection with the client is established, including:
step 52: when the BMC receives the Bluetooth connection request by using the wireless communication module, the BMC establishes Bluetooth connection with the client by using the wireless communication module;
correspondingly, when receiving the wireless network connection request, establishing wireless network connection with the client, including:
step 53: when the BMC receives the wireless network connection request by using the wireless communication module, the BMC establishes wireless network connection with the client by using the wireless communication module.
It should be noted that, the embodiment of the present invention does not limit the connection manner between the wireless communication module and the BMC, and the connection manner may be set according to the input capability provided by the BMC. In one possible case, the wireless communication module is connected to the BMC via a USB interface. It should be noted that, the embodiment of the present invention is not limited to the specific structure of the wireless communication module, and can be set according to the actual application requirements.
Based on the embodiment, the BMC in the invention provides the Bluetooth connection mode and the wireless network connection mode, and simultaneously broadcasts the Bluetooth information and the wireless network information of the BMC to the outside. After receiving the bluetooth information, a client needing to establish connection with the BMC firstly utilizes the information to establish a bluetooth connection request, and utilizes the request to establish bluetooth connection with the BMC so as to receive a preset IP address sent by the BMC through the bluetooth connection, wherein the address is used for accessing the BMC, because the bluetooth connection speed is higher and the address is more suitable for transmitting a small amount of information compared with a wireless network, the client can quickly obtain the IP address of the BMC through the bluetooth connection; in addition, after the client receives the wireless network information of the BMC, the client can further utilize the information to construct a Bluetooth connection request, and utilize the request to establish wireless network connection with the BMC so as to carry out BMC data transmission with the BMC through the wireless network connection and the preset IP address. In other words, stable communication connection can be established between the client and the BMC in a Bluetooth connection mode and a wireless network connection mode, wired connection does not need to be established, burden on managers caused by repeated cable plugging in and out in the related art can be avoided, and the efficiency of the managers in maintaining and checking the server can be improved.
In the following, the data transmission system and the computer readable storage medium provided by the embodiments of the present invention are introduced, and the data transmission system and the computer readable storage medium described below and the data transmission method described above may be referred to correspondingly.
Referring to fig. 2a, fig. 2a is a block diagram of a data transmission system according to an embodiment of the present invention, where the system may include: BMC201, and client 202, wherein,
the BMC201 can be used for broadcasting Bluetooth information and wireless network information; when receiving a bluetooth connection request, establishing bluetooth connection with the client 202, and sending a preset IP address to the client 202 through the bluetooth connection; establishing wireless network connection with the client 202 when receiving a wireless network connection request;
the client 202 may be configured to generate a bluetooth connection request and a wireless network connection request by using the bluetooth information and the wireless network information, and send the bluetooth connection request and the wireless network connection request to the BMC 201; and performing BMC201 data transmission with the BMC201 by using the wireless network connection and the preset IP address.
Optionally, the BMC201 may be further configured to preset the bluetooth connection mode to a Just Work mode; a bluetooth connection is established with the client 202 in Just Work mode.
Optionally, the BMC201 may be further configured to preset the wireless network connection mode to an Open System mode; the client 202 establishes a wireless network connection in the Open System mode.
Optionally, the client 202 may be further configured to perform bluetooth information scanning and wireless network information scanning, respectively, to obtain a bluetooth information table and a wireless network information table; searching target Bluetooth information of the BMC201 in a Bluetooth information table, generating a Bluetooth connection request by using the target Bluetooth information, and sending the Bluetooth connection request to the BMC 201; and searching target wireless network information with the same name as the target Bluetooth information in the wireless network information table, generating a wireless network connection request by using the target wireless network information, and sending the wireless network connection request to the BMC 201.
Optionally, the client 202 may also be configured to send user information to the BMC201 by using a wireless network connection and a preset IP address; after receiving the response information returned by the BMC201, the BMC201 performs data transmission with the BMC201 by using the wireless network connection and the preset IP address.
The BMC201 may further be configured to verify the user information, and send a response message to the client 202 through the wireless network connection after the user information passes the verification.
Optionally, referring to fig. 2b, fig. 2b is a block diagram of another data transmission system according to an embodiment of the present invention, where the system may further include: the wireless communication module 203, wherein,
the BMC201 can also be used for broadcasting Bluetooth information and wireless network information by using the wireless communication module 203; when receiving a bluetooth connection request by using the wireless communication module 203, establishing a bluetooth connection with the client 202 by using the wireless communication module 203; upon receiving the wireless network connection request using the wireless communication module 203, a wireless network connection is established with the client 202 using the wireless communication module 203.
Optionally, the wireless communication module 203 is connected with the BMC201 through a USB interface.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the data transmission method in any of the above embodiments are implemented.
Since the embodiment of the computer-readable storage medium portion corresponds to the embodiment of the data transmission method portion, please refer to the description of the embodiment of the data transmission method portion for the embodiment of the computer-readable storage medium portion, which is not repeated here.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The data transmission method, system and computer readable storage medium provided by the present invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (10)

1.一种数据传输方法,其特征在于,包括:1. a data transmission method, is characterized in that, comprises: BMC广播所述BMC的蓝牙信息及无线网络信息,以使客户端分别利用所述蓝牙信息及所述无线网络信息生成蓝牙连接请求和无线网络连接请求,并向所述BMC发送所述蓝牙连接请求和所述无线网络连接请求;The BMC broadcasts the Bluetooth information and wireless network information of the BMC, so that the client uses the Bluetooth information and the wireless network information to generate a Bluetooth connection request and a wireless network connection request respectively, and sends the Bluetooth connection request to the BMC and the wireless network connection request; 在接收到所述蓝牙连接请求时,与所述客户端建立蓝牙连接,并将预设IP地址通过所述蓝牙连接发送至所述客户端;When receiving the bluetooth connection request, establish a bluetooth connection with the client, and send the preset IP address to the client through the bluetooth connection; 在接收到所述无线网络连接请求时,与所述客户端建立无线网络连接,以使所述客户端利用所述无线网络连接及所述预设IP地址与所述BMC进行BMC数据传输。When receiving the wireless network connection request, establish a wireless network connection with the client, so that the client uses the wireless network connection and the preset IP address to perform BMC data transmission with the BMC. 2.根据权利要求1所述的数据传输方法,其特征在于,在与所述客户端建立蓝牙连接之前,还包括:2. The data transmission method according to claim 1, wherein before establishing a Bluetooth connection with the client, the method further comprises: 所述BMC将蓝牙连接模式预设为Just Work模式;The BMC presets the Bluetooth connection mode to the Just Work mode; 相应的,所述与所述客户端建立蓝牙连接,包括:Correspondingly, establishing a Bluetooth connection with the client includes: 所述BMC以所述Just Work模式与所述客户端建立所述蓝牙连接。The BMC establishes the Bluetooth connection with the client in the Just Work mode. 3.根据权利要求1所述的数据传输方法,其特征在于,在与所述客户端建立无线网络连接之前,还包括:3. The data transmission method according to claim 1, wherein before establishing a wireless network connection with the client, the method further comprises: 所述BMC将无线网络连接模式预设为Open System模式;The BMC presets the wireless network connection mode to the Open System mode; 相应的,所述与所述客户端建立无线网络连接,包括:Correspondingly, the establishing a wireless network connection with the client includes: 所述BMC以所述Open System模式所述客户端建立所述无线网络连接。The BMC establishes the wireless network connection with the client in the Open System mode. 4.根据权利要求1所述的数据传输方法,其特征在于,所述客户端分别利用所述蓝牙信息及所述无线网络信息生成蓝牙连接请求和无线网络连接请求,并向所述BMC发送所述蓝牙连接请求和所述无线网络连接请求,包括:4. The data transmission method according to claim 1, wherein the client uses the Bluetooth information and the wireless network information to generate a Bluetooth connection request and a wireless network connection request, respectively, and sends the information to the BMC. The Bluetooth connection request and the wireless network connection request include: 所述客户端分别进行蓝牙信息扫描和无线网络信息扫描,得到蓝牙信息表和无线网络信息表;The client performs Bluetooth information scanning and wireless network information scanning respectively to obtain a Bluetooth information table and a wireless network information table; 在所述蓝牙信息表中查找所述BMC的目标蓝牙信息,利用所述目标蓝牙信息生成所述蓝牙连接请求并发送至所述BMC;Find the target Bluetooth information of the BMC in the Bluetooth information table, and use the target Bluetooth information to generate the Bluetooth connection request and send it to the BMC; 在所述无线网络信息表中查找与所述目标蓝牙信息具有相同名称的目标无线网络信息,利用所述目标无线网络信息生成所述无线网络连接请求并发送至所述BMC。Look up the target wireless network information with the same name as the target Bluetooth information in the wireless network information table, generate the wireless network connection request by using the target wireless network information, and send it to the BMC. 5.根据权利要求1所述的数据传输方法,其特征在于,所述客户端利用所述无线网络连接及所述预设IP地址与所述BMC进行BMC数据传输,包括:5. The data transmission method according to claim 1, wherein the client utilizes the wireless network connection and the preset IP address to perform BMC data transmission with the BMC, comprising: 所述客户端利用所述无线网络连接及所述预设IP地址向所述BMC发送用户信息;The client sends user information to the BMC by using the wireless network connection and the preset IP address; 所述BMC对所述用户信息进行验证,并在验证通过后利用所述无线网络连接向所述客户端发送响应信息;The BMC verifies the user information, and uses the wireless network connection to send response information to the client after the verification is passed; 所述客户端在接收到所述响应信息后,利用所述无线网络连接及所述预设IP地址与所述BMC进行所述BMC数据传输。After receiving the response information, the client uses the wireless network connection and the preset IP address to perform the BMC data transmission with the BMC. 6.根据权利要求1至5任一项所述的数据传输方法,其特征在于,所述BMC广播所述BMC的蓝牙信息及无线网络信息,包括:6. The data transmission method according to any one of claims 1 to 5, wherein the BMC broadcasts the Bluetooth information and wireless network information of the BMC, comprising: 所述BMC利用无线通信模块广播所述蓝牙信息及所述无线网络信息;The BMC uses a wireless communication module to broadcast the Bluetooth information and the wireless network information; 相应的,所述在接收到所述蓝牙连接请求时,与所述客户端建立蓝牙连接,包括:Correspondingly, establishing a Bluetooth connection with the client when receiving the Bluetooth connection request includes: 所述BMC在利用所述无线通信模块接收到所述蓝牙连接请求时,利用所述无线通信模块与所述客户端建立蓝牙连接;The BMC uses the wireless communication module to establish a Bluetooth connection with the client when receiving the Bluetooth connection request by using the wireless communication module; 相应的,所述在接收到所述无线网络连接请求时,与所述客户端建立无线网络连接,包括:Correspondingly, establishing a wireless network connection with the client when receiving the wireless network connection request includes: 所述BMC在利用所述无线通信模块接收到所述无线网络连接请求时,利用所述无线通信模块与所述客户端建立所述无线网络连接。When receiving the wireless network connection request by using the wireless communication module, the BMC establishes the wireless network connection with the client by using the wireless communication module. 7.根据权利要求6所述的数据传输方法,其特征在于,所述无线通信模块通过USB接口与所述BMC连接。7 . The data transmission method according to claim 6 , wherein the wireless communication module is connected to the BMC through a USB interface. 8 . 8.一种数据传输系统,其特征在于,包括:BMC和客户端,其中,8. a data transmission system, is characterized in that, comprises: BMC and client, wherein, 所述BMC,用于广播蓝牙信息及无线网络信息;在接收到所述蓝牙连接请求时,与所述客户端建立蓝牙连接,并将预设IP地址通过所述蓝牙连接发送至所述客户端;在接收到所述无线网络连接请求时,与所述客户端建立无线网络连接;The BMC is used to broadcast bluetooth information and wireless network information; when receiving the bluetooth connection request, establish a bluetooth connection with the client, and send the preset IP address to the client through the bluetooth connection ; When receiving the wireless network connection request, establish a wireless network connection with the client; 所述客户端,用于分别利用所述蓝牙信息及所述无线网络信息生成蓝牙连接请求和无线网络连接请求,并向所述BMC发送所述蓝牙连接请求和所述无线网络连接请求;利用所述无线网络连接及所述预设IP地址与所述BMC进行BMC数据传输。The client is configured to generate a Bluetooth connection request and a wireless network connection request by using the Bluetooth information and the wireless network information respectively, and send the Bluetooth connection request and the wireless network connection request to the BMC; The wireless network connection and the preset IP address perform BMC data transmission with the BMC. 9.根据权利要求8所述的数据传输系统,其特征在于,9. The data transmission system according to claim 8, characterized in that, 所述BMC,还用于将蓝牙连接模式预设为Just Work模式;The BMC is also used to preset the Bluetooth connection mode to the Just Work mode; 相应的,所述BMC,还用于以所述Just Work模式与所述客户端建立所述蓝牙连接。Correspondingly, the BMC is further configured to establish the Bluetooth connection with the client in the Just Work mode. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令被处理器加载并执行时,实现如权利要求1至7任一项所述的数据传输方法。10. A computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are loaded and executed by a processor, the computer-executable instructions of claims 1 to 7 are implemented. Any one of the data transmission methods.
CN202111591857.1A 2021-12-23 2021-12-23 Data transmission method, system and computer readable storage medium Withdrawn CN114222377A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111591857.1A CN114222377A (en) 2021-12-23 2021-12-23 Data transmission method, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111591857.1A CN114222377A (en) 2021-12-23 2021-12-23 Data transmission method, system and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114222377A true CN114222377A (en) 2022-03-22

Family

ID=80705425

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111591857.1A Withdrawn CN114222377A (en) 2021-12-23 2021-12-23 Data transmission method, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114222377A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116133019A (en) * 2022-12-30 2023-05-16 苏州浪潮智能科技有限公司 Device and method for managing server BMC in wireless network serial connection

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050229173A1 (en) * 2004-04-07 2005-10-13 Mihm James T Automatic firmware update proxy
CN104883277A (en) * 2015-06-17 2015-09-02 浪潮(北京)电子信息产业有限公司 Method and system for information interaction based on BMC
CN106412131A (en) * 2016-12-09 2017-02-15 湖南长城银河科技有限公司 Server monitoring management system
CN110413469A (en) * 2018-04-28 2019-11-05 中国长城科技集团股份有限公司 A kind of fault detection system
CN111031520A (en) * 2019-12-13 2020-04-17 浪潮商用机器有限公司 Monitoring and managing device for substrate management controller
CN111866833A (en) * 2020-07-16 2020-10-30 光芯半导体(深圳)有限公司 Method, device and medium for switching wifi network connection of handheld printer

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050229173A1 (en) * 2004-04-07 2005-10-13 Mihm James T Automatic firmware update proxy
CN104883277A (en) * 2015-06-17 2015-09-02 浪潮(北京)电子信息产业有限公司 Method and system for information interaction based on BMC
CN106412131A (en) * 2016-12-09 2017-02-15 湖南长城银河科技有限公司 Server monitoring management system
CN110413469A (en) * 2018-04-28 2019-11-05 中国长城科技集团股份有限公司 A kind of fault detection system
CN111031520A (en) * 2019-12-13 2020-04-17 浪潮商用机器有限公司 Monitoring and managing device for substrate management controller
CN111866833A (en) * 2020-07-16 2020-10-30 光芯半导体(深圳)有限公司 Method, device and medium for switching wifi network connection of handheld printer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116133019A (en) * 2022-12-30 2023-05-16 苏州浪潮智能科技有限公司 Device and method for managing server BMC in wireless network serial connection

Similar Documents

Publication Publication Date Title
CN111556006B (en) Third-party application system login method, device, terminal and SSO service platform
CN110519115B (en) Gateway interface test method, terminal equipment, storage medium and device
CN113746633A (en) Internet of things equipment binding method, device and system, cloud server and storage medium
US11765164B2 (en) Server-based setup for connecting a device to a local area network
CN111241523B (en) Authentication processing method, apparatus, device and storage medium
CN111194035B (en) Network connection method, device and storage medium
CN114845355B (en) Network access method and device, terminal equipment, network equipment and storage medium
US12058002B2 (en) Device configuration method, system, and apparatus
CN104821940A (en) Method and equipment for sending portal redirected address
CN115622786A (en) Account login method, device, electronic device and storage medium
CN108600151B (en) Data communication method, equipment and system
CN107295000A (en) A kind of communication means and system based on certificate
CN106302475B (en) Family's Internet service authorization method and server
CN114222377A (en) Data transmission method, system and computer readable storage medium
CN113810427B (en) Penetration testing method, terminal equipment and storage medium
CN117675869B (en) Data transmission method and hybrid cloud system
CN106301894A (en) The control method of intelligent gateway, mobile terminal and system
CN116032691B (en) Shooting range interconnection method, electronic equipment and readable storage medium
CN113489695A (en) Private cloud networking method, device and system, computer equipment and storage medium
CN109450887B (en) Data transmission method, device and system
KR20100053703A (en) System and method for authenticating a user to public wireless lan service networking of otp client based
CN115021939B (en) Identity authentication method, device, equipment and storage medium
CN112073197A (en) Control method and device
CN117640172A (en) Remote control method, system, electronic device and computer readable storage medium
KR20070078212A (en) Multi-Mode Access Authentication Method in Public WLAN

Legal Events

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

Application publication date: 20220322

WW01 Invention patent application withdrawn after publication