CN114338385A - Network configuration method and system, electronic device and storage medium - Google Patents

Network configuration method and system, electronic device and storage medium Download PDF

Info

Publication number
CN114338385A
CN114338385A CN202111662420.2A CN202111662420A CN114338385A CN 114338385 A CN114338385 A CN 114338385A CN 202111662420 A CN202111662420 A CN 202111662420A CN 114338385 A CN114338385 A CN 114338385A
Authority
CN
China
Prior art keywords
host
network configuration
pcie
tensor processor
file node
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.)
Granted
Application number
CN202111662420.2A
Other languages
Chinese (zh)
Other versions
CN114338385B (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.)
Shanghai Sensetime Intelligent Technology Co Ltd
Original Assignee
Shanghai Sensetime Intelligent 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 Shanghai Sensetime Intelligent Technology Co Ltd filed Critical Shanghai Sensetime Intelligent Technology Co Ltd
Priority to CN202111662420.2A priority Critical patent/CN114338385B/en
Publication of CN114338385A publication Critical patent/CN114338385A/en
Application granted granted Critical
Publication of CN114338385B publication Critical patent/CN114338385B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The present disclosure relates to a network configuration method and system, an electronic device, and a storage medium, where the method is applied to a HOST, where the HOST includes a HOST-side PCIE file node and a HOST-side client, and the method includes: writing a network configuration request into a PCIE file node at the HOST HOST side based on the client at the HOST HOST side, wherein the network configuration request is used for carrying out network configuration on a tensor processor connected with the HOST HOST; and synchronizing the network configuration request to a PCIE file node at a tensor processor side included in the tensor processor based on the PCIE file node at the HOST side of the HOST, so that a service end at the tensor processor side included in the tensor processor performs network configuration on the tensor processor based on the network configuration request. The embodiment of the disclosure can effectively realize the network configuration of the tensor processor.

Description

Network configuration method and system, electronic device and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a network configuration method and system, an electronic device, and a storage medium.
Background
Tensor Processors (TPUs), also called TPU cards or TPU chips, can be applied to the field of typical artificial intelligence image and video Processing of human bodies, human faces and the like. The TPU does not provide a complete tool chain for network setting, and at present, the TPU cannot be configured from the outside of the TPU and can only be set by depending on a default network from which the TPU leaves a factory. In addition, when the TPU needs to set a network as a network parameter allocated in an actual application scenario, once an operation is wrong in the process of setting the network, the network setting of the corresponding network port fails, and the TPU becomes an unreachable state and cannot be reset.
Disclosure of Invention
The disclosure provides a network configuration method and system, an electronic device and a storage medium.
According to an aspect of the present disclosure, a network configuration method is provided, where the method is applied to a HOST, where the HOST includes a HOST-side PCIE file node and a HOST-side client, and the method includes: writing a network configuration request into a PCIE file node at the HOST HOST side based on the client at the HOST HOST side, wherein the network configuration request is used for carrying out network configuration on a tensor processor connected with the HOST HOST; and synchronizing the network configuration request to a PCIE file node at a tensor processor side included in the tensor processor based on the PCIE file node at the HOST side of the HOST, so that a service end at the tensor processor side included in the tensor processor performs network configuration on the tensor processor based on the network configuration request.
In one possible implementation, the method further includes: and under the condition that the tensor processor establishes connection with the HOST HOST based on a PCIE protocol, generating a PCIE file node at the HOST HOST side and a client at the HOST HOST side in the HOST HOST.
In one possible implementation, the data format of the network configuration request is a JSON Lines format; and/or, the different network configuration requests are segmented by a new-line character.
In one possible implementation, the network configuration request includes a request type, a request date, a request ID, and a network parameter.
In one possible implementation, the network parameters include a protocol type of the network, an IP address, a netmask, and a gateway address.
In one possible implementation, the method further includes: and receiving configuration response information returned by the tensor processor based on the HOST side PCIE file node, wherein the configuration response information is used for indicating a configuration result of the tensor processor for performing network configuration on the tensor processor by the tensor processor side server based on the network configuration request.
According to an aspect of the present disclosure, a network configuration method is provided, where the method is applied to a tensor processor, where the tensor processor includes a tensor processor-side PCIE file node and a tensor processor-side server, and the method includes: synchronously obtaining a network configuration request from a HOST side PCIE file node included in a HOST HOST connected with the tensor processor based on the tensor processor side PCIE file node, wherein the network configuration request is used for carrying out network configuration on the tensor processor; and reading the network configuration request from the PCIE file node at the tensor processor side based on the tensor processor side server, and performing network configuration on the tensor processor based on the network configuration request.
In one possible implementation, the network configuring the tensor processor based on the network configuration request includes: analyzing the network configuration request based on the tensor processor side server to obtain network parameters; and carrying out network configuration on the tensor processor by utilizing the network parameters.
In one possible implementation, the method further includes: writing configuration response information into the PCIE file node at the tensor processor side based on the tensor processor side server, wherein the configuration response information is used for indicating a configuration result of the tensor processor side server for performing network configuration on the tensor processor based on the network configuration request; and synchronizing the configuration response information to the HOST side PCIE file node based on the tensor processor side PCIE file node.
In a possible implementation manner, the data format of the configuration response information is a JSON Lines format; and/or, different configuration response information is segmented by a new-line character.
In a possible implementation manner, the configuration response information includes a configuration result, a request ID, a response date, and a configuration failure reason.
According to an aspect of the present disclosure, a network configuration system is provided, where the network configuration system includes a HOST and a tensor processor, and the HOST includes a HOST side client and a HOST side PCIE file node; the tensor processor comprises a tensor processor side server and a tensor processor side PCIE file node; the HOST side client is configured to write a network configuration request into the HOST side PCIE file node, where the network configuration request is used to perform network configuration on the tensor processor; the HOST side PCIE file node is configured to synchronize the network configuration request to the tensor processor side PCIE file node; the tensor processor side server is used for reading the network configuration request from the PCIE file node at the tensor processor side and performing network configuration on the tensor processor based on the network configuration request.
According to an aspect of the present disclosure, there is provided an electronic device including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to invoke the memory-stored instructions to perform the above-described method.
According to an aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the above-described method.
In the embodiment of the present disclosure, the HOST includes a HOST-side PCIE file node and a HOST-side client, and based on the HOST-side client, a network configuration request for performing network configuration on a tensor processor connected to the HOST is written into the HOST-side PCIE file node, so that based on a PCIE channel between the HOST-side PCIE file node and the tensor processor-side PCIE file node, the network configuration request is synchronized to a tensor processor-side PCIE file node included in the tensor processor, so that a tensor processor-side server included in the tensor processor can effectively implement network configuration on the tensor processor based on the network configuration request.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1 shows a schematic diagram of a network configuration system according to an embodiment of the present disclosure;
FIG. 2 illustrates a flow chart of a method of network configuration according to an embodiment of the present disclosure;
FIG. 3 shows a flow diagram of a network configuration method according to an embodiment of the present disclosure;
FIG. 4 illustrates a flow diagram of a network configuration system according to an embodiment of the present disclosure;
FIG. 5 shows a block diagram of a network configuration system according to an embodiment of the present disclosure;
FIG. 6 shows a block diagram of an electronic device in accordance with an embodiment of the disclosure;
fig. 7 shows a block diagram of an electronic device in accordance with an embodiment of the disclosure.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
The TPU can be applied to the fields of typical artificial intelligence image and video processing of human bodies, human faces and the like. However, a complete tool chain for network setting is not provided in the TPU, and at present, the TPU cannot be configured from the outside of the TPU, and only the default network from which the TPU leaves the factory is used for setting. For example, an Internet Protocol (IP) address interconnected between default networks of the TPU is an IP address a, and in a case where the TPU needs to set the IP of the TPU to a target IP address B in an actual application scenario, once an operation error occurs in the process of setting the IP, for example, the IP address is set to an IP address C, the TPU card becomes an unreachable state, that is, cannot be connected to the target IP address B, and cannot be reset.
In the related art, a TPU with failed network settings needs to be returned to a factory for maintenance, and can be reset in a factory laboratory environment in the following two ways. The first method comprises the following steps: connecting the TPU with a HOST (hereinafter, HOST) by using a serial port line, and recovering default network settings of the TPU after logging in to an internal operating system of the TPU by using the HOST; and the second method comprises the following steps: and (4) carrying out serial port burning again on the TPU by using the firmware packet with the specific version, and recovering the default network setting of the TPU.
The mode of replying the default network setting for the factory returning maintenance of the TPU results in lower usability of the TPU and higher maintenance cost, for example, not only visible maintenance labor cost and time cost, but also delivery cost of related projects using the TPU, and even risk of delayed project delivery progress in severe cases.
The embodiment of the disclosure provides a network configuration system, which can be applied to an application scene of network setting of a TPU. Wherein, the TPU can be TPU produced by various manufacturers, which is not specifically limited by the disclosure.
Fig. 1 shows a schematic diagram of a network configuration system of an embodiment of the present disclosure. As shown in fig. 1, the network configuration system includes: HOST10 and tensor processor TPU 20. The TPU 20 is provided with a TPU-side PCIE file node 21 and a TPU-side server 22 for network configuration. After the TPU 20 establishes a connection with the HOST10 through a slot of the PCIE protocol, a preset driver is installed in the HOST10, so as to generate the HOST-side PCIE file node 11 and the HOST-side client 12 for network configuration in the HOST 10.
Among them, the PCI express (peripheral component interconnect express) protocol is an important branch of the computer bus protocol, and it follows the existing PCI programming concept and signal standard and constructs a higher-speed serial communication system standard. A PCIE channel is a channel created based on this protocol, and is used for data exchange.
A PCIE file node is a device file node based on PCIE protocol emulation. Based on the HOST side PCIE file node 11 and the TPU side PCIE file node 21, a PCIE channel is formed between the HOST10 and the TPU 20, and information exchange between the HOST10 and the TPU 20 can be realized by using the PCIE channel.
Aiming at the HOST side PCIE file node 11 and the TPU side PCIE file node 21, based on the PCIE channel between the HOST side PCIE file node and the TPU side PCIE file node, under the condition that any one PCIE file node carries out read-write operation, the other PCIE file node can be synchronized, and therefore information exchange of two sides is effectively achieved.
Based on the HOST side client 12, writing a network configuration request for performing network configuration on the TPU 20 connected with the HOST10 into the HOST side PCIE file node 11, and further synchronizing the network configuration request to the TPU side PCIE file node 21 included in the TPU based on a PCIE channel between the HOST side PCIE file node 11 and the TPU side PCIE file node 21. The TPC side server 21 reads the network configuration request from the TPU side PCIE file node 21, and further performs network configuration on the TPU 20 based on the read network configuration request.
Based on the network configuration system shown in fig. 1, no matter whether the network of the TPU is in a reachable state or not, as long as the TPU establishes a connection with the HOST through a slot of the PCIE protocol, flexible network configuration of the TPU 20 based on the external HOST10 can be effectively achieved. For example, for a TPU with a failed network setup (the network of the TPU is in an unreachable state), the network configuration system shown in fig. 1 may be used to reconfigure the network of the TPU by using the HOST without returning to the factory for maintenance, thereby effectively increasing the usability of the TPU and reducing the maintenance cost of the TPU.
The detailed procedures of the HOST and TPU in the network configuration system to perform the network configuration method according to the embodiments of the present disclosure are described in detail below.
Fig. 2 shows a flow chart of a network configuration method according to an embodiment of the present disclosure. The network configuration method may be applied to the HOST (hereinafter, may be referred to as HOST) shown in fig. 1, where the HOST includes a HOST-side PCIE file node (hereinafter, may be referred to as HOST-side PCIE file node) and a HOST-side client (hereinafter, may be referred to as HOST-side client). As shown in fig. 2, the network configuration method may include:
in step S21, based on the HOST-side client, a network configuration request for network configuration of a tensor processor connected to the HOST is written into the HOST-side PCIE file node.
The HOST side client may be a software program with a command line input function, and based on the software program, a user may input a character string corresponding to a network configuration request according to a preset network configuration protocol. The preset network configuration protocol is used for specifying parameters required for network configuration of the TPU.
Under the condition that the network setting of the TPU is needed, a user can call an HOST side client in the HOST so as to realize the purpose of quickly writing a network configuration request into a PCIE file node at the HOST side in the HOST.
In step S22, the network configuration request is synchronized to a tensor processor-side PCIE file node included in the tensor processor based on the HOST-side PCIE file node, so that the tensor processor-side service end included in the tensor processor performs network configuration on the tensor processor based on the network configuration request.
By using a PCIE file node on the HOST side and a PCIE channel between a PCIE file node on the tensor processor side in the TPU connected to the HOST (hereinafter, may be referred to as a PCIE file node on the TPU side for short), a network configuration request for performing network configuration on the TPU is synchronized to the PCIE file node on the TPU side, so that a tensor processor side service end in the TPU (hereinafter, may be referred to as a TPU side service end for short) can effectively implement network configuration on the TPU by reading the network configuration request in the PCIE file node on the TPU side.
In the embodiment of the disclosure, the HOST includes a HOST-side PCIE file node and a HOST-side client, and based on the HOST-side client, a network configuration request for performing network configuration on the TPU connected to the HOST is written into the HOST-side PCIE file node, and then based on a PCIE channel between the HOST-side PCIE file node and the TPU-side PCIE file node, the network configuration request is synchronized to the TPU-side PCIE file node included in the TPU, so that the TPU-side server included in the TPU can effectively implement network configuration on the TPU based on the network configuration request.
In a possible implementation manner, the network configuration method further includes: under the condition that the tensor processor establishes connection with the HOST HOST based on the PCIE protocol, a PCIE file node of the HOST HOST side and a client of the HOST HOST side are generated in the HOST HOST.
And under the condition that the TPU establishes connection with the HOST through a slot of a PCIE protocol, generating a PCIE file node at the HOST side and a client at the HOST side in the HOST by installing a preset drive in the HOST.
The preset driver may be a producer of the TPU, and may be written and configured according to a configuration file written by an operating system of the HOST, which is not specifically limited in this disclosure.
In an example, in a case that the TPU establishes a connection with the HOST through a slot of the PCIE protocol, the TPU may send the preset driver to the HOST, so that the HOST receives the preset driver and then installs the preset driver.
In an example, in a case that the TPU establishes a connection with the HOST through a slot of the PCIE protocol, the HOST may download the preset driver from the internet and then install the preset driver.
The preset driver may be installed in the HOST in any other manner, besides the above two manners, which is not specifically limited in this disclosure.
In one possible implementation, the data format of the network configuration request is a JSON Lines format; and/or, the different network configuration requests are divided by a new-line character.
The data format of the network configuration request for network configuration of the TPU may be specified based on a preset network configuration protocol.
The data format of the network configuration request may be a JSON Lines format, i.e., each network configuration request is a JSON string.
The data format of the network configuration request may also be set to other data formats by modifying a preset network configuration protocol, which is not specifically limited in this disclosure.
The different network configuration requests can be divided by the new-line character, and the new-line character cannot be included in the network configuration requests to avoid character confusion.
The preset network configuration protocol may be modified between different network configuration requests, and the preset network configuration protocol may be set to be segmented by other characters, which is not specifically limited in this disclosure.
In one possible implementation, the network configuration request includes a request type, a request date, a request id (identity), and a network parameter.
Based on the preset network configuration protocol, parameters required for network configuration of the TPU may be specified, i.e. specific parameters included in the network configuration request are specified.
The network configuration request may include a request type indicating a type of the network configuration request. For example, in the case that the request type of the network configuration request is set IP, it may indicate that the type of the network configuration request is an IP setting type, that is, an IP address is configured.
The network configuration request may include a request date indicating a date on which the network configuration request was sent and/or a date on which network configuration was performed based on the network configuration request.
The network configuration request may include a request ID for distinguishing between different network configuration requests.
The network configuration request may include specific network parameters required for network configuration.
The network configuration request may include a request type, a request date, a request ID, and network parameters, and may also be set to include other parameters by modifying a preset network configuration protocol according to an actual situation, which is not specifically limited in this disclosure.
In one possible implementation, the network parameters include a protocol type, an IP address, a netmask, and a gateway address of the network.
The protocol type, IP address, network mask code and gateway address of the network are all network parameters for setting the TPU network and ensuring the TPU can normally carry out network communication subsequently.
The network parameters may include, in addition to the protocol type, the IP address, the network mask and the gateway address of the network, and may also be set to include other network parameters by modifying a preset network configuration protocol according to the actual situation, which is not specifically limited in this disclosure.
In an example, in a case where the data format of the network configuration request is a JSON Lines format, a request type, a request date, a request ID, a protocol type of the network, an IP address, a netmask, and a gateway address included in the network configuration request are respectively different JSON fields. Table 1 shows JSON fields included in the network configuration request.
TABLE 1
JSON field Description of field meaning Remarks for note
request Type of request Optional items: set ip
boot_proto Protocol type of network Optional items: static \ dhcp
ip Network address Need to be legal IP address format
netmask Network mask Need to be in a legal mask format
gateway Gateway address Legal gateway format on demand
date Date of request Required date format: 2006-01-0215:04:05
request_id Request ID Legal UUID4 format
In one example, the network configuration request may be { "request": stop "," boot _ proto ": static", "ip": 192.168.1.30"," netmask ": 255.255.255.0", "gateway": 192.168.1.1"," date ": 2020-12-0417:02:35", "request _ id": b14598f4-356e-4a48-b1ed-26553c9a21c5 ".
In a possible implementation manner, the network configuration method further includes: and receiving configuration response information returned by the tensor processor based on the HOST side PCIE file node, wherein the configuration response information is used for indicating a configuration result of network configuration of the tensor processor by the tensor processor side server side based on the network configuration request.
After the TPU side server performs network configuration on the TPU based on the network configuration request, configuration response information for indicating a configuration result may be written into the PCIE file node at the TPU side, so that the PCIE file node at the TPU side and the PCIE file node at the HOST side synchronize the configuration response information to the PCIE file node at the HOST side. The HOST side client can effectively know the configuration result of the network configuration of the TPU by reading the configuration response information in the PCIE file node of the HOST side.
In one example, the HOST-side client may cyclically listen to the HOST-side PCIE file node and read configuration response information at any time.
Fig. 3 shows a flow chart of a network configuration method according to an embodiment of the present disclosure. The network configuration method can be applied to the tensor processor shown in fig. 2, and the tensor processor includes a PCIE file node on the tensor processor side and a server on the tensor processor side. As shown in fig. 3, the network configuration method may include:
in step S31, a network configuration request is synchronously obtained from the HOST-side PCIE file node included in the HOST connected to the tensor processor based on the tensor processor-side PCIE file node, where the network configuration request is used to perform network configuration on the tensor processor.
After the HOST side PCIE file node synchronizes the network configuration request to the TPU side PCIE file node, the TPU side server may read the network configuration request from the TPU side PCIE file node.
The specific process of synchronizing the network configuration request to the PCIE file node on the HOST side by the PCIE file node on the TPU side may refer to the relevant contents in the foregoing embodiment, which is not described herein again.
In step S32, the network configuration request is read from the PCIE file node on the tensor processor side based on the tensor processor side server, and the network configuration is performed on the tensor processor based on the network configuration request.
The TPU-side server may be a software program with a network configuration function. The software program may perform a network configuration of the TPU based on the network configuration request.
In an example, the TPU-side server may cyclically listen to the PCIE file node on the TPU side and read the network configuration request in time.
In the embodiment of the present disclosure, the TPU-side service end included in the TPU may read, from the TPU-side PCIE file node included in the TPU, a PCIE channel between the PCIE file node on the TPU side and the PCIE file node on the HOST side, and obtain a network configuration request synchronously from the PCIE file node on the HOST side, so that the TPU-side service end may effectively implement network configuration on the TPU based on the network configuration request.
In one possible implementation, the network configuring the tensor processor based on the network configuration request includes: analyzing the network configuration request based on a tensor processor side server to obtain network parameters; and carrying out network configuration on the tensor processor by utilizing the network parameters.
After the TPU side server reads the network configuration request from the TPU side PCIE file node, the network configuration request is analyzed according to a preset network configuration protocol to obtain the network parameters included in the network configuration request, and then the network parameters are utilized to effectively realize the network configuration of the TPU.
In one possible implementation, the data format of the network configuration request is a JSON Lines format; and/or, the different network configuration requests are divided by a new-line character.
The data format of the network configuration request and the dividing manner between different network configuration requests may refer to the related contents in the above embodiments, which are not described herein again.
In one possible implementation, the network configuration request includes a request type, a request date, a request ID, and a network parameter.
The specific parameters included in the network configuration request may refer to the related contents in the foregoing embodiments, which are not described herein again.
In one possible implementation, the network parameters include a protocol type, an IP address, a netmask, and a gateway address of the network.
The specific information included in the network parameter may refer to the related content in the foregoing embodiments, which is not described herein again.
In a possible implementation manner, the network configuration method further includes: writing configuration response information into a PCIE file node at the tensor processor side based on the service side at the tensor processor side, wherein the configuration response information is used for indicating a configuration result of network configuration of the service side at the tensor processor side on the tensor processor based on a network configuration request; and synchronizing the configuration response information to the PCIE file node at the HOST HOST side based on the PCIE file node at the tensor processor side.
The method comprises the steps that a TPU side server side obtains configuration response information used for indicating a configuration result of network configuration after network configuration is carried out on the TPU based on a network configuration request, the configuration response information is written into a PCIE file node on the TPU side, and then the configuration response information is synchronized to the PCIE file node on the HOST side based on a PCIE channel between the PCIE file node on the TPU side and the PCIE file node on the HOST side, so that a client on the HOST side can effectively know the configuration result of network configuration carried out on the TPU by reading the configuration response information in the PCIE file node on the HOST side.
In one possible implementation, the data format of the configuration response information is a JSON Lines format; and/or, the different configuration response messages are segmented by a new-line character.
Based on a preset network configuration protocol, a data format of the configuration response information may be specified. The data format of the configuration response information may be a JSON Lines format, that is, each configuration response information is a JSON character string.
The data format of the configuration response message may also be set to other data formats by modifying a preset network configuration protocol, which is not specifically limited in this disclosure.
Different configuration response messages can be divided by a new-line character, and the new-line character cannot be included in the configuration response messages to avoid character confusion.
The different configuration response messages may be set to be segmented by other characters by modifying the preset network configuration protocol, which is not specifically limited in this disclosure.
In one possible implementation manner, the configuration response information includes a configuration result, a request ID, a response date, and a configuration failure reason.
Based on a preset network configuration protocol, specific parameters included in the configuration response information may be specified.
The configuration response message may include a configuration result indicating whether the network configuration for the TPU is successful. For example, in case the configuration result is ok, a success of network configuration of the TPU may be indicated; in case the configuration result is error, a failure of network configuration for the TPU may be indicated.
The configuration response information may include a request ID for indicating a request ID of a network configuration request corresponding to the configuration response information. For example, if the request ID is "b14598f4-356e-4a48-b1ed-26553c9a21c5", it indicates that the configuration response information is for indicating that the TPU server performs the configured configuration result of the TPU based on the network configuration request whose request ID is "b14598f4-356e-4a48-b1ed-26553c9a21c 5".
The configuration response information may include a response date indicating a date on which the configuration response information was transmitted.
The configuration response information may include a reason for the failure of the configuration. In the case that the configuration result is error, the configuration failure reason is used for indicating a specific reason of network configuration failure; in case that the configuration result is ok, the configuration corresponding information may be null.
The configuration response information may include a configuration result, a request ID, a response date, and a configuration failure reason, and may also be set to include other parameters by modifying a preset network configuration protocol according to an actual situation, which is not specifically limited in this disclosure.
In an example, in the case where the data format of the configuration response information is the JSON Lines format, the configuration result, the request ID, the response date, and the configuration failure reason included in the configuration response information are respectively different JSON fields. Table 2 shows JSON fields included in the configuration response information.
TABLE 2
JSON field Description of field meaning Remarks for note
response Configuring results Optional items: ok \ error
Request_id Corresponding network configurationRequest ID of request Legal UUID4 format
date Date of response Required date format: 2006-01-0215:04:05
err_msg Reasons for configuration failure When response is error, the specific configuration failure reason
In one example, the configuration response information may be { "response": an "error" "," err _ msg ": a" Request is not valid, a multiplex your Request body. "," date ": 2020-12-0417:02:35", "Request _ id": b14598f4-356e-4a48-b1ed-26553c9a21c5 "}.
Based on the network configuration method of the embodiment of the disclosure, different network configurations can be performed on a plurality of TPUs based on one HOST.
Fig. 4 shows a flow diagram of a network configuration system according to an embodiment of the disclosure. As shown in fig. 4, the network configuration system includes an HOST side client, an HOST side PCIE file node, a TPU side PCIE file node, and a TPU side server.
The network configuration system may perform the following network configuration steps:
1. the user calls the HOST side client.
2. And writing the network configuration request into a PCIE file node at the HOST side based on the client at the HOST side.
The network configuration request may be written into the HOST-side PCIE file node based on a preset network configuration protocol, and the specific process may refer to relevant contents in the foregoing embodiment, which is not described herein again.
3. And synchronizing the network configuration request to the PCIE file node at the TPU side based on the PCIE channel between the PCIE file node at the HOST side and the PCIE file node at the TPU side.
4. And the TPU side server side reads the network configuration request from the TPU side PCIE file node, and analyzes the network configuration request according to a preset network configuration protocol to obtain the network parameters.
The process of reading the network configuration request, analyzing according to the preset network configuration protocol to obtain the network parameters, and the specific form of the network parameters may refer to the related contents in the above embodiments, which are not described herein again.
5. And the TPU side service end performs network configuration on the TPU based on the network parameters.
6. And the TPU side server writes the configuration response information into the PCIE file node at the TPU side according to the configuration result of the network configuration.
The specific form of the configuration response information may refer to the related content in the above embodiments, which is not described herein again.
7. And synchronizing the configuration response information to the PCIE file node at the HOST side based on a PCIE channel between the PCIE file node at the TPU side and the PCIE file node at the HOST side.
8. And the HOST side client reads the configuration response information from the PCIE file node at the HOST side, and analyzes the configuration response information according to a preset network configuration protocol to obtain a configuration result.
The configuration response information is read, the configuration response information is analyzed according to a preset network configuration protocol, and the specific form of the configuration result may refer to the related content in the above embodiments, which is not described herein again.
9. And returning the configuration result to the user.
In the embodiment of the present disclosure, the TPU-side service end included in the TPU may read, from the TPU-side PCIE file node included in the TPU, a PCIE channel between the PCIE file node on the TPU side and the PCIE file node on the HOST side, and obtain a network configuration request synchronously from the PCIE file node on the HOST side, so that the TPU-side service end may effectively implement network configuration on the TPU based on the network configuration request.
It is understood that the above-mentioned method embodiments of the present disclosure can be combined with each other to form a combined embodiment without departing from the logic of the principle, which is limited by the space, and the detailed description of the present disclosure is omitted. Those skilled in the art will appreciate that in the above methods of the specific embodiments, the specific order of execution of the steps should be determined by their function and possibly their inherent logic.
In addition, the present disclosure also provides a network configuration system, an electronic device, a computer-readable storage medium, and a program, which can be used to implement any one of the network configuration methods provided by the present disclosure, and the corresponding technical solutions and descriptions and corresponding descriptions in the methods section are not repeated.
Fig. 5 shows a block diagram of a network configuration system according to an embodiment of the present disclosure. As shown in fig. 5, the network configuration system 50 includes an HOST 51 and a tensor processor 52, the HOST 51 includes an HOST client 511 and a HOST PCIE file node 512, and the tensor processor 52 includes a tensor processor PCIE file node 521 and a tensor processor server 522;
HOST side client 511, configured to write a network configuration request into HOST side PCIE file node 512, where the network configuration request is used to perform network configuration on tensor processor 52;
HOST side PCIE file node 512, configured to synchronize the network configuration request to tensor processor side PCIE file node 521;
the tensor processor side server 522 is configured to read the network configuration request from the tensor processor side PCIE file node 521, and perform network configuration on the tensor processor 52 based on the network configuration request.
In one possible implementation, HOST 51 further includes:
a generating module, configured to generate, in the HOST 51, the HOST-side PCIE file node 512 and the HOST-side client 511 when the tensor processor 52 establishes a connection with the HOST 51 based on the PCIE protocol.
In one possible implementation, the data format of the network configuration request is a JSON Lines format; and/or, the different network configuration requests are divided by a new-line character.
In one possible implementation, the network configuration request includes a request type, a request date, a request ID, and a network parameter.
In one possible implementation, the network parameters include a protocol type, an IP address, a netmask, and a gateway address of the network.
In a possible implementation manner, the HOST-side PCIE file node 512 is further configured to receive configuration response information returned by the tensor processor 52, where the configuration response information is used to instruct the tensor processor-side server 522 to perform a configuration result of network configuration on the tensor processor 52 based on the network configuration request.
In a possible implementation manner, the tensor processor side server 522 is further configured to parse the network configuration request to obtain the network parameters, and perform network configuration on the tensor processor 52 by using the network parameters.
In a possible implementation manner, the tensor processor side service end 522 is further configured to write configuration response information into the tensor processor side PCIE file node 521, where the configuration response information is used to indicate a configuration result of the tensor processor side service end 522 performing network configuration on the tensor processor 52 based on the network configuration request;
the tensor processor-side PCIE file node 521 is further configured to synchronize the configuration response information to the HOST-side PCIE file node 512.
In one possible implementation, the data format of the configuration response information is a JSON Lines format; and/or, the different configuration response messages are segmented by a new-line character.
In one possible implementation manner, the configuration response information includes a configuration result, a request ID, a response date, and a configuration failure reason.
In some embodiments, the functions or included modules of the network configuration system provided in the embodiments of the present disclosure may be used to execute the method described in the above method embodiments, and specific implementation thereof may refer to the description of the above method embodiments, and for brevity, will not be described again here.
Embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the above-mentioned method. The computer readable storage medium may be a volatile or non-volatile computer readable storage medium.
An embodiment of the present disclosure further provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to invoke the memory-stored instructions to perform the above-described method.
The disclosed embodiments also provide a computer program product comprising computer readable code or a non-transitory computer readable storage medium carrying computer readable code, which when run in a processor of an electronic device, the processor in the electronic device performs the above method.
The electronic device may be provided as a terminal, server, or other form of device.
Fig. 6 illustrates a block diagram of an electronic device in accordance with an embodiment of the disclosure. Referring to fig. 6, the electronic device 800 may be a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a Personal Digital Assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, or other terminal device.
Referring to fig. 6, electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 800 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the electronic device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a Complementary Metal Oxide Semiconductor (CMOS) or Charge Coupled Device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as a wireless network (Wi-Fi), a second generation mobile communication technology (2G), a third generation mobile communication technology (3G), a fourth generation mobile communication technology (4G), a long term evolution of universal mobile communication technology (LTE), a fifth generation mobile communication technology (5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium, such as the memory 804, is also provided that includes computer program instructions executable by the processor 820 of the electronic device 800 to perform the above-described methods.
The disclosure relates to the field of augmented reality, and aims to detect or identify relevant features, states and attributes of a target object by means of various visual correlation algorithms by acquiring image information of the target object in a real environment, so as to obtain an AR effect combining virtual and reality matched with specific applications. For example, the target object may relate to a face, a limb, a gesture, an action, etc. associated with a human body, or a marker, a marker associated with an object, or a sand table, a display area, a display item, etc. associated with a venue or a place. The vision-related algorithms may involve visual localization, SLAM, three-dimensional reconstruction, image registration, background segmentation, key point extraction and tracking of objects, pose or depth detection of objects, and the like. The specific application can not only relate to interactive scenes such as navigation, explanation, reconstruction, virtual effect superposition display and the like related to real scenes or articles, but also relate to special effect treatment related to people, such as interactive scenes such as makeup beautification, limb beautification, special effect display, virtual model display and the like. The detection or identification processing of the relevant characteristics, states and attributes of the target object can be realized through the convolutional neural network. The convolutional neural network is a network model obtained by performing model training based on a deep learning framework.
Fig. 7 shows a block diagram of an electronic device in accordance with an embodiment of the disclosure. Referring to fig. 7, the electronic device 1900 may be provided as a server. Referring to fig. 7, electronic device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method.
The electronic device 1900 may also include a power component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input/output (I/O) interface 1958. The electronic device 1900 may operate based on an operating system, such as the Microsoft Server operating system (Windows Server), stored in the memory 1932TM) Apple Inc. of the present application based on the graphic user interface operating System (Mac OS X)TM) Multi-user, multi-process computer operating system (Unix)TM) Free and open native code Unix-like operating System (Linux)TM) Open native code Unix-like operating System (FreeBSD)TM) Or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium, such as the memory 1932, is also provided that includes computer program instructions executable by the processing component 1922 of the electronic device 1900 to perform the above-described methods.
The present disclosure may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The computer program product may be embodied in hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (14)

1. A network configuration method is characterized in that the method is applied to a HOST HOST, wherein the HOST HOST comprises a PCIE file node at a HOST HOST side and a client at the HOST HOST side, and the method comprises the following steps:
writing a network configuration request into a PCIE file node at the HOST HOST side based on the client at the HOST HOST side, wherein the network configuration request is used for carrying out network configuration on a tensor processor connected with the HOST HOST; and the number of the first and second groups,
based on the HOST-side PCIE file node, synchronizing the network configuration request to a tensor processor-side PCIE file node included in the tensor processor, so that a tensor processor-side server included in the tensor processor performs network configuration on the tensor processor based on the network configuration request.
2. The method of claim 1, further comprising:
and under the condition that the tensor processor establishes connection with the HOST HOST based on a PCIE protocol, generating a PCIE file node at the HOST HOST side and a client at the HOST HOST side in the HOST HOST.
3. The method according to claim 1 or 2, wherein the data format of the network configuration request is a JSON Lines format; and/or the presence of a gas in the gas,
and the different network configuration requests are segmented by a new-line character.
4. The method according to any one of claims 1 to 3, wherein the network configuration request comprises a request type, a request date, a request ID and a network parameter.
5. The method of claim 4, wherein the network parameters comprise a protocol type of the network, an IP address, a network mask, and a gateway address.
6. The method according to any one of claims 1 to 5, further comprising:
and receiving configuration response information returned by the tensor processor based on the HOST side PCIE file node, wherein the configuration response information is used for indicating a configuration result of the tensor processor for performing network configuration on the tensor processor by the tensor processor side server based on the network configuration request.
7. A network configuration method is applied to a tensor processor, wherein the tensor processor comprises a tensor processor side PCIE file node and a tensor processor side server, and the method comprises the following steps:
synchronously obtaining a network configuration request from a HOST side PCIE file node included in a HOST HOST connected with the tensor processor based on the tensor processor side PCIE file node, wherein the network configuration request is used for carrying out network configuration on the tensor processor;
and reading the network configuration request from the PCIE file node at the tensor processor side based on the tensor processor side server, and performing network configuration on the tensor processor based on the network configuration request.
8. The method of claim 7, wherein the network configuring the tensor processor based on the network configuration request comprises:
analyzing the network configuration request based on the tensor processor side server to obtain network parameters;
and carrying out network configuration on the tensor processor by utilizing the network parameters.
9. The method according to claim 7 or 8, characterized in that the method further comprises:
writing configuration response information into the PCIE file node at the tensor processor side based on the tensor processor side server, wherein the configuration response information is used for indicating a configuration result of the tensor processor side server for performing network configuration on the tensor processor based on the network configuration request;
and synchronizing the configuration response information to the HOST side PCIE file node based on the tensor processor side PCIE file node.
10. The method of claim 9, wherein the data format of the configuration response information is a JSON Lines format; and/or the presence of a gas in the gas,
and the different configuration response messages are segmented by new-line characters.
11. The method according to claim 9 or 10, wherein the configuration response information includes configuration result, request ID, response date, and reason of configuration failure.
12. A network configuration system is characterized in that the network configuration system comprises an HOST HOST and a tensor processor, wherein the HOST HOST comprises an HOST HOST side client and a HOST HOST side PCIE file node, and the tensor processor comprises a tensor processor side server and a tensor processor side PCIE file node;
the HOST side client is configured to write a network configuration request into the HOST side PCIE file node, where the network configuration request is used to perform network configuration on the tensor processor;
the HOST side PCIE file node is configured to synchronize the network configuration request to the tensor processor side PCIE file node;
the tensor processor side server is used for reading the network configuration request from the PCIE file node at the tensor processor side and performing network configuration on the tensor processor based on the network configuration request.
13. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to invoke the memory-stored instructions to perform the method of any of claims 1 to 11.
14. A computer readable storage medium having computer program instructions stored thereon, which when executed by a processor implement the method of any one of claims 1 to 11.
CN202111662420.2A 2021-12-31 2021-12-31 Network configuration method and system, electronic equipment and storage medium Active CN114338385B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111662420.2A CN114338385B (en) 2021-12-31 2021-12-31 Network configuration method and system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111662420.2A CN114338385B (en) 2021-12-31 2021-12-31 Network configuration method and system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114338385A true CN114338385A (en) 2022-04-12
CN114338385B CN114338385B (en) 2024-05-17

Family

ID=81021147

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111662420.2A Active CN114338385B (en) 2021-12-31 2021-12-31 Network configuration method and system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114338385B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102439913A (en) * 2009-02-27 2012-05-02 雅塔公司 System and method for network traffic management and load balancing
CN102792292A (en) * 2009-12-07 2012-11-21 考持·维 System and method for website performance optimization and Internet traffic processing
US20150254202A1 (en) * 2014-03-06 2015-09-10 International Business Machines Corporation PERIPHERAL COMPONENT INTERCONNECT EXPRESS (PCIe) PING IN A SWITCH-BASED ENVIRONMENT
CN106933753A (en) * 2015-12-31 2017-07-07 华为技术有限公司 The control method and device of intelligent interface card
US20190019107A1 (en) * 2017-07-12 2019-01-17 Samsung Electronics Co., Ltd. Method of machine learning by remote storage device and remote storage device employing method of machine learning
CN110297801A (en) * 2018-03-22 2019-10-01 塔塔咨询服务有限公司 A just transaction semantics for transaction system based on fault-tolerant FPGA
US20200193274A1 (en) * 2018-12-18 2020-06-18 Microsoft Technology Licensing, Llc Training neural network accelerators using mixed precision data formats
CN111831429A (en) * 2020-06-11 2020-10-27 上海交通大学 Tensor parallel computing method based on SIMT programming model
US20200377105A1 (en) * 2019-05-27 2020-12-03 Yandex Self Driving Group Llc Methods and systems for computer-based determining of presence of dynamic objects
US20210012769A1 (en) * 2019-07-11 2021-01-14 Soundhound, Inc. Vision-assisted speech processing
CN112395547A (en) * 2019-08-14 2021-02-23 英特尔公司 Method and device for carrying out image block traversal on tensor to carry out convolution operation
CN113032099A (en) * 2021-03-26 2021-06-25 阿里巴巴新加坡控股有限公司 Cloud computing node, file management method and device
CN113222775A (en) * 2021-05-28 2021-08-06 北京理工大学 User identity correlation method integrating multi-mode information and weight tensor
CN113762461A (en) * 2020-06-05 2021-12-07 辉达公司 Training neural networks with finite data using reversible enhancement operators

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102439913A (en) * 2009-02-27 2012-05-02 雅塔公司 System and method for network traffic management and load balancing
CN102792292A (en) * 2009-12-07 2012-11-21 考持·维 System and method for website performance optimization and Internet traffic processing
US20150254202A1 (en) * 2014-03-06 2015-09-10 International Business Machines Corporation PERIPHERAL COMPONENT INTERCONNECT EXPRESS (PCIe) PING IN A SWITCH-BASED ENVIRONMENT
CN106933753A (en) * 2015-12-31 2017-07-07 华为技术有限公司 The control method and device of intelligent interface card
US20190019107A1 (en) * 2017-07-12 2019-01-17 Samsung Electronics Co., Ltd. Method of machine learning by remote storage device and remote storage device employing method of machine learning
CN110297801A (en) * 2018-03-22 2019-10-01 塔塔咨询服务有限公司 A just transaction semantics for transaction system based on fault-tolerant FPGA
US20200193274A1 (en) * 2018-12-18 2020-06-18 Microsoft Technology Licensing, Llc Training neural network accelerators using mixed precision data formats
US20200377105A1 (en) * 2019-05-27 2020-12-03 Yandex Self Driving Group Llc Methods and systems for computer-based determining of presence of dynamic objects
US20210012769A1 (en) * 2019-07-11 2021-01-14 Soundhound, Inc. Vision-assisted speech processing
CN112395547A (en) * 2019-08-14 2021-02-23 英特尔公司 Method and device for carrying out image block traversal on tensor to carry out convolution operation
CN113762461A (en) * 2020-06-05 2021-12-07 辉达公司 Training neural networks with finite data using reversible enhancement operators
CN111831429A (en) * 2020-06-11 2020-10-27 上海交通大学 Tensor parallel computing method based on SIMT programming model
CN113032099A (en) * 2021-03-26 2021-06-25 阿里巴巴新加坡控股有限公司 Cloud computing node, file management method and device
CN113222775A (en) * 2021-05-28 2021-08-06 北京理工大学 User identity correlation method integrating multi-mode information and weight tensor

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
YANDONG LUO等: "Accelerating Deep Neural Network In-Situ Training With Non-Volatile and Volatile Memory Based Hybrid Precision Synapses", 《IEEE TRANSACTIONS ON COMPUTERS》, 5 June 2020 (2020-06-05) *
孙凌枫;周小健;: "同址模式下信息系统多网融合技术", 指挥信息系统与技术, no. 06 *
许聪源: "基于深度学习的网络入侵检测方法研究", 《基于深度学习的网络入侵检测方法研究》, 15 December 2019 (2019-12-15) *
邓豹;: "TMS320C6678多核DSP的加载配置和实现方法", 航空计算技术, no. 01 *
郭立祺;林涛;陈峰;叶炳旭;陈淑莹;王新家;陈耀文;: "坐姿监测信息采集系统的设计", 中国体视学与图像分析, no. 01, 25 March 2020 (2020-03-25) *
马振伟;何高奇;袁玉波;: "基于小样本深度学习的通风柜橱窗状态识别方法", 华东理工大学学报(自然科学版), no. 03, 31 December 2020 (2020-12-31) *

Also Published As

Publication number Publication date
CN114338385B (en) 2024-05-17

Similar Documents

Publication Publication Date Title
EP3308565B1 (en) Pairing of nearby devices using a synchronized cue signal
CN112001321B (en) Network training method, pedestrian re-identification method, device, electronic equipment and storage medium
CN112146645B (en) Method and device for aligning coordinate system, electronic equipment and storage medium
CN109543536B (en) Image identification method and device, electronic equipment and storage medium
CN112188461B (en) Control method and device of near field communication device, medium and electronic equipment
CN111241887A (en) Target object key point identification method and device, electronic equipment and storage medium
EP2950273A2 (en) Image processing method and electronic device implementing the same
CN104767857A (en) Telephone calling method and device based on cloud name cards
CN106843932B (en) Method and system for upgrading firmware of virtual reality equipment
CN111950397B (en) Text labeling method, device and equipment for image and storage medium
CN111860373B (en) Target detection method and device, electronic equipment and storage medium
CN114546460A (en) Firmware upgrading method and device, electronic equipment and storage medium
CN112085097A (en) Image processing method and device, electronic equipment and storage medium
CN107562500B (en) Debugging device, method and equipment
CN111325786A (en) Image processing method and device, electronic equipment and storage medium
CN104837133A (en) SIM card authentication method and device
CN111030897A (en) Wired network distribution method and device, electronic equipment and storage medium
CN114035902A (en) Application program development platform and method, electronic device and storage medium
CN112767541B (en) Three-dimensional reconstruction method and device, electronic equipment and storage medium
CN114338385B (en) Network configuration method and system, electronic equipment and storage medium
CN114550265A (en) Image processing method, face recognition method and system
CN113506320B (en) Image processing method and device, electronic equipment and storage medium
CN114648649A (en) Face matching method and device, electronic equipment and storage medium
CN114549983A (en) Computer vision model training method and device, electronic equipment and storage medium
CN112153083B (en) Anchor point sharing method, device, system, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant