Abstract
Tourism flow is the foundation of tourism development, and studying tourist flows is one of the most important aspects of tourism research. This paper examines tourist flows among A-level scenic spots in Beijing, focusing on local and non-local tourists, utilizing mobile phone data received from Unicom. The research comprises tourist flow distribution characteristics, centrality analysis, community detection, and analysis of affecting factors. The key findings of the study are that tourist distribution is unequal between scenic spots, with non-local tourists having a more concentrated distribution than local tourists. The impact of transport and scenic spot category and level are assessed and tourism links between scenic spots frequented by local tourists and non-local tourists are shown to require different tourism management approaches.
Introduction
World Travel & Tourism Council (2020) reported that the travel and tourism industry is estimated to have contributed 10.3% of global GDP in 2019 and created 330 million job opportunities. Local tourism development has received significant academic attention, with studies in the fields of international tourist flow (Mansfeld, 1990; Shao et al., 2020), tourist behaviors (Loi and Pearce, 2015; Vu et al., 2015), tourist destination loyalty (Tiru et al., 2010), tourist destination identification (Raun et al., 2016), seasonal changes to tourism (Ahas et al., 2007), prediction of tourist movements (Xu et al., 2022), and patterns of tourist attraction systems (Kang et al., 2018; Mou et al., 2020b). Some scholars have emphasized the importance of understanding tourist destinations and movement through time and space (Lew and McKercher, 2006), particularly in the new paradigm of big data, utilizing people’s actual usage and consumption patterns to assist policy implementation on local land use, infrastructure, and transportation planning (Miah et al., 2017). For example, Charles Chancellor (2012) used GPS-track data to extract the flow and patterns of visitor mobility for destination development in North Carolina, in the United States. To explore travelers’ experiences, feelings, interests, and opinions, Marine-Roig and Anton Clavé (2015) and Xiang et al. (2015) retrieved massive volumes of information from travel blogs and online travel reviews. However, for a large geographic region, the mobile phone approach seems to be more desirable for tracking visitors’ mobility in spatial, temporal, compositional, social, and dynamic dimensions at multiscale (Ahas et al., 2007, 2008; Raun et al., 2016; Shoval and Ahas, 2016). Some scholars have recently employed network theory and metrics to further understand the wholeness and complexness of tourist movement and behavior (Liu et al., 2017; Mou et al., 2020a; Xu et al., 2021; Zeng, 2018).
Despite the growing number of studies on inbound tourist flows, little research attention has been given to the differences between flows of local tourists, who work and lives in the city, and non-local tourist, who come and visit from other cities of the country. In general, most tourist attractions do not exist in isolation; they may be fully or partially embedded in local urban systems and linked with urban life, allowing both local and non-local people to benefit from the various advantages of local tourist attractions. The travel purpose and preferences of specific groups of people may, however, be linked to different travel behaviors (Hickman et al., 2015). Numerous previous studies have identified distinct travel behaviors among local and non-local tourists. For instance, these studies have highlighted variations in visitor preferences for nature tourism facilities (Lindberg and Veisten, 2012), disparities in pre-, during, and post-visit outcomes at heritage sites (Gannon et al., 2022), as well as differences in motivation, satisfaction, and loyalty towards cinema events (Báez-Montenegro and Devesa-Fernández, 2017). Thus, it is intuitive that we should differentiate between these two types of individuals (local and non-local) in the local tourism sector. In this vein, this study aims to understand these interactions by evaluating and comparing local and non-local tourism flows in Beijing, the capital of China, in order to improve and enhance tourism management. Beijing is not only a political center but also a city renowned for its rich historical and cultural heritage. It is often referred to as a national garden city and a historical and cultural city. The city boasts 216 Class A scenic spots, which represent a high level of quality in terms of scenic attractions in China. Annually, Beijing attracts over 322 million tourists, both domestic and international (data from 2019). However, being a densely populated global city, Beijing faces challenges related to limited land resources, which in turn affect the availability of supporting facilities for the tourist population. Analyzing the attractions in Beijing can provide valuable insights and lessons for the allocation of attractions and supporting facilities in other global cities. Our study incorporates mobile phone data from Unicom, China, and follows the approach of Ahas et al. (2007, 2008) and Raun et al. (2016), employing several network analysis methods to investigate tourist movements and the key differences across two groups of domestic visitors.
Literature review
Tourism is commonly recognized as a complex system that includes travelers, geographic components such as tourist-generating regions, transit routes, destination regions, and a tourism industry (Leiper, 1979). Understanding tourist destinations and mobility is crucial for transportation planning and tourism management, and it has emerged as one of the profession’s most pressing challenges (Grinberger and Shoval, 2018). Traditional research on tourist destinations and mobility relies mainly on questionnaires, activity diaries, and accommodation records (Leung et al., 2012; Liu et al., 2017; Xing-zhu and Qun, 2014). Recently, it has been observed that big data is causing paradigm shifts since the massive volume of geotagged data from internet and social media can more accurately reflect the respondents’ precise location and time of activity (Girardin et al., 2008; Kitchin, 2014).
According to Li et al. (2018), there are at least three primary types of big data used in tourism research: UGC data (user-generated content), operation data (created by operations), and device data (generated by devices), with current studies focusing primarily on UGC data and device data. Some researchers have specifically used social media data such as Twitter, Flickr, and Instagram to identify tourist spatial-temporal geographic information (Chua et al., 2016; Zhou et al., 2015), to investigate tourist behavior (Vu et al., 2015), and to uncover behavioral distinctions between tourists and locals (García-Palomares et al., 2015; Vu et al., 2015). However, such information is often limited and spatially and temporally skewed (Lo et al., 2011). GPS data, as the most common device data, is frequently used to study tourist behavior (McKercher et al., 2012; Xiao-Ting and Bi-Hu, 2012) and travel suggestions (Zheng et al., 2017). However, GPS data is expensive and time-consuming to gather (Raun et al., 2016), making it less favorable to apply over a large geographic region (East et al., 2017).
In contrast, mobile phone data can cover a broader area and contain more valuable demographic information—for example, where tourists are coming from—than other types of big data (Ahas et al., 2007). A rising number of academics are using mobile phone data to identify tourist locations and assess tourists’ spatiotemporal behaviors, such as tourism’s seasonality (Ahas et al., 2007), destination loyalty (Tiru et al., 2010), repeat visits (Kuusik et al., 2011), tourist flows (Raun et al., 2016). Mobile phone data usability has been successfully tested, and the area of mobile phone data research is rapidly expanding, while also beginning to take into account changes in timescales. Some researchers utilized algorithms to identify 18,000 long-distance excursions taken by 69,000 mobile phone users in France, and examined tourism flows in 32 locations around the country (Vanhoof et al., 2017). To explore changing patterns of tourist flows in scenic spots at different timescales, Qin et al. (2019) used mobile phone bill data to construct a tourist departure–destination matrix of prominent scenic spots in Beijing.
Many scholars have stated that tourist flows between destinations and attractions generate complex, dynamic networks with a variety of opportunities and constraints. Because tourism functions are nonlinear and dynamic, a better understanding of the structure of the complex networks of intourist flows is encouraged (Casanueva et al., 2014). Several researchers examined the destination’s information distribution process using the example of Elba, Italy, and found that cohesiveness and adaptability of stakeholders has a positive impact (Baggio et al., 2010). Complex network analysis provides an important perspective and research tool for tourism flows (Casanueva et al., 2014). To define and measure tourism flows, a variety of network analysis metrics are utilized, including centrality (Zeng, 2018), structural holes (Shih, 2006), network density (Hwang et al., 2006), and clustering coefficients (Mou et al., 2020a). Some researchers used network analysis to investigate attraction networks in Xinjiang and found that regional proximity between the destination’s major attractions is positively correlated with existence of attraction networks, while rank proximity is negatively correlated with attraction networks, implying that attractions of the same rank are primarily competing for tourists (Liu et al., 2017). Distance decay and popularity was shown to affect tourist flows in Qingdao, according to several researchers who integrated classic quantitative and social network analysis (Mou et al., 2020b). Provenzano and Baggio (2019) used the HVG algorithm (horizontal visibility graph) to divide domestic and international tourist networks in Sicily and found that foreign tourist networks were more random and unstable. Others used the community detection algorithm to divide Korean tourist networks into seven groups and investigated differences in destination network structure among tourists from various countries (Xu et al., 2021).
Given that the local tourism market is not homogenous (McKercher et al., 2012; Xu et al., 2021), several studies endeavored to further explore the spatiotemporal behaviors of different sub-groups of tourists in tourist destinations, including different nationalities of origin (Xu et al., 2021); single-day and multi-day tourists (Rodríguez et al., 2018); first-time and repeat tourists (McKercher et al., 2012); and different tourist group sizes (Zhao et al., 2018). Xu et al. (2021) employed a community detection algorithm to study several tourism regions and found that tourists from different countries tended to have distinct regional preferences in South Korea—the most popular attractions for visitors from Asian and Western countries were to Jung-gu, whereas visitors from the Philippines mainly sought the islands and coastal areas.
To our knowledge, there is still a scarcity of evidence on the differences between local and non-local tourist flows through the lens of complex networks, especially in global cities. Even among attractions of the same level, there can be significant variations in visitor profiles, including differences in motivations, behavior preferences, and satisfaction levels. By segmenting the population, researchers studying urban areas can more effectively identify distinct travel patterns among different groups of tourists. Thus, this study further subdivides domestic tourists into two groups and offers insight into whether the local and non-local tourists’ movements and behaviors correspond show distinct destination preferences. To achieve this, the study uses large-scale monthly mobile phone data to measure the network of connections formed between attractions, and aims to explore the differences in tourism destination and interactions between local and non-local tourists. This approach compensates for the limitations of small-sample data often collected through questionnaires or travel diaries in previous studies. Furthermore, novel methods such as community detection are applied to explain the characteristics of attractions and their connections to multiple tourist groups at the city level. This fills existing gaps in data methodology and provides a more comprehensive understanding of the subject matter.
Study area and mobile phone dataset
In general, China used its own rating system for tourist attractions, based on uniqueness and recognition of the sightseeing offering; tourist attractions were graded on a scale from A to AAAAA. For example, Forbidden City and Summer Palace in Beijing are 5A attractions. The newest list of A-level attractions was published on the official website of the Beijing Municipal Culture and Tourism Bureau as of October 2019 and features 223 entries. This study used Baidu Map’s AOI (Area of Interest) data to define these tourist attraction boundaries and identified 216 A-level scenic locations in total, including nine 5A scenic spots, 72 4A scenic spots, 106 3A scenic spots, and 28 2A scenic spots, accounting for 96.9% of all scenic spots (Figure 1).

Distribution of 216 A-level scenic spots in Beijing.
Our mobile phone data came from China Unicom, one of China’s three major mobile operators, which, according to government figures, had 31.55% of users in Beijing in 2019. Table 1 provides the records of individual mobile phone data users, including the user’s unique mobile phone ID, place of residence ID card, date, and whether the user is a local traveler or not. It is noted that China Unicom identified people as local residents if they work and live in a place for more than 15 days within any month, with the rest of the people labeled as non-local people. Based on this, we further defined tourists as people that spent more than 0.5 hours in tourist attractions based on the records from the mobile phone base station.
Example of an individual’s mobile phone records in the dataset.
we hide the information of user ID and their geographic position.
Descriptive statistics of tourists
Our dataset determined the tourist population in 216 A-level scenic locations in Beijing in November 2020. The overall tourist population of 214 scenic locations was 5,534,600 in November 2020, with an average daily total tourist population of 184,500, consisting of 4,475,700 local tourists and 1,058,900 non-local tourists. Figure 2 depicts the tourist volume distribution of 214 scenic spots. Due to their tiny size and remote location, two scenic spots were not classified as tourist destinations. Every scenic spot identified local tourists, while four scenic spots did not identify non-local tourists.

The number of tourists to 214 A-level scenic spots in Beijing.
Table 2 shows descriptive statistics on the number of tourists visiting each scenic spot, as well as the number of local and non-local tourists. The average number of tourists per scenic spot was 25,862, comprising 20,914 local tourists and 5,042 non-local tourists. Beijing Olympic Park, which also had the highest number of local and non-local tourists, had the highest number of tourists in November among all A-level scenic locations, with 961,300 tourists. According to research, Beijing Olympic Park is located in the northern end of the Beijing city axis, and it is also the only 5A scenic spot that does not charge admission fees; it is a comprehensive regional public activity center for citizens and has two subway lines passing through it.
Descriptive statistics of tourist volume in scenic spots.
Centrality metrics in network analysis
There are at least three common centrality metrics in network analysis, including degree, closeness, and betweenness. The degree of a vertex is its most basic structural property, defined as the number of its adjacent edges. Degree centrality reflects the degree to which a node in the network is directly related to other nodes. If there are N nodes in the network, and node v is directly connected to i nodes with edges, then the degree of the node is:
Closeness centrality measures how many steps are required to access every other vertex from a given vertex (Freeman, 1978). The closeness centrality of a vertex is defined by the inverse of the average length of the shortest paths from all the other vertices in the network. The closeness centrality of node v in an unweighted network is defined as:
where dv is the shortest path from node v to the other vertex (node |i).
The notion of betweenness is defined by the number of geodesics (shortest paths) going through a vertex or an edge (Brandes, 2001). Betweenness reflects the role and influence of a certain node in the network. When calculating all the shortest paths between any two nodes in a certain network, a higher betweenness centrality of a node indicates that there are more shortest paths passing through that node. The betweenness centrality of node v in an unweighted network is defined as:
where gij is the number of paths from node i to node j, givj is the number of paths by node v in the paths from node i to node j.
Community detection in network analysis
The community detection algorithm developed rapidly in network theory, and could help to understand the degree to which a node interacts with neighboring nodes in the network (Clauset et al., 2004). Nodes within the same community are tightly connected to each other, while connections between communities are sparser. The multilevel algorithm is considered to be one of the better community detection algorithms in terms of accuracy and computation time (Javed et al., 2018; Yang et al., 2016). It is based on the modularity measure and has a hierarchical approach. Initially, each vertex is assigned to a community on its own. In every step, vertices are reassigned to communities in an greedy way: each vertex is moved to the community with which it achieves the highest contribution to modularity. When no vertices can be reassigned, each community is considered a vertex on its own, and the process starts again with the merged communities. The process stops when there is only a single vertex left or when the modularity cannot be increased any more.
Modularity calculates the modularity of a graph with respect to the given membership vector (Clauset et al., 2004). The modularity of a graph with respect to some division (or vertex types) measures how good the division is, or how separated are the different vertex types from each other. It is defined as:
where m is the number of edges, Aij is the element of the A adjacency matrix in row i and column j, ki is the degree of i, kj is the degree of j, Ci is the type of i, Cj that of j, the sum goes over all i and j pairs of nodes, and
Empirical analysis
Regional inequality of tourists
We employed the Gini coefficient to measure the inequality of travel flow between scenic spots in Beijing. The Gini coefficient is 0.803, with the top 54 of the 214 scenic spots having 87.6% of the tourists, indicating that the disparity of tourists among scenic spots is very large, implying that the majority of scenic spot tourists are concentrated in a small number of A-level scenic spots, which is consistent with the distribution pattern of visitor destinations observed in previous studies (Mou et al., 2020a; Xu et al., 2021).
When we further sub-divide the travelers, the Gini coefficient for local residents is 0.781, whereas the Gini coefficient for non-local tourists is 0.888 (Figure 3). This finding suggests that both local and non-local visitors visit a small number of core A-level scenic places during their trips, with non-local travelers being more focused on scenic spots than local tourists. Considering the geographically dispersion of Beijing’s scenic spots, the distribution of non-local tourists tend to be more diverse, as that non-local tourists may have a higher level of travel purpose.

Gini coefficient of tourists (1 for total tourists, 2 for local tourists, 3 for non-local tourists).
Pattern and centrality analysis of the tourism flow network
Our mobile data revealed a total of 3,428 pairs of travel links between 200 scenic spots, resulting in 79,600 tourist trips. A total of 3,101 pairs of local visitors’ scenic travel connections were found, involving 200 scenic spots and 46,600 trips. The total number of scenic area travel contacts for non-local residents is 1,717 pairs, with 33,000 journeys involving 165 scenic spots. Figure 4 shows that the A-level scenic spots in central Beijing are closely linked to one another, forming a polycentric network pattern. Some of the Badaling Great Wall in the northwest is also clearly integrated into the network structure, becoming one of the network’s poles. Beijing’s outer scenic spots are less connected to one another and more reliant on the city’s other major scenic spots. The peripheral centers also include Beijing Safari Park in the south, Shidu Scenic Area in the southwest, and some scenic spots in the northeast such as Yanqi Lake Scenic Area and Mutianyu Great Wall. The network density for the entire network is 0.17, which shows the ratio of scenic sites to connections between scenic spots.

Tourism links between 200 scenic spots.
Figure 5 shows the travel patterns of local tourists (a) and non-local tourists (b). It is seen that the network intensity and network coverage area of local tourists are significantly higher than those of non-local tourists, with non-local tourists having a network density of 0.16, compared to 0.13 for local tourists. However, the network structure of both is similar—polycentric—with an area of high connections located in the central urban area and the Badaling Great Wall attraction. It may confirm the most popular attractions and route choices on parade for local and out-of-town tourists for some consistency in Beijing, and local residents’ travel preferences are more diverse and leisurely.

Tourist links between scenic spots: local tourists (a) and non-local tourists (b).
The degree centrality of a scenic area represents the scenic area’s aggregation and radiation capacity, showing the tourist linkage of scenic spots with other scenic spots within the tourism flow network. Scenic spots having a high degree of centrality can be regarded as the network’s key tourist attractions. Figure 6 shows the degree centrality of 206 scenic locations. When it comes to the distribution of scenic spot centrality, the highest values are concentrated in the central city, while the lower values are dispersed throughout weaker areas, such as the suburbs on the edges of Beijing. Tourists prefer northern attractions over those in the southwest when it comes to the centrality of attractions. For the degree centrality of total and local visitors, Olympic Park, Chaoyang Park, Yuanmingyuan Park, Qianmen Avenue, and Beijing Garden Expo Park are in the top five, while for the degree centrality of non-local visitors, Forbidden City and Summer Palace replaced Beijing Garden Expo Park and Qianmen Avenue in the top five.

Degree, closeness centrality, and betweenness centrality of scenic spots. (a) Total degree. (b) Degree of non-local. (c) Degree of local. (d) Total closeness. (e) Closeness of non-local. (f) Closeness of local. (g) Total betweenness. (h) Betweenness of non-local. (i) Betweenness of local.
The scenic spots with the highest closeness centrality are primarily found in the core and northern peripheral areas, while those with the lowest are primarily found in the southwestern periphery areas. The Beijing Olympic Park has the greatest closeness centrality. Local tourists choose the northern scenic places, such as Qianmen Avenue, while non-local tourists prefer the Badaling scenic spot clusters, according to the closeness centrality of local and non-local travelers. In contrast, the stronger the irreplaceability of a spot for the flow of tourists between attractions and the larger the flow via the spot, the higher the betweenness centrality. Because tourism access is blocked if a scenic place is withdrawn from the tourism flow network, certain scenic spots will see a decrease in tourists. The Beijing Olympic Park has the highest betweenness centrality of all. When comparing the betweenness centrality of local and non-local visitors, it is clear that the high values for non-local tourists are more spread. With the exception of scenic spots in the middle area, local tourists’ high betweenness centrality is primarily spread in the north, whereas non-local tourists’ high betweenness centrality is primarily dispersed in the southeast.
The associations of travel flow and attraction features
Multiple elements such as tourist conditions, destination characteristics, transportation characteristics, macro environment, and unforeseen circumstances have been demonstrated to influence tourism flows (Lew and McKercher, 2006; Zeng and He, 2018). The goal of this study is to learn more about the factors that influence tourism flow. The independent variables are two categories of scenic characteristics and transportation conditions: the former includes scenic category, scenic area, scenic rating, ticket price, and opening hours, and the latter includes the number of subway stations within 500 and 1,000 meters.
Diverse scenic spots in the Beijing tourism network may be grouped into three categories: urban leisure, historical and cultural, and natural landscape, combined with the primary types of resources on which each tourist attraction is built. There are 104 urban leisure-type scenic locations, 56 historical and cultural-type scenic spots, and 56 natural scenic spots among the 216 scenic spots primarily investigated. The number of subway stations within 500 meters and 1,000 meters spatial distance of each scenic spot can be counted for accessibility and traffic conditions. The rank and ticket price of scenic areas may be found on the Beijing tourism website, which combines the ticket price and opening hours of scenic spots with data from services like Meituan, Dianping, and Ctrip for verification and supplementation.
The tourism flow characteristics are divided into five categories: tourist volume (T), linkage (L), degree centrality (DC), closeness centrality (CC), and betweenness centrality (BC) of the scenic spot, each of which includes the total number of tourists in the scenic area (T), local tourist characteristics (A), and non-local tourist characteristics (E), yielding 15 variables. The tourist volume here is defined as the total number of tourists who visited a specific scenic spot, while linkage is defined as the number of tourists who departed from one scenic spot to visit other spots. Using a linear regression model, these 15 tourism flow characteristics are recognized as dependent variables and the scenic area-related variables as independent variables (Table 3). The two independent variables utilized as reference factors were urban leisure-type scenic spots and 3A-class scenic spots.
Regression analysis results.
t-statistics in, ***p < 0.001. **p < 0.01. *p < 0.05.
Seven independent variables were significant in terms of their dimensions: scenic spot opening hours, historical and cultural-type scenic locations, natural scenic spots, 4A-class scenic spots, 5A-class scenic spots, scenic spot area, and the number of subway stations within 500 meters. Two factors, ticket price and 2A-class scenic spot, were not significant in all models, indicating that tourists may not consider low-class scenic spots or ticket price while picking a scenic spot. We found that 70 (32.7%) of the 214 picturesque spots studied were free. When compared to higher-priced scenic sites, free and low-cost scenic spots offer similar tourism resources.
In all 14 models (Table 3), 5A-class scenic spots are significant, with the exception of the model of non-local tourists’ closeness centrality (ECC), showing that non-local visitors are less likely to be influenced by this factor while traveling between scenic spots. Furthermore, when compared to 5A-class scenic spots, 4A-class scenic spots have a greater impact on scenic spot centrality aspects such as all types of degree centrality, closeness centrality, and betweenness centrality of total and local visitors, while having no impact on all types of tourist volume and linkage. This could indicate that only 5A-class scenic places have a major impact on tourists’ scenic destination choices, while 4A-class scenic spots have little impact. The number of 500 meter subway stations comes next, which is significant in 10 models but only insignificant in the models of total and local tourists’ closeness centrality and betweenness centrality (TCC, ACC, ECC, TBC, ABC).
For the category of scenic spots, historical- and cultural-type scenic spots were significant in five models: total tourists, total degree centrality of scenic spots, local tourist volume of scenic spots, local tourist connectedness, and degree centrality of local tourists. The natural landscape scenic area, on the other hand, exhibits a more opposing trait, which has no bearing on the number of visitors or connectedness of the scenic area, but does have an impact on its degree of centrality and closeness centrality. These models demonstrate detrimental implications for both historical and cultural scenic locations as well as natural scenic spots. Most tourists prefer urban leisure-type scenic locations to these two categories of scenic spots, which could be the explanation behind this.
We discovered that the opening hours of scenic spots were significant in five models, including all sorts of scenic spot degree centrality, as well as total tourists and local tourists’ closeness centrality. 185 beautiful spots (86.4%) were available for at least eight hours, according to data analysis. Local tourists may generally reach from one scenic spot to another within this distance, however non-local tourists may not be affected because of the closeness centrality of scenic spots.
In terms of dependent variables, we find that the number of historical and cultural scenic spots, 5A-class scenic spots, and 500 meter subway stations have an impact on tourist volume and linkage. However, historical and cultural scenic spots have a negative impact on local tourists, while there is no significant impact on non-local tourists. This suggests that local tourists are less inclined than non-local tourists to consider historical and cultural scenic sites when they are choosing scenic spots to visit.
For all nine models involving centrality, we found that scenic degree centrality was the most important, followed by closeness centrality, with the least significant being betweenness centrality, 4A scenic areas, 5A scenic areas, and the number of 500 meter subway stations. This means that if we want to improve the distance between some scenic spots on tourist routes, we need to renovate the scenic spots and improve traffic conditions in tourism management.
Scenic connection network and distance decay effect
Furthermore, the study hopes to further investigate whether the linkage between scenic areas is influenced by the spatial distance between scenic areas. The study divided scenic spot linkages (L) into three categories: scenic spot linkages within the 6th Ring Road (I), scenic spot linkages outside the 6th Ring Road (O), and scenic spot linkages across the 6th Ring Road (C), each of which includes the characteristics of total tourists to scenic spots (T), local visitor characteristics (LV), and non-local visitor characteristics (NLV), from which 12 dependent variables can be derived. A linear regression model was used to assess the relationship between the strength of tourism flow links between scenic spots and the spatial linear distance between scenic spots. Only two dependent variables, total tourist linkage across the 6th Ring Road and non-local tourist linkage across the 6th Ring Road, are found to be insignificant in the model, indicating that non-local tourists traveling from scenic spots inside the 6th Ring Road to those outside the 6th Ring Road will be more purposeful in their travel and less likely to consider the distance decay effect.
The total degree of linkage between scenic sites, as well as whether the scenic spots are inside or outside the 6th Ring Road, is determined to have a negative effect on tourism linkage between scenic spots. This suggests that the distance decay effect may affect tourism flows between scenic sites, which is consistent with earlier research that revealed influencing factors of tourism flows such as scenic spot distance from the city core (Mou et al., 2020b; Qin et al., 2019). Only local tourists are impacted by the distance factor when linking scenic spots across the 6th Ring Road. This suggests that, in order to encourage reciprocal interaction between scenic spots, we need to improve transportation conditions between particular scenic spots and improve the accessibility between scenic spots in tourism management.
Community detection of scenic linkage networks
In this study, we used the R language’s igraph package to determine the centrality of scenic spots in a connection network. We define the scenic spots as network nodes, the scenic spot linkage as network edges, and the linkage between scenic spots divided by the spatial distance as weights of the edges. The multilevel algorithm is used to split the communities. With a modularity of 0.60, the result separates the entire network into eight communities. The majority of the separated clusters exhibit a more evident spatial clustering relationship, as seen in Figure 7. The clusters near the city’s core are small and compact, but clusters on the outskirts are large and fragmented. The attribute features of scenic spots are shown in Figure 7. The Xiangshan Park Cluster (A8, yellow section) is the smallest cluster, with only four scenic locations. The Garden Expo Park–Shougang cluster, located in Beijing’s northeast, has the most scenic sites (A7, blue part). Five of the eight clusters have higher than average tourist numbers and degree centrality when it comes to the number of tourists and degree centrality of scenic sites inside the cluster (A1, A3, A5, A6, A8).

Community detection for scenic linkage networks.
The same algorithm was used to identify the community structure of the scenic networks of local and non-local tourists. The non-local scenic connection network is divided into eight communities with a modularity of 0.63, while the local scenic connection network is divided into eight communities with a modularity of 0.54. The modularity of both scenic networks demonstrates that community division is good. Some groups exhibit more evident spatial clustering links than others, as seen in Figure 8. Local tourists are divided into smaller groups than non-local tourists. The northwest Yanqi Lake group (A4), for example, is divided into two groups: the original Yanqi Lake (C6) and the eastern border. The largest scenic spot is also removed from the original group to join the Badaling group (C2). Simultaneously, some core-area scenic spots are united with peripheral scenic spots to form a new group, such as the Forbidden City–Tian Tan group (C3), as well as new group clusters.

Community detection for scenic network. (a) Local and (b) Non-local.
In terms of tourist volume and degree centrality of scenic spots within communities (Table 4), five of the eight communities formed by local tourists have above-average tourist volume and degree centrality (B2, B3, B4, B5, B7), while only two of the eight communities formed by non-local tourist contacts have above-average tourist volume (C1, C3) and only three have above-average degree centrality (C1, C3, C4). This suggests that the non-local tourists’ scenic spot network is more tightly connected to communities of core region scenic spots than the local tourists’ scenic spot connection network. This suggests that, when it comes to tourism management, greater thought should be given to spatial agglomeration for scenic spots targeted to attract non-local tourists, with significant clusters preserving convenient connections between them (e.g., C1, C3, and C4). Local tourists, on the other hand, need scenic spots to pay more attention to developing convenient internal linkages between clusters.
Results of scenic community grouping.
Conclusion and discussion
This paper used several network analysis methods to investigate tourist movements and the key differences between local and non-local tourists. We applied the research method to a case study city, Beijing (China), and selected mobile phone data from Unicom as the data source to explore the spatial patterns of tourist flows. The conclusions can be summarized as follows:
(1) The Gini coefficients of total scenic spot tourists, non-local tourists, and local tourists are all high, showing that there is more disparity between scenic spots, and that non-local tourists have a more concentrated distribution than local tourists.
(2) Whether 5A scenic spots are significant in the models is determined by the regression findings of all regression models, all exhibiting positive effects. The category of scenic spots is also prominent in various models, but has a primarily negative impact. In addition, this study discovered that the number of subway stations within 500 meters has a significant impact on urban tourism attractions.
(3) The effect of distance decay on linkage is found to be considerable for total linkage, local tourists, and non-local tourists in general. When the linkage between scenic spots is separated into inside, outside and across the 6th Ring Road, however, the local connection of scenic spots across the 6th Ring Road is shown not to be associated with spatial distance.
(4) The whole tourist network can be divided into eight communities in terms of community division of the scenic spot linkage network. The scenic contact network for local tourists and the scenic spots for non-local tourists were both divided into eight communities, but the non-local tourist communities were more finely divided than the local tourist communities, with the majority of the scenic spots’ tourist volumes and linkage concentrated in a few communities.
The research structure can be applied to other case study sites. The study helps policymakers to better understand tourism differences from local and non-local tourists to improve the quality of tourism services for the benefit of the tourism industry. More consideration needs to be given to spatial agglomeration for scenic spots designed to attract non-local tourists, with convenient connections maintained between different clusters. For local tourists, on the other hand, scenic spots need to give more consideration to creating convenient internal connections within the clusters.
To undertake and attract more tourists, policymakers should emphasize the 5A scenic spots’ leading role, strengthen cooperation and complementarity between 5A scenic spots and neighboring scenic spots, improve the level of supporting facilities and tourism services, and create tourism clusters with shared facilities at the scenic spot level. Transit ties between significant scenic places and scenic clusters should be enhanced at the city level, and some tailored public transportation lines should be constructed to promote scenic spot accessibility.
Limitation
Our paper mainly had two limitations. Firstly, the research period of our study is 2020. The global COVID-19 pandemic in 2020 and lockdown policies affect global tourism, and also had a certain impact on the number and behavior of tourists in Beijing, which may cause limitations on our study. According to the Beijing Municipal Bureau of Culture and Tourism, the number of international tourists in Beijing in the fourth quarter of 2020 decreased by 90.6% compared to the same period in 2019, while the number of domestic tourists decreased by 8.6%. In this paper, we focused more on the domestic tourists to avoid this limitation as much as possible. Secondly, the measurement of transportation conditions in our paper was the number of subway stations within 500 and 1,000 meters. According to the Beijing Municipal Commission of Transport, the subway is the most important public transport mode. However, regardless of other transportation modes may cause limitations on detecting the travel patterns of tourists.
Footnotes
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported by The National Social Science Fund of China [No. 19BSH035].
