CN114024840A - Request transmission method and device, storage medium and electronic device - Google Patents

Request transmission method and device, storage medium and electronic device Download PDF

Info

Publication number
CN114024840A
CN114024840A CN202111290886.4A CN202111290886A CN114024840A CN 114024840 A CN114024840 A CN 114024840A CN 202111290886 A CN202111290886 A CN 202111290886A CN 114024840 A CN114024840 A CN 114024840A
Authority
CN
China
Prior art keywords
target
version information
edge
equipment
edge device
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.)
Pending
Application number
CN202111290886.4A
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.)
Sunwave Communications Co Ltd
Original Assignee
Zhejiang Sanwei Wanyilian Technology Co ltd
Sunwave Communications 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 Zhejiang Sanwei Wanyilian Technology Co ltd, Sunwave Communications Co Ltd filed Critical Zhejiang Sanwei Wanyilian Technology Co ltd
Priority to CN202111290886.4A priority Critical patent/CN114024840A/en
Publication of CN114024840A publication Critical patent/CN114024840A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies

Abstract

The invention discloses a request transmission method and device, a storage medium and an electronic device, wherein the method comprises the following steps: acquiring an edge device set corresponding to target center devices, wherein the edge device set is used for recording the target center devices and the edge devices which have a connection relationship; acquiring target edge equipment to be subjected to version information adjustment operation from the edge equipment included in the edge equipment set; generating a version information adjustment request for the target edge device; transmitting the version information adjustment request to the target central device, wherein the version information adjustment request is used for requesting the target central device to perform adjustment operation on the version information of the target edge device. By adopting the technical scheme, the problems of low updating efficiency of the edge equipment and the like in the related technology are solved.

Description

Request transmission method and device, storage medium and electronic device
Technical Field
The present invention relates to the field of communications, and in particular, to a request transmission method and apparatus, a storage medium, and an electronic apparatus.
Background
With the development of scientific technology, edge devices are also updated with time. In the prior art, if firmware or a software program of an edge device is to be updated, a large number of engineering maintenance personnel are required to replace the firmware and upgrade the software program on site, and the engineering maintenance personnel often need to update the edge device by means of a burning device. However, the number of the edge devices is large and the installation positions are scattered, even some edge devices are installed in places such as mountains and iron towers which are difficult to pass through, and if engineering maintenance personnel are dispatched to the places where the edge devices are located to carry out field updating, the workload and the maintenance cost of the engineering maintenance personnel are increased, and the time period for updating the edge devices is also increased.
Aiming at the problems of low updating efficiency of edge equipment and the like in the related art, an effective solution is not provided yet.
Disclosure of Invention
The embodiment of the invention provides a request transmission method and device, a storage medium and an electronic device, and aims to at least solve the problems of low updating efficiency of edge equipment and the like in the related art.
According to an embodiment of the present invention, a method for transmitting a request is provided, including: acquiring an edge device set corresponding to target center devices, wherein the edge device set is used for recording the target center devices and the edge devices which have a connection relationship;
acquiring target edge equipment to be subjected to version information adjustment operation from the edge equipment included in the edge equipment set;
generating a version information adjustment request for the target edge device;
transmitting the version information adjustment request to the target central device, wherein the version information adjustment request is used for requesting the target central device to perform adjustment operation on the version information of the target edge device.
Optionally, the obtaining of the edge device set corresponding to the target center device includes:
acquiring an equipment topological graph corresponding to the target center equipment, wherein the equipment topological graph is used for representing the connection relation between the target center equipment and the edge equipment in a graph form;
and displaying the device topological graph on a first application interface of the terminal device as the edge device set.
Optionally, the obtaining, from the edge devices included in the edge device set, a target edge device to be subjected to the version information adjustment operation includes:
displaying the equipment information of each edge equipment on the equipment topological graph;
acquiring edge equipment corresponding to the equipment information on which the selection operation is executed from the equipment topological graph as candidate edge equipment;
determining the candidate edge device as the target edge device in case it is detected that a confirmation operation is performed on the candidate edge device.
Optionally, the generating a version information adjustment request for the target edge device includes:
displaying an editing field of the version information on a second application interface of the terminal equipment;
determining target version information according to the editing operation executed on the editing field, wherein the target version information is the version information to which the current version information of the target edge device is adjusted;
and generating the version information adjustment request carrying the target version information.
Optionally, the determining target version information according to the editing operation performed on the editing field includes at least one of:
determining a target version type, on which a selection operation is performed, as the target version information, in a case where the edit field includes a version type;
determining a target version file on which an addition operation is performed as the target version information in a case where the edit field includes a version file;
determining a target time at which a first adjustment operation is performed as the target version information in a case where the edit field includes an adjustment time;
determining a target push rate at which a second adjustment operation is performed as the target version information in a case where the edit field includes a push rate.
Optionally, the determining target version information according to the editing operation performed on the editing field includes:
acquiring candidate version information according to the editing operation executed on the editing field;
determining a corresponding relation between the plurality of version information and the plurality of edge devices under the condition that the candidate version information comprises a plurality of version information and the target edge device comprises a plurality of edge devices, and obtaining version information and edge devices with the corresponding relation;
and determining the version information and the edge device with the corresponding relation as the target version information.
Optionally, after the transmitting the version information adjustment request to the target center device, the method further includes:
acquiring an adjustment result of the target center equipment responding to the version information adjustment request to perform adjustment operation on the version information of the target edge equipment;
and under the condition that the adjustment result is used for indicating that the version information of the target number of edge devices in the target edge devices fails to be adjusted, displaying failure information corresponding to the adjustment result on a third application interface of the terminal device, wherein the failure information is used for indicating a failure reason of the adjustment failure and adjustment retry information.
According to another embodiment of the present invention, there is also provided a request transmission apparatus, including: the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring an edge device set corresponding to a target center device, and the edge device set is used for recording the target center device and the edge device which have a connection relation;
a second obtaining module, configured to obtain, from the edge devices included in the edge device set, a target edge device to be subjected to the version information adjustment operation;
a generation module, configured to generate a version information adjustment request for the target edge device;
a transmission module, configured to transmit the version information adjustment request to the target central device, where the version information adjustment request is used to request the target central device to perform an adjustment operation on the version information of the target edge device.
According to still another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to execute the transmission method of the above request when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the transmission method of the request through the computer program.
In the embodiment of the invention, an edge device set corresponding to a target center device is obtained, wherein the edge device set is used for recording the target center device and the edge device which have a connection relation; acquiring target edge equipment to be subjected to version information adjustment operation from edge equipment included in an edge equipment set; generating a version information adjustment request for the target edge device; transmitting a version information adjustment request to the target central device, wherein the version information adjustment request is used for requesting the target central device to perform adjustment operation on the version information of the target edge device, that is, if the edge device is to be subjected to the version information adjustment operation, the target edge device to be subjected to the version information adjustment operation can be obtained from the edge device set by obtaining the edge device set corresponding to the target center device, the version information adjustment request is generated for the target edge device, and the version information adjustment request is transmitted to the target center device, so that the target center device is controlled to perform batch adjustment on the version information of the target edge device by transmitting the version information adjustment request of the target edge device to be subjected to the version information adjustment operation to the target center device, and the workload of engineering maintenance personnel and the time period for upgrading the edge device are greatly reduced. By adopting the technical scheme, the problems of low updating efficiency of the edge equipment and the like in the related technology are solved, and the technical effect of improving the updating efficiency of the edge equipment is realized.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a computer terminal of a request transmission method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method of transmission of a request according to an embodiment of the invention;
FIG. 3 is a schematic diagram of the connection of the terminal device and the target hub device and the edge device according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a device topology according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a second application interface of a terminal device according to an embodiment of the invention;
FIG. 6 is a schematic diagram of a third application interface of a terminal device according to an embodiment of the invention;
FIG. 7 is a schematic diagram of a method of transmission of a request according to an embodiment of the invention;
fig. 8 is a block diagram of a requesting transmission apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, 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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The method provided by the embodiment of the invention can be executed in a computer terminal, a computer terminal or a similar arithmetic device. Taking the example of the application on a computer terminal, fig. 1 is a hardware block diagram of a computer terminal of a request transmission method according to an embodiment of the present invention. As shown in fig. 1, the computer terminal may include one or more (only one shown in fig. 1) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and in an exemplary embodiment, may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the computer terminal. For example, the computer terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration with equivalent functionality to that shown in FIG. 1 or with more functionality than that shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the requested transmission method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to a computer terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a request transmission method is provided, which is applied to the computer terminal, and fig. 2 is a flowchart of a request transmission method according to an embodiment of the present invention, as shown in fig. 2, where the flowchart includes the following steps:
step S202, obtaining an edge device set corresponding to a target center device, wherein the edge device set is used for recording the target center device and the edge device which have a connection relationship;
step S204, obtaining target edge equipment to be subjected to version information adjustment operation from the edge equipment included in the edge equipment set;
step S206, generating a version information adjustment request for the target edge device;
step S208, transmitting the version information adjustment request to the target central device, where the version information adjustment request is used to request the target central device to perform an adjustment operation on the version information of the target edge device.
Through the steps, if the edge device is to be subjected to the version information adjustment operation, the target edge device to be subjected to the version information adjustment operation can be obtained from the edge device set by obtaining the edge device set corresponding to the target center device, the version information adjustment request is generated for the target edge device, and the version information adjustment request is transmitted to the target center device, so that the target center device is controlled to carry out batch adjustment on the version information of the target edge device by transmitting the version information adjustment request of the target edge device to be subjected to the version information adjustment operation to the target center device, and the workload of engineering maintenance personnel and the time period for upgrading the edge device are greatly reduced. By adopting the technical scheme, the problems of low updating efficiency of the edge equipment and the like in the related technology are solved, and the technical effect of improving the updating efficiency of the edge equipment is realized.
In the technical solution provided in step S202, the target center device and the edge device have a connection relationship, but the target center device and the edge device having a connection relationship may be, but are not limited to, acquired as an edge device set.
Optionally, in this embodiment, the connection relationship between the target center device and the edge device may be represented in a form of a table or a form of text data, but is not limited thereto.
Optionally, in this embodiment, the terminal device is connected to the target center device, and the target center device is connected to the edge device, and fig. 3 is a schematic connection diagram of the terminal device and the target center device and the edge device according to an embodiment of the present invention, as shown in fig. 3, the handheld terminal (i.e., the terminal device described above) is connected to the center device (i.e., the target center device described above), and the center device (i.e., the target center device described above) is connected to the edge device.
In an exemplary embodiment, the edge device set corresponding to the target center device may be obtained, but is not limited to, by: acquiring an equipment topological graph corresponding to the target center equipment, wherein the equipment topological graph is used for representing the connection relation between the target center equipment and the edge equipment in a graph form; and displaying the device topological graph on a first application interface of the terminal device as the edge device set.
Optionally, in this embodiment, a device topology diagram corresponding to the target center device is displayed on the first application interface of the terminal device, and the device topology diagram is used as the edge device set. Fig. 4 is a schematic diagram of a device topology according to an embodiment of the present invention, and as shown in fig. 4, iG3000 a2396192 is an identifier of a center device, iC 2026814000062 and iC330 DAFD34C8613 are identifiers of two edge devices connected to the center device iG3000 a2396192, then the center device iG3000 a2396192 and the edge device iC 2026814000062, which have a connection relationship, and the edge device iC330 DAFD34C8613 are an edge device set, HV:1.0 indicates that a current hardware version is 1.0, SV:1.0 indicates that a current software version is 1.0, and 2021-05-1011: 14:04 indicates a time when a version update is performed last time.
In the technical solution provided in step S204, all the edge devices or a part of the edge devices included in the edge device set may be, but is not limited to, used as target edge devices for obtaining the version information adjustment operation to be performed.
Alternatively, in the present embodiment, the version information adjusting operation may include, but is not limited to, a version information downgrading operation, a version information upgrade operation, an operation of adjusting the version information to be suitable for the version information of the current edge device, and the like.
Optionally, in the present embodiment, the version information may include, but is not limited to, hardware version information, software version information, firmware version information, and the like of the edge device.
In an exemplary embodiment, the target edge device to be subjected to the version information adjustment operation may be obtained, but is not limited to, by: displaying the equipment information of each edge equipment on the equipment topological graph; acquiring edge equipment corresponding to the equipment information on which the selection operation is executed from the equipment topological graph as candidate edge equipment; determining the candidate edge device as the target edge device in case it is detected that a confirmation operation is performed on the candidate edge device.
Optionally, in this embodiment, the device information that shows each edge device on the device topology map may be, but is not limited to, an identifier of the edge device, a time when the edge device last performed a version adjustment, current version information of the edge device, and the like.
Optionally, in this embodiment, but not limited to, a part or all of the edge devices may be selected as candidate edge devices on the device topology map displayed by the terminal device, and then a part or all of the candidate edge devices may be selected as target edge devices from the candidate edge devices.
In the technical solution provided in step S206, the version information adjustment request generated for the target edge device may include, but is not limited to, the version information to be adjusted by the target edge device, or an identifier of the version information to be adjusted by the target edge device, so that the target center device may find the version information to be adjusted by the target edge device according to the version information adjustment request.
Optionally, in this embodiment, the version information adjustment request generated for the target edge device may include, but is not limited to, a consistent version information adjustment request or an inconsistent version information adjustment request. Such as: multiple target edge devices may adjust to the same version information or may adjust to partially the same version information or may adjust to different version information.
In an exemplary embodiment, the version information adjustment request may be generated for the target edge device by, but is not limited to: displaying an editing field of the version information on a second application interface of the terminal equipment; determining target version information according to the editing operation executed on the editing field, wherein the target version information is the version information to which the current version information of the target edge device is adjusted; and generating the version information adjustment request carrying the target version information.
Optionally, in this embodiment, the target version information to which the target edge device is to be adjusted may be determined, but is not limited to, by editing an editing field of the version information displayed on the second application interface of the terminal device, and the editing field of the version information displayed on the second application interface of the terminal device may include, but is not limited to, fields of version information to be adjusted, an edge device to be subjected to version information adjustment, a time to be subjected to version adjustment, and the like.
In one exemplary embodiment, the target version information may be determined from the editing operation performed on the edit field by, but is not limited to, at least one of:
in a first mode, in a case where the edit field includes a version type, a target version type on which a selection operation is performed is determined as the target version information.
Optionally, in this embodiment, the version type may be, but is not limited to, a type of version information to be adjusted by the target edge device, such as: the type of version to be adjusted by the target edge device may include, but is not limited to, firmware, hardware or software, and the like.
In a second mode, in a case where the edit field includes a version file, a target version file on which an addition operation is performed is determined as the target version information.
Optionally, in this embodiment, the version file may include, but is not limited to, a data file including version information to which the target edge device is to adjust, an identifier of the version information, and the like.
In a third mode, in a case where the edit field includes an adjustment time, a target time at which the first adjustment operation is performed is determined as the target version information.
Optionally, in this embodiment, the adjustment time may include, but is not limited to, the time when the target edge device performs the version information adjustment, and the number of times of retrying to perform the version information adjustment if the target edge device fails to perform the version information adjustment, and the like.
In a fourth mode, in a case where the edit field includes a push rate, a target push rate at which the second adjustment operation is performed is determined as the target version information.
Optionally, in this embodiment, the push rate may be, but is not limited to, a rate for the target edge device to make the version information adjustment, such as: if some edge devices are crashed by software or firmware, the edge devices need to be recovered timely, and the software or firmware can be immediately recovered by editing the push rate to a faster value.
Optionally, in this embodiment, the target version information may be determined, but is not limited to, through an editing operation performed on editing fields such as a version type, a version file, an adjustment time, and a push rate displayed on a second application interface of the terminal device, fig. 5 is a schematic diagram of the second application interface of the terminal device according to an embodiment of the present invention, as shown in fig. 5, if an engineer wants to upgrade firmware of some edge devices, the engineer may select to upgrade the firmware of the edge device on the second application interface of the terminal device, a name on the page is a name of version information to be upgraded, a product is a central device connected to the terminal device, iG3000 is an identifier of the central device, a task type may be, but is not limited to, a type of upgrading the version information to be upgraded, a type of upgrading the version information to be performed this time is a firmware, and a version to be upgraded is a version file to which the edge device is to be upgraded, the version file name is firmware new 4G intelligent gateway formal version 146, the upgrade range may be, but is not limited to, a part of edge devices or all edge devices in edge devices connected to the central device iG3000, the selection device may be, but is not limited to, an edge device to be subjected to version information upgrade selected from edge devices connected to the central device iG3000, the upgrade time may be, but is not limited to, time for upgrading the edge device, the push rate may be, but is not limited to, a rate for pushing target version information to the central device, the failure retry interval may be, but is not limited to, a time interval for upgrading the edge device again in the case of failure of upgrading the edge device, the retry number may be, but is not limited to, a number of times for upgrading the edge device again, and the timeout time may be, but is not limited to, a maximum time required for setting the edge device to complete upgrading. After the engineer finishes editing the editing field, a version information adjustment request can be generated.
In one exemplary embodiment, the target version information may be determined from the editing operations performed on the edit field by, but is not limited to: acquiring candidate version information according to the editing operation executed on the editing field; determining a corresponding relation between the plurality of version information and the plurality of edge devices under the condition that the candidate version information comprises a plurality of version information and the target edge device comprises a plurality of edge devices, and obtaining version information and edge devices with the corresponding relation; and determining the version information and the edge device with the corresponding relation as the target version information.
Optionally, in this embodiment, if a batch version information adjustment operation is performed on a plurality of edge devices, the version information to be subjected to the version information adjustment corresponding to each edge device may be, but is not limited to, used as the target version information.
In the technical solution provided in step S208, the version information adjustment request transmitted to the target central device may include, but is not limited to, a hardware version file, a firmware version file, and a software version file of the target edge device to be subjected to version information adjustment, or an identifier of the version file of the target edge device to be subjected to version information adjustment.
Optionally, in this embodiment, the target central device may analyze the received version information adjustment request, so as to obtain a version file to be subjected to version information adjustment by the target edge device, where the version file is carried in the version information adjustment request.
In an exemplary embodiment, after the transmitting the version information adjustment request to the target central apparatus, the method further includes: acquiring an adjustment result of the target center equipment responding to the version information adjustment request to perform adjustment operation on the version information of the target edge equipment; and under the condition that the adjustment result is used for indicating that the version information of the target number of edge devices in the target edge devices fails to be adjusted, displaying failure information corresponding to the adjustment result on a third application interface of the terminal device, wherein the failure information is used for indicating a failure reason of the adjustment failure and adjustment retry information.
Optionally, in this embodiment, the adjustment result obtained by the terminal device performing the adjustment operation on the obtained version information of the target edge device may be presented in a manner of, but not limited to, an applet, a mobile APP, a web page, or the like.
Optionally, in this embodiment, if the target edge device fails to adjust the version information, the information that this adjustment fails is displayed on a third application interface of the terminal device, fig. 6 is a schematic diagram of the third application interface of the terminal device according to an embodiment of the present invention, as shown in fig. 6, device a2514604 fails to adjust the version information, the failure is caused by a download error, the failure time is 2021-04-2217: 05:04, the number of times of performing the adjustment of the version information again is 0 (i.e., the number of retries), and the number of times of performing the adjustment of the version information again is 2 (i.e., the progress is-2).
In order to better understand the process of the transmission method of the request, the following describes a flow of the implementation method of the transmission of the request with reference to an alternative embodiment, but the flow is not limited to the technical solution of the embodiment of the present invention.
In this embodiment, a request transmission method is provided, and fig. 7 is a schematic diagram of a request transmission method according to an embodiment of the present invention, as shown in fig. 7, the following steps are specifically performed:
step S701: the terminal equipment is connected with the central equipment, engineering personnel are connected with the central equipment through handheld terminal equipment, the terminal equipment can be connected with the central equipment and can be but not limited to Bluetooth, a local area network, the Internet and the like, the information of the central equipment is read, and the communication process is subjected to safety certification;
step S702: the method comprises the steps that an upgrading version and an upgrading mode are selected through terminal equipment, topological graphs of central equipment and edge equipment are displayed on an interface of a handheld terminal, the current hardware version and software version of the equipment are displayed on the topological graphs, an upgrading button is clicked to select all upgrading or batch upgrading, upgraded firmware versions and upgraded edge equipment are selected in an upgrading task information column, and after a confirming button is clicked, the terminal sends upgrading task information to the central equipment and sends an upgrading firmware binary package to the central equipment;
step S703: the method comprises the steps that central equipment issues an instruction to edge equipment, and after receiving upgrade information (json format or xml format) and a binary system package, the central equipment analyzes the upgrade information and issues the upgrade instruction (specific binary system command) to the selected edge equipment;
step S704: the edge device receives the instruction and requests the version from the central device, and after receiving the upgrading instruction, the edge device enters an upgrading state and sends a firmware requesting instruction to the central device;
step S705: the central equipment transmits the version to the edge equipment, and transmits binary system packet data to the edge equipment after receiving the request instruction;
step S706: and the edge equipment is upgraded successfully, the reported equipment information is restarted, and the edge equipment verifies the RSA version. If the verification is passed, the upgrading is started, and successful information is returned after the upgrading is completed; if not, returning error information;
step S707: and the terminal checks the upgrading result and displays the upgrading result information collected by the central equipment at the terminal.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
FIG. 8 is a block diagram of a requesting transmission apparatus according to an embodiment of the present invention; as shown in fig. 8, includes:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring an edge device set corresponding to a target center device, and the edge device set is used for recording the target center device and the edge device which have a connection relation;
a second obtaining module, configured to obtain, from the edge devices included in the edge device set, a target edge device to be subjected to the version information adjustment operation;
a generation module, configured to generate a version information adjustment request for the target edge device;
a transmission module, configured to transmit the version information adjustment request to the target central device, where the version information adjustment request is used to request the target central device to perform an adjustment operation on the version information of the target edge device.
Through the embodiment, if the edge device is to be subjected to the version information adjustment operation, the target edge device to be subjected to the version information adjustment operation can be obtained from the edge device set by obtaining the edge device set corresponding to the target center device, the version information adjustment request is generated for the target edge device, and the version information adjustment request is transmitted to the target center device, so that the target center device is controlled to carry out batch adjustment on the version information of the target edge device by transmitting the version information adjustment request of the target edge device to be subjected to the version information adjustment operation to the target center device, and the workload of engineering maintenance personnel and the time period for upgrading the edge device are greatly reduced. By adopting the technical scheme, the problems of low updating efficiency of the edge equipment and the like in the related technology are solved, and the technical effect of improving the updating efficiency of the edge equipment is realized.
In an exemplary embodiment, the first obtaining module includes:
a first obtaining unit, configured to obtain an equipment topology map corresponding to the target center equipment, where the equipment topology map is used to represent a connection relationship between the target center equipment and the edge equipment in a graph form;
and the first display unit is used for displaying the device topological graph on a first application interface of the terminal device as the edge device set.
In an exemplary embodiment, the second obtaining module includes:
a second display unit, configured to display device information of each edge device on the device topology map;
a second obtaining unit, configured to obtain, from the device topology map, an edge device corresponding to the device information on which the selection operation is performed as a candidate edge device;
a first determining unit, configured to determine the candidate edge device as the target edge device if it is detected that a confirmation operation is performed on the candidate edge device.
In an exemplary embodiment, the generating module includes:
the third display unit is used for displaying the edition field of the version information on a second application interface of the terminal equipment;
a second determining unit, configured to determine target version information according to an editing operation performed on the editing field, where the target version information is version information to which current version information of the target edge device is adjusted;
and the generating unit is used for generating the version information adjusting request carrying the target version information.
In an exemplary embodiment, the second determining unit is configured to at least one of:
determining a target version type, on which a selection operation is performed, as the target version information, in a case where the edit field includes a version type;
determining a target version file on which an addition operation is performed as the target version information in a case where the edit field includes a version file;
determining a target time at which a first adjustment operation is performed as the target version information in a case where the edit field includes an adjustment time;
determining a target push rate at which a second adjustment operation is performed as the target version information in a case where the edit field includes a push rate.
In an exemplary embodiment, the second determining unit is configured to:
acquiring candidate version information according to the editing operation executed on the editing field;
determining a corresponding relation between the plurality of version information and the plurality of edge devices under the condition that the candidate version information comprises a plurality of version information and the target edge device comprises a plurality of edge devices, and obtaining version information and edge devices with the corresponding relation;
and determining the version information and the edge device with the corresponding relation as the target version information.
In one exemplary embodiment, the apparatus further comprises:
a third obtaining module, configured to obtain, after the version information adjustment request is transmitted to the target central device, an adjustment result of an adjustment operation performed on the version information of the target edge device by the target central device in response to the version information adjustment request;
and a display module, configured to display, on a third application interface of the terminal device, failure information corresponding to the adjustment result when the adjustment result is used to indicate that the adjustment of the version information of the target number of edge devices in the target edge devices fails, where the failure information is used to indicate a failure reason of the adjustment failure and adjustment retry information.
An embodiment of the present invention further provides a storage medium including a stored program, wherein the program executes any one of the methods described above.
Alternatively, in the present embodiment, the storage medium may be configured to store program codes for performing the following steps:
s1, acquiring an edge device set corresponding to a target center device, wherein the edge device set is used for recording the target center device and the edge device which have a connection relationship;
s2, obtaining target edge equipment to be subjected to version information adjustment operation from the edge equipment included in the edge equipment set;
s3, generating a version information adjustment request for the target edge device;
s4, transmitting the version information adjustment request to the target central device, where the version information adjustment request is used to request the target central device to perform an adjustment operation on the version information of the target edge device.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring an edge device set corresponding to a target center device, wherein the edge device set is used for recording the target center device and the edge device which have a connection relationship;
s2, obtaining target edge equipment to be subjected to version information adjustment operation from the edge equipment included in the edge equipment set;
s3, generating a version information adjustment request for the target edge device;
s4, transmitting the version information adjustment request to the target central device, where the version information adjustment request is used to request the target central device to perform an adjustment operation on the version information of the target edge device.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A transmission method of a request is applied to a terminal device, and the method comprises the following steps:
acquiring an edge device set corresponding to target center devices, wherein the edge device set is used for recording the target center devices and the edge devices which have a connection relationship;
acquiring target edge equipment to be subjected to version information adjustment operation from the edge equipment included in the edge equipment set;
generating a version information adjustment request for the target edge device;
transmitting the version information adjustment request to the target central device, wherein the version information adjustment request is used for requesting the target central device to perform adjustment operation on the version information of the target edge device.
2. The method according to claim 1, wherein the obtaining of the edge device set corresponding to the target center device includes:
acquiring an equipment topological graph corresponding to the target center equipment, wherein the equipment topological graph is used for representing the connection relation between the target center equipment and the edge equipment in a graph form;
and displaying the device topological graph on a first application interface of the terminal device as the edge device set.
3. The method according to claim 1, wherein the obtaining a target edge device to be subjected to the version information adjustment operation from the edge devices included in the edge device set includes:
displaying the equipment information of each edge equipment on the equipment topological graph;
acquiring edge equipment corresponding to the equipment information on which the selection operation is executed from the equipment topological graph as candidate edge equipment;
determining the candidate edge device as the target edge device in case it is detected that a confirmation operation is performed on the candidate edge device.
4. The method of claim 1, wherein generating the version information adjustment request for the target edge device comprises:
displaying an editing field of the version information on a second application interface of the terminal equipment;
determining target version information according to the editing operation executed on the editing field, wherein the target version information is the version information to which the current version information of the target edge device is adjusted;
and generating the version information adjustment request carrying the target version information.
5. The method of claim 4, wherein determining target version information based on the editing operations performed on the edit field comprises at least one of:
determining a target version type, on which a selection operation is performed, as the target version information, in a case where the edit field includes a version type;
determining a target version file on which an addition operation is performed as the target version information in a case where the edit field includes a version file;
determining a target time at which a first adjustment operation is performed as the target version information in a case where the edit field includes an adjustment time;
determining a target push rate at which a second adjustment operation is performed as the target version information in a case where the edit field includes a push rate.
6. The method of claim 4, wherein determining target version information based on the editing operations performed on the edit field comprises:
acquiring candidate version information according to the editing operation executed on the editing field;
determining a corresponding relation between the plurality of version information and the plurality of edge devices under the condition that the candidate version information comprises a plurality of version information and the target edge device comprises a plurality of edge devices, and obtaining version information and edge devices with the corresponding relation;
and determining the version information and the edge device with the corresponding relation as the target version information.
7. The method of claim 1, wherein after said transmitting the version information adjustment request to the target hub device, the method further comprises:
acquiring an adjustment result of the target center equipment responding to the version information adjustment request to perform adjustment operation on the version information of the target edge equipment;
and under the condition that the adjustment result is used for indicating that the version information of the target number of edge devices in the target edge devices fails to be adjusted, displaying failure information corresponding to the adjustment result on a third application interface of the terminal device, wherein the failure information is used for indicating a failure reason of the adjustment failure and adjustment retry information.
8. A device for transmitting a request, applied to a terminal device, the device comprising:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring an edge device set corresponding to a target center device, and the edge device set is used for recording the target center device and the edge device which have a connection relation;
a second obtaining module, configured to obtain, from the edge devices included in the edge device set, a target edge device to be subjected to the version information adjustment operation;
a generation module, configured to generate a version information adjustment request for the target edge device;
a transmission module, configured to transmit the version information adjustment request to the target central device, where the version information adjustment request is used to request the target central device to perform an adjustment operation on the version information of the target edge device.
9. A computer-readable storage medium, comprising a stored program, wherein the program is operable to perform the method of any one of claims 1 to 7.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 7 by means of the computer program.
CN202111290886.4A 2021-11-02 2021-11-02 Request transmission method and device, storage medium and electronic device Pending CN114024840A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111290886.4A CN114024840A (en) 2021-11-02 2021-11-02 Request transmission method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111290886.4A CN114024840A (en) 2021-11-02 2021-11-02 Request transmission method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN114024840A true CN114024840A (en) 2022-02-08

Family

ID=80059769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111290886.4A Pending CN114024840A (en) 2021-11-02 2021-11-02 Request transmission method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN114024840A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769214A (en) * 2018-05-31 2018-11-06 北京百度网讯科技有限公司 For controlling edge calculations equipment, the method and apparatus for updating the data
US20190342179A1 (en) * 2018-05-07 2019-11-07 Servicenow, Inc. Discovery and Management of Devices
CN112187531A (en) * 2020-09-17 2021-01-05 青岛海尔科技有限公司 Module upgrading method and system, storage medium and electronic device
CN112394957A (en) * 2019-08-16 2021-02-23 顺丰科技有限公司 Server upgrading method and device, server and storage medium
CN112511660A (en) * 2020-11-12 2021-03-16 北京软通智慧城市科技有限公司 Management system, method, device and storage medium of edge terminal equipment
CN112764803A (en) * 2021-01-20 2021-05-07 青岛海尔科技有限公司 Version upgrading method and device, storage medium and electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190342179A1 (en) * 2018-05-07 2019-11-07 Servicenow, Inc. Discovery and Management of Devices
CN108769214A (en) * 2018-05-31 2018-11-06 北京百度网讯科技有限公司 For controlling edge calculations equipment, the method and apparatus for updating the data
CN112394957A (en) * 2019-08-16 2021-02-23 顺丰科技有限公司 Server upgrading method and device, server and storage medium
CN112187531A (en) * 2020-09-17 2021-01-05 青岛海尔科技有限公司 Module upgrading method and system, storage medium and electronic device
CN112511660A (en) * 2020-11-12 2021-03-16 北京软通智慧城市科技有限公司 Management system, method, device and storage medium of edge terminal equipment
CN112764803A (en) * 2021-01-20 2021-05-07 青岛海尔科技有限公司 Version upgrading method and device, storage medium and electronic device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵松辉;任志磊;江贺;: "软件升级问题的多目标优化方法", 计算机科学, no. 06 *

Similar Documents

Publication Publication Date Title
US9823920B2 (en) Method for updating firmware and configuration file and a firmware-configuration file management system therefor
CN103516690B (en) A kind of business processing status information query method and device
CN110727454A (en) Updating method and device of intelligent equipment, electronic equipment and storage medium
CN111694592A (en) Management method and system for project version release
CN103530199A (en) Software running error repairing method, device and system
CN111245898A (en) Network equipment online method, device, server and storage medium
CN106802814B (en) Method and device for upgrading software version
CN109905256A (en) A kind of firmware update and device
CN105359102A (en) Advanced customer support services-advanced support cloud portal
US20140289719A1 (en) Automatic version management
CN106339273A (en) Application program restoration method, terminal and server
CN112202747A (en) Target device binding method and device, storage medium and electronic device
CN112632420A (en) Interface skipping method and device, storage medium and electronic device
CN111008026A (en) Cluster management method, device and system
CN110109684A (en) Block chain node administration agent services installation method, electronic device and storage medium
CN112788576B (en) Equipment offline processing method and system, storage medium and electronic device
CN114024840A (en) Request transmission method and device, storage medium and electronic device
CN112269588A (en) Algorithm upgrading method, device, terminal and computer readable storage medium
CN112416384A (en) Software upgrading method and device and computer equipment
CN110445784B (en) Display method and device of operation data and energy system
CN112328288A (en) Method, system, equipment and storage medium for updating server component
CN112463208A (en) Version management method and device, electronic equipment and storage medium
CN113010266A (en) Cloud service restarting method and device
CN103488503B (en) Oftware updating method and device
CN115268971B (en) Updating method, device, equipment and storage medium of signal processing system

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
TA01 Transfer of patent application right

Effective date of registration: 20220425

Address after: 310053 Block C, 3D building, 581 torch Avenue, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: SUNWAVE COMMUNICATIONS Co.,Ltd.

Address before: 310053 Room C, 3D building, 581 torch Avenue, Binjiang District, Hangzhou City, Zhejiang Province 310053

Applicant before: Zhejiang Sanwei wanyilian Technology Co.,Ltd.

Applicant before: Three dimensional communication Limited by Share Ltd

TA01 Transfer of patent application right