Method, apparatus, and electronic device for generating passable road model within subway station
By obtaining the subway station logo and floor structure diagram, and combining the collection application to determine the entrance and exit connection relationship, a passable road model within the subway station is generated, which solves the accuracy and safety of path planning within the subway station and realizes user-friendly path optimization.
Patent Information
- Application Number
- CN202111306120.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-05
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2041-11-05
AI Technical Summary
How to generate a passable road model within a subway station so that passengers can make full use of the in-site passage during walking, save paths and improve safety.
By obtaining the subway station identification of the current location of the electronic device, obtaining the plan structure diagram of the subway station, and using the acquisition application to determine the connection relationship between each entrance and exit, a passable road model of the subway station is generated.
The accurate generation of road models in the subway station is achieved, reducing the error between the collection results and the actual situation. Users do not need to master complex professional knowledge to operate. Combined with the walking navigation program, they provide the shortest path and improve traffic safety.
Smart Images

Figure CN114202636B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of information collection technology, particularly to the field of intelligent transportation, and more particularly to a method, apparatus, electronic device, and storage medium for generating a passable road model within a subway station. Background Art
[0002] The in-station passage of a subway station is a road located between various entrances and exits of the subway station, which does not require passing through a turnstile and does not require additional payment, and can be passed through freely. If people can make full use of the in-station passage of the subway station during walking, the purpose of saving the path can be achieved, and the original distance that needs to cross the road can be changed to walking through the in-station passage of the subway station, increasing the safety of passage. Therefore, how to generate a passable road model within a subway station has become an urgent problem to be solved. Summary of the Invention
[0003] This application provides a method, apparatus, and electronic device for generating a passable road model within a subway station.
[0004] According to the first aspect of this application, a method for generating a passable road model within a subway station is provided, including:
[0005] Obtaining the subway station identifier of the current location of the electronic device;
[0006] Obtaining the floor plan of the subway station according to the subway station identifier;
[0007] Obtaining the connectivity relationship between N entrances and exits within the subway station according to the operation information of making subway passage events on the collection application interface; wherein, the collection application is installed on the electronic device; N is a positive integer;
[0008] Generating the passable road model of the subway station according to the floor plan and the connectivity relationship between the N entrances and exits.
[0009] According to another second aspect of this application, a device for generating a passable road model within a subway station is provided, including:
[0010] An identifier acquisition module, configured to obtain the subway station identifier of the current location of the electronic device;
[0011] A structure acquisition module, configured to obtain the floor plan of the subway station according to the subway station identifier;
[0012] A collection module, configured to obtain the connectivity relationship between N entrances and exits within the subway station according to the operation information of making subway passage events on the collection application interface; wherein, the collection application is installed on the electronic device; N is a positive integer;
[0013] A generation module, configured to generate a passable road model of the subway station according to the plane structure diagram and the connection relationship between the N entrances and exits.
[0014] According to a third aspect of the present application, there is provided an electronic device, including:
[0015] At least one processor; and
[0016] A memory communicatively connected to the at least one processor; wherein,
[0017] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method described in the foregoing first aspect.
[0018] According to a fourth aspect of the present application, there is provided a non-transitory computer-readable storage medium storing computer instructions, and the computer instructions are used to cause the computer to execute the method described in the foregoing first aspect.
[0019] According to a fifth aspect of the present application, there is provided a computer program product, including a computer program, and the computer program implements the method described in the foregoing first aspect when executed by a processor.
[0020] According to the technical solution of the present application, by obtaining the subway station identifier of the current location of the electronic device, the information confirmation of the subway station is realized, providing basic information for subsequent route acquisition, and ensuring the accuracy of the generated road model; by obtaining the plane structure diagram in the subway station, the purpose of generating a passable road model in the subway station according to the connection situation is realized, reducing the error between the acquisition result and the actual situation; a collection application program can be provided for users, so that users can determine the connection relationship between each entrance and exit in the subway station by operating the collection application program. In this way, social personnel can be mobilized for local collection, and the collection process does not require complex professional knowledge, only the collection application program needs to be operated, and no heavy collection equipment is required. By combining the passable road model with the downstream walking navigation program, users can understand the passage conditions of the in-station channels of the subway station, enabling users to make full use of the in-station channels of the subway station during walking, achieving the purpose of saving paths, and changing the originally required road-crossing journey to walking through the in-station channels of the subway station, increasing the safety of passage.
[0021] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The accompanying drawings are used to better understand the present solution and do not constitute a limitation to this application. Among them:
[0023] Figure 1 It is a flowchart of a method for generating a passable road model in a subway station provided by an embodiment of this application;
[0024] Figure 2 It is a flowchart of a method for obtaining subway station signs provided by an embodiment of this application;
[0025] Figure 3 It is a flowchart of another method for generating a passable road model in a subway station provided by an embodiment of this application;
[0026] Figure 4 It is a design diagram of a collection application program interface provided by an embodiment of this application;
[0027] Figure 5 It is another design diagram of a collection application program interface provided by an embodiment of this application;
[0028] Figure 6 It is a flowchart of another method for generating a passable road model in a subway station provided by an embodiment of this application;
[0029] Figure 7 It is a schematic diagram of the passable road result provided by an embodiment of this application.
[0030] Figure 8 It is a flowchart of another method for generating a passable road model in a subway station provided by an embodiment of this application;
[0031] Figure 9 It is a structural block diagram of a device for generating a passable road model in a subway station provided by an embodiment of this application;
[0032] Figure 10 It is a structural block diagram of a device for generating a passable road model in a subway station in another embodiment provided by an embodiment of this application;
[0033] Figure 11 It is a structural block diagram of a device for generating a passable road model in a subway station in another embodiment provided by an embodiment of this application;
[0034] Figure 12 It is a structural block diagram of a device for generating a passable road model in a subway station in another embodiment provided by an embodiment of this application;
[0035] Figure 13 It is a structural block diagram of an electronic device for implementing a method for intelligent conversation provided by an embodiment of this application. Detailed implementation manners
[0036] The following describes exemplary embodiments of the present application in conjunction with the accompanying drawings. Various details of the embodiments of the present application are included to facilitate understanding, and they should be considered merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, descriptions of well-known functions and structures are omitted in the following description for clarity and conciseness.
[0037] It should be noted that the in-station passage of a subway station is located between various entrances and exits of the subway station. It is a road that does not require passing through a turnstile, does not require additional payment, and can be freely passed through. If people can make full use of the in-station passage of the subway station during walking, the purpose of saving the path can be achieved, and the original journey that needs to cross the road can be changed to walking through the in-station passage of the subway station, increasing the safety of passage. Therefore, how to generate a passable road model in the subway station has become an urgent problem to be solved.
[0038] Based on the above problems, the present application discloses a method for generating a passable road model in a subway station. By obtaining the connection relationship between various entrances and exits in the subway station and combining with the plane structure diagram of the subway station, a passable road model of the subway station is generated. The following describes the method for generating a passable road model in a subway station according to an embodiment of the present application with reference to the accompanying drawings.
[0039] Figure 1 This is a flowchart of a method for generating a passable road model in a subway station according to an embodiment of the present application. As Figure 1 shown, the method for generating a passable road model in the subway station includes the following steps:
[0040] Step 101, obtain the subway station identifier of the current location of the electronic device.
[0041] In one implementation, it is assumed that the method for generating a passable road model in a subway station according to an embodiment of the present application can be applied to an electronic device, and a collection application program is installed on the electronic device. The user can use the collection application program to collect and record the connection relationship between the entrances and exits in the subway station.
[0042] As one implementation, the present application can set a search bar in the interface of the collection application program. When it is necessary to obtain the subway station identifier, the subway station identifier that best meets the search conditions can be displayed to the user according to the search conditions in the search bar. The user can select the most suitable subway station identifier according to the actual situation to obtain the corresponding subway station identifier. Among them, the search content can be a keyword or the street name corresponding to the subway station.
[0043] For example, when it is necessary to obtain the subway station identifier, enter "Chenjiaci Street" in the search bar and search, and the identifier of Chenjiaci Subway Station can be obtained. After the user selects the identifier of Chenjiaci Subway Station, the electronic device can obtain the identifier of Chenjiaci Subway Station based on the user's selection operation.
[0044] Step 102: Obtain the floor plan of the subway station according to the subway station identifier.
[0045] As an implementation method, the floor plans of subway stations in each province (or city) can be obtained in advance from the subway station map library, the data sets are divided according to the province (or city), and the floor plans of the subway stations are stored in their respective corresponding data sets.
[0046] Optionally, when obtaining the identifier of the subway station where the electronic device is currently located, the city to which the subway station belongs can be determined according to the subway station identifier, and the floor plan of the subway station can be obtained from the pre-stored data set according to the city and the subway station identifier.
[0047] Step 103: Obtain the connection relationship between N entrances and exits in the subway station according to the operation information for making subway passage events on the collected application interface; wherein, the collected application is installed on the electronic device; N is a positive integer.
[0048] For example, there are three entrances and exits A, B, and C in the subway station. There is a "Make Subway Passage" control on the collected application interface. The user triggers the "Make Subway Passage" control to perform the operation of making the subway passage. According to the actual situation, it is determined that only A to B is connected. The user inputs the connection relationship of the entrances and exits into the collected application and ends the operation of making the subway passage; in this way, the operation information of the user on the collected application interface can be obtained, and the connection relationship between N entrances and exits in the subway station can be obtained.
[0049] Step 104: Generate a passable road model of the subway station according to the floor plan and the connection relationship between N entrances and exits.
[0050] As an implementation method, first default that all entrances and exits are connected to each other, obtain the passage roads between each entrance and exit according to the floor plan of the subway station, and when the connection relationship between the entrances and exits is determined, the corresponding passage roads can be selected to generate the passable road model of the subway station.
[0051] As an example, there are three entrances and exits A, B, and C in the subway station. The passage roads of A-B, B-A, C-A, A-C, C-B, and B-C are obtained according to the floor plan of the subway station. When it is determined that only A to B is connected, the passable road model of the subway station can be generated according to the passage road of A-B.
[0052] As another implementation, by default, there is no connection between each entrance and exit. After determining the connection relationship between the entrances and exits, the passage roads between the corresponding entrances and exits are obtained according to the floor plan of the subway station, and the passable road model of the subway station is generated based on the passage roads between the corresponding entrances and exits.
[0053] As an example, there are three entrances and exits A, B, and C in the subway station. When it is determined that only A is connected to B, the passage road from A to B is obtained according to the floor plan of the subway station, and the passable road model of the subway station is generated based on the passage road from A to B.
[0054] It should be noted that there are many application scenarios for the passable road model of the subway station. As an example, the generated passable road model inside the subway station is combined with a walking navigation program. When the user needs to perform walking navigation, the walking navigation program generates a route map, and the route includes the part of the in-station passage of subway station F. For example, it is shown on the route map as: Enter from entrance A of subway station F - Leave from entrance B of subway station F.
[0055] According to the method for generating the passable road model inside the subway station of the present application, by obtaining the subway station identifier of the current location of the electronic device, the information confirmation of the subway station is realized, providing basic information for subsequent route acquisition and ensuring the accuracy of the generated road model; by obtaining the floor plan, the purpose of generating the passable road model according to the connection situation is realized, reducing the error between the acquisition result and the actual situation; a collection application program can be provided for the user, and the user determines the connection relationship between each entrance and exit by operating the collection application program. Social personnel can be mobilized for local collection, so that the collection process does not require complex professional knowledge, only the collection application program needs to be operated, and there is no need for heavy collection equipment. By combining the passable road model with the downstream walking navigation program, the user's understanding of the passage situation inside the subway station is realized, enabling the user to make full use of the in-station passage of the subway station during walking, achieving the purpose of saving the path, and changing the originally required road-crossing journey to walking through the in-station passage of the subway station, increasing the traffic safety.
[0056] It should be noted that the subway station identifier can be obtained by obtaining the location information of the electronic device, such as Figure 2 shown, Figure 2 FIG. is a flowchart of another method for generating a passable road model inside a subway station provided by an embodiment of the present application. The method includes the following steps.
[0057] Step 201, when entering the collection application program, obtain the current location information of the electronic device.
[0058] It should be noted that there are many methods to obtain the current location information of an electronic device. For example, GPS (Global Positioning System), or WIFI (Wireless Communication Technology) hotspot positioning. It can be understood that there are many methods to obtain the current location information of an electronic device. Two examples are given below to describe the specific methods of obtaining the current location information of an electronic device:
[0059] As an example, GPS provides navigation functions based on 24 orbiting satellites in space. Through the built-in GPS signal receiver of a mobile device, it is possible to directly read satellite data to calculate the location. The positioning accuracy is between 2 meters and 100 meters.
[0060] As another example, WIFI hotspot positioning is performed by detecting the list of wireless routers (including public hotspots and private wireless routers) that can be detected on a mobile device.
[0061] Step 202, when it is determined that the current location of the electronic device is a subway station based on the current location information, obtain the subway station identifier of the current location of the electronic device.
[0062] As an implementation method, determine the location coordinates of each subway station, set a preset threshold, calculate the straight-line distance between the current location information of the electronic device and the location coordinates of each subway station according to the current location information of the electronic device. If the straight-line distance between the current location information of the electronic device and the location coordinates of a certain subway station is less than or equal to the preset threshold, it can be considered that the electronic device is currently located within that certain subway station. At this time, the subway station identifier of that certain subway station can be obtained; if the straight-line distance between the current location information of the electronic device and the location coordinates of a certain subway station is greater than the preset threshold, it can be considered that the electronic device is not currently located within that certain subway station, and there is no need to obtain the subway station identifier of that certain subway station.
[0063] For example, set the preset threshold to 50 meters. According to the current location information of the electronic device, determine that the electronic device is located at point M, obtain the location coordinates of each subway station, and determine the distance between the current location information of the electronic device and the location coordinates of each subway station. Among them, assume that a certain subway station is located at point N, and the straight-line distance from point M to point N is L, and L is 30 meters, and L is less than or equal to the preset threshold, then the subway station identifier of that certain subway station can be obtained.
[0064] Step 203, obtain the floor plan of the subway station according to the subway station identifier.
[0065] In the embodiments of the present application, step 203 can be implemented in any one of the embodiments of the present application. The embodiments of the present application do not make any limitations on this and will not be elaborated further.
[0066] Step 204: Obtain the connectivity relationship between N entrances and exits in the subway station according to the operation information of making subway passage events on the collected application interface; wherein, the collection application is installed on the electronic device; N is a positive integer.
[0067] In the embodiments of the present application, step 204 can be implemented in any one of the embodiments of the present application, and the embodiments of the present application do not limit this and will not elaborate further.
[0068] Step 205: Generate a passable road model of the subway station according to the plane structure diagram and the connectivity relationship between N entrances and exits.
[0069] In the embodiments of the present application, step 205 can be implemented in any one of the embodiments of the present application, and the embodiments of the present application do not limit this and will not elaborate further.
[0070] According to the method for generating a passable road model in the subway station of the present application, by obtaining the current position information of the electronic device, the determination of the position of the subway station is realized, which provides a guarantee for successfully obtaining the plane structure diagram of the subway station in the subsequent process, and ensures the successful generation of the passable road model of the subway station.
[0071] It should be noted that Figure 3 is a flowchart of another method for generating a passable road model in the subway station provided by the embodiments of the present application.
[0072] As Figure 3 shown, the method for generating a passable road model in the subway station includes the following steps:
[0073] Step 301: Obtain the subway station identifier of the current location of the electronic device.
[0074] In the embodiments of the present application, step 301 can be implemented in any one of the embodiments of the present application, and the embodiments of the present application do not limit this and will not elaborate further.
[0075] Step 302: Obtain the plane structure diagram of the subway station according to the subway station identifier.
[0076] In the embodiments of the present application, step 302 can be implemented in any one of the embodiments of the present application, and the embodiments of the present application do not limit this and will not elaborate further.
[0077] Step 303: Obtain the identifiers of N entrances and exits included in the subway station.
[0078] As an example, through the plane structure diagram of the subway station, identify the number, name, and positional relationship of the entrances and exits of the subway station.
[0079] It should be noted that when there are differences between the obtained entrance and exit information of the subway station and the actual situation, the entrance and exit of the subway station can be retrieved again through the automatic modification instruction. If there are still differences between the obtained entrance and exit information of the subway station and the actual situation after the retrieval, the entrance and exit information of the subway station can be entered or deleted through the manual modification instruction.
[0080] In one implementation, the name of each entrance and exit of the subway station can be modified through the manual modification instruction.
[0081] In another implementation, the operation of adding remarks to each entrance and exit of the subway station can be realized through the manual modification instruction. Among them, the remarks can include the peak time of each entrance and exit, or the business situation around each entrance and exit.
[0082] Step 304: Display the identifiers of N entrances and exits in the first area 1 of the collection application interface.
[0083] Step 305: In response to the selection instruction for the identifier of the i-th entrance and exit in the first area and the operation information for making the subway passage event, display the identifiers of other entrances and exits in the second area 2 of the collection application interface; the other entrances and exits are the remaining entrances and exits among the N entrances and exits except the i-th entrance and exit; i is a positive integer less than or equal to N.
[0084] As an example, see Appendix Figure 4 , the subway station has a total of three entrances and exits, namely A, B, C, and D. Select entrance A in the first area 1 of the collection application interface, and start the operation of making the subway passage by selecting "Make Subway Passage". According to on-site collection, it is determined that among B and C, entrance A can only reach B. Then, set entrance B to the selected state in the second area 2, and then complete the production task.
[0085] Step 306: In response to the selection operation for the identifier of other entrances and exits, obtain the connectivity relationship between the i-th entrance and exit and other entrances and exits according to the selection operation.
[0086] It should be noted that in some embodiments, when there is a connectivity relationship between the i-th entrance and exit and the j-th entrance and exit, in response to the selection instruction for the identifier of the j-th entrance and exit in the first area 1 and the operation information for making the subway passage event, set the identifier of the i-th entrance and exit displayed in the second area 2 of the collection application interface to the default selected state; j is a positive integer less than or equal to N, and the value of j is different from that of i.
[0087] As an example, such as Figure 5As shown, there are three entrances and exits, namely A, B, C, and D, in the subway station. At the first area 1 of the acquisition application interface, select entrance A, and start the operation of formulating the subway passage by selecting "formulate subway passage". According to on-site acquisition, it is determined that among B, C, and D, entrance A can only reach B. Then, change entrance B to the selected state in the second area 2. Subsequently, select entrance B in the first area 1. At this time, entrance A in the second area 2 is in the default selected state. According to on-site acquisition, it is determined that entrance B does not lead to entrance A, so the selected state of entrance A is cancelled.
[0088] Step 307: Generate a passable road model of the subway station according to the plane structure diagram and the connection relationship between the N entrances and exits.
[0089] In the embodiments of the present application, step 307 can be implemented in any one of the embodiments of the present application. The embodiments of the present application do not limit this and will not elaborate further.
[0090] According to the method for generating a passable road model in the subway station of the present application, by determining according to the connection relationship between every two of the entrances and exits, the generation of the passable road model of the subway station is gradually completed, ensuring the accuracy of the connection relationship between the entrances and exits, and reducing the operation difficulty of road acquisition. There is no need to rely on large-scale acquisition equipment, and the acquisition personnel do not need to master complex professional knowledge. By connecting the passable road model with the downstream walking navigation program, users can understand the passing situation of the subway station's internal passages, enabling users to make full use of the subway station's internal passages during walking, achieving the purpose of saving paths, and changing the original journey that requires crossing the road to walking through the subway station's internal passages, increasing the safety of passing.
[0091] To be able to generate a passable road model of the subway station, optionally, as Figure 6 shown, the method for generating the passable road model in the subway station may include:
[0092] Step 601: Obtain the subway station identifier of the current location of the electronic device.
[0093] In the embodiments of the present application, step 601 can be implemented in any one of the embodiments of the present application. The embodiments of the present application do not limit this and will not elaborate further.
[0094] Step 602: Obtain the plane structure diagram of the subway station according to the subway station identifier.
[0095] In the embodiments of the present application, step 602 can be implemented in any one of the embodiments of the present application. The embodiments of the present application do not limit this and will not elaborate further.
[0096] Step 603: Obtain the connectivity relationship between N entrances and exits in the subway station according to the operation information for making subway passage events on the collected application interface; where the collection application is installed on the electronic device; N is a positive integer.
[0097] In the embodiments of the present application, step 603 can be implemented in any one of the various embodiments of the present application. The embodiments of the present application do not make any limitations in this regard and will not be elaborated further.
[0098] Step 604: Determine the line segment type representing the connectivity relationship between two entrances and exits according to the connectivity relationship between every two of the N entrances and exits.
[0099] As an implementation method, refer to the appendix Figure 7 , when there are entrance A and entrance B, when entrance A can reach entrance B, but entrance B cannot reach entrance A, then a one-way arrow points from entrance A to entrance B; if entrance B can reach entrance A, but entrance A cannot reach entrance B, then a one-way arrow points from entrance B to entrance A; if entrance A can reach entrance B and entrance B can also reach entrance A, then entrance A and entrance B are connected by a line segment. If entrance A cannot reach entrance B and entrance B cannot reach entrance A either, then there is no connection between entrance A and entrance B. It should be noted that the one-way arrow and the line segment are only used as an example and do not constitute a limitation to the protection scope of the present application.
[0100] As another implementation method, when there are entrance A and entrance B, when entrance A can reach entrance B, but entrance B cannot reach entrance A, then entrance A and entrance B are connected by a yellow line segment, and the yellow line segment contains an arrow pointing from entrance A to entrance B; if entrance B can reach entrance A, but entrance A cannot reach entrance B, then entrance B and entrance A are connected by a yellow line segment, and the yellow line segment contains an arrow pointing from entrance B to entrance A; if entrance A can reach entrance B and entrance B can also reach entrance A, then entrance A and entrance B are connected by a green line segment. If entrance A cannot reach entrance B and entrance B cannot reach entrance A either, then there is no connection between entrance A and entrance B. It should be noted that the yellow line segment and the green line segment are only used as an example and do not constitute a limitation to the protection scope of the present application.
[0101] Step 605: Draw the line segments between every two entrances and exits in the planar structure diagram according to the line segment type representing the connectivity relationship between every two entrances and exits, to obtain the passable road model of the subway station.
[0102] According to the method for generating a passable road model in a subway station of the present application, by determining the connection relationships between various entrances and exits and generating different line types, users can quickly obtain the connection relationships between various entrances and exits through the line types, simply and effectively completing the display operation of the connection relationships between the entrances and exits, which is convenient for users to understand.
[0103] To further increase the convenience of using the acquisition application. Optionally, as Figure 8 shown, the method for generating a passable road model in a subway station may include:
[0104] Step 801, obtain the subway station identifier of the current location of the electronic device.
[0105] In the embodiments of the present application, step 801 can be implemented in any one of the embodiments of the present application. The embodiments of the present application do not make any limitations in this regard and will not be elaborated further.
[0106] Step 802, obtain the floor plan of the subway station according to the subway station identifier.
[0107] In the embodiments of the present application, step 802 can be implemented in any one of the embodiments of the present application. The embodiments of the present application do not make any limitations in this regard and will not be elaborated further.
[0108] Step 803, obtain the connectivity relationship between N entrances and exits in the subway station according to the operation information of making subway passage events on the interface of the acquisition application; wherein, the acquisition application is installed on the electronic device; N is a positive integer.
[0109] In the embodiments of the present application, step 803 can be implemented in any one of the embodiments of the present application. The embodiments of the present application do not make any limitations in this regard and will not be elaborated further.
[0110] Step 804, generate a passable road model of the subway station according to the floor plan and the connectivity relationship between N entrances and exits.
[0111] In the embodiments of the present application, step 804 can be implemented in any one of the embodiments of the present application. The embodiments of the present application do not make any limitations in this regard and will not be elaborated further.
[0112] Step 805, display the passable road model in the third area of the interface of the acquisition application.
[0113] As an implementation, in response to a trigger operation on a shooting event on the acquisition application interface, an image of the entrance and exit of a subway station is acquired; a correspondence relationship between the captured image and the entrance and exit of the subway station is established, and the captured image is stored based on the correspondence relationship; in response to an operation on a target entrance and exit identifier displayed on the passable road model in the third area, the captured image of the target entrance and exit is acquired according to the correspondence relationship; the captured image of the target entrance and exit is displayed.
[0114] According to the method for generating a passable road model in a subway station of the present application, by displaying the generated passable road model in the third area, it is ensured that users can clearly and accurately obtain the position information of the passable road. By establishing a correspondence relationship between the captured image and the entrance and exit of the subway station, the convenience of the acquisition application during use is further increased.
[0115] To implement the above embodiments, the present application also proposes a device for generating a passable road model in a subway station.
[0116] Figure 9 The structural block diagram of a device for generating a passable road model in a subway station provided by an embodiment of the present application is as Figure 9 shown. The device for generating a passable road model in a subway station may include: an identifier acquisition module 910, a structure acquisition module 920, a collection module 930, and a generation module 940.
[0117] Among them, the identifier acquisition module 910 is used to acquire the subway station identifier of the current location of the electronic device;
[0118] The structure acquisition module 920 is used to acquire the floor plan of the subway station according to the subway station identifier;
[0119] The collection module 930 is used to acquire the connection relationship between N entrances and exits in the subway station according to the operation information of the subway passage making event on the acquisition application interface; wherein, the acquisition application is installed on the electronic device; N is a positive integer;
[0120] As an implementation, acquire the identifiers of the N entrances and exits included in the subway station; display the identifiers of the N entrances and exits in the first area 1 of the acquisition application interface; in response to a selection instruction for the identifier of the i-th entrance and exit in the first area 1 and the operation information of the subway passage making event, display the identifiers of other entrances and exits in the second area 2 of the acquisition application interface; the other entrances and exits are the remaining entrances and exits among the N entrances and exits except the i-th entrance and exit; i is a positive integer less than or equal to N; in response to a selection operation on the identifier of the other entrance and exit, acquire the connection relationship between the i-th entrance and exit and the other entrance and exit according to the selection operation.
[0121] As another implementation, when there is a connection relationship between the i-th entrance / exit and the j-th entrance / exit, in response to the selection instruction for the identifier of the j-th entrance / exit in the first area 1 and the operation information for the event of making a subway passage, the identifier of the i-th entrance / exit displayed in the second area 2 of the acquisition application interface is set to the default selected state; j is a positive integer less than or equal to N, and the values of j and i are different.
[0122] A generation module 940, configured to generate a passable road model of the subway station according to the planar structure diagram and the connection relationship between N entrances / exits.
[0123] According to the generating device of the passable road model in the subway station of the present application, by obtaining the subway station identifier of the current position of the electronic device, the information confirmation of the subway station is realized, providing basic information for subsequent route acquisition, and ensuring the accuracy of the generated road model; by obtaining the planar structure diagram, the purpose of generating the passable road model according to the connection situation is realized, reducing the error between the acquisition result and the actual situation; by collecting the connection relationship between the entrances / exits through the acquisition application, social local collection can be realized, and in the process of collection, there is no need to master complex professional knowledge and no heavy collection equipment, which is convenient for dealing with the complex situation of the road scene in the subway station.
[0124] In some embodiments of the present application, as Figure 10 shown, Figure 10 FIG. is a structural block diagram of a generating device of a passable road model in a subway station according to another embodiment provided by the embodiment of the present application. In the generating device of the passable road model in the subway station, the identifier acquisition module 1010 includes: a position acquisition unit 1011 and an identifier acquisition unit 1012.
[0125] Among them, the position acquisition unit 1011 is configured to obtain the current position information of the electronic device when entering the acquisition application;
[0126] The identifier acquisition unit 1012 is configured to obtain the subway station identifier of the current position of the electronic device when it is determined according to the current position information that the current position of the electronic device is a subway station.
[0127] According to the generating device of the passable road model in the subway station of the present application, by obtaining the current position information of the electronic device, the determination of the subway station position is realized, providing a guarantee for subsequent smooth acquisition of the planar structure diagram of the subway station, and ensuring the smooth generation of the passable road model of the subway station.
[0128] Among them, Figure 10 1010 - 1040 in Figure 9 and 910 - 940 in
[0129] In some embodiments of the present application, as Figure 11 shown, Figure 11 FIG. Figure 11 is a structural block diagram of a generating device for a passable road model in a subway station according to another embodiment provided by the embodiment of the present application. In the generating device for the passable road model in the subway station, the identification generating module 1140 includes: a determining unit 1141 and a generating unit 1142.
[0130] Among them, the determining unit 1141 is configured to determine the line segment type representing the connection relationship between two entrances and exits according to the connection relationship between two entrances and exits among N entrances and exits;
[0131] The generating unit 1142 is configured to draw line segments between two entrances and exits in the plane structure diagram according to the line segment type representing the connection relationship between two entrances and exits, so as to obtain a passable road model of the subway station.
[0132] According to the method for generating a passable road model in a subway station of the present application, by determining the connection relationship between each entrance and exit and generating different line segment types, users can quickly obtain the connection relationship between each entrance and exit through the line segment type, and simply and effectively complete the display operation of the connection relationship between the entrances and exits, which is convenient for users to understand.
[0133] Among them, Figure 11 1110-1140 in Figure 10 and 1010-1040 in
[0134] In some embodiments of the present application, as Figure 12 shown, Figure 12 FIG. Figure 12 is a structural block diagram of a generating device for a passable road model in a subway station according to another embodiment provided by the embodiment of the present application. The generating device for the passable road model in the subway station may further include: an identification obtaining module 1210, a structure obtaining module 1220, a collecting module 1230, a generating module 1240, and a display module 1250.
[0135] Among them, the identification obtaining module 1210 is configured to obtain the subway station identification of the current location of the electronic device.
[0136] The structure obtaining module 1220 is configured to obtain the plane structure diagram of the subway station according to the subway station identification.
[0137] The collecting module 1230 is configured to obtain the connection relationship between N entrances and exits in the subway station according to the operation information of making subway passage events on the collecting application program interface; wherein, the collecting application program is installed on the electronic device; N is a positive integer.
[0138] A generation module 1240, configured to generate a passable road model of a subway station according to a planar structure diagram and the connectivity relationship between N entrances and exits.
[0139] A display module 1250, configured to display the passable road model in the third area 3 of the acquisition application interface.
[0140] As an implementation manner, in response to a trigger operation on a shooting event on the acquisition application interface, a captured image of the subway station entrance and exit is acquired; a correspondence relationship between the captured image and the subway station entrance and exit is established, and the captured image is stored based on the correspondence relationship; in response to an operation on a target entrance and exit identifier displayed on the passable road model in the third area 3, the captured image of the target entrance and exit is acquired according to the correspondence relationship; and the captured image of the target entrance and exit is displayed.
[0141] According to the generating device of the passable road model in the subway station of the present application, by displaying the generated passable road model in the third area 3, it is ensured that the user can clearly and accurately obtain the position information of the passable road, and by establishing the correspondence relationship between the captured image and the subway station entrance and exit, the convenience of the acquisition application during use is further increased.
[0142] Wherein, Figure 12 1210 - 1240 in Figure 11 has the same functions and structures as 1110 - 1140 in
[0143] The electronic device for the method of generating a passable road model in a subway station may further include: an input device 1303 and an output device 1304. The processor 1301, the memory 1302, the input device 1303, and the output device 1304 may be connected through a bus or other means. Figure 13 Taking the connection through the bus as an example in
[0144] As Figure 13 shown, it is a block diagram of an electronic device for the method of generating a passable road model in a subway station according to an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as, for example, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as, for example, a personal digital processor, a cellular phone, a smart phone, a wearable device, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present application described and / or claimed herein.
[0145] As Figure 13As shown, the electronic device includes: one or more processors 1301, a memory 1302, and interfaces for connecting the components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and can be mounted on a common motherboard or otherwise mounted as required. The processor can process instructions executed within the electronic device, including instructions stored in the memory or on the memory to display graphical information of a GUI on an external input / output device (such as a display device coupled to the interface). In other embodiments, if necessary, multiple processors and / or multiple buses can be used in conjunction with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, with each device providing part of the necessary operations (such as an array of servers, a set of blade servers, or a multi-processor system). Figure 13 In the example, one processor 1301 is taken.
[0146] The memory 1302 is the non-transitory computer-readable storage medium provided by the present application. Among them, the memory stores instructions executable by at least one processor, so that at least one processor executes the method for generating a passable road model in a subway station provided by the present application. The non-transitory computer-readable storage medium of the present application stores computer instructions, and the computer instructions are used to cause the computer to execute the method for generating a passable road model in a subway station provided by the present application.
[0147] As a non-transitory computer-readable storage medium, the memory 1302 can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as the program instructions / modules corresponding to the method for generating a passable road model in a subway station in the embodiments of the present application (for example, the Figure 8 shown identification acquisition module 810, structure acquisition module 820, acquisition module 830, and generation module 840). By running the non-transitory software programs, instructions, and modules stored in the memory 1302, the processor 1301 executes various functional applications and data processing of the server, that is, implements the method for generating a passable road model in a subway station in the above method embodiments.
[0148] The memory 1302 may include a program storage area and a data storage area. The program storage area may store an operating system and application programs required for at least one function. The data storage area may store data created according to the use of the electronic device for live video processing, etc. In addition, the memory 1302 may include high-speed random access memory and may also include non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory 1302 optionally includes a memory remotely disposed relative to the processor 1301, and these remote memories may be connected to the electronic device for live video processing through a network. Examples of the above networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0149] The electronic device for the method of generating a passable road model in a subway station may further include: an input device 1303 and an output device 1304. The processor 1301, the memory 1302, the input device 1303, and the output device 1304 may be connected through a bus or other means. Figure 13 Taking the connection through the bus as an example.
[0150] The input device 1303 may receive input digital or character information and generate key signal inputs related to user settings and function controls of the electronic device for live video processing, such as input devices like a touch screen, a keypad, a mouse, a trackpad, a touchpad, a pointing stick, one or more mouse buttons, a trackball, a joystick, etc. The output device 1304 may include a display device, an auxiliary lighting device (e.g., an LED), a haptic feedback device (e.g., a vibration motor), etc. The display device may include, but is not limited to, a liquid crystal display (LCD), a light-emitting diode (LED) display, and a plasma display. In some embodiments, the display device may be a touch screen.
[0151] Various embodiments of the systems and techniques described herein may be implemented in digital electronic circuit systems, integrated circuit systems, dedicated ASICs (application-specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: implemented in one or more computer programs that may be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device.
[0152] These computing procedures (also known as programs, software, software applications, or code) include machine instructions for a programmable processor and can implement these computing procedures using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or apparatus (e.g., a magnetic disk, an optical disk, a memory, a programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0153] To provide for interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can also be used to provide for interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, speech input, or tactile input).
[0154] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected to each other by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), the Internet, and blockchain networks.
[0155] A computer system may include a client and a server. The client and the server are generally far from each other and usually interact via a communication network. The relationship between the client and the server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, and solves the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services ("Virtual Private Server", or simply "VPS" for short). The server may also be a server of a distributed system or a server combined with a blockchain.
[0156] According to the technical solution of the embodiment of the present application, by obtaining the subway station identifier of the current location of the electronic device, the information confirmation of the subway station is realized, providing basic information for subsequent route acquisition and ensuring the accuracy of the generated road model; by obtaining the floor plan, the purpose of generating a passable road model according to the connectivity is realized, reducing the error between the acquisition result and the actual situation; a collection application program can be provided for the user, and the user can determine the connection relationship between each entrance and exit by operating the collection application program. Social personnel can be mobilized for local collection, making the collection process not require mastering complex professional knowledge, only need to operate the collection application program, and there is no need for heavy collection equipment. By connecting the passable road model with the downstream walking navigation program, the user can understand the passage situation of the subway station internal passage, and generate the shortest travel mode in combination with the subway station internal passage, enabling the user to make full use of the subway station internal passage during walking, achieving the purpose of saving the route, and changing the originally required road-crossing journey to walking through the subway station internal passage, increasing the safety of passage.
[0157] It should be understood that various forms of the processes shown above can be used, reordering, adding or deleting steps. For example, the steps described in the present application can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution disclosed in the present application can be achieved, and no limitation is made herein.
[0158] The above specific embodiments do not constitute a limitation to the protection scope of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present application shall be included within the protection scope of the present application.
Claims
1. A method for generating a passable road model in a subway station, comprising: Obtaining the subway station identifier of the current location of the electronic device; Obtaining the floor plan of the subway station according to the subway station identifier; Obtaining the connection relationship between N entrances and exits in the subway station according to the operation information of making subway passage events on the collection application interface; wherein, the collection application is installed on the electronic device; the N is a positive integer; Generating a passable road model of the subway station according to the floor plan and the connection relationship between the N entrances and exits; Wherein, the obtaining the connection relationship between N entrances and exits in the subway station according to the operation information of making subway passage events on the collection application interface includes: Obtaining the identifiers of the N entrances and exits included in the subway station; Displaying the identifiers of the N entrances and exits in the first area of the collection application interface; In response to a selection instruction for the identifier of the i-th entrance and exit in the first area and the operation information of making subway passage events, displaying the identifiers of other entrance and exits in the second area of the collection application interface; the other entrance and exits are the remaining entrance and exits among the N entrance and exits except the i-th entrance and exit; the i is a positive integer less than or equal to N; In response to a selection operation on the identifiers of the other entrance and exits, obtaining the connection relationship between the i-th entrance and exit and the other entrance and exits according to the selection operation.
2. The method according to claim 1, wherein, The obtaining the subway station identifier of the current location of the electronic device includes: When entering the collection application, obtaining the current location information of the electronic device; When it is determined according to the current location information that the current location of the electronic device is a subway station, obtaining the subway station identifier of the current location of the electronic device.
3. The method according to claim 1, further comprising: When there is a connection relationship between the i-th entrance and exit and the j-th entrance and exit, in response to a selection instruction for the identifier of the j-th entrance and exit in the first area and the operation information of making subway passage events, setting the display of the identifier of the i-th entrance and exit in the second area of the collection application interface to the default selected state; The j is a positive integer less than or equal to N, and the values of j and i are different.
4. The method according to claim 1, wherein, The generating a passable road model of the subway station according to the floor plan and the connection relationship between the N entrances and exits includes: Determining the line segment type for representing the connection relationship between two entrances and exits according to the connection relationship between two entrances and exits among the N entrances and exits; Drawing the line segments between the two entrances and exits in the floor plan according to the line segment type for representing the connection relationship between the two entrances and exits, to obtain the passable road model of the subway station.
5. The method according to claim 1, further comprising: Displaying the passable road model in the third area of the collection application interface.
6. The method according to claim 5, further comprising: In response to a trigger operation on the shooting event on the collection application interface, obtaining a photographed image of the subway station entrance and exit; Establish a correspondence between the captured image and the subway station entrance / exit, and store the captured image based on the correspondence; In response to an operation on the target entrance / exit identifier on the passable road model displayed in the third area, obtain the captured image of the target entrance / exit according to the correspondence; Display the captured image of the target entrance / exit.
7. A generating device for a passable road model in a subway station, comprising: An identifier acquisition module, configured to acquire the subway station identifier of the current location of the electronic device; A structure acquisition module, configured to acquire the floor plan of the subway station according to the subway station identifier; An acquisition module, configured to obtain the connection relationship between N entrances / exits in the subway station according to the operation information of making subway passage events on the acquisition application interface; wherein, the acquisition application is installed on the electronic device; N is a positive integer; A generating module, configured to generate the passable road model of the subway station according to the floor plan and the connection relationship between the N entrances / exits; Wherein, the acquisition module is used for: Obtain the identifiers of the N entrances / exits included in the subway station; Display the identifiers of the N entrances / exits in the first area of the acquisition application interface; In response to a selection instruction for the identifier of the i-th entrance / exit in the first area and the operation information of making subway passage events, display the identifiers of other entrances / exits in the second area of the acquisition application interface; the other entrances / exits are the remaining entrances / exits among the N entrances / exits except the i-th entrance / exit; i is a positive integer less than or equal to N; In response to a selection operation on the identifier of the other entrance / exit, obtain the connection relationship between the i-th entrance / exit and the other entrance / exit according to the selection operation.
8. The device according to claim 7, wherein The identifier acquisition module includes: A position acquisition unit, configured to acquire the current position information of the electronic device when entering the acquisition application; An identifier acquisition unit, configured to acquire the subway station identifier of the current location of the electronic device when it is determined according to the current position information that the current location of the electronic device is a subway station.
9. The device according to claim 8, wherein, The acquisition module is further specifically configured to: When there is a connection relationship between the i-th entrance / exit and the j-th entrance / exit, in response to a selection instruction for the identifier of the j-th entrance / exit in the first area and the operation information of making subway passage events, set the display of the identifier of the i-th entrance / exit in the second area of the acquisition application interface to the default selected state; j is a positive integer less than or equal to N, and the values of j and i are different.
10. The apparatus according to claim 7, wherein, The generating module includes: A determination unit, configured to determine the line segment type representing the connection relationship between two entrances / exits according to the connection relationship between two entrances / exits among the N entrances / exits; A generating unit, configured to draw the line segment between the two entrances / exits in the floor plan according to the line segment type representing the connection relationship between the two entrances / exits, to obtain the passable road model of the subway station.
11. The device according to claim 7, wherein, It further includes: A display module, configured to display the passable road model in a third area of the acquisition application interface.
12. The apparatus according to claim 11, wherein, Specifically, the display module is configured to: Upon triggering an operation on a shooting event on the acquisition application interface, obtain a captured image of the subway station entrance / exit; Establish a correspondence between the captured image and the subway station entrance / exit, and store the captured image based on the correspondence; Upon an operation on a target entrance / exit identifier displayed on the passable road model within the third area, obtain the captured image of the target entrance / exit according to the correspondence; Display the captured image of the target entrance / exit.
13. An electronic device, comprising: At least one processor; And A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method according to any one of claims 1-6.
14. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to execute the method according to any one of claims 1-6.
15. A computer program product, comprising a computer program which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Communication path building method based on city underground structures
CN101441675A
Subway station guiding identification evaluation optimization system based on VR
CN112965596A