Object access method and device

By sending a request message when the movement parameters of the electronic device reach the preset value, the access information of the target object is obtained, and the response message matching the movement parameters is used to directly access the object, which solves the problem of cumbersome operation of the electronic device to access the object and simplifies the operation. and efficiency improvement.

CN113722118BActive Publication Date: 2025-01-10VIVO MOBILE COMM HANGZHOU CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110825712.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-21
Publication Date
2025-01-10
Estimated Expiration
2041-07-21

Smart Images

  • Figure CN113722118B_ABST
    Figure CN113722118B_ABST
Patent Text Reader

Abstract

The present application discloses an object access method and device, belonging to the field of communication technology. The method includes: sending a first message when a first preset condition is met, the first message is used to request access information of a target object, the first message includes first time information and a first movement parameter of a first electronic device within a first time range, and the first time information is used to indicate the first time range; receiving a second message sent by a second electronic device, the second message is a message sent by the second electronic device when the first movement parameter matches the second movement parameter, the second message includes target access information, and the target access information is the access information currently used by the second electronic device to access the target object; based on the target access information, access the target object; wherein the first preset condition includes: the peak value of the first movement parameter is greater than or equal to the preset parameter value; the target object is an application or a network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to an object access method and device. Background Art

[0002] With the continuous development of communication technology, the functions of electronic devices are becoming more and more abundant. For example, electronic devices can access objects, such as logging into applications and connecting to the network.

[0003] For example, taking the connection of an electronic device to a network as an example, when a user requires his electronic device to connect to a network (hereinafter referred to as network a), the user can first trigger the electronic device to display an interface of a setting application, and then input the wireless local area network WLAN (Wireless Local Area Networks, WLAN) identifier in the interface to trigger the display of the WLAN setting interface, so that the user can click on the virtual switch in the WLAN setting interface to trigger the opening of the WLAN function, so that the electronic device can display at least one network identifier (such as the name of the network or account information) in the WLAN setting interface. If the above-mentioned at least one network identifier includes the identifier of network a, then the user can click on the identifier of network a to trigger the display of the connection interface of network a, and after the user enters the password information of network a in the connection interface, the electronic device can connect to network a.

[0004] However, according to the above method, since the above series of operations may be required to trigger the electronic device to access the object that meets the user's usage needs when the user requires the electronic device to access an object, the operation process of the electronic device accessing the object is relatively cumbersome. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide an object access method and device, which can solve the problem that the operation process of electronic devices accessing objects is relatively complicated.

[0006] In a first aspect, an embodiment of the present application provides an object access method, which is applied to a first electronic device, and the method includes: sending a first message when a first preset condition is met, the first message is used to request access information of a target object, the first message includes first time information and a first movement parameter of the first electronic device within a first time range, and the first time information is used to indicate the first time range; receiving a second message sent by a second electronic device, the second message is a message sent by the second electronic device when the first movement parameter matches the second movement parameter, the second message includes target access information, and the target access information is the access information currently used by the second electronic device to access the target object; based on the target access information, accessing the target object; wherein the first preset condition includes: the peak value of the first movement parameter is greater than or equal to the preset parameter value; the target object is an application or a network.

[0007] In a second aspect, an embodiment of the present application provides an object access method, which is applied to a second electronic device, the method comprising: receiving a first message sent by a first electronic device, the first message being used to request access information of a target object, the first message comprising first time information and a first movement parameter of the first electronic device within a first time range, the first time information being used to indicate the first time range; sending a second message when the first movement parameter matches a second movement parameter of the second electronic device within the first time range, the second message comprising target access information, the target access information being the access information currently used by the second electronic device to access the target object.

[0008] In a third aspect, an embodiment of the present application provides an object access device, which includes a sending module, a receiving module and an access module; the sending module is used to send a first message when a first preset condition is met, the first message is used to request access information of the target object, the first message includes first time information and a first movement parameter of the first electronic device within a first time range, and the first time information is used to indicate the first time range; the receiving module is used to receive a second message sent by a second electronic device, the second message is a message sent by the second electronic device when the first movement parameter matches the second movement parameter, the second message includes target access information, and the target access information is the access information currently used by the second electronic device to access the target object; the access module is used to access the target object based on the target access information; wherein the first preset condition includes: the peak value of the first movement parameter is greater than or equal to the preset parameter value; the target object is an application or a network.

[0009] In a fourth aspect, an embodiment of the present application provides a device for object access, which may include a receiving module and a sending module. The receiving module is used to receive a first message sent by a first electronic device, the first message is used to request access information of a target object, the first message includes first time information and a first movement parameter of the first electronic device within a first time range, the first time information is used to indicate the first time range; the sending module is used to send a second message when the first movement parameter matches a second movement parameter of a second electronic device within the first time range, the second message includes target access information, and the target access information is the access information currently used by the second electronic device to access the target object.

[0010] In a fifth aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and the program or instruction, when executed by the processor, implements the steps of the method of the first aspect or the second aspect.

[0011] In a sixth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method of the first aspect or the second aspect are implemented.

[0012] In the seventh aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the method of the first aspect or the second aspect.

[0013] In an embodiment of the present application, when a first preset condition is met, a first message is sent, the first message is used to request access information of a target object, the first message includes first time information and a first movement parameter of a first electronic device within a first time range, and the first time information is used to indicate the first time range; a second message sent by a second electronic device is received, the second message includes target access information, and the target access information is the access information currently used by the second electronic device to access the target object; based on the target access information, the target object is accessed; wherein the first preset condition includes: the peak value of the first movement parameter is greater than or equal to the preset parameter value; the target object is an application or a network; the second movement parameter of the second electronic device within the first time range matches the first movement parameter. Through this scheme, when the user of the first electronic device requires the first electronic device to access the target object, the first electronic device can first send a first message to request access information of the target object when the first movement parameter of the first electronic device includes a parameter value greater than or equal to the preset value, and then access the target object according to the second message including the target access information sent by the second electronic device, without having to first find the access interface of the target object and enter the access information in the access interface as in the traditional technology, so the operation process of the electronic device accessing the object can be simplified. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 A flowchart of a method for object access provided in an embodiment of the present application;

[0015] Figure 2 One of the interface diagrams of the object access method application provided in the embodiment of the present application;

[0016] Figure 3 The second interface diagram of the object access method application provided in the embodiment of the present application;

[0017] Figure 4 One of the schematic diagrams of the object access device provided in the embodiment of the present application;

[0018] Figure 5 A second schematic diagram of an object access device provided in an embodiment of the present application;

[0019] Figure 6 A schematic diagram of an electronic device provided in an embodiment of the present application;

[0020] Figure 7 A hardware schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0021] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0022] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here. In addition, the "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated with each other are in an "or" relationship.

[0023] The object access method, device and electronic device provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.

[0024] The object access method provided in the embodiment of the present application can be applied to the scenario of accessing objects in an electronic device.

[0025] In traditional technology, when a user requires his electronic device to access an object, for example, to connect to a wireless local area network Wi-Fi (Wireless Fidelity, Wi-Fi), the user needs to first find the name of the Wi-Fi to be connected in his electronic device, and then enter the Wi-Fi password in the Wi-Fi connection interface for authentication, and then connect to the network after success. Alternatively, the user turns on Wi-Fi and Bluetooth in some systems (for example, iOS system), first adds the ID of the device that needs to connect to Wi-Fi to the address book of the user's electronic device, and then brings the two devices close together. After authorization by the connected device, Wi-Fi can be shared. However, according to the above method, due to too many operating steps, the operation process of electronic devices accessing objects is relatively cumbersome.

[0026] In the object access method provided in the embodiment of the present application, when a user requires his electronic device (hereinafter referred to as electronic device A, such as the first electronic device in the embodiment of the present application) to access an object (such as object a), the user can move the electronic device A within a certain spatial range. If the peak value of the first movement parameter of the electronic device A within the first time range is greater than or equal to the preset parameter value, it means that the electronic device A needs to request access information of an object, so that the electronic device A can send a message for requesting access information of object a (such as the first message in the embodiment of the present application), and then the electronic device B can receive the first message and compare the first movement parameter in the first message with its own movement parameter within the first time range (hereinafter referred to as the second movement parameter). If the first movement parameter matches the second movement parameter, and the electronic device B includes the access information of the target object, then the electronic device B can send a message (such as the second message in the embodiment of the present application), and the second message can include the access information of the target object (such as the target access information in the embodiment of the present application). After the electronic device A receives the second message, the electronic device A can access the object a based on the access information in the second message. In this way, since there is no need to first find the access interface of the target object and input access information in the access interface before accessing the target object as in the conventional technology, the operation process of the electronic device accessing the object a can be simplified.

[0027] Optionally, in an embodiment of the present application, the access information of the object may include password information of the object, or account information and password information of the object.

[0028] Optionally, in the embodiment of the present application, the above-mentioned object a may be a network, for example, a WLAN network, or the object a may be an application installed in the electronic device A.

[0029] It can be understood that in the embodiment of the present application, the electronic device access object can be: the electronic device connecting to the network, or logging into the application.

[0030] Combination Figure 1 , an embodiment of the present application provides an object access method, which may include the following steps 101 to 105.

[0031] Step 101: When a first preset condition is met, a first electronic device sends a first message.

[0032] Step 102: The second electronic device receives the first message.

[0033] The first message may be used to request access information of the target object, and the first message includes first time information and a first movement parameter of the first electronic device within a first time range, and the first time information is used to indicate the first time range.

[0034] Optionally, in the embodiment of the present application, the first preset condition may include: the peak value of the first movement parameter is greater than or equal to a preset parameter value (hereinafter referred to as the first preset value). The first preset value may be determined according to actual use requirements and is not limited in the embodiment of the present application.

[0035] Optionally, in the embodiment of the present application, the first movement parameter may be any parameter such as acceleration, speed, movement trajectory, etc. of the first electronic device that can characterize the movement of the first electronic device within the first time range.

[0036] It should be noted that, in the embodiment of the present application, the duration corresponding to the first time range can be set by the user of the first electronic device according to needs. For example, if the first time range is: 3:05-3:06, then the duration corresponding to the first time range is 1 minute, and the start time of the first time range is the time currently displayed by the system of the first electronic device when the user of the first electronic device starts to move the first electronic device.

[0037] Optionally, in the embodiment of the present application, the longer the duration corresponding to the first time range is, the higher the accuracy of matching the first electronic device and the second electronic device is, thereby improving the specificity of the first electronic device's request for access information of the target object.

[0038] Optionally, in the embodiment of the present application, the first preset condition may further include: the first electronic device displays an access interface of the target object. In this way, the first electronic device may determine that the user of the first electronic device needs to access the target object, so that the first electronic device may send a first message to request access information of the target object.

[0039] Optionally, in the embodiment of the present application, the access interface may include an account information, which is the account information that can access the target object. In this way, the first electronic device can request the target object's access information (eg, password information) corresponding to the account information.

[0040] In the embodiment of the present application, the first electronic device sends the first message only after the first preset condition is met, thereby avoiding erroneous operation.

[0041] Optionally, in an embodiment of the present application, the first electronic device may broadcast the first message through a short-range communication technology, or the first electronic device may send the first message to a second electronic device.

[0042] Optionally, in the embodiment of the present application, the short-range communication technology includes any one of the following: Bluetooth technology, Near Field Communication (NFC) technology, sound wave communication technology, etc.

[0043] It should be noted that, in the embodiment of the present application, when the first electronic device broadcasts the first message through the short-range communication technology, the second electronic device is an electronic device within the propagation range of the broadcast message.

[0044] Optionally, in the embodiment of the present application, the first message may also include account information for accessing the target object; wherein the target access information may include password information corresponding to the account information. Thus, since the first message may include the account information for accessing the target object, the access information of the target object may be requested more accurately, thereby improving the accuracy of accessing the target object.

[0045] Optionally, in the embodiment of the present application, the target object may be an application or a network.

[0046] Specifically, in the embodiment of the present application, the target object may be an application installed in both the first electronic device and the second electronic device that needs to be accessed through access information, or may be a network to which the second electronic device is connected.

[0047] Optionally, in the embodiment of the present application, when the target object is a network, the network may be any possible network such as a WLAN network, for example, a mobile hotspot network Wi-Fi (Wireless Fidelity, Wi-Fi). When the target object is an application, the application may be an application installed in the first electronic device, and the application is logged in through account information and password information.

[0048] Optionally, in the embodiment of the present application, the target object may be determined according to the first movement parameter, or the target object may be manually selected by a user of the first electronic device.

[0049] Optionally, in an embodiment of the present application, when the target object is determined based on the first movement parameter, a correspondence between the movement parameter and the object is pre-set in the first electronic device and the second electronic device, so that the first electronic device and the second electronic device can determine the target object corresponding to the first movement parameter based on the first movement parameter and the correspondence.

[0050] Exemplarily, the correspondence between the shape of the movement track and the object can be preset, and different shapes correspond to different objects. For example, a semicircle corresponds to application 1, a circle corresponds to application 2, and a triangle corresponds to a network.

[0051] Optionally, in an embodiment of the present application, when the target object can be manually selected by the user of the first electronic device, the first message may also include an identifier of the target object, such as the name of the target object and account information for accessing the target account.

[0052] Step 103: When the first movement parameter matches the second movement parameter, the second electronic device sends a second message.

[0053] Step 104: The first electronic device receives a second message sent by the second electronic device.

[0054] The second message may include target access information, where the target access information is access information currently used by the second electronic device to access the target object.

[0055] Optionally, in an embodiment of the present application, the matching of the first movement parameter and the second movement parameter can be understood as: the similarity of the correlation coefficient between the curve of the first movement parameter within the first time range (i.e., t-first movement parameter curve) and the curve of the second movement parameter within the first time range is greater than or equal to a preset threshold.

[0056] For example, assuming that the first movement parameter and the second movement parameter are both accelerations of the electronic device moving in a certain space, then Figure 2 As shown, Figure 2 (a) is the acceleration value curve of the first electronic device in the range of t1-t2, Figure 2 (b) is the acceleration value curve of the second electronic device in the range of t1-t2. Figure 2 It can be seen that the peak frequencies of the two curves are both 5 (the number of peaks in the range of t1-t2) / (t2-t1), so it can be determined that the first movement parameter matches the second movement parameter.

[0057] Optionally, in an embodiment of the present application, in order to improve the matching degree of the first movement parameter and the second movement parameter, the user can place the first electronic device and the second electronic device close together in the same hand of the user (who can be the user of the first electronic device or the user of the second electronic device) and move the arm within a certain space; or the user (who can be the user of the first electronic device or the user of the second electronic device) can hold an electronic device in both hands and move the arm within a certain space; or, the user of the first electronic device holds the first electronic device, and the user of the second electronic device holds the second electronic device, and then the two users move their arms at the same time and in the same direction. In this way, since the first electronic device and the second electronic device can move at the same pace, the matching degree of the first movement parameter of the first electronic device and the second movement parameter of the second electronic device can be improved.

[0058] Optionally, in an embodiment of the present application, the target access information may include account information for accessing the target object and password information for accessing the target object; or, include password information for accessing the target object.

[0059] Optionally, in an embodiment of the present application, the target access information may be unencrypted information or encrypted information.

[0060] Step 105: The first electronic device accesses the target object based on the target access information.

[0061] Optionally, in an embodiment of the present application, when the target object is an application, accessing the target object is logging into the application; when the target object is a network, accessing the target object is connecting to the network.

[0062] Optionally, in an embodiment of the present application, when the target access information is unencrypted information, the first electronic device can not only access the target object based on the target access information, but also obtain the content of the target access information, for example, the target access information is "1255xded". When the target access information is encrypted information, the first electronic device can access the target object based on the target access information at any time, but cannot obtain the content of the target access information, for example, the target access information is: "********".

[0063] It should be noted that, when the target access information is encrypted information, when the first electronic device accesses the target object based on the target access information, the target object (or the server corresponding to the target object) can decrypt the target access information and, based on the decrypted target access information, allow the first electronic device to access the target object.

[0064] The object access method provided in the embodiment of the present application is described in detail below with reference to specific examples.

[0065] For example, taking the target access object as a Wi-Fi network, and the target access object is manually selected by the user, when the user of the first electronic device requires the first electronic device to connect to a Wi-Fi network (hereinafter referred to as Wi-Fi network a), if the second electronic device in the same area as the first electronic device has already connected to Wi-Fi network a, then: Figure 3As shown, the user of the first electronic device can open the Wi-Fi network connection interface of the first electronic device, select Wi-Fi network a, and put the first electronic device and the second electronic device close together, and hold them in the same hand, and then move them in a certain space. During the movement, the first electronic device and the second electronic device respectively record their respective acceleration values ​​(i.e., the first movement parameter and the second movement parameter) and timestamps (i.e., the first time information) in real time through the acceleration sensors therein, and generate corresponding acceleration value-time curves. When the acceleration values ​​of the first electronic device within the time range indicated by the first time information (such as 10s) include acceleration values ​​greater than or equal to the preset value, the first electronic device can send a request message (i.e., a first message) to request the connection password of Wi-Fi network a, and the request message includes the acceleration value-time curve generated by the first electronic device (hereinafter referred to as curve 1).

[0066] The second electronic device can receive the request message, and then the second electronic device can compare curve 2 (the acceleration value-time curve generated for the second electronic device) with curve 1 in the first message to determine whether the first movement parameter and the second movement parameter match. Specifically, the second electronic device can calculate the peak frequency 1-0 of curve 1 and the peak frequency 2-0 of the curve respectively. If the similarity between the peak frequency 1-0 and the peak frequency 2-0 is greater than or equal to the preset threshold, it means that the first movement parameter matches the second movement parameter, so that the second electronic device can send a response message, which includes the password of Wi-Fi network a. In this way, the first electronic device can receive the response message and connect to Wi-Fi network a according to the response message.

[0067] In the object access method provided in the embodiment of the present application, when a user of a first electronic device requires the first electronic device to access a target object, the first electronic device can first send a first message to request access information of the target object when a first movement parameter of the first electronic device includes a parameter value greater than or equal to a preset value, and then access the target object based on a second message including the target access information received from a second electronic device. There is no need to first find an access interface of the target object and enter access information in the access interface before accessing the target object as in traditional technology, thereby simplifying the operation process of the electronic device accessing the object.

[0068] Optionally, in the embodiment of the present application, the above step 102 can be specifically implemented through step 102a.

[0069] Step 102a, when the mobile parameter value of the second electronic device reaches a preset value (hereinafter referred to as the second preset value), the second electronic device receives the first message. Optionally, in the embodiment of the present application, the second preset value and the first preset value can be the same value or different values.

[0070] Optionally, in the embodiment of the present application, the receiving function of the second electronic device is not enabled by default. Only when its mobile parameter value reaches a second preset value, the second electronic device will enable the receiving function and receive the first message.

[0071] In the embodiment of the present application, since the second electronic device will only turn on the receiving function to receive the first message when its movement parameter value reaches a preset value, misoperation can be avoided, thereby improving the accuracy of receiving messages.

[0072] Optionally, in the embodiment of the present application, when the first message includes the device identification of the first electronic device, the above step 103 can be specifically implemented through step 103a.

[0073] Step 103a: When the first movement parameter matches the second movement parameter, the second electronic device sends a second message to the first electronic device.

[0074] In an embodiment of the present application, since the first message includes the device identification of the first electronic device, the second electronic device can directly send the second message to the first electronic device based on the identification without broadcasting the second message. This can improve the accuracy of message sending and avoid leakage of target access information on the one hand, and save network overhead of the second electronic device on the other hand.

[0075] Optionally, in an embodiment of the present application, when the target access information is encrypted information, the second message may carry second time information and destruction information, and the destruction information is used to destroy the target access information after the time indicated by the second time information (hereinafter referred to as the target time).

[0076] When the target object is an application, regardless of whether the target access information is encrypted, the second electronic device can force the first electronic device to go offline by closing the permission to log in to the application with one account at the same time after a certain period of time (e.g., after the above target time) after sharing the target access information. It can be understood that in this case, if the second message carries the second time information, the second time information is only used to prompt the first electronic device of the sharing time of the target access information.

[0077] Optionally, in an embodiment of the present application, the second time information can be set by a user of the second electronic device according to demand, and the second time information is the duration of sharing the target access information.

[0078] Optionally, in the embodiment of the present application, the second time information may be an arbitrary time length, for example, the second time information may be: 5 minutes, 1 hour, or 24 hours.

[0079] It can be understood that in the embodiment of the present application, the time indicated by the second time information is: the time when the second electronic device sends the second message + the second time information. For example, assuming that the second electronic device sends the second message at 08:30 and the second time information is 30 minutes, then the time indicated by the second time information, that is, the target time, is 08:30.

[0080] The following is an exemplary description of a method in which a user of the second electronic device sets the second time information.

[0081] Optionally, in an embodiment of the present application, before the above step 103, the object access method provided in the embodiment of the present application may further include the following steps 106 and 107.

[0082] Step 106: When the first interface is displayed, the second electronic device receives a first input of the user of the second electronic device on the first interface.

[0083] The first interface is used to set the duration of sharing target access information.

[0084] Optionally, in an embodiment of the present application, the first interface may include a sharing duration setting control, and the sharing duration setting control may be used to set the duration of sharing the target access information.

[0085] Optionally, in the embodiment of the present application, the first interface may further include a sharing control and a rejection control, wherein the sharing control is used for the second electronic device to confirm sending the second message to the first electronic device; and the rejection control is used for the second electronic device to reject sending the second message to the first electronic device.

[0086] Optionally, in an embodiment of the present application, a countdown control may be superimposed on the rejection control in the above-mentioned first interface, and the time of the countdown control may be arbitrarily set by the user according to needs (for example, 10s). When the second electronic device receives the user's input to the rejection control, or after 10s, the second electronic device may send a failure message via short-range communication to refuse to share access information of the target object with the first electronic device.

[0087] Optionally, in the embodiment of the present application, the first input is an input of a sharing duration setting control by a user of the second electronic device.

[0088] Optionally, in an embodiment of the present application, the first input can be any possible form of input such as touch input or floating input of the sharing duration setting control by the user of the second electronic device, which can be determined based on actual usage requirements and is not limited in the embodiment of the present application.

[0089] Step 107: The second electronic device sets second time information in response to the first input.

[0090] For other descriptions of step 106 and step 107, please refer to the relevant descriptions in the above embodiments.

[0091] In an embodiment of the present application, since the user of the second electronic device can trigger the second electronic device to set the duration for sharing target access information through the first input to the first interface, the second electronic device can control the sharing time of the target access information, thereby improving the security of the electronic device's access to the object.

[0092] Optionally, in the embodiment of the present application, when the target object is determined according to the first movement parameter, before the above step 103, the object access method provided by the embodiment of the present application may further include the following step 108.

[0093] Step 108: When the second movement parameter matches the first movement parameter, the second electronic device determines a target object corresponding to the first movement parameter according to the first movement parameter.

[0094] For the description of the second electronic device determining the target object corresponding to the first movement parameter based on the first movement parameter, please refer to the relevant description of determining the target object corresponding to the first parameter based on the first parameter in the above embodiment. In order to avoid repetition, it will not be repeated here.

[0095] In the embodiment of the present application, since the second electronic device can determine the target object according to the first movement parameter when the second movement parameter matches the first movement parameter, the target object can be accurately determined, thereby improving the accuracy of the electronic device accessing the object.

[0096] Optionally, in the embodiment of the present application, the first electronic device and the second electronic device may both display a prompt message, where the prompt message is used to prompt whether the access information of the target object is shared successfully.

[0097] It should be noted that the object access method provided in the embodiment of the present application can be executed by an object access device or a control module in the object access device for executing the object access method. In the embodiment of the present application, the object access device provided in the embodiment of the present application is described by taking the object access method executed by the object access device as an example.

[0098] Combination Figure 4, an embodiment of the present application provides an object access device 40, which may include: a sending module 41, a receiving module 42 and an access module 43. The sending module 41 may be used to send a first message when a first preset condition is met, the first message is used to request access information of a target object, the first message includes first time information and a first movement parameter of a first electronic device within a first time range, and the first time information is used to indicate the first time range. The receiving module 42 may be used to receive a second message sent by a second electronic device, the second message is a message sent by the second electronic device when the first movement parameter matches the second movement parameter, the second message includes target access information, and the target access information is the access information currently used by the second electronic device to access the target object. The access module 43 may be used to access a target object based on the target access information; wherein the first preset condition includes: the peak value of the first movement parameter is greater than or equal to the preset parameter value; the target object is an application or a network.

[0099] In a possible implementation, the target object may be an application or a network.

[0100] In a possible implementation, the target access information may be encrypted information, and the second message carries second time information and destruction information, and the destruction information may be used to destroy the target access information after the time indicated by the second time information.

[0101] In a possible implementation, the first message may further include account information for accessing the target object; wherein the target access information may include password information corresponding to the account information.

[0102] In a possible implementation manner, the first preset condition may further include: the first electronic device displays an access interface of the target object.

[0103] In the object access device provided in the embodiment of the present application, when the user of the object access device requires the object access device to access the target object, the object access device can first send a first message to request the access information of the target object when the first movement parameter of the object access device includes a parameter value greater than or equal to a preset value, and then access the target object according to the second message including the target access information sent by the received second electronic device. There is no need to first find the access interface of the target object and enter the access information in the access interface before accessing the target object as in traditional technology, thereby simplifying the operation process of accessing the object.

[0104] Combination Figure 5, an embodiment of the present application provides an object access device 50, which may include a receiving module 51 and a sending module 52. The receiving module 51 may be used to receive a first message sent by a first electronic device, the first message being used to request access information of a target object, the first message including first time information and a first movement parameter of the first electronic device within a first time range, the first time information being used to indicate the first time range. The sending module 52 may be used to send a second message when the first movement parameter matches the second movement parameter of the second electronic device within the first time range, the second message including target access information, the target access information being the access information currently used by the second electronic device to access the target object.

[0105] In a possible implementation, the first message may further include a device identifier of the first electronic device. The sending module 52 may be specifically configured to send a second message to the first electronic device.

[0106] In a possible implementation, the receiving module 51 may be specifically configured to receive a first message when the mobile parameter value of the second electronic device reaches a preset value.

[0107] In a possible implementation, the target access information is encrypted information, and the second message carries second time information and destruction information, and the destruction information can be used to destroy the target access information after the time indicated by the second time information.

[0108] In a possible implementation, the object access device 50 may further include a display module 53 and a setting module 54. The display module 53 may be used to display a first interface before the sending module 52 sends the second message, and the first interface may be used to set the duration of sharing the target access information. The receiving module 51 may also be used to receive a first input to the first interface. The setting module 54 may be used to set the second time information in response to the first input received by the receiving module 51.

[0109] In a possible implementation, the object access device 50 may further include a determination module 55. The determination module 55 may be configured to determine a target object corresponding to the first movement parameter according to the first movement parameter before the sending module 52 sends the second message.

[0110] In the object access device provided in the embodiment of the present application, since the object access device can send a second message to the first electronic device based on the first message sent by the first electronic device when the first movement parameter matches the second movement parameter of the object access device within the first time range, so that the first electronic device can access the target object based on the target access information included in the second message, the operation process of accessing the object can be simplified.

[0111] The beneficial effects of various implementations in this embodiment can be specifically referred to the beneficial effects of the corresponding implementations in the above method embodiment. To avoid repetition, they will not be described again here.

[0112] The object access device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0113] The object access device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0114] The object access device provided in the embodiment of the present application can achieve Figures 1 to 3 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0115] like Figure 6 As shown, an embodiment of the present application also provides an electronic device 200, including a processor 202, a memory 201, and a program or instruction stored in the memory 201 and executable on the processor 202. When the program or instruction is executed by the processor 202, each process of the above-mentioned object access method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0116] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0117] Figure 7 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0118] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.

[0119] Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 7 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0120] Among them, Figure 7 In the case where the electronic device shown is the above-mentioned first electronic device, the radio frequency unit 1001 can be used to send a first message when a first preset condition is met, the first message is used to request access information of the target object, the first message includes first time information and a first movement parameter of the first electronic device within a first time range, and the first time information is used to indicate the first time range. The radio frequency unit 1001 can also be used to receive a second message sent by a second electronic device, the second message is a message sent by the second electronic device when the first movement parameter matches the second movement parameter, the second message includes target access information, and the target access information is the access information currently used by the second electronic device to access the target object. The processor 1010 can be used to access the target object based on the target access information; wherein the first preset condition may include: the peak value of the first movement parameter is greater than or equal to the preset parameter value; the target object is an application or a network.

[0121] In a possible implementation, the target object may be an application or a network.

[0122] In a possible implementation, the target access information may be encrypted information, and the second message carries second time information and destruction information, and the destruction information may be used to destroy the target access information after the time indicated by the second time information.

[0123] In a possible implementation, the first message may further include account information for accessing the target object; wherein the target access information may include password information corresponding to the account information.

[0124] In a possible implementation manner, the first preset condition may further include: the first electronic device displays an access interface of the target object.

[0125] In the electronic device provided in the embodiment of the present application, when the user of the electronic device requires the electronic device to access a target object, the electronic device can first send a first message to request access information of the target object when the first movement parameter of the electronic device includes a parameter value greater than or equal to a preset value, and then access the target object based on a second message including the target access information sent by the second electronic device. There is no need to first find the access interface of the target object and enter the access information in the access interface before accessing the target object as in traditional technology, thereby simplifying the operation process of accessing the object.

[0126] exist Figure 7 In the case where the electronic device shown is the above-mentioned second electronic device, the radio frequency unit 1001 can be used to receive a first message sent by the first electronic device, the first message is used to request access information of the target object, the first message includes first time information and a first movement parameter of the first electronic device within the first time range, and the first time information is used to indicate the first time range. The radio frequency unit 1001 can also be used to send a second message when the first movement parameter matches the second movement parameter of the second electronic device within the first time range, the second message includes target access information, and the target access information is the access information currently used by the second electronic device to access the target object.

[0127] In a possible implementation, the first message may further include a device identifier of the first electronic device. The radio frequency unit 1001 may be specifically configured to send a second message to the first electronic device.

[0128] In a possible implementation manner, the radio frequency unit 1001 may be specifically configured to receive a first message when a mobility parameter value of the second electronic device reaches a preset value.

[0129] In a possible implementation, the target access information is encrypted information, and the second message carries second time information and destruction information, and the destruction information can be used to destroy the target access information after the time indicated by the second time information.

[0130] In a possible implementation, the display unit 1006 may be used to display a first interface before the RF unit 1001 sends the second message, and the first interface may be used to set the duration of sharing the target access information. The RF unit 1001 may also be used to receive a first input to the first interface. The user input unit 1007 may be used to set the second time information in response to the first input received by the RF unit 1001.

[0131] In a possible implementation manner, the processor 1010 may also be configured to determine, according to the first movement parameter, a target object corresponding to the first movement parameter before the RF unit 1001 sends the second message.

[0132] In the electronic device provided in the embodiment of the present application, since the electronic device can send a second message to the first electronic device based on the first message sent by the first electronic device when the first movement parameter matches the second movement parameter of the electronic device within the first time range, so that the first electronic device can access the target object based on the target access information included in the second message, the operation process of accessing the object can be simplified.

[0133] The beneficial effects of various implementations in this embodiment can be specifically referred to the beneficial effects of the corresponding implementations in the above method embodiment. To avoid repetition, they will not be described again here.

[0134] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 1009 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1010.

[0135] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned object access method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0136] Among them, the above-mentioned processor is the processor in the electronic device in the above-mentioned embodiment. The above-mentioned readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc. The embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run a program or instruction to implement each process of the above-mentioned object access method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0137] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0138] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0139] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0140] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. An object access method, characterized in that: Applied to a first electronic device, the method includes: When a first preset condition is met, sending a first message, the first message is used to request access information of the target object, the first message includes first time information and a first movement parameter of the first electronic device within a first time range, and the first time information is used to indicate the first time range; receiving a second message sent by a second electronic device, where the second message is sent by the second electronic device when the first movement parameter matches the second movement parameter, the second message includes target access information, the target access information is access information currently used by the second electronic device to access the target object, and the second movement parameter is a movement parameter of the second electronic device within the first time range; Accessing the target object based on the target access information; The first preset condition includes: the peak value of the first movement parameter is greater than or equal to a preset parameter value, and the target object is an application or a network.

2. The method according to claim 1, characterized in that The target access information is encrypted information, and the second message carries second time information and destruction information, and the destruction information is used to destroy the target access information after the time indicated by the second time information.

3. The method according to claim 1, characterized in that The first message also includes account information for accessing the target object; The target access information includes password information corresponding to the account information.

4. The method according to any one of claims 1 to 3, characterized in that The first preset condition also includes: the first electronic device displays an access interface of the target object.

5. An object access method, characterized in that: Applied to a second electronic device, the method includes: receiving a first message sent by a first electronic device, where the first message is used to request access information of a target object, the first message includes first time information and a first movement parameter of the first electronic device within a first time range, and the first time information is used to indicate the first time range; When the first movement parameter matches the second movement parameter of the second electronic device within the first time range, a second message is sent, wherein the second message includes target access information, and the target access information is the access information currently used by the second electronic device to access the target object.

6. The method according to claim 5, characterized in that The first message also includes a device identifier of the first electronic device; The sending of the second message comprises: The second message is sent to the first electronic device.

7. The method according to claim 5, characterized in that The receiving a first message sent by a first electronic device includes: When the movement parameter value of the second electronic device reaches a preset value, the first message is received.

8. The method according to claim 5, characterized in that The target access information is encrypted information, and the second message carries second time information and destruction information, and the destruction information is used to destroy the target access information after the time indicated by the second time information.

9. The method according to claim 8, characterized in that Before sending the second message, the method further includes: Displaying a first interface, where the first interface is used to set the duration for sharing the target access information; Receiving a first input to the first interface; In response to the first input, the second time information is set.

10. An object access device, characterized in that: The device includes a sending module, a receiving module and an access module; The sending module is used to send a first message when a first preset condition is met, the first message is used to request access information of the target object, the first message includes first time information and a first movement parameter of the first electronic device within a first time range, and the first time information is used to indicate the first time range; The receiving module is configured to receive a second message sent by a second electronic device, the second message being a message sent by the second electronic device when the first movement parameter matches the second movement parameter, the second message including target access information, the target access information being access information currently used by the second electronic device to access the target object, and the second movement parameter being a movement parameter of the second electronic device within the first time range; The access module is used to access the target object based on the target access information; The first preset condition includes: the peak value of the first movement parameter is greater than or equal to a preset parameter value; and the target object is an application or a network.

11. An object access device, characterized in that: The device comprises a receiving module and a sending module; The receiving module is configured to receive a first message sent by a first electronic device, the first message being used to request access information of a target object, the first message comprising first time information and a first movement parameter of the first electronic device within a first time range, the first time information being used to indicate the first time range; The sending module is used to send a second message when the first movement parameter matches the second movement parameter of the second electronic device within the first time range, and the second message includes target access information, which is the access information currently used by the second electronic device to access the target object.

Citation Information

Patent Citations

  • Wireless network access method and wireless network access routing device

    CN106453198A