CN115190515A - Communication data processing method and system suitable for text-travel internet of things control - Google Patents

Communication data processing method and system suitable for text-travel internet of things control Download PDF

Info

Publication number
CN115190515A
CN115190515A CN202211117457.1A CN202211117457A CN115190515A CN 115190515 A CN115190515 A CN 115190515A CN 202211117457 A CN202211117457 A CN 202211117457A CN 115190515 A CN115190515 A CN 115190515A
Authority
CN
China
Prior art keywords
transmission
information
modules
display
sub
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211117457.1A
Other languages
Chinese (zh)
Other versions
CN115190515B (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.)
Liangye Technology Group Co ltd
Original Assignee
Liangye Technology Group 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 Liangye Technology Group Co ltd filed Critical Liangye Technology Group Co ltd
Priority to CN202211117457.1A priority Critical patent/CN115190515B/en
Publication of CN115190515A publication Critical patent/CN115190515A/en
Application granted granted Critical
Publication of CN115190515B publication Critical patent/CN115190515B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/20Communication route or path selection, e.g. power-based or shortest path routing based on geographic position or location

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a communication data processing method and a system suitable for text travel internet of things control, comprising the following steps: decomposing a text travel data drawing to obtain a plurality of text travel sub-modules, acquiring first position information corresponding to each text travel sub-module, and controlling second position information of a main control module of the text travel sub-modules; generating a first close-range transmission link according to the first display submodule; extracting the identity label of the second display submodule meeting the skip transmission requirement to generate a first skip transmission link; decomposing the transmission set based on the third display submodule to generate a second skip transmission link; and counting the first short-distance transmission link, the first short-distance transmission link and the second skip transmission link after the communication unit is configured to obtain a transmission link list. According to the technical scheme provided by the invention, the stable and rapid Internet of things control can be carried out on the corresponding display equipment during the display of the text travel, and the display effect during the display of the text travel is ensured.

Description

Communication data processing method and system suitable for text-travel internet of things control
Technical Field
The invention relates to the technical field of Internet of things and wireless communication, in particular to a communication data processing method and system suitable for control of a text-travel Internet of things.
Background
The culture is the soul of travel, and the travel is an important way for the culture development. The cultural industry, as the national economy support industry, has more and more fusion development with the tourism industry which is also used as the strategic support industry, wherein the cultural tourism industry is an important development direction for digging local culture, perfecting the tourism industry, promoting the adjustment of economic structure and prying local economy to fly.
In the display process of the travel industry, splendid lamplight and flexible equipment are often needed to participate in artistic display, and at the moment, a lot of equipment is needed to perform the cooperation of internet of things.
When the device is controlled, a communication module is often needed, the short-distance communication module has the advantages of fast and stable signal transmission, but is controlled by the influence of a transmission range, and the long-distance communication module has the effect of a long transmission range, but the transmission speed and the stability are reduced. Therefore, in a large-scale travel project, various devices need to be controlled in a combined communication mode, the main control device can control all the display devices, and meanwhile, the signal transmission speed and stability are improved to the maximum extent, and the effect cannot be achieved in the prior art.
Disclosure of Invention
The embodiment of the invention provides a communication data processing method, a system and a storage medium suitable for Internet of things control of a text. The combined communication mode is adopted to carry out combined control on various devices, and the signal transmission speed and the stability are improved to the maximum extent while the master control device is ensured to be capable of controlling all the display devices.
In a first aspect of the embodiments of the present invention, a communication data processing method suitable for internet of things control for a text trip is provided, including:
decomposing a text travel data drawing to obtain a plurality of text travel sub-modules, acquiring first position information corresponding to each text travel sub-module, and second position information of a main control module for controlling all the text travel sub-modules;
calculating first transmission distance information between each text travel submodule and the main control module according to the first position information and the second position information, adding a first near field communication tag to all text travel submodules of which the first transmission distance information is smaller than first preset distance information, taking the text travel submodules added with the first near field communication tags as first display submodules, and generating a first near field transmission link according to the first display submodules;
adding second short-distance communication tags to all the travel sub-modules with the first transmission distance information being larger than the first preset distance information, taking the travel sub-modules with the second short-distance communication tags as second display sub-modules, and determining the position directions of all the second display sub-modules relative to the main control module;
counting all second display sub-modules with corresponding position directions to obtain a transmission set, selecting the second display sub-modules meeting the skip transmission requirement in the transmission set, and extracting the identity tags of the second display sub-modules meeting the skip transmission requirement to generate a first skip transmission link;
adding a third remote communication label to a second display submodule which does not meet the requirement of skip transmission in a transmission set, taking the second display submodule added with the third near communication label as a third display submodule, decomposing the transmission set based on the third display submodule, and generating a second skip transmission link;
configuring a near-field communication unit for the first display sub-module, configuring a near-field communication unit with a skip transmission function for the second display sub-module, configuring a far-field communication unit with a remote transmission function for the third display sub-module, and counting a first near-field transmission link, a first near-field transmission link and a second skip transmission link after configuring the communication units to obtain a transmission link list.
Optionally, in a possible implementation manner of the first aspect, the decomposing the travel data drawing to obtain a plurality of travel sub-modules obtains first location information corresponding to each travel sub-module, and second location information of the main control module that controls all the travel sub-modules includes:
acquiring all split text travel output modules in a text travel data drawing, taking the acquired text travel output modules as text travel sub-modules, and determining first position information corresponding to each text travel sub-module, wherein the first position information comprises first abscissa information and first ordinate information;
and acquiring second position information of the main control module for controlling all the text travel sub-modules, wherein the second position information comprises second abscissa information and second ordinate information.
Optionally, in a possible implementation manner of the first aspect, the calculating, according to the first position information and the second position information, first transmission distance information between each of the travel sub-modules and the main control module, adding a first short-distance communication tag to all the travel sub-modules of which the first transmission distance information is smaller than first preset distance information, taking the travel sub-module to which the first short-distance communication tag is added as a first display sub-module, and generating a first short-distance transmission link according to the first display sub-module includes:
calculating first transmission distance information of each text travel sub-module and the main control module by the following formula,
Figure 951043DEST_PATH_IMAGE001
wherein the content of the first and second substances,
Figure 226167DEST_PATH_IMAGE002
is a first
Figure 823632DEST_PATH_IMAGE003
The first transmission distance information of the individual text travel sub-module and the main control module,
Figure 627640DEST_PATH_IMAGE004
is as follows
Figure 559824DEST_PATH_IMAGE003
First abscissa information of the individual text travel sub-module,
Figure 373060DEST_PATH_IMAGE005
second abscissa information which is second position information,
Figure 136616DEST_PATH_IMAGE006
second ordinate information that is the second position information,
Figure 360793DEST_PATH_IMAGE007
is as follows
Figure 45852DEST_PATH_IMAGE003
First ordinate information of the individual travel sub-module,
Figure 397199DEST_PATH_IMAGE008
is as follows
Figure 218525DEST_PATH_IMAGE003
Weight information of the individual travel sub-module;
adding a first close-range communication tag to all the text travel sub-modules of which the first transmission distance information is smaller than the first preset distance information;
and taking the text travel submodule added with the first short-distance communication tag as a first display submodule, extracting first ID information of the first display submodule, and generating a first short-distance transmission link according to the first ID information and the main control ID information of the main control module.
Optionally, in a possible implementation manner of the first aspect, the adding a second short-distance communication tag to all the travel sub-modules whose first transmission distance information is greater than the first preset distance information, taking the travel sub-module to which the second short-distance communication tag is added as a second display sub-module, and determining the position and direction of all the second display sub-modules relative to the main control module includes:
establishing a boundary line by using the second ordinate information, and comparing the first ordinate information and the second ordinate information of the second display sub-module;
if the first ordinate information is judged to be larger than or equal to the second ordinate information, the corresponding second display sub-module is judged to have a first position direction;
and if the first vertical coordinate information is smaller than the second vertical coordinate information, judging that the corresponding second display submodule has a second position direction.
Optionally, in a possible implementation manner of the first aspect, the counting all the second display submodules having corresponding position directions to obtain a transmission set, selecting a second display submodule meeting a skip transmission requirement in the transmission set, and extracting an identity tag of the second display submodule meeting the skip transmission requirement to generate a first skip transmission link includes:
counting all second display sub-modules with corresponding position directions to obtain a transmission set, sequencing all the second display sub-modules in the transmission set in a descending order according to the first transmission distance information, and calculating second transmission distance information of two adjacent second display sub-modules in the transmission set;
if all the second transmission distance information is respectively less than or equal to second preset distance information, judging that all the second display sub-modules meet the skip transmission requirement, and extracting second ID information of the second display sub-modules meeting the skip transmission requirement;
and generating a first skip transmission link according to the second ID information and the main control ID information of the main control module.
Optionally, in a possible implementation manner of the first aspect, the adding a third long-distance communication tag to a second display sub-module that does not meet the requirement of the skip transmission in the transmission set, taking the second display sub-module to which the third short-distance communication tag is added as a third display sub-module, and decomposing the transmission set based on the third display sub-module to generate a second skip transmission link includes:
if second transmission distance information larger than second preset distance information exists, judging that the corresponding second display sub-module does not meet the skip transmission requirement, and determining a corresponding third display sub-module;
if the next display sub-module of the third display sub-module in the transmission set is the second display sub-module, taking out the third display sub-module and the corresponding second display sub-module from the first set to generate a second set;
and generating a corresponding second skip transmission path according to the third ID information of the third display submodule in the second set, the second ID information of the second display submodule and the main control ID information of the main control module.
Optionally, in a possible implementation manner of the first aspect, the adding a second short-distance communication tag to all the travel sub-modules whose first transmission distance information is greater than the first preset distance information, taking the travel sub-module to which the second short-distance communication tag is added as a second display sub-module, and determining the position and direction of all the second display sub-modules relative to the main control module includes:
establishing a first virtual coordinate system for the virtual coordinate origin based on the second position information, and determining a virtual coordinate point corresponding to the first position information in the first virtual coordinate system according to the position relation between the first position information and the second position information;
and taking the virtual abscissa information and the virtual ordinate information of the virtual coordinate points as corresponding vector inputs, and calculating the angle position direction of the virtual coordinate points relative to the virtual coordinate origin based on the fastAtan2 function to obtain the angle information corresponding to each second display sub-module.
Optionally, in a possible implementation manner of the first aspect, the counting all the second display sub-modules having corresponding position directions to obtain a transmission set, selecting a second display sub-module in the transmission set that meets the requirement of the skip transmission, and extracting an identity tag of the second display sub-module that meets the requirement of the skip transmission to generate a first skip transmission link includes:
acquiring the display attribute of each second display submodule, determining the data volume transmission value corresponding to the corresponding second display submodule according to the display attribute, acquiring the number of all second display submodules to obtain a first total number, and acquiring the first transmission number corresponding to each transmission set according to the first total number and the data volume transmission value corresponding to each second display submodule;
according to the angle information, performing ascending ordering on all second display sub-modules to obtain a to-be-classified set, sequentially selecting the second display sub-modules in the to-be-classified set, and when judging that the selected second display sub-modules reach the first transmission quantity, generating a transmission set according to the selected second display sub-modules;
selecting the second display sub-modules again to generate a new transmission set, and stopping selecting the second display sub-modules until all the second display sub-modules in the to-be-classified set are selected;
counting the maximum angle information and the minimum angle information in each transmission set, and obtaining the angle information range of the corresponding transmission set according to the maximum angle information and the minimum angle information;
if the angle information range is larger than the preset angle range, splitting the corresponding transmission set to obtain separation angle information, and respectively counting a second display submodule located between the separation angle information and the maximum angle information and a second display submodule located between the separation angle information and the minimum angle information to generate a new transmission set.
Optionally, in a possible implementation manner of the first aspect, the obtaining the display attribute of each second display sub-module, determining the data volume transmission value corresponding to the corresponding second display sub-module according to the display attribute, obtaining the number of all the second display sub-modules to obtain a first total number, and obtaining the first transmission number corresponding to each transmission set according to the first total number and the data volume transmission value corresponding to each second display sub-module includes:
calculating according to the data volume transmission values corresponding to all the second display sub-modules to obtain an average transmission data volume, and comparing the average transmission data volume with a preset transmission data volume to obtain a data volume transmission coefficient;
comparing the first total number with a preset number to obtain a module number transmission coefficient;
calculating according to the data transmission coefficient, the module number transmission coefficient and the preset transmission number to obtain a first transmission number corresponding to each transmission set, calculating the first transmission number by the following formula,
Figure 849488DEST_PATH_IMAGE009
wherein the content of the first and second substances,
Figure 756265DEST_PATH_IMAGE010
for the purpose of the first number of transmissions,
Figure 911302DEST_PATH_IMAGE011
is as follows
Figure 383872DEST_PATH_IMAGE003
The data transmission value corresponding to the second display sub-module,
Figure 966163DEST_PATH_IMAGE012
for the upper limit value of the second exhibiting sub-module,
Figure 609503DEST_PATH_IMAGE013
the quantitative value of the sub-modules is shown for the second,
Figure 302652DEST_PATH_IMAGE014
in order to preset the amount of data to be transmitted,
Figure 832991DEST_PATH_IMAGE015
the value is normalized for the amount of data,
Figure 586183DEST_PATH_IMAGE016
in order to transmit a weight value for the data volume,
Figure 998710DEST_PATH_IMAGE017
is the first number of the total number,
Figure 246283DEST_PATH_IMAGE018
the number of the air bags is a preset number,
Figure 896707DEST_PATH_IMAGE019
the value is normalized for the number of bits,
Figure 820801DEST_PATH_IMAGE020
is a weight value for the number of modules,
Figure 923886DEST_PATH_IMAGE021
is a preset number of transmissions.
In a second aspect of the embodiments of the present invention, a communication data processing apparatus for internet of things control for a travel is provided, including:
the decomposition module is used for decomposing the text travel data drawing to obtain a plurality of text travel sub-modules, acquiring first position information corresponding to each text travel sub-module and second position information of the main control module for controlling all the text travel sub-modules;
the calculation module is used for calculating first transmission distance information between each text travel sub-module and the main control module according to the first position information and the second position information, adding a first near-distance communication tag to all text travel sub-modules of which the first transmission distance information is smaller than first preset distance information, taking the text travel sub-modules added with the first near-distance communication tags as first display sub-modules, and generating a first near-distance transmission link according to the first display sub-modules;
the determining module is used for adding second short-distance communication tags to all the text travel sub-modules with the first transmission distance information being larger than the first preset distance information, taking the text travel sub-modules with the second short-distance communication tags as second display sub-modules, and determining the position directions of all the second display sub-modules relative to the main control module;
the statistical module is used for counting all the second display sub-modules with corresponding position directions to obtain a transmission set, selecting the second display sub-modules meeting the skip transmission requirement in the transmission set, and extracting the identity tags of the second display sub-modules meeting the skip transmission requirement to generate a first skip transmission link;
the decomposition module is used for adding a third long-distance communication tag to a second display submodule which does not meet the requirement of skip transmission in the transmission set, taking the second display submodule added with the third short-distance communication tag as a third display submodule, decomposing the transmission set based on the third display submodule and generating a second skip transmission link;
and the configuration module is used for configuring a short-distance communication unit for the first display submodule, configuring a short-distance communication unit with a skip transmission function for the second display submodule, configuring a long-distance communication unit with a long-distance transmission function for the third display submodule, and counting a first short-distance transmission link, a first short-distance transmission link and a second skip transmission link after the communication units are configured to obtain a transmission link list.
In a third aspect of the embodiments of the present invention, a storage medium is provided, in which a computer program is stored, which, when being executed by a processor, is adapted to implement the method according to the first aspect of the present invention and various possible designs of the first aspect of the present invention.
The communication data processing method and the system suitable for the internet of things control of the text travel can decompose the text travel data drawing, configure different transmission modules for the corresponding text travel sub-modules according to the position difference of the text travel sub-modules and the main control module to form corresponding transmission links, enable the transmission units of the different transmission links to have more dimensions and types, and select the most suitable transmission mode under the corresponding transmission distance to ensure the stability of data transmission during the text travel display. Compared with a wired line for data transmission, the wireless data transmission device has the advantages of attractiveness, safety, convenience in installation and the like.
According to the technical scheme provided by the invention, when the communication link for carrying out the skip transmission is generated, the distance between the modules and the angle between the modules can be considered, and the angle between the modules can also be considered comprehensively, so that the second display sub-modules with similar angles can be classified to obtain the corresponding transmission set, and the corresponding skip transmission link is generated according to the transmission set. According to the invention, a third long-distance communication label is added to the second display submodule which does not meet the requirement, and the transmission set is decomposed according to the third display submodule to generate a second skip transmission chain path. The invention can still form a second skip transmission link based on the remote transmission module under a special transmission scene, carry out composite transmission of the remote communication module and the near communication module, and maximally ensure the stability of data transmission on the premise of data transmission.
When the position direction of the second display sub-module relative to the main control module is determined, different determination modes can be adopted according to different densities of the Chinese travel sub-modules in an application scene, so that when the density (the number of the second display sub-modules) is low, all the second display sub-modules can be divided into two directions by the method. When the density (the number of the second display sub-modules) is high, the invention can divide the second display sub-modules into a plurality of directions. And when the second display sub-modules are divided into a plurality of directions, the angle is divided reversely according to the number density of the second display sub-modules in each angle direction, the larger the number density is, the smaller the angle range in the angle direction is, and the smaller the number density is, the larger the angle range in the angle direction is. And when the angle range is large, the invention can carry out secondary splitting and decomposition on the corresponding set, thereby ensuring the stability and efficiency of data transmission.
Drawings
FIG. 1 is a flow chart of a first embodiment of a communication data processing method for Internet of things control;
FIG. 2 is a flowchart of a second embodiment of a communication data processing method for Internet of things control;
fig. 3 is a schematic diagram of a data transmission link formed by a first display sub-module, a second display sub-module, and a third display sub-module;
fig. 4 is a block diagram of a first embodiment of a communication data processing device suitable for internet of things control.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the processes do not mean the execution sequence, and the execution sequence of the processes should be determined by the functions and the internal logic of the processes, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
It should be understood that in the present application, "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.
It should be understood that, in the present invention, "a plurality" means two or more. "and/or" is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "comprising a, B and C", "comprising a, B, C" means that all three of a, B, C are comprised, "comprising a, B or C" means comprising one of a, B, C, "comprising a, B and/or C" means comprising any 1 or any 2 or 3 of a, B, C.
It should be understood that in the present invention, "B corresponding to a", "a corresponds to B", or "B corresponds to a" means that B is associated with a, and B can be determined from a. Determining B from a does not mean determining B from a alone, but may also be determined from a and/or other information. And the matching of A and B means that the similarity of A and B is greater than or equal to a preset threshold value.
As used herein, the term "if" may be interpreted as "at \8230; …" or "in response to a determination" or "in response to a detection" depending on the context.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
The invention provides a communication data processing method suitable for text-travel internet of things control, as shown in figure 1, comprising the following steps:
step S110, decomposing the travel data drawing to obtain a plurality of travel sub-modules, obtaining first position information corresponding to each travel sub-module, and obtaining second position information of a main control module controlling all the travel sub-modules. In an actual application scenario, a worker may first make a drawing of a travel display scenario, generally speaking, a corresponding travel data drawing may be a CAD drawing, and the CAD drawing may have a contour diagram and position information of each travel internet of things device. In the actual display process of the text travel, multiple types of equipment are needed to be controlled in an integrated manner, the equipment may be a display screen, a spotlight, a sound box and the like, all the equipment of the internet of things can be controlled by at least one main control module, and the main control module can be equipment with a control function, such as a computer and the like.
The invention can collect the first position information corresponding to each text travel sub-module and the second position information of the main control module. The first position information and the second position information at this time may be geographical information actually labeled by the staff, including abscissa information and ordinate information, or may be abscissa information and ordinate information of a coordinate system constructed by CAD, and the specific acquisition mode of the first position information and the second position information is not limited in any way in the present invention, and the position relationship of each travel module compared with the master control module can be obtained through the first position information and the second position information.
In a possible implementation manner of the technical solution provided by the present invention, as shown in fig. 2, step S110 includes:
step S1101, obtaining all the document travel output modules of the components in the document travel data drawing, using the obtained document travel output modules as document travel sub-modules, and determining first position information corresponding to each document travel sub-module, where the first position information includes first abscissa information and first ordinate information.
In a text travel display scene, a plurality of internet of things devices can be separated and arranged at different positions, so that text travel output modules of all the separated parts in text travel data drawings can be extracted, the integrated text travel output modules can perform data transmission through the same data transmission module, and first position information corresponding to the text travel sub-modules can be determined.
Step S1102, obtaining second position information of the main control module controlling all the travel sub-modules, where the second position information includes second abscissa information and second ordinate information. When the position information of the text and travel sub-module is determined, the position information of the main control module can be synchronously determined by the method and the device, and the method and the device are used for carrying out calculation of examples subsequently. As described above, the first abscissa information, the first ordinate information, the second abscissa information, and the second ordinate information may be pre-configured by the staff according to the travel display scene.
Step S120, calculating first transmission distance information between each text travel submodule and the main control module according to the first position information and the second position information, adding a first short-distance communication tag to all text travel submodules of which the first transmission distance information is smaller than first preset distance information, taking the text travel submodules added with the first short-distance communication tags as first display submodules, and generating a first short-distance transmission link according to the first display submodules.
The invention can obtain the first transmission distance information of each text travel submodule and the main control module, in the actual application scene, the main control module can be possibly arranged at the middle position of all text travel internet-of-things equipment, and the distance between each text travel submodule and the main control module can be reflected through the first transmission distance information. In an actual application scenario, different communication modules may have different transmission distances, for example, communication modules such as bluetooth and Wi-Fi have the advantage of high transmission efficiency, but the transmission distance is short. At this time, the text travel sub-module with the first transmission distance information smaller than the first preset distance information can be regarded as a text travel sub-module closer to the main control module, and the text travel sub-module with the first transmission distance information smaller than the first preset distance information is added with a first short-distance communication tag, and the text travel sub-module is added with the first short-distance communication tag, so that the text travel sub-module can be understood to be added with a corresponding short-distance communication unit, such as Wi-Fi. In the travel data drawing, the first short-range communication tag may be a mark with different colors, such as blue, added to the corresponding travel sub-module.
In one possible implementation manner, the technical solution provided by the present invention, in step S120 includes:
calculating first transmission distance information of each text travel sub-module and the main control module by the following formula,
Figure 208106DEST_PATH_IMAGE001
wherein the content of the first and second substances,
Figure 713036DEST_PATH_IMAGE002
is a first
Figure 808031DEST_PATH_IMAGE003
The first transmission distance information of the individual text travel sub-module and the main control module,
Figure 195150DEST_PATH_IMAGE004
is a first
Figure 33793DEST_PATH_IMAGE003
First abscissa information of the individual text travel sub-module,
Figure 409542DEST_PATH_IMAGE005
second abscissa information which is second position information,
Figure 409859DEST_PATH_IMAGE006
second ordinate information that is the second position information,
Figure 487536DEST_PATH_IMAGE007
is as follows
Figure 864291DEST_PATH_IMAGE003
First ordinate information of the individual travel sub-module,
Figure 593082DEST_PATH_IMAGE022
is as follows
Figure 826617DEST_PATH_IMAGE003
Weight information of the individual travel sub-module. In an actual reference scene, first transmission distance information of the text travel sub-module and the main control module can be obtained through coordinates,
Figure 391590DEST_PATH_IMAGE023
i.e. can be understood as
Figure 572036DEST_PATH_IMAGE024
The difference in the coordinates of the axes is,
Figure 906065DEST_PATH_IMAGE025
can be understood as
Figure 264497DEST_PATH_IMAGE026
Axis coordinate difference. Weight information for travel sub-module
Figure 51187DEST_PATH_IMAGE022
The first transmission distance information may be set according to specifications, volume and height of the corresponding travel sub-module, and the weight information of the relatively larger and higher travel sub-module is relatively larger, because the distance of the relatively larger and higher travel sub-module in the elevation is relatively higher, after the corresponding elevation information is considered, the elevation difference between the travel sub-module and the transmission unit of the main control module may be larger, and then the first transmission distance information is relatively larger.
And adding a first short-distance communication tag to all the text travel sub-modules of which the first transmission distance information is smaller than the first preset distance information, wherein the first short-distance communication module is any one of a Wi-Fi communication module and a Bluetooth communication module. The invention adds the first short-distance communication label to the text travel sub-module which is smaller than the first preset distance information, and the corresponding text travel sub-module is relatively close at the moment.
And taking the text travel submodule added with the first short-distance communication tag as a first display submodule, extracting first ID information of the first display submodule, and generating a first short-distance transmission link according to the first ID information and the main control ID information of the main control module. The first short-distance transmission link is obtained according to the first ID information and the master control ID information, and the first short-distance transmission link is input into the corresponding transmission link list.
Step S130, adding second short-distance communication tags to all the text travel sub-modules with the first transmission distance information being larger than the first preset distance information, taking the text travel sub-modules with the second short-distance communication tags as second display sub-modules, and determining the position directions of all the second display sub-modules relative to the main control module. The invention adds the second short-distance communication label to the text travel sub-module which is larger than the first preset distance information, so that the invention adds the second short-distance communication label to the corresponding text travel sub-module at the moment, and the second short-distance communication label can be red mark added to the corresponding text travel sub-module. Since all the second display sub-modules may be arranged in a distributed manner, the present invention first obtains the corresponding directions of the corresponding second display sub-modules. And determining the position relation and the position condition of the plurality of different second display sub-modules according to the direction.
According to the density of the second display sub-modules, the determining mode for determining the position direction relative to the main control module is selected, for example, when the number of the second display sub-modules is less than or equal to 10 and the density is smaller, the first implementation mode is selected to determine the position direction of the second display sub-modules relative to the main control module. For example, when the number of the second display sub-modules is greater than 10, and the density is greater at this time, the second implementation is selected to determine the position direction of the second display sub-modules relative to the main control module.
According to the technical scheme provided by the invention, when the position direction of the second display submodule relative to the main control module is determined, a plurality of different determination modes are provided, wherein the step S130 in the first implementation mode comprises the following steps:
and establishing a boundary line by using the second vertical coordinate information, and comparing the first vertical coordinate information and the second vertical coordinate information of the second display sub-module. The invention constructs a boundary according to the second ordinate information, where the boundary may be a perpendicular line corresponding to the second ordinate information, for example, if the second ordinate information is 0, the boundary is the boundary
Figure 35324DEST_PATH_IMAGE027
. The invention compares the first vertical coordinate information and the second vertical coordinate information of the second display sub-module to judge the position direction of the different second display sub-modules relative to the main control module.
And if the first vertical coordinate information is judged to be larger than or equal to the second vertical coordinate information, judging that the corresponding second display submodule has a first position direction. Through the method, all the second display sub-modules with the information of the second vertical coordinate or more can be classified, and the direction corresponding to the corresponding second display sub-module is the first position direction.
And if the first vertical coordinate information is smaller than the second vertical coordinate information, judging that the corresponding second display submodule has a second position direction. By the method, all the second display sub-modules smaller than the second ordinate information can be classified, and the direction corresponding to the corresponding second display sub-module is the second position direction. In the implementation scenario, the method is suitable for a small-scale travel display scenario, and at this time, the second display sub-modules in the small-scale travel display scenario are relatively dispersed, so that the number of directions at this time is relatively small, that is, only two directions exist. By the method, the direction of the second display submodule in the small-scale travel display scene can be determined.
According to the technical scheme provided by the invention, when the position direction of the second display submodule relative to the main control module is determined, a plurality of different determination modes are provided, wherein the step S130 in the second implementation mode comprises the following steps:
and establishing a first virtual coordinate system for the virtual coordinate origin based on the second position information, and determining a virtual coordinate point corresponding to the first position information in the first virtual coordinate system according to the position relation between the first position information and the second position information. The first virtual coordinate system is established by taking the second position information as the virtual coordinate origin, and can be regarded as the newly established first virtual coordinate system at the moment, all points in the first virtual coordinate system have an association relation with equipment corresponding to the text travel display scene at the moment, and the virtual coordinate points corresponding to the first position information are determined by the method.
And taking the virtual abscissa information and the virtual ordinate information of the virtual coordinate points as corresponding vector inputs, and calculating the angle position direction of the virtual coordinate points relative to the virtual coordinate origin based on the fastAtan2 function to obtain the angle information corresponding to each second display sub-module. For example, the virtual coordinate is (1, 1), and the vector input of the x coordinate and the y coordinate is 1, the present invention calculates the angular position direction of the virtual coordinate point relative to the virtual coordinate origin according to the fastAtan2 function. The invention will use 1 as the x coordinate of the vector and 1 as the y coordinate of the vector, and then the input one of the fastAtan2 function is a 2-dimensional vector, and the direction of the vector is calculated in degrees (the range is 0 degree-360 degrees), and the precision is 0.3 degrees. The function declares a path: /opencv-2.4.5/modules/core/include/opencv 2/core. The function defines a path: /opencv-2.4.5/modules/core/src/mathfuncs. Cpp.
In a possible embodiment, the technical solution provided by the present invention is that, the counting all the second display sub-modules with corresponding position directions to obtain a transmission set, selecting the second display sub-module in the transmission set that meets the requirement of skip transmission, and extracting the identity tag of the second display sub-module that meets the requirement of skip transmission to generate the first skip transmission link, including:
the display attribute of each second display submodule is obtained, the data volume transmission value corresponding to the corresponding second display submodule is determined according to the display attribute, the number of all the second display submodules is obtained to obtain a first total number, and the first transmission number corresponding to each transmission set is obtained according to the first total number and the data volume transmission value corresponding to each second display submodule. The display attributes of all the second display sub-modules can be obtained, and it can be understood that sound equipment, display equipment, LED lighting equipment and the like can exist in different Internet of things equipment, different equipment can need different control data, the display equipment can need video data to display corresponding video data, but the LED lighting equipment can receive a signal to display corresponding colors. Therefore, when the presentation attributes of different second presentation sub-modules are different, the required data volume and the transmitted data volume are relatively different, and the data volume transmission value corresponding to the corresponding second presentation sub-module, for example, 10MB, 50MB, etc., is determined for each different presentation attribute. Relatively speaking, the data volume transmission value corresponding to the display device is greater than the data transmission value corresponding to the sound device, and the data volume transmission value corresponding to the data transmission value of the sound device is greater than the data transmission value corresponding to the LED lighting device. The invention can count the number of all the second display sub-modules to obtain the first total number, and if the number of the second display sub-modules is more, the corresponding first total number is more.
In an actual application scenario, since there are many second display sub-modules, in order to increase data transmission efficiency, the present invention sets a plurality of data transmission links, and performs data transmission through the plurality of data transmission links. Therefore, the present invention needs to perform comprehensive calculation by combining the first total number and the data amount transmission value corresponding to each second display sub-module to obtain the first transmission number, which is the number of the second display sub-modules corresponding to one data transmission link.
And performing ascending sequencing on all the second display sub-modules according to the angle information to obtain a to-be-classified set, sequentially selecting the second display sub-modules in the to-be-classified set, and generating a transmission set according to the selected second display sub-modules when judging that the selected second display sub-modules reach the first transmission quantity. According to the invention, all the second display sub-modules are sorted in an ascending order according to the angle information, and the second display sub-modules with similar angles in the to-be-classified set are closer to each other in the mode. Through the method, the second display sub-modules can be preliminarily classified according to the corresponding angles and the first transmission quantity, and a plurality of second display sub-modules which can be in one data transmission link are obtained. The second display sub-module at this time is a data transmission unit with a skip transmission function, such as a zigbee module, and the skip transmission function can be regarded as mutual data transmission between a plurality of zigbee modules.
And selecting the second display sub-modules again to generate a new transmission set, and stopping selecting the second display sub-modules until all the second display sub-modules in the to-be-classified set are selected. The invention can continuously select the second display sub-modules, a plurality of transmission sets can be generated at the moment, after all the second display sub-modules in the set to be classified are selected, the second display sub-modules can be regarded as all the second display sub-modules in the document display scene to be added with corresponding data transmission links respectively, and the path division of all the second display sub-modules is completed at the moment.
And counting the maximum angle information and the minimum angle information in each transmission set, and obtaining the angle information range of the corresponding transmission set according to the maximum angle information and the minimum angle information. In an actual application scenario, the number and the density of the second display sub-modules arranged in different angle directions are different because the second display sub-modules are not arranged dispersedly, so that the maximum angle information and the minimum angle information in each transmission set can be counted, in the actual application scenario, the difference value between the maximum angle information and the minimum angle information in one transmission set may be greater than 180 degrees, at this time, in one data transmission link, the transmission angle of a plurality of second display sub-modules is larger, at this time, the transmission distance of the second display sub-modules may be relatively longer, and even the transmission range of the zigbee module may be exceeded, so that the angle information range of the corresponding transmission set can be obtained according to the maximum angle information and the minimum angle information. If the plurality of second exhibiting sub-modules are relatively dense, the difference between the maximum angle information and the minimum angle information in the transmission set may be small.
If the angle information range is larger than the preset angle range, splitting the corresponding transmission set to obtain separation angle information, and respectively counting a second display submodule located between the separation angle information and the maximum angle information and a second display submodule located between the separation angle information and the minimum angle information to generate a new transmission set. At this time, it is proved that the range of the corresponding angle information is large, the corresponding transmission set needs to be split to obtain the separation angle information, and the separation angle information may be a median value of the maximum angle information and the minimum angle information, for example, the maximum angle information is 200 degrees, the minimum angle information is 0 degree, and the median value is 100 degrees. The invention counts the second display submodule between the separation angle information and the maximum angle information, and generates a new transmission set by the second display submodule between the separation angle information and the minimum angle information. And obtaining a corresponding data transmission link according to the new transmission set.
In a possible embodiment, the obtaining of the display attribute of each second display sub-module, determining the data volume transmission value corresponding to the corresponding second display sub-module according to the display attribute, obtaining the number of all second display sub-modules to obtain a first total number, and obtaining the first transmission number corresponding to each transmission set according to the first total number and the data volume transmission value corresponding to each second display sub-module includes:
and calculating according to the data volume transmission values corresponding to all the second display sub-modules to obtain an average transmission data volume, and comparing the average transmission data volume with a preset transmission data volume to obtain a data volume transmission coefficient. The average transmission data volume of all the second display sub-modules can reflect that under the corresponding travel display scene, the larger the total amount of data required to be displayed when all the display sub-modules perform normal display is, the larger the average transmission data volume is. According to the method, the average transmission data volume is compared with the preset transmission data volume, the data volume transmission volume in the corresponding text travel display scene is reflected through the data volume transmission coefficient, and if the data volume transmitted by the second display submodule is larger, the corresponding data volume transmission coefficient is larger, and the data transmission load of the whole text travel display scene is larger.
And comparing the first total quantity with a preset quantity to obtain a module quantity transmission coefficient. The number of the second display sub-modules in the current travel display scene can be reflected through the number transmission coefficient, and if the number of the second display sub-modules is more, the larger the corresponding module number transmission coefficient is, the larger the data transmission load of the whole travel display scene is.
Calculating according to the data transmission coefficient, the module number transmission coefficient and the preset transmission number to obtain a first transmission number corresponding to each transmission set, calculating the first transmission number by the following formula,
Figure 286176DEST_PATH_IMAGE009
wherein, the first and the second end of the pipe are connected with each other,
Figure 64777DEST_PATH_IMAGE010
for the purpose of the first number of transmissions,
Figure 588031DEST_PATH_IMAGE011
is as follows
Figure 844700DEST_PATH_IMAGE003
The data volume transmission value corresponding to the second display sub-module,
Figure 153321DEST_PATH_IMAGE012
for the upper limit value of the second demonstration sub-module,
Figure 102823DEST_PATH_IMAGE013
the quantitative value of the sub-modules is shown for the second,
Figure 926422DEST_PATH_IMAGE014
in order to preset the amount of data to be transmitted,
Figure 737514DEST_PATH_IMAGE028
the values are normalized for the amount of data,
Figure 166222DEST_PATH_IMAGE016
in order to transmit the weight value of the data volume,
Figure 286625DEST_PATH_IMAGE017
is the first number of the total number,
Figure 535203DEST_PATH_IMAGE018
in order to be a predetermined number of the components,
Figure 382942DEST_PATH_IMAGE019
the value is normalized for the number of bits,
Figure 666156DEST_PATH_IMAGE020
is a weight value for the number of modules,
Figure 754198DEST_PATH_IMAGE021
is a preset number of transmissions. By passing
Figure 490073DEST_PATH_IMAGE029
The average transmission data amount can be calculated by
Figure 157815DEST_PATH_IMAGE030
The data transmission coefficient can be calculated by
Figure 34548DEST_PATH_IMAGE031
The module number transmission coefficient can be calculated. Wherein the transmission data volume is preset
Figure 231175DEST_PATH_IMAGE014
And a preset number
Figure 454346DEST_PATH_IMAGE018
Can be preset by the working personnel and preset the transmission data volume
Figure 925778DEST_PATH_IMAGE014
A predetermined number of
Figure 714743DEST_PATH_IMAGE018
And presetting the transmission quantity
Figure 597117DEST_PATH_IMAGE021
Can be correspondingly set, i.e. at corresponding preset transmission data volume
Figure 307584DEST_PATH_IMAGE014
A predetermined number of
Figure 317128DEST_PATH_IMAGE018
In the scenario of (2), the corresponding preset transmission number
Figure 898282DEST_PATH_IMAGE021
The distribution is relatively optimum, in such a scenario, the transmission load of each formed transmission link is relatively appropriate, and is not too high or too low, and the number of data transmission links is maximally reduced while the load of each data transmission link is relatively moderate. Data volume normalization value
Figure 718602DEST_PATH_IMAGE028
Can be aligned with
Figure 650786DEST_PATH_IMAGE030
Normalization process, quantity normalization value
Figure 260759DEST_PATH_IMAGE019
Can be aligned with
Figure 961998DEST_PATH_IMAGE032
Performing normalization processing by weight value of transmission data volume
Figure 202487DEST_PATH_IMAGE016
And module quantity weight value
Figure 871234DEST_PATH_IMAGE020
Are respectively paired
Figure 957002DEST_PATH_IMAGE033
And
Figure 778328DEST_PATH_IMAGE031
and performing weighting processing.
Step S140, counting all the second display sub-modules with corresponding position directions to obtain a transmission set, selecting the second display sub-modules meeting the skip transmission requirement in the transmission set, and extracting the identity tags of the second display sub-modules meeting the skip transmission requirement to generate a first skip transmission link. According to the invention, after a corresponding transmission set is obtained, second display sub-modules meeting the skip transmission requirement are determined, in an actual application scene, the distance between two adjacent second display sub-modules in one transmission set is quite large, if the distance between the two adjacent second display sub-modules is smaller than the maximum transmission distance of a zigbee module, the second display sub-modules meet the skip transmission requirement, and if the distance between the two adjacent second display sub-modules is larger than the maximum transmission distance of the zigbee module, the second display sub-modules do not meet the skip transmission requirement.
In one possible implementation manner, the technical solution provided by the present invention, in step S140, includes:
and counting all the second display sub-modules with corresponding position directions to obtain a transmission set, sequencing all the second display sub-modules in the transmission set in a descending order according to the first transmission distance information, and calculating second transmission distance information of two adjacent second display sub-modules in the transmission set. The invention counts all the second display sub-modules in the corresponding position directions to obtain a transmission set, and performs descending order on the second display sub-modules in the transmission set, so that the second display sub-modules with similar distances are adjacent in the transmission set.
If all the second transmission distance information is respectively smaller than or equal to second preset distance information, all the second display sub-modules are judged to meet the skip transmission requirement, and second ID information of the second display sub-modules meeting the skip transmission requirement is extracted. At this time, it is proved that all the adjacent second display sub-modules meet the transmission distance requirement of the zigbee, so that the invention extracts the second ID information of the second display sub-module meeting the skip transmission requirement at this time.
And generating a first skip transmission link according to the second ID information and the main control ID information of the main control module. According to the invention, the first skip transmission link is generated for all the second ID information and the main control ID information of the main control module, and through the method, when the worker needs to perform skip transmission through zigbee, the second ID information and the main control ID information of one path can be counted to obtain the corresponding first skip transmission link.
And S150, adding a third long-distance communication tag to a second display submodule which does not meet the requirement of skip transmission in the transmission set, taking the second display submodule added with the third short-distance communication tag as a third display submodule, decomposing the transmission set based on the third display submodule, and generating a second skip transmission link. When the distance between the adjacent second display sub-modules is greater than the zigbee transmission distance, the skip transmission cannot be performed in the plurality of second display sub-modules based on the zigbee transmission unit, so that the third remote communication tag is added to the second display sub-module which does not meet the skip transmission requirement, that is, the second display sub-module to which the third remote communication tag is added is used as the third display sub-module, and the third display sub-module cannot receive signals and data in a skip transmission manner through the zigbee module. Therefore, the transmission set needs to be decomposed according to the third display submodule to generate the second skip transmission link.
For example, there is one transmission set [
Figure 189717DEST_PATH_IMAGE034
Figure 893231DEST_PATH_IMAGE035
Figure 799001DEST_PATH_IMAGE036
Figure 474833DEST_PATH_IMAGE037
Figure 57124DEST_PATH_IMAGE038
Figure 185618DEST_PATH_IMAGE039
】,
Figure 128035DEST_PATH_IMAGE034
To is that
Figure 923952DEST_PATH_IMAGE039
Are different internet of things devices respectively, at the moment
Figure 411565DEST_PATH_IMAGE034
And
Figure 292934DEST_PATH_IMAGE035
and
Figure 540507DEST_PATH_IMAGE035
and
Figure 190931DEST_PATH_IMAGE036
the second transmission distance information is respectively less than or equal to the second preset distance information, namely the moment
Figure 911762DEST_PATH_IMAGE034
Figure 14847DEST_PATH_IMAGE035
Figure 49799DEST_PATH_IMAGE036
Belonging to a second display submodule meeting the requirement of skip transmission,
Figure 69577DEST_PATH_IMAGE036
and
Figure 164572DEST_PATH_IMAGE037
is greater than a second predetermined distance information, i.e.
Figure 754953DEST_PATH_IMAGE037
The display sub-module belongs to a second display sub-module which does not meet the requirement of skip transmission, and can be understood as a second display sub-module which does not meet the requirement of skip transmission when second preset distance information between two adjacent Internet of things devices is larger than the second preset distance information. Therefore, the transmission set is decomposed according to the third display submodule to generate a second skip transmission link, and the second skip transmission link can be [ at present ]
Figure 593596DEST_PATH_IMAGE037
Figure 969345DEST_PATH_IMAGE038
Figure 235241DEST_PATH_IMAGE039
】。
In one possible implementation manner of the technical solution provided by the present invention, step S150 includes:
and if second transmission distance information larger than the second preset distance information exists, judging that the corresponding second display sub-module does not meet the skip transmission requirement, and determining a corresponding third display sub-module. As mentioned above, at this time, the corresponding second display sub-module cannot perform skip transmission through the zigbee, so that at this time, the corresponding second display sub-module needs to be used as the third display sub-module.
And if the next display submodule of the third display submodule in the transmission set is the second display submodule, taking out the third display submodule and the corresponding second display submodule from the first set to generate a second set. In an actual application scenario, if a subsequent display sub-module of the third display sub-module is the second display sub-module, then the invention will take out the subsequent second display sub-module from the first set to generate a second set (i.e., [ the first set of the second display sub-modules ] and generate a third set of the second display sub-modules
Figure 312919DEST_PATH_IMAGE037
Figure 424094DEST_PATH_IMAGE038
Figure 152885DEST_PATH_IMAGE039
】。
And generating a corresponding second skip transmission path according to the third ID information of the third display submodule in the second set, the second ID information of the second display submodule and the main control ID information of the main control module. At this time, the present invention generates a second hopping transmission path. In an actual application scenario, at this time, the third display sub-module configures a remote communication module, such as a 4G network communication module, a 5G network communication module, and a zigbee communication module. When the second jump transmission path is used for data transmission, the main control module firstly transmits the corresponding data to the remote transmission module
Figure 589682DEST_PATH_IMAGE037
Figure 154656DEST_PATH_IMAGE038
Figure 335101DEST_PATH_IMAGE039
Corresponding data, information, signal transmission to
Figure 465868DEST_PATH_IMAGE037
Figure 824300DEST_PATH_IMAGE037
Then the corresponding data, information and signals are transmitted to the corresponding zigbee transmission module
Figure 876569DEST_PATH_IMAGE038
Figure 595127DEST_PATH_IMAGE039
Step S160, configuring a short-distance communication unit for the first display sub-module, configuring a short-distance communication unit with a skip transmission function for the second display sub-module, configuring a long-distance communication unit with a long-distance transmission function for the third display sub-module, and counting the first short-distance transmission link, the first short-distance transmission link and the second skip transmission link after configuring the communication units to obtain a transmission link list.
The near-field communication unit configured for the first display sub-module is preferably a Wi-Fi communication module, the near-field communication unit configured for the second display sub-module and having a skip transmission function is preferably a zigbee module, and the far-field communication unit configured for the third display sub-module and having a long-range transmission function is preferably a 4G network communication module.
The main control module can send corresponding information, data and signals to all the first display sub-modules through the Wi-Fi communication module, and the plurality of first display sub-modules can be located under the coverage range of the same Wi-Fi communication module. The main control module can send corresponding information, data and signals to the second display sub-modules through the zigbee communication module, and the plurality of second display sub-modules can perform information, data and signal interaction through the zigbee communication module. The main control module may send corresponding information, data, and signals to the third display sub-module through the zigbee communication module, and the third display sub-module may interact with the corresponding second display sub-module through the corresponding zigbee communication module. As shown in fig. 3, a schematic diagram of a data transmission link formed by the first display sub-module, the second display sub-module, and the third display sub-module is shown.
The technical solution provided by the present invention further provides a communication data processing apparatus suitable for internet of things control, as shown in fig. 4, including:
the decomposition module is used for decomposing the text travel data drawing to obtain a plurality of text travel sub-modules, acquiring first position information corresponding to each text travel sub-module, and acquiring second position information of the main control module for controlling all the text travel sub-modules;
the calculation module is used for calculating first transmission distance information between each text travel sub-module and the main control module according to the first position information and the second position information, adding a first short-distance communication tag to all text travel sub-modules of which the first transmission distance information is smaller than first preset distance information, taking the text travel sub-modules added with the first short-distance communication tags as first display sub-modules, and generating a first short-distance transmission link according to the first display sub-modules;
the determining module is used for adding second short-distance communication tags to all the text travel sub-modules of which the first transmission distance information is greater than the first preset distance information, taking the text travel sub-modules added with the second short-distance communication tags as second display sub-modules and determining the position directions of all the second display sub-modules relative to the main control module;
the statistical module is used for counting all the second display sub-modules with corresponding position directions to obtain a transmission set, selecting the second display sub-modules meeting the skip transmission requirement in the transmission set, and extracting the identity tags of the second display sub-modules meeting the skip transmission requirement to generate a first skip transmission link;
the decomposition module is used for adding a third remote communication tag to a second display submodule which does not meet the requirement of skip transmission in the transmission set, taking the second display submodule added with the third near-field communication tag as a third display submodule, decomposing the transmission set based on the third display submodule and generating a second skip transmission link;
and the configuration module is used for configuring a near-field communication unit for the first display submodule, configuring a near-field communication unit with a skip transmission function for the second display submodule, configuring a far-field communication unit with a remote transmission function for the third display submodule, and counting the first near-field transmission link, the first near-field transmission link and the second skip transmission link after the communication units are configured to obtain a transmission link list.
Further, the decomposition module is further configured to perform the following steps, including:
acquiring all split text travel output modules in a text travel data drawing, taking the acquired text travel output modules as text travel sub-modules, and determining first position information corresponding to each text travel sub-module, wherein the first position information comprises first abscissa information and first ordinate information;
and acquiring second position information of the main control module for controlling all the travel sub-modules, wherein the second position information comprises second abscissa information and second ordinate information.
Further, the calculation module is further configured to perform the following steps, including:
calculating first transmission distance information of each text travel sub-module and the main control module by the following formula,
Figure 783662DEST_PATH_IMAGE001
wherein, the first and the second end of the pipe are connected with each other,
Figure 811530DEST_PATH_IMAGE002
is a first
Figure 351096DEST_PATH_IMAGE003
The first transmission distance information of the individual text travel sub-module and the main control module,
Figure 873344DEST_PATH_IMAGE004
is as follows
Figure 978703DEST_PATH_IMAGE003
First abscissa information of the individual text travel sub-module,
Figure 928205DEST_PATH_IMAGE005
second abscissa information which is second position information,
Figure 705799DEST_PATH_IMAGE006
second ordinate information that is the second position information,
Figure 766159DEST_PATH_IMAGE007
is a first
Figure 663708DEST_PATH_IMAGE003
First ordinate information of the individual travel sub-module,
Figure 49690DEST_PATH_IMAGE022
is as follows
Figure 547536DEST_PATH_IMAGE003
Weight information of the individual travel sub-modules;
adding a first near field communication tag to all the travel sub-modules of which the first transmission distance information is smaller than first preset distance information, wherein the first near field communication module is any one of a Wi-Fi communication module and a Bluetooth communication module;
and taking the text travel submodule added with the first short-distance communication tag as a first display submodule, extracting first ID information of the first display submodule, and generating a first short-distance transmission link according to the first ID information and the main control ID information of the main control module.
The present invention also provides a storage medium, in which a computer program is stored, and the computer program is used for realizing the methods provided by the various embodiments described above when being executed by a processor.
The storage medium may be a computer storage medium or a communication medium. Communication media includes any medium that facilitates transfer of a computer program from one place to another. Computer storage media may be any available media that can be accessed by a general purpose or special purpose computer. For example, a storage medium is coupled to the processor such that the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuits (ASIC). Additionally, the ASIC may reside in user equipment. Of course, the processor and the storage medium may reside as discrete components in a communication device. The storage medium may be read-only memory (ROM), random-access memory (RAM), CD-ROMs, magnetic tapes, floppy disks, optical data storage devices, and the like.
The present invention also provides a program product comprising execution instructions stored in a storage medium. The at least one processor of the device may read the execution instructions from the storage medium, and the execution of the execution instructions by the at least one processor causes the device to implement the methods provided by the various embodiments described above.
In the embodiment of the terminal or the server, it should be understood that the Processor may be a Central Processing Unit (CPU), other general-purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of hardware and software modules.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. The communication data processing method suitable for the control of the text-to-travel internet of things is characterized by comprising the following steps:
decomposing a text travel data drawing to obtain a plurality of text travel sub-modules, acquiring first position information corresponding to each text travel sub-module, and second position information of a main control module controlling all the text travel sub-modules;
calculating first transmission distance information between each text travel sub-module and the main control module according to the first position information and the second position information, adding a first short-distance communication tag to all text travel sub-modules of which the first transmission distance information is smaller than first preset distance information, taking the text travel sub-modules added with the first short-distance communication tags as first display sub-modules, and generating a first short-distance transmission link according to the first display sub-modules;
adding second short-distance communication tags to all the travel sub-modules with the first transmission distance information being larger than the first preset distance information, taking the travel sub-modules with the second short-distance communication tags as second display sub-modules, and determining the position directions of all the second display sub-modules relative to the main control module;
counting all second display sub-modules with corresponding position directions to obtain a transmission set, selecting the second display sub-modules meeting the skip transmission requirement in the transmission set, and extracting the identity tags of the second display sub-modules meeting the skip transmission requirement to generate a first skip transmission link;
adding a third remote communication label to a second display submodule which does not meet the requirement of skip transmission in a transmission set, taking the second display submodule added with the third near communication label as a third display submodule, decomposing the transmission set based on the third display submodule, and generating a second skip transmission link;
configuring a near-field communication unit for the first display sub-module, configuring a near-field communication unit with a skip transmission function for the second display sub-module, configuring a far-field communication unit with a remote transmission function for the third display sub-module, and counting a first near-field transmission link, a first near-field transmission link and a second skip transmission link after configuring the communication units to obtain a transmission link list.
2. The communication data processing method for Internet of things control for the text according to claim 1,
decompose the data drawing of essay and obtain a plurality of essay travel submodule pieces, acquire the first positional information that every essay travel submodule piece corresponds to and carry out the second positional information of the host system who controls to all essay travel submodule pieces, include:
acquiring all split text travel output modules in a text travel data drawing, taking the acquired text travel output modules as text travel sub-modules, and determining first position information corresponding to each text travel sub-module, wherein the first position information comprises first abscissa information and first ordinate information;
and acquiring second position information of the main control module for controlling all the text travel sub-modules, wherein the second position information comprises second abscissa information and second ordinate information.
3. The communication data processing method for Internet of things control of text and travel according to claim 2,
the method includes the steps that first transmission distance information between each text travel submodule and the main control module is calculated according to the first position information and the second position information, a first close-range communication label is added to all text travel submodules of which the first transmission distance information is smaller than first preset distance information, the text travel submodules added with the first close-range communication labels are used as first display submodules, and a first close-range transmission link is generated according to the first display submodules, and the method includes the following steps:
calculating first transmission distance information of each text travel sub-module and the main control module by the following formula,
Figure 90115DEST_PATH_IMAGE001
wherein the content of the first and second substances,
Figure 622596DEST_PATH_IMAGE002
is a first
Figure 382742DEST_PATH_IMAGE003
First transmission distance information of the text travel sub-module and the main control module,
Figure 338191DEST_PATH_IMAGE004
is a first
Figure 474774DEST_PATH_IMAGE003
First abscissa information of the individual text travel sub-module,
Figure 330603DEST_PATH_IMAGE005
second abscissa information which is second position information,
Figure 527229DEST_PATH_IMAGE006
second ordinate information that is second position information,
Figure 750400DEST_PATH_IMAGE007
is as follows
Figure 441407DEST_PATH_IMAGE003
First ordinate information of the individual travel sub-module,
Figure 433634DEST_PATH_IMAGE008
is as follows
Figure 66740DEST_PATH_IMAGE003
Weight information of the individual travel sub-modules;
adding a first close-range communication tag to all the text travel sub-modules of which the first transmission distance information is smaller than the first preset distance information;
and taking the text travel submodule added with the first short-distance communication tag as a first display submodule, extracting first ID information of the first display submodule, and generating a first short-distance transmission link according to the first ID information and main control ID information of a main control module.
4. The communication data processing method for Internet of things control of text and travel according to claim 3,
adding a second short-distance communication tag to all the travel sub-modules of which the first transmission distance information is greater than the first preset distance information, taking the travel sub-modules added with the second short-distance communication tags as second display sub-modules, and determining the position directions of all the second display sub-modules relative to the main control module, wherein the method comprises the following steps:
establishing a boundary line by using the second vertical coordinate information, and comparing the first vertical coordinate information and the second vertical coordinate information of the second display sub-module;
if the first longitudinal coordinate information is judged to be larger than or equal to the second longitudinal coordinate information, the corresponding second display sub-module is judged to have a first position direction;
and if the first ordinate information is smaller than the second ordinate information, judging that the corresponding second display sub-module has a second position direction.
5. The communication data processing method for Internet of things control of the text according to claim 4,
counting all second display sub-modules with corresponding position directions to obtain a transmission set, selecting the second display sub-modules meeting the skip transmission requirement in the transmission set, extracting the identity tags of the second display sub-modules meeting the skip transmission requirement to generate a first skip transmission link, and the method comprises the following steps:
counting all second display sub-modules with corresponding position directions to obtain a transmission set, sorting all the second display sub-modules in the transmission set in a descending order according to the first transmission distance information, and calculating second transmission distance information of two adjacent second display sub-modules in the transmission set;
if all the second transmission distance information is respectively smaller than or equal to second preset distance information, judging that all the second display sub-modules meet the skip transmission requirement, and extracting second ID information of the second display sub-modules meeting the skip transmission requirement;
and generating a first skip transmission link according to the second ID information and the main control ID information of the main control module.
6. The communication data processing method for Internet of things control of text and travel according to claim 5,
adding a third long-distance communication tag to a second display submodule which does not meet the requirement of skip transmission in the transmission set, taking the second display submodule added with the third short-distance communication tag as a third display submodule, decomposing the transmission set based on the third display submodule, and generating a second skip transmission link, wherein the method comprises the following steps:
if second transmission distance information larger than second preset distance information exists, judging that the corresponding second display sub-module does not meet the skip transmission requirement, and determining a corresponding third display sub-module;
if the next display sub-module of the third display sub-module in the transmission set is the second display sub-module, taking out the third display sub-module and the corresponding second display sub-module from the first set to generate a second set;
and generating a corresponding second skip transmission path according to the third ID information of the third display submodule in the second set, the second ID information of the second display submodule and the main control ID information of the main control module.
7. The communication data processing method for Internet of things control of text and travel according to claim 4,
adding a second short-distance communication tag to all the travel sub-modules of which the first transmission distance information is greater than the first preset distance information, taking the travel sub-modules added with the second short-distance communication tags as second display sub-modules, and determining the position directions of all the second display sub-modules relative to the main control module, wherein the method comprises the following steps:
establishing a first virtual coordinate system for the virtual coordinate origin based on the second position information, and determining a virtual coordinate point corresponding to the first position information in the first virtual coordinate system according to the position relation between the first position information and the second position information;
and taking the virtual abscissa information and the virtual ordinate information of the virtual coordinate points as corresponding vector inputs, and calculating the angle position direction of the virtual coordinate points relative to the virtual coordinate origin based on the fastAtan2 function to obtain the angle information corresponding to each second display sub-module.
8. The communication data processing method for Internet of things control of text and travel according to claim 7,
counting all second display sub-modules with corresponding position directions to obtain a transmission set, selecting the second display sub-modules meeting the skip transmission requirement in the transmission set, extracting the identity tags of the second display sub-modules meeting the skip transmission requirement to generate a first skip transmission link, and the method comprises the following steps:
acquiring the display attribute of each second display submodule, determining the data volume transmission value corresponding to the corresponding second display submodule according to the display attribute, acquiring the number of all second display submodules to obtain a first total number, and acquiring the first transmission number corresponding to each transmission set according to the first total number and the data volume transmission value corresponding to each second display submodule;
according to the angle information, performing ascending sequencing on all second display sub-modules to obtain a to-be-classified set, sequentially selecting the second display sub-modules in the to-be-classified set, and when judging that the selected second display sub-modules reach the first transmission quantity, generating a transmission set according to the selected second display sub-modules;
selecting the second display sub-modules again to generate a new transmission set, and stopping selecting the second display sub-modules until all the second display sub-modules in the to-be-classified set are selected;
counting the maximum angle information and the minimum angle information in each transmission set, and obtaining the angle information range of the corresponding transmission set according to the maximum angle information and the minimum angle information;
if the angle information range is larger than the preset angle range, splitting the corresponding transmission set to obtain separation angle information, and respectively counting a second display submodule located between the separation angle information and the maximum angle information and a second display submodule located between the separation angle information and the minimum angle information to generate a new transmission set.
9. The communication data processing method for Internet of things control of the text according to claim 8,
the obtaining of the display attribute of each second display submodule, determining the data volume transmission value corresponding to the corresponding second display submodule according to the display attribute, obtaining the number of all second display submodules to obtain a first total number, and obtaining the first transmission number corresponding to each transmission set according to the first total number and the data volume transmission value corresponding to each second display submodule, includes:
calculating according to the data volume transmission values corresponding to all the second display sub-modules to obtain an average transmission data volume, and comparing the average transmission data volume with a preset transmission data volume to obtain a data volume transmission coefficient;
comparing the first total quantity with a preset quantity to obtain a module quantity transmission coefficient;
calculating according to the data volume transmission coefficient, the module number transmission coefficient and the preset transmission number to obtain a first transmission number corresponding to each transmission set, calculating the first transmission number by the following formula,
Figure 26475DEST_PATH_IMAGE009
wherein, the first and the second end of the pipe are connected with each other,
Figure 36019DEST_PATH_IMAGE010
for the purpose of the first number of transmissions,
Figure 148332DEST_PATH_IMAGE011
is as follows
Figure 952340DEST_PATH_IMAGE003
The data transmission value corresponding to the second display sub-module,
Figure 150103DEST_PATH_IMAGE012
for the upper limit value of the second demonstration sub-module,
Figure 448491DEST_PATH_IMAGE013
the magnitude values of the sub-modules are shown for the second,
Figure 680890DEST_PATH_IMAGE014
in order to preset the amount of data to be transmitted,
Figure 921378DEST_PATH_IMAGE015
the values are normalized for the amount of data,
Figure 340858DEST_PATH_IMAGE016
in order to transmit a weight value for the data volume,
Figure 941473DEST_PATH_IMAGE017
is the first number of the total number,
Figure 28377DEST_PATH_IMAGE018
the number of the air bags is a preset number,
Figure 439767DEST_PATH_IMAGE019
the value is normalized for the number of bits,
Figure 346543DEST_PATH_IMAGE020
is a weight value for the number of modules,
Figure 236002DEST_PATH_IMAGE021
is a preset number of transmissions.
10. Communication data processing apparatus suitable for control of literary tour thing allies oneself with, its characterized in that includes:
the decomposition module is used for decomposing the text travel data drawing to obtain a plurality of text travel sub-modules, acquiring first position information corresponding to each text travel sub-module, and acquiring second position information of the main control module for controlling all the text travel sub-modules;
the calculation module is used for calculating first transmission distance information between each text travel sub-module and the main control module according to the first position information and the second position information, adding a first short-distance communication tag to all text travel sub-modules of which the first transmission distance information is smaller than first preset distance information, taking the text travel sub-modules added with the first short-distance communication tags as first display sub-modules, and generating a first short-distance transmission link according to the first display sub-modules;
the determining module is used for adding second short-distance communication tags to all the text travel sub-modules with the first transmission distance information being larger than the first preset distance information, taking the text travel sub-modules with the second short-distance communication tags as second display sub-modules, and determining the position directions of all the second display sub-modules relative to the main control module;
the statistical module is used for counting all the second display sub-modules with corresponding position directions to obtain a transmission set, selecting the second display sub-modules meeting the skip transmission requirement in the transmission set, and extracting the identity tags of the second display sub-modules meeting the skip transmission requirement to generate a first skip transmission link;
the decomposition module is used for adding a third long-distance communication tag to a second display submodule which does not meet the requirement of skip transmission in the transmission set, taking the second display submodule added with the third short-distance communication tag as a third display submodule, decomposing the transmission set based on the third display submodule and generating a second skip transmission link;
and the configuration module is used for configuring a short-distance communication unit for the first display submodule, configuring a short-distance communication unit with a skip transmission function for the second display submodule, configuring a long-distance communication unit with a long-distance transmission function for the third display submodule, and counting a first short-distance transmission link, a first short-distance transmission link and a second skip transmission link after the communication units are configured to obtain a transmission link list.
CN202211117457.1A 2022-09-14 2022-09-14 Communication data processing method and system suitable for Chinese travel internet of things control Active CN115190515B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211117457.1A CN115190515B (en) 2022-09-14 2022-09-14 Communication data processing method and system suitable for Chinese travel internet of things control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211117457.1A CN115190515B (en) 2022-09-14 2022-09-14 Communication data processing method and system suitable for Chinese travel internet of things control

Publications (2)

Publication Number Publication Date
CN115190515A true CN115190515A (en) 2022-10-14
CN115190515B CN115190515B (en) 2022-12-23

Family

ID=83524174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211117457.1A Active CN115190515B (en) 2022-09-14 2022-09-14 Communication data processing method and system suitable for Chinese travel internet of things control

Country Status (1)

Country Link
CN (1) CN115190515B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103947285A (en) * 2011-12-01 2014-07-23 皇家飞利浦有限公司 Method, wireless device and wireless communications system to guide a user of a wireless device to establish an optimal wireless direct link to another wireless device
US20140365118A1 (en) * 2013-06-09 2014-12-11 Apple Inc. Direction List
CN105323818A (en) * 2015-11-04 2016-02-10 天津理工大学 Energy-saving clustering routing method based on network regional division and distances
EP3444731A1 (en) * 2016-04-11 2019-02-20 Sony Corporation Information processing device and information processing method
CN111385208A (en) * 2018-12-29 2020-07-07 广州市百果园信息技术有限公司 Routing method, routing device, computer equipment and storage medium
US20200260262A1 (en) * 2017-11-23 2020-08-13 Beijing Xiaomi Mobile Software Co., Ltd. Transmission configuration method and apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103947285A (en) * 2011-12-01 2014-07-23 皇家飞利浦有限公司 Method, wireless device and wireless communications system to guide a user of a wireless device to establish an optimal wireless direct link to another wireless device
US20140365118A1 (en) * 2013-06-09 2014-12-11 Apple Inc. Direction List
CN105323818A (en) * 2015-11-04 2016-02-10 天津理工大学 Energy-saving clustering routing method based on network regional division and distances
EP3444731A1 (en) * 2016-04-11 2019-02-20 Sony Corporation Information processing device and information processing method
US20200260262A1 (en) * 2017-11-23 2020-08-13 Beijing Xiaomi Mobile Software Co., Ltd. Transmission configuration method and apparatus
CN111385208A (en) * 2018-12-29 2020-07-07 广州市百果园信息技术有限公司 Routing method, routing device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN115190515B (en) 2022-12-23

Similar Documents

Publication Publication Date Title
CN104239465B (en) A kind of method and device scanned for based on scene information
CN107563947B (en) Traffic and transportation integrated comprehensive service method and system
CN106484809A (en) A kind of energy means of Internet information platform based on Spark and its application
EP3933801B1 (en) Method, apparatus, and device for testing traffic flow monitoring system
CN103634902A (en) Novel indoor positioning method based on fingerprint cluster
CN107092623A (en) A kind of point of interest querying method and device
CN110232131A (en) Intention material searching method and device based on intention label
CN107102833A (en) Line information interactive approach and electronic equipment
CN105300398A (en) Method, device and system for acquiring site information
CN107791251A (en) robot movement control method and robot
CN113901911A (en) Image recognition method, image recognition device, model training method, model training device, electronic equipment and storage medium
CN112053440A (en) Method for determining individualized model and communication device
CN111782980A (en) Map interest point mining method, device, equipment and storage medium
CN108762250A (en) The control method and device of equipment, equipment, computer program and storage medium
CN115190515B (en) Communication data processing method and system suitable for Chinese travel internet of things control
CN111274348A (en) Service feature data extraction method and device and electronic equipment
CN112581184A (en) Air-iron combined transport fare formulation method, system, equipment and readable storage medium
CN112035548A (en) Identification model acquisition method, identification method, device, equipment and medium
US20220172310A1 (en) House-renting recommendation method, electronic device and storage medium
CN116518979A (en) Unmanned plane path planning method, unmanned plane path planning system, electronic equipment and medium
CN116627637A (en) Multi-terminal task cooperation method and device of robot exhibition hall scene based on cloud side end architecture
Wang et al. C3Meta: a context-aware cloud-edge-end collaboration framework toward green metaverse
CN110309244A (en) A kind of method and apparatus of object location
CN115310692A (en) Wisdom rural area tourism service platform
CN112785083B (en) Arrival time estimation method and device, 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