CN113132162B - Method, device, equipment and medium for configuring Internet of things card - Google Patents

Method, device, equipment and medium for configuring Internet of things card Download PDF

Info

Publication number
CN113132162B
CN113132162B CN202110413861.2A CN202110413861A CN113132162B CN 113132162 B CN113132162 B CN 113132162B CN 202110413861 A CN202110413861 A CN 202110413861A CN 113132162 B CN113132162 B CN 113132162B
Authority
CN
China
Prior art keywords
target
internet
things
gateway
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
CN202110413861.2A
Other languages
Chinese (zh)
Other versions
CN113132162A (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.)
Beijing Shiningda Technology Co ltd
Original Assignee
Beijing Shiningda 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 Beijing Shiningda Technology Co ltd filed Critical Beijing Shiningda Technology Co ltd
Priority to CN202110413861.2A priority Critical patent/CN113132162B/en
Publication of CN113132162A publication Critical patent/CN113132162A/en
Application granted granted Critical
Publication of CN113132162B publication Critical patent/CN113132162B/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
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a method, a device, equipment and a medium for configuring an Internet of things card, and relates to the technical field of Internet of things. In the application, firstly, target configuration updating information of a target Internet of things card is obtained; secondly, determining a first wireless gateway corresponding to a target Internet of things device to which the target Internet of things card belongs; and then, sending the target configuration update information to a first wireless gateway, wherein the first wireless gateway is used for sending the target configuration update information to the target internet of things equipment, so that the target internet of things equipment updates the target internet of things card based on the target configuration update information. Based on the method, the problem that the application effect of the Internet of things card in the Internet of things equipment is poor in the prior art can be solved.

Description

Method, device, equipment and medium for configuring Internet of things card
Technical Field
The present application relates to the field of technologies, and in particular, to a method, an apparatus, a device, and a medium for configuring an internet of things card.
Background
The internet of things card is an important tool and channel for communication between the internet of things device and other devices, such as an internet of things background server, and therefore the configuration of the internet of things card determines the performance of the applied internet of things device. However, the inventor finds that in the prior art, the application effect of the internet of things card in the internet of things equipment is poor.
Disclosure of Invention
In view of this, an object of the present application is to provide a method, an apparatus, a device and a medium for configuring an internet of things card, so as to solve the problem in the prior art that an application effect of the internet of things card in the internet of things device is poor.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
a method for configuring an Internet of things card comprises the following steps:
acquiring target configuration updating information of a target Internet of things card;
determining a first wireless gateway corresponding to a target Internet of things device to which the target Internet of things card belongs;
and sending the target configuration updating information to the first wireless gateway, wherein the first wireless gateway is used for sending the target configuration updating information to the target internet of things equipment, so that the target internet of things equipment updates the target internet of things card based on the target configuration updating information.
In a possible embodiment, in the method for configuring an internet of things card, the method is applied to a device configured with the internet of things card, the device is connected to a first user terminal device in a communication manner, and the step of acquiring target configuration update information of the target internet of things card includes:
acquiring a target configuration updating instruction sent by the first user terminal device, wherein the target configuration updating instruction is generated based on the configuration information updating operation of the first user terminal device responding to a target user aiming at a target Internet of things card;
and generating target configuration updating information of the target Internet of things card based on the target configuration updating instruction.
In a possible embodiment, in the method for configuring an internet of things card, the method is applied to a device for configuring an internet of things card, the device is communicatively connected to a plurality of second user terminal devices, and the step of obtaining target configuration update information of a target internet of things card includes:
counting first frequency information of the Internet of things data acquired by the target Internet of things equipment, which is requested by the second user terminal equipment;
determining whether second frequency information of the internet of things data acquired by the target internet of things equipment and sent by the target internet of things network card needs to be updated or not based on the first frequency information;
and if second frequency information of the internet of things data collected by the target internet of things equipment and sent by the target internet of things network card is determined to need updating, generating target configuration updating information for updating the second frequency information, wherein the target internet of things card sends the internet of things data based on the second frequency information.
In a possible embodiment, in the method for configuring an internet of things card, the step of obtaining the target configuration update information of the target internet of things card includes:
counting the data volume of the Internet of things data acquired by the target Internet of things equipment in unit time;
determining whether the second frequency information of the Internet of things data, which is sent by the target Internet of things network card and collected by the target Internet of things equipment, needs to be updated or not based on the data volume;
and if second frequency information of the internet of things data collected by the target internet of things equipment and sent by the target internet of things network card is determined to need updating, generating target configuration updating information for updating the second frequency information, wherein the target internet of things card sends the internet of things data based on the second frequency information.
In a possible embodiment, in the method for configuring an internet of things card, the step of determining a first wireless gateway corresponding to a target internet of things device to which the target internet of things card belongs includes:
acquiring the generated device-gateway corresponding relationship, wherein the device-gateway corresponding relationship comprises the corresponding relationship between each wireless gateway and each Internet of things device;
and determining a first wireless gateway corresponding to the target Internet of things equipment in a plurality of wireless gateways based on the equipment-gateway correspondence, wherein the target Internet of things equipment and the first wireless gateway have a correspondence.
In a possible embodiment, in the method for configuring an internet of things card, the method further includes a step of generating the device-gateway correspondence, where the step includes:
determining the number of the Internet of things equipment included in the target Internet of things system to obtain the number of the target equipment;
determining at least one target wireless gateway from a plurality of pre-configured wireless gateways based on the number of the target devices, wherein the number of the target gateways is matched with the number of the target devices;
and respectively allocating each target wireless gateway to the internet of things equipment included in the target internet of things system to form the equipment-gateway correspondence, wherein each internet of things equipment is allocated with a corresponding target wireless gateway so as to convert and transmit the internet of things data sent by the corresponding internet of things equipment through the target wireless gateway.
In a possible embodiment, in the method for configuring an internet of things card, the step of determining at least one target wireless gateway among a plurality of preconfigured wireless gateways based on the number of target devices includes:
acquiring the number of a plurality of wireless gateways configured in advance to obtain the number of target gateways;
judging the size relationship between the number of the target gateways and the number of the target devices;
if the number of the target gateways is less than or equal to the number of the target devices, determining the plurality of wireless gateways as a plurality of target wireless gateways;
and if the number of the target gateways is larger than the number of the target devices, determining the wireless gateways with the number of the target devices as the target wireless gateways in the plurality of wireless gateways.
The application also provides a device for configuring the internet of things card, which comprises:
the update information acquisition module is used for acquiring target configuration update information of the target Internet of things card;
the wireless gateway determining module is used for determining a first wireless gateway corresponding to a target Internet of things device to which the target Internet of things card belongs;
and the update information sending module is configured to send the target configuration update information to the first wireless gateway, where the first wireless gateway is configured to send the target configuration update information to the target internet of things device, so that the target internet of things device updates the target internet of things card based on the target configuration update information.
On the basis of the foregoing embodiments, the present application further provides an apparatus for configuring an internet of things card, including:
a memory for storing a computer program;
and the processor is connected with the memory and is used for running the computer program so as to realize the method for configuring the Internet of things card.
On the basis of the foregoing embodiments, the present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program runs, the method for configuring the internet of things card is implemented.
According to the method, the device, the equipment and the medium for configuring the internet of things card, the acquired target configuration updating information of the target internet of things card is sent to the first wireless gateway corresponding to the target internet of things equipment to which the target internet of things card belongs, so that the first wireless gateway can send the target configuration updating information to the target internet of things equipment, and the target internet of things equipment updates the target internet of things card based on the target configuration updating information. Based on this, because the configuration information of thing networking card can be effectively updated to improve the adaptability of thing networking card under different demands, thereby can improve the relatively poor problem of the application effect of thing networking card in thing networking equipment that exists among the prior art, make to have higher practical value.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
Fig. 1 is a block diagram of a device configured by an internet of things card according to an embodiment of the present application.
Fig. 2 is a schematic flowchart of steps included in a method for configuring an internet of things card according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
As shown in fig. 1, an embodiment of the present application provides an apparatus for configuring an internet of things card. The device configured by the internet of things card may include a memory and a processor.
In detail, the memory and the processor are electrically connected directly or indirectly to realize data transmission or interaction. For example, they may be electrically connected to each other via one or more communication buses or signal lines. The memory can have stored therein at least one software function (computer program) which can be present in the form of software or firmware. The processor may be configured to execute the executable computer program stored in the memory, so as to implement the method for configuring the internet of things card provided in the embodiments (described later) of the present application.
Alternatively, the Memory may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), a System on Chip (SoC), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
Moreover, the structure shown in fig. 1 is only an illustration, and the device configured by the internet of things card may further include more or fewer components than those shown in fig. 1, or have a configuration different from that shown in fig. 1, for example, may include a communication unit for performing information interaction with other devices.
In an alternative example, the device configured by the internet of things card may be a server with data processing capability.
With reference to fig. 2, an embodiment of the present application further provides a method for configuring an internet of things card, which is applicable to the device for configuring an internet of things card. The method steps defined by the flow related to the method for configuring the internet of things card can be implemented by the device configured by the internet of things card.
The specific process shown in FIG. 2 will be described in detail below.
Step S110, obtaining the target configuration update information of the target Internet of things card.
In this embodiment, the device for configuring the internet of things card may obtain configuration update information of the target internet of things card to obtain target configuration update information.
Step S120, determining a first wireless gateway corresponding to the target Internet of things device to which the target Internet of things card belongs.
In this embodiment, after obtaining the target configuration update information based on step S110, the device configured by the internet of things card may determine a first wireless gateway corresponding to a target internet of things device to which the target internet of things card corresponding to the target configuration update information belongs.
Step S130, sending the target configuration update information to the first wireless gateway.
In this embodiment, after determining the first wireless gateway based on step S120, the device for configuring the internet of things card may send the target configuration update information to the first wireless gateway.
The first wireless gateway is used for sending the target configuration updating information to the target internet of things equipment so that the target internet of things equipment updates the target internet of things card based on the target configuration updating information.
Based on the method, the acquired target configuration updating information of the target internet of things card is sent to the first wireless gateway corresponding to the target internet of things device to which the target internet of things card belongs, so that the first wireless gateway can send the target configuration updating information to the target internet of things device, and the target internet of things device updates the target internet of things card based on the target configuration updating information. Based on this, because the configuration information of thing networking card can be effectively updated to improve the adaptability of thing networking card under different demands, thereby can improve the relatively poor problem of the application effect of thing networking card in thing networking equipment that exists among the prior art, make to have higher practical value.
In the first aspect, it should be noted that, in step S110, a specific manner of obtaining the target configuration update information is not limited, and may be selected according to an actual application requirement.
For example, in an alternative example, the device configured by the internet of things card is communicatively connected with a first user terminal device, and step S110 may include the following steps:
firstly, acquiring a target configuration updating instruction sent by the first user terminal device, wherein the target configuration updating instruction is generated based on the configuration information updating operation of a target user aiming at a target Internet of things card responded by the first user terminal device; and secondly, generating target configuration updating information of the target Internet of things card based on the target configuration updating instruction.
For another example, in an alternative example, the device configured by the internet of things card is communicatively connected with a plurality of second user terminal devices, and step S110 may include the following steps:
firstly, counting first frequency information of the internet of things data acquired by the target internet of things equipment, which is requested by the plurality of second user terminal equipment (namely, the frequency of the internet of things data acquired by the target internet of things equipment, which is requested by the second user terminal equipment); secondly, determining whether second frequency information of the internet of things data collected by the target internet of things device and sent by the target internet of things device needs to be updated or not based on the first frequency information (for example, if the first frequency information is greater than a frequency threshold value, the second frequency information of the internet of things data collected by the target internet of things device and sent by the target internet of things device needs to be updated); and then, if it is determined that second frequency information of the internet of things data collected by the target internet of things device and sent by the target internet of things network card needs to be updated, generating target configuration update information for updating the second frequency information, wherein the target internet of things card sends the internet of things data based on the second frequency information.
For another example, in another alternative example, step S110 may include the steps of:
firstly, counting the data volume of the internet of things data acquired by the target internet of things equipment in unit time (such as 1 hour); secondly, determining whether second frequency information of the internet of things data collected by the target internet of things device and sent by the target internet of things device needs to be updated or not based on the data volume (for example, if the data volume is greater than a data volume threshold value, it can be determined that the second frequency information of the internet of things data collected by the target internet of things device and sent by the target internet of things device needs to be updated); and then, if it is determined that second frequency information of the internet of things data collected by the target internet of things device and sent by the target internet of things network card needs to be updated, generating target configuration update information for updating the second frequency information, wherein the target internet of things card sends the internet of things data based on the second frequency information.
In a second aspect, it should be noted that, in step S120, a specific manner of determining the first wireless gateway corresponding to the target internet of things device to which the target internet of things card belongs is not limited.
For example, in an alternative example, step S120 may include the steps of:
firstly, acquiring a generated device-gateway corresponding relation, wherein the device-gateway corresponding relation comprises a corresponding relation between each wireless gateway and each Internet of things device; secondly, determining a first wireless gateway corresponding to the target Internet of things device in a plurality of wireless gateways based on the device-gateway correspondence, wherein the target Internet of things device and the first wireless gateway have a correspondence.
Optionally, in the above example, a specific manner of generating the device-gateway correspondence is not limited, and may be selected according to an actual application requirement.
For example, in one alternative example, the device-gateway correspondence may be generated based on the following steps:
firstly, determining the number of the Internet of things equipment included in a target Internet of things system to obtain the number of the target equipment; secondly, determining at least one target wireless gateway from a plurality of pre-configured wireless gateways based on the number of the target devices, wherein the number of the target gateways is matched with the number of the target devices; and then, respectively allocating each target wireless gateway to the internet of things equipment included in the target internet of things system to form the equipment-gateway correspondence, wherein each internet of things equipment is allocated with a corresponding target wireless gateway so as to convert and transmit the internet of things data sent by the corresponding internet of things equipment through the target wireless gateway.
Optionally, in the above example, a specific manner of determining at least one target wireless gateway among the multiple wireless gateways based on the number of the target devices is not limited, and may be selected according to an actual application requirement.
For example, in an alternative example, at least one target wireless gateway may be determined among the plurality of wireless gateways based on the number of target devices by:
firstly, acquiring the number of a plurality of wireless gateways configured in advance to obtain the number of target gateways; secondly, determining a multiple relation between the number of the target gateways and the number of the target devices; then, target wireless gateways are determined among the multiple wireless gateways based on the multiple relationship (for example, if the number of the target gateways is 7 and the number of the target devices is 12, the corresponding multiple relationship is 7/12, and thus, 6 target wireless gateways may be determined, so that after step S130 is executed, two internet of things devices correspond to each target wireless gateway; for example, if the number of the target gateways is 12 and the number of the target devices is 5, the corresponding multiple relationship is 12/5, and thus, 5 target wireless gateways may be determined, so that after step S130 is executed, one internet of things device corresponds to each target wireless gateway).
For another example, in another alternative example, at least one target wireless gateway may be determined among the plurality of wireless gateways based on the number of target devices by:
firstly, acquiring the number of a plurality of wireless gateways configured in advance to obtain the number of target gateways; secondly, judging the size relationship between the number of the target gateways and the number of the target devices; then, if the number of the target gateways is less than or equal to the number of the target devices, determining the plurality of wireless gateways as a plurality of target wireless gateways (in this way, a partial one-to-many correspondence relationship, a partial one-to-one correspondence relationship, or a one-to-many correspondence relationship may be formed between the wireless gateways and the internet of things devices); finally, if the number of the target gateways is greater than the number of the target devices, determining the number of the target devices in the wireless gateways as the target wireless gateways (in this way, a one-to-one correspondence relationship may be formed between the wireless gateways and the internet of things devices).
Optionally, on the basis of the above example, a specific manner of determining, as the target wireless gateway, the number of the wireless gateways corresponding to the target device is not limited.
For example, in an alternative example, the number of wireless gateways that are the target devices may be determined to be the target wireless gateway among the plurality of wireless gateways based on the following steps:
firstly, if the number of the target gateways is larger than that of the target equipment, acquiring gateway state information of each wireless gateway in the plurality of wireless gateways; secondly, determining a plurality of wireless gateways as target wireless gateways in the plurality of wireless gateways based on the gateway state information of each wireless gateway.
It is to be understood that, in the above example, a specific manner of determining the number of the target devices as the target wireless gateways in the plurality of wireless gateways based on the gateway state information of each of the wireless gateways is not limited, and may be selected according to actual application requirements.
For example, in a first alternative example, the number of target devices of the wireless gateways may be determined as target wireless gateways among the plurality of wireless gateways based on the gateway status information of each of the wireless gateways by:
a first step of determining first gateway state information and second gateway state information in the plurality of gateway state information, and determining a state information interval based on the first gateway state information and the second gateway state information, where the first gateway state information is one of the plurality of gateway state information with the smallest gateway effective resource of a corresponding wireless gateway, and the second gateway state information is one of the plurality of gateway state information with the largest gateway effective resource (for example, may refer to an idle calculation resource, a storage resource, a port resource, and the like) of the corresponding wireless gateway;
secondly, performing equal-interval segmentation processing on the state information interval to obtain a plurality of state information intervals, and sequencing each state information interval according to the sequence of the corresponding gateway effective resources from less to more to obtain a sequence number of the interval corresponding to each state information interval;
thirdly, counting the state information quantity of the gateway state information in each state information interval to obtain a plurality of state information quantities;
fourthly, respectively forming corresponding combinations of the sequencing number and the information quantity corresponding to each state information block section based on the sequencing number and the state information quantity of the block section corresponding to each state information block section to obtain a plurality of corresponding combinations of the sequencing number and the information quantity;
fifthly, performing curve fitting processing based on the plurality of ranking number-information quantity corresponding combinations to obtain corresponding ranking number-information quantity curves;
sixthly, determining each ranking number-information number corresponding combination belonging to the ranking number-information number curve from the plurality of ranking number-information number corresponding combinations, and determining the ranking number-information number corresponding combination as a target ranking number-information number corresponding combination;
seventhly, taking the gateway state information included in the state information section corresponding to each target rank number-information quantity corresponding combination as target gateway state information;
eighthly, judging the size relationship between the quantity of the target gateway state information and the quantity of the target equipment;
ninthly, if the quantity of the target gateway state information is smaller than the quantity of the target devices, performing equal-interval segmentation processing on the state information interval again to determine new target gateway state information again based on a plurality of obtained new state information intervals until the quantity of the new target gateway state information is larger than or equal to the quantity of the target devices;
and step ten, determining the new target gateway state information with the maximum corresponding gateway effective resources, and taking the wireless gateway corresponding to the new target gateway state information with the maximum corresponding gateway effective resources as the target wireless gateway.
For another example, in a second alternative example, the number of target wireless gateways as the target wireless gateway may be determined in the plurality of wireless gateways based on the gateway status information of each of the wireless gateways by:
determining first gateway state information and second gateway state information in the plurality of gateway state information, and determining a state information interval based on the first gateway state information and the second gateway state information, wherein the first gateway state information is one of the plurality of gateway state information with the smallest gateway effective resource of a corresponding wireless gateway, and the second gateway state information is one of the plurality of gateway state information with the largest gateway effective resource of the corresponding wireless gateway;
secondly, performing equal-interval segmentation processing on the state information interval to obtain a plurality of state information intervals, and sequencing each state information interval according to the sequence of the corresponding gateway effective resources from less to more to obtain a sequence number of the interval corresponding to each state information interval;
thirdly, counting the state information quantity of the gateway state information in each state information interval to obtain a plurality of state information quantities;
fourthly, respectively forming corresponding combination of the sequencing number and the information quantity corresponding to each state information block section based on the sequencing number and the state information quantity of the block section corresponding to each state information block section to obtain a plurality of corresponding combination of the sequencing number and the information quantity;
fifthly, performing curve fitting processing based on the plurality of ranking number-information number corresponding combinations to obtain corresponding ranking number-information number curves;
sixthly, calculating deviation degree information (the deviation degree information can refer to the distance in the direction of a coordinate axis corresponding to the information quantity in a corresponding coordinate system) between each sequence number-information quantity corresponding combination and the sequence number-information quantity curve, and judging whether the deviation degree information is smaller than deviation degree threshold information or not;
seventhly, determining each corresponding combination of the deviation degree information and the information quantity, which is smaller than the deviation degree threshold value information, as a corresponding combination of a target ranking number and the information quantity;
eighthly, taking the gateway state information included in the state information section corresponding to each target rank number-information quantity corresponding combination as target gateway state information;
the ninth step, judge the magnitude relation of quantity and said target apparatus quantity of the said goal gateway status information;
tenth, if the number of the target gateway state information is smaller than the number of the target devices, performing equal-interval segmentation processing on the state information interval again to determine new target gateway state information again based on the obtained new state information intervals until the number of the new target gateway state information is larger than or equal to the number of the target devices;
and step eleven, determining the new target gateway state information with the maximum corresponding gateway effective resources, and taking the wireless gateway corresponding to the new target gateway state information with the maximum corresponding gateway effective resources as a target wireless gateway.
For another example, in a third alternative example, the number of target devices may be determined as target wireless gateways among the plurality of wireless gateways based on the gateway status information of each of the wireless gateways by:
determining first gateway state information and second gateway state information in the plurality of gateway state information, and determining a state information interval based on the first gateway state information and the second gateway state information, wherein the first gateway state information is one of the plurality of gateway state information with the smallest gateway effective resource of a corresponding wireless gateway, and the second gateway state information is one of the plurality of gateway state information with the largest gateway effective resource of the corresponding wireless gateway;
secondly, performing equal-interval segmentation processing on the state information interval to obtain a plurality of state information intervals, and sequencing each state information interval according to the sequence of the corresponding gateway effective resources from less to more to obtain a sequence number of the interval corresponding to each state information interval;
thirdly, counting the state information quantity of the gateway state information in each state information interval to obtain a plurality of state information quantities;
fourthly, respectively forming corresponding combinations of the sequencing number and the information quantity corresponding to each state information block section based on the sequencing number and the state information quantity of the block section corresponding to each state information block section to obtain a plurality of corresponding combinations of the sequencing number and the information quantity;
fifthly, performing curve fitting processing based on the plurality of ranking number-information quantity corresponding combinations to obtain corresponding ranking number-information quantity curves;
sixthly, calculating the deviation degree information between the sequencing number-information number corresponding combination and the sequencing number-information number curve aiming at each sequencing number-information number corresponding combination;
seventhly, determining a specified number of sorting number-information number corresponding combinations with minimum deviation degree information in the plurality of sorting number-information number corresponding combinations based on the deviation degree information, wherein the number of the state information included in the state information section corresponding to the specified number of sorting number-information number corresponding combinations is greater than or equal to the number of the target devices;
eighthly, taking the gateway state information included in the state information interval section corresponding to the specified number of sequencing number-information number corresponding combinations as the target gateway state information;
and ninthly, determining the target gateway state information with the maximum corresponding gateway effective resources, and taking the wireless gateway corresponding to the target gateway state information with the maximum corresponding gateway effective resources as a target wireless gateway.
It is understood that, for the first alternative example and the second alternative example described above, the following steps may be further included:
and if the number of the target gateway state information is larger than or equal to the number of the target devices, determining the number of the target gateway state information with the maximum corresponding gateway effective resources from the target gateway state information, and taking the wireless gateway corresponding to the number of the target gateway state information as the target wireless gateway.
It is to be understood that, for the second example described above, the specific manner for performing the equal-interval splitting process again is not limited, and may be selected according to the actual application requirements.
For example, in an alternative example, in any of the equal interval division processes performed two adjacent times, the section length of the state information section obtained by performing the equal interval division process the previous time is smaller than the section length of the state information section obtained by performing the equal interval division process the subsequent time.
For example, in another alternative example, in any of the two adjacent equal-interval division processes, the length of the state information segment obtained by the previous equal-interval division process is smaller than the length of the state information segment obtained by the first equal-interval division process, and the length of the state information segment obtained by the subsequent equal-interval division process is larger than the length of the state information segment obtained by the first equal-interval division process.
In the embodiment of the application, a device for configuring the internet of things card is also provided, corresponding to the method for configuring the internet of things card. The device for configuring the internet of things card can comprise an update information acquisition module, a wireless gateway determination module and an update information sending module.
And the update information acquisition module is used for acquiring the target configuration update information of the target Internet of things card. The wireless gateway determination module is used for determining a first wireless gateway corresponding to a target internet of things device to which the target internet of things card belongs. The update information sending module is configured to send the target configuration update information to the first wireless gateway, where the first wireless gateway is configured to send the target configuration update information to the target internet of things device, so that the target internet of things device updates the target internet of things card based on the target configuration update information.
It can be understood that, for specific functions of the update information obtaining module, the wireless gateway determining module, and the update information sending module, reference may be made to the explanation of step S110, step S120, and step S130, and details are not repeated here.
In an embodiment of the present application, a computer-readable storage medium is further provided, where a computer program is stored in the computer-readable storage medium, and the computer program executes each step of the method for configuring the internet of things card when running.
The steps executed when the computer program runs are not described in detail herein, and reference may be made to the explanation of the method for configuring the internet of things card.
To sum up, according to the method, the apparatus, the device, and the medium for configuring the internet of things card provided by the present application, the obtained target configuration update information of the target internet of things card is sent to the first wireless gateway corresponding to the target internet of things device to which the target internet of things card belongs, so that the first wireless gateway can send the target configuration update information to the target internet of things device, and the target internet of things device updates the target internet of things card based on the target configuration update information. Based on this, because the configuration information of the IOT card can be effectively updated, the adaptability of the IOT card under different requirements can be improved, the problem of poor application effect of the IOT card in IOT equipment in the prior art can be solved, and the practical value is high.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus and method embodiments described above are illustrative only, as the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, an electronic device, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (6)

1. A method for configuring an Internet of things card is characterized by comprising the following steps:
acquiring target configuration updating information of a target Internet of things card;
determining a first wireless gateway corresponding to a target Internet of things device to which the target Internet of things card belongs;
sending the target configuration update information to the first wireless gateway, wherein the first wireless gateway is used for sending the target configuration update information to the target internet of things equipment, so that the target internet of things equipment updates the target internet of things card based on the target configuration update information;
the step of determining a first wireless gateway corresponding to a target internet of things device to which the target internet of things card belongs includes:
acquiring the generated device-gateway corresponding relationship, wherein the device-gateway corresponding relationship comprises the corresponding relationship between each wireless gateway and each Internet of things device;
determining a first wireless gateway corresponding to the target Internet of things device in a plurality of wireless gateways based on the device-gateway correspondence, wherein the target Internet of things device and the first wireless gateway have a correspondence;
the method further comprises a step of generating the device-gateway correspondence, the step comprising:
determining the number of the Internet of things devices included in the target Internet of things system to obtain the number of the target devices;
determining at least one target wireless gateway from a plurality of preconfigured wireless gateways based on the number of target devices, wherein the number of target gateways is matched with the number of target devices;
distributing each target wireless gateway to the internet of things equipment included in the target internet of things system respectively to form the equipment-gateway correspondence, wherein each internet of things equipment is distributed with a corresponding target wireless gateway so as to convert and transmit internet of things data sent by the corresponding internet of things equipment through the target wireless gateway;
wherein the step of determining at least one target wireless gateway among the plurality of preconfigured wireless gateways based on the number of target devices comprises:
acquiring the number of a plurality of wireless gateways configured in advance to obtain the number of target gateways;
judging the size relationship between the number of the target gateways and the number of the target devices;
if the number of the target gateways is less than or equal to the number of the target devices, determining the plurality of wireless gateways as a plurality of target wireless gateways;
if the number of the target gateways is larger than the number of the target devices, determining the wireless gateways with the number of the target devices as the target wireless gateways in the plurality of wireless gateways;
wherein, if the number of the target gateways is greater than the number of the target devices, the step of determining the number of the target devices as the target wireless gateways in the plurality of wireless gateways includes:
if the number of the target gateways is larger than the number of the target equipment, acquiring gateway state information of each wireless gateway in the plurality of wireless gateways;
determining a plurality of wireless gateways as target wireless gateways in the plurality of wireless gateways based on the gateway state information of each wireless gateway;
wherein the step of determining the number of wireless gateways as the target wireless gateway among the plurality of wireless gateways based on the gateway status information of each of the wireless gateways comprises:
determining first gateway state information and second gateway state information in the plurality of gateway state information, and determining a state information interval based on the first gateway state information and the second gateway state information, wherein the first gateway state information is one of the plurality of gateway state information with the smallest gateway effective resource of a corresponding wireless gateway, and the second gateway state information is one of the plurality of gateway state information with the largest gateway effective resource of the corresponding wireless gateway;
performing equal-interval segmentation processing on the state information interval to obtain a plurality of state information intervals, and sequencing each state information interval according to the sequence of the corresponding gateway effective resources from less to more to obtain a corresponding interval sequencing number of each state information interval;
counting the state information quantity of the gateway state information in each state information interval to obtain a plurality of state information quantities;
respectively forming corresponding combinations of the sequencing number and the information quantity corresponding to each state information interval based on the sequencing number and the state information quantity corresponding to each state information interval to obtain a plurality of corresponding combinations of the sequencing number and the information quantity;
performing curve fitting processing based on the plurality of sequencing number-information quantity corresponding combinations to obtain corresponding sequencing number-information quantity curves;
calculating deviation degree information between the sequencing number-information number corresponding combination and the sequencing number-information number curve aiming at each sequencing number-information number corresponding combination, and judging whether the deviation degree information is smaller than deviation degree threshold value information or not;
determining each corresponding combination of the deviation degree information and the information quantity, which is smaller than the deviation degree threshold value information, as a corresponding combination of a target ranking number and the information quantity;
taking the gateway state information included in the state information section corresponding to each target rank number-information quantity corresponding combination as target gateway state information;
judging the size relation between the quantity of the target gateway state information and the quantity of the target equipment;
if the number of the target gateway state information is smaller than the number of the target devices, performing equal-interval segmentation processing on the state information interval again to determine new target gateway state information again based on a plurality of obtained new state information intervals until the number of the new target gateway state information is larger than or equal to the number of the target devices;
and determining the new target gateway state information with the maximum corresponding gateway effective resources in the new target gateway state information, and taking the wireless gateway corresponding to the new target gateway state information with the maximum corresponding gateway effective resources as a target wireless gateway.
2. The method for configuring an internet of things card according to claim 1, wherein the method is applied to an equipment for configuring the internet of things card, the equipment is in communication connection with a first user terminal device, and the step of obtaining the target configuration update information of the target internet of things card comprises:
acquiring a target configuration updating instruction sent by the first user terminal device, wherein the target configuration updating instruction is generated based on the configuration information updating operation of the first user terminal device responding to a target user aiming at a target Internet of things card;
and generating target configuration updating information of the target Internet of things card based on the target configuration updating instruction.
3. The method for configuring an internet of things card according to claim 1, wherein the method is applied to an equipment for configuring the internet of things card, the equipment is connected with a plurality of second user terminal devices in a communication manner, and the step of acquiring the target configuration update information of the target internet of things card comprises the following steps:
counting first frequency information of the Internet of things data acquired by the target Internet of things equipment, which is requested to acquire by the second user terminal equipment;
determining whether second frequency information of the internet of things data acquired by the target internet of things equipment and sent by the target internet of things network card needs to be updated or not based on the first frequency information;
and if second frequency information of the internet of things data collected by the target internet of things equipment and sent by the target internet of things network card is determined to need updating, generating target configuration updating information for updating the second frequency information, wherein the target internet of things card sends the internet of things data based on the second frequency information.
4. The method for configuring an internet of things card according to claim 1, wherein the step of obtaining the target configuration update information of the target internet of things card comprises:
counting the data volume of the Internet of things data acquired by the target Internet of things equipment in unit time;
determining whether the second frequency information of the Internet of things data, which is sent by the target Internet of things network card and collected by the target Internet of things equipment, needs to be updated or not based on the data volume;
and if the second frequency information of the internet of things data collected by the target internet of things equipment and sent by the target internet of things card is determined to need to be updated, generating target configuration updating information for updating the second frequency information, wherein the target internet of things card sends the internet of things data based on the second frequency information.
5. An equipment for configuring an internet of things card, comprising:
a memory for storing a computer program;
a processor connected to the memory, for executing the computer program to implement the method of configuring an internet of things card according to any one of claims 1 to 4.
6. A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program runs, the computer program implements the method for configuring an internet of things card according to any one of claims 1 to 4.
CN202110413861.2A 2021-04-16 2021-04-16 Method, device, equipment and medium for configuring Internet of things card Active CN113132162B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110413861.2A CN113132162B (en) 2021-04-16 2021-04-16 Method, device, equipment and medium for configuring Internet of things card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110413861.2A CN113132162B (en) 2021-04-16 2021-04-16 Method, device, equipment and medium for configuring Internet of things card

Publications (2)

Publication Number Publication Date
CN113132162A CN113132162A (en) 2021-07-16
CN113132162B true CN113132162B (en) 2022-12-06

Family

ID=76777019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110413861.2A Active CN113132162B (en) 2021-04-16 2021-04-16 Method, device, equipment and medium for configuring Internet of things card

Country Status (1)

Country Link
CN (1) CN113132162B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113760810A (en) * 2021-08-02 2021-12-07 联想(北京)有限公司 Information processing method, information processing device, equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111918368A (en) * 2020-06-19 2020-11-10 深圳市有方科技股份有限公司 Internet of things wireless communication networking transmission method and device and computer equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297256B (en) * 2012-02-23 2016-11-09 感知技术无锡有限公司 The management method of a kind of thing network sensing layer node and system
CN108377207B (en) * 2018-05-19 2021-01-12 浪潮集团有限公司 Internet of things platform equipment access and configuration method
TWI682284B (en) * 2018-08-30 2020-01-11 群光電能科技股份有限公司 System and method for updating upload period of apparatus data
CN110430241A (en) * 2019-07-12 2019-11-08 清华大学建筑设计研究院有限公司 Wisdom information acquisition of Internet of things Transmission system
CN110928258A (en) * 2019-12-04 2020-03-27 北京杰控科技有限公司 Industrial data acquisition system
CN111953587A (en) * 2020-08-11 2020-11-17 深圳市蓝科迅通科技有限公司 Intelligent Internet of things gateway, gateway equipment and management method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111918368A (en) * 2020-06-19 2020-11-10 深圳市有方科技股份有限公司 Internet of things wireless communication networking transmission method and device and computer equipment

Also Published As

Publication number Publication date
CN113132162A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
CN113132162B (en) Method, device, equipment and medium for configuring Internet of things card
CN111222306A (en) Data processing method and device, electronic equipment and storage medium
CN103905482A (en) Information push method, push server and system
US20200202356A1 (en) Blockchain-based information processing method and apparatus, and device
CN113242149B (en) Long connection configuration method, apparatus, device, storage medium, and program product
CN108595685B (en) Data processing method and device
CN109697117B (en) Terminal control method, terminal control device and computer-readable storage medium
CN113676362A (en) Internet of things equipment binding method and system based on data processing
CN113099401B (en) Internet of things data transmission method and equipment
CN110582122A (en) resource indication method, device, service node and storage medium
CN113141661B (en) Wireless gateway allocation method
CN111552441A (en) Data storage method and device, main node and distributed system
CN112398892A (en) Service distribution method, device and equipment
EP2884438A9 (en) Method and device for grouping contacts in social network
CN112256420B (en) Task allocation method and device and electronic equipment
CN114338690A (en) Server selection method and device and electronic equipment
CN106156169B (en) Discrete data processing method and device
CN110278119B (en) Resource allocation method and resource allocation device for edge node
CN115834689A (en) Micro-service distribution method, electronic equipment and storage medium
CN113037568A (en) Information distribution method of Internet of things equipment
CN110046040B (en) Distributed task processing method and system and storage medium
CN117640700B (en) Digital twin method, system and first node
CN115567183B (en) M sequence generation method and device
CN112566128B (en) Wireless router management and control method based on mac address
CN115620031B (en) Natural resource right-determining registration information processing method, system and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20221107

Address after: 100094 504, floor 5, new material venture building, Yongfeng Township, Haidian District, Beijing

Applicant after: Beijing shiningda Technology Co.,Ltd.

Address before: No. 28, Lincheng West Road, guanshanhu District, Guiyang City, Guizhou Province

Applicant before: Huang Yuantao

GR01 Patent grant
GR01 Patent grant