Data management method and device, electronic equipment and medium

By obtaining the location information and data type and amount of the near-end device, combined with human flow and date factors, the comprehensive transmission priority is determined, which solves the problem of poor accuracy of data transmission priority in the existing technology and improves the efficiency in multi-carrier frequency power amplifier base stations. Data transmission efficiency.

CN118764909APending Publication Date: 2024-10-11ZHUOXIN COMM CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410751863.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-10-11

Smart Images

  • Figure CN118764909A_ABST
    Figure CN118764909A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data processing, in particular to a data management method and device, electronic equipment and a medium, and the method comprises the steps: obtaining position information corresponding to multiple pieces of near-end equipment and to-be-transmitted data information corresponding to the multiple pieces of near-end equipment, the to-be-transmitted data information comprises a plurality of to-be-transmitted data types and data volumes corresponding to the to-be-transmitted data types; based on the position information corresponding to all the near-end devices, first transmission priorities corresponding to all the to-be-transmitted data types are determined; based on all the to-be-transmitted data types and the data volume of all the to-be-transmitted data types, determining second transmission priorities corresponding to all the to-be-transmitted data types; and performing data transmission based on the first transmission priorities corresponding to all the to-be-transmitted data types and the second transmission priorities corresponding to all the to-be-transmitted data types. The method has the effect of improving the data transmission efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a data management method, device, electronic device and medium. Background Art

[0002] Wireless networks play an increasingly important role in people's production and life. In order to better meet people's demand for wireless networks, the number of multi-carrier frequency amplifier base stations has also increased. People's application of wireless networks is inseparable from the monitoring of remote and near-end devices in multi-carrier frequency amplifier base stations. In the monitoring of remote and near-end devices, it is particularly important to obtain real-time data of remote and near-end devices.

[0003] When transmitting data, the related technology will directly determine the transmission priority based on the data type. For example, when the data type is real-time transmission data, the data will be transmitted first. However, when the data volume of non-real-time transmission data is much higher than the data volume of real-time transmission data, continuing to prioritize the transmission of real-time data may cause data congestion. It can be seen that the accuracy of determining data transmission priority by the related technology is poor, which can easily lead to the problem of low data transmission efficiency. Summary of the invention

[0004] In order to solve the above technical problems, the present invention provides a data management method, device, electronic device and medium.

[0005] In a first aspect, the present application provides a data management method, which adopts the following technical solution:

[0006] A data management method, comprising:

[0007] Acquire location information corresponding to each of the plurality of proximal devices and data information to be transmitted corresponding to each of the plurality of proximal devices, wherein the data information to be transmitted includes: a plurality of data types to be transmitted and data amounts corresponding to each of the data types to be transmitted;

[0008] Determine, based on the respective location information of all the proximal devices, the first transmission priority corresponding to each of the data types to be transmitted;

[0009] Determine, based on all the data types to be transmitted and the data amounts of all the data types to be transmitted, the second transmission priority corresponding to each of all the data types to be transmitted;

[0010] Data transmission is performed based on the first transmission priorities corresponding to all the data types to be transmitted and the second transmission priorities corresponding to all the data types to be transmitted.

[0011] In a preferred embodiment of the present application, the method further includes: determining the first transmission priority corresponding to each of the data types to be transmitted based on the location information corresponding to each of the proximal devices, including:

[0012] Obtaining the transmission time corresponding to each of the data types to be transmitted and the corresponding relationship between the flow of people and the transmission time of each of the location information;

[0013] Based on the corresponding relationship and all the transmission moments, determining the target flow of people corresponding to each of the transmission moments;

[0014] Based on the preset correspondence between human traffic and transmission priority and all target human traffic, a first transmission priority corresponding to each of all the data types to be transmitted is determined.

[0015] In a preferred embodiment, the present application may be further configured as follows: after determining the target flow of people corresponding to each of the transmission moments based on the corresponding relationship and the transmission moments, the following further includes:

[0016] Obtaining a current date corresponding to the transmission time, and determining whether the current date is a working day;

[0017] If the current date is the working day, directly based on the preset correspondence between the flow of people and the transmission priority and the target flow of people, determine the first transmission priority corresponding to each of the data types to be transmitted;

[0018] If the current date is not the working day, the target flow of people is corrected to obtain a corrected target flow of people;

[0019] Based on the preset correspondence between human traffic and transmission priority and the corrected target human traffic, a first transmission priority corresponding to each of all the data types to be transmitted is determined.

[0020] In a preferred embodiment of the present application, the target human flow is corrected to obtain the corrected target human flow, including:

[0021] Determine whether the current date is a preset date, where the preset date is a date corresponding to a holiday;

[0022] If the current date is a preset date, determining a first correction coefficient corresponding to the current date based on a correspondence between a preset date and a correction coefficient and the current date;

[0023] If the current date is not the preset date, determining the preset correction coefficient as a second correction coefficient corresponding to the current date;

[0024] Correction is performed based on the correction coefficient and the target human flow to obtain a corrected target human flow, where the correction coefficient is the first correction coefficient or the second correction coefficient.

[0025] In a preferred embodiment, the present application may be further configured as follows: performing data transmission based on the first transmission priority corresponding to each of the data types to be transmitted and the second transmission priority corresponding to each of the data types to be transmitted includes:

[0026] Obtaining a first weight value corresponding to the first transmission priority and a second weight value corresponding to the second transmission priority;

[0027] Determine the comprehensive transmission priority corresponding to each of the data types to be transmitted based on the first transmission priority corresponding to each of the data types to be transmitted, the first weight value corresponding to each of the data types to be transmitted, the second transmission priority corresponding to each of the data types to be transmitted, and the second weight value corresponding to each of the data types to be transmitted;

[0028] All the data types to be transmitted are transmitted in sequence based on the comprehensive transmission priorities corresponding to each of the data types to be transmitted.

[0029] In a preferred example, the present application may be further configured to determine, based on each data type to be transmitted and the data amount of each data type to be transmitted, a second transmission priority corresponding to each data type to be transmitted, including:

[0030] Determine whether each data type to be transmitted is a preset transmission data type, and obtain a determination result that the transmission real-time performance of the data corresponding to the preset transmission data type is higher than that of the data corresponding to the non-preset transmission data type;

[0031] Determining a first sub-transmission priority level of each data type to be transmitted based on the determination result of each data type to be transmitted;

[0032] Determining a second sub-transmission priority of each data type to be transmitted based on a correspondence between a preset sub-transmission priority and a data amount and the data amount of each data type to be transmitted;

[0033] Determining an average transmission priority based on the first sub-transmission priority of each data type to be transmitted and the second sub-transmission priority of each data type to be transmitted;

[0034] The average transmission priority is determined as the second transmission priority of each data type to be transmitted.

[0035] In a second aspect, the present application provides a data management device, which adopts the following technical solution:

[0036] A data management device, comprising:

[0037] An acquisition module, used to acquire location information corresponding to each of the plurality of proximal devices and data information to be transmitted corresponding to each of the plurality of proximal devices, wherein the data information to be transmitted includes: a plurality of data types to be transmitted and a data volume corresponding to each of the data types to be transmitted;

[0038] A first transmission priority determination module, configured to determine first transmission priorities corresponding to each of the data types to be transmitted based on the location information corresponding to each of the proximal devices;

[0039] A second transmission priority determination module, used to determine the second transmission priority corresponding to each of the data types to be transmitted based on the data types to be transmitted and the data amounts of the data types to be transmitted;

[0040] The data transmission module is used to perform data transmission based on the first transmission priority corresponding to each of the data types to be transmitted and the second transmission priority corresponding to each of the data types to be transmitted.

[0041] In a third aspect, the present application provides an electronic device, which adopts the following technical solution:

[0042] at least one processor;

[0043] Memory;

[0044] At least one application, wherein the at least one application is stored in the storage and configured to be executed by at least one processor, and the at least one application is configured to: execute the data management method as described in any one of the first aspects.

[0045] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:

[0046] A computer-readable storage medium stores a computer program, which, when executed in a computer, causes the computer to execute the data management method as described in any one of the first aspects.

[0047] In summary, this application includes the following beneficial technical effects:

[0048] The flow of people at different locations is different. When the flow of people is higher, the corresponding data transmission requirements are also higher. Therefore, it is necessary to determine the first transmission priority based on the location information of the proximal device. The first transmission priority is determined from the user dimension to effectively improve the accuracy of the first transmission priority determination; then the data type and data volume of the data to be transmitted are obtained. When the data type to be transmitted has high requirements for the real-time transmission, it should be transmitted first, and the probability of data congestion during data transmission increases with the increase in data volume. In order to avoid affecting data of other data types to be transmitted, the data volume should be considered. Therefore, the second transmission priority is determined from the dimensions of the data type to be transmitted and the data volume to effectively improve the accuracy of the second transmission priority determination; then data is transmitted according to the first transmission priority and the second transmission priority. Compared with the related technology that directly determines the transmission priority according to the data type, the present application comprehensively considers the data to be transmitted itself while considering user needs, and then transmits it according to the accurate first transmission priority and second transmission priority, thereby realizing the accurate determination of data transmission priority, and solving the problem of poor accuracy in determining data transmission priority in the related technology, resulting in low data transmission efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 It is a schematic diagram of a scenario interaction of data management in an embodiment of the present application.

[0050] Figure 2 It is a flowchart of a data management method in an embodiment of the present application.

[0051] Figure 3 It is a structural diagram of a data management device in an embodiment of the present application.

[0052] Figure 4 It is a structural schematic diagram of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

[0053] The following is combined with Figure 1 To Attachment Figure 4 This application is described in further detail.

[0054] After reading this specification, those skilled in the art may make non-creative modifications to this embodiment as needed, but such modifications are protected by patent law as long as they are within the scope of the claims of this application.

[0055] 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 creative work are within the scope of protection of this application.

[0056] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally means that the associated objects before and after are in an "or" relationship.

[0057] The following is a further detailed description of the embodiments of the present application in conjunction with the accompanying drawings. Figure 1 As shown, it is a scene interaction schematic diagram provided by an embodiment of the present application, in which a user generates a data transmission request through an electronic device, the electronic device generates a control signal, the remote device transmits the remote device data to the near-end device, and the near-end device then integrates the collected remote device data with its own data and sends it to the electronic device. It can be understood that in the embodiment of the present application, places with large traffic have higher requirements for data transmission, so the data transmission priorities corresponding to near-end devices in different locations are different; the data to be transmitted corresponding to different types of data to be transmitted have different requirements for real-time performance, and alarm data should be transmitted first, so the transmission priorities of data to be transmitted of different types of data to be transmitted are different. When the amount of data corresponding to a certain type of data to be transmitted is large, it is more likely to cause data congestion, so the transmission priorities of data types to be transmitted with different data amounts are also different.

[0058] The embodiment of the present application provides a data management method, which is executed by an electronic device, which can be a server or a terminal device, wherein the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server of the same cloud computing service. The terminal device can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited thereto. The terminal device and the server can be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiment of the present application. Figure 1 As shown, Figure 2 A flow chart of a data management method provided in an embodiment of the present application, wherein the method comprises step S101, step S102, step S103 and step S104, wherein:

[0059] Step S101: Acquire location information corresponding to each of a plurality of proximal devices and corresponding data information to be transmitted, wherein the data information to be transmitted includes: a plurality of data types to be transmitted and data volumes corresponding to each of the data types to be transmitted.

[0060] Specifically, a monitoring program is pre-integrated in the electronic device, and the monitoring program is used to monitor the triggering behavior of the acquisition request. Once the acquisition request is monitored to be triggered, the location information and data information to be transmitted of multiple near-end devices are obtained. Specifically, when the user confirms the transmission, an acquisition request instruction is automatically generated, wherein the method of confirming the data transmission may include the user confirming the acquisition by clicking the transmission button on the application, and the user confirming the acquisition by voice. When the electronic device detects that the user triggers the acquisition request, the electronic device performs the acquisition operation. In an embodiment of the present application, each 5G multi-carrier frequency power amplifier base station amplification and remote system includes a near-end device and multiple far-end devices, and the location of the near-end device can be a leisure place such as a shopping mall, park or scenic spot. The location information can be a specific longitude and latitude, and the location information can be obtained from the location information library; the data type to be transmitted includes at least: alarm reporting data, equipment performance data or equipment configuration data, etc., which is no longer limited in the embodiment of the present application. The electronic device can obtain the data type to be transmitted and the corresponding data volume from the data information library to be transmitted; the near-end device establishes and updates the content of the data information library to be transmitted in real time so that the electronic device can obtain it.

[0061] Step S102: Determine the first transmission priority corresponding to each of the data types to be transmitted based on the location information corresponding to each of the near-end devices.

[0062] Specifically, the specific process of determining the first transmission priority based on the location information of each proximal device can refer to the following embodiments. It can be understood that different proximal devices have different locations, and different locations correspond to different traffic flows. When the proximal device is in a location with a high traffic flow, people's application needs are higher, and only by giving priority to transmitting the data of this proximal device can people's application needs be met. Therefore, it is necessary to obtain the location information of the proximal device to more accurately determine the first transmission priority.

[0063] Determining first transmission priorities corresponding to all data types to be transmitted based on respective location information corresponding to all proximal devices includes:

[0064] Obtain the transmission time corresponding to each data type to be transmitted and the corresponding relationship between the flow of people at each location information and the transmission time;

[0065] Based on the corresponding relationship and all transmission moments, determine the target flow of people corresponding to all transmission moments respectively;

[0066] Based on the preset correspondence between human traffic and transmission priority and all target human traffic, a first transmission priority corresponding to each of all data types to be transmitted is determined.

[0067] Specifically, the transmission time can be obtained through an electronic clock; the corresponding relationship can be obtained from the location information library. It is understandable that the flow of people at different times in the same location is also different. For example, when the transmission time is in the rest period, the flow of people corresponding to the rest period in the shopping mall is higher, and the flow of people in other periods is less; therefore, it is necessary to obtain the transmission time in order to determine a more accurate flow of people based on the transmission time. Match the transmission time with the corresponding relationship one by one to determine the target flow of people corresponding to the transmission time. The preset correspondence between the flow of people and the transmission priority is set by the technician based on work experience and pre-entered into the electronic device, and then the first transmission priority can be determined. In the embodiment of the present application, as the target flow of people increases, the first transmission priority increases accordingly.

[0068] Based on the above embodiment, the corresponding relationship between the transmission time and the human flow corresponding to each location is obtained. The human flow corresponding to different transmission times at the same location is different, and the requirements for data transmission are also different. Therefore, it is necessary to determine the target human flow corresponding to the transmission time according to the corresponding relationship and the transmission time, so as to effectively improve the accuracy of determining the target human flow; and then determine the corresponding first transmission priority according to the accurate target human flow, so as to effectively improve the accuracy of the first transmission priority.

[0069] Step S103: Based on all the data types to be transmitted and the data amounts of all the data types to be transmitted, determine the second transmission priorities corresponding to all the data types to be transmitted.

[0070] Specifically, the specific process of determining the second transmission priority corresponding to each of the data types to be transmitted based on all the data types to be transmitted and the data volume of all the data types to be transmitted can refer to the following embodiments. It can be understood that some data types to be transmitted have higher transmission requirements, such as alarm reporting data should be transmitted first to avoid transmission delays that cause the equipment to be unable to be repaired in time; and the probability of data congestion will also increase with the increase in data volume. Therefore, the second transmission priority is determined by comprehensively considering the two dimensions of the data type to be transmitted and the data volume, so as to effectively improve the accuracy of the second transmission priority determination.

[0071] Determining, based on each data type to be transmitted and the data amount of each data type to be transmitted, a second transmission priority corresponding to each data type to be transmitted, includes:

[0072] Determine whether each data type to be transmitted is a preset transmission data type, and obtain a determination result, wherein the transmission real-time performance of the data corresponding to the preset transmission data type is higher than that of the data corresponding to the non-preset transmission data type;

[0073] Determine a first sub-transmission priority of each data type to be transmitted based on the determination result of each data type to be transmitted;

[0074] Determine a second sub-transmission priority of each data type to be transmitted based on a correspondence between a preset sub-transmission priority and a data amount and a data amount of each data type to be transmitted;

[0075] Determining an average transmission priority based on the first sub-transmission priority of each data type to be transmitted and the second sub-transmission priority of each data type to be transmitted;

[0076] The average transmission priority is determined as the second transmission priority of each type of data to be transmitted.

[0077] Specifically, the preset transmission data type is alarm reporting data. It can be understood that the alarm reporting data affects the operation of the equipment, and therefore has high requirements for the real-time performance of data transmission, and should be transmitted first. The judgment result includes the preset transmission data type, or, not the preset transmission data type. The judgment can be made through a text matching algorithm, and the present application does not limit the specific process of the text matching algorithm. The corresponding first sub-transmission priority can be determined based on the correspondence between the transmission data type and the first sub-transmission priority. In an embodiment of the present application, when the data type to be transmitted is the preset transmission data type, the corresponding first sub-transmission priority is higher than the corresponding first sub-transmission priority when the data type to be transmitted is not the preset transmission data type. The correspondence between the preset sub-transmission priority and the data volume is pre-set by the technician; in the embodiment of the present application, as the data volume increases, the second sub-transmission priority of the data type to be transmitted decreases. It can be understood that when the data type with a larger data volume is transmitted first, the probability of data congestion is higher; when the data is congested, the data corresponding to other data types with smaller data volumes cannot be transmitted, and may eventually cause data delays for all data to be transmitted; and when the data corresponding to the data type with a smaller data volume is transmitted first, the probability of data congestion is smaller, and the impact on other data types to be transmitted is also smaller, so the data corresponding to the data type with a smaller data volume should be transmitted first. In one feasible method, the average transmission priority can be determined according to a calculation formula, And the average transmission priority is determined as the second transmission priority.

[0078] Based on the above implementation, it is determined whether each data type to be transmitted is a preset transmission data type to obtain a determination result, and then the first sub-transmission priority is determined according to the determination result of the data type to be transmitted, so as to give priority to the transmission of data corresponding to the data type to be transmitted with higher real-time requirements; when the data volume of the data type to be transmitted is higher, the probability of data congestion is higher, and vice versa, the probability of data congestion is lower, and in order to reduce the impact on the transmission of other data types to be transmitted, the data type to be transmitted corresponding to the small data volume should be transmitted first, and thus the second sub-transmission priority is determined according to the data volume and the preset sub-transmission priority, so as to effectively improve the accuracy of the second sub-transmission priority; and then the second transmission priority is determined according to the accurate first sub-transmission priority and the second sub-transmission priority, so as to effectively improve the accuracy of the second transmission priority.

[0079] Step S104: Data transmission is performed based on the first transmission priorities corresponding to all the data types to be transmitted and the second transmission priorities corresponding to all the data types to be transmitted.

[0080] Specifically, the specific process of performing data transmission based on the first transmission priority corresponding to each proximal device and the second transmission priority corresponding to all data to be transmitted of each proximal device can refer to the following embodiments.

[0081] Further, in the embodiment of the present application, based on the first transmission priority corresponding to each of all the data types to be transmitted and the second transmission priority corresponding to each of all the data types to be transmitted, data transmission is performed, including:

[0082] Obtain a first weight value corresponding to the first transmission priority and a second weight value corresponding to the second transmission priority;

[0083] Determine the comprehensive transmission priority corresponding to each of the data types to be transmitted based on the first transmission priority corresponding to each of the data types to be transmitted, the first weight value corresponding to each of the data types to be transmitted, the second transmission priority corresponding to each of the data types to be transmitted, and the second weight value corresponding to each of the data types to be transmitted;

[0084] All data to be transmitted are transmitted in sequence based on the comprehensive transmission priorities corresponding to all data types to be transmitted.

[0085] Specifically, the first weight value and the second weight value are both pre-set by a technician and input into the electronic device. In the embodiment of the present application, the first weight value> the second weight value. For each data type to be transmitted, in an achievable manner, the comprehensive transmission priority is determined according to a calculation formula, and the calculation formula is: comprehensive transmission priority = first transmission priority * first weight value + second transmission priority * second weight value, and then the comprehensive transmission priority can be obtained, and then all the data types to be transmitted are transmitted in sequence according to their corresponding comprehensive transmission priorities.

[0086] Based on the above implementation, the first weight value corresponding to the first transmission priority and the second weight value corresponding to the second transmission priority are obtained, and then according to the first transmission priority, first weight value, second transmission priority and second weight value corresponding to all data types to be transmitted, different weights are assigned according to the location of the proximal device and the data to be transmitted itself, and the weights are combined to obtain a comprehensive transmission priority, thereby effectively improving the accuracy of the comprehensive transmission priority.

[0087] Based on the above embodiments, the flow of people at different locations is different. When the flow of people is higher, the corresponding data transmission requirement is also higher. Therefore, it is necessary to determine the first transmission priority according to the location information of the proximal device. The first transmission priority is determined from the user dimension to effectively improve the accuracy of determining the first transmission priority; then the data type and data volume of the data to be transmitted are obtained. When the data type to be transmitted has high requirements for the real-time transmission, it should be transmitted first, and the probability of data congestion during data transmission increases with the increase in data volume. In order to avoid affecting data of other data types to be transmitted, the data volume should be considered. Therefore, the second transmission priority is determined from the dimensions of the data type to be transmitted and the data volume to effectively improve the accuracy of determining the second transmission priority; then data is transmitted according to the first transmission priority and the second transmission priority. Compared with the related art that directly determines the transmission priority according to the data type, the present application comprehensively considers the data to be transmitted itself while considering user needs, and then transmits it according to the accurate first transmission priority and second transmission priority, so as to achieve accurate determination of data transmission priority, and solves the problem of poor accuracy in determining data transmission priority in the related art, resulting in low data transmission efficiency.

[0088] Further, in the embodiment of the present application, after determining the target flow of people corresponding to all transmission moments based on the corresponding relationship and all transmission moments, the method further includes:

[0089] Get the current date corresponding to the transmission time, and determine whether the current date is a working day;

[0090] If the current date is a working day, the first transmission priority corresponding to each of all data types to be transmitted is determined directly based on the preset correspondence between the flow of people and the transmission priority and the target flow of people;

[0091] If the current date is not a working day, the target flow rate is corrected to obtain the corrected target flow rate;

[0092] Based on the preset correspondence between the human flow and the transmission priority and the corrected target human flow, the first transmission priority corresponding to each of all the data types to be transmitted is determined.

[0093] Specifically, the current date can be obtained through an electronic clock. It is understandable that the flow of people at the same time at the same location on weekdays and non-working days is also different. For example, on weekdays, the flow of people in the mall from 18:00 to 21:30 is higher than the flow of people in other periods, while on non-working days, the flow of people in the mall from 10:00 to 18:00 is higher than the flow of people in other periods. Therefore, it is necessary to determine whether the current date is within the date range corresponding to the working day. The specific process of correcting the target flow of people can refer to the following embodiment. It is understandable that a more accurate flow of people can be obtained through correction, and then the first transmission priority is determined based on the accurate flow of people, so as to effectively improve the accuracy of the first transmission priority.

[0094] Based on the above embodiment, the corresponding flow of people at the same location on weekdays and non-working days is also different, so it is necessary to determine whether it is a working day; if it is a working day, there is no need to correct the target flow of people; if it is not a working day, the flow of people corresponding to the location is higher than the flow on weekdays, so the target flow of people needs to be corrected to obtain a more accurate target flow of people.

[0095] Furthermore, in the embodiment of the present application, the target flow of people is corrected to obtain the corrected target flow of people, including:

[0096] Determine whether the current date is a preset date, where the preset date is a date corresponding to a holiday;

[0097] If the current date is a preset date, determining a first correction coefficient corresponding to the current date based on the correspondence between the preset date and the correction coefficient and the current date;

[0098] If the current date is not the preset date, the preset correction coefficient is determined as a second correction coefficient corresponding to the current date;

[0099] Correction is performed based on the correction coefficient and the target passenger flow to obtain a corrected target passenger flow, and the correction coefficient is the first correction coefficient or the second correction coefficient.

[0100] Specifically, in a leisure place, if the current date is a holiday, the corresponding flow of people is higher than the flow of people corresponding to the current date as a holiday, so it is necessary to determine whether the current date is a holiday. In the embodiment of the present application, the holiday is Saturday and / or Sunday. The correspondence between the preset date and the correction coefficient is set by the technician based on work experience. It is understandable that the flow of people corresponding to different holidays at the same location is also different. For example, the flow of people during the National Day is higher than the flow of people during the Qingming Festival at the same location, so it is necessary to determine the first correction coefficient corresponding to the current date. If it is not a holiday, it indicates that the current date is a holiday, and the preset correction coefficient can be directly determined as the second correction coefficient. The preset correction coefficient is pre-set by the technician and input into the electronic device. The corrected target flow of people is calculated based on the correction coefficient and the target flow of people, and the corrected target flow of people = correction coefficient * target flow of people.

[0101] Based on the above implementation, the flow of people corresponding to festivals is higher than that corresponding to holidays, so it is necessary to determine whether the current date is a festival; and the flow of people corresponding to different festivals at the same location is also different, so when it is a holiday, it is necessary to determine the correction coefficient corresponding to the current date based on the correspondence between the date and the correction coefficient; if it is not a holiday, the target flow of people is directly corrected according to the preset correction coefficient; different correction coefficients are determined for different dates to effectively improve the accuracy of the corrected target flow of people.

[0102] The above embodiment introduces a data management method from the perspective of method flow, and the following embodiment introduces a data management device from the perspective of a virtual module or a virtual unit. Please refer to the following embodiment for details.

[0103] The present application embodiment provides a data management device, such as Figure 3 As shown, the data management device may specifically include:

[0104] The acquisition module 201 is used to acquire the position information corresponding to each of the multiple proximal devices and the corresponding data information to be transmitted, where the data information to be transmitted includes: multiple data types to be transmitted and the data volume corresponding to each of the data types to be transmitted;

[0105] A first transmission priority determination module 202, configured to determine first transmission priorities corresponding to all data types to be transmitted based on location information corresponding to all proximal devices;

[0106] A second transmission priority determination module 203, configured to determine the second transmission priority corresponding to each of the data types to be transmitted based on all the data types to be transmitted and the data amounts of all the data types to be transmitted;

[0107] The data transmission module 204 is used to perform data transmission based on the first transmission priority corresponding to each of the data types to be transmitted and the second transmission priority corresponding to each of the data types to be transmitted.

[0108] In a possible implementation manner of the embodiment of the present application, when the first transmission priority determination module 202 determines the first transmission priority corresponding to each of all data types to be transmitted based on the location information corresponding to each of all proximal devices, it is used to:

[0109] Obtain the transmission time corresponding to each data type to be transmitted and the corresponding relationship between the flow of people at each location information and the transmission time;

[0110] Based on the corresponding relationship and all transmission moments, determine the target flow of people corresponding to all transmission moments respectively;

[0111] Based on the preset correspondence between human traffic and transmission priority and all target human traffic, a first transmission priority corresponding to each of all data types to be transmitted is determined.

[0112] In a possible implementation manner of the embodiment of the present application, the data management device further includes:

[0113] Correction modules for:

[0114] Get the current date corresponding to the transmission time, and determine whether the current date is a working day;

[0115] If the current date is a working day, the first transmission priority corresponding to each of all data types to be transmitted is determined directly based on the preset correspondence between the flow of people and the transmission priority and the target flow of people;

[0116] If the current date is not a working day, the target flow rate is corrected to obtain the corrected target flow rate;

[0117] Based on the preset correspondence between the human flow and the transmission priority and the corrected target human flow, the first transmission priority corresponding to each of all the data types to be transmitted is determined.

[0118] In a possible implementation of the embodiment of the present application, when the correction module corrects the target human flow to obtain the corrected target human flow, it is used to:

[0119] Determine whether the current date is a preset date, where the preset date is a date corresponding to a holiday;

[0120] If the current date is a preset date, determining a first correction coefficient corresponding to the current date based on the correspondence between the preset date and the correction coefficient and the current date;

[0121] If the current date is not the preset date, the preset correction coefficient is determined as a second correction coefficient corresponding to the current date;

[0122] Correction is performed based on the correction coefficient and the target passenger flow to obtain a corrected target passenger flow, and the correction coefficient is the first correction coefficient or the second correction coefficient.

[0123] In a possible implementation of the embodiment of the present application, the data transmission module 204, when performing data transmission based on the first transmission priority corresponding to all the data types to be transmitted and the second transmission priority corresponding to all the data types to be transmitted, is used to:

[0124] Obtain a first weight value corresponding to the first transmission priority and a second weight value corresponding to the second transmission priority;

[0125] Determine the comprehensive transmission priority corresponding to each of the data types to be transmitted based on the first transmission priority corresponding to each of the data types to be transmitted, the first weight value corresponding to each of the data types to be transmitted, the second transmission priority corresponding to each of the data types to be transmitted, and the second weight value corresponding to each of the data types to be transmitted;

[0126] All data types to be transmitted are transmitted in sequence based on the comprehensive transmission priorities corresponding to all data types to be transmitted.

[0127] In a possible implementation of the embodiment of the present application, the second transmission priority determination module 203 is used to:

[0128] Determine whether each data type to be transmitted is a preset transmission data type, and obtain a determination result, wherein the transmission real-time performance of the data corresponding to the preset transmission data type is higher than that of the data corresponding to the non-preset transmission data type;

[0129] Determine a first sub-transmission priority of each data type to be transmitted based on the determination result of each data type to be transmitted;

[0130] Determine a second sub-transmission priority of each data type to be transmitted based on a correspondence between a preset sub-transmission priority and a data amount and a data amount of each data type to be transmitted;

[0131] Determining an average transmission priority based on the first sub-transmission priority of each data type to be transmitted and the second sub-transmission priority of each data type to be transmitted;

[0132] The average transmission priority is determined as the second transmission priority of each type of data to be transmitted.

[0133] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of a data management device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0134] An electronic device is provided in an embodiment of the present application, such as Figure 4 As shown, Figure 4 The electronic device shown includes: a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, such as through a bus 302. Optionally, the electronic device may further include a transceiver 304. It should be noted that in actual applications, the transceiver 304 is not limited to one, and the structure of the electronic device does not constitute a limitation on the embodiments of the present application.

[0135] Processor 301 may be a CPU (Central Processing Unit), a general purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 301 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0136] The bus 302 may include a path to transmit information between the above components. The bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 302 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but it does not mean that there is only one bus or only one type of bus.

[0137] The memory 303 can be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0138] The memory 303 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the contents shown in the above method embodiment.

[0139] The electronic devices include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital TVs, desktop computers, etc. It can also be a server, etc. Figure 4 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0140] The present application embodiment provides a computer-readable storage medium, on which a computer program is stored, and when it is run on a computer, the computer can execute the corresponding content in the aforementioned method embodiment. It should be understood that although the various steps in the flowchart of the accompanying drawings are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and it can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0141] The above description is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A data management method, characterized in that: include: Acquire location information corresponding to each of the plurality of proximal devices and data information to be transmitted corresponding to each of the plurality of proximal devices, wherein the data information to be transmitted includes: a plurality of data types to be transmitted and data amounts corresponding to each of the data types to be transmitted; Determine, based on the respective location information of all the proximal devices, the first transmission priority corresponding to each of the data types to be transmitted; Determine, based on all the data types to be transmitted and the data amounts of all the data types to be transmitted, the second transmission priority corresponding to each of all the data types to be transmitted; Data transmission is performed based on the first transmission priorities corresponding to all the data types to be transmitted and the second transmission priorities corresponding to all the data types to be transmitted.

2. The data management method according to claim 1, characterized in that: The determining, based on the respective location information corresponding to all the proximal devices, the first transmission priority corresponding to each of the data types to be transmitted, comprises: Obtaining the transmission time corresponding to each of the data types to be transmitted and the corresponding relationship between the flow of people and the transmission time of each of the location information; Based on the corresponding relationship and all the transmission moments, determining the target flow of people corresponding to each of the transmission moments; Based on the preset correspondence between human traffic and transmission priority and all target human traffic, a first transmission priority corresponding to each of all the data types to be transmitted is determined.

3. The data management method according to claim 2, characterized in that: After determining the target flow rates corresponding to all the transmission moments based on the corresponding relationship and all the transmission moments, the method further includes: Obtaining a current date corresponding to the transmission time, and determining whether the current date is a working day; If the current date is the working day, directly based on the preset correspondence between the flow of people and the transmission priority and the target flow of people, determine the first transmission priority corresponding to each of the data types to be transmitted; If the current date is not the working day, the target flow of people is corrected to obtain a corrected target flow of people; Based on the preset correspondence between human traffic and transmission priority and the corrected target human traffic, a first transmission priority corresponding to each of all the data types to be transmitted is determined.

4. The data management method according to claim 1, characterized in that: The step of correcting the target flow of people to obtain a corrected target flow of people includes: Determine whether the current date is a preset date, where the preset date is a date corresponding to a holiday; If the current date is a preset date, determining a first correction coefficient corresponding to the current date based on a correspondence between a preset date and a correction coefficient and the current date; If the current date is not the preset date, determining the preset correction coefficient as a second correction coefficient corresponding to the current date; Correction is performed based on the correction coefficient and the target human flow to obtain a corrected target human flow, where the correction coefficient is the first correction coefficient or the second correction coefficient.

5. The data management method according to claim 1, characterized in that: The performing data transmission based on the first transmission priority corresponding to each of the data types to be transmitted and the second transmission priority corresponding to each of the data types to be transmitted, comprises: Obtaining a first weight value corresponding to the first transmission priority and a second weight value corresponding to the second transmission priority; Determine the comprehensive transmission priority corresponding to each of the data types to be transmitted based on the first transmission priority corresponding to each of the data types to be transmitted, the first weight value corresponding to each of the data types to be transmitted, the second transmission priority corresponding to each of the data types to be transmitted, and the second weight value corresponding to each of the data types to be transmitted; All the data types to be transmitted are transmitted in sequence based on the comprehensive transmission priorities corresponding to each of the data types to be transmitted.

6. The data management method according to claim 1, characterized in that: Determining, based on each data type to be transmitted and the data amount of each data type to be transmitted, a second transmission priority corresponding to each data type to be transmitted, includes: Determine whether each data type to be transmitted is a preset transmission data type, and obtain a determination result that the transmission real-time performance of the data corresponding to the preset transmission data type is higher than that of the data corresponding to the non-preset transmission data type; Determining a first sub-transmission priority level of each data type to be transmitted based on the determination result of each data type to be transmitted; Determining a second sub-transmission priority of each data type to be transmitted based on a correspondence between a preset sub-transmission priority and a data amount and the data amount of each data type to be transmitted; Determining an average transmission priority based on the first sub-transmission priority of each data type to be transmitted and the second sub-transmission priority of each data type to be transmitted; The average transmission priority is determined as the second transmission priority of each data type to be transmitted.

7. A data management device, characterized in that: include: An acquisition module, used to acquire location information corresponding to each of the multiple proximal devices and data information to be transmitted corresponding to each of the multiple proximal devices, wherein the data information to be transmitted includes: multiple data types to be transmitted and data volumes corresponding to each of the data types to be transmitted; A first transmission priority determination module, configured to determine first transmission priorities corresponding to each of the data types to be transmitted based on the location information corresponding to each of the proximal devices; A second transmission priority determination module, used to determine the second transmission priority corresponding to each of the data types to be transmitted based on the data types to be transmitted and the data amounts of the data types to be transmitted; The data transmission module is used to perform data transmission based on the first transmission priority corresponding to each of the data types to be transmitted and the second transmission priority corresponding to each of the data types to be transmitted.

8. An electronic device, characterized in that: include: at least one processor; Memory; At least one application, wherein the at least one application is stored in a memory and configured to be executed by at least one processor, and the at least one application is configured to: execute the data management method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed in a computer, the computer is caused to execute the data management method according to any one of claims 1 to 6.

Citation Information

Cited By

  • Interaction system and method of sewing equipment internet-of-things full-process encryption communication protocol

    CN120474765A