CN-121984704-A - Method, device, system and program product for constructing social relationship of pets
Abstract
The present application relates to the field of communications, and in particular, to a method, apparatus, system, and program product for constructing social relationships between pets. The method comprises the steps that first equipment detects second pet information in a preset distance range, the first equipment sends the first pet information subjected to dynamic desensitization and the second pet information subjected to dynamic desensitization to a server, the server determines a first pet identification according to the first pet information, determines a second pet identification according to the second pet information, builds social relations between the first pet and the second pet when the fact that a preset social relation building requirement is met is detected, and the server sends a building notice of the social relations to a first user end associated with the first pet identification and a second user end associated with the second pet identification. The method can effectively protect privacy data of pets and pet owners, greatly reduce risk of information leakage, and is beneficial to improving safety of social relationship construction.
Inventors
- HU ZIXIONG
- CHEN JINGBING
- GONG ZHIHUI
Assignees
- 深圳市优克联新技术有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20251213
Claims (11)
- 1. A method for constructing a social relationship of a pet, the method comprising: The first equipment detects second pet information in a preset distance range, wherein the second pet information comprises information after dynamic desensitization of a second pet identification, the second pet identification is the identification of a second pet, and the first equipment is worn by the first pet; The first equipment sends first pet information and the second pet information to a server, wherein the first pet information comprises information after dynamic desensitization of a first pet identification, and the first pet identification is an identification of a first pet; The server determines a first pet identification according to the first pet information, determines a second pet identification according to the second pet information, and constructs the social relationship between the first pet and the second pet when detecting that the predetermined social relationship construction requirement is met; And the server sends a construction notice of the social relationship to a first user terminal associated with the first pet identification and a second user terminal associated with the second pet identification.
- 2. The method of claim 1, wherein the dynamic desensitizing is a desensitizing process based on a pet identification and dynamic parameters, the pet identification including the first pet identification and the second pet identification, the dynamic parameters including a first dynamic parameter and a second dynamic parameter.
- 3. The method of claim 2, wherein prior to the first device detecting the second pet information within the predetermined distance range, the method further comprises: The second equipment encrypts the second pet identification and the second dynamic parameters through a preset public key to generate the second pet information subjected to dynamic desensitization, the second equipment is worn by the second pet, and the second dynamic parameters are dynamically generated through the second equipment; Before the first device sends the first pet information and the second pet information to a server, the method further comprises: The first device encrypts the first pet identifier and the first dynamic parameter through the preset public key to generate the first pet information subjected to dynamic desensitization, and the first dynamic parameter is dynamically generated through the first device; the server determines a first pet identification according to the first pet information and a second pet identification according to the second pet information, and the method comprises the following steps: The server decrypts the first pet information through a private key to obtain a first pet identification included in the first pet information; and the server decrypts the second pet information through the private key to obtain a second pet identifier included in the second pet information.
- 4. The method of claim 2, wherein prior to the first device detecting the second pet information within the predetermined distance range, the method further comprises: the second device performs hash calculation on the second pet identifier and the second dynamic parameter to generate second pet information, the second device is worn by the second pet, and the second dynamic parameter is dynamically generated by the second device; Before the first device sends the first pet information and the second pet information to the server, the method further comprises: The first equipment carries out hash calculation on the first pet information and the first dynamic parameters to generate the first pet information subjected to dynamic desensitization, and the first dynamic parameters are dynamically generated by the first equipment; the server determines a first pet identification according to the first pet information and a second pet identification according to the second pet information, and the method comprises the following steps: the server determines current dynamic parameters according to a preset rule or according to the synchronization information of the first equipment and the second equipment, dynamically updates the corresponding relation between the pet information and the pet identification according to a pre-stored pet identification list and the dynamic parameters, and synchronizes the synchronization information according to a preset synchronization period or synchronizes according to a preset triggering condition; And the server determines a first pet identification corresponding to the first pet information and determines a second pet identification corresponding to the second pet information according to the corresponding relation.
- 5. The method of claim 1, wherein the first device detecting second pet information within a predetermined distance range comprises: The first equipment acquires the motion state of the first pet; And determining a detection frequency according to the motion state, and detecting second pet information in the preset distance range according to the detection frequency.
- 6. The method of claim 5, wherein determining a detection frequency from the motion state comprises: The detection frequency is increased when the movement speed increases, and the detection frequency is decreased when the movement speed decreases.
- 7. The method of claim 1, wherein constructing a social relationship of the first pet and the second pet comprises: Searching a first user end corresponding to the first pet identification and a second user end corresponding to the second pet identification according to the corresponding relation between the preset pet identification and the user end; The second pet is added in the friend list of the pet of the first user, the first pet is added in the friend list of the pet of the second user, or the second user is added in the pet owner friend list of the first user, and the first user is added in the pet owner friend list of the second user.
- 8. The method of any of claims 1-7, wherein detecting that a predetermined social relationship construction requirement is met comprises: Acquiring a first motion trail of the first pet and/or acquiring a second motion trail of the second pet; determining playing time lengths of the first pet and the second pet according to the intersecting duration of the first motion trail and the second motion trail, and/or determining the meeting times of the first pet and the second pet in the preset time length according to the intersecting times of the first motion trail and the second motion trail in the preset time length; and determining that the first pet and the second pet meet a preset social relationship construction requirement when the playing time is greater than a preset time threshold and/or the meeting time is greater than a preset time threshold.
- 9. A pet social relationship construction apparatus, the apparatus comprising: The pet information detection unit is used for detecting second pet information in a preset distance range by the first equipment, the second pet information comprises information after dynamic desensitization of a second pet identification, the second pet identification is an identification of a second pet, and the first equipment is worn by the first pet; the first equipment is used for receiving first pet information and second pet information from the server, wherein the first pet information comprises information obtained after dynamic desensitization of a first pet identifier, and the first pet identifier is an identifier of the first pet; the social relation construction unit is used for determining a first pet identifier according to the first pet information by the server, determining a second pet identifier according to the second pet information, and constructing the social relation between the first pet and the second pet when the fact that the preset social relation construction requirement is met is detected; and the notification unit is used for sending the construction notification of the social relationship to the first user terminal associated with the first pet identification and the second user terminal associated with the second pet identification by the server.
- 10. A pet social relationship construction system comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein execution of the computer program by the processor causes the pet social relationship construction system to implement the method of any of claims 1-8.
- 11. A computer program product comprising computer program instructions which, when run, cause the method of any of claims 1-8 to be performed.
Description
Method, device, system and program product for constructing social relationship of pets Technical Field The present application relates to the field of communications, and in particular, to a method, apparatus, system, and program product for constructing social relationships between pets. Background With the improvement of the living standard of people, pets have become important members of many families. In order to better manage pets, various wearable pet devices are appeared in the market, and the devices generally have functions of positioning, health monitoring and the like. Meanwhile, social demands of pets are increasing, pet owners hope to search for playing accompanies for pets through a social platform, and social activities of the pets are promoted. At present, when a pet social relationship is built, the method comprises the steps of detecting pets in a certain range, adding the detected pets to an address book, and although convenience in building the pet social relationship can be improved, personal privacy can be leaked due to pet information, so that safety in building the pet social relationship is not facilitated. Disclosure of Invention In view of the above, the embodiments of the present application provide a method, an apparatus, a system, and a program product for constructing a social relationship of a pet, so as to solve the problem in the prior art that when the social relationship is constructed, personal privacy is easily revealed, which is not beneficial to improving the security of constructing the social relationship of the pet. A first aspect of an embodiment of the present application provides a method for constructing social relationships of pets, the method comprising: The first equipment detects second pet information in a preset distance range, wherein the second pet information comprises information after dynamic desensitization of a second pet identification, the second pet identification is the identification of a second pet, and the first equipment is worn by the first pet; The first equipment sends first pet information and the second pet information to a server, wherein the first pet information comprises information after dynamic desensitization of a first pet identification, and the first pet identification is an identification of a first pet; The server determines a first pet identification according to the first pet information, determines a second pet identification according to the second pet information, and constructs the social relationship between the first pet and the second pet when detecting that the predetermined social relationship construction requirement is met; And the server sends a construction notice of the social relationship to a first user terminal associated with the first pet identification and a second user terminal associated with the second pet identification. With reference to the first aspect, in a first possible implementation manner of the first aspect, the dynamic desensitization is desensitization according to a pet identifier and a dynamic parameter, where the pet identifier includes the first pet identifier and the second pet identifier, and the dynamic parameter includes a first dynamic parameter and a second dynamic parameter. With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, before the first device detects the second pet information within the predetermined distance range, the method further includes: The second equipment encrypts the second pet identification and a second dynamic parameter through a preset public key to generate the second pet information after dynamic desensitization, the second equipment is worn by the second pet, and the second dynamic parameter is dynamically generated through the second equipment; Before the first device sends the first pet information and the second pet information to a server, the method further comprises: the first device encrypts the first pet information and a first dynamic parameter through a preset public key to generate the first pet information after dynamic desensitization, and the first dynamic parameter is dynamically generated through the first device; the server determines a first pet identification according to the first pet information and a second pet identification according to the second pet information, and the method comprises the following steps: The server decrypts the first pet information through a private key to obtain a first pet identification included in the first pet information; and the server decrypts the second pet information through the private key to obtain a second pet identifier included in the second pet information. With reference to the first possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, before the first device detects the second pet information within the predetermined distance range,