CN113840351A - Data processing method, device and equipment - Google Patents

Data processing method, device and equipment Download PDF

Info

Publication number
CN113840351A
CN113840351A CN202111130483.3A CN202111130483A CN113840351A CN 113840351 A CN113840351 A CN 113840351A CN 202111130483 A CN202111130483 A CN 202111130483A CN 113840351 A CN113840351 A CN 113840351A
Authority
CN
China
Prior art keywords
network
state
module
network module
target area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111130483.3A
Other languages
Chinese (zh)
Inventor
柳春阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ziguang Zhanrui Communication Technology Co Ltd
Original Assignee
Beijing Ziguang Zhanrui Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Ziguang Zhanrui Communication Technology Co Ltd filed Critical Beijing Ziguang Zhanrui Communication Technology Co Ltd
Priority to CN202111130483.3A priority Critical patent/CN113840351A/en
Publication of CN113840351A publication Critical patent/CN113840351A/en
Priority to PCT/CN2022/118547 priority patent/WO2023045807A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • H04W48/04Access restriction performed under specific conditions based on user or terminal location or mobility data, e.g. moving direction, speed

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a data processing method, a device and equipment, wherein the method comprises the following steps: the method comprises the steps that a first position where a terminal device is located at present is obtained, wherein a first network module is arranged in the terminal device and used for accessing the terminal device into a first network; determining a target area corresponding to the first network module; and determining the network state of the first network module according to the first position and the target area, wherein the network state is an open state or a closed state. The operation complexity of controlling the wireless network connection switch is reduced.

Description

Data processing method, device and equipment
Technical Field
The present application relates to the field of communications, and in particular, to a data processing method, apparatus, and device.
Background
With the application of wireless communication technology, more and more terminal devices are provided with wireless network modules for wireless network connection. For example, the handset may connect to WiFi via a Wireless Fidelity (WiFi) module.
At present, in order to save the electric quantity of the terminal equipment, a user can manually control a switch connected with a wireless network. For example, a user may click a wireless local area network on a setting page of a mobile phone, a page of the mobile phone jumps to a page of the wireless local area network, and the user may control a switch of a WiFi connection on the page of the wireless local area network. However, manual control of the wireless network connection switch is achieved through multiple operations, which results in a high complexity of the operation of controlling the wireless network connection switch.
Disclosure of Invention
The embodiment of the application provides a data processing method, a data processing device and data processing equipment, which are used for solving the technical problem that the operation complexity of controlling a wireless network connection switch in the prior art is high.
In a first aspect, an embodiment of the present application provides a data processing method, where the method includes:
the method comprises the steps that a first position where a terminal device is located at present is obtained, wherein a first network module is arranged in the terminal device and used for accessing the terminal device into a first network;
determining a target area corresponding to the first network module;
and determining the network state of the first network module according to the first position and the target area, wherein the network state is an open state or a closed state.
In a possible implementation, determining the network status of the first network module according to the first location and the target area includes:
if the first position is located in the target area, determining that the network state of the first network module is the starting state;
and if the first position is not located in the target area, determining that the network state of the first network module is the closing state.
In a possible implementation, determining that the network status of the first network module is the on status includes:
acquiring the current network state of the first network module;
if the current network state of the first network module is an open state, controlling the network state of the first network module to be unchanged;
and if the current network state of the first network module is the closed state, switching the network state of the first network module to the open state.
In a possible implementation manner, after the switching the network state of the first network module to the on state, the method further includes:
determining network configuration information corresponding to the target area;
and accessing the first network through the first network module according to the network configuration information.
In a possible implementation, determining that the network status of the first network module is the shutdown status includes:
acquiring the current network state of the first network module;
if the current network state of the first network module is a closed state, controlling the network state of the first network module to be unchanged;
and if the current network state of the first network module is the open state, switching the network state of the first network module to the closed state.
In a possible implementation manner, determining a target area corresponding to the first network module includes:
acquiring historical opening information of the first network module, wherein the historical opening information comprises the historical position of the terminal equipment when the network state of the first network module is in an opening state;
and determining the target area according to the historical opening information.
In a possible implementation manner, determining a target area corresponding to the first network module includes:
acquiring a region pre-configured by a user;
and determining the pre-configured area as the target area.
In one possible embodiment, the first network comprises at least one of: a WiFi network or a bluetooth network.
In a second aspect, an embodiment of the present application provides a data processing apparatus, including an obtaining module, a first determining module, and a second determining module, where:
the acquisition module is used for acquiring a first position where the terminal equipment is located currently, and a first network module is arranged in the terminal equipment and used for accessing the terminal equipment to a first network;
the first determining module is used for determining a target area corresponding to the first network module;
the second determining module is configured to determine a network state of the first network module according to the first position and the target area, where the network state is an on state or an off state.
In a possible implementation manner, the second determining module is specifically configured to:
if the first position is located in the target area, determining that the network state of the first network module is the starting state;
and if the first position is not located in the target area, determining that the network state of the first network module is the closing state.
In a possible implementation manner, the second determining module is specifically configured to:
acquiring the current network state of the first network module;
if the current network state of the first network module is an open state, controlling the network state of the first network module to be unchanged;
and if the current network state of the first network module is the closed state, switching the network state of the first network module to the open state.
In a possible implementation, the data processing apparatus further includes a third determining module, configured to:
determining network configuration information corresponding to the target area;
and accessing the first network through the first network module according to the network configuration information.
In a possible implementation manner, the second determining module is specifically configured to:
acquiring the current network state of the first network module;
if the current network state of the first network module is a closed state, controlling the network state of the first network module to be unchanged;
and if the current network state of the first network module is the open state, switching the network state of the first network module to the closed state.
In a possible implementation manner, the first determining module is specifically configured to:
acquiring historical opening information of the first network module, wherein the historical opening information comprises the historical position of the terminal equipment when the network state of the first network module is in an opening state;
and determining the target area according to the historical opening information.
In a possible implementation manner, the first determining module is specifically configured to:
acquiring a region pre-configured by a user;
and determining the pre-configured area as the target area.
In one possible embodiment, the first network comprises at least one of: a WiFi network or a bluetooth network.
In a third aspect, an embodiment of the present application provides a terminal device, including: a processor, a memory;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored by the memory, causing the processor to perform the data processing method of any one of the first aspects.
In a fourth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the computer-readable storage medium is used to implement the data processing method according to any one of the first aspect.
In a fifth aspect, the invention also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the data processing method according to any one of the preceding claims.
The embodiment of the application provides a data processing method, a data processing device and a terminal device, wherein a first position where the terminal device is located at present is obtained, a first network module is arranged in the terminal device, and the first network module is used for accessing the terminal device into a first network, determining a target area corresponding to the first network module, and determining a network state of the first network module according to the first position and the target area, wherein the network state is an open state or a closed state. According to the method, the terminal equipment can be automatically controlled to be connected into or disconnected from the first network according to the first position of the terminal equipment and the target area corresponding to the first network module, and therefore the operation complexity of controlling the wireless network connection switch is reduced.
Drawings
Fig. 1 is an architecture diagram of a communication system provided in an embodiment of the present application;
fig. 2 is a schematic flowchart of a data processing method according to an embodiment of the present application;
fig. 3 is a schematic diagram of determining a target area according to an embodiment of the present application;
fig. 4A is a schematic diagram illustrating a determination of a network status of a first network module according to an embodiment of the present disclosure;
fig. 4B is a schematic diagram of another method for determining a network status of a first network module according to an embodiment of the present disclosure;
fig. 5A is a schematic diagram of another embodiment of determining a network status of a first network module;
fig. 5B is a schematic diagram of another embodiment of determining a network status of a first network module;
fig. 6 is a flowchart illustrating a method for a terminal device to access a first network according to an embodiment of the present application;
fig. 7 is a schematic process diagram of a data processing method according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present application;
fig. 10 is a schematic diagram of a hardware structure of a terminal device provided in the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
For ease of understanding, the concepts related to the embodiments of the present application will be explained first.
A network device: the device has a wireless transceiving function. Including but not limited to: an evolved Node B (eNB or eNodeB) in a Long Term Evolution (LTE), a base station (gbnodeb or gNB) or TRP in a New Radio (NR), a base station in a subsequent evolution system, an access Node in a wireless fidelity (WiFi) system, a wireless relay Node, a wireless backhaul Node, and the like. The base station may be: macro base stations, micro base stations, pico base stations, small stations, relay stations, or balloon stations, etc. Multiple base stations may support the same technology network as mentioned above, or different technologies networks as mentioned above. The base station may contain one or more co-sited or non co-sited TRPs.
The terminal equipment: the device has a wireless transceiving function. The terminal equipment can be deployed on land, including indoor or outdoor, handheld, wearable or vehicle-mounted; can also be deployed on the water surface (such as a ship and the like); and may also be deployed in the air (e.g., airplanes, balloons, satellites, etc.). The terminal device may be a mobile phone (mobile phone), a tablet computer (Pad), a computer with a wireless transceiving function, a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal in industrial control (industrial control), a vehicle-mounted terminal device, a wireless terminal in self driving (self driving), a wireless terminal in remote medical (remote medical), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), a wearable terminal device, and the like. The terminal device according to the embodiment of the present application may also be referred to as a terminal, a User Equipment (UE), an access terminal device, a vehicle-mounted terminal, an industrial control terminal, a UE unit, a UE station, a mobile station, a remote terminal device, a mobile device, a UE terminal device, a wireless communication device, a UE agent, or a UE apparatus. The terminal equipment may also be fixed or mobile.
In the related art, in order to save the power of the terminal device, a user may manually control a switch of the wireless network connection. For example, if the user is located at a position without a connectable wireless network, the user may turn off the wireless network connection function of the terminal device to save the power of the terminal device. When the user manually closes the wireless network connection function of the terminal equipment, the user can click the wireless local area network in the setting page of the terminal equipment, the page of the terminal equipment jumps to the page of the wireless local area network, and the user can control the switch of the wireless network connection in the page of the wireless local area network. However, manual control of the wireless network connection switch is achieved through multiple operations, which results in a high complexity of the operation of controlling the wireless network connection switch.
In order to solve the technical problem of high complexity of controlling the operation of a wireless network connection switch in the related art, an embodiment of the present application provides a data processing method, where a first location where a terminal device is currently located is obtained, where the terminal device is provided with a first network module, the first network module is used for accessing the terminal device to a first network, and determining a target area corresponding to the first network module, and if the first location is located in the target area, determining that a network state of the first network module is an on state, and if the first location is not located in the target area, determining that the network state of the first network module is an off state. According to the method, the terminal equipment can be automatically controlled to be connected into or disconnected from the first network according to the first position of the terminal equipment and the target area corresponding to the first network module, and therefore the operation complexity of controlling the wireless network connection switch is reduced.
Next, a communication system to which the embodiment of the present application is applied will be described with reference to fig. 1.
Fig. 1 is an architecture diagram of a communication system according to an embodiment of the present application. Please refer to fig. 1, which includes a network device and a terminal device. The network device comprises a network coverage area, when the terminal device is in the network coverage area, the terminal device can be connected with a wireless network provided by the network device, and when the terminal device is not in the network coverage area, the terminal device cannot be connected with the wireless network provided by the network device.
Referring to fig. 1, when the terminal device enters a network coverage area of the network device, the terminal device opens a connection function of the wireless network and connects to the wireless network provided by the network device. Therefore, when the terminal equipment is not in the network coverage area of the network equipment, the terminal equipment can close the connection function of the wireless network so as to save the electric quantity of the terminal equipment, and when the terminal equipment enters the network coverage area of the network equipment, the terminal equipment can automatically access the wireless network provided by the network equipment so as to reduce the operation complexity of controlling the wireless network connection switch.
The technical means shown in the present application will be described in detail below with reference to specific examples. It should be noted that the following embodiments may exist alone or in combination with each other, and description of the same or similar contents is not repeated in different embodiments.
Fig. 2 is a schematic flowchart of a data processing method according to an embodiment of the present application. Referring to fig. 2, the method may include:
s201, acquiring a first position where the terminal device is located currently.
The execution main body of the embodiment of the application can be terminal equipment, and can also be a data processing device arranged in the terminal equipment. Alternatively, the data processing means may be implemented by software, or by a combination of software and hardware.
The terminal equipment is provided with a first network module, and the first network module is used for accessing the terminal equipment to a first network. Optionally, the first network includes at least one of: a WiFi network or a bluetooth network. For example, if the first network is a WiFi network, the first network module is a WiFi module, and the WiFi module is used for controlling the terminal device to connect to the WiFi network; if the first network is a Bluetooth network, the first network module is a Bluetooth module, and the Bluetooth module is used for controlling the terminal equipment to be connected with the Bluetooth network. Optionally, the first network may also be a WiFi network and a bluetooth network. For example, if the first network is a WiFi network and a bluetooth network, the first network module may control the terminal device to connect the WiFi network and the bluetooth network.
The first position is used for indicating the current position information of the terminal equipment. For example, if the terminal device is currently located in a work area, the current first location of the terminal device is the work area, and if the terminal device is currently located in a home area, the current first location of the terminal device is the home area. For example, if the terminal device moves from the work area to the home area, the first location where the terminal device is currently located changes from the work area to the home area within the time period for the terminal device to move from the work area to the home area,
optionally, the first position where the terminal device is currently located may be obtained according to a fusion positioning technology. The fusion Positioning technology includes a Global Positioning System (GPS), a base station Positioning, a WiFi Positioning, a bluetooth Positioning, a sensor Positioning, and the like. For example, the first position where the terminal device is currently located can be obtained in real time through a GPS in the fusion positioning technology. For example, the terminal device may be equipped with a GPS system, and when the GPS system locates the terminal device in the home area, the first location where the terminal device is located is the home area, and when the GPS system locates the terminal device in the work area, the first location where the terminal device is located is the work area. Optionally, the first position where the terminal device is currently located may be an accurate target point on the map, or may also be an area on the map.
S202, determining a target area corresponding to the first network module.
The target area is the area where the first network module accesses the first network. For example, the target area may be a network coverage area of the network device, when the first network module is within the target area range, the first network module may access the first network corresponding to the network device, and when the first network module is not within the target area range, the first network module may not access the first network corresponding to the network device.
The target area corresponding to the first network module may be determined according to the following two possible implementation manners:
one possible implementation is:
and acquiring historical opening information of the first network module. The historical opening information comprises the historical position of the terminal equipment when the network state of the first network module is in the opening state. The network state of the first network module comprises an opening state and a closing state. The open state is used for indicating that the first network module can be connected with the first network, and the close state is used for indicating that the first network module can not be connected with the first network. For example, if the network state of the WiFi network module of the terminal device is an on state, the terminal device may connect to the WiFi network, and if the network state of the WiFi network module of the terminal device is an off state, the terminal device may not connect to the WiFi network. The historical location is historical location information of the terminal device. For example, if the terminal device opens the first network module in the home zone in the past week, the historical location of the terminal device is the home zone. For example, the historical opening information may be as shown in table 1:
TABLE 1
Historical network status Historical location
Open state Position 1
Open state Position 2
Open state Position 3
…… ……
It should be noted that table 1 illustrates the historical opening information by way of example only, and does not limit the historical opening information.
For example, as can be seen from table 1, in the historical period, when the terminal device is located at position 1, the network state of the first network module of the terminal device is in the on state, when the terminal device is located at position 2, the network state of the first network module of the terminal device is in the on state, and when the terminal device is located at position 3, the network state of the first network module of the terminal device is in the on state.
And determining a target area according to the historical opening information. For example, the target area is determined according to the historical position of the terminal device when the first network module is started in the historical time period. Optionally, the historical position in the historical opening information may be determined as the target area corresponding to the first network module. For example, if the history location in the history opening information is a home area, the home area may be determined as a target area corresponding to the first network module. Optionally, the target area corresponding to the first network module may be determined within a preset range of the historical position in the historical opening information. For example, a range of 10 meters of each historical location in the historical opening information may be determined as the target area corresponding to the first network module.
Optionally, the target area corresponding to the first network module may be determined according to the plurality of historical positions. For example, an area surrounded by the plurality of historical locations may be determined as a target area corresponding to the first network module.
Next, a process of determining a target area corresponding to the first network module according to the plurality of historical positions will be described with reference to fig. 3.
Fig. 3 is a schematic diagram of determining a target area according to an embodiment of the present application. Please refer to fig. 3, which includes a map area. The map area comprises a historical position A, a historical position B, a historical position C and a historical position D. And when the terminal equipment is at the historical position A, the historical position B, the historical position C and the historical position D, the network state of the first network module is in an open state.
Referring to fig. 3, the historical position a, the historical position B, the historical position C, and the historical position D are connected to obtain a first area. And determining the first area as a target area corresponding to the first network module. Therefore, when the terminal equipment enters the target area, the first network module of the terminal equipment can be connected with the wireless network signal sent by the network equipment in the target area, and the terminal equipment opens the first network module at the historical position A, the historical position B, the historical position C and the historical position D, so that the target area corresponding to the first network module can be accurately and effectively determined.
Another possible implementation:
and acquiring a region pre-configured by a user, and determining the pre-configured region as a target region. The pre-configured area is a target area pre-configured by the user according to the signal intensity of each network device. For example, after the signal range of the network device a is within 10 meters and the signal range of the network device B is 30 meters, the user may determine that the signal range of the network device a is within 10 meters and the signal range of the network device B is within 30 meters as the target area corresponding to the first network module.
In the feasible implementation manner, a user can accurately configure the target area corresponding to the first network module according to the signal coverage area of each network device, so that when the terminal device enters the target area, the first network module of the terminal device can accurately connect the corresponding network device, and further, the network state of the first network module can be accurately controlled.
S203, determining the network state of the first network module according to the first position and the target area.
The network state is an on state or an off state. When the network state of the first network module is an open state, the first network module can be accessed to the first network, and when the network state of the first network module is a closed state, the first network module cannot be accessed to the first network.
According to the first position and the target area, the network state of the first network module is determined, and the following two conditions are provided:
case 1: the first location is within the target region.
And if the first position is located in the target area, determining that the network state of the first network module is an open state. For example, if the first location where the terminal device is currently located is located in the target area, the network state of the first network module is an open state, and the first network module may be connected to the first network. For example, if the first location where the terminal device is currently located is located in the target area, the terminal device may connect to a WiFi network and a bluetooth network in the target area.
Optionally, the network state of the first network module may be determined to be an open state according to the following feasible implementation manners: and acquiring the current network state of the first network module. The current network state of the first module is the network state of the first network module when the terminal equipment is located at the first position. For example, when the terminal device is located at the first location, if the network state of the first network module of the terminal device is an open state, the current network state of the first network module is the open state, and if the network state of the first network module of the terminal device is a closed state, the current network state of the first network module is the closed state.
And if the current network state of the first network module is the opening state, controlling the network state of the first network module to be unchanged. For example, if the current network state of the first network module is the open state, it indicates that the last first location of the terminal device is located in the target area corresponding to the first network module, and the state of the first network module is the open state, at this time, the terminal device does not need to change the network state of the first network module.
And if the current state of the first network module is the closed state, switching the network state of the first network module into the open state. For example, if the current state of the first network module is an off state, it indicates that the last first location of the terminal device is not in the target area corresponding to the first network module, and the state of the first network module is an off state, at this time, the terminal device needs to switch the network state of the first network module to an on state to connect to the first network.
Next, a process of determining the network status of the first network module in this case will be described with reference to fig. 4A to 4B.
Fig. 4A is a schematic diagram illustrating a determination of a network status of a first network module according to an embodiment of the disclosure. See fig. 4A, including the target area, location a and location B. The position B is a first position currently acquired by the terminal equipment, the position A is a first position last acquired by the terminal equipment, and both the position A and the position B are within the range of the target area.
Referring to fig. 4A, since the location a is located in the target area range, when the terminal device is located at the location a, the network state of the first network module is already switched to the on state, and when the terminal device moves from the location a to the location B, since the location B is also located in the target area range and the network state of the first network module is already in the on state, at this time, the terminal device controls the network state of the first network module to be unchanged, and the network state of the first network module is in the on state.
Fig. 4B is a schematic diagram of another method for determining a network status of a first network module according to an embodiment of the present disclosure. See fig. 4B, including the target area, location a, and location B. The position B is a first position currently acquired by the terminal equipment, the position A is a first position last acquired by the terminal equipment, the position A is not in the range of the target area, and the position B is in the range of the target area.
Referring to fig. 4B, since the location a is not within the target area range, when the terminal device is at the location a, the network state of the first network module is in the off state, and when the terminal device moves from the location a to the location B, since the location B is within the target area range and the network state of the first network module is in the off state, at this time, the terminal device switches the network state of the first network module to the on state.
In this case, if the first location is within the target area, the network state of the first network module is accurately controlled through the current network state of the first network module, and the power of the terminal device is saved.
Case 2: the first location is not within the target area.
And if the first position is not located in the target area, determining that the network state of the first network module is a closed state. For example, if the first location where the terminal device is currently located is not located in the target area, the network state of the first network module is an off state, and the first network module cannot be connected to the first network. For example, if the first location where the terminal device is currently located is not located in the target area, the terminal device cannot connect to the WiFi network and the bluetooth network in the target area.
Optionally, the network state of the first network module may be determined to be a closed state according to the following feasible implementation manners: and acquiring the current network state of the first network module. The current network state of the first module is the network state of the first network module when the terminal equipment is located at the first position. For example, when the terminal device is located at the first location, if the network state of the first network module of the terminal device is an open state, the current network state of the first network module is the open state, and if the network state of the first network module of the terminal device is a closed state, the current network state of the first network module is the closed state.
And if the current network state of the first network module is the closed state, controlling the network state of the first network module to be unchanged. For example, if the current network state of the first network module is the closed state, it indicates that the last first location of the terminal device is not in the target area corresponding to the first network module, and the state of the first network module is already the closed state, and at this time, the terminal device does not need to change the network state of the first network module.
And if the current state of the first network module is the opening state, switching the network state of the first network module into the closing state. For example, if the current state of the first network module is an open state, it indicates that the last first location of the terminal device is located in the target area corresponding to the first network module, and the state of the first network module is open, at this time, the terminal device needs to switch the network state of the first network module to a closed state, so as to save the power of the terminal device.
In this case, if the first location is not in the target area, the network state of the first network module is accurately controlled through the current network state of the first network module, and the electric quantity of the terminal device is saved.
Next, a process of determining the network status of the first network module in this case will be described with reference to fig. 5A to 5B.
Fig. 5A is a schematic diagram of another method for determining a network status of a first network module according to an embodiment of the present disclosure. Referring to fig. 5A, a target area, a position a and a position B are included. The position B is a first position currently acquired by the terminal equipment, the position A is a first position last acquired by the terminal equipment, and both the position A and the position B are not in the range of the target area.
Referring to fig. 5A, since the location a is not within the target area range, when the terminal device is at the location a, the network state of the first network module is already switched to the off state, and when the terminal device moves from the location a to the location B, since the location B is not within the target area range, and the network state of the first network module is already in the off state, at this time, the terminal device controls the network state of the first network module to be unchanged, and the network state of the first network module is in the off state.
Fig. 5B is a schematic diagram of another method for determining a network status of a first network module according to an embodiment of the present disclosure. See fig. 5B, which includes the target area, location a and location B. The position B is a first position currently acquired by the terminal equipment, the position A is a first position last acquired by the terminal equipment, the position A is in the range of the target area, and the position B is not in the range of the target area.
Referring to fig. 5B, since the location a is within the target area range, when the terminal device is at the location a, the network state of the first network module is in an open state, and when the terminal device moves from the location a to the location B, since the location B is not within the target area range and the network state of the first network module is in an open state, at this time, the terminal device switches the network state of the first network module to a closed state.
The embodiment of the application provides a data processing method, a first position where a terminal device is located at present is obtained, a first network module is arranged in the terminal device, the first network module is used for the terminal device to access a first network, the first network is a WiFi network or a Bluetooth network, a region configured in advance by a user is obtained, the region configured in advance is determined to be a target region corresponding to the first network module, if the first position is located in the target region, the network state of the first network module is determined to be an open state, and if the first position is not located in the target region, the network state of the first network module is determined to be a closed state. Therefore, when the terminal device is located in the target area, the terminal device can set the network state of the first network module to be in an open state, the terminal device can be connected with the first network in the target area, when the terminal device leaves the target area, the terminal device sets the network state of the first network module to be in a close state, the electric quantity of the terminal device is saved, the network state of the first network module does not need to be manually adjusted by a user, and the operation complexity of controlling a wireless network connection switch is reduced.
On the basis of any of the above embodiments, after the network state of the first network module is switched to the on state, the embodiment of the present application further includes a process that the terminal device accesses the first network through the first network module, and a method for the terminal device to access the first network through the first network module is described below with reference to fig. 6.
Fig. 6 is a flowchart illustrating a method for a terminal device to access a first network according to an embodiment of the present application.
Referring to fig. 6, the method includes:
s601, determining network configuration information corresponding to the target area.
The network configuration information is information of a first network connectable within the target area. For example, the network configuration information may be a network name of a first network connectable within the target area, and the network name may be a network ID. Optionally, the user may configure corresponding network configuration information for each target area in advance. For example, the network configuration information corresponding to the target area a is a first network a and a first network B, and the network configuration information corresponding to the target area B is a first network C and a first network D.
Optionally, the network configuration information corresponding to the target area may be determined according to the following feasible implementation manners: and acquiring the identifier of the target area and a first preset relation. The identifier of the target area may be identity information of the target area preset by the user. For example, the identification of the target area may be an ID of the target area. The first preset relationship comprises at least one target area identifier and network configuration information corresponding to each target area identifier. For example, the first preset relationship may be as shown in table 2:
TABLE 2
Identification of target area Network configuration information
Identification 1 Network configuration information 1
Identification 2 Network configuration information 2
Identification 3 Network configuration information 3
…… ……
It should be noted that table 2 illustrates the first preset relationship by way of example only, and does not limit the first preset relationship.
And determining the network configuration information corresponding to the target area according to the identification of the target area and the network configuration information. For example, if the identifier of the target area is identifier 1, the network configuration information corresponding to the target area is network configuration information 1, if the identifier of the target area is identifier 2, the network configuration information corresponding to the target area is network configuration information 2, and if the identifier of the target area is identifier 3, the network configuration information corresponding to the target area is network configuration information 3.
S602, accessing the first network through the first network module according to the network configuration information.
Optionally, an order of accessing the first network may be set in the network configuration information in advance, and then the first network is accessed according to the order of accessing the first network. For example, the network configuration information corresponding to the target area includes a first network a and a first network B, if the order of accessing the first network is the first network a and the first network B, the terminal device accesses the first network a through the first network module first, and when the terminal device does not successfully access the first network a, the terminal device accesses the first network B through the first network module.
Optionally, the terminal may determine, according to the signal strength of each first network in the network configuration information, an order in which the first network module accesses the first network. For example, the terminal device may access the first network in order from high signal strength to low signal strength of the first network. For example, the network configuration information corresponding to the target area includes a first network a and a first network B, if the signal intensity of the first network a is greater than the signal intensity of the first network B, the terminal device first accesses the first network a through the first network module, and when the terminal device does not successfully access the first network a, the terminal device accesses the first network B through the first network module.
The embodiment of the application provides a method for accessing a terminal device to a first network, which includes determining network configuration information corresponding to a target area, and accessing the first network through a first network module according to the network configuration information. Therefore, when the network state of the first network module of the terminal equipment is determined to be the starting state, the terminal equipment can try to connect the first network in sequence according to the signal intensity of the first network in the target area, so that the flexibility of accessing the terminal equipment to the first network is improved, and the operation complexity of controlling the wireless network connection switch is further reduced.
On the basis of any of the above embodiments, the following describes the procedure of the above data processing method with reference to fig. 7.
Fig. 7 is a process diagram of a data processing method according to an embodiment of the present application. Referring to fig. 7, the target area corresponding to the first network module of the terminal device and the current location a of the terminal device are included. Wherein position a is not within the range of the target area. Since the position a is not within the range of the target area, the network status of the first network module of the terminal device is in an off state.
Referring to fig. 7, the terminal device moves from position a to position B. Wherein position B is within the target area. When the terminal device moves to the range of the target area, the state of the first network module is an open state. Because the network state of the first network module of the terminal device at the position a is the closed state, the network state of the first network module is switched to the open state when the terminal device is at the position B.
Referring to fig. 7, the terminal device moves from position B to position C. Wherein the position C is not within the range of the target area. And when the terminal equipment leaves the target area, the network state of the first network module is a closed state. Since the network state of the first network module at the location B of the terminal device is the on state, the network state of the first network module is switched to the off state when the terminal device is at the location C. Therefore, when the terminal device is located in the target area, the terminal device can set the network state of the first network module to be in an open state, the terminal device can be connected with the first network in the target area, when the terminal device leaves the target area, the terminal device sets the network state of the first network module to be in a close state, the electric quantity of the terminal device is saved, the network state of the first network module does not need to be manually adjusted by a user, and the operation complexity of controlling a wireless network connection switch is reduced.
Fig. 8 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application. Referring to fig. 8, the data processing apparatus 10 includes an obtaining module 11, a first determining module 12, and a second determining module 13, wherein:
the obtaining module 11 is configured to obtain a first position where a terminal device is currently located, where the terminal device is provided with a first network module, and the first network module is used for accessing the terminal device to a first network;
the first determining module 12 is configured to determine a target area corresponding to the first network module;
the second determining module 13 is configured to determine a network state of the first network module according to the first position and the target area, where the network state is an open state or a closed state.
In a possible implementation manner, the second determining module 13 is specifically configured to:
if the first position is located in the target area, determining that the network state of the first network module is the starting state;
and if the first position is not located in the target area, determining that the network state of the first network module is the closing state.
In a possible implementation manner, the second determining module 13 is specifically configured to:
acquiring the current network state of the first network module;
if the current network state of the first network module is an open state, controlling the network state of the first network module to be unchanged;
and if the current network state of the first network module is the closed state, switching the network state of the first network module to the open state.
The data processing apparatus provided in the embodiment of the present application may execute the technical solutions shown in the foregoing method embodiments, and the implementation principles and beneficial effects thereof are similar and will not be described herein again.
The data processing device shown in the embodiment of the present application may be a chip, a hardware module, a processor, and the like. Of course, the data processing device may have other forms, and the embodiment of the present application is not particularly limited thereto.
Fig. 9 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present application. On the basis of the embodiment shown in fig. 8, please refer to fig. 9, the data processing apparatus 10 further includes a third determining module 14, where the third determining module 14 is configured to:
determining network configuration information corresponding to the target area;
and accessing the first network through the first network module according to the network configuration information.
In a possible implementation manner, the second determining module 13 is specifically configured to:
acquiring the current network state of the first network module;
if the current network state of the first network module is a closed state, controlling the network state of the first network module to be unchanged;
and if the current network state of the first network module is the open state, switching the network state of the first network module to the closed state.
In a possible implementation, the first determining module 12 is specifically configured to:
acquiring historical opening information of the first network module, wherein the historical opening information comprises the historical position of the terminal equipment when the network state of the first network module is in an opening state;
and determining the target area according to the historical opening information.
In a possible implementation, the first determining module 12 is specifically configured to:
acquiring a region pre-configured by a user;
and determining the pre-configured area as the target area.
In one possible embodiment, the first network comprises at least one of: a WiFi network or a bluetooth network.
The data processing apparatus provided in the embodiment of the present application may execute the technical solutions shown in the foregoing method embodiments, and the implementation principles and beneficial effects thereof are similar and will not be described herein again.
The data processing device shown in the embodiment of the present application may be a chip, a hardware module, a processor, and the like. Of course, the data processing device may have other forms, and the embodiment of the present application is not particularly limited thereto.
Fig. 10 is a schematic diagram of a hardware structure of a terminal device provided in the present application. Referring to fig. 10, the terminal device 20 may include: a processor 21 and a memory 22, wherein the processor 21 and the memory 22 may communicate; illustratively, the processor 21 and the memory 22 communicate via a communication bus 23, the memory 22 being configured to store program instructions, and the processor 21 being configured to call the program instructions in the memory to perform the data processing method shown in any of the above-described method embodiments.
Optionally, the terminal device 20 may further comprise a communication interface, which may comprise a transmitter and/or a receiver.
Optionally, the Processor may be a Central Processing Unit (CPU), or may be another general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor, or in a combination of the hardware and software modules in the processor.
A readable storage medium having a computer program stored thereon; the computer program is for implementing a data processing method as described in any of the embodiments above.
The embodiment of the application provides a computer program product, which comprises instructions, and when the instructions are executed, the instructions cause a computer to execute the data processing method.
All or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The aforementioned program may be stored in a readable memory. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state disk, magnetic tape (magnetic tape), floppy disk (flexible disk), optical disk (optical disk), and any combination thereof.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, embedded processor, or other programmable terminal device to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable terminal device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable terminal equipment to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable terminal device to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the embodiments of the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to encompass such modifications and variations.
In the present application, the terms "include" and variations thereof may refer to non-limiting inclusions; the term "or" and variations thereof may mean "and/or". The terms "first," "second," and the like in this application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. In the present application, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.

Claims (12)

1. A data processing method, comprising:
the method comprises the steps that a first position where a terminal device is located at present is obtained, wherein a first network module is arranged in the terminal device and used for accessing the terminal device into a first network;
determining a target area corresponding to the first network module;
and determining the network state of the first network module according to the first position and the target area, wherein the network state is an open state or a closed state.
2. The method of claim 1, wherein determining the network status of the first network module based on the first location and the target area comprises:
if the first position is located in the target area, determining that the network state of the first network module is the starting state;
and if the first position is not located in the target area, determining that the network state of the first network module is the closing state.
3. The method of claim 2, wherein determining that the network status of the first network module is the open status comprises:
acquiring the current network state of the first network module;
if the current network state of the first network module is an open state, controlling the network state of the first network module to be unchanged;
and if the current network state of the first network module is the closed state, switching the network state of the first network module to the open state.
4. The method according to claim 3, wherein after switching the network status of the first network module to the on status, further comprising:
determining network configuration information corresponding to the target area;
and accessing the first network through the first network module according to the network configuration information.
5. The method of claim 2, wherein determining that the network status of the first network module is the off status comprises:
acquiring the current network state of the first network module;
if the current network state of the first network module is a closed state, controlling the network state of the first network module to be unchanged;
and if the current network state of the first network module is the open state, switching the network state of the first network module to the closed state.
6. The method according to any of claims 1-5, wherein determining the target area corresponding to the first network module comprises:
acquiring historical opening information of the first network module, wherein the historical opening information comprises the historical position of the terminal equipment when the network state of the first network module is in an opening state;
and determining the target area according to the historical opening information.
7. The method according to any of claims 1-5, wherein determining the target area corresponding to the first network module comprises:
acquiring a region pre-configured by a user;
and determining the pre-configured area as the target area.
8. The method of any of claims 1-7, wherein the first network comprises at least one of: a WiFi network or a bluetooth network.
9. A data processing apparatus, comprising an obtaining module, a first determining module, and a second determining module, wherein:
the acquisition module is used for acquiring a first position where the terminal equipment is located currently, and a first network module is arranged in the terminal equipment and used for accessing the terminal equipment to a first network;
the first determining module is used for determining a target area corresponding to the first network module;
the second determining module is configured to determine a network state of the first network module according to the first position and the target area, where the network state is an on state or an off state.
10. A terminal device, comprising: a processor, a memory;
the memory stores computer-executable instructions;
the processor executing the computer-executable instructions stored by the memory causes the processor to perform the data processing method of any of claims 1 to 8.
11. A computer-readable storage medium having stored thereon computer-executable instructions for implementing the data processing method of any one of claims 1 to 8 when executed by a processor.
12. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, carries out the data processing method of any one of claims 1 to 8.
CN202111130483.3A 2021-09-26 2021-09-26 Data processing method, device and equipment Pending CN113840351A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111130483.3A CN113840351A (en) 2021-09-26 2021-09-26 Data processing method, device and equipment
PCT/CN2022/118547 WO2023045807A1 (en) 2021-09-26 2022-09-13 Data processing method and apparatus, and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111130483.3A CN113840351A (en) 2021-09-26 2021-09-26 Data processing method, device and equipment

Publications (1)

Publication Number Publication Date
CN113840351A true CN113840351A (en) 2021-12-24

Family

ID=78970536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111130483.3A Pending CN113840351A (en) 2021-09-26 2021-09-26 Data processing method, device and equipment

Country Status (2)

Country Link
CN (1) CN113840351A (en)
WO (1) WO2023045807A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023045807A1 (en) * 2021-09-26 2023-03-30 北京紫光展锐通信技术有限公司 Data processing method and apparatus, and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104244371A (en) * 2013-06-09 2014-12-24 中兴通讯股份有限公司 Method and system for starting WIFI module
CN104394513A (en) * 2014-12-18 2015-03-04 中科创达软件股份有限公司 Control method and device for mobile terminal to access wireless network
CN106507299A (en) * 2016-10-31 2017-03-15 乐视控股(北京)有限公司 A kind of networking control method of terminal, device and electronic equipment
CN110312044A (en) * 2019-07-18 2019-10-08 深圳传音控股股份有限公司 Control method, mobile terminal and the storage medium of mobile terminal WIFI module
CN112423227A (en) * 2019-08-21 2021-02-26 中兴通讯股份有限公司 Intelligent power saving method and system for 5G terminal, terminal device and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9521519B2 (en) * 2014-07-02 2016-12-13 Mediatek Inc. Mobile communication devices and context-based geofence control methods thereof
SE544279C2 (en) * 2017-09-07 2022-03-22 Scania Cv Ab Method and control arrangement for activation of a communication device
US10187745B1 (en) * 2017-09-19 2019-01-22 Comcast Cable Communications, Ltd. System and method for energy efficient geofencing implementation and management
CN111356081B (en) * 2020-02-27 2022-01-11 广州羊城通有限公司 Bluetooth starting control method and device
CN113840351A (en) * 2021-09-26 2021-12-24 北京紫光展锐通信技术有限公司 Data processing method, device and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104244371A (en) * 2013-06-09 2014-12-24 中兴通讯股份有限公司 Method and system for starting WIFI module
CN104394513A (en) * 2014-12-18 2015-03-04 中科创达软件股份有限公司 Control method and device for mobile terminal to access wireless network
CN106507299A (en) * 2016-10-31 2017-03-15 乐视控股(北京)有限公司 A kind of networking control method of terminal, device and electronic equipment
CN110312044A (en) * 2019-07-18 2019-10-08 深圳传音控股股份有限公司 Control method, mobile terminal and the storage medium of mobile terminal WIFI module
CN112423227A (en) * 2019-08-21 2021-02-26 中兴通讯股份有限公司 Intelligent power saving method and system for 5G terminal, terminal device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023045807A1 (en) * 2021-09-26 2023-03-30 北京紫光展锐通信技术有限公司 Data processing method and apparatus, and device

Also Published As

Publication number Publication date
WO2023045807A1 (en) 2023-03-30

Similar Documents

Publication Publication Date Title
US20210377845A1 (en) Tracking area determining method, terminal device, and core network device
CN109769412B (en) Method for configuring frequency priority, terminal equipment, base station and core network equipment
CN111556536B (en) BWP switching method and communication device
CN105308908A (en) Reducing network service scan time by a wireless communication device
JP6580839B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM
US20170078839A1 (en) Terminal switching method, access device, terminal, and system
WO2021003698A1 (en) Cell reselection method and apparatus, mobile terminal, and storage medium
US11825552B2 (en) Information transmission method, device and system, and storage medium
CN105813128A (en) Circuit domain fallback failure positioning method, device and system
CN113840351A (en) Data processing method, device and equipment
US11115987B2 (en) Method and apparatus for controlling network devices providing network services for a plurality of over-the-air areas
CN104320757A (en) A paging method based on geographic position in cluster wireless communication system
CN104205910A (en) Mobile communication terminals, method for using a communication service and method for determining information related to a geographical position of a mobile communication terminal
CN103987041A (en) Small Cell base station position access limiting method, device and system
CN111050380A (en) Hotspot opening method and device, terminal equipment and storage medium
US9185609B2 (en) Handover control system and handover control method for femtocells
CN112469029B (en) Service processing method, device and equipment
CN110769407A (en) Search and rescue positioning method and device
CN109479223B (en) Switching method and device
JP2019009675A (en) Information processing device, program, communication terminal, and communication system
CN110621024B (en) Automatic distribution method of AP (Access Point) equipment in WIFI (Wireless Fidelity) park
CN113873600A (en) Method, device, terminal, storage medium and program product for switching sidelink
CN112423335A (en) Communication method and device
CN104918229A (en) Base station identity determining method and base station identity determining device
CN111356154B (en) Method and device for determining communication range

Legal Events

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