CN114928540A - Preemptive injection method, device, electronic equipment and storage medium - Google Patents

Preemptive injection method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114928540A
CN114928540A CN202210522896.4A CN202210522896A CN114928540A CN 114928540 A CN114928540 A CN 114928540A CN 202210522896 A CN202210522896 A CN 202210522896A CN 114928540 A CN114928540 A CN 114928540A
Authority
CN
China
Prior art keywords
network
networking
authority
equipment
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210522896.4A
Other languages
Chinese (zh)
Other versions
CN114928540B (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.)
Nanjing Xuanjia Network Technology Co ltd
Original Assignee
Nanjing Xuanjia Network 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 Nanjing Xuanjia Network Technology Co ltd filed Critical Nanjing Xuanjia Network Technology Co ltd
Priority to CN202210522896.4A priority Critical patent/CN114928540B/en
Publication of CN114928540A publication Critical patent/CN114928540A/en
Application granted granted Critical
Publication of CN114928540B publication Critical patent/CN114928540B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Abstract

The invention discloses a rush-injection method, a device, electronic equipment and a storage medium. The emergency injection method comprises the following steps: acquiring authority change indicating information, wherein the authority change indicating information indicates that target equipment is to execute a rush-injection task; responding to the permission change indication information, setting the network permission of the networking equipment in the group network, wherein the target equipment in each networking equipment has an independent network outlet after the network permission is set; and transmitting confirmation information to the target equipment, wherein the confirmation information indicates the target equipment to execute the emergency injection task. The method sets the network authority of the networking equipment in the group network through the authority change indication information, so that the target equipment executing the emergency injection task has an independent network outlet, the bandwidth of the target equipment is not limited by the bandwidth occupied by other equipment in the group network, and the probability of successful emergency injection is improved.

Description

Preemptive injection method, device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of internet, in particular to a method and a device for preemptive injection, electronic equipment and a storage medium.
Background
The content provider refers to a provider that provides service content, and the content provided by the content provider includes various media contents such as text, image, audio, and video.
In order to increase the exposure rate of the content provider content, the content provider needs to preempt the resource display position of the operator to display the content through the preempted resource display position.
In the prior art, when a content provider performs an emergency injection, a company network uses the existing network bandwidth for all computers together, so that the bandwidth of the computer performing the emergency injection is limited by the bandwidth occupied by other computers in the network, and the probability of successful emergency injection is further reduced. Therefore, for example, increasing the probability of successful emergency injection is a technical problem to be solved urgently at present.
Disclosure of Invention
The invention provides a method, a device, electronic equipment and a storage medium for preempting, so that the bandwidth of target equipment for preempting is not limited by the bandwidth occupied by other equipment in a network group, and the probability of successful preempting is improved.
In a first aspect, an embodiment of the present invention provides an emergency injection method, including:
acquiring authority change indicating information, wherein the authority change indicating information indicates that target equipment is to execute a rush-injection task;
responding to the permission change indication information, setting the network permission of the networking equipment in the group network, wherein the target equipment in each networking equipment has an independent network outlet after the network permission is set;
and transmitting confirmation information to the target equipment, wherein the confirmation information indicates the target equipment to execute the emergency injection task.
In a second aspect, an embodiment of the present invention provides an emergency injection device, including:
the system comprises an indication information acquisition module, a permission change module and a permission change module, wherein the indication information acquisition module is used for acquiring permission change indication information which indicates that target equipment is to execute a rush-injection task;
the network authority setting module is used for responding to the authority change indication information and setting the network authority of the networking equipment in the group network, and the target equipment in each networking equipment has an independent network outlet after the network authority is set;
and the confirmation information transmission module is used for transmitting confirmation information to the target equipment, and the confirmation information indicates the target equipment to execute the emergency injection task.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to cause the at least one processor to perform to implement the method according to the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium storing computer instructions for causing a processor to execute the method according to the first aspect.
According to the technical scheme of the embodiment of the invention, the network permission of the networking equipment in the networking network is set through the permission change indication information, so that the target equipment for executing the emergency injection task has an independent network outlet, the problem that the bandwidth of the target equipment is limited by the bandwidth occupied by other equipment in the networking network is solved, and the probability of successful emergency injection is improved.
It should be understood that the statements in this section are not intended to identify key or critical features of the embodiments of the present invention, nor are they intended to limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a first method for preemptive injection according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for preemptive action according to a second embodiment of the present invention;
FIG. 3 is a flow chart of a method for preempting according to a third embodiment of the present invention;
fig. 4 is a flowchart of a first method for preempting according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a first priming device according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device implementing the preemption method of the embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present invention, 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.
Example one
Fig. 1 is a flowchart of an emergency-annotating method according to an embodiment of the present invention, where this embodiment is applicable to a situation where a content provider performs emergency-annotating to increase an exposure rate of content, and the method may be performed by an emergency-annotating device, and the device may be implemented in a form of software and/or hardware. The apparatus may be integrated into an electronic device, the type of electronic device is not limited, and may be, for example, a router, which may be an egress router within a corporate network. The egress router may be considered a router of the local area network out of the network. As shown in fig. 1, the method includes:
and S110, acquiring authority change indication information, wherein the authority change indication information indicates that the target equipment is to execute the emergency injection task.
Wherein, the permission change indication information may be regarded as indication information indicating that the target device is to execute the emergency injection task. A target device may refer to a device that performs a preemption task. The job of the emergency comment can refer to a job of displaying various media contents such as characters, images, audios, videos and the like through a display position of an operator.
The specific form of the permission change instruction information is not limited as long as the permission change instruction information can instruct the electronic device to change the network permission. For example, the permission change indication information may include identification information of the target device, so that the electronic device performs setting of the network permission based on the identification information of the target device.
The permission change indication information may be indication information of receiving the emergency notification task, which is displayed on a human-computer interaction interface of the electronic device, and the indication information indicates that the target device is to execute the emergency notification task.
The obtaining mode of the permission change indication information is not limited here, for example, the electronic device may obtain the permission change indication information transmitted by the target device; for another example, the electronic device may obtain the permission change indication information through a human-computer interaction device of the electronic device.
In one embodiment, the target device transmits permission change indication information to the electronic device after receiving the emergency task, and the electronic device acquires the permission change indication information transmitted by the target device.
In one embodiment, the electronic device obtains the permission change instruction information through a human-computer interaction device of the electronic device. The man-machine interaction device can be a device for interaction of an interactor. The man-machine interaction device includes but is not limited to a touch screen, an input component (such as a keyboard and keys).
In one embodiment, the emergency injection task can be issued to the electronic device in addition to the target device, the emergency injection task can be regarded as permission change indication information, and the electronic device sets the network permission after receiving the emergency injection task. When setting the network authority, the device preset in the networking may be used as the target device, or the target device may be designated based on the current use condition of each networking device. The usage determination may be based on actual conditions, such as networking conditions and specifications of the networking device (e.g., specifications of a processor of the networking device), but is not limited thereto. Networking conditions include, but are not limited to, whether to network, network traffic, and the like.
The type of the target device is not limited, and the target device may be a computer, a smart phone, or a tablet, for example, which has a network connection function.
After the electronic equipment receives the permission change indication information, the network permission in the networking can be changed.
Further, acquiring the permission change instruction information is specifically configured to:
and acquiring authority change indicating information transmitted by the target equipment, transmitting the authority change indicating information after the target equipment receives the emergency injection task, wherein the authority change indicating information comprises identification information of the target equipment.
The identification information of the target device may refer to information that can distinguish the target device from other devices in the networking except the target device. The specific form of the identification information is not limited, for example, the identification information of the target device may be location information, a specific model, or a routing address of the target device.
After the target device receives the emergency task, permission change indication information is transmitted, the electronic device can acquire the permission change indication information transmitted by the target device, the target device and other devices in the networking except the target device are distinguished through identification information of the target device in the permission change indication information, and the network permission of the networking device in the networking network is further changed correspondingly.
And S120, responding to the permission change indication information, setting the network permission of the networking equipment in the group network, wherein the target equipment in each networking equipment has an independent network outlet after the network permission is set.
The response to the permission change indication information may mean that the electronic device reacts to the received permission change indication information, for example, the electronic device sends a prompt tone after receiving the permission change indication information; for another example, after receiving the permission change instruction information, the electronic device pops up prompt information on a page of the human-computer interaction interface, where the prompt information indicates that the electronic device has received the permission change instruction information.
The networking devices in the group network may include a target device and other devices except the target device, the target device may refer to a device that performs the emergency task, and the other devices except the target device may refer to devices that do not perform the emergency task, such as office devices.
The network permission setting of the networking devices in the group network can be to shield the network connection of the other devices except the target device in each networking device or to make the static routing address of the target device different from the static routing addresses of the other devices except the target device. The network authority setting means is not limited, and only the target device is ensured to have an independent network outlet after the network authority is set.
The target device has an independent network outlet after the network permission is set, which may mean that the target device and other devices except the target device perform data transmission through different network outlets. Thereby ensuring that the bandwidth of the target device is not limited by the bandwidth occupied by the other devices in the network. A network outlet may be considered an outlet where an electronic device is connected to an external network, such as an outlet connected to a wide area network. The point of connection between the local area network and the wide area network may be referred to as an egress.
When the electronic device responds to the permission change indication information, the following operations can be executed: the electronic equipment can set the network authority of the networking equipment in the group network, so that the target equipment has an independent network outlet relative to other equipment in the group network, and the data transmission of the target equipment is more favorably controlled.
And S130, transmitting confirmation information to the target equipment, wherein the confirmation information indicates the target equipment to execute the emergency injection task.
The confirmation information may be understood as information that causes the target device to perform the preemption task. When the target device receives the confirmation information, the target device can execute the emergency task.
The method for transmitting the acknowledgement information to the target device is not limited herein, and for example, the electronic device may transmit the acknowledgement information to the target device in a wireless or wired manner, so that the target device executes the preemption task after receiving the acknowledgement information.
In this embodiment, after receiving the emergency task, the target device transmits permission change indication information to the electronic device to indicate the electronic device to set the network permission, and after transmitting the confirmation information to the target device, the target device may execute the emergency task.
In one embodiment, since the preemption task is time-efficient, in order to increase the success rate of the preemption task, the electronic device can also execute the preemption after receiving the preemption task without waiting for the confirmation information.
According to the technical scheme of the embodiment of the invention, the network authority of the networking equipment in the networking network is set, so that the target equipment has an independent network outlet, the problem that the bandwidth of the target equipment for emergency injection is limited by the bandwidth occupied by other equipment in the networking network is solved, the network rate of the target equipment is ensured, and the probability of successful emergency injection is improved.
Example two
Fig. 2 is a flowchart of an emergency injection method provided in the second embodiment of the present invention, where in this embodiment, on the basis of the first embodiment, the network authority setting of the networking device in the group network is further refined, and as shown in fig. 2, the method includes:
and S110, acquiring authority change indication information, wherein the authority change indication information indicates that the target equipment is to execute the emergency injection task.
And S121, responding to the permission change indication information, and shielding the network connection of other devices except the target device in each networking device.
The network connection of the other devices except the target device in each networking device is shielded, and it can be understood that the network connection of the other devices except the target device in each networking device is cut off, and only the network connection of the target device is guaranteed.
The method for shielding the network connection of the other devices is not limited herein, for example, different MAC addresses may be set for the target device and the other devices except the target device, and when the network connection of the other devices except the target device needs to be shielded, data transmission of the MAC addresses of the other devices except the target device is limited.
After the electronic device responds to the permission change indication information, the network connections of other devices in the network group except the target device are shielded, so that all network resources in the network group are only used by the target device, and the network transmission rate of the target device under the limited network resources is greatly ensured.
And S130, transmitting confirmation information to the target equipment, wherein the confirmation information indicates the target equipment to execute the emergency injection task.
According to the technical scheme of the embodiment of the invention, the network connection of other devices except the target device in the group network is shielded, so that the network transmission rate of the target device is simply and effectively ensured, and the success rate of the emergency injection is favorably improved.
EXAMPLE III
Fig. 3 is a flowchart of an emergency injection method provided in a third embodiment of the present invention, where in this embodiment, on the basis of the first embodiment, network authority setting of networking devices in a group network is further refined, and as shown in fig. 3, the method includes:
and S110, acquiring permission change indication information, wherein the permission change indication information indicates that the target equipment is to execute the emergency injection task.
And S122, responding to the permission change indication information, determining the static routing address of each networking device, wherein the static routing address of the target device is different from the static routing addresses of other devices except the target device in the networking devices.
The static routing can refer to routing information manually configured by a user or a network administrator, and is flexible in static routing configuration, capable of saving link overhead and high in network security and confidentiality. In this embodiment, the static routing address of the target device is different from the static routing addresses of the other devices except the target device in the networking device, so that the target device has an independent network exit.
The determination method of the static routing address of each networking device is not limited herein, and may be preset. For example, the static routing address of each networking device may be stored in a database of the electronic device at the time of routing information configuration, when the electronic device responds to the permission change information, a request for querying the static routing address is issued, and then the electronic device queries the static routing address of each networking device in the database to determine the static routing address of each networking device. The static routing address of the target device is different from the static routing addresses of the other devices except the target device in the networking device, and may mean that the other devices except the target device have the same static routing address but are different from the static routing address of the target device; or the networking devices all have different static routing addresses, so that the static routing address of the target device is different from the static routing addresses of other devices except the target device in the networking devices; it is also possible that the static routing addresses of some of the remaining devices are the same, but the destination device has a dedicated static routing address.
And S123, controlling each networking device to transmit data based on the corresponding static routing address.
Specifically, the static routing addresses of the target device and the other devices in the networking device except the target device are different, and data transmission can be performed through different network outlets. After the static routing addresses of the networking devices are determined, the static routing addresses can be validated, so that the networking devices perform data transmission based on the corresponding static routing addresses, and the target device has an independent network outlet.
And S130, transmitting confirmation information to the target equipment, wherein the confirmation information indicates the target equipment to execute the emergency injection task.
According to the technical scheme of the embodiment of the invention, the static routing addresses of the target equipment and other equipment except the target equipment in the networking equipment are set as different static routing addresses, so that each networking equipment can transmit data based on the corresponding static routing addresses, network resources are more reasonably distributed, and the probability of successful emergency injection of the target equipment is improved.
Example four
Fig. 4 is a flowchart of a preemption method provided by a fourth embodiment of the present invention, where this embodiment specifically includes, after transmitting confirmation information to the target device on the basis of the foregoing embodiments: acquiring authority recovery indication information; and restoring the network authority of the networking intranet equipment to the state before setting in response to the authority restoration indication information.
As shown in fig. 4, the method includes:
and S110, acquiring permission change indication information, wherein the permission change indication information indicates that the target equipment is to execute the emergency injection task.
And S120, responding to the permission change indication information, setting the network permission of the networking equipment in the group network, wherein the target equipment in each networking equipment has an independent network outlet after the network permission is set.
And S130, transmitting confirmation information to the target equipment, wherein the confirmation information indicates the target equipment to execute the emergency injection task.
And S140, acquiring the authority recovery indication information.
The permission recovery indication information may be regarded as indication information indicating that the target device completes the emergency injection task and needs to recover the network permission of the networking intranet device to the state before setting.
The specific form of the permission recovery indication information is not limited as long as the permission recovery indication information can indicate the electronic device to perform network permission recovery. The acquisition mode of the permission recovery indication information is not limited here, for example, the electronic device may acquire the permission recovery indication information through a human-computer interaction device of the electronic device; as well as the electronic device from the target device.
S150, responding to the permission recovery indication information, and recovering the network permission of the networking intranet equipment to the state before setting.
The response to the permission recovery indication information may mean that the electronic device reacts to the received permission recovery indication information, for example, the electronic device sends a prompt tone after receiving the permission recovery indication information; for another example, after receiving the permission recovery indication information, the electronic device pops up prompt information on a page of the human-computer interaction interface, where the prompt information indicates that the electronic device has received the permission recovery indication information.
The network authority of the networking intranet device is restored to the state before the setting, which can be understood as that other information related to the network authority, such as the network connection state or the data transmission mode of the networking device in the networking intranet, can be consistent with the state before the setting of the network authority. The state before the network right setting may be a state before the indication information is changed in response to the right.
When the electronic device responds to the permission restoration instruction information, the following operations can be executed: the network permission of the networking intranet equipment can be timely recovered, the influence of the network permission setting on other equipment in the networking intranet except the target equipment when the networking intranet is used is reduced, and the user experience is improved.
In one embodiment, assume that three networked devices are included within a network: target device, remaining device a, and remaining device B. And when the permission change indication information is acquired, all the three networking devices are in a networking state. After the permission change indication information is responded, the rest equipment A and the rest equipment B are both in the non-networking state, and only the target equipment is in the networking state. And after receiving the permission recovery indication information, recovering the rest equipment A and the rest equipment B to a networking state.
It should be noted that the other devices may adopt the same setting means or different setting means when performing network authority setting, for example, part of the other devices may be set to adopt static routing address communication, and the rest of the devices may be set to a state of cutting off network connection. If the rest device A is in a non-networking state, the rest device B adopts the static routing address to communicate.
According to the technical scheme of the embodiment of the invention, the network authorities of all networking devices in the group network are timely restored to the state before setting through the authority restoration indication information, and the network connection of other devices except the target device in the group network can be ensured after the target device finishes the emergency injection task.
Further, after setting the network authority of the networking device in the group network and before transmitting the confirmation information to the target device; and or, after restoring the network authority of the networking intranet device to the state before setting, further comprising:
determining the actual network authority of each networking device;
and determining whether the actual network authority of each networking device is the same as the set network authority.
The actual network authority of each networking device can be understood as the network authority actually detected by each networking device, and the set network authority can be understood as the network authority set for each networking device. The actual network privileges of each networked device may be the same as or different from the set network privileges.
The actual determination means of the network authority is not limited, and whether the networking equipment can be networked or not can be determined by detecting the flow of the networking equipment; it is also possible to detect whether the static routing address of the networked device is valid.
And when determining whether the actual network authority is the same as the set network authority, directly comparing the actual network authority with the set network authority.
After the network authority of the networking equipment in the group network is set and before the confirmation information is transmitted to the target equipment, the actual network authority of each networking equipment is determined, namely the actual network authority of each networking equipment is judged before the target equipment carries out the emergency injection task, the network authority of each networking equipment is ensured to be the same as the set network authority, and the confirmation information is transmitted to the target equipment, so that the target equipment can smoothly carry out the emergency injection task, the probability of emergency injection failure caused by poor network performance is reduced, and meanwhile, unnecessary economic loss of a user can be reduced.
After the network authority of the networking intranet equipment is restored to the state before the setting, the actual network authority of each networking equipment is determined, namely after the target equipment robbery task is finished, the network authority of the networking intranet equipment is restored to the state before the setting, the actual network authority of each networking equipment is judged, and if the networking equipment still does not restore to the network state before the setting, the actual network authority of each networking equipment can be found in time and can react.
Optionally, determining the actual network authority of each networking device includes:
determining flow information of each networking device;
for each networked device, the actual network privileges of the networked device are determined based on the traffic information of the networked device.
The traffic information of each networking device may refer to information that can reflect a situation of using a network by each networking device, and determine that the traffic information of each networking device can accurately monitor a situation of actually using the network by the networking device, thereby determining an actual network authority of the networking device, such as determining whether the networking device can be networked.
The electronic device may detect traffic information for each networked device and then determine the actual network privileges of the networked devices based on the values of the traffic characterized by the traffic information. If the value of the flow represented by the flow information is smaller than the set threshold, the actual network authority of the networking device can be considered to be non-networking. The set threshold value can be set according to actual conditions. The specific means for determining the traffic information is not limited herein, for example, the electronic device determines the traffic information of each networked device by detecting the traffic of the interface between each networked device and the electronic device.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a first device for emergency registration according to a fifth embodiment of the present invention, which is applicable to a situation where a content provider performs emergency registration to increase an exposure rate of content. As shown in fig. 5, the specific structure of the apparatus includes:
an indication information obtaining module 21, configured to obtain permission change indication information, where the permission change indication information indicates that the target device is to execute a preemption task;
the network authority setting module 22 is used for setting the network authority of the networking equipment in the group network in response to the authority change indication information, and the target equipment in each networking equipment has an independent network outlet after the network authority is set;
and the confirmation information transmission module 23 is configured to transmit confirmation information to the target device, where the confirmation information indicates that the target device executes the preemption task.
The device provided by the embodiment firstly acquires the permission change indication information through the indication information acquisition module 21, and the permission change indication information indicates that the target device is to execute the emergency injection task; then, the network authority setting module 22 responds to the authority change indication information to set the network authority of the networking equipment in the group network, and the target equipment in each networking equipment has an independent network outlet after the network authority is set; and finally, transmitting confirmation information to the target equipment through a confirmation information transmission module 23, wherein the confirmation information indicates the target equipment to execute the emergency injection task.
Further, the network permission setting module 22 is specifically configured to shield network connections of other devices, except for the target device, in each of the networked devices.
Further, the network permission setting module 22 is specifically configured to determine, in response to the permission change indication information, a static routing address of each networking device, where the static routing address of the target device is different from the static routing addresses of other devices, except the target device, in the networking devices; and controlling each networking device to perform data transmission based on the corresponding static routing address.
Further, the apparatus further comprises: the permission recovery module 24 is configured to acquire permission recovery indication information after transmitting the confirmation information to the target device, and specifically, recover the network permission of the networking intranet device to a state before setting in response to the permission recovery indication information;
further, the apparatus further comprises: the authority judgment module 25 is configured to set a network authority of a networking device in a group network and before transmitting confirmation information to the target device; and or, after restoring the network authority of the networking intranet equipment to the state before setting, determining the actual network authority of each networking equipment, and determining whether the actual network authority of each networking equipment is the same as the set network authority.
Further, the permission judging module 25 is specifically configured to: determining flow information of each networking device; for each networked device, the actual network privileges of the networked device are determined based on the traffic information of the networked device.
Further, the indication information obtaining module 21 is specifically configured to: acquiring authority change indicating information transmitted by target equipment, wherein the authority change indicating information is transmitted by the target equipment after receiving an emergency injection task, and the authority change indicating information comprises identification information of the target equipment.
The emergency injection device provided by the embodiment of the invention can execute the emergency injection method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE six
FIG. 6 illustrates a block diagram of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of routers, such as type B routers, type G routers, type N routers, mobile routers, and other devices having routing functionality. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 6, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM)12, a Random Access Memory (RAM)13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM)12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 may also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
Processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above, such as the preemption method.
In some embodiments, the preemption method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the above described priming method may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the preemption method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Computer programs for implementing the methods of the present invention can be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, 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), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method of preemptive injection, comprising:
acquiring authority change indicating information, wherein the authority change indicating information indicates that target equipment is to execute a rush-injection task;
responding to the permission change indication information, setting the network permission of the networking equipment in the group network, wherein the target equipment in each networking equipment has an independent network outlet after the network permission is set;
and transmitting confirmation information to the target equipment, wherein the confirmation information indicates the target equipment to execute the emergency injection task.
2. The method of claim 1, wherein setting the network privileges of the networked devices in the group network comprises:
and shielding the network connection of other devices except the target device in each networking device.
3. The method of claim 1, wherein setting the network permissions of the networked devices in the group network comprises:
determining a static routing address of each networking device, wherein the static routing address of the target device is different from the static routing addresses of other devices except the target device in the networking devices;
and controlling each networking device to perform data transmission based on the corresponding static routing address.
4. The method of claim 1, further comprising, after transmitting acknowledgement information to the target device:
acquiring authority recovery indication information;
and restoring the network authority of the networking intranet equipment to the state before setting in response to the authority restoration indication information.
5. The method of claim 4, wherein after setting network privileges of networked devices within a group network and before transmitting confirmation information to the target device; and or, after restoring the network authority of the networking intranet device to the state before setting, further comprising:
determining the actual network authority of each networking device;
and confirming whether the actual network authority of each networking device is the same as the set network authority.
6. The method of claim 5, wherein determining the actual network privileges of each networked device comprises:
determining flow information of each networking device;
for each networking device, determining an actual network permission of the networking device based on traffic information of the networking device.
7. The method according to claim 1, wherein the obtaining the permission change indication information comprises:
acquiring authority change indicating information transmitted by target equipment, wherein the authority change indicating information is transmitted by the target equipment after receiving an emergency injection task, and the authority change indicating information comprises identification information of the target equipment.
8. An emergency injection device, comprising:
the system comprises an indication information acquisition module, a permission change indication module and a permission change module, wherein the indication information acquisition module is used for acquiring permission change indication information which indicates that target equipment is to execute a rush-injection task;
the network authority setting module is used for responding to the authority change indication information and setting the network authority of the networking equipment in the group network, and the target equipment in each networking equipment has an independent network outlet after the network authority is set;
and the confirmation information transmission module is used for transmitting confirmation information to the target equipment, and the confirmation information indicates the target equipment to execute the emergency injection task.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the method of preempting as recited in any of claims 1-7.
10. A computer-readable storage medium having stored thereon computer instructions for causing a processor to, when executed, implement the method of preempting according to any of claims 1-7.
CN202210522896.4A 2022-05-13 2022-05-13 Preemption method and device, electronic equipment and storage medium Active CN114928540B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210522896.4A CN114928540B (en) 2022-05-13 2022-05-13 Preemption method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210522896.4A CN114928540B (en) 2022-05-13 2022-05-13 Preemption method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114928540A true CN114928540A (en) 2022-08-19
CN114928540B CN114928540B (en) 2024-02-23

Family

ID=82808180

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210522896.4A Active CN114928540B (en) 2022-05-13 2022-05-13 Preemption method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114928540B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815975A (en) * 2005-02-04 2006-08-09 华为技术有限公司 End-to-end business automatic configurating and restoring method in ASON network
CN101022387A (en) * 2007-03-28 2007-08-22 中兴通讯股份有限公司 Communication band width dynamic distributing method in chain type group network
US20090157961A1 (en) * 2007-12-18 2009-06-18 International Business Machines Corporation Two-sided, dynamic cache injection control
US8306530B1 (en) * 2008-10-03 2012-11-06 Sprint Communications Company L.P. Method and system for assigning a static mobile internet protocol address to a mobile node
CN103200200A (en) * 2013-04-15 2013-07-10 广东天波信息技术股份有限公司 Illegal dialing prevention method of SIP terminal and SIP server
CN108965158A (en) * 2017-05-17 2018-12-07 互联网域名系统北京市工程研究中心有限公司 A kind of cybersquatting current-limiting method, apparatus and system
CN112714420A (en) * 2020-12-23 2021-04-27 北京百度网讯科技有限公司 Network access method and device of wifi hotspot providing equipment and electronic equipment
CN114090211A (en) * 2021-11-23 2022-02-25 中国银行股份有限公司 Method and device for coordinating single-task master-slave program and related multi-server system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815975A (en) * 2005-02-04 2006-08-09 华为技术有限公司 End-to-end business automatic configurating and restoring method in ASON network
CN101022387A (en) * 2007-03-28 2007-08-22 中兴通讯股份有限公司 Communication band width dynamic distributing method in chain type group network
US20090157961A1 (en) * 2007-12-18 2009-06-18 International Business Machines Corporation Two-sided, dynamic cache injection control
US8306530B1 (en) * 2008-10-03 2012-11-06 Sprint Communications Company L.P. Method and system for assigning a static mobile internet protocol address to a mobile node
CN103200200A (en) * 2013-04-15 2013-07-10 广东天波信息技术股份有限公司 Illegal dialing prevention method of SIP terminal and SIP server
CN108965158A (en) * 2017-05-17 2018-12-07 互联网域名系统北京市工程研究中心有限公司 A kind of cybersquatting current-limiting method, apparatus and system
CN112714420A (en) * 2020-12-23 2021-04-27 北京百度网讯科技有限公司 Network access method and device of wifi hotspot providing equipment and electronic equipment
CN114090211A (en) * 2021-11-23 2022-02-25 中国银行股份有限公司 Method and device for coordinating single-task master-slave program and related multi-server system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JIE HAN;FEI WANG: "An improved RANSAC registration algorithm based on region covariance descriptor", 2015 CHINESE AUTOMATION CONGRESS, 18 January 2016 (2016-01-18) *
管婉君: "浅析网络中不正当竞争行为", 法律博览, 25 August 2017 (2017-08-25) *

Also Published As

Publication number Publication date
CN114928540B (en) 2024-02-23

Similar Documents

Publication Publication Date Title
CN109889547B (en) Abnormal network equipment detection method and device
CN110377341B (en) Method, device, medium and electronic equipment for monitoring no-response exception
US8296367B2 (en) Synchronizing shared files during communication sessions
CN110633046A (en) Storage method and device of distributed system, storage equipment and storage medium
CN114328132A (en) Method, device, equipment and medium for monitoring state of external data source
CN109726151B (en) Method, apparatus, and medium for managing input-output stack
CN114928540B (en) Preemption method and device, electronic equipment and storage medium
CN115296979B (en) Fault processing method, device, equipment and storage medium
CN110893616B (en) Remote control method and device, computer equipment and storage medium
CN116450176A (en) Version updating method and device, electronic equipment and storage medium
CN109219105B (en) Route switching method and route switching system
CN107766232B (en) Plug-in management method and device
CN114153553A (en) High-availability control method and system for virtual machine and related components
WO2020113401A1 (en) Data detection method, apparatus and device
CN111259369A (en) Man-machine identity verification method and system
CN115794852B (en) Station yard graph display method, device, equipment and storage medium
CN115174447B (en) Network communication method, device, system, equipment and storage medium
CN116225881B (en) Monitoring system and method without response by application click
CN117056110B (en) System fault investigation method and device, electronic equipment and storage medium
CN115297019B (en) Management method of Internet of things application platform, internet of things system, equipment and medium
CN116170188A (en) Network access control method, device, electronic equipment and storage medium
CN105808411A (en) Method and device for alarming system fault through social application
CN116846744A (en) Log collection method, device, equipment and storage medium
CN116185695A (en) Log processing method and device, electronic equipment and storage medium
CN117749482A (en) Task execution method, device, equipment and medium based on Internet of things control chip

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