High-precision tourist hotel geographic information providing method
Technical Field
The invention relates to the technical field of tourism, in particular to a high-precision tourist hotel geographic information providing method and system.
Background
Travel refers to the movement and stay behaviors of people among different cities, in recent years, with the continuous increase of global economy, the travel industry is developed greatly, and the travel gradually becomes a common recreational life style for people. In recent years, online travel has been rapidly developed under the condition of rapid development of information technology. In particular, personalized travel customization is becoming a mainstream, and the demand of passengers for personalization and intellectualization of outbound journey planning is becoming stronger and stronger.
The prior art CN107301480B relates to a travel itinerary recommendation method, system, readable storage medium and computer device, the method includes: the method comprises the steps of obtaining travel customization information of a user, wherein the travel customization information comprises travel frame information and travel service demand information; and acquiring an element point real-time data set and a hotel catering service data set matched with the travel element points, calculating to obtain a lowest-cost route scheme according to the travel frame information and the element point real-time data set by adopting a preset TIP travel optimization model during actual optimization calculation, and calculating to obtain an optimal hotel catering service scheme according to the travel service demand information and the hotel catering service data set. Although the prior art focuses on and solves the problems in travel planning and planning, the prior art does not provide a mobile terminal user with hotel information of high accuracy.
Prior art CN104239986B discloses a method and a device for providing travel related information, wherein the method comprises: acquiring operation information executed by a user on a travel related business object, wherein the operation information comprises browsing operation information and/or booking operation information, and the operation information is divided into at least one data set according to operation types and/or operation time; respectively extracting travel destination information corresponding to each operation from each piece of operation information, and respectively counting the operation times of each travel destination in each data set; calculating scores of the travel destinations respectively, wherein for a certain travel destination, the score is calculated according to the times of the travel destination being operated in each data set and the weight of each data set; the user is provided with information related to a particular travel destination based on the score for each travel destination. This prior art method is essentially a method of recommending a travel destination to a user according to user preferences, and although this method can recommend travel destination information to a user, this method cannot provide hotel geographical information to a user upon a request of the user.
The information disclosed in this background section is only for enhancement of understanding of the general background of the invention and should not be taken as an acknowledgement or any form of suggestion that this information forms the prior art already known to a person skilled in the art.
Disclosure of Invention
The invention aims to provide a high-precision tourist hotel geographic information providing method and system, so that the defects of the prior art are overcome.
The invention provides a high-precision tourist hotel geographic information providing method, which comprises the following steps: storing the geographic information of the tourist hotel in a geographic information providing service center server of the tourist hotel; generating a geographic information request message of the tourist hotel by the mobile terminal; the mobile terminal sends the geographic information request message of the tourist hotel to the geographic information providing service center server of the tourist hotel; judging whether the current reception of the geographic information request message of the tourist hotel is congested or not by the geographic information providing service center server of the tourist hotel based on the number of the received geographic information request messages of the tourist hotel; if the congestion is judged to occur, starting to receive the tourist hotel geographic information request message on a second frequency band by the tourist hotel geographic information providing service center server, wherein the second frequency band is different from the first frequency band, and the tourist hotel geographic information providing service center server operates on the first frequency band currently; transmitting, by a travel hotel geographic information providing service center server, a band switching indication message to one or more terminals selected at random among a plurality of mobile terminals; after receiving the band switch indication message, transmitting, by the one or more terminals selected at random, a travel hotel geographic information request message to the travel hotel geographic information provision service center server on the second frequency band; respectively judging whether congestion occurs to the reception of the geographic information request message of the tourist hotel on a first frequency band and a second frequency band by the geographic information providing service center server of the tourist hotel based on the number of the received geographic information request messages of the tourist hotel; and providing, by the travel hotel geographic information provision service center server, travel hotel geographic information to the mobile terminal if there is no congestion currently occurring with respect to the reception of the travel hotel geographic information request message on the first frequency band and on the second frequency band.
Preferably, in the above technical solution, the determining, by the travel hotel geographic information providing service center server, whether congestion occurs in the reception of the travel hotel geographic information request message currently based on the number of the received travel hotel geographic information request messages is performed based on the following formula:
wherein, a is the number of tourist hotel geographic information request messages received per second on the average in the operating frequency band at present, and b is the maximum number of tourist hotel geographic information request messages capable of being received per second in the operating frequency band; when the P is larger than the threshold value, judging that the current reception of the geographic information request message for the tourist hotel is congested; and when the P is smaller than or equal to the threshold value, judging that no congestion occurs in the reception of the geographic information request message of the tourist hotel currently.
Preferably, in the above technical solution, the determining, by the travel hotel geographic information providing service center server, whether congestion occurs in the current reception of the travel hotel geographic information request message on the first frequency band based on the number of the received travel hotel geographic information request messages is performed based on the following formula:
wherein, a1Is the number of tourist hotel geographic information request messages currently received on average per second over a first frequency band, b1Is the maximum number of travel hotel geographic information request messages that can be received per second on the first frequency band; when P is present1If the value is larger than the first threshold value, judging that the current reception of the geographic information request message of the tourist hotel is congested on the first frequency band; when P is present1And when the value is smaller than or equal to a first threshold value, judging that no congestion exists in the first frequency band aiming at the reception of the geographic information request message of the tourist hotel.
Preferably, in the above technical solution, the determining, by the travel hotel geographic information providing service center server, whether congestion occurs in the current reception of the travel hotel geographic information request message on the second frequency band based on the number of the received travel hotel geographic information request messages is performed based on the following formula:
wherein, a2Is the number of tourist hotel geographic information request messages currently received on average per second over the second frequency band, b2Is the maximum number of tourist hotel geographic information request messages that can be received per second on the second frequency band; when P is present2If the number of the received geographic information request messages is larger than a second threshold value, judging that the current reception of the geographic information request messages of the tourist hotels is congested on a second frequency band; when P is present2And when the frequency is less than or equal to the second threshold value, judging that no congestion exists in the second frequency band aiming at the reception of the geographic information request message of the tourist hotel currently.
Preferably, in the above technical solution, the second threshold is smaller than the first threshold, and the first threshold is smaller than the threshold.
The invention also provides a high-precision tourist hotel geographic information providing system, which comprises: a unit for storing the geographic information of the travel hotel in a geographic information providing service center server of the travel hotel; means for generating, by a mobile terminal, a travel hotel geographic information request message; a unit for sending the tourist hotel geographic information request message to the tourist hotel geographic information providing service center server by the mobile terminal; a unit for judging whether congestion occurs to the reception of the travel hotel geographic information request message currently by the travel hotel geographic information providing service center server based on the number of the received travel hotel geographic information request messages; means for initiating, by the travel hotel geographic information provision service center server, reception of the travel hotel geographic information request message on a second frequency band if congestion is determined to occur, wherein the second frequency band is different from the first frequency band, and wherein the travel hotel geographic information provision service center server is currently operating on the first frequency band; means for transmitting, by the travel hotel geographic information providing service center server, a band switch indication message to one or more terminals of the plurality of mobile terminals that are randomly selected; means for transmitting, by the one or more terminals selected at random, a travel hotel geographic information request message to the travel hotel geographic information providing service center server on the second frequency band after receiving the frequency band switch indication message; a unit for judging whether congestion occurs to the reception of the travel hotel geographic information request message currently on a first frequency band and a second frequency band respectively by the travel hotel geographic information providing service center server based on the number of the received travel hotel geographic information request messages; and means for providing, by the travel hotel geographic information provision service center server, the travel hotel geographic information to the mobile terminal if there is no congestion currently occurring with respect to receipt of the travel hotel geographic information request message on the first frequency band and the second frequency band.
Preferably, in the above technical solution, the determining, by the travel hotel geographic information providing service center server, whether congestion occurs in the reception of the travel hotel geographic information request message currently based on the number of the received travel hotel geographic information request messages is performed based on the following formula:
wherein, a is the number of tourist hotel geographic information request messages received per second on the average in the operating frequency band at present, and b is the maximum number of tourist hotel geographic information request messages capable of being received per second in the operating frequency band; when the P is larger than the threshold value, judging that the current reception of the geographic information request message for the tourist hotel is congested; and when the P is smaller than or equal to the threshold value, judging that no congestion occurs in the reception of the geographic information request message of the tourist hotel currently.
Preferably, in the above technical solution, the determining, by the travel hotel geographic information providing service center server, whether congestion occurs in the current reception of the travel hotel geographic information request message on the first frequency band based on the number of the received travel hotel geographic information request messages is performed based on the following formula:
wherein, a1Is the number of tourist hotel geographic information request messages currently received on average per second over a first frequency band, b1Is the maximum number of travel hotel geographic information request messages that can be received per second on the first frequency band; when P is present1If the value is larger than the first threshold value, judging that the current reception of the geographic information request message of the tourist hotel is congested on the first frequency band; when P is present1And when the value is smaller than or equal to a first threshold value, judging that no congestion exists in the first frequency band aiming at the reception of the geographic information request message of the tourist hotel.
Preferably, in the above technical solution, the determining, by the travel hotel geographic information providing service center server, whether congestion occurs in the current reception of the travel hotel geographic information request message on the second frequency band based on the number of the received travel hotel geographic information request messages is performed based on the following formula:
wherein, a2Is the number of tourist hotel geographic information request messages currently received on average per second over the second frequency band, b2Is the maximum number of tourist hotel geographic information request messages that can be received per second on the second frequency band; when P is present2If the number of the received geographic information request messages is larger than a second threshold value, judging that the current reception of the geographic information request messages of the tourist hotels is congested on a second frequency band; when P is present2And when the frequency is less than or equal to the second threshold value, judging that no congestion exists in the second frequency band aiming at the reception of the geographic information request message of the tourist hotel currently.
Preferably, in the above technical solution, the second threshold is smaller than the first threshold, and the first threshold is smaller than the threshold.
Compared with the prior art, the invention has the following beneficial effects: aiming at the defects of the prior art, the application designs a high-precision tourist hotel geographic information providing method. Although the navigation APP can be used for searching hotel positions at present, it is noted that the navigation system can only provide accurate positions for some large hotels, and cannot provide accurate positions for some small hotels and residents, so that a low-cost positioning solution needs to be provided for the small hotels and the residents. The method of the invention can self-adaptively adjust the operating frequency band so as to receive the request of the mobile terminal to the maximum extent and reduce the waiting time of the request message of the user in the busy season of travel. It should be noted that if the user is driving at high speed, the increased waiting time will have some serious consequences (missing an exit at high speed may result in the need to detour for tens of kilometres, taking several hours). Therefore, the method greatly improves the position providing precision by reducing the delay time, and obtains good technical effect.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flow chart of a high-precision travel hotel geographic information providing method according to the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example 1
Fig. 1 is a flow chart of a high-precision travel hotel geographic information providing method according to the invention. As shown in the figure, the high-precision tourist hotel geographic information providing method comprises the following steps:
step 101: storing the geographic information of the tourist hotel in a geographic information providing service center server of the tourist hotel;
step 102: generating a geographic information request message of the tourist hotel by the mobile terminal;
step 103: the mobile terminal sends the geographic information request message of the tourist hotel to the geographic information providing service center server of the tourist hotel;
step 104: judging whether the current reception of the geographic information request message of the tourist hotel is congested or not by the geographic information providing service center server of the tourist hotel based on the number of the received geographic information request messages of the tourist hotel;
step 105: if the congestion is judged to occur, starting to receive the tourist hotel geographic information request message on a second frequency band by the tourist hotel geographic information providing service center server, wherein the second frequency band is different from the first frequency band, and the tourist hotel geographic information providing service center server operates on the first frequency band currently;
step 106: transmitting, by a travel hotel geographic information providing service center server, a band switching indication message to one or more terminals selected at random among a plurality of mobile terminals;
step 107: after receiving the band switch indication message, transmitting, by the one or more terminals selected at random, a travel hotel geographic information request message to the travel hotel geographic information provision service center server on the second frequency band;
step 108: respectively judging whether congestion occurs to the reception of the geographic information request message of the tourist hotel on a first frequency band and a second frequency band by the geographic information providing service center server of the tourist hotel based on the number of the received geographic information request messages of the tourist hotel; and
step 109: and if the current reception aiming at the tourist hotel geographic information request message is not congested on the first frequency band and the second frequency band, providing the tourist hotel geographic information to the mobile terminal by the tourist hotel geographic information providing service center server.
Example 2
Preferably, in the above technical solution, the determining, by the travel hotel geographic information providing service center server, whether congestion occurs in the reception of the travel hotel geographic information request message currently based on the number of the received travel hotel geographic information request messages is performed based on the following formula:
wherein, a is the number of tourist hotel geographic information request messages received per second on the average in the operating frequency band at present, and b is the maximum number of tourist hotel geographic information request messages capable of being received per second in the operating frequency band; when the P is larger than the threshold value, judging that the current reception of the geographic information request message for the tourist hotel is congested; and when the P is smaller than or equal to the threshold value, judging that no congestion occurs in the reception of the geographic information request message of the tourist hotel currently.
Example 3
Preferably, in the above technical solution, the determining, by the travel hotel geographic information providing service center server, whether congestion occurs in the current reception of the travel hotel geographic information request message on the first frequency band based on the number of the received travel hotel geographic information request messages is performed based on the following formula:
wherein, a1Is the number of tourist hotel geographic information request messages currently received on average per second over a first frequency band, b1Is the maximum number of travel hotel geographic information request messages that can be received per second on the first frequency band; when P is present1If the value is larger than the first threshold value, judging that the current reception of the geographic information request message of the tourist hotel is congested on the first frequency band; when P is present1And when the value is smaller than or equal to a first threshold value, judging that no congestion exists in the first frequency band aiming at the reception of the geographic information request message of the tourist hotel.
Example 4
Preferably, in the above technical solution, the determining, by the travel hotel geographic information providing service center server, whether congestion occurs in the current reception of the travel hotel geographic information request message on the second frequency band based on the number of the received travel hotel geographic information request messages is performed based on the following formula:
wherein, a2Is the number of tourist hotel geographic information request messages currently received on average per second over the second frequency band, b2Is the maximum number of tourist hotel geographic information request messages that can be received per second on the second frequency band; when P is present2If the number of the received geographic information request messages is larger than a second threshold value, judging that the current reception of the geographic information request messages of the tourist hotels is congested on a second frequency band; when P is present2And when the frequency is less than or equal to the second threshold value, judging that no congestion exists in the second frequency band aiming at the reception of the geographic information request message of the tourist hotel currently.
Preferably, in the above technical solution, the second threshold is smaller than the first threshold, and the first threshold is smaller than the threshold.
Example 5
The invention provides a high-precision tourist hotel geographic information providing system, which comprises: a unit for storing the geographic information of the travel hotel in a geographic information providing service center server of the travel hotel; means for generating, by a mobile terminal, a travel hotel geographic information request message; a unit for sending the tourist hotel geographic information request message to the tourist hotel geographic information providing service center server by the mobile terminal; a unit for judging whether congestion occurs to the reception of the travel hotel geographic information request message currently by the travel hotel geographic information providing service center server based on the number of the received travel hotel geographic information request messages; means for initiating, by the travel hotel geographic information provision service center server, reception of the travel hotel geographic information request message on a second frequency band if congestion is determined to occur, wherein the second frequency band is different from the first frequency band, and wherein the travel hotel geographic information provision service center server is currently operating on the first frequency band; means for transmitting, by the travel hotel geographic information providing service center server, a band switch indication message to one or more terminals of the plurality of mobile terminals that are randomly selected; means for transmitting, by the one or more terminals selected at random, a travel hotel geographic information request message to the travel hotel geographic information providing service center server on the second frequency band after receiving the frequency band switch indication message; a unit for judging whether congestion occurs to the reception of the travel hotel geographic information request message currently on a first frequency band and a second frequency band respectively by the travel hotel geographic information providing service center server based on the number of the received travel hotel geographic information request messages; and means for providing, by the travel hotel geographic information provision service center server, the travel hotel geographic information to the mobile terminal if there is no congestion currently occurring with respect to receipt of the travel hotel geographic information request message on the first frequency band and the second frequency band.
Preferably, in the above technical solution, the determining, by the travel hotel geographic information providing service center server, whether congestion occurs in the reception of the travel hotel geographic information request message currently based on the number of the received travel hotel geographic information request messages is performed based on the following formula:
wherein, a is the number of tourist hotel geographic information request messages received per second on the average in the operating frequency band at present, and b is the maximum number of tourist hotel geographic information request messages capable of being received per second in the operating frequency band; when the P is larger than the threshold value, judging that the current reception of the geographic information request message for the tourist hotel is congested; and when the P is smaller than or equal to the threshold value, judging that no congestion occurs in the reception of the geographic information request message of the tourist hotel currently.
Preferably, in the above technical solution, the determining, by the travel hotel geographic information providing service center server, whether congestion occurs in the current reception of the travel hotel geographic information request message on the first frequency band based on the number of the received travel hotel geographic information request messages is performed based on the following formula:
wherein, a1Is the number of tourist hotel geographic information request messages currently received on average per second over a first frequency band, b1Is the maximum number of travel hotel geographic information request messages that can be received per second on the first frequency band; when P is present1If the value is larger than the first threshold value, judging that the current reception of the geographic information request message of the tourist hotel is congested on the first frequency band; when P is present1And when the value is smaller than or equal to a first threshold value, judging that no congestion exists in the first frequency band aiming at the reception of the geographic information request message of the tourist hotel.
Preferably, in the above technical solution, the determining, by the travel hotel geographic information providing service center server, whether congestion occurs in the current reception of the travel hotel geographic information request message on the second frequency band based on the number of the received travel hotel geographic information request messages is performed based on the following formula:
wherein, a2Is the number of tourist hotel geographic information request messages currently received on average per second over the second frequency band, b2Is the maximum number of tourist hotel geographic information request messages that can be received per second on the second frequency band; when P is present2If the number of the received geographic information request messages is larger than a second threshold value, judging that the current reception of the geographic information request messages of the tourist hotels is congested on a second frequency band; when P is present2And when the frequency is less than or equal to the second threshold value, judging that no congestion exists in the second frequency band aiming at the reception of the geographic information request message of the tourist hotel currently.
Preferably, in the above technical solution, the second threshold is smaller than the first threshold, and the first threshold is smaller than the threshold.
Those of skill in the art would understand that information and signals may be represented using any of a variety of different technologies and techniques. For example, data, instructions, commands, information, signals, bits (bits), symbols, and chips that may be referenced throughout the above description may be represented by voltages, currents, electromagnetic waves, magnetic fields or particles, optical fields or particles, or any combination thereof.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
The various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein may be implemented or performed with a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary designs, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to carry or store desired program code means in the form of instructions or data structures and which can be accessed by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a web site, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. As used herein, disk and disc (disc) includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk and blu-ray disc where disks (discs) usually reproduce data magnetically, while discs (discs) reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.