CN114726875A - Deviation reporting method, device and related equipment - Google Patents

Deviation reporting method, device and related equipment Download PDF

Info

Publication number
CN114726875A
CN114726875A CN202110005326.3A CN202110005326A CN114726875A CN 114726875 A CN114726875 A CN 114726875A CN 202110005326 A CN202110005326 A CN 202110005326A CN 114726875 A CN114726875 A CN 114726875A
Authority
CN
China
Prior art keywords
base station
terminal
deviation
displacement data
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110005326.3A
Other languages
Chinese (zh)
Inventor
董文宇
阎军智
杨波
杨成军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110005326.3A priority Critical patent/CN114726875A/en
Publication of CN114726875A publication Critical patent/CN114726875A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a deviation reporting method, a deviation reporting device and related equipment. The terminal side method comprises the following steps: acquiring terminal displacement data in a preset time period; acquiring base station displacement data of the terminal attached base station in the preset time period from a base station data management server; comparing the terminal displacement data with the base station displacement data, and judging whether a base station deviation state occurs or not; and if the base station deviation state is judged to occur, reporting the base station deviation state corresponding to the preset time period to the base station data management server. Therefore, the terminal can automatically and objectively monitor whether the base station deviation state occurs by using the terminal displacement data automatically acquired by the terminal and the base station displacement data attached to the base station, the legality of the base station deviation state reported by the terminal can be verified by the base station data management server, the condition of mistakenly reporting or maliciously reporting the base station deviation state is effectively avoided, and the accuracy, objectivity and timeliness of base station deviation monitoring and reporting are improved.

Description

Deviation reporting method, device and related equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a method, a device and related equipment for reporting deviation.
Background
The position data of the base station has important significance for optimizing the mobile communication network and the mobile communication value-added service. For example, based on the base station location, the time-space trajectory of the user can be restored and then put into application such as population big data, industry tracking, major activity security monitoring, and the like.
In the real world, the base station position data often has deviation, that is, the corresponding relation of Cell ID-longitude and latitude has errors. On one hand, in the input process of the position data of the base station, errors are introduced due to manual operation of a construction team; on the one hand, the actual coverage area of the base station deviates from the design target due to unexpected situations in base station configuration and construction, or situations such as blocking reflection in the distribution environment.
The existing solution mainly depends on the network management system of an operator and is a centralized organization form. Namely, the operator assigns a special network priority/network management team, finds out the problem of wrong position marking of the base station through drive test, customer complaints and the like, and then modifies the problem.
The existing solution is often high in cost, low in efficiency and poor in effect. The drive test is limited by vehicle resources, drive test routes and the like, and all areas covered by the network cannot be traversed. Often, the complaint of the user only records the final result felt by ordinary people, such as frequent call drop, large data statistical deviation and the like, and is difficult to judge because the position of a certain base station is wrong. Therefore, the problem of data error of the base station is difficult to find and accurately position in time and is difficult to solve.
Therefore, the existing monitoring scheme for the position deviation of the base station has the technical problems of poor timeliness and accuracy.
Disclosure of Invention
The embodiment of the invention provides a deviation reporting method, a deviation reporting device and related equipment, and aims to solve the problems of poor timeliness and accuracy in the existing base station position deviation monitoring scheme.
In order to solve the problems, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for reporting a deviation, where the method is executed by a terminal, and the method includes:
acquiring terminal displacement data in a preset time period;
acquiring base station displacement data of the terminal attached base station in the preset time period from a base station data management server;
comparing the terminal displacement data with the base station displacement data, and judging whether a base station deviation state occurs or not;
and if the base station deviation state is judged to occur, reporting the base station deviation state corresponding to the preset time period to the base station data management server.
In a second aspect, an embodiment of the present invention provides a method for reporting a deviation, where the method is executed by a base station data management server, and the method includes:
sending base station displacement data corresponding to a base station to which the terminal is attached within a preset time period to the terminal;
receiving terminal displacement data reported by the terminal when judging that a base station deviation state occurs;
and verifying the validity of the deviation state of the base station according to the terminal displacement data.
In a third aspect, an embodiment of the present invention further provides a deviation reporting method, which is performed by a block chain network, where the block chain network includes a block chain, a terminal uplink node, and a server uplink node, and the method includes:
receiving a data write request of a terminal through the uplink node of the terminal;
writing a first hash value of the terminal displacement data reported by the terminal into a block chain;
receiving a data acquisition request of a base station data management server through the uplink node of the server, wherein the data acquisition request is used for requesting to acquire the terminal displacement data;
and sending the terminal displacement data to the base station data management server.
In a fourth aspect, an embodiment of the present invention further provides a device for reporting a deviation, including:
the first transceiver is used for acquiring terminal displacement data in a preset time period and acquiring base station displacement data of a terminal attached base station in the preset time period from a base station data management server;
the first processor is used for comparing the terminal displacement data with the base station displacement data and judging whether a base station deviation state occurs or not;
the first transceiver is further configured to report the base station deviation state corresponding to the preset time period to the base station data management server if it is determined that the base station deviation state occurs.
In a fifth aspect, an embodiment of the present invention further provides a device for reporting a deviation, where the device includes:
the second transceiver is used for sending base station displacement data of a base station to which the terminal is attached in a corresponding preset time period to the terminal and receiving terminal displacement data reported by the terminal when the terminal judges that a base station deviation state occurs;
and the second processor is used for verifying the validity of the deviation state of the base station according to the terminal displacement data.
In a sixth aspect, an embodiment of the present invention further provides a device for reporting a deviation, where the device includes:
a third transceiver for receiving a data write request of a terminal through the uplink node of the terminal;
the third processor is used for writing the first hash value of the terminal displacement data reported by the terminal into a block chain;
the third transceiver is further configured to receive, through the uplink node of the server, a data acquisition request of a base station data management server, where the data acquisition request is used to request to acquire the terminal displacement data, and send the terminal displacement data to the base station data management server.
In a seventh aspect, an embodiment of the present invention further provides a communication device, including: a transceiver, a memory, a processor, and a program stored on the memory and executable on the processor; wherein the processor is configured to read a program in the memory to implement the steps of the method according to the first aspect; or, a step in a method as described in the second aspect above; or, a step in a method according to the aforementioned third aspect.
In an eighth aspect, the embodiments of the present invention further provide a readable storage medium, for storing a program, where the program, when executed by a processor, implements the steps in the method according to the foregoing first aspect, or implements the steps in the method according to the foregoing second aspect.
In the embodiment of the invention, in order to monitor the base station deviation, the terminal acquires the terminal displacement data in a preset time period, and the base station displacement data of the terminal attached to the base station is acquired through the base station data management server and is compared with the base station displacement data to judge whether the base station deviation state occurs. If the terminal has a base station deviation state, the terminal can directly report the base station deviation state to a base station data management server. In addition, the base station data management server can also verify the validity of the deviation state of the base station. Therefore, whether the base station deviation state occurs or not can be automatically and objectively monitored by the terminal through the terminal displacement data automatically collected by the terminal and the base station displacement data attached to the base station, the legality of the base station deviation state reported by the terminal can be verified through the base station data management server, the condition of reporting the base station deviation state by mistake or maliciously is effectively avoided, and the accuracy, the objectivity and the timeliness of base station deviation monitoring reporting are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of a network system to which an embodiment of the present invention is applicable;
fig. 2 is a schematic flow chart of a method for reporting a deviation according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a network architecture provided by an embodiment of the present invention;
fig. 4 is a schematic diagram of a terminal provided in an embodiment of the present invention;
FIG. 5 is one of the schematic diagrams of the deviation comparison provided by the embodiment of the present invention;
FIG. 6 is a second schematic diagram illustrating deviation comparison provided by the embodiment of the present invention;
fig. 7 is a second flowchart of a method for reporting a deviation according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a base station data management server according to an embodiment of the present invention;
fig. 9 is a third schematic flowchart of a method for reporting a deviation according to an embodiment of the present invention;
fig. 10 is a schematic diagram of a blockchain network provided by an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a deviation reporting apparatus according to an embodiment of the present invention;
fig. 12 is a second schematic structural diagram of a deviation reporting apparatus according to an embodiment of the present invention;
fig. 13 is a third schematic structural diagram of a deviation reporting apparatus according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of a communication device provided in the implementation of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the embodiments of the present invention are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Further, as used herein, "and/or" means at least one of the connected objects, e.g., a and/or B and/or C, means 7 cases including a alone, B alone, C alone, and both a and B present, B and C present, both a and C present, and A, B and C present.
Referring to fig. 1, fig. 1 is a block diagram of a network system to which an embodiment of the present invention is applicable, and as shown in fig. 1, the network system includes a terminal 11, a base station data management server 12, and a blockchain network 13. The terminal 11 and the base station data management server 12 can communicate with the blockchain network 13.
In practical applications, the terminal may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or a vehicle-mounted Device.
The following describes a method for reporting a deviation according to an embodiment of the present invention.
Referring to fig. 2, fig. 2 is a flowchart of a method for reporting a deviation according to an embodiment of the present invention. The method for reporting the deviation shown in fig. 2 may be performed by a terminal.
As shown in fig. 2, the method for reporting a deviation may include the following steps:
step 201, collecting terminal displacement data in a preset time period;
one or more positioning components, such as a satellite positioning GPS, a bluetooth positioning component, a WiFi positioning component, and the like, are preconfigured in the terminal, and in the operation process of the terminal, the positioning components may acquire a data set of the mobile position of the terminal in real time or periodically, and data acquired by the positioning components in the terminal may be defined as terminal displacement data. In this embodiment, the terminal displacement data is data obtained based on at least one of satellite positioning, WiFi positioning, and bluetooth positioning. Of course, the terminal is also usually provided with associated components for positioning the base station, and in this method, the base station positioning scheme in the terminal is omitted.
In addition, when the terminal attaches to the base station, the attached base station also acquires the displacement data of the terminal according to a signaling acquisition mode, and the displacement data can be distinguished and defined as the displacement data of the base station. The base station reports the mobile communication signaling containing the base station displacement data to the base station data management server.
Considering that if the base station has a position deviation, a certain deviation exists between the base station displacement data of the terminal fed back by the base station and the terminal displacement data acquired by the terminal, whether the base station has the deviation can be judged according to the deviation.
Specifically, when the terminal monitors the base station deviation, the terminal may collect terminal displacement data within a certain preset time period, where the preset time period may be a monitoring period or a user-defined time period. When monitoring the base station deviation by using the collected terminal displacement data, the terminal needs to make clear the preset time period corresponding to the terminal displacement data, especially the starting time and the ending time.
Step 202, obtaining base station displacement data of the terminal attached base station in the preset time period from a base station data management server;
when the terminal carries out deviation monitoring, after the terminal displacement data is obtained, the base station displacement data in the same time period is obtained. The base station data management server stores the base station displacement data reported by each base station, and the terminal can request the base station displacement data in the preset time period from the base station data management server.
Step 203, comparing the terminal displacement data with the base station displacement data, and judging whether a base station deviation state occurs;
and after the terminal acquires the terminal displacement data and the base station displacement data corresponding to the same preset time period, the terminal and the base station displacement data are compared. Generally, if there is a difference between two types of displacement data, it can be determined that the base station deviation state occurs, and if the two types of displacement data are the same, it is determined that the base station deviation state does not occur. Of course, in consideration of the error situation, a deviation threshold may be set, that is, the deviation state of the base station is determined to occur when the difference between the two exceeds the deviation threshold, so that the accuracy of the base station deviation state statistics can be improved.
And 204, if the base station deviation state is judged to occur, reporting the base station deviation state corresponding to the preset time period to the base station data management server.
And after judging that the base station deviation state occurs according to the steps, the terminal can report the base station deviation state corresponding to the preset time period to the base station data management server. After receiving the base station deviation state reported by the terminal, the base station data management server can directly record or inform relevant management personnel to process the base station deviation fault. The base station can also count the base station deviation state at this time, and after collecting the base station deviation state for a certain number of times and reporting, the base station deviation state is uniformly fed back to related managers to process the base station deviation fault.
As shown in fig. 3, the terminal includes a network management agent module, which is connected to the base station data management server. The inside can transfer three lower floor's modules:
1. downloading the network track: and downloading the network side displacement track and the base station displacement data from the base station data management server.
2. Judging the track abnormity: and comparing the base station displacement data with the terminal displacement data to determine whether the network side displacement track has overlarge deviation. The terminal can provide auxiliary means, such as graphical display, automatic evaluation and the like.
3. Reporting track abnormity: if the deviation between the base station displacement data and the terminal displacement data in a certain time period is overlarge, the terminal displacement track in the time period can be reported to the base station data management system.
Certainly, in order to avoid the possible erroneous reporting or malicious reporting of the terminal, the base station data management server may also perform validity verification on the received base station bias state after receiving the base station bias state reported by the terminal. The validity verification method may be various, for example, obtain and compare the relevant displacement data again, or verify the validity of the reported terminal identity, and the like, without limitation. Misjudgment is caused to the correct base station, and greater negative effects are brought to network operation and maintenance. The errors reported by the user may be subjective and malicious, or may be due to a memory error of the movement track.
The base station deviation reporting method of the embodiment of the invention can realize that the terminal utilizes the terminal displacement data automatically collected by the terminal and the base station displacement data attached to the base station to automatically and objectively monitor whether the base station deviation state occurs, and can also verify the legality of the base station deviation state reported by the terminal through the base station data management server, thereby effectively avoiding the situation of error reporting or malicious reporting of the base station deviation state and improving the accuracy, objectivity and timeliness of base station deviation monitoring and reporting. And a crowd funding mode is adopted, and the abnormality of the position data of the base station is discovered and reported by vast users. The abnormal position of the base station is indirectly found by comparing the displacement track recorded by the terminal with the displacement track of the base station on the network side, but the abnormal position data of the base station is found by direct observation, and the comprehensiveness and timeliness of the deviation of the base station are stronger.
On the basis of the above embodiment, after the step of collecting the terminal displacement data in the preset time period, the method may further include:
and calculating a first hash value according to the terminal displacement data, and reporting the first hash value to a block chain network.
In this embodiment, as shown in fig. 4, a block chain network is introduced to cooperate with the base station to implement the base station deviation reporting and the validity verification. Specifically, the whole network architecture comprises a block chain network, a terminal and a base station data management server, and data interaction is realized in the network architecture through a mobile communication network. As shown in fig. 3, a block chain agent module is added in the terminal, and the block chain network is connected to the outside. Inside, the functional module of transferring two lower floors:
1. and generating a terminal track hash value.
And taking out the terminal track of a specific time period from the terminal track database, constructing a character string and generating a hash value.
To facilitate subsequent business logic processing, such as trace exception contrast analysis, generation of exception reports, etc., it is proposed to segment the trace, for example, by one segment per hour.
2. And uploading the hash value of the terminal track and the random number r used when the hash is generated to a block chain network, and retrying as required until the record is effective.
In fig. 4, step (i) is a relevant flow of the user of the terminal in the moving process, and includes:
a terminal side: and the terminal records the displacement track of the terminal, generates a hash value of the track, defines the hash value as a first hash value and uploads the first hash value to the block chain network.
The displacement track recorded by the terminal side is a time-series ordered set of a series of longitude and latitude coordinates plus a start-stop time period.
The terminal displacement track is an array/ordered set of a time period plus longitude and latitude, and is ordered according to time. The data structure pseudo code is as follows:
{
msisdn,// Mobile phone number
TermianlTrail:ordered-set-of LocationPoint{
StartDateTime,// Start time
EndDateTime,// end time
Longituude,// Longitude
Latitude// Latitude
}//LocationPoint
}//TermianlTrail
}。
For example: { Msisdn ═ 139xxxxxxxx
TerminalTrail={
Location point {//9 to 9 points semi-innovative building
StartDateTime=2020-08-31 09:00:00,
EndDateTime=2020-08-31 09:29:59,
Longitude=116.357988,
Latitude=39.902538
},
locationPoint {//9 point and half to 9 point 45 in the group company
StartDateTime=2020-08-31 09:30:00,
EndDateTime=2020-08-31 09:45:00,
Longitude=116.36733,
Latitude=39.917709
},
……
}
}。
And the terminal collects the displacement tracks at regular time intervals, such as 1 hour, calculates a first hash value and uploads the first hash value to the block chain network.
By calculating and uploading the hash value of the original track record, on one hand, the data volume is reduced, the storage space load of the block chain network is reduced, and on the other hand, the user privacy is protected.
A network side: the mobile communication network reports the mobile communication signaling to the base station data management server according to the existing signaling collection mode.
Further, the step of calculating a first hash value according to the terminal displacement data in the preset time period and reporting the first hash value to a block chain network may include:
calculating the first hash value according to the terminal displacement data and a random number;
encrypting the first hash value by respectively using a terminal private key and a block chain public key;
and associating and reporting the encrypted first hash value and the random number to the block chain network.
For the convenience of subsequent business logic processing, the displacement trajectory may be segmented by time periods, such as one segment per hour, and the first hash value hash is calculated for each segment.
Inputting parameters:
a character string S terminal track segment formed by the terminal displacement track segments;
block chaining network public key: and PE block chains. PE block chain (x) means that x is encrypted with public key PE block chain;
the terminal private key D terminal. The D terminal (x) means that the x is encrypted by a private key D terminal;
a random number r.
The Hash algorithm required by the present invention can be expressed as:
hash value ═ PE blockchain (D-terminal (Hash (S-terminal track fragment, r)));
the HASH is a general HASH algorithm, such as SHA-256. The HASH algorithm represented by HASH is not limited by the present invention.
And uploading the hash value obtained by calculation to the block chain network together with the random numbers r, msisdn, the start-stop time StartDateTime and the EndDateTime. When the validity of the base station deviation state reported by the terminal is verified, the base station data management server can acquire the first hash value and the random number from the block chain network for comparison and verification.
According to another embodiment of the present disclosure, in order to protect the security of the terminal data, the base station displacement data is an area range parameter after a desensitization process. The step of comparing the terminal displacement data with the base station displacement data to determine whether a base station deviation state occurs may include:
judging whether a deviation point exists in terminal displacement track points corresponding to the terminal displacement data, wherein the deviation point is a track point of which the deviation distance of an area range corresponding to the area range parameter exceeds a preset distance threshold;
and if deviation points exist in the terminal displacement track points, judging that a base station deviation state occurs.
In this embodiment, in order to prevent the base station data from being leaked and causing damages such as theft of base station equipment, desensitization is required when a user requests the base station displacement data, and the obtained area range parameter is used to represent the coordinate parameter of the corresponding area range, that is, the longitude and latitude of the base station are replaced by a geographical area range. The geographical area range, which may be a prototype (represented by a center point, a radius) or a polygon (represented by an ordered set of latitude and longitude of the respective vertices), should roughly correspond to the range covered by the base station, as shown in fig. 5 in particular. For example, the latitude and longitude of the base station displacement data is actually:
Figure BDA0002883077580000101
the regional scope parameters after desensitization treatment, i.e. the geographical range (circles), are schematically:
Figure BDA0002883077580000102
Figure BDA0002883077580000111
in a specific example, a determination process that the terminal displacement trajectory and the network-side trajectory are unreasonably deviated is specifically explained. If the terminal displacement track and the network track deviate to an unreasonable degree, the deviation is probably caused by the error of the base station position data.
The judgment method comprises one of the following two methods:
1. and directly displaying the information to the user for the judgment of the user.
2. And (3) automatic judgment: some segments of the terminal displacement trajectory exceed the range of the network side trajectory after desensitization.
And (3) an automatic judgment algorithm:
if a certain point P exists on the terminal displacement trajectory, so that P satisfies the following two conditions for each geographical range after desensitization processing of the network-side trajectory, it can be determined that there is a deviation between the terminal displacement trajectory and the network-side trajectory. Namely:
p is not in any circular area, namely the Euclidean distance from P to the center of a circle is larger than the radius of the circle;
p is not within any polygon area.
The present invention is not limited to the algorithm, and for example, parity of the number of intersections between the radiation from P and the polygon is determined.
As shown in fig. 6, the dotted line is the area range of the base station displacement data after desensitization, the solid line is the terminal displacement data, there is no deviation on the left, and there is a deviation of point P on the right.
In summary, the deviation reporting method provided in this embodiment provides a base station position data deviation rectifying method based on crowd funding + track comparison + block chain malicious prevention. The crowd funding finds that the position data of the base station is abnormal, and does not depend on a professional network management team to check and find that the position data of the base station is abnormal. The basis for checking the abnormity is that the displacement track of the user side is different from the displacement track recorded by the network side, and the method is an indirect method; rather than by directly observing the location of the base station. And, adopt the block chain, discern and guard against the malicious report. The problem of the base station is found by the user, the base station can be checked in 7 × 24 hours in all base stations, and the method does not need operators to invest too many resources and has high efficiency. And a block chain is introduced, so that the privacy of the user is protected from being disclosed, malicious reports are eliminated, and the method is safe and reliable.
Referring to fig. 7, fig. 7 is a second flowchart of a method for reporting a deviation according to an embodiment of the present invention. The deviation reporting method of the embodiment of the invention can be executed by a base station data management server.
As shown in fig. 7, the method for reporting a deviation may include the following steps:
step 701, sending base station displacement data corresponding to a base station to which the terminal is attached within a preset time period to the terminal;
as shown in fig. 8, a functional structure diagram of the base station data management server is divided into 2 modules, that is, a network side track is maintained and base station data abnormality is determined. Sub-functional modules may be subdivided below these two modules.
And the module for maintaining the network side track is used for acquiring the communication signaling by the module and generating the network side track of the specific user. The network-side track is also composed of a series of location points, and the longitude and latitude of each location point is usually the longitude and latitude of the base station to which the user is attached. When the user requests to inquire the track of the network side, the module reads the track record of the user in a specific time period and sends the track record to the user. In order to protect the data of the operator base station from being leaked, the latitude and longitude of the base station needs to be replaced by a geographic area range, such as a circular area or a polygonal area.
Step 702, receiving terminal displacement data reported by the terminal when judging that a base station deviation state occurs;
and 703, verifying the validity of the deviation state of the base station according to the terminal displacement data.
The module for judging the data exception of the base station comprises 3 subfunctions:
receiving a terminal track, and receiving a segment (containing a random number r) of a certain time period of the terminal displacement track reported by a user;
and verifying the hash of the terminal track, and judging whether the terminal displacement track uploaded by the user is real or not.
The method comprises the following specific steps: (1) calculating a hash value aiming at a segment (and a random number r) of a terminal displacement track uploaded by a user; (2) inquiring and downloading the hash value of the user displacement track in a specific time period from the block chain; (3) comparing the two hash values, and if the two hash values are equal, determining that the terminal displacement track uploaded by the user is real and effective; otherwise, the report is considered to be malicious.
Reporting the base station abnormality, if the malicious reporting of the user is eliminated in the previous step, generating a report of the base station position data abnormality, attaching a terminal displacement track, a network side track and the like, and reporting to a network administrator.
Optionally, in this step, the terminal displacement trajectory and the network side trajectory may be automatically compared, and details of the base station position data abnormality may be further confirmed.
The base station data management system may temporarily not report to the administrator, but rather accumulate reports of deviations associated with that base station; when the number of reports exceeds a threshold, the administrator is reported again to further eliminate false positives.
Further, the step of verifying the validity of the base station deviation state according to the terminal displacement data includes:
downloading a first hash value of the terminal corresponding to the preset time period from the blockchain network;
calculating a second hash value according to the terminal displacement data;
and verifying the validity of the deviation state of the base station according to the first hash value and the second hash value.
Further, the step of verifying the validity of the base station bias state according to the terminal displacement data further includes:
downloading a random number corresponding to the first hash value from the blockchain network;
the step of calculating a second hash value according to the terminal displacement data includes:
and calculating a second hash value according to the terminal displacement data and the random number.
And the base station data management system calculates the hash value of the side track record of the terminal, and inquires the hash value corresponding to the user (msisdn) and the displacement track of the time period (start and stop time period) from the block chain network. If the hash values are the same, judging that the user report is a valid report; and if the hash is different, judging that the report is malicious.
The deviation reporting method of the embodiment can not only realize that the terminal automatically and objectively monitors whether the base station deviation state occurs by using the terminal displacement data automatically acquired by the terminal and the base station displacement data attached to the base station, but also verify the validity of the base station deviation state reported by the terminal through the base station data management server, effectively avoid the situation of reporting the base station deviation state by mistake or maliciously, and improve the accuracy, objectivity and timeliness of the base station deviation monitoring and reporting.
It should be noted that, this embodiment is implemented as a terminal corresponding to the above method embodiment, and therefore, reference may be made to the relevant description in the above method embodiment, and the same beneficial effects may be achieved. To avoid duplicate description, it is not repeated herein.
Referring to fig. 9, fig. 9 is a third schematic flowchart of a method for reporting a deviation according to an embodiment of the present invention. The method for reporting the deviation can be executed by a block chain network. The blockchain network comprises blockchains, a terminal uplink node and a server uplink node, and the method shown in fig. 9 comprises the following steps:
step 901, receiving a data write request of a terminal through a uplink node of the terminal;
in this embodiment, the core functions of the blockchain network include: (1) the hash of the terminal displacement track reported by the terminal can be recorded; (2) and provides a query function.
As shown in fig. 10, the blockchain network includes a blockchain portion and a membership management portion.
A blockchain part: block chain account book, sequencing node, terminal chain node and network management chain node.
The method for completing the block chain operation initiated by the terminal by the uplink node of the terminal comprises the following steps: the end path hash is written to the block chain.
The method for completing the block chain operation initiated by the network management system by the network management uplink node comprises the following steps: and reading the block chain, and inquiring the terminal track hash of a specific terminal and a specific time period.
The sequencing node acknowledges that the uplink operation notification is written into a blockchain ledger, and so on.
And the block chain account book realizes data storage and state recording of the block chain.
The member identity management part: the system comprises modules of identity management, CA, authentication and the like.
Identity management is responsible for maintaining associations between accounts, roles, and permissions.
The CA is responsible for generating and issuing identity authentication certificates of the network management system and each terminal.
The authentication is responsible for authentication when the user accesses.
Step 902, writing a first hash value of the terminal displacement data reported by the terminal into a block chain;
step 903, receiving a data acquisition request of a base station data management server through a uplink node of a server, wherein the data acquisition request is used for requesting to acquire the terminal displacement data;
step 904, sending the terminal displacement data to the base station data management server.
Further, as shown in fig. 10, the block chain further includes a certificate verification node, and the step of writing the first hash value of the terminal displacement data reported by the terminal into the block chain includes:
verifying the validity of the certificate of the terminal through the certificate verification node;
under the condition that the validity of the certificate of the terminal passes verification, writing a first hash value of terminal displacement data reported by the terminal into a block chain through a link point on the terminal;
the step of sending the terminal displacement data to the base station data management server includes:
verifying the validity of the certificate of the base station data management server through the certificate verification node;
and under the condition that the certificate of the base station data management server passes the validity verification, sending the terminal displacement data to the base station data management server through the uplink node of the server.
The deviation reporting method of the embodiment can not only realize that the terminal automatically and objectively monitors whether the base station deviation state occurs by using the terminal displacement data automatically acquired by the terminal and the base station displacement data attached to the base station, but also verify the validity of the base station deviation state reported by the terminal through the base station data management server, effectively avoid the situation of reporting the base station deviation state by mistake or maliciously, and improve the accuracy, objectivity and timeliness of the base station deviation monitoring and reporting.
It should be noted that, the present embodiment is implemented as a terminal and a base station data management server corresponding to the foregoing method embodiment, and therefore, reference may be made to the relevant description in the foregoing method embodiment, and the same beneficial effects may be achieved. To avoid repetition of the description, the description is omitted.
The various optional implementations described in the embodiments of the present invention may be implemented in combination with each other or implemented separately without conflict, and the embodiments of the present invention are not limited thereto.
Referring to fig. 11, fig. 11 is a diagram illustrating a structure of a device for reporting a deviation according to an embodiment of the present invention. As shown in fig. 11, the apparatus 1100 for reporting a deviation includes:
the first transceiver 1101 is configured to collect terminal displacement data in a preset time period, and acquire base station displacement data of a terminal attached to a base station in the preset time period from a base station data management server;
a first processor 1102, configured to compare the terminal displacement data with the base station displacement data, and determine whether a base station deviation state occurs;
the first transceiver 1101 is further configured to report the base station deviation state corresponding to the preset time period to the base station data management server if it is determined that the base station deviation state occurs.
Optionally, the first processor 1102 is further configured to:
and calculating a first hash value according to the terminal displacement data, and reporting the first hash value to a block chain network.
Optionally, the first processor 1102 is further configured to:
calculating the first hash value according to the terminal displacement data and a random number;
encrypting the first hash value by respectively using a terminal private key and a block chain public key;
the first transceiver 1101 is further configured to:
and associating and reporting the encrypted first hash value and the random number to the block chain network.
Optionally, the base station displacement data is an area range parameter after desensitization processing, and the first processor 1102 is further configured to:
judging whether a deviation point exists in terminal displacement track points corresponding to the terminal displacement data, wherein the deviation point is a track point of which the deviation distance of an area range corresponding to the area range parameter exceeds a preset distance threshold value;
and if deviation points exist in the terminal displacement track points, judging that a base station deviation state occurs.
Optionally, the terminal displacement data is obtained based on at least one of satellite positioning, WiFi positioning, and bluetooth positioning.
The deviation reporting apparatus 1100 can implement each process of the method embodiment of fig. 2 in the embodiment of the present invention, and achieve the same beneficial effects, and is not described herein again to avoid repetition.
Referring to fig. 12, fig. 12 is a second structural diagram of a deviation reporting apparatus according to an embodiment of the present invention. As shown in fig. 12, the deviation reporting apparatus 1200 includes:
a second transceiver 1201, configured to send, to a terminal, base station displacement data corresponding to a base station to which the terminal is attached within a preset time period, and receive terminal displacement data reported by the terminal when it is determined that a base station deviation state occurs;
a second processor 1202, configured to verify validity of the base station bias state according to the terminal displacement data.
Optionally, the second processor 1202 is configured to:
downloading a first hash value of the terminal corresponding to the preset time period from a block chain network;
calculating a second hash value according to the terminal displacement data;
and verifying the validity of the deviation state of the base station according to the first hash value and the second hash value.
Optionally, the second processor 1202 is configured to:
downloading a random number corresponding to the first hash value from the blockchain network;
and calculating the second hash value according to the terminal displacement data and the random number.
The deviation reporting apparatus 1200 can implement each process of the method embodiment in fig. 7 in the embodiment of the present invention, and achieve the same beneficial effects, and is not described herein again to avoid repetition.
Referring to fig. 13, fig. 13 is a third structural diagram of a deviation reporting apparatus according to an embodiment of the present invention. As shown in fig. 13, the apparatus 1300 for reporting a deviation includes:
a third transceiver 1301, configured to receive a data write request of a terminal through the uplink node of the terminal;
a third processor 1302, configured to write the first hash value of the terminal displacement data reported by the terminal into a block chain;
the third transceiver 1301 is further configured to receive, through the uplink node of the server, a data acquisition request of a base station data management server, where the data acquisition request is used to request to acquire the terminal displacement data, and send the terminal displacement data to the base station data management server
The blockchain further comprises a certificate verification node, the third processor 1302 is further configured to:
verifying the validity of the certificate of the terminal through the certificate verification node;
under the condition that the validity of the certificate of the terminal passes verification, writing a first hash value of terminal displacement data reported by the terminal into a block chain through a link point on the terminal;
verifying the validity of the certificate of the base station data management server through the certificate verification node;
and under the condition that the certificate of the base station data management server passes the validity verification, sending the terminal displacement data to the base station data management server through the uplink node of the server.
The deviation reporting apparatus 1300 can implement each process of the method embodiment in fig. 9 in the embodiment of the present invention, and achieve the same beneficial effects, and is not described herein again to avoid repetition.
The embodiment of the invention also provides the communication equipment. Referring to fig. 14, a communication device may include a processor 1401, a memory 1402, and a program 14021 stored on the memory 1402 and operable on the processor 1401.
In the case that the communication device is a terminal, when being executed by the processor 1401, the program 14021 may implement any steps in the method embodiment corresponding to fig. 2 and achieve the same beneficial effects, and will not be described herein again. In the case that the communication device is a base station data management server, when being executed by the processor 1401, the program 14021 may implement any step in the method embodiment corresponding to fig. 7 and achieve the same beneficial effect, and will not be described herein again. In the case that the communication device is a blockchain network, when being executed by the processor 1401, the program 14021 may implement any step in the method embodiment corresponding to fig. 9 and achieve the same advantageous effect, and will not be described again.
Those skilled in the art will appreciate that all or part of the steps of the method according to the above embodiments may be implemented by hardware associated with program instructions, and the program may be stored in a readable medium. An embodiment of the present invention further provides a readable storage medium, where a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, any step in the method embodiments corresponding to fig. 2, fig. 7, or fig. 9 may be implemented, and the same technical effect may be achieved, and in order to avoid repetition, details are not repeated.
The storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

1. A method for reporting a deviation is characterized in that the method is executed by a terminal, and the method comprises the following steps:
acquiring terminal displacement data in a preset time period;
acquiring base station displacement data of the terminal attached base station in the preset time period from a base station data management server;
comparing the terminal displacement data with the base station displacement data, and judging whether a base station deviation state occurs or not;
and if the base station deviation state is judged to occur, reporting the base station deviation state corresponding to the preset time period to the base station data management server.
2. The method of claim 1, wherein after the step of collecting the terminal displacement data for a preset time period, the method further comprises:
and calculating a first hash value according to the terminal displacement data, and reporting the first hash value to a block chain network.
3. The method according to claim 2, wherein the step of calculating a first hash value according to the terminal displacement data and reporting the first hash value to a blockchain network comprises:
calculating the first hash value according to the terminal displacement data and a random number;
encrypting the first hash value by respectively using a terminal private key and a block chain public key;
and associating and reporting the encrypted first hash value and the random number to the block chain network.
4. The method according to claim 1, wherein the base station displacement data is a desensitized area range parameter, and the step of comparing the terminal displacement data with the base station displacement data to determine whether a base station deviation state occurs comprises:
judging whether a deviation point exists in terminal displacement track points corresponding to the terminal displacement data, wherein the deviation point is a track point of which the deviation distance of an area range corresponding to the area range parameter exceeds a preset distance threshold;
and if deviation points exist in the terminal displacement track points, judging that a base station deviation state occurs.
5. A deviation reporting method is characterized by being executed by a base station data management server, and comprises the following steps:
sending base station displacement data corresponding to a base station to which the terminal is attached within a preset time period to the terminal;
receiving terminal displacement data reported by the terminal when judging that a base station deviation state occurs;
and verifying the validity of the deviation state of the base station according to the terminal displacement data.
6. The method of claim 5, wherein the step of verifying the validity of the bias state of the base station according to the terminal displacement data comprises:
downloading a first hash value of the terminal corresponding to the preset time period from a block chain network;
calculating a second hash value according to the terminal displacement data;
and verifying the validity of the deviation state of the base station according to the first hash value and the second hash value.
7. The method according to claim 6, wherein the step of downloading the first hash value of the terminal corresponding to the preset time period from the blockchain network further comprises:
downloading a random number corresponding to the first hash value from the blockchain network;
the step of calculating a second hash value according to the terminal displacement data includes:
and calculating the second hash value according to the terminal displacement data and the random number.
8. A method of offset reporting performed by a block chain network comprising a block chain, a terminal uplink node, and a server uplink node, the method comprising:
receiving a data write request of a terminal through the uplink node of the terminal;
writing a first hash value of the terminal displacement data reported by the terminal into a block chain;
receiving a data acquisition request of a base station data management server through the uplink node of the server, wherein the data acquisition request is used for requesting to acquire the terminal displacement data;
and sending the terminal displacement data to the base station data management server.
9. The method according to claim 8, wherein the block chain further includes a certificate verification node, and the step of writing the first hash value of the terminal displacement data reported by the terminal into the block chain includes:
verifying the validity of the certificate of the terminal through the certificate verification node;
under the condition that the validity of the certificate of the terminal passes verification, writing a first hash value of terminal displacement data reported by the terminal into a block chain through a link point on the terminal;
the step of sending the terminal displacement data to the base station data management server includes:
verifying the validity of the certificate of the base station data management server through the certificate verification node;
and under the condition that the certificate of the base station data management server passes the validity verification, sending the terminal displacement data to the base station data management server through the uplink node of the server.
10. An apparatus for reporting a deviation, comprising:
the first transceiver is used for acquiring terminal displacement data in a preset time period and acquiring base station displacement data of a terminal attached base station in the preset time period from a base station data management server;
the first processor is used for comparing the terminal displacement data with the base station displacement data and judging whether a base station deviation state occurs or not;
the first transceiver is further configured to report the base station deviation state corresponding to the preset time period to the base station data management server if it is determined that the base station deviation state occurs.
11. A device for reporting a deviation, comprising:
the second transceiver is used for sending base station displacement data of a base station to which the terminal is attached in a corresponding preset time period to the terminal and receiving terminal displacement data reported by the terminal when the terminal judges that a base station deviation state occurs;
and the second processor is used for verifying the validity of the deviation state of the base station according to the terminal displacement data.
12. A device for reporting a deviation, comprising:
a third transceiver, configured to receive a data write request of a terminal through a uplink node of the terminal;
the third processor is used for writing a first hash value of the terminal displacement data reported by the terminal into the block chain;
the third transceiver is further configured to receive a data acquisition request of a base station data management server through a uplink node of the server, where the data acquisition request is used to request to acquire the terminal displacement data, and send the terminal displacement data to the base station data management server.
13. A communication device, comprising: a transceiver, a memory, a processor, and a program stored on the memory and executable on the processor; the processor is configured to read a program in a memory to implement the steps in the deviation reporting method according to any one of claims 1 to 4; or, the steps in the method for reporting deviation according to any of claims 5 to 7; or, the steps in the method for reporting a deviation according to any one of claims 8 to 9.
14. A readable storage medium for storing a program, wherein the program, when executed by a processor, implements the steps in the deviation reporting method according to any one of claims 1 to 4; or, the steps in the method for reporting deviation according to any of claims 5 to 7; or, the steps in the method for reporting a deviation according to any one of claims 8 to 9.
CN202110005326.3A 2021-01-05 2021-01-05 Deviation reporting method, device and related equipment Pending CN114726875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110005326.3A CN114726875A (en) 2021-01-05 2021-01-05 Deviation reporting method, device and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110005326.3A CN114726875A (en) 2021-01-05 2021-01-05 Deviation reporting method, device and related equipment

Publications (1)

Publication Number Publication Date
CN114726875A true CN114726875A (en) 2022-07-08

Family

ID=82234955

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110005326.3A Pending CN114726875A (en) 2021-01-05 2021-01-05 Deviation reporting method, device and related equipment

Country Status (1)

Country Link
CN (1) CN114726875A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101858653B1 (en) * 2016-12-30 2018-06-28 주식회사 코인플러그 Method for certifying a user by using mobile id through blockchain database and merkle tree structure related thereto, and terminal and server using the same
KR20190023274A (en) * 2017-08-28 2019-03-08 주식회사 케이티 Apparatus and method for authenticating position using blockchain
KR102026580B1 (en) * 2019-01-15 2019-09-27 강대준 A control system for unmanned moving vechicle using blockchain and a control method thereof
CN111181946A (en) * 2019-12-24 2020-05-19 浙江大学 Credible traceability system and method based on block chain and Internet of things

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101858653B1 (en) * 2016-12-30 2018-06-28 주식회사 코인플러그 Method for certifying a user by using mobile id through blockchain database and merkle tree structure related thereto, and terminal and server using the same
KR20190023274A (en) * 2017-08-28 2019-03-08 주식회사 케이티 Apparatus and method for authenticating position using blockchain
KR102026580B1 (en) * 2019-01-15 2019-09-27 강대준 A control system for unmanned moving vechicle using blockchain and a control method thereof
CN111181946A (en) * 2019-12-24 2020-05-19 浙江大学 Credible traceability system and method based on block chain and Internet of things

Similar Documents

Publication Publication Date Title
US9141762B2 (en) System and method for analyzing and controlling epidemics
US9483926B2 (en) Monitoring inmate movement with RFID
CN110535938A (en) A kind of data processing method based on intelligent contract, equipment and storage medium
Klaine et al. Privacy-preserving contact tracing and public risk assessment using blockchain for COVID-19 pandemic
JP5204736B2 (en) Infectious disease behavior history collection and analysis system
CN104217288A (en) Security management device and system for community comprehensive grid
US20070145113A1 (en) Barcode based time and location tracking method and system
US20060153189A1 (en) Ad hoc communication system, mobile terminal, center, ad hoc communication method and ad hoc communication program
CN107154919B (en) Safe login method and device
CN109029573A (en) A kind of pipeline method for inspecting and system
CN110825776B (en) Air quality detection report processing method and device, computing equipment and storage medium
KR102229345B1 (en) Time and attendance management system server capable of performing time and attendance management based on wireless ap access information and operating method thereof
CN114240456A (en) Vehicle quality complaint information collection platform based on mobile phone APP
JP4310768B2 (en) Customer service server
CN114726875A (en) Deviation reporting method, device and related equipment
CN107835174B (en) Account book anti-fraud system and method based on Internet of things
KR102615888B1 (en) Method of business characteristic of store
KR102232406B1 (en) Time and attendance management system server that enables attendance management through periodic check of wireless ap access information and operating method thereof
CN114400101A (en) User tracking method, device, medium and electronic equipment based on zero knowledge proof
Dolberg et al. Tracking spoofed locations in crowdsourced vehicular applications
CN112084429A (en) Data processing method and device, electronic equipment and storage medium
Chowdhury et al. Covid-19 contact tracing: Current states and future directions
Saxe Junk Evidence: A Call to Scrutinize Historical Cell Site Location Evidence
CN116166839B (en) Core drilling process supervision system, method, medium and computer
CN114971649B (en) Information processing method, device, equipment and storage medium based on block chain

Legal Events

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