Method, device and readable storage medium for generating trajectory video

By receiving instructions from network devices and monitoring the location of the target terminal to generate trajectory video, the problem of cumbersome operation in existing technologies where users actively provide location information is solved. This achieves efficient trajectory video generation without GPS positioning, improving user experience and saving terminal power.

CN116074749BActive Publication Date: 2025-12-05CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211731059.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-30
Publication Date
2025-12-05
Estimated Expiration
2042-12-30

AI Technical Summary

Technical Problem

Existing technologies for generating user trajectory videos require users to actively provide location information, which is cumbersome, results in a poor user experience, and relies on GPS positioning technology, leading to high power consumption.

Method used

By receiving instructions from network devices, monitoring the location of target terminals and generating trajectory videos, and utilizing target route maps and real-world images within the electronic fence, the system simplifies operations and reduces reliance on GPS positioning without requiring active user intervention.

Benefits of technology

It enables trajectory video generation without user intervention, improving user experience and reducing terminal power consumption and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116074749B_ABST
    Figure CN116074749B_ABST
Patent Text Reader

Abstract

The application discloses a trajectory video generation method and device and a readable storage medium, relates to the field of communication technology, and is used for actively generating a trajectory video for a user, simplifying user operation, and improving user experience. The method comprises the following steps: receiving first indication information sent by a network device, wherein the first indication information is used for indicating that a target terminal appears in a preset electronic fence; the electronic fence comprises a plurality of nodes; listening to position information of the target terminal; acquiring a target route map and target route information in the electronic fence; the target route map comprises a plurality of passing nodes and paths between the passing nodes; the target route information comprises position information of each passing node, position information of paths between the passing nodes, and one or more real scene pictures; and matching the position information of the target terminal with the target route information to generate a trajectory video.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the technical field of communication, and in particular, to a trajectory video generation method and device and a readable storage medium. BACKGROUND

[0002] With the rapid development of information technology, users have increasingly high requirements for the quality of tourism and the demand for tourism trajectories. Most trajectory videos of users are generated by using user-specified locations or satellite positioning to generate trajectory videos for users. This approach requires users to actively provide location information. Thus, the operation of the user is cumbersome, and the user experience is poor. SUMMARY

[0003] The present application provides a trajectory video generation method and device and a readable storage medium for actively generating trajectory videos for users, simplifying user operations, and improving user experience.

[0004] To achieve the above purpose, the present application adopts the following technical solutions:

[0005] In a first aspect, a trajectory video generation method is provided, including: receiving first indication information sent by a network device, the first indication information being used to indicate that a target terminal appears in a preset electronic fence; the electronic fence including a plurality of nodes; listening to location information of the target terminal; obtaining a target route map and target route information in the electronic fence; the target route map including a plurality of passing nodes and paths between the passing nodes, and the target route information including location information of each passing node, location information of paths between the passing nodes, and one or more real scene pictures; matching the location information of the target terminal with the target route map according to the target route information to generate a trajectory video, the trajectory video including a plurality of image frames, each image frame including location information identification of the target terminal in the target route map, a timestamp, and / or one or more real scene pictures at the location information identification.

[0006] Based on the technical solutions provided by the present application, after the target terminal appears in the preset electronic fence, the generation device can listen to the location information of the target terminal, obtain the target route map and the target route information in the electronic fence, and then match the location information of the target terminal with the target route map according to the target route information to generate a trajectory video. This approach does not require user active participation, simplifies user operations, and thus improves user experience.

[0007] Optionally, the trajectory video generation method further includes: obtaining boundary information of a target area; and generating an electronic fence according to the boundary information.

[0008] In this way, the generation device can set the electronic fence to demarcate the target area, and thus can timely discover that the target terminal appears in the target area.

[0009] Optionally, the listening to the location information of the target terminal comprises: sending a positioning request message to the network device, so that the network device analyzes the location information of the target terminal according to a measurement report of the target terminal; and receiving a positioning reply message sent by the network device, wherein the positioning reply message comprises the location information of the target terminal.

[0010] In this way, the generation apparatus can monitor the location information of the target terminal in real time after the target terminal enters the target area, so as to issue the node introduction information and the path planning information corresponding to the location according to the location information of the target terminal. In addition, no additional positioning technology (such as GPS positioning technology) or other applications need to be downloaded, and the power consumption of the target terminal is small, thereby improving the user experience.

[0011] Optionally, the method for generating the trajectory video further comprises: in a case where it is determined that the target terminal leaves the electronic fence, ending the listening to the location information of the target terminal, and sending the trajectory video to the target terminal.

[0012] In this way, the continuous monitoring of the target terminal can be avoided, and the security of user data is improved.

[0013] In a second aspect, a generation apparatus for a trajectory video is provided, and the apparatus comprises a receiving unit, a listening unit, an obtaining unit, and a matching unit. The receiving unit is configured to receive first indication information sent by a network device, wherein the first indication information is used to indicate that a target terminal appears in a preset electronic fence. The electronic fence comprises a plurality of nodes. The listening unit is configured to listen to location information of the target terminal. The obtaining unit is configured to obtain a target route map in the electronic fence and target route information. The target route map comprises a plurality of passing nodes and paths between the passing nodes. The target route information comprises location information of each passing node, location information of paths between the passing nodes, and one or more real scene pictures. The matching unit is configured to match the location information of the target terminal with the target route information, so as to generate a trajectory video. The trajectory video comprises a plurality of image frames. Each image frame comprises location information identification of the target terminal in the target route map, a timestamp, and / or one or more real scene pictures at the location information identification.

[0014] Optionally, the generation apparatus further comprises a processing unit. The obtaining unit is further configured to obtain boundary information of the target area. The processing unit is configured to generate the electronic fence according to the boundary information.

[0015] Optionally, the listening unit is specifically configured to: send a positioning request message to the network device, so that the network device analyzes the location information of the target terminal according to a measurement report of the target terminal; and receive a positioning reply message sent by the network device, wherein the positioning reply message comprises the location information of the target terminal.

[0016] Optionally, the processing unit is further configured to: end monitoring the location information of the target terminal in a case where it is determined that the target terminal leaves the electronic fence.

[0017] In a third aspect, a trajectory video generation apparatus is provided, which can implement the functions performed by the trajectory video generation apparatus in the above aspects or any possible design thereof. The functions can be implemented by hardware. In one possible design, the trajectory video generation apparatus can include a processor and a communication interface. The processor can be configured to support the trajectory video generation apparatus to implement the functions involved in the first aspect or any possible design of the first aspect.

[0018] In another possible design, the trajectory video generation apparatus can further include a memory configured to store computer-executable instructions and data necessary for the trajectory video generation apparatus. When the trajectory video generation apparatus is running, the processor executes the computer-executable instructions stored in the memory, so that the trajectory video generation apparatus performs the trajectory video generation method in the first aspect or any possible design of the first aspect.

[0019] In a fourth aspect, a computer-readable storage medium is provided, which can be a readable nonvolatile storage medium. The computer-readable storage medium stores computer instructions or programs. When the computer instructions or programs are run on a computer, the computer can perform the trajectory video generation method in the first aspect or any possible design of the first aspect.

[0020] In a fifth aspect, a computer program product including instructions is provided. When the computer program product is run on a computer, the computer can perform the trajectory video generation method in the first aspect or any possible design of the first aspect.

[0021] In a sixth aspect, an electronic device is provided, which includes one or more processors and one or more memories. The one or more memories are coupled to the one or more processors. The one or more memories are configured to store computer program codes including computer instructions. When the one or more processors execute the computer instructions, the electronic device performs the trajectory video generation method in the first aspect or any possible design of the first aspect.

[0022] In a seventh aspect, a chip system is provided, which includes a processor and a communication interface. The chip system can be configured to implement the functions performed by the trajectory video generation apparatus in the first aspect or any possible design of the first aspect. In one possible design, the chip system further includes a memory configured to store program instructions and / or data. The chip system can be composed of a chip or include a chip and other discrete devices, without limitation. Attached Figure Description

[0023] Figure 1 A schematic diagram of a trajectory video generation system provided in an embodiment of this application;

[0024] Figure 2 A schematic diagram of another trajectory video generation system provided in an embodiment of this application;

[0025] Figure 3 A schematic diagram of the structure of a trajectory video generation device provided in an embodiment of this application;

[0026] Figure 4 A flowchart illustrating a method for generating trajectory video provided in an embodiment of this application;

[0027] Figure 5 A flowchart illustrating another method for generating trajectory video provided in this application embodiment;

[0028] Figure 6 A flowchart illustrating another method for generating trajectory video provided in this application embodiment;

[0029] Figure 7 A flowchart illustrating another method for generating trajectory video provided in this application embodiment;

[0030] Figure 8 This is a schematic diagram of the structure of another trajectory video generation device provided in an embodiment of this application. Detailed Implementation

[0031] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0032] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the embodiments of this application as detailed in the appended claims.

[0033] It should also be understood that the term "comprising" indicates the presence of the described feature, whole, step, operation, element and / or component, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements and / or components.

[0034] With the rapid development of information technology, users' demands for tourism quality are constantly increasing. Currently, most tour guide and attraction information in scenic areas requires users to actively search for it. This information is often delivered via wireless radio frequency technology, interacting with devices to push tour guide information to users. Furthermore, the electronic guide devices available at scenic spots need to be rented separately. This makes the process cumbersome and costly for users.

[0035] In addition, many current real-time tour guide technologies require the use of GPS positioning technology or the download of other applications, which is inconvenient for users and consumes a lot of power on mobile phones.

[0036] In view of this, embodiments of this application provide a method for generating trajectory video, including: receiving first indication information sent by a network device, the first indication information being used to indicate that a target terminal appears within a preset electronic fence; the electronic fence includes multiple nodes; monitoring the location information of the target terminal; and when the location information of the target terminal is detected to be located at a first node, sending second indication information to the target terminal, the first node being any one of the multiple nodes, the second indication information including node description information and path planning information of the first node.

[0037] The methods provided in the embodiments of this application will now be described in detail with reference to the accompanying drawings.

[0038] It should be noted that the network system described in the embodiments of this application is for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and does not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of network systems and the emergence of other network systems, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.

[0039] Figure 1 The diagram shown is a schematic representation of a trajectory video generation system provided in an embodiment of this application. Figure 1 As shown, the trajectory video generation system may include a network device 11, a trajectory video generation apparatus 12, and a terminal device 13. The network device 11, the trajectory video generation apparatus 12 (hereinafter referred to as the generation apparatus 12), and the terminal device 13 are connected to each other. For example, the network device 11, the trajectory video generation apparatus 12, and the terminal device 13 can be connected wirelessly or via a wired connection; this embodiment of the invention does not limit the connection in this way.

[0040] The network device 11 in the embodiments of the present application can be an evolved node B (eNB), a home base station, an access point (AP) in a wireless fidelity (WIFI) system, a wireless relay node, a wireless backhaul node, a transmission point (TP), a transmission and reception point (TRP), or the like. The specific technology and specific device form of the network device 12 are not limited in the embodiments of the present application.

[0041] The generating device 12 in the embodiments of the present application can be a server, a computer, or the like. The specific technology and specific device form of the generating device 12 are not limited in the embodiments of the present application.

[0042] The terminal device 13 in the embodiments of the present application can also be referred to as a terminal, a mobile station (MS), a mobile terminal (MT), or the like, and is a device that provides voice and / or data connectivity for a user, for example, the terminal device 13 can be a handheld device having a wireless connection function, a vehicle-mounted device, or the like. Specifically, the terminal device 13 can be a mobile phone, a pocket personal computer (PPC), a palm computer, a personal digital assistant (PDA), a notebook computer, a tablet computer, a wearable device, or a vehicle-mounted device, or the like. The specific technology, specific quantity, and specific device form of the terminal device 13 are not limited in the embodiments of the present application. The specific technology, specific quantity, and specific device form of the terminal device 13 are not limited in the embodiments of the present application.

[0043] The network device 11 is configured to send first indication information to the generating device 12 when the target terminal appears in the preset electronic fence. The generating device 12 is configured to listen to the location information of the target terminal when the first indication information sent by the network device is received, and send second indication information to the target terminal when the location information of the target terminal is detected to be located at the first node.

[0044] In different application scenarios, the network device 11 and the generating device 12 can be independent devices or integrated into the same device. The embodiments of the present application do not make specific limitations in this regard.

[0045] It should be noted that, Figure 1 It is only an exemplary block diagram, Figure 1The names of the various devices included are unrestricted, and except for Figure 1 In addition to the functional nodes shown, other nodes may also be included, but this application embodiment does not limit this.

[0046] Figure 2 This diagram illustrates yet another trajectory video generation system provided in an embodiment of this application. Figure 2 As shown, the system for generating this trajectory video may include a 5G messaging platform, an operation platform, a communication big data platform, and a base station (electronic fence).

[0047] The following section describes the various modules of the system.

[0048] 1. Base station (electronic fence): It can be used to send monitoring instructions to the communication big data platform after detecting that the target terminal has appeared within the preset electronic fence.

[0049] 2. Communication Big Data Platform: It can be used to monitor the location information of target terminals in real time and send the location information of target terminals to the operation platform through the 5G messaging platform.

[0050] 3. 5G Messaging Platform: It can be used to send trajectory videos to target terminals via 5G messaging.

[0051] 4. Operation Platform: This includes a trajectory generation module and a region module. The trajectory generation module generates trajectory videos based on the location information of the target terminal. The region module stores the location information of various scenic spots.

[0052] It should be noted that, Figure 2 This is just an example framework diagram. Figure 2 The names of the modules included are unrestricted, and except for Figure 2 In addition to the functional modules shown, other modules may also be included, but this application embodiment does not limit this.

[0053] In practical implementation, Figure 1 Each device in the process can be adopted Figure 3 The shown composition structure, or including Figure 3 The components shown. Figure 3 This is a schematic diagram illustrating the composition of a generation apparatus 200 provided in an embodiment of this application. The generation apparatus 200 can be a server, or it can be a chip or system-on-a-chip within a server. Figure 3 As shown, the generating device 200 includes a processor 201, a communication interface 202, and a communication line 203.

[0054] Furthermore, the generating apparatus 200 may also include a memory 204. The processor 201, memory 204, and communication interface 202 can be connected via a communication line 203.

[0055] The processor 201 can be a CPU, a general-purpose processor, a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD) or any combination thereof. The processor 201 can also be other devices with processing capability such as circuits, devices or software modules, which are not limited herein.

[0056] The communication interface 202 is configured to communicate with other devices or other communication networks. The communication interface 202 can be a module, a circuit, a communication interface or any device capable of communication.

[0057] The communication line 203 is configured to transmit information between components included in the generating apparatus 200.

[0058] The memory 204 is configured to store instructions. The instructions can be a computer program.

[0059] The memory 204 can be a read-only memory (ROM) or other type of static storage device that can store static information and / or instructions, or a random access memory (RAM) or other type of dynamic storage device that can store information and / or instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, a magneto-optical disk, a magnetic disk storage or other magnetic storage devices, etc., which are not limited herein.

[0060] It should be noted that the memory 204 can exist independently of the processor 201, or can be integrated with the processor 201. The memory 204 can be used to store instructions or program codes or some data, etc. The memory 204 can be located in the generating apparatus 200, or can be located outside the generating apparatus 200, which is not limited herein. The processor 201 is configured to execute the instructions stored in the memory 204 to implement the trajectory video generation method provided in the embodiments described below.

[0061] In an example, the processor 201 can include one or more CPUs, such as CPU0 and CPU1 in FIG. 1. Figure 3 In an example, the processor 201 can include one or more CPUs, such as CPU0 and CPU1 in FIG. 1.

[0062] As an optional implementation, the generation device 200 includes multiple processors, for example, besides Figure 3 In addition to processor 201, it may also include processor 205.

[0063] It should be pointed out that, Figure 3 The composition shown does not constitute a basis for the interpretation of this invention. Figure 1 The limitations of each device in the process, except Figure 3 In addition to the components shown, Figure 1 The various devices in the can include ratio Figure 3 More or fewer components, or combinations of certain components, or different arrangements of components.

[0064] In this embodiment of the application, the chip system may be composed of chips or may include chips and other discrete devices.

[0065] Furthermore, the actions, terms, etc., involved in the various embodiments of this application can be referenced interchangeably without limitation. The message names or parameter names in the messages exchanged between the various devices in the embodiments of this application are merely examples, and other names may be used in specific implementations without limitation.

[0066] To facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with essentially the same function and effect. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and the terms "first" and "second" are not necessarily different.

[0067] It should be noted that, in this application, the terms "exemplary" or "for example" are used to indicate that something is being described as an example, illustration, or illustration. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0068] In the present application, "at least one" means one or more, and "multiple" means two or more. The "and / or" describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent the following three cases: A exists alone, A and B exist together, and B exists alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the front and rear associated objects. "At least one of the following" or similar expressions means any combination of these items, including any combination of single or multiple items. For example, at least one of a, b, or c can represent a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, and c can be single or multiple.

[0069] The following describes the trajectory video generation method provided by the embodiments of the present application in combination with Figure 1 the trajectory video generation system.

[0070] Figure 4 The trajectory video generation method provided by the embodiments of the present application is applied to a server and can also be applied to a generation device, which can be the generation device 12 in Figure 1 , or a device such as a chip in the generation device 12. The embodiments of the present application take the generation device 12 as an example for illustration, as shown in Figure 4 , the method includes the following S401-S404:

[0071] S401, the generation device receives first indication information sent by a network device.

[0072] The first indication information is used to indicate that a target terminal appears in a preset electronic fence, and the electronic fence includes multiple nodes.

[0073] The target terminal can be any terminal with a mobile communication function. The electronic fence can be an area covering a specific scene. For example, the specific scene can be a scenic spot, and the multiple nodes can be multiple scenic spots in the scenic spot.

[0074] For another example, the specific scene can be a school, and the multiple nodes can be multiple buildings in the school, without limitation.

[0075] As a possible implementation manner, when the target terminal appears in the preset electronic fence, the target terminal can send a radio resource control (RRC) connection message to the network device. The network device determines that the target terminal appears in the preset electronic fence when receiving the RRC connection message sent by the target terminal, and sends first indication information to the generation device. Correspondingly, the generation device receives the first indication information sent by the network device.

[0076] As a further possible implementation, the target terminal can send the positioning information to the network device. The network device, upon receiving the positioning information sent by the target terminal, can match the positioning information of the target terminal with the location range of the electronic fence. If the positioning information of the target terminal is located in the location range of the electronic fence, the network device sends the first indication information to the generating apparatus. Correspondingly, the generating apparatus receives the first indication information sent by the network device.

[0077] It should be noted that the above possible implementations are only exemplary and not limited.

[0078] S402, the generating apparatus listens to the location information of the target terminal.

[0079] The location information can be longitude and latitude information, coordinate information, etc.

[0080] As a possible implementation, the generating apparatus can send a positioning request message to the network device. The network device, upon receiving the positioning request message sent by the generating apparatus, can determine the location information of the target terminal based on the base station positioning technology, and send a positioning reply message to the generating apparatus. The generating apparatus can listen to the location information of the target terminal based on receiving the positioning reply message sent by the network device.

[0081] It should be noted that the specific process of listening to the location information of the target terminal in this step can refer to the description of the subsequent steps, which will not be repeated here.

[0082] In some embodiments, the generating apparatus can also directly determine the location information of the target terminal according to the GPS of the target terminal. For example, the generating apparatus can send a positioning request message to the target terminal. The target terminal, upon receiving the positioning request message sent by the generating apparatus, can determine the location information of the target terminal based on the GPS, and send a positioning reply message to the generating apparatus. The generating apparatus can listen to the location information of the target terminal based on receiving the positioning reply message sent by the network device.

[0083] It should be noted that the frequency of the generating apparatus listening to the location information of the target terminal can be set as needed. For example, it can be 1 time per second, or 1 time per 0.5 seconds, etc.

[0084] S403, the generating apparatus acquires the target route map and the target route information in the electronic fence.

[0085] The target route map includes a plurality of passing nodes and paths between the passing nodes, and the target route information includes the location information of each passing node, the location information of the paths between the passing nodes, and one or more real scene pictures.

[0086] As a possible implementation manner, the generating apparatus can be in communication connection with a third-party database, and the third-party database pre-stores the target route map and the target route information in the electronic fence. The generating apparatus can send a first subscription message to the third-party database, and the first subscription message is used to request the target route map and the target route information in the electronic fence. After receiving the first subscription message sent by the generating apparatus, the third-party database can send a first reply message to the generating apparatus, and the first reply message includes the target route map and the target route information in the electronic fence. The generating apparatus can acquire the target route map and the target route information in the electronic fence based on the first reply message.

[0087] It should be noted that the one or more real scene pictures can be attached with corresponding picture information, and the picture information can be position information of the picture.

[0088] S404, the generating apparatus matches the position information of the target terminal with the target route map according to the target route information, to generate the track video.

[0089] The track video includes a plurality of image frames, and each image frame includes position information identification of the target terminal in the target route map, a timestamp, and / or one or more real scene pictures at the position information identification.

[0090] As a possible implementation manner, the generating apparatus can determine the position of the target terminal in the target route map according to the target route information, and label the position of the target terminal in the target route map to generate a plurality of image frames. Further, the generating apparatus arranges the plurality of image frames in the order of the timestamps of the image frames on the target route map, to generate the track video.

[0091] It should be noted that the form of the label can be adding a point label to the geographical position where the picture is taken, which is not limited here. The one or more real scene pictures can be pre-stored in the database or uploaded after being taken by the target terminal.

[0092] Based on the technical solution provided in the present application, after the target terminal appears in the preset electronic fence, the generating apparatus can listen to the position information of the target terminal, acquire the target route map and the target route information in the electronic fence, and then match the position information of the target terminal with the target route map according to the target route information, to generate the track video, without the need for the user to actively participate, simplifying the user operation and improving the user experience.

[0093] As shown in a possible embodiment, Figure 5 To generate the electronic fence, the issuing method of the present application can further include the following S501-S502.

[0094] S501, the generating device acquires boundary information of the target area.

[0095] The boundary information can include position information of the boundary of the target area, such as longitude and latitude information, or coordinate information of the boundary position.

[0096] As a possible implementation, the generating device can be provided with an input device, such as a keyboard. The user can input the position information of the boundary of the target area through the input device, and then the generating device can acquire the boundary information of the target area according to the input operation of the user.

[0097] S502, the generating device generates an electronic fence according to the boundary information.

[0098] The electronic fence refers to a virtual fence for dividing the target area into a target area and a non-target area.

[0099] As a possible implementation, the generating device can set a plurality of boundary nodes on the boundary of the target area, connect the boundary nodes in a setting manner, and then obtain the electronic fence of the target area. The shape of the boundary of the target area can also be approximated to obtain the electronic fence of the target area. Of course, other algorithms can also be used to obtain the electronic fence of the target area. The electronic fence of the target area can also be generated by a machine learning algorithm and a geographic information system (GIS).

[0100] It should be noted that the possible implementation of this step is only exemplary and not limited.

[0101] In this way, the generating device can set the electronic fence to demarcate the target area, and then the target terminal can be found in the target area in time.

[0102] As a possible embodiment, as shown in Figure 6 To determine the position information of the target terminal, S402 in the determination method of the present application can further include S601-S602.

[0103] S601, the generating device sends a positioning request message to the network device, so that the network device analyzes the position information of the target terminal according to the measurement report of the target terminal.

[0104] The measurement report can include various positioning information, such as signal strength, uplink and downlink delay, and angle of arrival.

[0105] As a possible implementation, the generating device is configured with one or more positioning algorithms, and different positioning algorithms require different positioning information. The generating device can obtain the position information of the target terminal according to the positioning algorithm and the corresponding positioning information in the measurement report.

[0106] It should be noted that the target terminal can send the measurement report at a preset frequency. The preset frequency can be set as needed. For example, the preset frequency can be 1 time per second, etc., without limitation. The higher the preset frequency, the higher the accuracy of positioning the target terminal.

[0107] It should be noted that the transmission data form of the measurement report can be a data message, etc.

[0108] In some embodiments, in order to ensure the security of the measurement report, the target terminal can encrypt the measurement report.

[0109] S602, the generating device receives the positioning reply message sent by the network device.

[0110] The positioning reply message includes the position information of the target terminal.

[0111] As a possible implementation, the network device can encrypt the positioning reply message and send the encrypted positioning reply message to the generating device. Correspondingly, the generating device receives the encrypted positioning reply message sent by the network device, and decrypts the encrypted positioning reply message to obtain the positioning reply message.

[0112] It should be noted that the encryption method can be set as needed, without limitation.

[0113] In this way, the generating device can monitor the position information of the target terminal in real time after the target terminal enters the target area, so as to issue the node introduction information and path planning information corresponding to the position according to the position information of the target terminal. And it does not need additional positioning technology (such as GPS positioning technology) or download other applications, and the power consumption of the target terminal is small, which improves the user experience.

[0114] As a possible embodiment, as shown in Figure 7 The determination method of the present application can further include the following S701.

[0115] S701, when the generating device determines that the target terminal leaves the electronic fence, it ends the monitoring of the position information of the target terminal, and sends the trajectory video to the target terminal.

[0116] As a possible implementation, the generation apparatus can determine whether the target terminal leaves the electronic fence by comparing the position information of the electronic fence with the position information of the target terminal. For example, in a case where the position information of the target terminal is outside the position information of the electronic fence, the generation apparatus can determine that the target terminal leaves the electronic fence and end the monitoring of the position information of the target terminal.

[0117] In this way, continuous monitoring of the target terminal can be avoided, and the security of user data is improved.

[0118] The various schemes in the above embodiments of the present application can be combined as long as there is no contradiction.

[0119] The present application embodiment can divide the function modules or function units of the generation apparatus according to the above method examples. For example, each function module or function unit can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be realized in the form of hardware or in the form of software function module or function unit. The division of modules or units in the present application embodiment is illustrative, and is only a logical function division. Actual implementation can have another division mode.

[0120] In the case of dividing each function module according to each function, Figure 8 A structural schematic diagram of a generation apparatus is shown. The generation apparatus can be a server or a chip applied in a server. The generation apparatus can be used to execute the functions of the server involved in the above embodiments. Figure 8 The shown generation apparatus can include a receiving unit 801, a monitoring unit 802, an obtaining unit 803, and a matching unit 804. The receiving unit 801 is configured to receive first indication information sent by a network device, the first indication information being used to indicate that a target terminal appears in a preset electronic fence. The electronic fence includes a plurality of nodes. The monitoring unit 802 is configured to monitor position information of the target terminal. The obtaining unit 803 is configured to obtain a target route map in the electronic fence and target route information. The target route map includes a plurality of passing nodes and paths between the passing nodes. The target route information includes position information of each passing node, position information of paths between the passing nodes, and one or more real scene pictures. The matching unit 804 is configured to match the position information of the target terminal with the target route information to generate a trajectory video. The trajectory video includes a plurality of image frames. Each image frame includes position information identification of the target terminal in the target route map, a timestamp, and / or one or more real scene pictures at the position information identification.

[0121] In a possible design, the generating apparatus further includes a processing unit 805, and the obtaining unit 803 is further configured to obtain boundary information of the target area, and the processing unit 805 is configured to generate the electronic fence according to the boundary information.

[0122] In a possible design, the listening unit 802 is specifically configured to: send a positioning request message to the network device, so that the network device analyzes the position information of the target terminal according to the measurement report of the target terminal; and receive a positioning reply message sent by the network device, where the positioning reply message includes the position information of the target terminal.

[0123] In a possible design, the processing unit 805 is further configured to: in a case where it is determined that the target terminal leaves the electronic fence, end listening to the position information of the target terminal, and send the trajectory video to the target terminal.

[0124] The embodiments of the present application further provide a computer readable storage medium. All or part of the processes of the method embodiments described above can be completed by a computer program instructing related hardware, and the program can be stored in the computer readable storage medium. When the program is executed, the processes of the method embodiments described above can be included. The computer readable storage medium can be an internal storage unit of the generating apparatus (including the data sending end and / or the data receiving end) of any of the preceding embodiments, for example, a hard disk or a memory of the generating apparatus. The computer readable storage medium can also be an external storage device of the terminal apparatus, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. Further, the computer readable storage medium can include both the internal storage unit and the external storage device of the generating apparatus. The computer readable storage medium is used to store the computer program and other programs and data required by the generating apparatus. The computer readable storage medium can also be used to temporarily store data that has been output or will be output.

[0125] It should be noted that the terms "first" and "second" and the like in the specification, claims and drawings of the present application are used to distinguish different objects, and are not used to describe a specific order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but can optionally include other steps or units not listed or can optionally include other steps or units inherent to the process, method, product or device.

[0126] It should be understood that, in the present application, "at least one" refers to one or more, "multiple" refers to two or more, "at least two" refers to two or three and three or more, and "and / or" is used to describe the association relationship of the associated objects, which means that there can be three relationships, for example, "A and / or B" can mean: only A, only B, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after it. "At least one of the following" or similar expressions means any combination of these items, including any combination of single or multiple items. For example, at least one of a, b or c, can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0127] Through the description of the above embodiments, those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above division of functional modules is exemplified, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

[0128] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the modules or units is only a logical function division, and actual implementation can have another division manner, for example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed each other can be through some interface, indirect coupling or communication connection between devices or units, which can be electrical, mechanical or other forms.

[0129] The units described as separate components can or can not be physically separated, and the components shown as units can be one physical unit or multiple physical units, that is, they can be located in one place, or they can be distributed to multiple different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.

[0130] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0131] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application essentially or say the part that contributes to the prior art or the whole or part of the technical solutions can be

[0132] embodied in the form of a software product, and the software product is stored in a storage medium, including a number of instructions to make a device (which can be a single-chip microcomputer, a chip, etc.) or a processor execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a ROM, a RAM, a magnetic disk or an optical disk, and various media that can store program codes.

[0133] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited to this,

[0134] Any change or replacement within the technical scope disclosed in the present application should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A method for generating a trajectory video, characterized by, The method comprises: receiving first indication information sent by a network device, the first indication information being used for indicating that a target terminal appears in a preset electronic fence; the electronic fence comprises a plurality of nodes; listening to position information of the target terminal; obtaining a target route map and target route information in the electronic fence; the target route map comprises a plurality of passing nodes and paths between the passing nodes; the target route information comprises position information of each passing node, position information of paths between the passing nodes and one or more real scene pictures; matching the position information of the target terminal with the target route information to generate a track video, the track video comprising a plurality of image frames, each image frame comprising position information identification of the target terminal in the target route map, a timestamp and / or one or more real scene pictures at the position information identification.

2. The method of claim 1, wherein, The method further comprises: obtaining boundary information of a target area; generating the electronic fence according to the boundary information.

3. The method of claim 1, wherein, The listening to the position information of the target terminal comprises: sending a positioning request message to the network device, so that the network device analyzes the position information of the target terminal according to a measurement report of the target terminal; receiving a positioning reply message sent by the network device, the positioning reply message comprising the position information of the target terminal.

4. The method according to claim 1 or 3, characterized in that, The method further comprises: in a case where it is determined that the target terminal leaves the electronic fence, ending the listening to the position information of the target terminal and sending the track video to the target terminal.

5. An apparatus for generating a trajectory video, the apparatus comprising: The device comprises a receiving unit, a listening unit, an obtaining unit and a matching unit. The receiving unit is configured to receive first indication information sent by a network device, the first indication information being used for indicating that a target terminal appears in a preset electronic fence; the electronic fence comprises a plurality of nodes. The listening unit is configured to listen to position information of the target terminal. The obtaining unit is configured to obtain a target route map and target route information in the electronic fence; the target route map comprises a plurality of passing nodes and paths between the passing nodes; the target route information comprises position information of each passing node, position information of paths between the passing nodes and one or more real scene pictures. The matching unit is configured to match the position information of the target terminal with the target route information to generate a track video, the track video comprising a plurality of image frames, each image frame comprising position information identification of the target terminal in the target route map, a timestamp and / or one or more real scene pictures at the position information identification.

6. The apparatus of claim 5, wherein, The device further comprises a processing unit. The obtaining unit is configured to obtain boundary information of a target area. The processing unit is configured to generate the electronic fence according to the boundary information.

7. The apparatus of claim 5, wherein, The listening unit is specifically configured to: send a positioning request message to the network device, so that the network device analyzes the position information of the target terminal according to a measurement report of the target terminal. receive a positioning reply message sent by the network device, the positioning reply message comprising location information of the target terminal.

8. The apparatus of claim 5 or 7, wherein, The device further comprises a processing unit configured to: in a case where it is determined that the target terminal leaves the electronic fence, end monitoring of the location information of the target terminal, and send the trajectory video to the target terminal.

9. A computer-readable storage medium, characterized in that, The readable storage medium stores instructions, when the instructions are executed, the method in any one of claims 1-4 is realized.

10. An apparatus for generating a trajectory video, the apparatus comprising: comprise: a processor, a memory and a communication interface; wherein the communication interface is configured to communicate with other devices or networks for the trajectory video generation device; The memory is configured to store one or more programs comprising computer execution instructions, when the trajectory video generation device is running, the processor executes the computer execution instructions stored in the memory, so that the trajectory video generation device executes the method in any one of claims 1-4.

Citation Information

Patent Citations

  • Automatic video track forming method and system

    CN105721813A

  • Electronic fence creation method and device and storage medium

    CN111787485A