CN114928540B - Preemption method and device, electronic equipment and storage medium - Google Patents

Preemption method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114928540B
CN114928540B CN202210522896.4A CN202210522896A CN114928540B CN 114928540 B CN114928540 B CN 114928540B CN 202210522896 A CN202210522896 A CN 202210522896A CN 114928540 B CN114928540 B CN 114928540B
Authority
CN
China
Prior art keywords
networking
network
equipment
target
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210522896.4A
Other languages
Chinese (zh)
Other versions
CN114928540A (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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a device for preempting, electronic equipment and a storage medium. The preemption method comprises the following steps: acquiring permission change indication information, wherein the permission change indication information indicates that target equipment is to execute a preemptive task; responding to the permission change indication information, setting the network permission of networking equipment in the networking, wherein 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 preemption task. According to the method, the network authority of the networking equipment in the networking is set through the authority change indication information, so that the target equipment for executing the preemption task has an independent network outlet, the bandwidth of the target equipment is not limited by the bandwidth occupied by other equipment in the networking, and the probability of success of preemption is improved.

Description

Preemption method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method and apparatus for preempting, an electronic device, 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, images, audio and video.
In order to increase the exposure of the content provider's content, the content provider needs to preempt the operator's resource display bits to display the content through the preempted resource display bits.
In the prior art, when the content provider performs the preemption, the company network uses the existing network bandwidth for all computers together, so that the bandwidth of the computer performing the preemption is limited by the bandwidth occupied by other computers in the network, and the probability of success of the preemption is further reduced. Therefore, the improvement of the probability of success of the injection is a technical problem to be solved.
Disclosure of Invention
The invention provides a method, a device, electronic equipment and a storage medium for robbing, which ensure that the bandwidth of target equipment for robbing is not limited by the bandwidth occupied by other equipment in a networking, thereby improving the probability of success of robbing.
In a first aspect, an embodiment of the present invention provides a method for preempting, including:
acquiring permission change indication information, wherein the permission change indication information indicates that target equipment is to execute a preemptive task;
responding to the permission change indication information, setting the network permission of networking equipment in the networking, wherein 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 preemption task.
In a second aspect, an embodiment of the present invention provides an apparatus for preempting, including:
the instruction information acquisition module is used for acquiring permission change instruction information, wherein the permission change instruction information instructs the target equipment to execute the preemptive task;
the network permission setting module is used for setting the network permissions of networking equipment in the networking in response to the permission change indication information, and target equipment in each networking equipment is provided with an independent network outlet after the network permissions are set;
and the confirmation information transmission module is used for transmitting confirmation information to the target equipment, wherein the confirmation information indicates the target equipment to execute the preemption 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 memory stores a computer program executable by the at least one processor to cause the at least one processor to execute to implement the method as described in the first aspect.
In a fourth aspect, embodiments of the present invention provide a computer readable storage medium storing computer instructions for causing a processor to execute to implement the method according to the first aspect.
According to the technical scheme, the network authority of the networking equipment in the networking is set through the authority change indication information, so that the target equipment for executing the preemption 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 is solved, and the probability of success of preemption is improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a preemption method provided in accordance with a first embodiment of the present invention;
fig. 2 is a flow chart of a preemption method according to a second embodiment of the present invention;
FIG. 3 is a flow chart of a preemption method provided in accordance with a third embodiment of the present invention;
fig. 4 is a flow chart of a method of preemption provided according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a first-aid injection 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 according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise 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 1
Fig. 1 is a flowchart of a method for preempting in order to increase the exposure rate of content, which may be performed by a preempting device, and the device may be implemented in software and/or hardware. The apparatus may be integrated in an electronic device, the type of which 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:
s110, acquiring permission change indication information, wherein the permission change indication information indicates that the target equipment is to execute the preemptive task.
The permission change instruction information may be regarded as instruction information indicating that the target device is to perform the preemption task. The target device may refer to a device that performs the preemption task. The preemption task may refer to a task of enabling various media contents such as text, images, audio and video to be displayed through a display location of an operator.
The specific form of the rights change instruction information is not limited as long as the electronic device can be instructed to make a network rights change. For example, the permission change indication information may include identification information of the target device, so that the electronic device performs network permission setting based on the identification information of the target device.
The permission change indication information can be indication information which is displayed on a man-machine interaction interface of the electronic equipment and used for receiving the preemption task, and the indication information indicates that the target equipment is about to execute the preemption task.
The method for obtaining the permission change indication information is not limited herein, 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 man-machine interaction device of the electronic device.
In one embodiment, the target device transmits permission change indication information to the electronic device after receiving the preemption 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 indication information through a man-machine interaction device of the electronic device. The man-machine interaction device can be a device for carrying out man-machine interaction on an interactor. Human-machine interaction devices include, but are not limited to, touch screens, input elements (e.g., keyboards, keys, etc.).
In one embodiment, the preemption task may be issued to the electronic device in addition to the target device, where the preemption task may be considered as permission change indication information, and the electronic device performs setting of network permission after receiving the preemption task. When the network permission is set, the preset device in the networking can be used as the target device, and the target device can be specified based on the current use condition of each networking device. The usage may be determined based on actual conditions, such as networking conditions and specifications of networking devices (e.g., specifications of processors of networking devices), without limitation. Networking scenarios include, but are not limited to, whether networking and network traffic, etc.
The type of the target device is not limited, and may be a device with a network connection function, such as a computer, a smart phone, or a tablet.
And when the electronic equipment receives the permission change indication information, the change of the network permission in the networking can be performed.
Further, obtaining permission change indication information is specifically used for:
and acquiring permission change indication information transmitted by the target equipment, wherein the permission change indication information is transmitted by the target equipment after the target equipment receives the preemption task, and the permission change indication information comprises identification information of the target equipment.
The identification information of the target device may be information capable of distinguishing the target device from other devices in the network 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, specific model number or routing address of the target device, and other information.
After the target device receives the preemption task, transmitting permission change indication information, and the electronic device can acquire the permission change indication information transmitted by the target device, distinguish the target device from other devices except the target device in the networking through the identification information of the target device in the permission change indication information, and further correspondingly change the network permission of the networking intranet device.
And S120, responding to the permission change indication information, setting the network permissions of the networking equipment in the networking, wherein the target equipment in each networking equipment has an independent network outlet after the network permissions are set.
The response to the permission change indication information may refer to that the electronic device reacts to the received permission change indication information, for example, the electronic device sends out a prompt tone after receiving the permission change indication information; for another example, the electronic device pops up a prompt message on the page of the man-machine interaction interface after receiving the permission change indication message, where the prompt message indicates that the electronic device has received the permission change indication message.
The networking devices in the networking may include a target device and other devices except the target device, where the target device may refer to a device that performs an preemption task, and the other devices except the target device may refer to a device that does not perform an preemption task, such as an office device.
The network permission setting for the networking devices within the networking may be to mask network connections of the remaining devices of the networking devices other than the target device or to make the static routing address of the target device different from the static routing addresses of the remaining devices other than the target device. The means for setting the network authority is not limited herein, as long as the target device is guaranteed to have an independent network outlet after the network authority is set.
The target device has an independent network outlet after the network authority 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 need not be limited by the bandwidth occupied by the remaining devices within the network. The network outlet may be considered an outlet for connection of the electronic device to an external network, such as an outlet for connection to a wide area network. The connection point between the local area network and the wide area network may be referred to as an egress.
The electronic device may perform the following operations in response to the permission change instruction information: the electronic equipment can set the network authority of the networking equipment in the networking, so that the target equipment has an independent network outlet relative to other equipment in the networking, and the control of the target equipment for data transmission is facilitated.
S130, transmitting confirmation information to the target equipment, wherein the confirmation information indicates the target equipment to execute the preemption 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 preemption task.
The manner of 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 performs the preemption task after receiving the acknowledgement information.
In this embodiment, after receiving the preemption task, the target device first transmits permission modification indication information to the electronic device to indicate the electronic device to set network permission, and after the electronic device transmits acknowledgement information to the target device, the target device may execute the preemption 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 may also perform preemption after receiving the preemption task without waiting for confirmation information.
According to the technical scheme, the network authority of the networking equipment in the networking is set, so that the target equipment has an independent network outlet, the problem that the bandwidth of the target equipment for robbing is limited by the bandwidth occupied by other equipment in the networking is solved, the network rate of the target equipment is ensured, and the probability of success of robbing is improved.
Example two
Fig. 2 is a flowchart of a preemption method provided in a second embodiment of the present invention, where, based on the first embodiment, network authority setting of networking devices in a networking is further refined, as shown in fig. 2, the method includes:
s110, acquiring permission change indication information, wherein the permission change indication information indicates that the target equipment is to execute the preemptive task.
S121, responding to the permission change indication information, and shielding network connection of other devices except the target device in the networking devices.
The network connection of the other devices except the target device in each networking device is shielded, which is understood to be 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 ensured.
The manner of masking 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 for the target device, and when the network connection of the other devices except for the target device needs to be masked, data transmission of the MAC addresses of the other devices except for the target device is restricted.
After the electronic equipment responds to the permission change indication information, network connections of other equipment except the target equipment in the networking are shielded, so that all network resources in the networking are only used by the target equipment, and the network transmission rate of the target equipment under the limited network resources is greatly ensured.
S130, transmitting confirmation information to the target equipment, wherein the confirmation information indicates the target equipment to execute the preemption task.
According to the technical scheme, network connection of other devices except the target device in the shielding networking is adopted, so that the network transmission rate of the target device is simply and effectively guaranteed, and the success rate of the robbery is improved.
Example III
Fig. 3 is a flowchart of a preemption method provided in a third embodiment of the present invention, where, based on the first embodiment, network authority setting of networking devices in a networking is further refined, as shown in fig. 3, the method includes:
s110, acquiring permission change indication information, wherein the permission change indication information indicates that the target equipment is to execute the preemptive task.
S122, determining the static routing address of each networking device in response to the permission change indication information, wherein the static routing address of the target device is different from the static routing addresses of the rest devices except the target device in the networking devices.
The static route can be route information manually configured by a user or a network administrator, is flexible in configuration, can save link cost and is high in network security. In this embodiment, the static routing address of the target device is different from the static routing addresses of the rest of the networked devices except for the target device, so that the target device has an independent network outlet.
The manner of determining 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 the database of the electronic device when the routing information is configured, and 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 database for the static routing address of each networking device to determine the static routing address of each networking device. The static routing address of the target device being different from the static routing addresses of the other devices in the networking device except for the target device may mean that the other devices except for 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 identical, but the target device has a dedicated static routing address.
And S123, controlling each networking device to perform data transmission based on the corresponding static routing address.
Specifically, the static routing addresses of the target device and the rest devices except the target device in the networking device are different, and data transmission can be performed through different network outlets. After the static routing address of each networking device is determined, the step can take effect of each static routing address, so that each networking device carries out data transmission based on the corresponding static routing address networking, and the target device has an independent network outlet.
S130, transmitting confirmation information to the target equipment, wherein the confirmation information indicates the target equipment to execute the preemption task.
According to the technical scheme, the static routing addresses of the target equipment and the rest equipment except the target equipment in the networking equipment are set to be different static routing addresses, so that each networking equipment can perform data transmission based on the corresponding static routing address, network resources are allocated more reasonably, and the probability of successful preemption of the target equipment is improved.
Example IV
Fig. 4 is a flowchart of a method for preemption according to a fourth embodiment of the present invention, where, based on the foregoing embodiments, after transmitting acknowledgement information to the target device, the method further specifically includes: acquiring right restoration instruction information; and responding to the right restoration instruction information, and restoring the network right of the networking intranet equipment to a state before setting.
As shown in fig. 4, the method includes:
s110, acquiring permission change indication information, wherein the permission change indication information indicates that the target equipment is to execute the preemptive task.
And S120, responding to the permission change indication information, setting the network permissions of the networking equipment in the networking, wherein the target equipment in each networking equipment has an independent network outlet after the network permissions are set.
S130, transmitting confirmation information to the target equipment, wherein the confirmation information indicates the target equipment to execute the preemption task.
S140, acquiring right restoration instruction information.
The permission restoration instruction information may be considered as instruction information for instructing the target device to complete the preemption task and for restoring the network permission of the networking intranet device to a state before setting.
The specific form of the rights restoration instruction information is not limited as long as the electronic device can be instructed to perform network rights restoration. The method for obtaining the rights recovery instruction information is not limited herein, for example, the electronic device may obtain the rights recovery instruction information through a man-machine interaction device of the electronic device; as another example, the electronic device obtains from the target device.
And S150, responding to the right restoration instruction information, and restoring the network right of the networking intranet equipment to a state before setting.
The response to the permission restoration instruction information may refer to that the electronic device reacts to the received permission restoration instruction information, for example, the electronic device sends out a prompt tone after receiving the permission restoration instruction information; for another example, the electronic device pops up prompt information on the page of the man-machine interaction interface after receiving the permission restoration instruction information, where the prompt information indicates that the electronic device has received the permission restoration instruction information.
The network authority of the networking intranet equipment is restored to the state before the setting, which means that other information related to the network authority, such as the network connection state or the data transmission mode of the networking equipment in the networking can be consistent with the state before the setting of the network authority. The state before the network authority setting may be a state before responding to the authority change instruction information.
The electronic device may perform the following operations in response to the rights restoration instruction information: the network authority of the networking intranet equipment can be restored in time, the influence of the network authority setting on the use of the network by other equipment except the target equipment in the networking is reduced, and the user experience is improved.
In one embodiment, assume that three networking devices are included within a networking: target device, remaining device a, and remaining device B. When the permission change indication information is acquired, all three networking devices are in a networking state. After responding to the permission change indication information, the rest device A and the rest device B are in a state of being incapable of being connected with each other, and only the target device is in a state of being capable of being connected with each other. And after receiving the permission restoration instruction information, restoring the rest equipment A and the rest equipment B to a state capable of being connected with the network.
It should be noted that the other devices may use the same setting means when performing network authority setting, or may use different setting means, for example, some of the other devices may be set to use static routing address communication, and the other devices may be set to a state of cutting off network connection. If the rest device A is in a state of non-networking, the rest device B adopts static route address communication.
According to the technical scheme, the network authority of each networking device in the networking is restored to the state before setting in time through the authority restoration indication information, and network connection of other devices except the target device in the networking can be ensured after the target device finishes the task of robbing.
Further, after setting the network authority of the networking device in the networking 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 confirming whether the actual network authority of each networking device is the same as the set network authority.
The actual network rights of the networking devices can be understood as the network rights actually detected by the networking devices, and the set network rights can be understood as the network rights set for the networking devices. The actual network rights of the networked devices may or may not be the same as the set network rights.
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 check whether the static routing address of the networking device is valid.
When determining whether the actual network right and the set network right are the same, the actual network right and the set network right may be directly compared.
After setting the network authority of the networking equipment in the networking and before transmitting the confirmation information to the target equipment, determining the actual network authority of each networking equipment, namely judging the actual network authority of each networking equipment before the target equipment performs the preemption task, ensuring that the network authority of each networking equipment is the same as the set network authority, and transmitting the confirmation information to the target equipment, so that the target equipment can smoothly perform the preemption task, the probability of preemption failure caused by poor network performance is reduced, and unnecessary economic loss of a user is reduced.
The method comprises the steps of determining the actual network authority of each networking device after the network authority of the networking intranet device is restored to a state before setting, namely, after a target device is in a task of preemption, restoring the network authority of the networking intranet device to the state before setting, judging the actual network authority of each networking device, and if the networking device is still not restored to the network state before setting, timely finding and reacting.
Optionally, determining the actual network rights of each networking device includes:
determining flow information of each networking device;
for each networking device, an actual network permission of the networking device is determined based on traffic information of the networking device.
The traffic information of each networking device may be information that may reflect a network usage situation of each networking device, and determining the traffic information of each networking device may accurately monitor a network usage situation of the networking device, so as to determine an actual network authority of the networking device, for example, determine whether the networking device can be networked.
The electronic device may detect traffic information for each networking device and then determine the actual network privileges for the networking device based on the value of the traffic characterized by the traffic information. If the flow value represented by the flow information is smaller than the set threshold value, the actual network authority of the networking equipment can be considered as non-networking. The setting threshold may be set according to actual conditions. Specific means for determining the traffic information are not limited herein, such as the electronic device determining the traffic information of each networking device by detecting the traffic of the interface between each networking device and the electronic device.
Example five
Fig. 5 is a schematic structural diagram of a preemption device according to a fifth embodiment of the present invention, where the present embodiment is applicable to a case where a content provider performs preemption for increasing the exposure rate of content. As shown in fig. 5, the specific structure of the device includes:
an instruction information acquisition module 21, configured to acquire authority modification instruction information, where the authority modification instruction information instructs a target device to execute a preemptive task;
the network authority setting module 22 is used for setting the network authority of the networking equipment in the networking in response to the authority change indication information, and the target equipment in each networking equipment is provided with an independent network outlet after the network authority is set;
and the confirmation information transmission module 23 is used for transmitting confirmation information to the target device, wherein the confirmation information instructs the target device to execute the preemption task.
The device provided in this embodiment firstly obtains, through the instruction information obtaining module 21, the permission change instruction information, where the permission change instruction information instructs the target device to execute the preemptive 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 networking, and the target equipment in each networking equipment has an independent network outlet after the network authority is set; finally, the confirmation information is transmitted to the target equipment through the confirmation information transmission module 23, and the confirmation information indicates the target equipment to execute the preemption task.
Further, the network authority setting module 22 is specifically configured to mask network connections of other devices except the target device in each networking device.
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 the 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 device further comprises: a rights restoration module 24, configured to acquire rights restoration instruction information after transmitting acknowledgement information to the target device, specifically, restore network rights of the networking intranet device to a state before setting in response to the rights restoration instruction information;
further, the device further comprises: a permission judging module 25, configured to, after setting a network permission of a networking device in a networking and before transmitting acknowledgement information to the target device; and or, after the network authority of the networking intranet equipment is restored to the state before the 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 networking device, an actual network permission of the networking device is determined based on traffic information of the networking device.
Further, the instruction information obtaining module 21 is specifically configured to: and acquiring permission change indication information transmitted by target equipment, wherein the permission change indication information is transmitted by the target equipment after receiving the preemption task, and the permission change indication information comprises identification information of the target equipment.
The device for the first-aid injection provided by the embodiment of the invention can execute the first-aid injection method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example six
Fig. 6 shows a schematic diagram of the structure 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 B-type routers, G-type routers, N-type 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, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 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.
Various 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, etc.; 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.
The 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, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the preemption method.
In some embodiments, the preemption method can be implemented as a computer program tangibly embodied on 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 RAM 13 and executed by processor 11, one or more of the steps of the preemption method described above 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 circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On 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, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may 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 implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the 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. The 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) through 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 may 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 input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background 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 background, 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. The client and server are typically 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 hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (8)

1. A method of preempting comprising:
acquiring permission change indication information, wherein the permission change indication information indicates that target equipment is to execute a preemptive task;
responding to the permission change indication information, setting the network permission of networking equipment in the networking, wherein target equipment in each networking equipment has an independent network outlet after the network permission is set;
transmitting confirmation information to the target equipment, wherein the confirmation information indicates the target equipment to execute the preemption task;
the setting of the network authority of the networking equipment in the networking comprises the following steps:
shielding network connections of other devices except the target device in each networking device; or,
determining static routing addresses of all networking devices, wherein the static routing addresses of the target devices are different from the static routing addresses of other devices except the target devices in the networking devices; and controlling each networking device to perform data transmission based on the corresponding static routing address.
2. The method of claim 1, further comprising, after transmitting the acknowledgement information to the target device:
acquiring right restoration instruction information;
and responding to the right restoration instruction information, and restoring the network right of the networking intranet equipment to a state before setting.
3. The method of claim 2, wherein after setting network permissions for networked devices within a network and before transmitting acknowledgement 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.
4. A method according to claim 3, wherein said determining actual network rights for each networked device comprises:
determining flow information of each networking device;
for each networking device, determining the actual network rights of the networking device based on traffic information of the networking device.
5. The method of claim 1, wherein the acquiring rights change indication information comprises:
and acquiring permission change indication information transmitted by target equipment, wherein the permission change indication information is transmitted by the target equipment after receiving the preemption task, and the permission change indication information comprises identification information of the target equipment.
6. A preemptive assembly comprising:
the instruction information acquisition module is used for acquiring permission change instruction information, wherein the permission change instruction information instructs the target equipment to execute the preemptive task;
the network permission setting module is used for setting the network permissions of networking equipment in the networking in response to the permission change indication information, and target equipment in each networking equipment is provided with an independent network outlet after the network permissions are set;
the confirmation information transmission module is used for transmitting confirmation information to the target equipment, wherein the confirmation information indicates the target equipment to execute the preemption task;
the network authority setting module is specifically configured to:
shielding network connections of other devices except the target device in each networking device; or,
determining static routing addresses of all networking devices, wherein the static routing addresses of the target devices are different from the static routing addresses of other devices except the target devices in the networking devices; and controlling each networking device to perform data transmission based on the corresponding static routing address.
7. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the preemption method of any of claims 1-5.
8. A computer readable storage medium storing computer instructions for causing a processor to implement the preemption method of any of claims 1-5 when executed.
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 CN114928540A (en) 2022-08-19
CN114928540B true 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 (7)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7865668B2 (en) * 2007-12-18 2011-01-04 International Business Machines Corporation Two-sided, dynamic cache injection control

Patent Citations (7)

* 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
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.2016,全文. *
浅析网络中不正当竞争行为;管婉君;法律博览;20170825;全文 *

Also Published As

Publication number Publication date
CN114928540A (en) 2022-08-19

Similar Documents

Publication Publication Date Title
CN110377341B (en) Method, device, medium and electronic equipment for monitoring no-response exception
CN113691602B (en) Service processing method, system, device, equipment and medium based on cloud mobile phone
CN114389969A (en) Client test method and device, electronic equipment and storage medium
US9167052B2 (en) Apparatus, systems, and methods for providing policy in network-based applications
CN117938515A (en) Access request processing method and device, electronic equipment and storage medium
CN114928540B (en) Preemption method and device, electronic equipment and storage medium
CN103338382B (en) A kind of method of remote monitoring digital TV terminal, device and digital television system
CN115296979B (en) Fault processing method, device, equipment and storage medium
CN116561179A (en) Data query method, device, equipment and program product
WO2020113401A1 (en) Data detection method, apparatus and device
CN116450176A (en) Version updating method and device, electronic equipment and storage medium
CN114244700A (en) Port processing method and device, electronic equipment and computer readable storage medium
CN108288135B (en) System compatibility method and device, computer readable storage medium and electronic equipment
WO2018205941A1 (en) Information processing method, apparatus and system
CN115297019B (en) Management method of Internet of things application platform, internet of things system, equipment and medium
CN116820686B (en) Physical machine deployment method, virtual machine and container unified monitoring method and device
CN116032597B (en) Platform interface flow control method and device, electronic equipment and readable storage medium
CN115794852B (en) Station yard graph display method, device, equipment and storage medium
CN118175575A (en) Near-end operation and maintenance method, device, equipment and medium of equipment
CN118337341A (en) Equipment communication method and device, electronic equipment and storage medium
CN117749482A (en) Task execution method, device, equipment and medium based on Internet of things control chip
CN116846744A (en) Log collection method, device, equipment and storage medium
CN118677940A (en) Management system, method, device and storage medium for transmission control protocol connection
CN116170188A (en) Network access control method, device, electronic equipment and storage medium
CN117424895A (en) Information sharing method, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant