Access method, apparatus, device, and storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA UNITED NETWORK COMM GRP CO LTD
- Filing Date
- 2022-11-17
- Publication Date
- 2026-05-12
Smart Images

Figure CN115835287B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to an access method, apparatus, device and storage medium. Background Technology
[0002] Currently, users' demand for internet access is increasing, causing base stations to be unable to meet these demands and resulting in base station congestion. To alleviate base station congestion, the following two methods can be used: 1. Install expansion equipment to offload traffic by adding new carriers; 2. Randomly connect users based on their requests.
[0003] However, expanding capacity requires advance deployment and involves a large amount of engineering work, resulting in high costs. Furthermore, random access for users cannot meet user demand, potentially leading to dissatisfaction among some users. Therefore, how to improve user service when base stations experience congestion is a pressing technical problem that needs to be solved. Summary of the Invention
[0004] This application provides an access method, apparatus, device, and storage medium to improve user service when base station congestion occurs. The technical solution of this application is as follows:
[0005] According to a first aspect of this application, an access method is provided, the method comprising: determining that the number of users currently connected to a base station is equal to the maximum number of users that the base station can accommodate; obtaining the number of first users requesting access to the base station and the number of second users currently connected to the base station; the service type requested by the first user is a first type, and the service type already connected by the second user is a second type, wherein the first type has a higher priority than the second type; if there is a first user and the number of first users is greater than or equal to the number of second users, then the second users are released and the first users are connected to the base station; if there is a first user and the number of first users is less than the number of second users, then a third user is determined from the second users, and after releasing the third user, the first user is connected to the base station; wherein the number of third users is equal to the number of first users.
[0006] In one possible implementation, the method further includes: if there is no first user, determining the credit score of each user among the second user and the fourth user requesting access to the base station; the service type requested by the fourth user is a second type; based on the credit scores of the second user and each user among the fourth users, determining a fifth user from the second users, and determining a sixth user from the fourth users; the number of fifth users is equal to the number of sixth users, the credit score of the fifth user is less than a preset credit score, and the credit score of the sixth user is greater than or equal to the preset credit score; releasing the fifth user and allowing the sixth user to access the base station.
[0007] In one possible implementation, determining the credit score for each of the second and fourth users includes: obtaining the education score, payment credit score, remaining call credit score, and third-party credit score for each of the second and fourth users; a user's education score reflects the user's educational level, a user's payment credit score reflects whether the user pays fees on time, a user's remaining call credit score reflects the amount of remaining call credit, and a user's third-party credit score reflects the credit score of the user's contacts; and determining the credit score for each of the second and fourth users based on their education score, payment credit score, remaining call credit score, and third-party credit score.
[0008] In one possible implementation, determining a third user from the second users includes: obtaining the average consumption amount and resource allocation quantity for each user in the second users, wherein the resource allocation quantity for a user includes the amount of resources allocated to a user by the base station within a preset time period; determining a value score for each user in the second users based on the average consumption amount and resource allocation quantity for each user in the second users; wherein a user's value score is positively correlated with a user's average consumption amount and negatively correlated with a user's resource allocation quantity; determining a third user from the second users based on the value score for each user in the second users; wherein the value score of the third user is less than a preset value score.
[0009] In one possible implementation, after releasing the second user, connecting the first user to the base station includes: connecting the first user to the base station based on the order in which the first users requested to access the base station.
[0010] According to a second aspect of this application, an access device is provided, comprising a determining unit, an acquiring unit, and a processing unit; the determining unit is configured to determine that the number of users currently connected to the base station is equal to the maximum number of users the base station can accommodate; the acquiring unit is configured to, after the determining unit determines that the number of users currently connected to the base station is equal to the maximum number of users the base station can accommodate, acquire the number of first users requesting access to the base station and the number of second users currently connected to the base station; the service type requested by the first users is a first type, and the service type already connected by the second users is a second type, with the first type having a higher priority than the second type; the processing unit is configured to, if there are first users and the number of first users is greater than or equal to the number of second users, release the second users and connect the first users to the base station; the determining unit is further configured to, if there are first users and the number of first users is less than the number of second users, determine a third user from the second users, and after releasing the third user, connect the first user to the base station; the number of third users is equal to the number of first users.
[0011] In one possible implementation, the determining unit is further configured to: determine the credit score of each user among the second user and the fourth user requesting access to the base station when the first user is absent; the service type requested by the fourth user is the second type; determine a fifth user from the second users and a sixth user from the fourth users based on the credit scores of the second user and each user among the fourth users; the number of fifth users is equal to the number of sixth users, the credit score of the fifth user is less than a preset credit score, and the credit score of the sixth user is greater than or equal to the preset credit score; the processing unit releases the fifth user and connects the sixth user to the base station.
[0012] In one possible implementation, the acquisition unit is further configured to acquire the education score, payment credit score, remaining call credit score, and third-party credit score of each of the second and fourth users; a user's education score reflects the user's level of education, a user's payment credit score reflects whether the user pays fees on time, a user's remaining call credit score reflects the amount of remaining call credit, and a user's third-party credit score reflects the credit score of the user's contacts; the determination unit is further configured to determine the credit score of each of the second and fourth users based on the education score, payment credit score, remaining call credit score, and third-party credit score of each of the second and fourth users.
[0013] In one possible implementation, the acquisition unit is further configured to acquire the average consumption amount and resource allocation quantity of each user in the second user group, wherein the resource allocation quantity of a user includes the amount of resources allocated by the base station to a user within a preset time period; the determination unit is further configured to determine the value score of each user in the second user group based on the average consumption amount and resource allocation quantity of each user in the second user group; the value score of a user is positively correlated with the average consumption amount of a user, and the value score of a user is negatively correlated with the resource allocation quantity of a user; the determination unit is further configured to determine a third user from the second user group based on the value score of each user in the second user group; the value score of the third user is less than a preset value score.
[0014] In one possible implementation, the processing unit is specifically used to: after releasing the second user, connect the first user to the base station based on the order in which the first user requested access to the base station.
[0015] According to a third aspect of this application, an electronic device is provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute instructions to implement the method of the first aspect described above and any possible implementation thereof.
[0016] According to a fourth aspect of this application, a computer-readable storage medium is provided, wherein when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the methods described in the first aspect and any possible implementation thereof.
[0017] According to a fifth aspect of this application, a computer program product is provided, comprising computer instructions that, when executed on an electronic device, cause the electronic device to perform the method described in the first aspect and any possible implementation thereof.
[0018] The technical solution of the first aspect provided in this application brings at least the following beneficial effects: Existing technologies typically alleviate base station congestion by setting up expansion equipment or randomly accessing users. However, setting up expansion equipment leads to high costs, and random access may cause dissatisfaction among some users. This application, after determining that the number of users currently connected to the base station equals the maximum capacity of the base station, obtains the number of first users requesting access to the base station and the number of second users currently connected to the base station. The service type requested by the first user is type one, and the service type already accessed by the second user is type two. Furthermore, if there are first users and the number of first users is greater than or equal to the number of second users, the second users are released, and the first users are connected to the base station. The first type has a higher priority than the second type; therefore, in the event of base station congestion, releasing lower-priority users and providing network services to higher-priority users further improves user satisfaction with the operator.
[0019] It should be noted that the technical effects of any of the implementation methods in aspects two through five can be found in the technical effects of the corresponding implementation methods in aspect one, and will not be repeated here.
[0020] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0021] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application, and do not constitute an undue limitation of this application.
[0022] Figure 1 This is a schematic diagram illustrating an implementation architecture according to an exemplary embodiment;
[0023] Figure 2 This is a flowchart illustrating an access method according to an exemplary embodiment;
[0024] Figure 3This is a flowchart illustrating yet another access method according to an exemplary embodiment;
[0025] Figure 4 This is a flowchart illustrating yet another access method according to an exemplary embodiment;
[0026] Figure 5 This is a block diagram illustrating an access device according to an exemplary embodiment;
[0027] Figure 6 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Detailed Implementation
[0028] To enable those skilled in the art to better understand the technical solutions of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.
[0029] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0030] Before providing a detailed introduction to the access method provided in this application, let's first briefly introduce the implementation environment (implementation architecture) involved in this application.
[0031] The access method provided in this embodiment of the invention can be applied to access systems. Figure 1 A schematic diagram of one possible structure of the access system is shown. For example... Figure 1 As shown, the access system 10 includes an electronic device 11 and an access device 12. The electronic device 11 is connected to the access device 12. The electronic device 11 and the access device 12 can be connected via a wired connection or a wireless connection, and this embodiment of the invention does not limit the connection.
[0032] Electronic device 11 can be used to obtain the number of first users requesting access to the base station and the number of second users currently connected to the base station, and send the number of first users requesting access to the base station and the number of second users currently connected to the base station to access device 12.
[0033] The access device 12 can be used to receive the number of first users requesting access to the base station sent by the electronic device 11, and the number of second users who have already accessed the base station.
[0034] The access device 12 can also process the number of first users requesting access to the base station and the number of second users currently connected to the base station. For example, if there are first users and the number of first users is greater than or equal to the number of second users, then the second users are released and the first users are connected to the base station. If there are first users and the number of first users is less than the number of second users, then a third user is determined from the second users, and after releasing the third user, the first user is connected to the base station. The number of third users is equal to the number of first users.
[0035] Optionally, the electronic device 11 can be a physical machine, such as: base station equipment, network equipment set inside or outside the base station, desktop computer, mobile phone, tablet computer, laptop computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA) and other terminal devices. The electronic device 11 can also be a server or a server group composed of multiple servers.
[0036] Optionally, the access device 12 can also implement the functions to be performed by a virtual machine (VM) deployed on a physical machine.
[0037] In different application scenarios, the electronic device 11 and the access device 12 can be independent devices or integrated into the same device. This embodiment of the invention does not make specific limitations in this regard.
[0038] When electronic device 11 and access device 12 are integrated into the same device, the data transmission method between electronic device 11 and access device 12 is the data transmission between modules within the device. In this case, the data transmission process between the two is the same as that when electronic device 11 and access device 12 are independent of each other.
[0039] In the following embodiments provided by the present invention, the present invention is illustrated by taking the integration of electronic device 11 and access device 12 into the same device as an example.
[0040] For ease of understanding, the access method provided in this application will be described in detail below with reference to the accompanying drawings.
[0041] Figure 2This is a flowchart illustrating an access method according to an exemplary embodiment. The method can be applied to an electronic device or an access device connected to an electronic device. Furthermore, the method can also be applied to devices similar to electronic devices or access devices. The following description uses the application of this method to an electronic device as an example to illustrate the method. Figure 2 As shown, the access method includes the following steps:
[0042] S201. The electronic device determines that the number of users currently connected to the base station is equal to the maximum number of users the base station can accommodate.
[0043] The maximum number of users that can be accommodated is the maximum number of users that can access the base station.
[0044] As one possible implementation, the electronic device obtains the base station's equipment information and the user information accessing the base station within a first preset time period. The equipment information includes the base station's maximum capacity for users, and the user information includes accessible terminals such as mobile terminals and IoT terminals, as well as basic terminal data, network indicator data, user packages, and credit records.
[0045] Furthermore, the electronic device determines whether the number of users currently connected to the base station is equal to the maximum number of users the base station can accommodate, based on the number of users currently connected to the base station.
[0046] S202, The electronic device obtains the number of first users requesting access to the base station, and the number of second users currently connected to the base station.
[0047] Among them, the service type requested by the first user is the first type, and the service type already accessed by the second user is the second type. The first type has a higher priority than the second type.
[0048] As one possible implementation, the electronic device obtains the user information currently requesting access to the base station, as well as the user information already connected to the base station, and determines that among the users requesting access to the base station, the user with the first service type is the first user, and among the users already connected to the base station, the user with the second service type is the second user.
[0049] Furthermore, the electronic device determines the number of the first user and the number of the second user.
[0050] It should be noted that the first type can specifically be voice services, and the second type can specifically be data services.
[0051] For example, taking the first type as voice service and the second type as data service, the electronic device obtains the user information of the currently connected base station and the user information of the user requesting to connect to the base station, and determines that the user whose service type is voice service among the users requesting to connect to the base station is the first user, and determines that the user whose service type is data service among the users already connected to the base station is the second user.
[0052] Furthermore, the electronic device determines the number of the first user and the number of the second user.
[0053] S203. The electronic device determines whether a first user exists.
[0054] Among them, the service type requested by the first user is the first type.
[0055] As one possible implementation, the electronic device determines the existence of a first user based on the number of first users requesting access to the base station. If the number of first users is not zero, the electronic device determines that no first user exists.
[0056] S204. If there is a first user, the electronic device determines whether the number of the first user is greater than or equal to the number of the second user.
[0057] S205. If there is a first user and the number of first users is greater than or equal to the number of second users, then the electronic device releases the second user and connects the first user to the base station.
[0058] As one possible implementation, the electronic device releases the second user if a first user exists and the number of first users is greater than or equal to the number of second users. Furthermore, the electronic device connects the first users to the base station based on the order in which they requested access.
[0059] Specifically, when there is a first user and the number of first users is greater than the number of second users, the electronic device releases the second users and, based on the order in which the first users requested access to the base station, connects the same number of first users as the number of second users to the base station.
[0060] Furthermore, after a user who has accessed the base station completes their voice service, the electronic device releases the user who has completed their voice service and, based on the order in which the first user requested to access the base station, connects the remaining first users to the base station.
[0061] If there are first users and the number of first users is equal to the number of second users, the electronic device releases the second users and connects all first users to the base station based on the order in which they requested to access the base station.
[0062] For example, taking the first type as voice service and the second type as data service, with a maximum user capacity of 100, the user information obtained by the electronic device can be shown in Table 1 below:
[0063] Table 1: User Information Table
[0064] Business type quantity Access base station Voice services 30 Access base station Data services 70 Request to access base station Voice services 80
[0065] For example, as shown in Table 1, among the users accessing the base station, the number of users whose service type is voice service is 30, the number of users whose service type is data service is 70, and the number of users requesting to access the base station whose service type is voice service is 80.
[0066] For example, as shown in Table 1, the electronic device determines that the number of first users is 80 and the number of second users is 70, and releases all second users. Further, based on the order in which the first users requested access to the base station, the electronic device allows the top 70 first users to access the base station.
[0067] Furthermore, after the 100 users who have accessed the base station have completed their voice service, the electronic device releases the users who have completed their voice service. After releasing the users who have completed their voice service, the electronic device connects the remaining 10 first users to the base station based on the order in which the first users requested to access the base station.
[0068] For example, taking the first type as voice service and the second type as data service, with a maximum user capacity of 100, the user information obtained by the electronic device can be shown in Table 2 below:
[0069] Table 2: User Information Table
[0070] Business type quantity Access base station Voice services 30 Access base station Data services 70 Request to access base station Voice services 70
[0071] For example, as shown in Table 2, among the users accessing the base station, the number of users whose service type is voice service is 30, the number of users whose service type is data service is 70, and the number of users requesting to access the base station whose service type is voice service is 70.
[0072] For example, as shown in Table 2, the electronic device determines that the number of first users is 70 and the number of second users is 70, and releases all second users. Further, the electronic device connects the 70 first users to the base station based on the order in which they requested access.
[0073] S206. If there is a first user and the number of first users is less than the number of second users, the electronic device determines a third user from the second users and, after releasing the third user, connects the first user to the base station.
[0074] The number of third users is equal to the number of first users.
[0075] As one possible implementation, if a first user exists and the number of first users is less than the number of second users, the electronic device identifies a third user from the second users and releases all third users. Furthermore, after releasing all third users, the electronic device connects the first users to the base station based on the order in which they requested access.
[0076] For example, taking the first type as voice service and the second type as data service, with a maximum user capacity of 100, the user information obtained by the electronic device can be shown in Table 3 below:
[0077] Table 3: User Information Table
[0078] Business type quantity Access base station Voice services 30 Access base station Data services 70 Request to access base station Voice services 50
[0079] For example, as shown in Table 3, among the users accessing the base station, the number of users whose service type is voice service is 30, the number of users whose service type is data service is 70, and the number of users requesting to access the base station whose service type is voice service is 50.
[0080] For example, as shown in Table 3, the electronic device determines that the number of first users is 50, the number of second users is 70, and selects 50 third users from the 70 second users. Further, the electronic device releases the 50 third users and, based on the order in which the first users requested access to the base station, connects the 50 first users to the base station.
[0081] The specific implementation method of this step can be referred to in the subsequent description of the embodiments of this application, and will not be repeated here.
[0082] Understandably, existing technologies typically alleviate base station congestion by setting up expansion equipment or randomly accessing users. However, setting up expansion equipment is costly, and random access may cause dissatisfaction among some users. This application, after determining that the number of users currently connected to the base station equals the base station's maximum capacity, obtains the number of first users requesting access to the base station and the number of second users currently connected. The service type requested by the first users is type one, and the service type already connected by the second users is type two. Furthermore, if the number of first users is greater than or equal to the number of second users, the second users are released, and the first users are connected to the base station. Type one has a higher priority than type two; therefore, in the event of base station congestion, releasing lower-priority users and providing network services to higher-priority users can further improve user satisfaction with the operator.
[0083] In some embodiments, in the absence of a first user, in order to access a user, such as Figure 2 As shown in the embodiments of this application, the access method further includes:
[0084] S207. If there is no first user, the electronic device shall determine the credit score of each user among the second user and the fourth user requesting access to the base station.
[0085] Among them, the service type requested by the fourth user is the second type.
[0086] As one possible implementation, in the absence of a first user, the electronic device determines the user with service type two among the users requesting access to the base station as the fourth user based on the obtained user information currently requesting access to the base station and the user information already connected to the base station. Furthermore, the electronic device determines the credit score of each user in the second and fourth users respectively based on information related to each user's credit score from the second and fourth users.
[0087] The specific implementation method of this step can be referred to in the subsequent description of the embodiments of this application, and will not be repeated here.
[0088] S208. The electronic device determines a fifth user from the second user and a sixth user from the fourth user based on the credit scores of each of the second and fourth users.
[0089] Among them, the number of fifth users is equal to the number of sixth users, the credit score of the fifth user is less than the preset credit score, and the credit score of the sixth user is greater than or equal to the preset credit score.
[0090] As one possible implementation, the electronic device sorts the credit scores of each user in the second and fourth users from largest to smallest, and determines the number of second users as the first target number; further, the electronic device determines the credit score corresponding to the user with the first target number in the sequence as the preset credit score, and determines the second user with a credit score less than the preset credit score as the fifth user, and the fourth user with a credit score greater than or equal to the preset credit score as the sixth user.
[0091] For example, taking the first type as voice service and the second type as data service, with a maximum user capacity of 100, the user information obtained by the electronic device can be shown in Table 4 below:
[0092] Table 4: User Information Table
[0093] Business type quantity Access base station Voice services 30 Access base station Data services 70 Request to access base station Voice services 0 Request to access base station Data services 50
[0094] For example, as shown in Table 4, among the users accessing the base station, the number of users with voice service type is 30, the number of users with data service type is 70, the number of users requesting access to the base station with voice service type is 0, and the number of users requesting access to the base station with data service type is 50.
[0095] For example, as shown in Table 4, the electronic device determines that the number of first users is 0, the number of second users is 70, the number of fourth users is 50, and the first target number is 70. Further, based on the credit scores of each of the second and fourth users, the electronic device sorts the credit scores of each user from largest to smallest, and determines the credit score corresponding to the user with the sequence number 70 as the preset credit score.
[0096] Furthermore, the electronic device identifies the second user whose credit score is lower than the preset credit score as the fifth user, and identifies the fourth user whose credit score is greater than or equal to the preset credit score as the sixth user.
[0097] S209. The electronic device releases the fifth user and connects the sixth user to the base station.
[0098] Understandably, in the absence of a first user, based on the credit scores of each of the second and fourth users, a fifth user is determined from the second users, and a sixth user is determined from the fourth users. Furthermore, the fifth user is released, and the sixth user is connected to the base station. Since the fifth user's credit score is lower than a preset credit score, and the sixth user's credit score is greater than or equal to a preset credit score, users with low credit scores can be released, and users with high credit scores can be connected to the base station. This allows network services to be provided to users with high credit scores, further improving user satisfaction with the operator.
[0099] In some embodiments, in order to determine the credit score of each of the second and fourth users, such as Figure 3 As shown, the above S207 can be implemented in the following manner:
[0100] S301. Electronic devices obtain the education score, payment credit score, remaining call credit score, and third-party credit score of each of the second and fourth users.
[0101] Among them, a user's education score reflects the user's level of education, a user's payment credit score reflects whether the user pays fees on time, a user's remaining phone credit score reflects the amount of the user's remaining phone credit, and a user's third-party credit score reflects the credit score of the user's contacts.
[0102] As one possible implementation, the electronic device obtains the educational certificates and professional qualification certificates of each of the second and fourth users to determine the user's educational background score. The electronic device obtains the mobile phone payment records and broadband payment records of each of the second and fourth users to determine the user's payment credit score. The electronic device obtains the account balance of each of the second and fourth users to determine the user's remaining balance score. The electronic device obtains the credit scores of each of the second and fourth users' frequently used contacts to determine the user's third-party credit score.
[0103] S302. The electronic device determines the credit score of each user in the second and fourth users based on their education level score, payment credit score, remaining call credit score, and third-party credit score.
[0104] As one possible implementation, the electronic device determines each user's credit score based on the average consumption amount, education score, payment credit score, remaining call credit score, third-party credit score, and Formula 1 for each of the second and fourth users.
[0105] Each user's credit score satisfies the following formula:
[0106] V i =P i ·(a·A i +b·B i +c·C i +d·D i Formula 1
[0107] Among them, V i For user i's credit score, P i Let A be the average spending amount of user i. i Rate user i's education level, with a value ranging from [0, 100]. B i The payment credit score for user i ranges from [0, 100]. i Rate user i's remaining phone credit, with a value ranging from [0, 100]. D i The third-party credit score for user i ranges from [0, 100]. The sum of a, b, c, and d is 1.
[0108] For example, if a, b, c, and d are 0.1, 0.2, 0.3, and 0.4 respectively, and the average spending amount, education score, payment credit score, remaining phone bill score, and third-party credit score of user 1 obtained by the electronic device are 30, 70, 60, 40, and 80 respectively, then the credit score of user 1 calculated according to Formula 1 is 1890. If the average spending amount, education score, payment credit score, remaining phone bill score, and third-party credit score of user 2 obtained by the electronic device are 60, 40, 30, 40, and 50 respectively, then the credit score of user 2 calculated according to Formula 1 is 2520.
[0109] Understandably, this application determines each user's credit score based on their average spending, education level, payment credit score, remaining balance score, and third-party credit score. Therefore, a user's credit score reflects their average spending, education level, payment credit score, remaining balance score, and third-party credit score, thus making the subsequent identification of the fifth and sixth users more accurate. Furthermore, providing network services to the sixth user with a high credit score improves user satisfaction with the operator.
[0110] In some embodiments, such as Figure 4 As shown, in order to determine the third user, the above S206 can be implemented in the following way:
[0111] S401, The electronic device obtains the average consumption amount and resource allocation amount for each user in the second user group.
[0112] The resource allocation for a user includes the amount of resources allocated by the base station to a user within a preset time period.
[0113] As one possible implementation, the electronic device obtains the amount of resources allocated to the user by the base station within a preset time period.
[0114] S402. The electronic device determines the value score of each user in the second user group based on the average consumption amount and resource allocation amount of each user in the second user group.
[0115] Among them, a user's value rating is positively correlated with a user's average spending amount, while a user's value rating is negatively correlated with a user's resource allocation amount.
[0116] As one possible implementation, the electronic device determines the value score of each user in the second user group based on the average consumption amount of each user in the second user group, the amount of resources allocated, and Formula 2.
[0117] Each user's value score satisfies the following formula two:
[0118]
[0119] Among them, W i P scores the value of user i. i Let R be the average spending amount of user i. i The number of resources allocated to user i, and n is the number of second users.
[0120] S403. The electronic device determines a third user from the second users based on the value score of each user in the second user group.
[0121] Among them, the value score of the third user is lower than the preset value score.
[0122] As one possible implementation, the electronic device sorts each user's value score from highest to lowest and determines the value score corresponding to the second target number of users in the sequence as the preset value score. Furthermore, the electronic device identifies the second user whose value score is lower than the preset value score as the third user.
[0123] It should be noted that the second target number is the difference between the first number of users and the second number of users.
[0124] For example, as shown in Table 3 above, the electronic device determines that the number of first users is 50, the number of second users is 70, and the number of second targets is 20. Based on the value ratings of the 70 second users, the electronic device sorts the 70 value ratings from smallest to largest and determines the value rating corresponding to the user with the sequence number 20 in the sequence as the preset value rating.
[0125] Furthermore, the electronic device identifies the second user, whose value score is lower than the preset value score, as the third user. It is understood that this application determines the value score of each user based on their average spending and resource allocation quantity. Specifically, a user's value score is positively correlated with their average spending, and negatively correlated with their resource allocation quantity. Therefore, the third user identified based on the value score is the user with the lowest average spending and the highest resource allocation among the second users, making the subsequent release of third users more accurate. Furthermore, this provides network services to the higher-priority first user, improving user satisfaction with the operator.
[0126] Figure 5 This is an access device 500 illustrated according to an exemplary embodiment, such as... Figure 5 As shown, the access device 500 includes a determining unit 501, an acquiring unit 502, and a processing unit 503.
[0127] The determining unit is used to determine that the number of users currently connected to the base station is equal to the maximum number of users the base station can accommodate.
[0128] The acquisition unit is used to acquire, after the determining unit determines that the number of users currently connected to the base station is equal to the maximum number of users the base station can accommodate, the number of first users requesting access to the base station and the number of second users currently connected to the base station. The service type requested by the first user is type one, and the service type already connected by the second user is type two, with type one having a higher priority than type two.
[0129] The processing unit 503 is used to release the second user and connect the first user to the base station when there is a first user and the number of the first user is greater than or equal to the number of the second user.
[0130] The determining unit is further configured to, when a first user exists and the number of first users is less than the number of second users, determine a third user from the second users, and after releasing the third user, connect the first user to the base station. The number of third users is equal to the number of first users.
[0131] Optional, such as Figure 5 As shown in the embodiment of this application, the determining unit 501 is further configured to, in the absence of a first user, determine the credit score of each user among the second user and the fourth user requesting access to the base station. The service type requested by the fourth user is the second type.
[0132] Based on the credit scores of each of the second and fourth users, a fifth user is determined from the second users, and a sixth user is determined from the fourth users. The number of fifth users is equal to the number of sixth users, the credit score of the fifth user is less than a preset credit score, and the credit score of the sixth user is greater than or equal to the preset credit score.
[0133] Processing unit 503 releases the fifth user and connects the sixth user to the base station.
[0134] Optional, such as Figure 5 As shown in the embodiment of this application, the acquisition unit 502 is further used to acquire the average consumption amount, education score, payment credit score, remaining call credit score, and third-party credit score of each user among the second and fourth users. The average consumption amount of a user reflects the level of a user's average consumption; the education score reflects the level of a user's education; the payment credit score reflects whether a user pays fees on time; the remaining call credit score reflects the amount of a user's remaining call credit; and the third-party credit score reflects the credit score of a user's contacts.
[0135] The determining unit 501 is also used to determine the credit score of each user in the second and fourth users based on the average consumption amount, education score, payment credit score, remaining call charge score, and third-party credit score of each user in the second and fourth users.
[0136] Optional, such as Figure 5 As shown in the embodiment of this application, the acquisition unit 502 is further used to acquire the average consumption amount and resource allocation quantity of each user in the second user, wherein the resource allocation quantity of a user includes the amount of resources allocated by the base station to a user within a preset time period.
[0137] The determining unit 501 is further configured to determine the value score of each user in the second user group based on the average consumption amount and resource allocation quantity of each user in the second user group. A user's value score is positively correlated with a user's average consumption amount, and a user's value score is negatively correlated with a user's resource allocation quantity.
[0138] The determining unit 501 is also used to determine a third user from the second users based on the value score of each user in the second users. The value score of the third user is less than the preset value score.
[0139] Optional, such as Figure 5 As shown, the processing unit 503 provided in this embodiment is specifically used for:
[0140] After the second user is released, the first user is connected to the base station based on the order in which they requested access.
[0141] Figure 6 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Figure 6 As shown, the electronic device 600 includes, but is not limited to, a processor 601 and a memory 602.
[0142] The memory 602 described above is used to store the executable instructions of the processor 601. It is understood that the processor 601 is configured to execute instructions to implement the access method in the above embodiments.
[0143] It should be noted that those skilled in the art will understand that Figure 6 The electronic device structure shown does not constitute a limitation on the electronic device; the electronic device may include, but is not limited to, other electronic devices. Figure 6 This may indicate more or fewer components, or combinations of certain components, or different component arrangements.
[0144] Processor 601 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in memory 602, and by calling data stored in memory 602, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. Processor 601 may include one or more processing units. Optionally, processor 601 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into processor 601.
[0145] The memory 602 can be used to store software programs and various data. The memory 602 may primarily include a program storage area and a data storage area. The program storage area may store the operating system and application programs (such as acquisition units and determination units) required by at least one functional module. Furthermore, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0146] In an exemplary embodiment, a computer-readable storage medium including instructions, such as a memory including instructions, is also provided, which can be executed by a processor of an electronic device to implement the access method in the above embodiments.
[0147] In actual implementation, the functions of the determining unit 501, the acquiring unit 502, and the processing unit 503 can all be provided by [the relevant entity / component]. Figure 6 The processor 601 calls the computer program stored in the memory 602 to implement the process. The specific execution process can be found in the description of the access method section in the previous embodiment, and will not be repeated here.
[0148] Optionally, the computer-readable storage medium may be a non-transitory computer-readable storage medium, such as a read-only memory (ROM), random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device.
[0149] In an exemplary embodiment, this application also provides a computer program product including one or more instructions, which can be executed by a processor of an electronic device to perform the methods described above.
[0150] It should be noted that when one or more instructions in the computer-readable storage medium or computer program product are executed by the processor of an electronic device, they implement the various processes of the above method embodiments and achieve the same technical effect as the above method. To avoid repetition, they will not be described again here.
[0151] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0152] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0153] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0154] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0155] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0156] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. An access method, characterized in that, The method includes: The number of users currently connected to the base station is determined to be equal to the maximum number of users that the base station can accommodate. The system obtains the number of first users requesting access to the base station and the number of second users currently connected to the base station; the service type requested by the first user is a first type, and the service type already connected by the second user is a second type, with the first type having a higher priority than the second type. If the first user exists, and the number of the first users is greater than or equal to the number of the second users, then the second user is released, and the first user is connected to the base station; If the first user exists and the number of the first users is less than the number of the second users, then a third user is determined from the second users, and after releasing the third user, the first user is connected to the base station; the number of the third users is equal to the number of the first users; the third user is a user among the second users whose user value score is less than a preset value score; the user value score is positively correlated with the average user spending amount and negatively correlated with the number of user resource allocations; If the first user does not exist, then the credit scores of each user in the second user and the fourth user requesting access to the base station are determined respectively; the service type requested by the fourth user is the second type. Based on the credit scores of each of the second user and the fourth user, a fifth user is determined from the second user, and a sixth user is determined from the fourth user; the number of fifth users is equal to the number of sixth users, the credit score of the fifth user is less than a preset credit score, and the credit score of the sixth user is greater than or equal to the preset credit score. Release the fifth user and connect the sixth user to the base station.
2. The access method according to claim 1, characterized in that, The process of determining the preset credit score includes: Based on the credit scores of each of the second user and the fourth user, a descending sequence of credit scores is determined; The credit scores whose sort number in the descending sequence of credit scores is equal to the first target number are determined as the preset credit scores; wherein, the first target number is equal to the number of the second users.
3. The access method according to claim 2, characterized in that, The process of determining the credit score for each of the second and fourth users includes: Obtain the education score, payment credit score, remaining phone bill score, and third-party credit score of each user in the second user and the fourth user; a user's education score is used to reflect the user's education level, a user's payment credit score is used to reflect whether the user pays the fees on time, a user's remaining phone bill score is used to reflect the amount of the user's remaining phone bill, and a user's third-party credit score is used to reflect the credit score of the user's contacts. The credit score of each user in the second user and the fourth user is determined based on their education level score, payment credit score, remaining phone bill score, and third-party credit score.
4. The access method according to any one of claims 1-3, characterized in that, The number of user resources allocated includes the number of resources allocated by the base station to users within a preset time period; The process of determining the preset value score includes: Based on the user value score of each user in the second user group, a descending sequence of user value scores is determined; The user value scores whose sequence numbers are equal to the second target number in the descending sequence of user value scores are determined as the preset value scores; wherein, the second target number is the difference between the first number of users and the second number of users.
5. The access method according to claim 4, characterized in that, After releasing the second user, connecting the first user to the base station includes: Based on the order in which the first user requests access to the base station, the first user is connected to the base station.
6. An access device, characterized in that, The device includes a determining unit, an acquiring unit, and a processing unit; The determining unit is used to determine that the number of users currently connected to the base station is equal to the maximum number of users that the base station can accommodate. The acquisition unit is configured to acquire, after the determining unit determines that the number of users currently connected to the base station is equal to the maximum number of users that the base station can accommodate, the number of first users requesting to connect to the base station and the number of second users currently connected to the base station. The first user requests access to a service of type one, and the second user has already accessed a service of type two. The first type has a higher priority than the second type. The processing unit is configured to release the second user and connect the first user to the base station when the first user exists and the number of the first user is greater than or equal to the number of the second user. The determining unit is further configured to, when the first user exists and the number of the first user is less than the number of the second user, determine a third user from the second users, and after releasing the third user, connect the first user to the base station; the number of the third user is equal to the number of the first user; The third user is the user among the second users whose user value score is lower than the preset value score; the user value score is positively correlated with the average user spending amount and negatively correlated with the amount of user resource allocation; The determining unit is further configured to, if the first user does not exist, determine the credit score of each user among the second user and the fourth user requesting access to the base station; the service type requested by the fourth user is the second type. Based on the credit scores of each of the second and fourth users, a fifth user is determined from the second users, and a sixth user is determined from the fourth users; the number of fifth users is equal to the number of sixth users, the credit score of the fifth user is less than a preset credit score, and the credit score of the sixth user is greater than or equal to the preset credit score; the fifth user is released, and the sixth user is connected to the base station.
7. The access device according to claim 6, characterized in that, The determining unit is further configured to determine a preset credit score, including: Based on the credit scores of each of the second user and the fourth user, a descending sequence of credit scores is determined; The credit scores whose sort number in the descending sequence of credit scores is equal to the first target number are determined as the preset credit scores; wherein, the first target number is equal to the number of the second users.
8. The access device according to claim 7, characterized in that, The acquisition unit is also used for, Obtain the education score, payment credit score, remaining phone bill score, and third-party credit score of each user in the second user and the fourth user; a user's education score is used to reflect the user's education level, a user's payment credit score is used to reflect whether the user pays the fees on time, a user's remaining phone bill score is used to reflect the amount of the user's remaining phone bill, and a user's third-party credit score is used to reflect the credit score of the user's contacts. The determining unit is further configured to determine the credit score of each user in the second user and the fourth user based on the education score, payment credit score, remaining call credit score, and third-party credit score of each user in the second user and the fourth user.
9. The access device according to any one of claims 6-8, characterized in that, The acquisition unit is also used for, The number of user resources allocated includes the number of resources allocated by the base station to users within a preset time period; The determining unit is further configured to determine a preset value score, including: Based on the user value score of each user in the second user group, a descending sequence of user value scores is determined; The user value scores whose sequence numbers are equal to the second target number in the descending sequence of user value scores are determined as the preset value scores; wherein, the second target number is the difference between the first number of users and the second number of users.
10. The access device according to claim 9, characterized in that, The processing unit is specifically used for: After the second user is released, the first user is connected to the base station according to the order in which the first user requested access to the base station.
11. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the method as described in any one of claims 1 to 5.
12. A computer-readable storage medium, characterized in that, When the computer-executable instructions stored in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is capable of performing the method as described in any one of claims 1 to 5.