CN117376825A - Terminal scene recognition method, device, terminal, storage medium and program product - Google Patents

Terminal scene recognition method, device, terminal, storage medium and program product Download PDF

Info

Publication number
CN117376825A
CN117376825A CN202210779011.9A CN202210779011A CN117376825A CN 117376825 A CN117376825 A CN 117376825A CN 202210779011 A CN202210779011 A CN 202210779011A CN 117376825 A CN117376825 A CN 117376825A
Authority
CN
China
Prior art keywords
terminal
cell
speed rail
information
fence information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210779011.9A
Other languages
Chinese (zh)
Inventor
郭敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202210779011.9A priority Critical patent/CN117376825A/en
Priority to PCT/CN2023/101716 priority patent/WO2024001906A1/en
Publication of CN117376825A publication Critical patent/CN117376825A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Instructional Devices (AREA)

Abstract

The application discloses a terminal scene identification method, a terminal, a storage medium and a program product, which can identify the scene of a terminal without depending on a high-speed railway private network cell deployed by an operator, and improve the identification rate of the terminal scene. A terminal scene recognition method, the method comprising: the terminal determines that the terminal is at a high-speed rail station; the terminal acquires first district fence information of a high-speed rail; the first cell fence information includes cell information covering a geographic area of the high-speed rail; and if the terminal leaves the high-speed rail station and the service cell in which the terminal currently resides is matched with the first cell fence information, the terminal enters a high-speed rail scene.

Description

Terminal scene recognition method, device, terminal, storage medium and program product
Technical Field
The present invention relates to the field of communications applications, and in particular, to a terminal scene recognition method, device, terminal, storage medium, and program product.
Background
High-speed rail is a vehicle that operates automatically in a totally enclosed environment. The seat of the high-speed rail and the like is spacious and comfortable, the running performance is good, the running is very stable, and the seat of the high-speed rail and the like has almost no inconvenience. At present, along with the continuous increase of circuits such as high-speed rails and the continuous promotion of high-speed rails and the like, the high-speed rails and the like become the preferred transportation means for people to travel, so that the number of passengers such as the high-speed rails and the like is also continuously increased, the terminal use amount on the high-speed rails and the like is also continuously increased, and therefore, higher requirements are placed on terminal signals on the high-speed rails and the like. However, at present, since the moving speed of the high-speed rail is relatively high, the terminal needs to perform cell switching at a high frequency, meanwhile, the high-speed rail has more tunnels passing through during running, and the terminal communication function experience is poor. Therefore, the scene where the terminal is located needs to be accurately identified, for example, the terminal moves together with the high-speed rail on the high-speed rail, so that corresponding optimization measures can be made according to the identified terminal scene later, and the terminal communication function experience is improved conveniently.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a terminal scene recognition method, apparatus, terminal, storage medium, and program product, which can accurately recognize a scene in which a terminal is located.
In a first aspect, an embodiment of the present application provides a terminal scene recognition method, where the method includes: the terminal determines that the terminal is at a high-speed rail station; the terminal acquires first district fence information of a high-speed rail; the first cell fence information includes cell information covering a geographic area of the high-speed rail; and if the terminal leaves the high-speed rail station and the service cell in which the terminal currently resides is matched with the first cell fence information, the terminal enters a high-speed rail scene.
According to the first aspect of the application, after the terminal is determined to leave the high-speed rail station, if the terminal leaves the high-speed rail station and the service cell where the terminal currently resides is matched with the cell information of the geographic area covering the high-speed rail line, the terminal can enter the high-speed rail line scene, so that even if the high-speed rail private network cell deployed by an operator is not available, the terminal can be identified to be in the high-speed rail line scene, the high-speed rail line scene where the terminal is located can be identified without depending on the high-speed rail private network cell deployed by the operator, and the identification rate of the terminal scene is improved.
According to some embodiments of the present application, the terminal determining to be at a high-speed rail station includes: the terminal acquires second district fence information of the high-speed rail station; the second cell fence information includes cell information covering a geographic area of the high-speed rail station; and if the service cell where the terminal currently resides is matched with the second cell fence information, the terminal determines that the terminal is positioned at the high-speed rail station. The method and the device can identify that the terminal is in the high-speed rail station by determining that the terminal is in the high-speed rail station when the service cell in which the terminal currently resides is matched with the cell information of the geographic area covering the high-speed rail station.
According to some embodiments of the present application, the terminal is configured to determine the serving cell currently camping on based on system information of the cell. The service cell where the terminal currently resides is determined through the system information of the cell, so that even if the terminal does not access the network currently, the terminal can receive the system information broadcast by the base station corresponding to the cell and determine the service cell where the terminal currently resides.
According to some embodiments of the present application, the matching of the serving cell in which the terminal is currently camping with the first cell fence information comprises: if a preset number of target cells matched with the service cell where the terminal currently resides exist in the first cell fence information within a preset time, the terminal determines that the service cell where the terminal currently resides is matched with the first cell fence information. According to the method and the device, the preset number of target cells matched with the serving cell where the terminal currently resides are in the first cell fence information within the preset time, the fact that the serving cell where the terminal currently resides is matched with the first cell fence information is determined, and therefore misjudgment that the terminal is not in a high-speed railway scene when the terminal does not reside on a cell covering a certain high-speed railway area due to high-speed railway speed is avoided, and meanwhile, misjudgment that pedestrians walk along the high-speed railway or vehicles travel along the high-speed railway is avoided.
According to some embodiments of the present application, before the terminal obtains the first cell fence information of the high-speed rail, the method further includes: the terminal enters a high-speed rail station scene; under the high-speed rail station scene, an application program running on the terminal executes a first cache operation; and when the first caching operation is executed, the caching amount of the application program cache is larger than the caching amount of the application program cache before the application program enters the high-speed rail station scene. According to the method and the device, the target application program of the terminal can be normally used when a user enters the high-speed rail station through the first cache operation under the high-speed rail station scene, and the target application program of the terminal can be normally used on the high-speed rail when the user possibly gets worse signals on the high-speed rail.
According to some embodiments of the present application, in the high-speed railway scenario, the application running on the terminal performs a second cache operation; and the buffer memory amount of the application program buffer memory when the second buffer memory operation is executed is larger than the buffer memory amount of the application program buffer memory when the first buffer memory operation is executed. According to the method and the device for processing the target application program, the target application program of the terminal can be normally used on the high-speed railway when the user takes a car on the high-speed railway through setting the second cache operation in the high-speed railway scene.
According to some embodiments of the present application, the method further comprises: and if the terminal leaves the high-speed rail station and the service cell where the terminal currently resides is not matched with the first cell fence information, the terminal exits the high-speed rail station scene. The terminal can exit the high-speed rail station when the terminal is not in a state of following the high-speed rail riding on the high-speed rail, and exits the scene of the high-speed rail station, so that the terminal can be identified not to be in the scene of the high-speed rail station.
According to some embodiments of the present application, if the terminal leaves the high-speed rail station and a serving cell in which the terminal is currently camping matches the first cell fence information includes: and if the terminal leaves the high-speed rail station, the motion state of the terminal enters a high-speed rail riding state, and the service cell where the terminal currently resides is matched with the first cell fence information. According to the method and the device, when the terminal leaves the high-speed rail station, the motion state of the terminal enters the high-speed rail riding state, and the service cellular cell where the terminal currently resides is matched with the first cell fence information, the terminal is controlled to enter the high-speed rail scene, and the probability of being mistakenly identified as the high-speed rail scene can be avoided.
According to some embodiments of the present application, the method further comprises: and if the motion state of the terminal exits the high-speed railway riding state and the service cell where the terminal currently resides is not matched with any cell information in the first cell fence information, the terminal exits the high-speed railway scene. The method and the device can exit the high-speed railway scene when the state of the terminal is not the high-speed railway riding state and is not in the state of following the high-speed railway riding on the high-speed railway, so that the terminal can be identified not to be in the high-speed railway scene.
According to some embodiments of the present application, the obtaining, by the terminal, first cell fence information of a high-speed rail includes: the terminal acquires the first community fence information from a cloud server; or the terminal obtains the pre-stored first cell fence information from the local. The first cell fence information can be obtained from a cloud server or locally.
According to some embodiments of the present application, the obtaining, by the terminal, first cell fence information of a high-speed rail includes: and the terminal acquires the first community fence information of all the high-speed rail lines of the high-speed rail station where the terminal is currently located from a cloud server. According to the method and the device, the terminal scene identification can be performed by only acquiring the district fence information of all the high-speed rails of the high-speed rail station from the cloud server, and the flow can be saved during downloading.
According to some embodiments of the present application, before the terminal determines to be at a high-speed rail station, the method further comprises: the terminal acquires the geographic position of the terminal, wherein the geographic position of the terminal is the geographic position of the high-speed railway line; the terminal monitors the service cell where the terminal currently resides; the terminal associates the geographic position of the terminal with the service cell in which the terminal currently resides; the terminal sends the geographic position of the terminal and the service cell where the terminal currently resides to a cloud server so that the cloud server can generate the cell fence information of the high-speed railway line. According to the method and the system, the geographic position of the terminal and the service cell where the terminal currently resides can be related to the terminal and sent to the cloud server through the terminal, so that the cloud server can generate cell fence information of a high-speed railway.
According to some embodiments of the present application, before the terminal obtains the second cell fence information of the high-speed rail station, the method further includes: the terminal acquires the information of the geographical area where the terminal is currently located; the terminal obtaining the second district fence information of the high-speed rail station comprises the following steps: and if the information of the geographical area where the terminal is currently located is changed, the terminal acquires the second cell fence information of the geographical area where the terminal is currently located. According to the method and the system, the geographic area information can be acquired through the terminal, the district fence information of the high-speed rail station is acquired only when the geographic area information of the terminal is changed, the terminal scene recognition can be executed only by downloading the second district fence information of the geographic area information of the terminal, the traffic can be saved, meanwhile, the second district fence information is acquired only when the geographic area information of the terminal is changed, and the traffic is further saved.
According to some embodiments of the present application, the method further comprises: if the service cell where the terminal currently resides is not matched with the second cell fence information, continuing to monitor the service cell where the terminal currently resides. According to the method and the device, the service cell where the terminal currently resides can be monitored, and when the terminal exits from a high-speed rail line scene, whether the terminal enters into the next high-speed rail station scene can be continuously determined.
In a second aspect, an embodiment of the present application provides a terminal scene recognition device, where the device includes a processing unit and an obtaining unit: the processing unit is used for determining that the terminal is positioned at a high-speed rail station; the acquisition unit is used for acquiring first district fence information of the high-speed railway; the first cell fence information includes cell information covering a geographic area of the high-speed rail; the processing unit is further configured to enter a high-speed rail scene if the terminal leaves the high-speed rail station and a serving cell in which the terminal currently resides is matched with the first cell fence information.
According to some embodiments of the application, the processing unit is further configured to: acquiring second district fence information of the high-speed rail station; the second cell fence information includes cell information covering a geographic area of the high-speed rail station; and if the service cell where the terminal currently resides is matched with the second cell fence information, determining that the terminal is in the high-speed rail station.
According to some embodiments of the present application, the processing unit is configured to determine the serving cell in which the terminal is currently camping based on system information of the cell.
According to some embodiments of the application, the processing unit is further configured to: and if a plurality of target cells matched with the service cell where the terminal currently resides exist in the first cell fence information within a preset time, determining that the service cell where the terminal currently resides is matched with the first cell fence information.
According to some embodiments of the present application, before the acquiring the first cell fence information of the high-speed rail, the processing unit is further configured to: the terminal enters a high-speed rail station scene; under the high-speed rail station scene, an application program running on the terminal executes a first cache operation; and when the first caching operation is executed, the caching amount of the application program cache is larger than the caching amount of the application program cache before the application program enters the high-speed rail station scene.
According to some embodiments of the present application, in the high-speed railway scenario, the application running on the terminal performs a second cache operation; and the buffer memory amount of the application program buffer memory when the second buffer memory operation is executed is larger than the buffer memory amount of the application program buffer memory when the first buffer memory operation is executed.
According to some embodiments of the application, the processing unit is further configured to: and if the terminal leaves the high-speed rail station and the service cell where the terminal currently resides is not matched with the first cell fence information, the terminal exits the high-speed rail station scene.
According to some embodiments of the application, the processing unit is further configured to: if the terminal leaves the high-speed rail station, the motion state of the terminal enters a high-speed rail riding state, and the service cell where the terminal currently resides is matched with the first cell fence information, the terminal enters a high-speed rail scene.
According to some embodiments of the application, the processing unit is further configured to: and if the motion state of the terminal exits the high-speed railway riding state and the service cell where the terminal currently resides is not matched with any cell information in the first cell fence information, the terminal exits the high-speed railway scene.
According to some embodiments of the present application, the acquisition unit is further configured to: acquiring the first community fence information from a cloud server; or, the first cell fence information stored in advance is acquired from the local.
According to some embodiments of the present application, the acquisition unit is further configured to: and acquiring the first community fence information of all the high-speed rail lines of the high-speed rail station where the terminal is currently located from a cloud server.
According to some embodiments of the present application, the apparatus further comprises a transmitting unit that, prior to determining that the terminal is at a high-speed rail station: the acquisition unit is further used for acquiring the geographic position of the terminal, wherein the geographic position of the terminal is the geographic position of the high-speed railway line; the processing unit is further configured to monitor the serving cell in which the terminal currently resides; the processing unit is further configured to associate the geographic location of the terminal with the serving cell in which the terminal currently resides; the sending unit is further configured to send the geographic location of the terminal and the serving cell where the terminal currently resides to a cloud server, so that the cloud server generates the cell fence information of the high-speed rail.
According to some embodiments of the present application, before acquiring the second cell fence information of the high-speed rail station, the acquiring unit is further configured to: acquiring the information of the geographical area where the terminal is currently located; the acquisition unit is further configured to: and if the information of the geographical area where the terminal is currently located is changed, acquiring the second cell fence information of the geographical area where the terminal is currently located.
According to some embodiments of the application, the processing unit is further configured to: if the service cell where the terminal currently resides is not matched with the second cell fence information, continuing to monitor the service cell where the terminal currently resides.
In a third aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory, where the memory is configured to store program instructions, and where the processor is configured to implement the terminal scene recognition method according to any one of the possible embodiments of the first aspect when the processor invokes the program instructions.
In a fourth aspect, an embodiment of the present application provides a computer readable storage medium storing a program that causes a computer device to implement the terminal scene recognition method according to any one of the possible embodiments of the first aspect.
In a fifth aspect, an embodiment of the present application provides a computer program product comprising computer-executable instructions stored in a computer-readable storage medium; at least one processor of the terminal may read the computer-executable instructions from the computer-readable storage medium, the at least one processor executing the computer-executable instructions causing the terminal to perform the terminal scene recognition method as described in any one of the possible embodiments of the first aspect above. The benefits of the second aspect, the third aspect, the fourth aspect, the fifth aspect, and the various implementations thereof in the present application may refer to the first aspect, the various implementations thereof, and the benefit analysis in the first aspect, which are not described herein.
Drawings
Fig. 1 is a schematic diagram of a scenario when a high-speed rail provided in an embodiment of the present application runs on a high-speed rail.
Fig. 2 is a schematic hardware structure of a terminal according to an embodiment of the present application.
Fig. 3 is a software structure block diagram of a terminal according to an embodiment of the present application.
Fig. 4 is a flowchart of a terminal scene recognition method provided in an embodiment of the present application.
Fig. 5 is a flowchart of a process for adjusting a cache policy according to an embodiment of the present application.
Fig. 6 is a schematic diagram of a user interface in a high-speed rail scenario provided in an embodiment of the present application.
Fig. 7 is a schematic diagram of a relationship between a high-speed rail station and a circuit according to an embodiment of the present application.
Fig. 8 is a schematic diagram of a user interface in a high-speed railway scenario provided in an embodiment of the present application.
Fig. 9 is a flowchart of a process of exiting a high-speed rail scenario provided in an embodiment of the present application.
Fig. 10 is a flowchart of a process for generating a high-speed rail station cell fence and a high-speed rail line cell fence provided in an embodiment of the present application.
Fig. 11 is a schematic diagram of a terminal and a cloud server provided in an embodiment of the present application.
Fig. 12 is a schematic diagram of a terminal and server generating a high-speed rail station cell fence and a high-speed rail line cell fence according to an embodiment of the present application.
Fig. 13 is a partial schematic view on an electronic map.
Fig. 14 is a schematic logic structure diagram of a terminal scene recognition device according to an embodiment of the present application.
Detailed Description
In describing embodiments of the present application, words such as "for example" are used to mean serving as examples, illustrations, or descriptions. Any embodiment or design described herein as "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "for example" is intended to present related concepts in a concrete fashion.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. It should be understood that in this application, unless otherwise indicated, "a plurality" means two or more than two.
The prior art provides a user terminal mode control method, which can identify a terminal scene by utilizing a high-speed railway private network cell deployed by an operator. In the existing user terminal mode control method, when the motion state of a terminal is determined to be a riding state, a high-speed identifier (HighSpeedFlag is true) provided by a Modem (Modem) is obtained, wherein the high-speed identifier is an LTE (Long Term Evolution ) communication network system carrying data. If the high-speed identification can be continuously acquired within a set time (such as within 30 seconds), judging that the current state of the terminal is a high-speed rail riding state. The existing user terminal mode control method depends on the high-speed railway private network cells deployed by operators, which results in the fact that the high-speed railway scenes under the non-high-speed railway private network cannot be identified. Meanwhile, only a large number of high-speed railway private networks for China mobile are deployed at present, and China telecom and China Unicom do not deploy a large number of high-speed railway private networks and also do not have HighSpeedFlag identification. These will result in a lower terminal scene recognition rate for the existing user terminal mode control method. In view of this, the embodiment of the application provides a terminal scene recognition method, which can not depend on a high-speed railway private network cell deployed by an operator, and improves the recognition rate of a terminal scene.
First, a scenario in which the present application is applied will be described by taking a scenario when a high-speed rail is running on a high-speed rail as shown in fig. 1 as an example.
As shown in fig. 1, a high-speed rail is operated on a high-speed rail line covered by a plurality of cells for providing services to terminals moving on the high-speed rail line. The plurality of cells may include cells covered by common base station signals, or may further include cells covered by private base station signals, i.e. may include high-speed rail public network cells, or may further include high-speed rail private network cells. Each cell is a range covered by one base station or a part of a base station (sector antenna). A plurality of the cells may include cells supporting fourth generation (fourth generation, 4G) access technology, such as cells of long term evolution (long term evolution, LTE) access technology; alternatively, cells supporting fifth generation (5G) access technologies, such as cells of New Radio (NR) access technologies; alternatively, cells supporting multiple radio technologies, such as LTE technology and NR technology, may also be included. It is also understood that a plurality of said cells may also be cells adapted for future oriented communication technologies. Wherein each cell corresponds to a unique cell identification (cell ID).
The high-speed rail line may be divided into a plurality of high-speed rail line areas, each of which may be covered by one or more cells. In fig. 1, the high-speed rail line segment may be divided into six high-speed rail line regions (high-speed rail line region 1-high-speed rail line region 6). Each of the six high-speed rail regions may be covered by one or more cells. For example, the high-speed rail line area 3 may be covered by the cells 3 and 4. A terminal may camp under a certain cell of one or more cells covering a certain high-speed rail line area when passing through the high-speed rail line area. For example, in fig. 1, a terminal may camp under a cell 3 covering a high-speed rail line area 3 while passing through the high-speed rail line area 3. Thus, the terminal can access the network. It can be understood that when a terminal passes through a certain high-speed railway area, due to the high speed of the high-speed railway, the terminal can also be switched to a cell covering the next high-speed railway area without switching to a cell covering the high-speed railway area, i.e. directly skipping over the cell covering the high-speed railway area.
The following describes the hardware structure and the software structure of the terminal provided in the embodiment of the present application.
Referring to fig. 2, a schematic hardware structure of a terminal according to an embodiment of the present application is shown. The terminal 100 may include at least one of a cellular phone, a foldable electronic device, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (personal digital assistant, PDA), or a wearable device having a communication function. The embodiment of the present application does not particularly limit the specific type of the terminal 100.
The terminal 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) connector 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera module 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, a position sensor 180N, and the like.
It should be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the terminal 100. In other embodiments of the present application, terminal 100 may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The processor can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 may be a cache memory. The memory may hold instructions or data that are used or used more frequently by the processor 110. If the processor 110 needs to use instructions or data, it may be called directly from memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others. The processor 110 may be connected to the touch sensor, the audio module, the wireless communication module, the display, the camera module, and the like through at least one of the above interfaces.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and does not limit the structure of the terminal 100. In other embodiments of the present application, the terminal 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The USB connector 130 is an interface conforming to the USB standard, and may be used to connect the terminal 100 and a peripheral device, specifically, a Mini USB connector, a Micro USB connector, a USB Type C connector, etc.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the terminal 100. The charging management module 140 may also supply power to the terminal through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the display 194, the camera module 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the terminal 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in terminal 100 may be configured to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the terminal 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), bluetooth low energy (bluetooth low energy, BLE), ultra Wide Band (UWB), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., applied on the terminal 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of terminal 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that terminal 100 may communicate with networks and other terminals via wireless communication techniques. Wireless communication techniques may include global system for mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
Terminal 100 may implement display functions through a GPU, display screen 194, and application processor, among others. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the terminal 100 may include 1 or more display screens 194.
The terminal 100 may implement camera functions through a camera module 193, an isp, a video codec, a GPU, a display 194, an application processor AP, a neural network processor NPU, and the like.
The camera module 193 may be used to acquire color image data as well as depth data of a subject. The ISP may be used to process color image data acquired by the camera module 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, so that the electrical signal is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be disposed in the camera module 193.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to realize the memory capability of the extension terminal 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions.
The internal memory 121 may be used to store computer-executable program code that includes instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data (e.g., audio data, phonebook, etc.) created during use of the terminal 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 110 performs various functional methods or data processing of the terminal 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The terminal 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The terminal 100 can listen to music through the speaker 170A or output an audio signal for handsfree talk.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When the terminal 100 receives a telephone call or voice message, it is possible to receive voice by approaching the receiver 170B to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The terminal 100 may be provided with at least one microphone 170C. In other embodiments, the terminal 100 may be provided with two microphones 170C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the terminal 100 may be further provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, implement directional recording functions, etc.
The earphone interface 170D is used to connect a wired earphone. The earphone interface 170D may be a USB interface 130 or a 3.5mm open mobile terminal platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The terminal 100 determines the strength of the pressure according to the change of the capacitance. When a touch operation is applied to the display 194, the terminal 100 detects the intensity of the touch operation according to the pressure sensor 180A. The terminal 100 may also calculate the location of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions. For example: and executing an instruction for checking the short message when the touch operation with the touch operation intensity smaller than the first pressure threshold acts on the short message application icon. And executing an instruction for newly creating the short message when the touch operation with the touch operation intensity being greater than or equal to the first pressure threshold acts on the short message application icon.
The gyro sensor 180B may be used to determine a motion gesture of the terminal 100. In some embodiments, the angular velocity of terminal 100 about three axes (i.e., x, y, and z axes) may be determined by gyro sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. Illustratively, when the shutter is pressed, the gyro sensor 180B detects the angle of the shake of the terminal 100, calculates the distance to be compensated by the lens module according to the angle, and controls the lens to move in the opposite direction to counteract the shake of the terminal 100, thereby realizing anti-shake. The gyro sensor 180B may also be used for navigating, somatosensory game scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, the terminal 100 calculates altitude from the barometric pressure value measured by the barometric pressure sensor 180C, aiding in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The terminal 100 may detect the opening and closing of the flip cover using the magnetic sensor 180D. When the terminal is a foldable terminal, the magnetic sensor 180D may be used to detect the folding or unfolding of the terminal, or the folding angle. In some embodiments, when the terminal 100 is a folder, the terminal 100 may detect opening and closing of the folder according to the magnetic sensor 180D. And then according to the detected opening and closing state of the leather sheath or the opening and closing state of the flip, the characteristics of automatic unlocking of the flip and the like are set.
The acceleration sensor 180E may detect the magnitude of acceleration of the terminal 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the terminal 100 is stationary. The method can also be used for identifying the gesture of the terminal, and is applied to the applications such as horizontal and vertical screen switching, pedometers and the like.
A distance sensor 180F for measuring a distance. The terminal 100 may measure the distance by infrared or laser. In some embodiments, the terminal 100 may range using the distance sensor 180F to achieve quick focusing.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The terminal 100 emits infrared light outward through the light emitting diode. The terminal 100 detects infrared reflected light from nearby objects using a photodiode. When the intensity of the detected reflected light is greater than the threshold value, it may be determined that there is an object near the terminal 100. When the intensity of the detected reflected light is less than the threshold value, the terminal 100 may determine that there is no object in the vicinity of the terminal 100. The terminal 100 can detect that the user holds the terminal 100 close to the ear by using the proximity light sensor 180G, so as to automatically extinguish the screen for the purpose of saving power. The proximity light sensor 180G may also be used in holster mode, pocket mode to automatically unlock and lock the screen.
Ambient light sensor 180L may be used to sense ambient light level. The terminal 100 may adaptively adjust the brightness of the display 194 according to the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust white balance when taking a photograph. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the terminal 100 is occluded, e.g., the terminal is in a pocket. When the terminal is detected to be blocked or in the pocket, part of functions (such as touch control functions) can be in a disabled state so as to prevent misoperation.
The fingerprint sensor 180H is used to collect a fingerprint. The terminal 100 can utilize the collected fingerprint characteristics to realize fingerprint unlocking, access an application lock, fingerprint photographing, fingerprint incoming call answering and the like.
The temperature sensor 180J is for detecting temperature. In some embodiments, terminal 100 performs a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature detected by the temperature sensor 180J exceeds a threshold, the terminal 100 performs a reduction in performance of the processor in order to reduce power consumption of the terminal to implement thermal protection. In other embodiments, terminal 100 heats battery 142 when the temperature detected by temperature sensor 180J is below another threshold. In other embodiments, terminal 100 may boost the output voltage of battery 142 when the temperature is below a further threshold.
The touch sensor 180K, also referred to as a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may be disposed on the surface of the terminal 100 at a different location than the display 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, bone conduction sensor 180M may acquire a vibration signal of a human vocal tract vibrating bone pieces. The bone conduction sensor 180M may also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 180M may also be provided in a headset, in combination with an osteoinductive headset. The audio module 170 may parse out a voice signal based on the vibration signal of the vocal part vibration bone piece obtained by the bone conduction sensor 180M, and implement a voice function. The application processor can analyze heart rate information based on the blood pressure beat signals acquired by the bone conduction sensor 180M, so that a heart rate detection function is realized.
The location sensor 180N may detect the geographic location of the terminal. In some embodiments, the position sensor 180N may be a GPS, beidou, or other positioning system.
The keys 190 may include a power on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The terminal 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the terminal 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be contacted and separated from the terminal 100 by being inserted into the SIM card interface 195 or by being withdrawn from the SIM card interface 195. The terminal 100 may support 1 or more SIM card interfaces. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The terminal 100 interacts with the network through the SIM card to realize functions such as call and data communication. In some embodiments, the terminal 100 employs esims, i.e.: an embedded SIM card. The eSIM card may be embedded in the terminal 100 and cannot be separated from the terminal 100.
The software system of the terminal 100 may employ a layered architecture, an event driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In this embodiment, taking an Android system with a layered architecture as an example, a software structure of the terminal 100 is illustrated.
Fig. 3 is a software configuration block diagram of the terminal 100 according to the embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into five layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (ART) and native C/c++ libraries, a hardware abstraction layer (Hardware Abstract Layer, HAL), and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in fig. 3, the application package may include camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, news, etc. applications.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 3, the application framework layer may include a window manager, a content provider, a view system, a resource manager, a notification manager, an activity manager, an input manager, and so forth.
The window manager provides window management services (Window Manager Service, WMS) that may be used for window management, window animation management, surface management, and as a transfer station to the input system.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as a notification of an application running in the background of the application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the terminal vibrates, and an indicator light blinks.
The activity manager may provide activity management services (Activity Manager Service, AMS) that may be used for system component (e.g., activity, service, content provider, broadcast receiver) start-up, handoff, scheduling, and application process management and scheduling tasks.
The input manager may provide input management services (Input Manager Service, IMS), which may be used to manage inputs to the system, such as touch screen inputs, key inputs, sensor inputs, and the like. The IMS retrieves events from the input device node and distributes the events to the appropriate windows through interactions with the WMS.
The android runtime includes a core library and An Zhuoyun rows. The android runtime is responsible for converting source code into machine code. Android runtime mainly includes employing Advanced Or Time (AOT) compilation techniques and Just In Time (JIT) compilation techniques.
The core library is mainly used for providing the functions of basic Java class libraries, such as basic data structures, mathematics, IO, tools, databases, networks and the like. The core library provides an API for the user to develop the android application.
The native C/c++ library may include a plurality of functional modules. For example: surface manager (surface manager), media Framework (Media Framework), libc, openGL ES, SQLite, webkit, etc.
The surface manager is used for managing the display subsystem and providing fusion of 2D and 3D layers for a plurality of application programs. Media frames support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc. OpenGL ES provides for drawing and manipulation of 2D graphics and 3D graphics in applications. SQLite provides a lightweight relational database for applications of the terminal 100.
The hardware abstraction layer runs in a user space (user space), encapsulates the kernel layer driver, and provides a call interface to the upper layer.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The workflow of the terminal software and hardware is illustrated below in connection with capturing a photo scene.
When touch sensor 180K receives a touch operation, a corresponding hardware interrupt is issued to the kernel layer. The kernel layer processes the touch operation into the original input event (including information such as touch coordinates, time stamp of touch operation, etc.). The original input event is stored at the kernel layer. The application framework layer acquires an original input event from the kernel layer, and identifies a control corresponding to the input event. Taking touch operation as touch click operation, taking a control corresponding to the click operation as a control of a camera application icon as an example, the camera application calls an interface of an application framework layer, starts the camera application, further starts a camera driver by calling a kernel layer, and captures a still image or video through the camera.
Referring to fig. 4, a flowchart of a terminal scene recognition method according to an embodiment of the present application is provided. The terminal scene recognition method is applied to the terminal shown in fig. 2 and 3, and the terminal comprises a terminal scene recognition device. The terminal scene recognition means may be divided into one or more units for implementing the steps in the terminal scene recognition method. The terminal scene recognition method is used for recognizing the terminal scene in the high-speed railway environment. The terminal scene recognition method comprises the following steps:
S401: and obtaining community fence information of the high-speed rail station.
In some embodiments, the cell fence information for the high-speed rail station may be a virtual boundary bounded by all cells covering the geographic area of the high-speed rail station. The cell fence information of the high-speed rail station includes information of the high-speed rail station and identities (cell IDs) of all cells covering a geographical area of the high-speed rail station. It will be appreciated that the cell fence information of the high-speed rail station may also be a virtual boundary defined by a majority of cells covering the geographic area of the high-speed rail station, as this application is not limited in this regard.
In some embodiments, the cell may be a cell covered by a public base station signal, or may also be a cell covered by a private base station signal, that is, may be a high-speed rail station public network cell, or may also be a high-speed rail private network cell. The cell may be a cell supporting a fourth generation (fourth generation, 4G) access technology, such as a cell of a long term evolution (long term evolution, LTE) access technology; alternatively, a cell supporting a fifth generation (5G) access technology, such as a cell of a New Radio (NR) access technology; alternatively, the cell may be a cell supporting a plurality of radio technologies, for example, a cell supporting LTE technology and NR technology. It is also understood that the cell may also be a cell adapted for future oriented communication technology.
In some embodiments, the cell fence information for the high-speed rail station may be cell fence information for a national high-speed rail station.
In some embodiments, the cell fence information of the high-speed rail station may be cell fence information of the high-speed rail station of the geographical area information in which the terminal is currently located. Specifically, before obtaining the cell fence information of the high-speed rail station of the geographical area information where the terminal is currently located, the method further comprises: and acquiring the information of the current geographical area of the terminal through a position sensor of the terminal. In some embodiments, the position sensor of the terminal does not need to be opened directly, and is opened only when positioning is needed, so that the information of the geographical area where the terminal is currently located can be obtained through the position sensor of the terminal. Acquiring the cell fence information of the high-speed rail station may include acquiring the cell fence information of the high-speed rail station of the geographical area information where the acquired terminal is currently located.
In some embodiments, the information of the geographical area where the terminal is currently located may be obtained by turning on a position sensor of the terminal at preset time intervals. The acquisition according to the preset time interval may be always acquired according to a fixed preset time interval, or acquired according to a preset time interval in a period of time, acquired according to another preset time interval in other periods of time, or the like. The position sensor of the terminal does not need to be opened directly, and only needs to be opened according to a preset time interval, so that the information of the geographical area where the terminal is currently located can be obtained through the position sensor of the terminal according to the preset time interval. And if the current geographical area information of the terminal is different from the previous geographical area information of the terminal, acquiring the district fence information of the high-speed rail station of the current geographical area information of the terminal. And if the current geographical area information of the acquisition terminal is the first geographical area information of the acquisition terminal, directly acquiring the district fence information of the high-speed rail station of the current geographical area information of the terminal. It can be understood that if the current geographical area information of the terminal is the same as the previous geographical area information of the terminal, the cell fence information of the high-speed rail station of the current geographical area information of the terminal does not need to be repeatedly acquired, and the cell fence information of the high-speed rail station of the previous geographical area information of the terminal can be directly utilized. The geographical area information of the terminal in the previous time is geographical area information acquired in the previous time before the geographical area information of the terminal in the current time is acquired. The information of the geographical area where the terminal is currently located may be city information, province information, or region information, which is not limited in this application. The city information may be, for example, shanghai, shenzhen, beijing, etc. The province information may be, for example, guangdong province, hubei province, or the like. The region information may be, for example, eastern China, southern China, etc. For convenience of description, the following will take the case that the information of the geographical area where the terminal is currently located may be XX city as an example. The cell fence information of the high-speed rail station may be as follows in table 1:
TABLE 1
Urban information High-speed rail station Cell fence information
XX City High-speed rail station A Cell 01, cell 02, cell 03, cell 04, cell 05
XX City High-speed rail station B Cell 11, cell 12, cell 13, cell 14
XX City High-speed rail station C Cell 21, cell 22, cell 23, cell 24, cell 25
XX City High-speed rail station D Cell 31, cell 32, cell 33, cell 34, cell 35, cell 36
XX City High-speed railway station I Cell 91, cell 92, cell 93, cell 94
It is understood that table 1 is an example of the cell fence information of the high-speed rail station, which may omit the city fence or omit the high-speed rail station fence, and the content and form of the cell fence information of the high-speed rail station are not limited in this application.
In some embodiments, the cell fence information of the high-speed rail station may be preset within the terminal.
In some embodiments, the cell fence information for the high-speed rail station may be obtained from a cloud server.
S402: and monitoring the service cell where the terminal currently resides.
In some embodiments, the serving cell in which the listening terminal is currently camping is an identity (cell ID) of the serving cell in which the listening terminal is currently camping. In some embodiments, the serving cell in which the terminal is currently camping may be monitored by monitoring system information of the cell. When the terminal is started or enters the coverage area of a cell, the base station corresponding to the cell can repeatedly broadcast the system message. The terminal can receive the broadcasted system information, select and reside the cell according to the system information, and determine the service cell where the terminal is currently residing. Then, as long as the terminal is started or enters the coverage area of the cell, the service cell where the terminal currently resides can be monitored. The terminal can use the services of the network only after camping on a serving cell. The terminal can receive the system information broadcast by the base station corresponding to the cell even if the terminal does not access the network currently, so that the service cell where the terminal currently resides can be monitored by monitoring the system information of the cell.
S403: and judging whether the service cell where the terminal currently resides is matched with the cell fence information of the high-speed rail station. If the serving cell in which the terminal is currently located matches the cell fence information of the high-speed rail station, step S404 is executed. If the serving cell in which the terminal is currently resident does not match the cell fence information of the high-speed rail station, step S402 is performed.
In some embodiments, whether the service cell in which the terminal currently resides matches cell fence information of the high-speed rail station is determined according to a preset period. And when the method is executed, the cell fence information of the serving cell and the high-speed rail station where the terminal currently resides is always matched according to a preset period. Thus, when the terminal moves to any high-speed rail station, it can be determined that the serving cell in which the terminal currently resides matches the cell fence information of the high-speed rail station.
In some embodiments, before determining whether the serving cell in which the terminal is currently camping matches the cell fence information of the high-speed rail station, the method further comprises: and judging whether the service cell where the terminal currently resides is the same as the service cell where the terminal previously resides. In some embodiments, it is determined whether the identity of the serving cell in which the terminal is currently camping is the same as the identity of the serving cell in which the terminal was camping last time. If the service cell in which the terminal is currently resident is different from the service cell in which the terminal is previously resident, whether the service cell in which the terminal is currently resident is matched with the cell fence information of the high-speed rail station or not can be judged. It can be understood that if the service cell in which the terminal currently resides is the same as the service cell in which the terminal previously resides, it is no longer necessary to determine whether the service cell in which the terminal currently resides matches with the cell fence information of the high-speed rail station, so that a process of identifying a scene of the terminal can be saved, and when the terminal moves to any high-speed rail station, it can be determined that the service cell in which the terminal currently resides matches with the cell fence information of the high-speed rail station.
In some embodiments, determining whether the serving cell in which the terminal is currently camping matches cell fence information of the high-speed rail station may include: inquiring whether a first target cell matched with a service cell where a terminal currently resides exists in cell fence information of the high-speed rail station; if a first target cell matched with the service cell where the terminal currently resides exists in the cell fence information of the high-speed rail station, judging that the service cell where the terminal currently resides is matched with the cell fence information of the high-speed rail station; if the first target cell matched with the service cell of the terminal currently resides in the cell fence information of the high-speed rail station does not exist, judging that the service cell of the terminal currently resides is not matched with the cell fence information of the high-speed rail station.
For example, if the serving cell in which the terminal is currently camping is cell 11, it may be queried that there is a first target cell (cell 11) in table 1 that matches the serving cell (cell 11) in which the terminal is currently camping, at which time it may be determined that the serving cell in which the terminal is currently camping matches the cell fence information of the high-speed rail station.
S404: and controlling the terminal to enter a high-speed rail station scene.
In some embodiments, the terminal entry into the high-speed rail station scenario represents that the carrier of the terminal entered into the high-speed rail station, i.e., the terminal is determined to be at the high-speed rail station. At this time, the carrier of the terminal may be a person riding a high-speed rail, or a person entering a high-speed rail station but not riding a high-speed rail. The person entering the high-speed rail station but not taking the high-speed rail may be a person buying the high-speed rail ticket but not taking the high-speed rail, a worker in the high-speed rail station, a passerby, a person driving out after sending the person from the high-speed rail station, or the like.
In some embodiments, some applications (e.g., audio-video type applications, news type applications, etc.) may register high-speed rail yard scene recognition at installation or runtime through the application framework layer, such that these applications may be determined by the application framework layer to be the target applications registered with the terminal entry high-speed rail yard scene event. And when the terminal is controlled to enter the high-speed rail station scene, the indication information of the terminal entering the high-speed rail station scene is sent to the target application through the application program framework layer, and the target application can execute the first caching operation according to the indication information, so that the target application program of the terminal can be normally used when a user enters the high-speed rail station, and the target application program of the terminal can be normally used on the high-speed rail when the signal of the user on the high-speed rail is poor. In some embodiments, the performing the first buffering operation may be performing buffering with a first amount of buffering, performing buffering and playing with a first code rate, and so on. The first buffer capacity is larger than the buffer capacity of the application program buffer in the common state, and the first code rate is smaller than the code rate of the application program buffer and playing in the common state. It may be appreciated that the performing the first buffering operation may also be performing buffering and playing with a first resolution, where the first resolution is smaller than a resolution of the application program buffering and playing in the normal state, which is not limited in this application. It is understood that, for different applications, the first buffering operation performed according to the indication information may also be different, for example, for an audio/video application, the first buffering operation performed may be to increase the buffering amount to the first buffering amount, decrease the code rate to the first code rate, etc., and for a news application, the first buffering operation performed may be to increase the pre-load amount to the first pre-load amount, etc., which is not limited in this application.
As shown in fig. 5, when an application (e.g., an audio/video application, a news application, etc.) 501 is running in the application foreground or when the application is switched from the application background running to the application foreground, a high-speed rail scene recognition is registered in the terminal scene recognition device 502. Thus, the terminal scene recognition device 502 may determine the application 501 as a target application registered with a terminal entry high-speed rail scene event. In fig. 5, when the terminal is controlled to enter a high-speed rail station scene, the terminal scene recognition device 502 sends indication information of a high-speed rail station Jing Huancun policy to the application 501, and the application 501 performs a first buffering operation according to the indication information of the high-speed rail station Jing Huancun policy. It is to be understood that, the application 501 may register the scene recognition with the terminal scene recognition device 502 when it is installed, running in the background of the application, or when it is switched from the foreground of the application to the background of the application, which is not limited in this application. It is understood that the application 501 may also unregister the terminal scene recognition device 502 with the high-speed rail scene recognition, which is not limited in this application.
In some embodiments, when the application program executes the first cache operation according to the notification of controlling the terminal to enter the high-speed rail station scene, a first cache operation prompt (as shown in fig. 6) may also be executed, so that the user may have a stronger awareness of optimizing the high-speed rail station scene. In fig. 6, the video application is executing a first buffering operation, and at this time, the terminal pops up a first prompt box on the video interface while playing the video. The first prompt box is used for prompting a user that the video application program has started the optimization of the high-speed rail station scene. In fig. 6, the first prompt box may be prompt 1, which prompt 1 may be, for example, "have started a high-speed rail yard scenario optimization for you". It will be appreciated that fig. 6 is an example of the first prompt box, and the content and form of the first prompt box are not limited in this application. It can be understood that the first prompt box may be displayed all the time when the first cache operation is executed, or may be displayed for only a few seconds, and the time of displaying the first prompt box is not limited in this application.
S405: and obtaining the district fence information of the high-speed railway line.
In some embodiments, the cell fence information of the high-speed rail line is cell fence information of the high-speed rail line. The cell fence information for the high-speed rail line may be a virtual boundary bounded by all cells covering the geographic area of the high-speed rail line. The cell fence information of the high-speed rail line includes an identification (cell ID) of all cells covering a geographical area of the high-speed rail line. It will be appreciated that the cell fence information of the high-speed rail may also be a virtual boundary defined by a majority of cells covering the geographic area of the high-speed rail, which is not limited in this application.
In some embodiments, the cell fence information of the high-speed rail may also be cell fence information of the high-speed rail of the geographical area information in which the terminal is currently located, for example, cell fence information of the high-speed rail of XX city.
In some embodiments, the cell fence information of the high-speed rail may also be cell fence information of the high-speed rail station where the terminal is currently located. Specifically, after step S403 and before step S404, the method further includes: and determining the high-speed rail station where the terminal is currently located. The acquiring the cell fence information of the high-speed rail line may include acquiring the cell fence information of the high-speed rail line of the high-speed rail station where the determined terminal is currently located. In some embodiments, the cell fence information of the high-speed rail may further include path information of the high-speed rail station where the terminal is currently located. For example, as shown in fig. 7, if the terminal is currently located at the high-speed rail station a, three routes are included from the high-speed rail station a as a start point, namely, a high-speed rail line L1 from the high-speed rail station a to the high-speed rail station B, a high-speed rail line L2 from the high-speed rail station a to the high-speed rail station C, and a high-speed rail line L3 from the high-speed rail station a to the high-speed rail station D. Then, the path information of the high-speed rail line of the high-speed rail station where the terminal is currently located includes path information of the high-speed rail line L1, the high-speed rail line L2 and the high-speed rail line L3, and the cell fence information of the high-speed rail line of the high-speed rail station where the terminal is currently located includes cell fence information of the high-speed rail line L1, cell fence information of the high-speed rail line L2 and cell fence information of the high-speed rail line L3. If the terminal is currently located in the high-speed rail station D, the high-speed rail station D is taken as a starting point, and 4 routes are respectively a high-speed rail line L3 from the high-speed rail station D to the high-speed rail station a, a high-speed rail line L4 from the high-speed rail station D to the high-speed rail station E, a high-speed rail line L5 from the high-speed rail station D to the high-speed rail station F, and a high-speed rail line L6 from the high-speed rail station D to the high-speed rail station G. Then, the path information of the high-speed rail line of the high-speed rail station where the terminal is currently located includes path information of the high-speed rail line L3, the high-speed rail line L4, the high-speed rail line L5 and the high-speed rail line L6, and the cell fence information of the high-speed rail line of the high-speed rail station where the terminal is currently located includes cell fence information of the high-speed rail line L3, cell fence information of the high-speed rail line L4, cell fence information of the high-speed rail line L5 and cell fence information of the high-speed rail line L6.
Wherein each high-speed rail line may be divided into a plurality of high-speed rail line areas, each high-speed rail line area may be covered by one or more cells, for example, high-speed rail line L1 may be divided into six high-speed rail line areas, each of which may be covered by one or more cells, and thus a terminal may not be switched to a cell covering a high-speed rail line area of the location due to a high-speed rail speed, etc., while the terminal is operating on the high-speed rail line, and a serving cell where the terminal resides may be different when the terminal passes through different times at the same location on the high-speed rail line.
For convenience of description, the following will take, as an example, cell fence information of a high-speed rail line of a high-speed rail station where a terminal is currently located.
The cell fence information of the high-speed railway line can be as follows in table 2:
TABLE 2
It will be appreciated that table 2 is an example of the cell fence information of the high-speed rail line of the high-speed rail station where the terminal is currently located, and the cell fence information of the high-speed rail line may also omit the high-speed rail station fence, or may also omit the high-speed rail line fence, and the content and form of the cell fence information of the high-speed rail line are not limited in this application.
In some embodiments, the cell fence information of the high-speed rail may be preset within the terminal.
In some embodiments, the cell fence information for the high-speed rail may be obtained from a cloud server.
S406: and judging whether the terminal leaves the high-speed rail station and the motion state enters the riding state. If the terminal leaves the high-speed rail station and the movement state enters the riding state, step S407 is performed. If the terminal leaves the high-speed rail station but the movement state of the terminal does not enter the riding state, step S409 is performed.
In some embodiments, since some people may not leave the high-speed rail station (e.g., a worker of the high-speed rail station, etc.) although entering the high-speed rail station, or leave the high-speed rail station but not ride, it is necessary to distinguish whether the terminal leaves the high-speed rail station and the movement state enters the ride state.
In some embodiments, whether the terminal leaves the high-speed rail station is determined by determining whether the serving cell in which the terminal is currently camping continues to match the cell fence information of the high-speed rail station. If the service cell where the terminal is currently resident continues to be matched with the cell fence information of the high-speed rail station, the terminal can be determined not to leave the high-speed rail station. If the service cell where the terminal is currently resident does not continue to match the cell fence information of the high-speed rail station, the terminal can be determined to leave the high-speed rail station.
In some embodiments, whether the motion state of the terminal enters the riding state may be determined by acceleration data sensed by the acceleration sensor of the terminal. When the high-speed rail runs on the high-speed rail, the acceleration is stable, and if the terminal is positioned on the high-speed rail, the acceleration sensed by the terminal is also stable and is positioned in the movement acceleration range of the high-speed rail. If the acceleration data sensed by the acceleration sensor in the terminal is positioned in the running acceleration range of the high-speed rail, the movement state of the terminal can be determined to enter a riding state; if the acceleration data sensed by the acceleration sensor in the terminal is located outside the high-speed rail running acceleration range, the movement state of the terminal can be determined not to enter the riding state.
In some embodiments, whether the motion state of the terminal enters the riding state may be determined by speed data sensed by a speed sensor in the terminal. The speed of the high-speed rail after acceleration is completed on the high-speed rail is within the running speed range of the high-speed rail. If the speed data sensed by the speed sensor in the terminal is in the high-speed rail running speed range, determining that the motion state of the terminal enters a riding state; if the speed data sensed by the speed sensor in the terminal is located outside the high-speed rail running speed range, it can be determined that the movement state of the terminal does not enter the riding state.
In some embodiments, whether the motion state of the terminal enters the riding state may be determined by acceleration data sensed by the acceleration sensor and speed data sensed by the speed sensor in the terminal, which is not limited in this application.
S407: and judging whether the service cell where the terminal currently resides is matched with the cell fence information of the high-speed railway line. If the serving cell in which the terminal is currently located matches the cell fence information of the high-speed railway, step S408 is performed. If the serving cell in which the terminal is currently located is not matched with the cell fence information of the high-speed railway, step S409 is executed.
In some embodiments, since the running state of the common vehicle (car, etc.) is similar to that of the high-speed rail, after the terminal starts from the high-speed rail station and the running state enters the riding state, it is further required to distinguish whether the terminal is currently located on the high-speed rail or on the common vehicle, and it is required to determine whether the serving cell in which the terminal is currently located matches with the cell fence information of the high-speed rail.
In some embodiments, determining whether the serving cell in which the terminal is currently camping matches cell fence information of the high-speed rail may include: inquiring whether a second target cell matched with a service cell where the terminal currently resides exists in the cell fence information of the high-speed rail; if a second target cell matched with the service cell where the terminal currently resides exists in the cell fence information of the high-speed railway, judging that the service cell where the terminal currently resides is matched with the cell fence information of the high-speed railway; if the second target cell matched with the service cell of the terminal currently resides in the cell fence information of the high-speed railway is not existed, judging that the service cell of the terminal currently resides is not matched with the cell fence information of the high-speed railway.
For example, if the serving cell in which the terminal is currently camping is cell b7, it may be queried that there is no second target cell in table 1 that matches the serving cell in which the terminal is currently camping (cell b 7), and at this time, it may be determined that the serving cell in which the terminal is currently camping does not match the cell fence information of the high-speed rail.
In some embodiments, the high-speed rail is more stable and faster in acceleration and can travel longer distances in a shorter time when operating on the high-speed rail. The terminal on the high-speed rail is also rapidly moved to a different high-speed rail region in a short time. Since each high-speed rail line area can be covered by one or more cells, the terminal can rapidly switch to a different cell in a shorter time, and the serving cell in which the terminal currently resides also rapidly changes. Sometimes, due to the high-speed and the like, when the high-speed rail passes through a certain high-speed rail area, the terminal on the high-speed rail is not even switched to a cell covering the certain high-speed rail area, and then the high-speed rail is quickly moved to the next high-speed rail area, and then the terminal does not reside in the cell covering the certain high-speed rail area on the high-speed rail. Then, the determining whether the serving cell in which the terminal currently resides matches the cell fence information of the high-speed rail may include: inquiring whether a preset number of third target cells matched with a service cell where a terminal currently resides exist in cell fence information of the high-speed railway within preset time; if a preset number of third target cells matched with the service cell where the terminal currently resides exist in the cell fence information of the high-speed railway in the preset time, judging that the service cell where the terminal currently resides is matched with the cell fence information of the high-speed railway; if the preset number of third target cells matched with the service cell where the terminal currently resides does not exist in the cell fence information of the high-speed railway line within the preset time, judging that the service cell where the terminal currently resides is not matched with the cell fence information of the high-speed railway line.
For example, if the serving cell in which the terminal is currently located is cell a1, cell a2, cell a4, cell a5, or cell a6 within 2 minutes, it may be queried that there are 5 target cells in table 2 that match the serving cell in which the terminal is currently located, and at this time, it may be determined that the serving cell in which the terminal is currently located matches the cell fence information of the high-speed rail.
In some embodiments, before querying whether there is a second target cell in the cell fence information of the high-speed rail that matches a serving cell in which the terminal is currently camping, the method further comprises: and determining a high-speed rail line where the terminal is currently located according to the electronic map and the geographical area information where the terminal is currently located, then inquiring whether a second target cell matched with a service cell where the terminal is currently located exists in the cell fence information of the high-speed rail line where the terminal is currently located, and determining whether the service cell where the terminal is currently located is matched with the cell fence information of the high-speed rail line according to an inquiring result. Therefore, the matching speed can be improved, and the power consumption of the terminal can be reduced.
In some embodiments, before querying whether there is a preset number of third target cells in the cell fence information of the high-speed rail that match the serving cell in which the terminal currently resides within a preset time, the method further includes: and determining a high-speed rail line where the terminal is currently located according to the electronic map and the geographical area information where the terminal is currently located, then inquiring whether a preset number of third target cells matched with the service cell where the terminal is currently located exist in the cell fence information of the high-speed rail line where the terminal is currently located within a preset time, and determining whether the service cell where the terminal is currently located is matched with the cell fence information of the high-speed rail line according to an inquiring result. Therefore, the matching speed can be improved, and the power consumption of the terminal can be reduced.
S408: and controlling the terminal to enter a high-speed railway line scene.
In some embodiments, the terminal leaves the high-speed rail station and the movement state enters the riding state, and the serving cell in which the terminal currently resides matches the cell fence information of the high-speed rail line, representing that the carrier of the terminal is a person riding the high-speed rail. The terminal may be controlled to enter a high-speed rail scenario.
In some embodiments, some applications (e.g., audio-video type applications, news type applications, etc.) may register high-speed rail scene recognition at installation or runtime through the application framework layer, such that these applications may be determined by the application framework layer to be the target applications registered with the terminal entry high-speed rail scene event. And when the terminal is controlled to enter the high-speed railway line scene, the indication information of the terminal entering the high-speed railway line scene is sent to the target application through the application program framework layer, and the target application can execute the second cache operation according to the indication information, so that the target application program of the terminal can be normally used when a user enters the high-speed railway line. In some embodiments, the performing the second buffering operation may be performing buffering with a second amount of buffering, performing buffering and playing with a second code rate, and so on. The second buffer amount is larger than the first buffer amount, and the second code rate is smaller than the first code rate. It is understood that performing the second buffering operation may also be performing buffering and playing, etc. with a second resolution, which is less than the first resolution, as this application is not limited in this regard. It is understood that, for different applications, the second buffering operation performed according to the indication information may also be different, for example, the second buffering operation performed for the audio/video application may be to increase the buffering amount to the second buffering amount and decrease the code rate to the second code rate, etc., and the second buffering operation performed for the news application may be to increase the pre-load amount to the second pre-load amount, etc., which is not limited in this application.
As shown in fig. 5, when an application 501 (for example, an audio/video application, a news application, or the like) is running in the foreground of an application or when switching from the background of the application to the foreground of the application, a high-speed rail scene recognition is registered in the terminal scene recognition device 502, and a high-speed rail scene recognition is also registered in the terminal scene recognition device 502. Thus, the terminal scenario recognition device 502 may determine the application 501 as the target application registered with the terminal entry into the high-speed rail scenario event. When the terminal is controlled to enter the high-speed railway scene, the terminal scene recognition device 502 sends indication information of the cache policy of the high-speed railway scene to the application 501. The application 501 may execute a second cache operation according to the indication information of the cache policy of the high-speed railway scene. It can be appreciated that the application 501 may register the high-speed rail line scene recognition with the terminal scene recognition device 502 when it is installed, running in the application background, or when it is switched from the application foreground running to the application background; or the registration of the high-speed rail station scene recognition and the registration of the high-speed rail line scene recognition may be different, which is not limited in the present application. It is understood that the application 501 may also unregister the high-speed railway scene recognition with the terminal scene recognition device 502, which is not limited in this application.
In some embodiments, when the application program executes the second cache operation according to the notification of controlling the terminal to enter the high-speed railway scene, a second cache operation prompt (as shown in fig. 8) may also be executed, so that the user may have a stronger awareness of optimizing the high-speed railway scene. In fig. 8, the video application is executing a second buffering operation, and at this time, the terminal pops up a second prompt box on the video interface while playing the video. The second prompt box is used for prompting the user that the video application program has started the high-speed railway scene optimization. In fig. 8, the second prompt box may be prompt 2, and the prompt 2 may be, for example, "have started a high-speed rail scene optimization for you". It will be appreciated that fig. 8 is an example of the second prompt box, and the content and form of the second prompt box are not limited in this application. It can be understood that the second prompt box may be displayed all the time when the second cache operation is executed, or may be displayed for only a few seconds, and the time for displaying the second prompt box is not limited in this application.
S409: and controlling the terminal to exit the high-speed rail station scene.
In some embodiments, the terminal leaves the high-speed rail station but the motion state of the terminal does not enter a riding state, or the serving cell in which the terminal currently resides does not match the cell fence information of the high-speed rail line, representing that the carrier of the terminal is not a person riding the high-speed rail. And controlling the terminal to exit the high-speed rail station scene, so that the application program does not need to execute the first caching operation.
It is understood that the cell fence information of the high-speed rail line may be cell fence information of a national high-speed rail line, which is not limited in this application.
It will be appreciated that step S406 may be to determine that the terminal leaves the high-speed rail station, and then execute step S407, so that the recognition of the high-speed rail scene may be implemented when the terminal does not support the recognition of the riding state by the sensor, that is, without resorting to the determination of the riding state, which is not limited in this application.
It is understood that after step S408, the method also performs an exit high-speed rail scenario procedure. Referring to fig. 9, a flowchart of a process of exiting a high-speed rail scenario is provided in an embodiment of the present application. The process of exiting the high-speed railway scene comprises the following steps:
s902: and judging whether the motion state of the terminal exits from the riding state. If the motion state of the terminal exits the riding state, step S903 is performed. If the motion state of the terminal does not exit the riding state, step S902 is executed.
In some embodiments, the user may reach the next high-speed rail station or may even drop the high-speed rail after traveling on the high-speed rail for a period of time with the high-speed rail. At this time, the movement state of the terminal will exit the riding state. In some embodiments, if the acceleration data sensed by the acceleration sensor in the terminal is outside the high-speed rail running acceleration range, determining that the motion state of the terminal exits the riding state; if the acceleration data sensed by the acceleration sensor in the terminal is in the high-speed rail running acceleration range, the movement state of the terminal can be determined not to exit from the riding state. In some embodiments, if the speed data sensed by the speed sensor in the terminal is outside the high-speed rail operating speed range, it may be determined that the movement state of the terminal exits the riding state; if the speed data sensed by the speed sensor in the terminal is within the high-speed rail running speed range, it can be determined that the movement state of the terminal does not exit the riding state. In some embodiments, whether the motion state of the terminal enters the riding state may be determined by acceleration data sensed by the acceleration sensor and speed data sensed by the speed sensor in the terminal, which is not limited in this application.
S903: and judging whether the service cell where the terminal currently resides is not matched with any cell information in the cell fence information of the high-speed railway line. If the serving cell in which the terminal is currently located does not match any cell information in the cell fence information of the high-speed railway, step S904 is performed. If the serving cell in which the terminal is currently located matches the cell information in the cell fence information of the high-speed railway, step S902 is executed.
In some embodiments, it may be further determined whether the user arrives at the next high-speed rail station, and possibly even the next high-speed rail, by determining whether the serving cell in which the terminal is currently camping does not match any of the cell fence information for the high-speed rail. If the user has arrived at the next high-speed rail station, and possibly even down the high-speed rail station, the service cell where the terminal is currently resident is not matched with any cell information in the cell fence information of the high-speed rail. The determining whether the service cell in which the terminal currently resides is not matched with any cell information in the cell fence information of the high-speed railway line may include: inquiring whether a second target cell matched with a service cell where the terminal currently resides exists in the cell fence information of the high-speed rail; if the second target cell matched with the service cell of the terminal currently resides in the cell fence information of the high-speed railway is not present, judging that the service cell of the terminal currently resides is not matched with any cell information in the cell fence information of the high-speed railway; and if the second target cell matched with the service cell currently resided in the terminal exists in the cell fence information of the high-speed railway, judging that the service cell currently resided in the terminal is matched with the cell information in the cell fence information of the high-speed railway.
In some embodiments, the high-speed rail may be suspended for a period of time while operating on the high-speed rail, but the high-speed rail is still on the high-speed rail at this time. The determining whether the service cell in which the terminal currently resides is not matched with any cell information in the cell fence information of the high-speed railway line may include: inquiring whether a second target cell matched with a service cell where the terminal currently resides exists in the cell fence information of the high-speed rail within preset time; if the second target cell matched with the service cell where the terminal currently resides does not exist in the cell fence information of the high-speed railway within the preset time, judging that the service cell where the terminal currently resides is not matched with any cell information in the cell fence information of the high-speed railway; if a second target cell matched with the service cell where the terminal currently resides exists in the cell fence information of the high-speed railway within the preset time, judging that the service cell where the terminal currently resides is matched with the cell information in the cell fence information of the high-speed railway. And judging that the cell fence information of the service cell where the terminal currently resides is not matched with the cell fence information of the high-speed railway only when the second target cell which is matched with the service cell where the terminal currently resides does not exist in the cell fence information of the high-speed railway for a preset time.
S904: the control terminal exits the high-speed railway line scene.
In some embodiments, after the terminal enters the high-speed rail scene, the motion state of the terminal exits the riding state, and the serving cell in which the terminal currently resides is not matched with the cell fence information of the high-speed rail, representing that the carrier of the terminal arrives at the next high-speed rail station, and even the high-speed rail is likely to be down. And then the terminal can be controlled to exit the high-speed railway scene. At this time, as described in step S403, since the cell fence information of the serving cell where the terminal currently resides and the high-speed rail station is always matched according to the preset period, or when the serving cell where the terminal currently resides is different from the serving cell where the terminal previously resides, it is determined whether the serving cell where the terminal currently resides is matched with the cell fence information of the high-speed rail station, after the control terminal exits the high-speed rail circuit scene, step S403 and subsequent steps are continuously performed until the control terminal exits the high-speed rail station scene. Or as described in step S401, since the information of the geographical area where the terminal is currently located is obtained according to the preset time interval, after the control terminal exits the high-speed rail scene, the step S401 and the subsequent steps will be continuously executed until the control terminal exits the high-speed rail station scene.
It may be appreciated that, as described above, in some embodiments, the terminal may download the cell fence information of the high-speed rail station or the cell fence information of the high-speed rail line from the cloud server in advance, so that the cell fence information of the high-speed rail station and the cell fence information of the high-speed rail line may be preset in the terminal, so that the terminal need not be downloaded from the cloud server when performing the terminal scene recognition. In some embodiments, the terminal may download, from the cloud server, cell fence information of a high-speed rail station or cell fence information of a high-speed rail line currently required by the terminal when performing terminal scene recognition, and download cell fence information of a high-speed rail station, cell fence information of a high-speed rail line of the high-speed rail station currently located with the terminal, and the like, thereby saving traffic when downloading. The community fence information of the high-speed rail station and the community fence information of the high-speed rail line can also be generated by a terminal and a cloud server. Referring to fig. 10, a flowchart of a process for generating a high-speed rail station cell fence and a high-speed rail line cell fence according to an embodiment of the present application is provided. The process of generating the high-speed rail station cell fences and the high-speed rail line cell fences may be applied to a plurality of terminals 1101 and cloud servers 1102 as shown in FIG. 11. Only three terminals 1101 are shown, but it is to be understood that the number of terminals 1101 is any other number and is not limited in this application. The terminal 1101 may include at least one of a cellular telephone, a foldable electronic device, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular telephone, a personal digital assistant (personal digital assistant, PDA), or a wearable device having communication capabilities. The terminal 1101 may include a position sensor, a mobile communication module, and a wireless communication module. The position sensor may detect a geographic location of the terminal 1101, such as a latitude and longitude, or the like. In some embodiments, the position sensor may be a GPS, beidou, or other positioning system. The mobile communication module may be configured to receive a system message broadcast by the base station 1103 and the wireless communication module may be configured to allow the terminal 1101 to communicate with the cloud server 1102. The process of generating the high-speed rail station community fence and the high-speed rail line community fence comprises the following steps:
S1001: each terminal obtains the geographic position of the terminal through a position sensor.
In some embodiments, the terminal obtains the terminal geographic location through the location sensor only when the location sensor is on. The opening may be only when positioning is required, or at preset time intervals. The number of terminal geographical locations acquired per terminal may be one or more. For example, the terminal geographic location may be a terminal geographic location acquired by a location sensor at 9 am and 9:30 am, respectively. The terminal geographic location may include a geographic location within a high-speed rail station, a geographic location on a high-speed rail line, or a geographic location within a non-high-speed rail station and on a non-high-speed rail line, etc.
Five terminals (terminal 1, terminal 2, terminal 3, terminal 4 and terminal 5) are shown in fig. 12 to obtain the terminal geographical location. The five terminal geographic locations are location 1, location 2, location 3, location 4, and location 5, respectively. Where position 1 and position 2 are geographic locations within high-speed rail station E, and position 3, position 4, and position 5 are geographic locations on the high-speed rail lines (high-speed rail station E through high-speed rail station D). It is understood that the number of terminals may be other numbers, the number of geographic locations within the high-speed rail station E may be other numbers, the number of geographic locations on the high-speed rail lines (high-speed rail station E to high-speed rail station D) may be other numbers, and the terminal geographic locations may also include geographic locations within other high-speed rail stations and geographic locations on other high-speed rail lines, which is not limited in this application.
S1002: each terminal monitors a service cell where the terminal currently resides.
In some embodiments, the terminal may receive a system message broadcast by the base station and monitor a serving cell in which the terminal currently resides according to the received system message.
Continuing with the example of fig. 12 described above, the five terminals can monitor that the serving cells in which the terminal is currently camping are cell d1, cell d2, cell f1, cell f2, and cell f3, respectively.
S1003: each terminal associates a terminal geographic location with a serving cell in which the terminal is currently camping.
In some embodiments, the geographic location of the terminal is obtained when the terminal is in the period of the serving cell in which the terminal is currently camping, or the serving cell in which the terminal is currently camping is monitored when the geographic location of the terminal is obtained. The serving cell in which the terminal currently resides may be a cell covering the geographic location of the terminal, where the serving cell in which the terminal currently resides and the geographic location of the terminal have a certain association.
Continuing with the example of fig. 12 described above, the geographic locations of the terminals associated with the five terminals and the serving cell in which the terminal currently resides may be (location 1, cell d 1), (location 2, cell d 2), (location 3, cell f 1), (location 4, cell f 2), and (location 5, cell f 3), respectively.
S1004: and each terminal sends the associated terminal geographic position and the service cell where the terminal currently resides to the cloud server.
In some embodiments, each terminal may send one or more associated terminal geographic locations and the serving cell in which the terminal is currently camping to the cloud server at a time. That is, each terminal may send the associated terminal geographic location and the service cell in which the terminal currently resides to the cloud server after associating the terminal geographic location with the service cell in which the terminal currently resides; and sending data to the cloud server when the current network quality is greater than a preset threshold value, or when the current network quality is greater than a preset time, or when the geographic position of the associated terminal and the number of service cells where the terminal currently resides are greater than a preset value.
S1005: the cloud server acquires a polygonal geographic area (polygon geography region) of the high-speed rail station and a geographic area of the high-speed rail line through the electronic map.
In some embodiments, the electronic map includes a plurality of geographic contour points of the traffic network and geographic locations where each contour point is located. The traffic network comprises a high-speed rail station, a high-speed rail line and the like. The contour point of the traffic network is a boundary defined by all geographic locations of the traffic network, for example, as shown in fig. 13, the contour point of the high-speed rail station a is a boundary defined by all geographic locations in the high-speed rail station a, and the contour point of the high-speed rail line B is a boundary defined by all geographic locations in the high-speed rail line B. In some embodiments, the polygonal geographic area of the high-speed rail station may include all geographic locations of the high-speed rail station, and the geographic area of the high-speed rail line may include all geographic locations of the high-speed rail line. All the geographic positions of the high-speed rail stations can be contour points of the high-speed rail stations and the geographic position of each contour point, and all the geographic positions of the high-speed rail lines can comprise contour points of the high-speed rail lines and the geographic position of each contour point. The contour points of the high-speed rail station may be contour points of an outer contour of the high-speed rail station, and the contour points of the high-speed rail line may be contour points of a high-speed rail track. It may be understood that the contour point of the high-speed rail station may be a contour point formed by outer contour translational expansion of the high-speed rail station, and the contour point of the high-speed rail line may be a contour point formed by outer contour translational expansion of the high-speed rail track, which is not limited in this application. All geographic locations of the high-speed rail station may also be a set of all geographic locations of the high-speed rail station, and all geographic locations of the high-speed rail line may also be a set of all geographic locations of the high-speed rail line.
S1006: and the cloud server determines a first target terminal geographic position matched with the polygonal geographic area of the high-speed rail station in all the received terminal geographic positions.
In some embodiments, the cloud server determining a first target terminal geographic location of all received terminal geographic locations that matches a polygonal geographic area of the high-speed rail station comprises: the cloud server inquires a target terminal geographic position matched with the terminal geographic position in the polygonal geographic region of the high-speed rail station; and collecting all the target terminal geographic positions as a first target terminal geographic position.
Continuing with the example of fig. 12 described above, the cloud server determines that the first target terminal geographic location that matches the polygonal geographic area of the high-speed rail station E among all the received terminal geographic locations includes location 1 and location 2.
S1007: and the cloud server gathers the service cells where the terminals corresponding to the geographic positions of all the first target terminals currently reside to form cell fence information of the high-speed rail station.
Continuing with fig. 12 as an example, the cloud server gathers the cell d1 corresponding to the location 1 and the cell d2 corresponding to the location 2 to form the cell fence information (cell d1, cell d 2) of the XX city high-speed rail station E. It is understood that the cell fence information may further include city information, high-speed rail station information, etc., which is not limited in this application.
S1008: and the cloud server determines a second target terminal geographic position matched with the geographic area of the high-speed railway line in all the received terminal geographic positions.
In some embodiments, the cloud server determining a second target terminal geographic location of all received terminal geographic locations that matches the geographic area of the high-speed rail line comprises: the cloud server inquires a target terminal geographic position matched with the terminal geographic position in the geographic region of the high-speed rail line; and collecting all the target terminal geographic positions as second target terminal geographic positions.
Continuing with the example of fig. 12 described above, the cloud server determines that the second target terminal geographic location matching the geographic region of the high-speed rail route among all the received terminal geographic locations includes location 3, location 4, and location 5.
S1009: and the cloud server gathers the service cells where the terminals corresponding to the geographic positions of all the second target terminals currently reside to form cell fence information of the high-speed rail.
Continuing with fig. 12 as an example, the cloud server gathers the cell f1 corresponding to the position 3, the cell f2 corresponding to the position 4, and the cell f3 corresponding to the position 5 to form the cell fence information (cell f1, cell f2, cell f 3) of the high-speed rail line from the XX city high-speed rail station E to the high-speed rail station D. It is understood that the cell fence information may further include high-speed rail station information, high-speed rail line information, etc., which is not limited in this application.
It will be appreciated that steps S1006-S1007 and steps S1008-S1009 may be interchanged; step S1006 and step S1008 may be performed simultaneously, and step S1007 and step S1009 may be performed simultaneously, without applying for limitation.
It can be understood that the cloud server may form, at intervals of a preset time period (for example, 1 month, etc.), cell fence information of the high-speed rail station from a set of service cells in which the terminals corresponding to the geographic positions of all the first target terminals currently reside in the preset time period, and form cell fence information of the high-speed rail line from a set of service cells in which the terminals corresponding to the geographic positions of all the second target terminals currently reside in the preset time period, so that the cell fence information of the high-speed rail station and the cell fence information of the high-speed rail line may be updated.
It can be appreciated that the terminal scene recognition method can also be used for recognizing terminal scenes in environments such as high speed, subways and the like.
Fig. 14 is a schematic logic structure diagram of a terminal scene recognition device according to an embodiment of the present application. The terminal scene recognition device 140 includes a processing unit 1401 and an acquisition unit 1402. The processing unit 1401 is configured to determine that the terminal is in a high-speed rail station. The acquiring unit 1402 is configured to acquire first cell fence information of a high-speed railway; the first cell fence information includes cell information covering a geographic area of the high-speed rail line. The processing unit 1401 is further configured to enter a high-speed rail scenario if the terminal leaves the high-speed rail station and a serving cell in which the terminal currently resides matches the first cell fence information.
In some embodiments, the processing unit 1401 is further configured to obtain second cell fence information of the high-speed rail station; the second cell fence information includes cell information covering a geographic area of the high-speed rail station; and if the service cell where the terminal currently resides is matched with the second cell fence information, determining that the terminal is in the high-speed rail station.
In some embodiments, the processing unit 1401 is configured to determine the serving cell in which the terminal is currently camping according to system information of the cell.
In some embodiments, the processing unit 1401 is further configured to: and if a plurality of target cells matched with the service cell where the terminal currently resides exist in the first cell fence information within a preset time, determining that the service cell where the terminal currently resides is matched with the first cell fence information.
In some embodiments, before the acquiring the first cell fence information of the high-speed rail, the processing unit 1401 is further configured to: the terminal enters a high-speed rail station scene; under the high-speed rail station scene, an application program running on the terminal executes a first cache operation; and when the first caching operation is executed, the caching amount of the application program cache is larger than the caching amount of the application program cache before the application program enters the high-speed rail station scene.
In some embodiments, in the high-speed railway scenario, the application running on the terminal performs a second cache operation; and the buffer memory amount of the application program buffer memory when the second buffer memory operation is executed is larger than the buffer memory amount of the application program buffer memory when the first buffer memory operation is executed.
In some embodiments, the processing unit 1401 is further configured to exit the high-speed rail station scenario if the terminal leaves the high-speed rail station and the serving cell in which the terminal currently resides does not match the first cell fence information.
In some embodiments, the processing unit 1401 is further configured to enter a high-speed rail scenario if the terminal leaves the high-speed rail station, the motion state of the terminal enters a high-speed rail riding state, and the serving cell in which the terminal currently resides matches the first cell fence information.
In some embodiments, the processing unit 1401 is further configured to exit the high-speed rail scenario if the motion state of the terminal exits the high-speed rail state and the serving cell in which the terminal currently resides does not match any cell information in the first cell fence information.
In some embodiments, the acquiring unit 1402 is further configured to: acquiring the first community fence information from a cloud server; or, the first cell fence information stored in advance is acquired from the local.
In some embodiments, the obtaining unit 1402 is further configured to obtain, from a cloud server, the first cell fence information of all high-speed rails of the high-speed rail station where the terminal is currently located.
In some embodiments, the apparatus further comprises a sending unit 1403 that, prior to determining that the terminal is at a high-speed rail station: the obtaining unit 1402 is further configured to obtain a geographic location of the terminal, where the geographic location of the terminal is a geographic location of the high-speed rail; the processing unit 1401 is further configured to monitor the serving cell in which the terminal currently resides; the processing unit 1401 is further configured to associate the geographic location of the terminal with the serving cell in which the terminal currently resides; the sending unit 1403 is further configured to send the geographic location of the associated terminal and the serving cell in which the terminal currently resides to a cloud server, so that the cloud server generates the cell fence information of the high-speed rail.
In some embodiments, before acquiring the second cell fence information of the high-speed rail station, the acquiring unit 1402 is further configured to acquire geographical area information in which the terminal is currently located; the obtaining unit 1402 is further configured to obtain the second cell fence information of the geographical area information in which the terminal is currently located if the geographical area information in which the terminal is currently located changes. In some embodiments, when the current geographical area information of the terminal is different from the previous geographical area information of the terminal, the current geographical area information of the terminal is changed. In some embodiments, when the information of the geographical area where the terminal is currently located is acquired for the first time, the information of the geographical area where the terminal is currently located is changed.
In some embodiments, the processing unit 1401 is further configured to continue to monitor the serving cell in which the terminal is currently camping if the serving cell in which the terminal is currently camping does not match the second cell fence information.
The terminal scene recognition device described in the embodiment of the present application may be used to implement the operations performed by the terminal in the terminal scene recognition method described above.
According to the method and the device, when the terminal is in the high-speed rail station scene, the district fence information of the high-speed rail line is obtained, if the terminal leaves the high-speed rail station, whether the service district where the terminal currently resides is matched with the district fence information of the high-speed rail line is judged, if so, the terminal is controlled to enter the high-speed rail line scene, wherein the district fence information of the high-speed rail line comprises the district information of the geographic area covering the high-speed rail line, and therefore the high-speed rail line scene where the terminal is located can be accurately identified without depending on a high-speed rail private network district deployed by an operator.
From the above description of the embodiments, it will be apparent to those skilled in the art that the present application may be implemented by means of software plus necessary general purpose hardware, or of course may be implemented by dedicated hardware including application specific integrated circuits, dedicated CPUs, dedicated memories, dedicated components and the like. Generally, functions performed by computer programs can be easily implemented by corresponding hardware, and specific hardware structures for implementing the same functions can be varied, such as analog circuits, digital circuits, or dedicated circuits. However, a software program implementation is a preferred embodiment in many cases for the present application. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a readable storage medium, such as a floppy disk, a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk or an optical disk of a computer, etc., including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the method described in the embodiments of the present application.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy Disk, a hard Disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
Finally, it should be noted that the above embodiments are merely for illustrating the technical solution of the present application and not for limiting, and although the present application has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that the technical solution of the present application may be modified or substituted without departing from the spirit and scope of the technical solution of the present application.

Claims (31)

1. A terminal scene recognition method, the method comprising:
the terminal determines that the terminal is at a high-speed rail station;
the terminal acquires first district fence information of a high-speed rail; the first cell fence information includes cell information covering a geographic area of the high-speed rail;
and if the terminal leaves the high-speed rail station and the service cell in which the terminal currently resides is matched with the first cell fence information, the terminal enters a high-speed rail scene.
2. The method of claim 1, wherein the terminal determining to be at a high-speed rail station comprises:
the terminal acquires second district fence information of the high-speed rail station; the second cell fence information includes cell information covering a geographic area of the high-speed rail station;
and if the service cell where the terminal currently resides is matched with the second cell fence information, the terminal determines that the terminal is positioned at the high-speed rail station.
3. The method according to any one of claims 1 to 2, wherein: the terminal determines the currently resident service cell according to the system information of the cell.
4. A method according to any of claims 1 to 3, wherein the matching of the serving cell in which the terminal is currently camping with the first cell fence information comprises:
if a preset number of target cells matched with the service cell where the terminal currently resides exist in the first cell fence information within a preset time, the terminal determines that the service cell where the terminal currently resides is matched with the first cell fence information.
5. The method according to any one of claims 1 to 4, wherein before the terminal obtains the first cell fence information of the high-speed rail, the method further comprises:
the terminal enters a high-speed rail station scene; under the high-speed rail station scene, an application program running on the terminal executes a first cache operation; and when the first caching operation is executed, the caching amount of the application program cache is larger than the caching amount of the application program cache before the application program enters the high-speed rail station scene.
6. The method of claim 5, wherein:
executing a second cache operation by the application program running on the terminal in the high-speed railway scene; and the buffer memory amount of the application program buffer memory when the second buffer memory operation is executed is larger than the buffer memory amount of the application program buffer memory when the first buffer memory operation is executed.
7. The method of claim 5, wherein the method further comprises:
and if the terminal leaves the high-speed rail station and the service cell where the terminal currently resides is not matched with the first cell fence information, the terminal exits the high-speed rail station scene.
8. The method of any of claims 1-7, wherein the if the terminal leaves the high-speed rail station and the serving cell in which the terminal is currently camping matches the first cell fence information comprises:
and if the terminal leaves the high-speed rail station, the motion state of the terminal enters a high-speed rail riding state, and the service cell where the terminal currently resides is matched with the first cell fence information.
9. The method of claim 8, wherein the method further comprises:
And if the motion state of the terminal exits the high-speed railway riding state and the service cell where the terminal currently resides is not matched with any cell information in the first cell fence information, the terminal exits the high-speed railway scene.
10. The method of any of claims 1 to 9, wherein the terminal obtaining first cell fence information for a high-speed rail comprises:
the terminal acquires the first community fence information from a cloud server;
or the terminal obtains the pre-stored first cell fence information from the local.
11. The method of any of claims 1 to 9, wherein the terminal obtaining first cell fence information for a high-speed rail comprises:
and the terminal acquires the first community fence information of all the high-speed rail lines of the high-speed rail station where the terminal is currently located from a cloud server.
12. The method of any of claims 1 to 11, wherein before the terminal determines that it is at a high-speed rail station, the method further comprises:
the terminal acquires the geographic position of the terminal, wherein the geographic position of the terminal is the geographic position of the high-speed railway line;
The terminal monitors the service cell where the terminal currently resides;
the terminal associates the geographic position of the terminal with the service cell in which the terminal currently resides;
the terminal sends the geographic position of the terminal and the service cell where the terminal currently resides to a cloud server so that the cloud server can generate the cell fence information of the high-speed railway line.
13. The method of any of claims 2 to 12, wherein prior to the terminal acquiring the second cell fence information for the high-speed rail station, the method further comprises:
the terminal acquires the information of the geographical area where the terminal is currently located;
the terminal obtaining the second district fence information of the high-speed rail station comprises the following steps:
and if the information of the geographical area where the terminal is currently located is changed, the terminal acquires the second cell fence information of the geographical area where the terminal is currently located.
14. The method of any one of claims 2 to 13, wherein the method further comprises:
if the service cell where the terminal currently resides is not matched with the second cell fence information, continuing to monitor the service cell where the terminal currently resides.
15. A terminal scene recognition device, characterized in that the device comprises a processing unit and an acquisition unit:
the processing unit is used for determining that the terminal is positioned at a high-speed rail station;
the acquisition unit is used for acquiring first district fence information of the high-speed railway; the first cell fence information includes cell information covering a geographic area of the high-speed rail;
the processing unit is further configured to enter a high-speed rail scene if the terminal leaves the high-speed rail station and a serving cell in which the terminal currently resides is matched with the first cell fence information.
16. The apparatus of claim 15, wherein the processing unit is further to:
acquiring second district fence information of the high-speed rail station; the second cell fence information includes cell information covering a geographic area of the high-speed rail station;
and if the service cell where the terminal currently resides is matched with the second cell fence information, determining that the terminal is in the high-speed rail station.
17. The apparatus according to any one of claims 15 to 16, wherein: the processing unit is used for determining the service cell where the terminal currently resides according to the system information of the cell.
18. The apparatus of any one of claims 15 to 17, wherein the processing unit is further configured to:
and if a plurality of target cells matched with the service cell where the terminal currently resides exist in the first cell fence information within a preset time, determining that the service cell where the terminal currently resides is matched with the first cell fence information.
19. The apparatus of any of claims 15 to 18, wherein prior to the acquiring the first cell fence information for the high-speed rail, the processing unit is further configured to:
the terminal enters a high-speed rail station scene; under the high-speed rail station scene, an application program running on the terminal executes a first cache operation; and when the first caching operation is executed, the caching amount of the application program cache is larger than the caching amount of the application program cache before the application program enters the high-speed rail station scene.
20. The apparatus as claimed in claim 19, wherein:
executing a second cache operation by the application program running on the terminal in the high-speed railway scene; and the buffer memory amount of the application program buffer memory when the second buffer memory operation is executed is larger than the buffer memory amount of the application program buffer memory when the first buffer memory operation is executed.
21. The apparatus of claim 19, wherein the processing unit is further to:
and if the terminal leaves the high-speed rail station and the service cell where the terminal currently resides is not matched with the first cell fence information, the terminal exits the high-speed rail station scene.
22. The apparatus of any one of claims 15 to 21, wherein the processing unit is further configured to:
if the terminal leaves the high-speed rail station, the motion state of the terminal enters a high-speed rail riding state, and the service cell where the terminal currently resides is matched with the first cell fence information, the terminal enters a high-speed rail scene.
23. The apparatus of claim 22, wherein the processing unit is further to:
and if the motion state of the terminal exits the high-speed railway riding state and the service cell where the terminal currently resides is not matched with any cell information in the first cell fence information, the terminal exits the high-speed railway scene.
24. The apparatus of any one of claims 15 to 23, wherein the acquisition unit is further configured to:
Acquiring the first community fence information from a cloud server;
or, the first cell fence information stored in advance is acquired from the local.
25. The apparatus of any one of claims 15 to 23, wherein the acquisition unit is further configured to:
and acquiring the first community fence information of all the high-speed rail lines of the high-speed rail station where the terminal is currently located from a cloud server.
26. The apparatus according to any one of claims 15 to 25, wherein the apparatus further comprises a transmitting unit that, prior to determining that the terminal is at a high-speed rail station:
the acquisition unit is further used for acquiring the geographic position of the terminal, wherein the geographic position of the terminal is the geographic position of the high-speed railway line;
the processing unit is further configured to monitor the serving cell in which the terminal currently resides;
the processing unit is further configured to associate the geographic location of the terminal with the serving cell in which the terminal currently resides;
the sending unit is further configured to send the geographic location of the terminal and the serving cell where the terminal currently resides to a cloud server, so that the cloud server generates the cell fence information of the high-speed rail.
27. The apparatus of any one of claim 16 to 26,
the obtaining unit is further configured to, before obtaining the second cell fence information of the high-speed rail station:
acquiring the information of the geographical area where the terminal is currently located;
the acquisition unit is further configured to:
and if the information of the geographical area where the terminal is currently located is changed, acquiring the second cell fence information of the geographical area where the terminal is currently located.
28. The apparatus of any one of claims 16 to 27, wherein the processing unit is further configured to:
if the service cell where the terminal currently resides is not matched with the second cell fence information, continuing to monitor the service cell where the terminal currently resides.
29. A terminal, characterized in that the terminal comprises a processor and a memory for storing program instructions, the processor implementing the terminal scene recognition method according to any of claims 1 to 14 when invoking the program instructions.
30. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a program that causes a computer device to implement the terminal scene recognition method according to any one of claims 1 to 14.
31. A computer program product, the computer program product comprising computer-executable instructions stored on a computer-readable storage medium; at least one processor of a terminal may read the computer-executable instructions from the computer-readable storage medium, the at least one processor executing the computer-executable instructions causing the terminal to perform the terminal scene recognition method according to any one of claims 1 to 14.
CN202210779011.9A 2022-06-30 2022-06-30 Terminal scene recognition method, device, terminal, storage medium and program product Pending CN117376825A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210779011.9A CN117376825A (en) 2022-06-30 2022-06-30 Terminal scene recognition method, device, terminal, storage medium and program product
PCT/CN2023/101716 WO2024001906A1 (en) 2022-06-30 2023-06-21 Terminal scene identifying method and device, terminal, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210779011.9A CN117376825A (en) 2022-06-30 2022-06-30 Terminal scene recognition method, device, terminal, storage medium and program product

Publications (1)

Publication Number Publication Date
CN117376825A true CN117376825A (en) 2024-01-09

Family

ID=89383246

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210779011.9A Pending CN117376825A (en) 2022-06-30 2022-06-30 Terminal scene recognition method, device, terminal, storage medium and program product

Country Status (2)

Country Link
CN (1) CN117376825A (en)
WO (1) WO2024001906A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106817678B (en) * 2015-12-01 2020-01-24 ***通信集团上海有限公司 Method and device for processing terminal residing in high-speed rail private network
CN107567046B (en) * 2017-08-25 2021-03-12 维沃移动通信有限公司 Cell access method and mobile terminal
WO2020077517A1 (en) * 2018-10-16 2020-04-23 华为技术有限公司 Cell switching method and device under high-speed mobile context
CN112888045B (en) * 2019-11-30 2022-11-25 华为技术有限公司 Cell measurement method, cell measurement device, terminal equipment, chip and storage medium
CN112995409B (en) * 2019-12-02 2022-03-11 荣耀终端有限公司 Display method of intelligent communication strategy effective scene, mobile terminal and computer readable storage medium

Also Published As

Publication number Publication date
WO2024001906A1 (en) 2024-01-04

Similar Documents

Publication Publication Date Title
EP3923634B1 (en) Method for identifying specific position on specific route and electronic device
CN113794801B (en) Method and device for processing geo-fence
CN111182145A (en) Display method and related product
CN112995409B (en) Display method of intelligent communication strategy effective scene, mobile terminal and computer readable storage medium
CN114339674B (en) Target service execution method and electronic equipment
CN112335294B (en) Emergency call method and user terminal
WO2023071940A1 (en) Cross-device method and apparatus for synchronizing navigation task, and device and storage medium
CN114500728B (en) Incoming call bell setting method, incoming call prompting method and electronic equipment
WO2024001906A1 (en) Terminal scene identifying method and device, terminal, storage medium and program product
CN117348894A (en) Software upgrading method, terminal equipment and system
CN116561085A (en) Picture sharing method and electronic equipment
CN116806013A (en) Message transmission method and corresponding terminal
CN114079855A (en) Low-power-consumption positioning method and related device
WO2020062308A1 (en) Location information processing method and related device
CN113950045A (en) Subscription data downloading method and electronic equipment
WO2024093857A1 (en) Positioning method and related apparatus
CN116700556B (en) Card generation method and related device
CN116437293B (en) Geofence establishment method, server and communication system
CN116048236B (en) Communication method and related device
CN116709220B (en) Network connection method, network connection device, electronic equipment and computer readable storage medium
WO2023116669A1 (en) Video generation system and method, and related apparatus
CN115225298B (en) Prompting method, related device and system
CN113790733B (en) Navigation method and device
CN116049574B (en) Information recommendation method, electronic equipment and storage medium
WO2023109636A1 (en) Application card display method and apparatus, terminal device, and readable storage medium

Legal Events

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