Chemical scene positioning method, system and storage medium
By determining the working mode of the base station in the chemical plant and adjusting the data reporting strategy of the positioning card, the problem that the base station cannot be adjusted according to the regional load demand is solved, achieving more efficient data transmission and reducing deployment costs.
Patent Information
- Application Number
- CN202311642679.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-30
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2043-11-30
AI Technical Summary
Existing base stations cannot adjust their working modes according to the load requirements of different areas of the chemical plant, resulting in cumbersome and high-cost base station deployment, or adverse effects in the case of insufficient or excessive load.
By determining the working mode of the base station in the chemical industry scenario, and obtaining the preset time interval, preset broadcast number and preset positioning request based on this mode, the base station's broadcast and data reporting strategy for the positioning card is adjusted so that the base station can follow the appropriate band. load work.
It enables base stations to adjust their working modes according to needs in different areas, avoiding adverse effects caused by insufficient or excessive load capacity, improving data transmission reliability and load capacity, and reducing base station deployment costs.
Smart Images

Figure CN117858003B
Abstract
Description
Technical Field
[0001] The present application relates to the field of chemical industry scene positioning, and in particular to a chemical industry scene positioning method, system and storage medium. Background Art
[0002] LoRa technology is a communication technology for low-power wide area networks (LPWAN). LoRa is a long-distance, low-power wireless communication technology with the characteristics of low cost, low power consumption, and wide area coverage. Especially in the wireless positioning scenario of chemical plants, all base stations carry the same number of positioning cards in a unified working mode, but base stations distributed in different areas correspond to different load requirements. Some areas may need to deploy more base stations to meet the load requirements of multiple positioning cards when facing multiple positioning cards that exceed the load per unit time. This method will increase the complexity of base station deployment and the cost of base station deployment. In some areas, there are fewer positioning cards, but the base stations still work at a higher load and waste load resources. That is, the existing base stations cannot work according to the corresponding load requirements of different areas. Summary of the invention
[0003] The present application provides a chemical scene positioning method, system and storage medium to solve the problem that existing base stations cannot operate according to the corresponding load capacity based on the load capacity requirements of different areas.
[0004] In a first aspect, the present application provides a chemical scene positioning method, which is applied to a base station, and the method includes:
[0005] Determine the working mode of the base station in the chemical scene;
[0006] Obtaining a preset time interval, a preset broadcast quantity, and a preset positioning request corresponding to the working mode;
[0007] The preset positioning request is broadcasted to the preset broadcast number of covered positioning cards at the preset time interval, wherein the preset positioning request is used to request the covered positioning cards to report positioning frame data at the preset time interval.
[0008] In a second aspect, the present application provides a chemical scene positioning method, which is applied to a positioning card, and the method includes:
[0009] Receiving a preset positioning request broadcasted by a target base station in a chemical scene, wherein the broadcast range of the target base station covers the location of the current positioning card;
[0010] According to the preset time interval in the preset positioning request, the positioning frame data collected within the preset time interval is regularly sent to the target base station.
[0011] In a third aspect, the present application provides a chemical scene positioning system, the system comprising a base station and a positioning card, the base station being used to implement the chemical scene positioning method in the first aspect, and the positioning card being used to implement the chemical scene positioning method in the second aspect.
[0012] In a fourth aspect, the present application also provides a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the above-mentioned chemical scene positioning method.
[0013] The above technical solution provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application determines the working mode of the base station in the chemical scene; obtains the preset time interval, preset broadcast quantity and preset positioning request corresponding to the working mode; broadcasts the preset positioning request to the preset broadcast quantity of covered positioning cards according to the preset time interval, wherein the preset positioning request is used to request the covered positioning card to report positioning frame data according to the preset time interval. Base stations in different areas of the chemical scene may correspond to different working modes, and work according to the preset time interval, preset broadcast quantity and preset positioning request corresponding to the working mode of the base station, and can work according to the appropriate load capacity to avoid the adverse effects caused by insufficient or excessive load capacity of the base station. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0015] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0016] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0017] Figure 1 A schematic diagram of the structure of a chemical scene positioning system provided in an embodiment of the present application;
[0018] Figure 2 A schematic diagram of a process flow of a chemical scene positioning method provided in an embodiment of the present application;
[0019] Figure 3A schematic diagram of a process flow of a chemical scene positioning method provided in an embodiment of the present application;
[0020] Figure 4 A schematic diagram of the internal structure of a computer system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0022] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0023] Figure 1 FIG. 1 is an application environment diagram of a chemical scene positioning method in an embodiment. Figure 1 , the chemical scene positioning method is applied to the chemical scene positioning system. The chemical scene positioning system includes a positioning card, a base station and a positioning platform. Each positioning card is provided with a LoRa communication module, and the positioning card and the base station are connected via LoRa communication. The base station and the positioning platform are connected via a network. The positioning card refers to a device or equipment carried by a mobile object, which is used to report positioning data based on the communication connection between the positioning card and the base stations deployed in different areas of the chemical scene. The base station then uploads the obtained positioning data to the positioning platform for parsing and processing, thereby determining the location information of the positioning card, and then the mobile object carrying the positioning card can be tracked and located.
[0024] In one embodiment, Figure 2 A schematic diagram of a process flow of a chemical scene positioning method in an embodiment, referring to Figure 2 , provides a chemical scene positioning method. This embodiment mainly applies this method to the above Figure 1 Taking the base station in as an example, the chemical scene positioning method specifically includes the following steps:
[0025] Step S210, determining the working mode of the base station in the chemical scene.
[0026] Specifically, different base stations are deployed in different areas of the chemical scene. The working mode of the base station is determined based on the reporting requirements of the base station deployment area for positioning data. The deployment areas in the chemical scene can be office areas, meeting areas, restricted areas, factory processing areas, and morning meeting areas. The population density in meeting areas and morning meeting areas is high, so the working mode of the base stations in these areas needs to be high-load mode; for restricted areas and office areas, areas where people are evenly distributed or there are very few people walking, the positioning data accuracy requirements are high, so the working mode of the base stations in these areas needs to be high-precision mode.
[0027] The number of positioning cards to which the base station sends positioning requests in the high-precision mode and the high-load mode is different, that is, the base station's load capacity is different in the two modes.
[0028] Step S220, obtaining a preset time interval, a preset broadcast quantity, and a preset positioning request corresponding to the working mode.
[0029] Specifically, different working modes correspond to different preset time intervals, preset broadcast quantities, and preset positioning requests. The preset time interval is used to indicate the time interval for the base station to broadcast the preset positioning request. The preset positioning request corresponding to the high-precision mode is a high-precision positioning request. The preset positioning request corresponding to the high-load mode is a high-load positioning request. The preset broadcast quantity refers to the number of preset positioning requests broadcast by the base station to the positioning card, that is, the load quantity of the base station, that is, different working modes correspond to different load quantities.
[0030] Step S230: broadcast the preset positioning request to the preset broadcast number of covered positioning cards at the preset time interval, wherein the preset positioning request is used to request the covered positioning cards to report positioning frame data at the preset time interval.
[0031] Specifically, a covered positioning card refers to a positioning card located within the coverage range of a base station. The base station broadcasts a preset positioning request to a plurality of covered positioning cards corresponding to a preset broadcast quantity at a preset time interval. The preset positioning request specifically includes the working mode of the base station and the preset time interval, that is, the preset positioning request is used to request the covered positioning card to report one or more groups of positioning frame data collected within the preset time interval at a preset time interval, and the covered positioning card reports one or more groups of positioning frame data to the base station according to the working mode in the preset positioning request. Base stations in different areas of a chemical scene may correspond to different working modes. They work according to the preset time interval, preset broadcast quantity, and preset positioning request corresponding to the working mode of the base station. The base station can work according to the load capacity corresponding to the working mode to avoid the adverse effects caused by insufficient or excessive load capacity of the base station.
[0032] In one embodiment, obtaining the preset time interval, preset broadcast quantity, and preset positioning request corresponding to the working mode includes:
[0033] When the working mode is a high load mode, obtaining a first time interval, a first broadcast quantity, and a high load positioning request corresponding to the high load mode;
[0034] The broadcasting of the preset positioning request to the preset broadcast number of covered positioning cards at the preset time interval includes:
[0035] The high-load positioning request is broadcasted regularly to the first broadcast number of covered positioning cards according to the first time interval, wherein the first broadcast number is the product of the unit time load of the base station and the first time interval, and the high-load positioning request is used to request the covered positioning cards to report positioning frame data according to the first time interval.
[0036] Specifically, when the working mode of the base station is the high-load mode, it means that the base station needs to provide load services for multiple positioning cards at the same time, and then the high-load positioning request is sent to the first broadcast number of covered positioning cards according to the first time interval. The first time interval is related to the first broadcast number. Since the unit time load of the base station is fixed, it is necessary to determine the first broadcast number according to the total number of positioning cards in the deployment area where the base station is located, that is, the first broadcast number is greater than the minimum product of the total number of positioning cards in the deployment area where the base station is located. The product refers to the product of the unit time load of the base station and the first time interval. The more the total number of positioning cards in the deployment area where the base station is located, the longer the first time interval is, and the larger the first broadcast number is. The selection range of the first time interval is 1-5 seconds.
[0037] For example, the base station's load capacity per unit time is 40 cards / second, which means that the base station can only carry a maximum of 40 positioning cards per second. When the total number of positioning cards in the deployment area of the base station is 100, the first time interval is 1 second, and the base station can only carry 40 cards, which cannot meet the load demand of 100 positioning cards; the first time interval is 2 seconds, and the base station can only carry 80 cards, which cannot meet the load demand of 100 positioning cards; the first time interval is 3 seconds, and the base station can carry a maximum of 120 positioning cards, which meets the load demand of 100 positioning cards. Therefore, the first time interval of the base station is 3 seconds, and the first broadcast quantity is 120. The first time interval and the first broadcast quantity are configured in advance by the positioning platform for the base stations in the corresponding deployment areas according to the personnel capacity of the deployment areas with a high concentration of personnel in the chemical scene, so as to increase the number of positioning cards requested in each request cycle by extending the request cycle of the base station for the positioning card without increasing the number of base stations. The base station can request and carry more positioning cards at a time to increase the carrying capacity of the base station, thereby solving the problem of cumbersome base station deployment and high deployment cost due to too few base station carrying cards.
[0038] In one embodiment, obtaining the preset time interval, preset broadcast quantity, and preset positioning request corresponding to the working mode includes:
[0039] When the working mode is a high-precision mode, obtaining a second time interval, a second broadcast quantity, and a high-precision positioning request corresponding to the high-precision mode;
[0040] The broadcasting of the preset positioning request to the preset broadcast number of covered positioning cards at the preset time interval includes:
[0041] The high-precision positioning request is sent to the second broadcast number of covered positioning cards according to the second time interval, wherein the second broadcast number is the unit time load of the base station, and the high-precision positioning request is used to request the covered positioning cards to report positioning frame data according to the second time interval.
[0042] Specifically, due to the communication properties of Lora, the high frequency of receiving data by the base station, bandwidth limitations, load capacity limitations, environmental impacts and other factors, the positioning data packet loss phenomenon will occur. At this time, the data uploaded by the base station to the positioning platform will lose the positioning frame. To avoid the above-mentioned packet loss phenomenon, when the working mode of the base station is high-precision mode, the base station can still change the request cycle of the positioning card, but does not change the base station's load capacity, that is, the base station sends a high-precision load request to the covered positioning card with a unit time load capacity at a second time interval. By changing the second time interval, the transmission time length of the positioning card that initiates the positioning request to report the positioning frame data to the base station is extended, so as to leave enough time for the base station channel to ensure the successful transmission of the Lora channel, thereby improving the reporting integrity, stability and communication quality of the positioning frame data.
[0043] For example, if the base station has a unit time capacity of 40 frames / second, no matter how many seconds the second time interval is, it is used to receive the positioning frame data reported by 40 positioning cards. No matter how many seconds it is sent once, the load capacity is only 40 positioning cards. By extending the second time interval to receive the positioning frame data reported by 40 positioning cards, the transmission time of the positioning frame data is extended to ensure that the positioning frame data can be stably and completely transmitted to the base station. The selection range of the second time interval is 1-5 seconds.
[0044] The base station sends different preset positioning requests, which contain the parameters required for high-precision mode or high-load mode, and the positioning card reports the corresponding positioning frame data according to different preset positioning requests, so as to achieve the situation where high-precision and high-load can be flexibly switched for use. Under normal working conditions of the base station, any base station can only use one of the working modes at a time and cannot work in two working modes at the same time. That is, the base station can adapt to different scene requirements in different working modes, so as to achieve better data reliability and greater load capacity.
[0045] In one embodiment, Figure 3 As shown, a chemical scene positioning method is provided, which is applied to a positioning card, and the method includes:
[0046] Step S310: receiving a preset positioning request broadcasted by a target base station in a chemical scene, wherein the broadcast range of the target base station covers the location of the current positioning card.
[0047] Specifically, when the positioning card moves to a different location, it will receive a preset positioning request broadcast by a base station whose broadcast range covers the current location. If the positioning card moves to the intersection of multiple broadcast ranges, that is, when the positioning card receives preset positioning requests sent by multiple base stations, the base station closest to it will be selected as the target base station.
[0048] Step S320: According to the preset time interval in the preset positioning request, the positioning frame data collected within the preset time interval is periodically sent to the target base station.
[0049] Specifically, the preset positioning request includes the working mode of the target base station and the preset time interval. The positioning card reports the positioning frame data collected within the preset time interval to the target base station at the preset time interval. The positioning card can determine whether the request type of the preset positioning request is a high-load positioning request or a high-precision positioning request according to the working mode in the preset positioning request. Different request types are used to determine the positioning card to report different amounts of positioning frame data to the base station. Each positioning card within the coverage of the base station reports the positioning frame data to the base station according to the above method, thereby satisfying the load workload corresponding to the working mode of the base station, allowing the base station to work at an appropriate load capacity, and avoiding the adverse effects caused by insufficient or excessive load of the base station.
[0050] In one embodiment, the periodically sending the positioning frame data collected within the preset time interval to the target base station according to the preset time interval in the preset positioning request includes:
[0051] When the preset positioning request is a high-load positioning request, the positioning frame data collected within the first time interval is periodically sent to the target base station according to the first time interval in the high-load positioning request.
[0052] Specifically, the preset positioning requests broadcast by base stations in different deployment areas have different request types. The preset positioning requests broadcast by base stations in conference areas and morning meeting areas with high population density are high-load positioning requests, and the preset positioning requests broadcast by base stations in areas with low population density are high-precision positioning requests. High-load positioning requests and high-precision positioning requests correspond to different data reporting modes. When the working mode in the preset positioning request is the high-load mode, the positioning card determines that the preset positioning request is a high-load positioning request, and regularly sends the positioning frame data collected within the first time interval to the target base station at the first time interval.
[0053] In one embodiment, when the preset positioning request is a high-load positioning request, according to a first time interval in the high-load positioning request, regularly sending the positioning frame data collected within the first time interval to the target base station includes:
[0054] When the preset positioning request is a high-load positioning request, according to the first reporting timestamp in the first time interval in the preset positioning request, a group of positioning frame data collected latest before the first reporting timestamp is sent to the target base station on a regular basis.
[0055] Specifically, the first reporting timestamp is the reporting time when the current positioning card sends the positioning frame data in the high-load mode, that is, different positioning cards correspond to different first reporting timestamps in the first time interval, so as to avoid reporting collisions due to the same reporting time when the positioning cards report the positioning frame data. The positioning request sent by the base station also includes the reporting timestamps that specify the positioning frame data reported by each positioning card. The reporting timestamps of different positioning cards are used to indicate the reporting order of each positioning card, so as to control multiple positioning cards to report their respective positioning frame data in an orderly manner.
[0056] Since the data reporting mode is a high-load mode, it means that the base station has a large load capacity. In order to reduce the total data transmission volume of the base station, the positioning frame data reported by each positioning card is reduced, that is, each positioning card is controlled to only report a set of positioning frame data collected most recently from the respective reporting timestamps. There is no need to upload all the multiple sets of positioning frame data collected within the first time interval, that is, each positioning card only reports one set of positioning frame data, thereby reducing the total amount of positioning frame data received by the base station to maintain the stable data transmission capacity of the base station and avoid multiple positioning cards uploading multiple sets of positioning frame data, which may cause the base station to transmit data excessively and cause failure, thereby improving the stability of the base station operation.
[0057] For example, the first time interval is 1 second, and the current positioning card sends a set of positioning frame data every 1 second; the first time interval is 2 seconds, and the current positioning card sends a set of positioning frame data every 2 seconds; the first time interval is 3 seconds, and the current positioning card sends a set of positioning frame data every 3 seconds; the first time interval is 4 seconds, and the current positioning card sends a set of positioning frame data every 4 seconds; the first time interval is 5 seconds, and the current positioning card sends a set of positioning frame data every 5 seconds.
[0058] In one embodiment, the periodically sending the positioning frame data collected within the preset time interval to the target base station according to the preset time interval in the preset positioning request includes:
[0059] When the preset positioning request is a high-precision positioning request, all positioning frame data collected within the second time interval are sent to the target base station at regular intervals according to the second time interval in the high-precision positioning request.
[0060] Specifically, when the request type of the positioning request is a high-precision positioning request, it indicates that the area where the current positioning card is located has a high requirement for the accuracy of positioning data. The current positioning card reports multiple groups of positioning frame data collected within the time period to the base station at the second time interval, and the base station only sends high-precision positioning requests to multiple positioning cards with a load per unit time at the second time interval in the high-precision mode. When the second time interval is the same as the first time interval, the load of the base station in the second time interval is less than the load in the first time interval. Therefore, the positioning card has more time to transmit positioning frame data to the base station in the second time interval, which ensures that the positioning card can report multiple groups of positioning frame data completely to the base station in the second time interval. In addition, in the high-precision mode, due to the small load of the base station, the base station has excess data transmission capacity to support receiving multiple groups of positioning frame data collected by each positioning card in the second time interval. Determining the location information of the positioning card by using multiple groups of positioning frame data can also improve the accuracy of the location information. Therefore, it is possible to improve the positioning accuracy while ensuring the integrity and stability of the positioning frame data transmission.
[0061] For example, the second time interval is 1 second, and the current positioning card sends a set of positioning frame data every 1 second; the second time interval is 2 seconds, and the current positioning card sends two sets of positioning frame data every 2 seconds; the second time interval is 3 seconds, and the current positioning card sends three sets of positioning frame data every 3 seconds; the second time interval is 4 seconds, and the current positioning card sends four sets of positioning frame data every 4 seconds; the second time interval is 5 seconds, and the current positioning card sends five sets of positioning frame data every 5 seconds.
[0062] In one embodiment, when the preset positioning request is a high-precision positioning request, according to the second time interval in the high-precision positioning request, all positioning frame data collected within the second time interval is periodically sent to the target base station, including:
[0063] When the preset positioning request is a high-precision positioning request, all positioning frame data collected within the second time interval before the second reporting timestamp in the high-precision positioning request are sent regularly according to the second reporting timestamp within the second time interval in the high-precision positioning request.
[0064] Specifically, the second reporting timestamp is the reporting time when the current positioning card sends the positioning frame data in the high-precision mode, that is, different positioning cards correspond to different second reporting timestamps in the second time interval, so as to avoid reporting collision due to the same reporting time when the positioning cards report the positioning frame data, that is, the positioning request sent by the base station also includes the reporting timestamps that specify the positioning frame data reported by each positioning card, and the reporting timestamps of different positioning cards are used to indicate the reporting order of each positioning card, so as to control multiple positioning cards to report their respective positioning frame data in an orderly manner.
[0065] Figure 2 and Figure 3 FIG. 1 is a flow chart of a method for locating a chemical scene in an embodiment. It should be understood that although Figure 2 and Figure 3 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2 and Figure 3 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0066] like Figure 4 As shown, the embodiment of the present application provides a computer system, which can be a base station or a positioning card, and specifically includes a processor 711, a communication interface 712, a memory 713 and a communication bus 714, wherein the processor 711, the communication interface 712, and the memory 713 communicate with each other through the communication bus 714;
[0067] Memory 713, used for storing computer programs;
[0068] The processor 711 is used to implement the chemical scene positioning method provided by any one of the aforementioned method embodiments when executing the program stored in the memory 713.
[0069] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer system to which the scheme of the present application is applied. The specific computer system may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0070] In one embodiment, the chemical scene positioning system provided by the present application can be implemented in the form of a computer program, which can be used in Figure 4 The computer system shown in the figure is run. The memory of the computer system can store various program modules constituting the chemical scene positioning system. The computer program composed of various program modules enables the processor to execute the steps of the chemical scene positioning method of each embodiment of the present application described in this specification.
[0071] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the chemical scene positioning method provided in any of the aforementioned method embodiments are implemented.
[0072] The system embodiment described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0073] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer system (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiment.
[0074] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0075] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A chemical scene positioning method, characterized in that: Applied to a base station, the method comprises: Based on the reporting requirements for positioning data in the base station deployment area and the density of people in the deployment area, determine the working mode of the base station in the chemical scene, wherein the working mode is a high-precision mode or a high-load mode; Obtaining a preset time interval, a preset broadcast quantity, and a preset positioning request corresponding to the working mode, wherein the preset broadcast quantity refers to the number of preset positioning requests broadcast by the base station to the positioning card, that is, the base station's carrying quantity. The base station sends different numbers of positioning cards for positioning requests in the high-precision mode and the high-carrying mode, and different working modes correspond to different carrying quantities; The preset positioning request is broadcasted to the preset broadcast number of covered positioning cards at the preset time interval, wherein the preset positioning request is used to request the covered positioning cards to report positioning frame data at the preset time interval.
2. The method according to claim 1, characterized in that The obtaining of a preset time interval, a preset broadcast quantity, and a preset positioning request corresponding to the working mode includes: When the working mode is a high-load mode, obtaining a first time interval, a first broadcast quantity, and a high-load positioning request corresponding to the high-load mode; The broadcasting of the preset positioning request to the preset broadcast number of covered positioning cards at the preset time interval includes: The high-load positioning request is broadcasted regularly to the first broadcast number of covered positioning cards according to the first time interval, wherein the first broadcast number is the product of the unit time load of the base station and the first time interval, and the high-load positioning request is used to request the covered positioning cards to report positioning frame data according to the first time interval.
3. The method according to claim 1, characterized in that The obtaining of a preset time interval, a preset broadcast quantity, and a preset positioning request corresponding to the working mode includes: When the working mode is a high-precision mode, obtaining a second time interval, a second broadcast quantity, and a high-precision positioning request corresponding to the high-precision mode; The broadcasting of the preset positioning request to the preset broadcast number of covered positioning cards at the preset time interval includes: The high-precision positioning request is sent to the second broadcast number of covered positioning cards according to the second time interval, wherein the second broadcast number is the unit time load of the base station, and the high-precision positioning request is used to request the covered positioning cards to report positioning frame data according to the second time interval.
4. A chemical scene positioning method, characterized in that: Applied to a positioning card, the method comprises: Receive a preset positioning request broadcasted by a target base station in a chemical scene, wherein the broadcast range of the target base station covers the location of the current positioning card, and the preset positioning request includes a working mode of the target base station and a preset time interval, wherein the working mode is a high-precision mode or a high-load mode, and the number of positioning cards to which the base station sends positioning requests in the high-precision mode and the high-load mode is different, and different working modes correspond to different load quantities; According to the preset time interval in the preset positioning request, the positioning frame data collected within the preset time interval is regularly sent to the target base station.
5. The method according to claim 4, characterized in that The periodically sending the positioning frame data collected within the preset time interval to the target base station according to the preset time interval in the preset positioning request includes: When the preset positioning request is a high-load positioning request, the positioning frame data collected within the first time interval is periodically sent to the target base station according to the first time interval in the high-load positioning request.
6. The method according to claim 5, characterized in that When the preset positioning request is a high-load positioning request, according to a first time interval in the high-load positioning request, regularly sending positioning frame data collected within the first time interval to the target base station, including: When the preset positioning request is a high-load positioning request, according to the first reporting timestamp in the first time interval in the preset positioning request, a group of positioning frame data collected latest before the first reporting timestamp is sent to the target base station on a regular basis.
7. The method according to claim 4, characterized in that The periodically sending the positioning frame data collected within the preset time interval to the target base station according to the preset time interval in the preset positioning request includes: When the preset positioning request is a high-precision positioning request, all positioning frame data collected within the second time interval are sent to the target base station at regular intervals according to the second time interval in the high-precision positioning request.
8. The method according to claim 7, characterized in that When the preset positioning request is a high-precision positioning request, according to the second time interval in the high-precision positioning request, regularly sending all positioning frame data collected within the second time interval to the target base station, including: When the preset positioning request is a high-precision positioning request, all positioning frame data collected within the second time interval before the second reporting timestamp in the high-precision positioning request are sent regularly according to the second reporting timestamp within the second time interval in the high-precision positioning request.
9. A chemical scene positioning system, characterized in that: The system includes a base station and a positioning card, wherein the base station is used to implement the chemical scene positioning method as claimed in any one of claims 1 to 3, and the positioning card is used to implement the chemical scene positioning method as claimed in any one of claims 4 to 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
