CN111885108A - Information reporting method and device, shared equipment and storage medium - Google Patents

Information reporting method and device, shared equipment and storage medium Download PDF

Info

Publication number
CN111885108A
CN111885108A CN202010562102.8A CN202010562102A CN111885108A CN 111885108 A CN111885108 A CN 111885108A CN 202010562102 A CN202010562102 A CN 202010562102A CN 111885108 A CN111885108 A CN 111885108A
Authority
CN
China
Prior art keywords
sharing
sharing device
equipment
location information
position information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010562102.8A
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.)
Beijing Qisheng Technology Co Ltd
Original Assignee
Beijing Qisheng Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qisheng Technology Co Ltd filed Critical Beijing Qisheng Technology Co Ltd
Priority to CN202010562102.8A priority Critical patent/CN111885108A/en
Publication of CN111885108A publication Critical patent/CN111885108A/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/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO

Abstract

The embodiment of the disclosure relates to an information reporting method, an information reporting device, a sharing device and a storage medium. The method comprises the following steps: under the condition that the GPS function of the sharing equipment fails, acquiring the position information of other sharing equipment in a sharing equipment networking system, wherein the sharing equipment networking system comprises at least one main sharing equipment; determining target position information of the sharing equipment from the position information of other sharing equipment; and reporting the target position information of the sharing equipment to a server through the main sharing equipment in the sharing equipment networking system. By adopting the method, even if the global positioning system of the sharing equipment fails, the sharing equipment can also determine the target position information of the sharing equipment from the position information of other sharing equipment in the networking system of the sharing equipment, so that the server can acquire the positioning information of the sharing equipment in time.

Description

Information reporting method and device, shared equipment and storage medium
Technical Field
The present disclosure relates to the field of shared device technologies, and in particular, to an information reporting method and apparatus, a shared device, and a storage medium.
Background
With the development of the sharing economy, sharing devices have appeared in various fields of people's daily life. Currently, each shared device is provided with a GPS (Global positioning System) module for acquiring self-positioning information and a communication module for communicating with a server.
In the conventional technology, each sharing device acquires its own positioning information through its own GPS module, and transmits the acquired positioning information to the server through the communication module, so that the server can acquire the positioning information of each sharing device.
However, the above conventional technique has a problem that it is difficult for the server to acquire the positioning information of the shared device when the GPS module of the shared device is damaged.
Disclosure of Invention
The embodiment of the disclosure provides an information reporting method and device, an electronic device and a storage medium, which can be used for solving the problem that a server is difficult to acquire positioning information of a shared device.
In a first aspect, an embodiment of the present disclosure provides an information reporting method, where the method includes:
under the condition that the GPS function of the sharing equipment fails, acquiring the position information of other sharing equipment in a sharing equipment networking system, wherein the sharing equipment networking system comprises at least one main sharing equipment;
determining target position information of the sharing equipment from the position information of the other sharing equipment;
and reporting the target position information of the sharing equipment to a server through the main sharing equipment in the sharing equipment networking system.
In a second aspect, an embodiment of the present disclosure provides an information reporting apparatus, where the apparatus includes:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring the position information of other sharing equipment in a sharing equipment networking system under the condition that the GPS function of the sharing equipment fails, and the sharing equipment networking system comprises at least one main sharing equipment;
a determining module, configured to determine target location information of the sharing device from location information of the other sharing devices;
and the reporting module is used for reporting the target position information of the sharing equipment to a server through the main sharing equipment in the sharing equipment networking system.
In a third aspect, an embodiment of the present disclosure provides a sharing device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the method of the first aspect when executing the computer program.
In a fourth aspect, the present disclosure provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the method of the first aspect.
According to the information reporting method, the device, the equipment and the storage medium provided by the embodiment of the disclosure, under the condition that the global positioning system of the sharing equipment fails, the sharing equipment can acquire the position information of other sharing equipment from the networking system of the sharing equipment, determine the target position information of the sharing equipment from the position information of other sharing equipment, and report the target position information of the sharing equipment to the server through the main sharing equipment in the networking system of the sharing equipment, so that even under the condition that the global positioning system of the sharing equipment fails, the sharing equipment can also determine the target position information of the sharing equipment from the position information of other sharing equipment in the networking system of the sharing equipment, and the server can acquire the positioning information of the sharing equipment in time.
Drawings
Fig. 1 is an application environment diagram of an information reporting method in an embodiment;
fig. 2 is a schematic flow chart of an information reporting method in an embodiment;
FIG. 2a is a diagram of a shared device networking system in one embodiment;
fig. 3 is a schematic flow chart of an information reporting method in another embodiment;
fig. 4 is a schematic flow chart of an information reporting method in another embodiment;
fig. 5 is a block diagram of an information reporting apparatus in an embodiment;
fig. 6 is a block diagram of an information reporting apparatus in an embodiment;
fig. 7 is a block diagram of an information reporting apparatus in another embodiment;
fig. 8 is a block diagram of an information reporting apparatus in another embodiment;
fig. 9 is a block diagram of an information reporting apparatus in another embodiment;
fig. 10 is a block diagram of an information reporting apparatus in another embodiment;
fig. 11 is a block diagram of an information reporting apparatus in another embodiment;
fig. 12 is a block diagram of an information reporting apparatus in another embodiment;
fig. 13 is a block diagram of an information reporting apparatus in another embodiment;
fig. 14 is a block diagram of an information reporting apparatus in another embodiment;
fig. 15 is a block diagram of an information reporting apparatus in another embodiment;
fig. 16 is a block diagram of an information reporting apparatus in another embodiment;
fig. 17 is a block diagram of an information reporting apparatus in another embodiment;
fig. 18 is a block diagram of an information reporting apparatus in another embodiment;
FIG. 19 is an internal block diagram of a sharing device in one embodiment;
fig. 20 is an internal configuration diagram of a server in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clearly understood, the embodiments of the present disclosure are described in further detail below with reference to the accompanying drawings and the embodiments. It is to be understood that the specific embodiments described herein are merely illustrative of the embodiments of the disclosure and that no limitation to the embodiments of the disclosure is intended.
First, before specifically describing the technical solution of the embodiment of the present disclosure, a technical background or a technical evolution context on which the embodiment of the present disclosure is based is described. In general, in the field of shared devices, the current technical background is: the sharing device acquires its own positioning information through its own GPS (Global positioning System) module and transmits the acquired positioning information to the server through the communication module, but when the GPS module of the sharing device fails, the sharing device cannot acquire its own positioning information through its own GPS module and cannot transmit the positioning information to the server, which further causes a problem that it is difficult for the server to acquire the positioning information of the sharing device. Therefore, how to enable the server to still acquire the positioning information of the shared device becomes a difficult problem to be solved at present under the condition that the function of the GPS module of the shared device fails.
The following describes technical solutions related to the embodiments of the present disclosure with reference to a scenario in which the embodiments of the present disclosure are applied.
The information reporting method provided by the embodiment of the present disclosure may be applied to a system architecture shown in fig. 1. The system architecture includes a sharing device 101 and a server 102. The sharing device 101 may be a non-motorized vehicle such as a pedal bicycle, an electric bicycle, a scooter, or a motorcycle, or a motorized vehicle such as an automobile; the server 102 may be a stand-alone server or a server cluster composed of a plurality of servers. Wherein the sharing device 101 is provided with a communication component which can communicate with the server 102 in a wireless manner. The embodiment of the present disclosure does not limit the communication method between the sharing device 101 and the server 102.
In an embodiment, as shown in fig. 2, an information reporting method is provided, which is described by taking an example that the method is applied to the sharing device in fig. 1, and includes the following steps:
s201, under the condition that the GPS function of the sharing equipment fails, the position information of other sharing equipment in a sharing equipment networking system is obtained, and the sharing equipment networking system comprises at least one main sharing equipment.
Among them, GPS is a positioning system for high-precision radio navigation based on artificial earth satellites, which can provide accurate geographical position, vehicle speed, and precise time information anywhere in the world and in the near-earth space. The shared device networking system is formed by networking shared devices in the same area through a wireless Mesh network, namely a Mesh network, as shown in fig. 2a, a Mesh node in fig. 2a is a shared device, a plurality of shared devices form the Mesh network through the Mesh node, each Mesh node has a routing function and a gateway function, and the formed shared device networking system can communicate with a server through the network; for example, as shown in fig. 2a, a Mesh root node is a master sharing device, other Mesh nodes are slave sharing devices, the slave sharing devices all communicate with a server through the master sharing device, for example, the slave sharing device sends its own location information to the master sharing device, and the master sharing device sends the received location information of the slave sharing device to the server.
Specifically, when the GPS function of the sharing device fails, the sharing device acquires the location information of other sharing devices in the sharing device networking system. Optionally, the failure of the GPS function of the shared device may be a failure of a GPS module of the shared device, or may be that the shared device is in a GPS signal shadow area. Optionally, the sharing device may be a sharing bicycle, a sharing automobile, a sharing unmanned aerial vehicle, a sharing ship, a sharing glider, etc. Optionally, the sharing device may obtain the location information of other sharing devices in the sharing device networking system through a Mesh network in the sharing device networking system. Optionally, the sharing device may send a location obtaining request to other sharing devices in the sharing device networking system, and obtain location information of the other sharing devices. Optionally, the sharing device may also receive, in real time, location information actively sent by other sharing devices in the sharing device networking system, so as to obtain location information of other sharing devices. Optionally, in this embodiment, the sharing device with failed GPS function may be a master sharing device in the sharing device networking system, or may be any slave sharing device. Illustratively, taking 10 sharing devices in the sharing device networking system as an example, if the GPS function of the sharing device with device number 1 fails, the sharing device with device number 1 may obtain location information of other sharing devices through the network of the sharing device networking system, that is, the sharing device with device number 1 may obtain location information of the sharing devices with device numbers 2 to 9 in the sharing device networking system.
It should be noted that, the sharing devices in the sharing device networking system may communicate with each other through a private protocol, and a user may scan a location identifier (such as a two-dimensional code) provided by each sharing device, send the scanned location identifier to a server through a mobile terminal, obtain a password for accessing the sharing device networking from the server, use a local area network provided by the sharing device networking system, and at the same time, the server may collect a certain network hotspot usage fee from the user.
S202, the target location information of the sharing device is determined from the location information of the other sharing devices.
Specifically, the sharing device determines its own target location information from the obtained location information of the other sharing devices. Optionally, the sharing device may determine other sharing devices closest to the sharing device from the other sharing devices, and then determine the location information of the sharing device closest to the sharing device as the target location information of the sharing device. Optionally, the sharing device may calculate its own target location information according to the location information of the other sharing device, for example, the sharing device may send a broadcast message to the other sharing device, receive a response message returned by the other sharing device, respectively calculate a time interval between the reception time of receiving the response message returned by the other sharing device and the broadcast message sent by the other sharing device, determine a shortest time interval therefrom, and then calculate its own target location information according to the location information of the other sharing device corresponding to the shortest time interval and the time interval. Alternatively, the sharing device may further use, as its own location information, location information of another sharing device having the best communication quality according to the communication quality between itself and another sharing device.
S203, reporting the target position information of the sharing equipment to a server through the main sharing equipment in the sharing equipment networking system.
Specifically, after the sharing device determines its own target location information, it reports its own target location information to the server through the primary sharing device in the networking system of the sharing device. It can be understood that, if the sharing device is a slave sharing device, the target location information of the sharing device is sent to the master sharing device through a networking network in the sharing device networking system, and then the master sharing device reports the target location information of the slave sharing device to the server through wireless communication between the master sharing device and the server. Exemplarily, taking the networking system of the sharing device as the system shown in fig. 2a as an example, the sharing device may send the target location information of itself to the primary sharing device through the Mesh network, and then the primary sharing device reports the target location information to the server through the network shown in fig. 2 a. Or, if the sharing device is a master sharing device, the master sharing device directly reports the position information of the master sharing device to the server.
In the information reporting method, under the condition that the global positioning system of the sharing device fails, the sharing device can acquire the position information of other sharing devices from the networking system of the sharing device, determine the target position information of the sharing device from the position information of other sharing devices, and then report the target position information of the sharing device to the server through the main sharing device in the networking system of the sharing device, so that even under the condition that the global positioning system of the sharing device fails, the sharing device can also determine the target position information of the sharing device from the position information of other sharing devices in the networking system of the sharing device, and the server can acquire the positioning information of the sharing device in time.
In the sharing device networking system, the sharing devices can communicate with each other, and in a scene that the sharing devices determine the target position information from the position information of other sharing devices, the sharing devices can determine the target position information of the sharing devices according to the communication quality of the sharing devices and other sharing devices. In one embodiment, the step S202 includes: and determining target position information of the sharing equipment from the position information of other sharing equipment according to the communication quality of the sharing equipment and other sharing equipment.
Specifically, the sharing device a may communicate with other sharing devices in the sharing device networking system, so that the communication quality of the communication between the sharing device a and the other sharing devices may be obtained, and the sharing device a determines the target location information of the sharing device a from the location information of the other sharing devices according to the communication quality of the sharing device a and the other sharing devices. Optionally, the sharing device a may determine another sharing device B with the best communication quality, and then calculate the target location information of the sharing device a according to the communication duration between the sharing device a and the determined another sharing device B.
In this embodiment, the sharing device can determine its own target location information from the location information of other sharing devices in the sharing device networking system according to the communication quality between the sharing device and the other sharing devices, thereby solving the problem that its own target location information cannot be acquired under the condition that its own GPS function is invalid; in addition, the sharing device can quickly and accurately obtain the communication quality between the sharing device and other sharing devices, and further the sharing device can quickly and accurately determine the target position information of the sharing device from the position information of other sharing devices in the networking system of the sharing device according to the communication quality between the sharing device and other sharing devices, so that the efficiency and the accuracy of the sharing device in determining the target position information of the sharing device are improved.
In the scene that the sharing device determines the target position information of the sharing device, the sharing device may determine the target position information of the sharing device from the position information of other sharing devices whose communication quality meets the preset communication requirement; the location information of other sharing devices with the best communication quality can also be determined as the target location information of the sharing devices, and the specific implementation modes adopting the two methods are described in detail below:
the first method comprises the following steps: if the sharing device is the target location information of the sharing device determined from the location information of other sharing devices with the communication quality meeting the preset communication requirement, the determining the target location information of the sharing device from the location information of other sharing devices according to the communication quality of the sharing device and the other sharing devices comprises:
and step A, determining candidate equipment from other sharing equipment with the communication quality meeting the preset communication requirement.
Specifically, the sharing device a determines a candidate device from other sharing devices whose communication quality satisfies a preset communication requirement. Illustratively, the preset communication requirements may include at least one of a signal-to-noise threshold of 65dB, a signal strength threshold of 90dBm, and a throughput threshold of 95M. Illustratively, taking 3 other sharing devices as an example for explanation, the device identifiers of the 3 sharing devices are respectively sharing device 1, sharing device 2, and sharing device 3, the signal strength of communication between the sharing device and sharing device 1 is 80dBm, the signal strength of communication between sharing device a and sharing device 2 is 92dBm, the signal strength of communication between sharing device a and sharing device 3 is 93dBm, and sharing device 2 and sharing device 3 are devices that meet preset communication requirements, then sharing device a determines sharing device 2 and sharing device 3 as candidate devices.
And B, selecting the position information of the candidate device closest to the sharing device from the candidate devices as the target position information of the sharing device.
Specifically, the sharing device a selects, from the above-determined candidate devices, the position information of the candidate device closest thereto as the target position information of itself. Optionally, the sharing device a may measure a distance between the sharing device a and the determined candidate device through its own bluetooth ranging module, and use the location information of the candidate device closest to its own as its own target location information. Illustratively, if the sharing device a measures that the distance between the sharing device a and the sharing device 2 is 5m and the distance between the sharing device a and the sharing device 3 is 1m, the sharing device a takes the position information of the sharing device 3 as the target position information of itself.
In this embodiment, the sharing device determines, from other sharing devices, a candidate device whose communication quality meets a preset communication requirement, and then selects, from the determined candidate device, location information closest to the candidate device as its own target location information, so that accuracy of the determined target location information of the sharing device is ensured by dual conditions of communication quality and distance, accuracy of the determined target location information of the sharing device is improved, and a problem that the sharing device cannot acquire its own target location information under a condition that its GPS function fails is solved.
And the second method comprises the following steps: if the sharing device is determined to have the best communication quality as the target location information of the sharing device, the determining the target location information of the sharing device from the location information of the other sharing devices according to the communication quality of the sharing device and the other sharing devices includes:
and C, sequencing the communication quality of the sharing equipment and other sharing equipment.
Specifically, the sharing device a ranks the communication quality thereof with other sharing devices. Optionally, the sharing device a may rank the communication quality of the sharing device a with other sharing devices by using a bubble ranking method, or may rank the communication quality of the sharing device a with other sharing devices according to a parameter of the communication quality of the sharing device a with other sharing devices. Illustratively, taking other sharing devices as the sharing device 1, the sharing device 2, and the sharing device 3, the signal strength of the communication between the sharing device a and the sharing device 1 is 80dBm, the signal strength of the communication between the sharing device a and the sharing device 2 is 92dBm, and the signal strength of the communication between the sharing device a and the sharing device 3 is 93dBm as an example for explanation, the ranking result of ranking the communication quality of the sharing device a with the sharing device 1, the sharing device 2, and the sharing device 3 is as follows: communication quality of the sharing device a with the sharing device 3 > communication quality of the sharing device a with the sharing device 2 > communication quality of the sharing device a with the sharing device 1.
And D, determining the position information of other sharing equipment with the communication quality ranked at the head as the target position information of the sharing equipment.
Specifically, the sharing device determines the position of the other sharing device whose communication quality is ranked first as its own target position information. Illustratively, taking the ranking result obtained in the above step a as an example, if the communication quality between the sharing device a and the sharing device 3 is ranked first, the sharing device a determines the location information of the sharing device 3 as its own target location information.
In this embodiment, the sharing device ranks the communication quality of the sharing device with other sharing devices, and the first-ranked other sharing device is the sharing device with the best communication quality, so that the position information of the first-ranked other sharing device is determined as the target position information of the sharing device, the accuracy of the determined target position information is improved, and the problem that the sharing device cannot acquire the target position information of the sharing device under the condition that the GPS function of the sharing device is invalid is solved.
In some scenarios, the sharing device may start its own bluetooth ranging module to measure the distance between itself and other sharing devices nearby, and in such scenarios, the sharing device may determine its own target location information according to the distance between itself and other sharing devices. In one embodiment, as shown in fig. 3, the step S202 includes:
s301, the distance between the sharing device and other sharing devices is obtained.
Specifically, the sharing device obtains the distance between the sharing device and other sharing devices in the sharing device networking system. Optionally, the sharing device may start its bluetooth ranging module to measure the distance between itself and other sharing devices. Continuing with the example of other sharing devices as the sharing device 1, the sharing device 2, and the sharing device 3, the sharing device a will obtain its distance from the sharing device 1, its distance from the sharing device 2, and its distance from the sharing device 3, respectively, as distance 1, distance 2, and distance 3.
And S302, determining the position information of other sharing equipment with the shortest distance as target position information.
Specifically, the sharing device a determines the location information of the other sharing device whose distance from the other sharing device is shortest as the target location information of itself. Illustratively, if the distance 1 obtained by the sharing device a is 5m, the distance 2 is 0.5m, and the distance 3 is 2m, where the distance 1 is the shortest distance, the sharing device a determines the location information of the sharing device 1 as the target location information of itself.
In this embodiment, the sharing device can quickly and accurately acquire the distance between the sharing device and the other sharing devices, and then the sharing device can quickly and accurately determine the shortest distance from the acquired distances between the sharing device and the other sharing devices, and the shorter the distance between the sharing device and the other sharing devices is, the closer the position of the other sharing devices is to the position of the sharing device, so that the sharing device determines the position information of the other sharing devices with the shortest distance as the target position information of the sharing device, and the accuracy of determining the target position information of the sharing device is improved.
In some scenarios, a sharing device may send a broadcast message instructing other sharing devices in the sharing device networking system to send location information to it. In an embodiment, as shown in fig. 4, the step S201 includes:
s401, sending broadcast messages to other sharing devices; the broadcast message is used to instruct other sharing devices to send location information to the sharing device.
Specifically, the sharing device sends a broadcast message to other sharing devices in the sharing device networking system. The broadcast message is used for indicating other sharing devices in the sharing device networking system to send the position information to the sharing device. Optionally, the sharing device may send the broadcast message to other sharing devices in real time, or may send the broadcast message to other sharing devices according to a preset time interval. Illustratively, taking the example that 3 other sharing devices are included in the sharing setup networking system, the sharing device will send a broadcast message to the 3 other sharing devices, instructing the 3 other sharing devices to send location information to it. Optionally, the sharing device may send the broadcast message to other sharing devices through a network between the sharing device networking systems, or may send the broadcast message to other sharing devices through bluetooth, for example, taking the sharing device networking system as a system formed by a Mesh network, the sharing device may send the broadcast message to other sharing devices through the Mesh network.
S402, receiving the position information sent by other sharing devices.
Specifically, after the sharing device sends a broadcast message to other sharing devices in the sharing device networking system, the sharing device receives location information sent by the other sharing devices. Optionally, if the sharing device is a broadcast message sent through a network between sharing setting networking systems, correspondingly, the sharing device receives location information sent by other sharing devices through the network between sharing device networking systems; if the sharing device is a broadcast message sent to other sharing devices through bluetooth, the sharing device will correspondingly receive the location information sent by other sharing devices through bluetooth. Optionally, if the sharing device sends the broadcast message to other sharing devices in real time, the sharing device will receive the location information sent by other sharing devices in real time; if the sharing device sends the broadcast message to other sharing devices according to the preset time interval, the sharing device receives the position information sent by other sharing devices according to the preset time interval.
In this embodiment, the sharing device sends the broadcast message for instructing the other sharing device to send the location information to the sharing device to the other sharing device, so that the other sharing device can send the location information of itself to the sharing device in time, thereby improving the real-time performance of the sharing device for acquiring the location information of the other sharing device. And other sharing devices send own position information after receiving the broadcast message, and the own position information does not need to be sent in real time, so that the power consumption of other sharing devices is reduced.
In the above scenario where the sharing device sends a broadcast message instructing the other sharing device to send location information to the sharing device and receives location information sent by the other sharing device, the sharing device may determine its own target location information according to a reception time of receiving the location information sent by the other sharing device. In one embodiment, the step S202 includes: and determining target position information of the sharing equipment from the position information of other sharing equipment according to the receiving time of the position information sent by other sharing equipment.
Specifically, the sharing device determines its own target location information from the received location information of the other sharing devices according to the receiving time of receiving the location information sent by the other sharing devices.
Further, the sharing device may determine its own target location information according to a time interval between its sending of the broadcast message and its receiving of the location information sent by the other sharing device, or may determine its own target location information according to the location information of the other sharing device that receives the earliest location information sent by the other sharing device, and the following details describe specific implementation manners that adopt these two methods:
first, in a case where a sharing device determines its own target location information based on a time interval between transmission of a broadcast message and reception of location information transmitted from another sharing device, the determining of the target location information of the sharing device from location information of the other sharing device based on a reception time of the location information transmitted from the other sharing device includes:
step a, according to the time for sending the broadcast message and each receiving time, counting the time interval between the broadcast message sending and the receiving of the position information sent by other sharing devices.
Specifically, the sharing device counts a time interval between transmitting the broadcast message and receiving the location information transmitted by the other sharing device according to a time when the sharing device transmits the broadcast message and a time when the sharing device receives the location information transmitted by the other sharing device. Illustratively, continuing to take the example of including 3 other sharing devices in the sharing setting networking system, the time for the sharing device to send the broadcast message is 09:00:00, the time for receiving the location information sent by the device 1 is 09:00:40, the time for receiving the location information sent by the device 2 is 09:00:30, and the time for receiving the location information sent by the device 3 is 09:00:10, then the time interval between the sending of the broadcast message by the sharing device and the location information sent by the receiving device 1 is 40ms, the time interval between the sending of the broadcast message by the sharing device and the location information sent by the receiving device 2 is 30ms, and the time interval between the sending of the broadcast message by the sharing device and the location information sent by the receiving device 3 is 10 ms.
And b, determining the position information of other sharing equipment with the shortest time interval as target position information.
Specifically, the sharing device determines the location information of the other sharing device with the shortest time interval between sending the broadcast message and receiving the location information sent by the other sharing device as the target location information of the sharing device. Illustratively, continuing to include 3 other sharing devices in the sharing setup networking system, the time interval between the sending of the broadcast message by the sharing device and the position information sent by the receiving device 1 is 40ms, the time interval between the sending of the broadcast message by the sharing device and the position information sent by the receiving device 2 is 30ms, and the time interval between the sending of the broadcast message by the sharing device and the position information sent by the receiving device 3 is 10ms, then the time interval between the sending of the broadcast message by the sharing device and the position information sent by the receiving device 3 is the shortest, and then the sharing device determines the position information of the device 3 as the target position information of itself.
In this embodiment, the sharing device can quickly count the time interval between the broadcast message sent by the sharing device and the position information sent by other sharing devices according to the time for sending the broadcast message and the receiving time for receiving the position information sent by other sharing devices, and further can quickly determine the position information of other sharing devices with the shortest time interval as the target position information of the other sharing devices, so that the efficiency of the sharing device in determining the target position information is improved; in addition, the sharing device counts out that the accuracy of the time interval between the broadcast message sending of the sharing device and the position information sent by the other sharing devices is higher according to the time of the sharing device sending the broadcast message and the receiving time of the position information sent by the other sharing devices, so that the sharing device can accurately determine the shortest time interval, and the target position information of the sharing device determines the position information of the other sharing devices with the shortest time interval as the target position information of the sharing device, so that the accuracy of the target position information determined by the sharing device is improved.
A second method for specifying, when a sharing device specifies its own target location information based on location information of another sharing device that receives the earliest location information transmitted from the other sharing device, the target location information of the sharing device from location information of the other sharing device based on a reception time at which the location information transmitted from the other sharing device is received, the method comprising: and determining the position information of other sharing equipment with the earliest receiving time as target position information.
Specifically, the sharing device determines the location information of the other sharing device with the earliest reception time from the reception time of the location information sent by the other sharing device, and determines the location information of the other sharing device with the earliest reception time as the target location information of the sharing device. Illustratively, it is explained that 3 other sharing devices are included in the sharing device networking system, the time for the sharing device to send the broadcast message is 09:00:00, the time for receiving the location information sent by the device 1 is 09:00:40, the time for receiving the location information sent by the device 2 is 09:00:30, and the time for receiving the location information sent by the device 3 is 09:00:10, in this example, the other sharing device whose time for the sharing device to receive the location information sent by the other sharing devices is the earliest is the device 3, and the sharing device determines the location information of the device 3 as its own target location information. Or, the sharing device directly takes the first received position information sent by other sharing devices as the target position information.
In the embodiment, the sharing device determines the position information of other sharing devices with the earliest receiving time as the target position information, so that the efficiency of the sharing device in determining the target position information is improved; in addition, the sharing device receives the position information of other sharing devices with the earliest time, and the position information of other sharing devices with the earliest time is generally the sharing device which is closer to the sharing device and has the best communication quality, so that the sharing device determines the position information of other sharing devices with the earliest time as the position information of the sharing device, and the position information of the sharing device is closer to the position information of the sharing device, so that the accuracy of determining the target position information of the sharing device is improved.
In an embodiment, the sharing device may be a slave sharing device in a sharing device networking system, and then the step S203 includes: and sending the target position information to the main sharing equipment through the first communication mode so that the main sharing equipment reports the target position information to the server through the second communication mode.
The first communication mode refers to a communication mode for communication among all devices in the shared device networking system through networking, and the second communication mode refers to a wireless communication mode between a main shared device and a server in the shared device networking system. For example, taking a system formed by taking the shared device networking system as a Mesh network as an example, the first communication mode may be a Mesh network communication mode. For example, the second communication mode may be a 3G or 4G communication mode between the primary sharing device and the server, or may be a wifi communication mode between the primary sharing device and the server.
Specifically, the sharing device sends the determined target location information to a primary sharing device in the sharing device networking system through the first communication mode, so that the primary sharing device reports the target location information of the sharing device to the server through the second communication mode. Optionally, the sharing device may determine, as a target path, a candidate path with the shortest communication time or the strongest communication quality among the multiple candidate paths between the sharing device and the primary sharing device, and send the target position information of the sharing device to the primary sharing device in the networking system of the sharing device through the determined target path in the first communication manner; the candidate path is a communication path available between the sharing device and a main sharing device in the sharing device networking system. Optionally, the sharing device may send the determined target location information of itself to the main sharing device in real time, or may send the determined target location information of itself to the main sharing device according to a preset time interval. Optionally, the main sharing device may send the target location information of the sharing device to the server in real time, or may send the target location information of the sharing device to the server according to a preset time interval.
In this embodiment, if the sharing device is a slave sharing device in the networking system of the sharing device, the sharing device may send the determined target location information to the master sharing device through the first communication method, so that the master sharing device reports the target location information to the server through the second communication method, and thus, even when communication between the sharing device and the server fails, the sharing device may still send the target location information to the server through the master sharing device, which ensures that the server can obtain the target location information of the sharing device, thereby ensuring that the server can monitor the sharing device in time.
In another embodiment, the sharing device may be a primary sharing device in a sharing device networking system, and the step S203 includes: and reporting the target position information to the server through a second communication mode.
Specifically, if the sharing device is a primary sharing device in the sharing device networking system, the sharing device reports the target position information of the sharing device to the server through the second communication method. Optionally, the sharing device may report the target location information of itself to the server in real time, or may report the target location information of itself to the server according to a preset actual interval.
In this embodiment, if the sharing device is the primary sharing device, the sharing device can report the target location information of the sharing device to the server through the second communication mode, so that it is ensured that the server can obtain the location information of the sharing device, and thus it is ensured that the server can monitor the sharing device in time.
In some scenarios, a new sharing device may be added outside the networking system of the networking-completed sharing device, and the sharing device may add the added new sharing device to the networking system of the networking-completed sharing device. In one embodiment, the method further comprises: and if detecting a new sharing device outside the networking system of the sharing device, acquiring a device identifier sent by the new sharing device, and adding the new sharing device into the networking system of the sharing device according to the device identifier.
Specifically, if the shared device detects a new shared device outside the shared device networking system, the device identifier sent by the new shared device is acquired, and the new shared device is added to the shared device networking system according to the received device identifier. Illustratively, assuming the sharing device detects a new sharing device B, C, D outside of the shared device networking system, the sharing device will join the new sharing device B, C, D to the shared device networking system according to the device identification of the new sharing device B, C, D. It can be understood that, if the new sharing device B and the new sharing device C can detect the device identifiers of each other and the new sharing device D, the new sharing device B and the new sharing device C cannot detect the device signals of each other, the sharing device will know the existence of each other through broadcasting by the new sharing device B, C, D after the new sharing device B, C, D is added to the sharing device networking system, so that the new sharing device D can send its own data to the new sharing devices B and C through the sharing device, and conversely, the new sharing devices B and C can also send their own data to the new sharing device D through the sharing device, thereby expanding the sharing devices included in the sharing device networking system. Optionally, the communication frequency points of the devices in the shared device networking system are uniformly distributed in different communication frequency bands. It can be understood that if too many devices are present in a communication band, network congestion may be caused, and if the devices can be uniformly distributed in different bands, interference can be reduced, for example, a shared device can reach a destination through a path of a- > B- > C or a- > D- > C, but at present, the frequency band D is busy, and at this time, it is an optimal scheme to select a path of a- > B- > C.
In this embodiment, if the sharing device detects a new sharing device outside the networking system of the sharing device, the sharing device acquires a device identifier sent by the detected new sharing device, and adds the detected new sharing device to the networking system of the sharing device according to the acquired device identifier, the newly added sharing device expands the range of the networking system of the sharing device, and increases the usage scenario of the networking system of the sharing device, so that the multiple sharing devices can communicate with each other through the networking system of the sharing device, and the information of the multiple sharing devices passes through a master sharing device server in the networking system of the sharing device, so that the server can acquire the information of the multiple sharing devices.
In the above scenario that target location information of the sharing device is reported to the server through the primary sharing device in the sharing device networking system, the sharing device is required to determine the primary sharing device first, optionally, the sharing device may determine the primary sharing device according to a device identifier of the primary sharing device sent by the server, or may determine the primary sharing device by receiving a communication speed broadcast by each sharing device in the sharing device networking system, and the specific implementation manner of the two methods is described in detail below:
the first method comprises the steps of receiving a device identifier of a main sharing device sent by a server; the main sharing device is the sharing device with the highest communication speed in the sharing device networking system determined by the server.
Specifically, the sharing device receives a device identifier of the primary sharing device sent by the server, and determines the sharing device corresponding to the received device identifier as the primary sharing device. The main sharing device is the sharing device with the highest communication speed in the sharing device networking system determined by the server. Optionally, the server may send an acquisition instruction to each sharing device in the sharing device networking system, so that each sharing device sends its own device information to the server, and the server may determine the sharing device with the highest communication speed in the sharing device networking system according to the speed of receiving the device information sent by each sharing device.
In this embodiment, because the master sharing device is the sharing device with the highest communication speed in the sharing device networking system determined by the server, and the sharing device with the highest communication speed can ensure stable communication with the server, and further send the device identifier of the determined master sharing device to the sharing device, the sharing device can accurately obtain the device identifier of the master sharing device, so that the sharing device can accurately send the target location information of itself to the master sharing device, and the master sharing device sends the target location information to the server, thereby ensuring the reliability of sending the device information of the sharing device to the server.
And secondly, receiving the communication speed broadcast by each sharing device in the sharing device networking system, and determining the sharing device with the highest communication speed as the main sharing device.
Specifically, the sharing device receives the communication speed broadcast by each sharing device in the sharing device networking system, and determines the sharing device with the highest communication speed as the main sharing device. Illustratively, continuing to describe by taking an example that the shared device networking system includes 3 other shared devices, if the communication speed broadcasted by the shared device receiving device 1 is 5bit/s, the communication speed broadcasted by the receiving device 2 is 8bit/s, and the communication speed broadcasted by the receiving device 3 is 6bit/s, the shared device determines the device 2 as the primary shared device.
In this embodiment, the sharing device determines, as the primary sharing device, the sharing device with the highest communication speed among the communication speeds broadcast by the sharing devices in the sharing device networking system, which ensures that the determined primary sharing device can perform stable communication with the server, thereby ensuring reliability of sending the device information of the sharing device to the server.
For the understanding of those skilled in the art, the following describes the information reporting method provided by the present disclosure in detail, and the method may include:
s1, under the condition that the GPS function of the sharing equipment is invalid, sending broadcast information to other sharing equipment in the sharing equipment networking system; the broadcast message is used for indicating other sharing equipment to send the position information to the sharing equipment; the sharing device networking system comprises at least one main sharing device.
And S2, receiving the position information sent by other sharing devices. S3, or S4, or S5, or S6 is performed.
S3, based on the communication quality between the sharing device and the other sharing devices, the target location information of the sharing device is determined from the location information of the other sharing devices.
In step S3, in the step of determining the target location information of the sharing device from the location information of the other sharing devices according to the communication quality between the sharing device and the other sharing devices, the sharing device may determine its own target location information from the location information of the other sharing devices whose communication quality meets the preset communication requirement; the location information of other sharing devices with the best communication quality can also be determined as the target location information of the sharing devices, and the specific implementation modes adopting the two methods are described in detail below:
one) if the sharing device determines its own target location information from the location information of other sharing devices whose communication quality satisfies the preset communication requirement, the step S3 includes:
and D1, determining candidate devices from other sharing devices with the communication quality meeting the preset communication requirement.
And D2, selecting the position information of the candidate device closest to the sharing device from the candidate devices as the target position information of the sharing device.
Second) if the sharing device determines the location information of the other sharing device having the best communication quality as the target location information of the sharing device, S3 includes:
h1, ranking the communication quality of the sharing device with other sharing devices.
H2, the location information of the other sharing device whose communication quality is the top is determined as the target location information of the sharing device.
S4, the distance between the sharing device and the other sharing devices is acquired, and the location information of the other sharing devices having the shortest distance is determined as the target location information.
S5, according to the time of sending broadcast message and each receiving time, counting the time interval between sending broadcast message and receiving the position information sent by other sharing devices; and determining the position information of other sharing equipment with the shortest time interval as target position information.
S6, determining the position information of other sharing equipment with the earliest receiving time as the target position information; s7, or S8, is performed.
S7, receiving the device identification of the main sharing device sent by the server; the main sharing equipment is the sharing equipment with the highest communication speed in the sharing equipment networking system determined by the server; S9-S10, or S11, is performed.
S8, receiving the communication speed broadcast by each sharing device in the sharing device networking system, and determining the sharing device with the maximum communication speed as a main sharing device; S9-S10, or S11, is performed.
S9, if the sharing device is a slave sharing device, determining the candidate path with the shortest communication time or the strongest communication quality in the plurality of candidate paths as a target path; the candidate path is a communication path preset between the sharing device and the main sharing device.
S10, sending the target location information to the primary sharing device through the target path in the first communication mode, so that the primary sharing device reports the target location information to the server through the second communication mode.
And S11, if the sharing device is the main sharing device, reporting the target position information to the server through a second communication mode.
S12, if a new sharing device outside the sharing device networking system is detected, acquiring a device identifier sent by the new sharing device, and adding the new sharing device into the sharing device networking system according to the device identifier; the communication frequency points of all the devices in the shared device networking system are uniformly distributed in different communication frequency bands.
It should be noted that, for the descriptions in S1-S12, D1-D2, and H1-H2, reference may be made to the descriptions related to the foregoing embodiments, and the effects thereof are similar, and the description of this embodiment is not repeated herein.
It should be understood that although the various steps in the flow charts of fig. 2-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-4 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In an embodiment, as shown in fig. 5, an information reporting apparatus is provided, including: the device comprises an acquisition module 10, a determination module 11 and a reporting module 12, wherein:
an obtaining module 10, configured to obtain location information of other sharing devices in a sharing device networking system when a GPS function of the sharing device fails, where the sharing device networking system includes at least one master sharing device.
A determining module 11, configured to determine target location information of the sharing device from location information of other sharing devices.
The reporting module 12 is configured to report the target location information of the sharing device to the server through a primary sharing device in the sharing device networking system.
The information reporting apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
On the basis of the embodiment shown in fig. 5, as shown in fig. 6, optionally, the determining module 11 includes: a first determination unit 111, wherein:
a first determining unit 111, configured to determine target location information of the sharing device from location information of other sharing devices according to communication quality between the sharing device and the other sharing devices.
The information reporting apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
On the basis of the embodiment shown in fig. 6, as shown in fig. 7, optionally, the first determining unit 111 includes: a selection subunit 1111 and a first determination subunit 1112, wherein:
a selecting subunit 1111, configured to determine candidate devices from other sharing devices whose communication quality meets a preset communication requirement.
A first determining subunit 1112 is configured to select, from the candidate devices, location information of a candidate device closest to the sharing device as target location information of the sharing device.
The information reporting apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
On the basis of the embodiment shown in fig. 6, as shown in fig. 8, optionally, the first determining unit 111 includes: an ordering sub-unit 1113 and a second determining sub-unit 1114, wherein:
the ordering subunit 1113 is configured to order the communication quality of the sharing device with other sharing devices.
The second determining subunit 1114 determines, as target location information of the shared device, location information of another shared device whose communication quality is ranked first.
The information reporting apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
On the basis of the embodiment shown in fig. 5, as shown in fig. 9, optionally, the determining module 11 includes: an acquisition unit 112 and a second determination unit 113, wherein:
an obtaining unit 112 is configured to obtain distances between the sharing device and other sharing devices.
A second determining unit 113, configured to determine the location information of the other sharing device with the shortest distance as the target location information.
The information reporting apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
On the basis of the embodiment shown in fig. 5, as shown in fig. 10, optionally, the obtaining module 10 includes: a transmitting unit 101 and a receiving unit 102, wherein:
a sending unit 101, configured to send a broadcast message to other sharing devices; the broadcast message is used to instruct other sharing devices to send location information to the sharing device.
The receiving unit 102 is configured to receive location information sent by other sharing devices.
The information reporting apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
On the basis of the embodiment shown in fig. 10, as shown in fig. 11, optionally, the determining module 11 includes: a third determination unit 114, wherein:
a third determining unit 114, configured to determine target location information of the sharing device from the location information of the other sharing devices according to a receiving time of receiving the location information sent by the other sharing devices.
The information reporting apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
On the basis of the embodiment shown in fig. 11, as shown in fig. 12, optionally, the third determining unit 114 includes: a statistics subunit 1141 and a third determination subunit 1142, wherein:
a counting subunit 1141, configured to count a time interval between sending the broadcast message and receiving the location information sent by the other sharing device according to the time of sending the broadcast message and each receiving time.
A third determining subunit 1142, configured to determine, as the target location information, the location information of the other sharing devices with the shortest time interval.
The information reporting apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
On the basis of the embodiment shown in fig. 11, as shown in fig. 13, optionally, the third determining unit 114 includes: a fourth determining subunit 1143, wherein:
a fourth determining subunit 1143, configured to determine, as the target location information, the location information of the other sharing device with the earliest reception time.
The information reporting apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
On the basis of the embodiment shown in fig. 13, as shown in fig. 14, if the sharing device is a slave sharing device, optionally, the reporting module 12 includes: a first reporting unit 121, wherein:
the first reporting unit 121 is configured to send the target location information to the primary sharing device through a first communication method, so that the primary sharing device reports the target location information to the server through a second communication method.
It should be noted that the structure in fig. 14 is shown on the basis of the embodiment shown in fig. 13, and of course, fig. 14 may also be shown on the basis of the structure shown in fig. 12, which is merely an example.
The information reporting apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
On the basis of the foregoing embodiment, please refer to fig. 14, optionally, the first reporting unit 121 includes: a fifth determining subunit 1211 and a first transmitting subunit 1212, wherein:
a fifth determining subunit 1211 configured to determine a target path from the plurality of candidate paths; the candidate path is an available communication path between the sharing equipment and the main sharing equipment;
a first sending subunit 1212, configured to send the target location information to the primary sharing device through the target path in the first communication manner.
The information reporting apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
On the basis of the foregoing embodiment, optionally, the fifth determining subunit 1212 is configured to determine, as the target path, a candidate path with the shortest communication time or the strongest communication quality among the multiple candidate paths.
The information reporting apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
On the basis of the embodiment shown in fig. 13, as shown in fig. 15, if the sharing device is a primary sharing device, optionally, the reporting module 12 includes: a second reporting unit 122, wherein:
a second reporting unit 122, configured to report the target location information to the server through a second communication method.
The information reporting apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
In addition to the embodiment shown in fig. 15, as shown in fig. 16, the apparatus further includes: an update module 13, wherein:
and the updating module 13 is configured to, if a new sharing device outside the sharing device networking system is detected, obtain a device identifier sent by the new sharing device, and add the new sharing device to the sharing device networking system according to the device identifier.
Optionally, the communication frequency points of the devices in the shared device networking system are uniformly distributed in different communication frequency bands.
The information reporting apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
In addition to the embodiment shown in fig. 16, as shown in fig. 17, the apparatus further includes: a first receiving module 14, wherein:
a first receiving module 14, configured to receive a device identifier of a primary sharing device sent by a server; the main sharing device is the sharing device with the maximum communication speed in the sharing device networking system determined by the server.
The information reporting apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
In addition to the embodiment shown in fig. 16, as shown in fig. 18, the apparatus further includes: a second receiving module 15, wherein:
the second receiving module 15 is configured to receive a communication speed broadcasted by each sharing device in the sharing device networking system, and determine the sharing device with the highest communication speed as the primary sharing device.
The information reporting apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
For specific limitations of the information reporting apparatus, reference may be made to the above limitations of the information reporting method, which is not described herein again. The modules in the information reporting device can be wholly or partially implemented by software, hardware and a combination thereof. The modules may be embedded in a hardware form or independent from a processor in the shared device, or may be stored in a memory in the electronic device in a software form, so that the processor can call and execute operations corresponding to the modules.
Fig. 19 is a block diagram illustrating a sharing device 1300 according to an example embodiment. For example, the sharing device 1300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and so forth.
Referring to fig. 19, a sharing device 1300 may include one or more of the following components: a processing component 1302, a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, an input/output (I/O) interface 1312, a sensor component 1314, and a communication component 1316. Wherein the memory has stored thereon a computer program or instructions for execution on the processor.
The processing component 1302 generally controls overall operation of the electronic device 1300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1302 may include one or more processors 1320 to execute instructions to perform all or part of the steps of the method described above. Further, the processing component 1302 can include one or more modules that facilitate interaction between the processing component 1302 and other components. For example, the processing component 1302 may include a multimedia module to facilitate interaction between the multimedia component 1308 and the processing component 1302.
The memory 1304 is configured to store various types of data to support operation at the electronic device 1300. Examples of such data include instructions for any application or method operating on the electronic device 1300, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1304 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1306 provides power to the various components of the electronic device 1300. Power components 1306 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 1300.
The multimedia component 1308 includes a touch-sensitive display screen that provides an output interface between the electronic device 1300 and a user. In some embodiments, the touch display screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1308 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the electronic device 1300 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1310 is configured to output and/or input audio signals. For example, the audio component 1310 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 1300 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1304 or transmitted via the communication component 1316. In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.
The I/O interface 1312 provides an interface between the processing component 1302 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1314 includes one or more sensors for providing various aspects of state assessment for the electronic device 1300. For example, the sensor assembly 1314 may detect an open/closed state of the electronic device 1300, the relative positioning of components, such as a display and keypad of the electronic device 1300, the sensor assembly 1314 may also detect a change in the position of the electronic device 1300 or a component of the electronic device 1300, the presence or absence of user contact with the electronic device 1300, orientation or acceleration/deceleration of the electronic device 1300, and a change in the temperature of the electronic device 1300. The sensor assembly 1314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1316 is configured to facilitate communications between the electronic device 1300 and other devices in a wired or wireless manner. The electronic device 1300 may access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1316 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1316 also includes a Near Field Communications (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 1300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described information reporting methods.
Fig. 20 is a block diagram illustrating a server 1400 in accordance with an example embodiment. Referring to fig. 20, server 1400 includes a processing component 1420, which further includes one or more processors, and memory resources, represented by memory 1422, for storing instructions or computer programs, e.g., applications, that are executable by processing component 1420. The application programs stored in memory 1422 may include one or more modules that each correspond to a set of instructions. Further, processing component 1420 is configured to execute the instructions to perform the above-described method of information reporting.
The server 1400 may also include a power component 1424 configured to perform power management of the device 1400, a wired or wireless network interface 1426 configured to connect the device 1400 to a network, and an input/output (I/O) interface 1428. The server 1400 may operate based on an operating system stored in memory 1422, such as Window 1414 over, Mac O14 XTM, UnixTM, LinuxTM, FreeB14DTM, or the like.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 1304 comprising instructions, executable by the processor 1320 of the electronic device 1300 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided by the embodiments of the disclosure may include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express a few implementation modes of the embodiments of the present disclosure, and the description thereof is specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for those skilled in the art, variations and modifications can be made without departing from the concept of the embodiments of the present disclosure, and these are all within the scope of the embodiments of the present disclosure. Therefore, the protection scope of the patent of the embodiment of the disclosure should be subject to the appended claims.

Claims (36)

1. An information reporting method, the method comprising:
under the condition that the GPS function of the sharing equipment fails, acquiring the position information of other sharing equipment in a sharing equipment networking system, wherein the sharing equipment networking system comprises at least one main sharing equipment;
determining target position information of the sharing equipment from the position information of the other sharing equipment;
and reporting the target position information of the sharing equipment to a server through the main sharing equipment in the sharing equipment networking system.
2. The method according to claim 1, wherein the determining the target location information of the sharing device from the location information of the other sharing devices comprises:
and determining target position information of the sharing equipment from the position information of the other sharing equipment according to the communication quality of the sharing equipment and the other sharing equipment.
3. The method according to claim 2, wherein the determining the target location information of the sharing device from the location information of the other sharing devices according to the communication quality of the sharing device with the other sharing devices comprises:
determining candidate equipment from other sharing equipment with communication quality meeting preset communication requirements;
and selecting the position information of the candidate device closest to the sharing device from the candidate devices as the target position information of the sharing device.
4. The method according to claim 2, wherein the determining the target location information of the sharing device from the location information of the other sharing devices according to the communication quality of the sharing device with the other sharing devices comprises:
ranking the communication quality of the sharing device and the other sharing devices;
and determining the position information of other sharing equipment with the communication quality ranked at the top as the target position information of the sharing equipment.
5. The method according to claim 1, wherein the determining the target location information of the sharing device from the location information of the other sharing devices comprises:
acquiring the distance between the sharing equipment and the other sharing equipment;
and determining the position information of other sharing equipment with the shortest distance as the target position information.
6. The method according to claim 1, wherein the obtaining location information of other sharing devices in the sharing device networking system comprises:
sending a broadcast message to the other sharing devices; the broadcast message is used for indicating the other sharing equipment to send position information to the sharing equipment;
and receiving the position information sent by the other sharing equipment.
7. The method according to claim 6, wherein the determining the location information of the sharing device from the location information of the other sharing devices comprises:
and determining the target position information of the sharing equipment from the position information of the other sharing equipment according to the receiving time of the position information sent by the other sharing equipment.
8. The method according to claim 7, wherein the determining the target location information of the sharing device from the location information of the other sharing devices according to the receiving time of the location information sent by the other sharing devices comprises:
according to the time for sending the broadcast message and each receiving time, counting the time interval between the broadcast message sending and the other sharing equipment receiving the position information sent by the other sharing equipment;
and determining the position information of other sharing equipment with the shortest time interval as the target position information.
9. The method according to claim 7, wherein the determining the target location information of the sharing device from the location information of the other sharing devices according to the receiving time of the location information sent by the other sharing devices comprises:
and determining the position information of other sharing equipment with the earliest receiving time as the target position information.
10. The method of claim 1, wherein if the sharing device is a slave sharing device, reporting the target location information of the sharing device to a server through a master sharing device in the sharing device networking system, comprises:
and sending the target position information to the main sharing equipment through a first communication mode so that the main sharing equipment reports the target position information to the server through a second communication mode.
11. The method according to claim 10, wherein the sending the target location information to the primary sharing device through the first communication mode comprises:
determining a target path from a plurality of candidate paths; the candidate path is a communication path available between the sharing equipment and the main sharing equipment;
and sending the target position information to the main sharing equipment through the target path in the first communication mode.
12. The method of claim 11, wherein determining the target path from the plurality of candidate paths comprises:
and determining the candidate path with the shortest communication time or the strongest communication quality in the plurality of candidate paths as the target path.
13. The method of claim 1, wherein if the sharing device is a primary sharing device, reporting target location information of the sharing device to a server through the primary sharing device in the sharing device networking system, comprises:
and reporting the target position information to the server through the second communication mode.
14. The method of claim 1, further comprising:
and if detecting a new sharing device outside the networking system of the sharing device, acquiring a device identifier sent by the new sharing device, and adding the new sharing device into the networking system of the sharing device according to the device identifier.
15. The method according to claim 14, wherein the communication frequency points of the devices in the shared device networking system are uniformly distributed in different communication frequency bands.
16. The method of claim 1, further comprising:
receiving a device identifier of a primary sharing device sent by the server; and the main sharing equipment is the sharing equipment with the highest communication speed in the sharing equipment networking system determined by the server.
17. The method of claim 1, further comprising:
and receiving the communication speed broadcast by each sharing device in the sharing device networking system, and determining the sharing device with the maximum communication speed as the main sharing device.
18. An information reporting apparatus, comprising:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring the position information of other sharing equipment in a sharing equipment networking system under the condition that the GPS function of the sharing equipment fails, and the sharing equipment networking system comprises at least one main sharing equipment;
a determining module, configured to determine target location information of the sharing device from location information of the other sharing devices;
and the reporting module is used for reporting the target position information of the sharing equipment to a server through the main sharing equipment in the sharing equipment networking system.
19. The apparatus of claim 18, wherein the determining module comprises:
a first determining unit configured to determine target location information of the sharing device from location information of the other sharing devices according to communication quality of the sharing device with the other sharing devices.
20. The apparatus of claim 19, wherein the first determining unit comprises:
the selection subunit is used for determining candidate equipment from other sharing equipment with communication quality meeting preset communication requirements;
a first determining subunit, configured to select, from the candidate devices, location information of a candidate device closest to the sharing device as target location information of the sharing device.
21. The apparatus of claim 19, wherein the first determining unit comprises:
a ranking subunit, configured to rank communication qualities of the sharing device and the other sharing devices;
and a second determining subunit that determines, as target location information of the sharing device, location information of another sharing device whose communication quality is ranked first.
22. The apparatus of claim 18, wherein the determining module comprises:
an acquisition unit configured to acquire a distance between the sharing device and the other sharing device;
and a second determining unit, configured to determine, as the target location information, location information of other sharing devices having a shortest distance.
23. The apparatus of claim 18, wherein the obtaining module comprises:
a sending unit, configured to send a broadcast message to the other sharing devices; the broadcast message is used for indicating the other sharing equipment to send position information to the sharing equipment;
and the receiving unit is used for receiving the position information sent by the other sharing equipment.
24. The apparatus of claim 23, wherein the determining module comprises:
a third determining unit, configured to determine, according to a reception time at which the location information sent by the other sharing device is received, target location information of the sharing device from the location information of the other sharing device.
25. The apparatus of claim 24, wherein the third determining unit comprises:
a counting subunit, configured to count, according to the time for sending the broadcast message and each of the receiving times, a time interval between sending the broadcast message and receiving the location information sent by the other sharing devices;
and a third determining subunit, configured to determine, as the target location information, the location information of the other sharing device with the shortest time interval.
26. The apparatus of claim 24, wherein the third determining unit comprises:
a fourth determining subunit, configured to determine, as the target location information, the location information of the other sharing device with the earliest reception time.
27. The apparatus of claim 18, wherein if the sharing device is a slave sharing device, the reporting module comprises:
and the first reporting unit is used for sending the target position information to the main sharing equipment through a first communication mode so that the main sharing equipment reports the target position information to the server through a second communication mode.
28. The apparatus of claim 27, wherein the first reporting unit comprises:
a fifth determining subunit, configured to determine a target path from the multiple candidate paths; the candidate path is a communication path available between the sharing equipment and the main sharing equipment;
and the first sending subunit is configured to send the target location information to the primary sharing device in the first communication manner through the target path.
29. The apparatus according to claim 28, wherein the fifth determining subunit is configured to determine, as the target path, a candidate path with the shortest communication time or the strongest communication quality among the plurality of candidate paths.
30. The apparatus of claim 18, wherein if the sharing device is a primary sharing device, the reporting module comprises:
and the second reporting unit is used for reporting the target position information to the server through the second communication mode.
31. The apparatus of claim 18, further comprising:
and the updating module is used for acquiring the equipment identifier sent by the new sharing equipment if the new sharing equipment outside the networking system of the sharing equipment is detected, and adding the new sharing equipment into the networking system of the sharing equipment according to the equipment identifier.
32. The apparatus according to claim 31, wherein the communication frequency points of the devices in the shared device networking system are uniformly distributed in different communication frequency bands.
33. The apparatus of claim 18, further comprising:
a first receiving module, configured to receive a device identifier of a primary sharing device sent by the server; the main sharing device is the sharing device with the maximum communication speed in the sharing device networking system determined by the server.
34. The apparatus of claim 18, further comprising:
and the second receiving module is used for receiving the communication speed broadcast by each sharing device in the sharing device networking system and determining the sharing device with the highest communication speed as the main sharing device.
35. A shared device comprising a processor, a memory, and a transceiver, said processor, said memory, and said transceiver communicating with each other through an internal connection path,
the memory for storing program code;
the processor is configured to call the program code stored in the memory to implement the steps of the method of any one of claims 1 to 17 in cooperation with the transceiver.
36. A storage medium having a computer program stored thereon, the computer program, when being executed by a processor, realizing the steps of the method of any one of claims 1 to 17.
CN202010562102.8A 2020-06-18 2020-06-18 Information reporting method and device, shared equipment and storage medium Pending CN111885108A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010562102.8A CN111885108A (en) 2020-06-18 2020-06-18 Information reporting method and device, shared equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010562102.8A CN111885108A (en) 2020-06-18 2020-06-18 Information reporting method and device, shared equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111885108A true CN111885108A (en) 2020-11-03

Family

ID=73156808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010562102.8A Pending CN111885108A (en) 2020-06-18 2020-06-18 Information reporting method and device, shared equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111885108A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112788523A (en) * 2020-12-29 2021-05-11 上海钧正网络科技有限公司 Positioning method of sharing equipment and server
CN115696186A (en) * 2022-10-18 2023-02-03 合肥松果智造智能科技有限公司 Method, device and system for positioning offline sharing equipment
WO2023179241A1 (en) * 2022-03-25 2023-09-28 华为技术有限公司 Positioning method and apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104244404A (en) * 2013-06-24 2014-12-24 华为技术有限公司 Terminal position information obtaining method and equipment
CN104469678A (en) * 2014-11-12 2015-03-25 广东科学技术职业学院 Position sharing method and system based on Bluetooth function
CN104768127A (en) * 2014-01-07 2015-07-08 中兴通讯股份有限公司 Positioning method, device and server
CN108028874A (en) * 2015-09-21 2018-05-11 华为技术有限公司 For formed group and in group shared data systems, devices and methods
CN108289281A (en) * 2017-12-24 2018-07-17 湛江正信科技服务有限公司 Method, apparatus, electronic equipment and the storage medium that location information is shared
CN110099355A (en) * 2019-05-23 2019-08-06 歌尔科技有限公司 A kind of localization method, system and the relevant device of multiposition monitoring objective

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104244404A (en) * 2013-06-24 2014-12-24 华为技术有限公司 Terminal position information obtaining method and equipment
CN104768127A (en) * 2014-01-07 2015-07-08 中兴通讯股份有限公司 Positioning method, device and server
CN104469678A (en) * 2014-11-12 2015-03-25 广东科学技术职业学院 Position sharing method and system based on Bluetooth function
CN108028874A (en) * 2015-09-21 2018-05-11 华为技术有限公司 For formed group and in group shared data systems, devices and methods
CN108289281A (en) * 2017-12-24 2018-07-17 湛江正信科技服务有限公司 Method, apparatus, electronic equipment and the storage medium that location information is shared
CN110099355A (en) * 2019-05-23 2019-08-06 歌尔科技有限公司 A kind of localization method, system and the relevant device of multiposition monitoring objective

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112788523A (en) * 2020-12-29 2021-05-11 上海钧正网络科技有限公司 Positioning method of sharing equipment and server
CN112788523B (en) * 2020-12-29 2022-11-22 上海钧正网络科技有限公司 Positioning method of sharing equipment and server
WO2023179241A1 (en) * 2022-03-25 2023-09-28 华为技术有限公司 Positioning method and apparatus
CN115696186A (en) * 2022-10-18 2023-02-03 合肥松果智造智能科技有限公司 Method, device and system for positioning offline sharing equipment
CN115696186B (en) * 2022-10-18 2023-10-24 合肥松果智造智能科技有限公司 Offline sharing device positioning method, device and system

Similar Documents

Publication Publication Date Title
CN109315009B (en) Communication method, device, terminal, base station and storage medium
CN109121468B (en) Access method and device related to network slice
CN111869156A (en) Method and device for configuring reference signal resource, communication equipment and storage medium
CN109451793B (en) Method and device for realizing network edge calculation
CN111885108A (en) Information reporting method and device, shared equipment and storage medium
US20230224848A1 (en) Prs configuration processing method and apparatus, and communication device, and storage medium
US20230134028A1 (en) METHOD AND APPARATUS OF POSITIONING BETWEEN UEs, COMMUNICATION DEVICE AND STORAGE MEDIUM
CN109155907B (en) Internet of vehicles synchronization method and device
CN110603824B (en) Antenna panel selection method, device and storage medium
CN113678521A (en) Information processing method and device, communication equipment and storage medium
CN114557065A (en) Terminal positioning method and device, communication equipment and storage medium
CN108521882B (en) Network access method and device
US20240007989A1 (en) Parameter configuration method, parameter configuration apparatus, and storage medium
EP4300125A1 (en) Ranging method and apparatus, and user equipment and storage medium
WO2021088997A1 (en) Positioning network establishing method and device
CN113853817A (en) Information transmission method, device, communication equipment and storage medium
US20240125917A1 (en) Ranging method and apparatus, and user equipment and storage medium
CN115277687B (en) Resource data acquisition method, resource data acquisition device and storage medium
WO2022067559A1 (en) Request sending method, response information sending method, and position information acquisition method
WO2023206504A1 (en) System message processing method and apparatus, communication device, and storage medium
US20240121061A1 (en) Information transmission method, terminal device, base station, and storage medium
CN113906705A (en) Information transmission method, device, communication equipment and storage medium
CN116324467A (en) Positioning method, positioning device, communication equipment and storage medium
CN115804133A (en) Request sending method, base station determining method and device
CN117397258A (en) Information processing method and device, communication equipment and storage medium

Legal Events

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