WO2018035737A1 - 基于宠物信息创建讨论组的方法、服务器及系统 - Google Patents

基于宠物信息创建讨论组的方法、服务器及系统 Download PDF

Info

Publication number
WO2018035737A1
WO2018035737A1 PCT/CN2016/096504 CN2016096504W WO2018035737A1 WO 2018035737 A1 WO2018035737 A1 WO 2018035737A1 CN 2016096504 W CN2016096504 W CN 2016096504W WO 2018035737 A1 WO2018035737 A1 WO 2018035737A1
Authority
WO
WIPO (PCT)
Prior art keywords
pet
information
server
user
discussion group
Prior art date
Application number
PCT/CN2016/096504
Other languages
English (en)
French (fr)
Inventor
王忠山
刘小波
Original Assignee
深圳市沃特沃德股份有限公司
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 深圳市沃特沃德股份有限公司 filed Critical 深圳市沃特沃德股份有限公司
Priority to PCT/CN2016/096504 priority Critical patent/WO2018035737A1/zh
Publication of WO2018035737A1 publication Critical patent/WO2018035737A1/zh

Links

Definitions

  • the present invention relates to the field of intelligent electronic device technologies, and in particular, to a method, a server, and a system for creating a discussion group based on pet information.
  • the main purpose of the present invention is to provide a method for creating a discussion group based on pet information, which aims to solve the problem that the pet owner has difficulty in knowing the contact information of other pet owners in the prior art, and cannot communicate with other animal owners. Not enough technical problems.
  • the present invention provides a method for creating a discussion group based on pet information, including: [0005] receiving a query request sent by a client, where the query request carries the login of the client a pet
  • the method includes:
  • the method includes:
  • the receiving user clicks on the call request information generated by the second pet ID displayed on the user terminal, and establishes a communication connection between the user terminal and other user terminals where the second pet ID is located.
  • the step of establishing a communication connection with the client includes:
  • the method includes:
  • the pet information and the pet owner information sent by the user terminal, and storing the pet information and the pet owner information in a data table format in a database; the pet information and the pet owner information at least include: a pet ID, a pet Type, owner ID, location ID, and the host's mobile terminal communication address.
  • the present invention also provides a server for creating a discussion group based on pet information, including:
  • a receiving unit configured to receive a query request sent by the user end, where the query request carries the first pet ID that is logged in by the user end and the query keyword that is input by the user;
  • a matching unit configured to match, according to the query request, a plurality of second pet IDs on other users belonging to the same pet type associated with the query keyword;
  • a dividing unit configured to divide the first pet ID that is logged in by the user end and the second pet ID on the other user end into a discussion group.
  • the server for creating a discussion group based on the pet information further includes:
  • a communication connection unit configured to establish a communication connection with the client.
  • the server for creating a discussion group based on the pet information further includes:
  • a call receiving unit configured to receive call request information generated by the user clicking the second pet ID displayed on the user end, and establishing a relationship between the user end and another user end where the second pet ID is located Communication connection.
  • the communication connection unit includes: And a receiving and forwarding module, configured to receive a voice packet and/or a video stream that is encoded by the UE and transmitted in an RTP data packet, and forwarded to other UEs.
  • a receiving and forwarding module configured to receive a voice packet and/or a video stream that is encoded by the UE and transmitted in an RTP data packet, and forwarded to other UEs.
  • the server for creating a discussion group based on the pet information further includes:
  • a receiving storage unit configured to receive the pet information and the pet owner information sent by the user end, and store the pet information and the pet owner information in a data table format in a database; the pet information and the pet owner information are at least Including: pet ID, pet type, owner ID, location ID, and the mobile terminal communication address of the owner.
  • the present invention further provides a system for creating a discussion group based on pet information, including a server and a client; [0031] the server receives a query request sent by a client, where the query carries the client The first pet ID that is logged in and the query keyword entered by the user;
  • the server is further configured to: establish a communication connection with the user end.
  • the server is further configured to: receive call request information generated by the user clicking the second pet ID displayed on the user end, and establish another user where the user end and the second pet ID are located. Communication connection between the ends.
  • the server is specifically configured to: receive a voice packet and/or a video stream that is encoded by the UE and transmitted in an RTP data packet, and forwarded to other UEs.
  • the server is further configured to: receive the pet information and the pet owner information sent by the user end, and store the pet information and the pet owner information in a data table format in a database; the pet information and The pet owner information includes at least: a pet ID, a pet type, a host ID, a location ID, and a mobile terminal communication address of the owner.
  • the present invention uploads pet information and pet owner information (such as pet type, gender, marriage, color, weight; pet owner's number, region, etc.) to the server through the user terminal, and the server will send the pet information.
  • pet owner information such as pet type, gender, marriage, color, weight; pet owner's number, region, etc.
  • the server will send the pet information.
  • the pet owner's information is stored in a large database.
  • the server pushes the information related to the keyword to the user end, and the user terminal can intuitively display the same type, the same type of pet information of interest, and automatically establish the same Types of pet discussion group circle of friends, convenient and easy to communicate, to promote interaction between pet owners.
  • FIG. 1 is a schematic flow chart of a method for creating a discussion group based on pet information according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for creating a discussion group based on pet information according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a server for creating a discussion group based on pet information according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a server for creating a discussion group based on pet information according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a server for creating a discussion group based on pet information according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a server for creating a discussion group based on pet information according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a system for creating a discussion group based on pet information according to an embodiment of the present invention.
  • An embodiment of the present invention provides a method for creating a discussion group based on pet information.
  • a method for creating a discussion group based on pet information in an embodiment of the present invention includes the following steps:
  • Step S10 Receive a query request sent by the user end, where the query request carries the first pet ID that is logged in by the user end and the query keyword that is input by the user.
  • the first pet ID is an account name, and each first pet ID corresponds to one account.
  • the physical parameters such as pet type, gender, age, height, and weight are generally input.
  • the above query keywords are generally words, words or sentences related to pets, for example, pet type, gender, age, height, weight, illness, hospital, and the like.
  • the first pet ID and the second pet ID described below They are all client-side APPs installed on the client side, such as a smart phone, and then established on the client-side APP.
  • the execution body of the foregoing step S10 is generally a server. Before the step S10, the server generally receives the pet information sent by the user end and the information of the pet owner and stores the information.
  • the server is configured with a relational database, and comes with a categorization function. It can classify the search of the uplink segment of the client in detail. For example, you can search for types, gender, unmarried, pet transfer, pet market or pet friends to get different data.
  • the server may receive the pet information and the pet owner information of the pet directly uploaded by the smart wearable device; or receive the pet information and the pet owner information of the pet uploaded by the mobile communication terminal.
  • the smart wearable device worn on the pet is provided with a hardware module such as GPS/BT/2G/3G/4G, and can communicate with the smart phone Bluetooth communication and network, and can upload data to the server and be controlled by the smart phone. .
  • the current location information of the pet can be uploaded to the server by means of the mobile phone.
  • Step S20 Match, according to the query request, a plurality of second pet IDs on other clients belonging to the same pet type associated with the query keyword.
  • the second pet ID is actually the same as the first pet ID, and is a pet ID established by another user.
  • the server classifies the pet information, and associates the first pet ID with another second pet ID that matches the query keyword.
  • the matching method generally matches the query keyword with the shared article sent by the second pet ID, the type of the pet corresponding to the second pet ID, and the location of the user of the second pet ID.
  • the query key The word is Vietnamese Mastiff.
  • the server queries the second pet ID corresponding to the second pet ID according to the Vietnamese Mastiff. After the search, the first pet ID and the second pet ID can be associated with each other.
  • Step S30 the first pet ID that is logged in by the client and the second pet ID on the other client are divided into one discussion group.
  • the server divides the first pet ID and the second slave pet ID associated therewith into a discussion group, and then sends it to the client, and the client displays the generated discussion group.
  • the interface on the client APP generally displays the contact avatar dynamically. In order to dynamically display the contact avatar, firstly, a thread needs to be created.
  • the user asynchronously reads the data of the categorized pet owner stored in the server, saves the obtained data by keywords, and sequentially adds it to the container of the array list, and then
  • the layout of the list item is set, and the pet owner's avatar, name ID, pet type, IP address, and online status are arranged in a mixed manner, and finally the list container can be created. Blocked in order not to let the thread read the data all the time, this column
  • the table container can listen to the content of the update list through the Notifaciton method. You can use the Handler to receive the information that needs to modify the user interface. When there is a change message, the Handler receives the message, calls the Notifaciton method, and notifies the list container to refresh the pet. related data.
  • the server may directly push the pet information and/or the pet owner information of the second pet ID to the client, and the client receives the pet information.
  • the pet owner information the user can choose to establish or not to establish a discussion group.
  • the discussion group can also be automatically established by the server for the user to input text or pictures or videos to communicate.
  • the server when the user inputting the query keyword to the server, the server pushes the information related to the keyword to the user end, and the user terminal can intuitively display the same type, the same type, and the sense of own Interested pet information, and automatically establish the same type of pet discussion group circle of friends, convenient and ⁇ communication, promote interaction between pet owners.
  • Step S1 Establish a communication connection with the client.
  • the server and the client need to establish a communication connection to facilitate communication between the server and the client.
  • the server performs different processing according to the received different data or commands. For example, if the query request is received, the server performs matching and divides the processing of the discussion group. If the call request of the user end is received, the server performs the call forwarding process. Connect one client to another.
  • the user terminal is provided with a call module, and the main function is to provide the user with an operation that can wake up the telephone call. The user can choose whether to use a video call or a normal voice call. If a video call is made, the video call interface is entered. If the normal voice call is used, the normal voice page is entered. After the call page receives the data transmitted by the remote owner, the call can be judged. The result is returned to the control layer to perform the call operation.
  • the method includes the following steps.
  • S40 receives the call request information generated by the user clicking the second pet ID displayed on the user terminal, and establishes a communication connection between the user terminal and other user terminals where the second pet ID is located.
  • the user can click on the avatar of other pet owners through the APP to initiate a call.
  • the step of establishing a communication connection with the user end includes: receiving the user end
  • the voice packets and/or video streams that are encoded and transmitted in the form of Real-time Transport Protocol (RTP) packets are forwarded to the corresponding other clients.
  • RTP Real-time Transport Protocol
  • the client system After the user clicks on the owner avatar of the second pet ID corresponding to the other client, the client system transmits the message to the calling module, and the calling module sends the call request information to the server, and the server finds the corresponding second pet ID, and The call request information is forwarded to other users corresponding to the second pet ID, and other user users may select to perform a video call or a voice call, or select one of the three operations of rejecting the call.
  • the transmission standard of the above network video call is SIP.
  • VOIP is the mainstream of the communication protocol and transmission mode of the voice transmission, video call or multimedia conference of the Intert network. It can be local WIFI voice communication, remote voice call, or traditional. GSM/2G/3G/4G communication (if the server segment selects the public number of the pet owner), in the APP, it is necessary to be able to call the phone function module that comes with the mobile phone.
  • the user login interface manually registers information with the SIP server, and sends a registration request message to the specified IP address
  • the user needs to record the voice packet and the video of the camera, and then respectively use the voice coding module and the system's own voice coding module.
  • the video coding module performs coding, and then forms a packet through the RTP, and then the RSTP streaming media module controls the transmission.
  • the corresponding other user requests the audio and video data to the server through the RSTP client, and then decodes and restores the voice to the RTP data packet.
  • the video is played and displayed.
  • a basic VOIP project requires at least three classes to authenticate to SIP basic settings, log in to the SIP device provider, register the device to handle incoming calls, make calls, manage user interface during the call, listen for incoming SIP calls, and then Pass these SIP phones to control.
  • the method before receiving step S10 of the query request sent by the client, the method includes:
  • Step S12 receiving the pet information and the pet owner information sent by the user end, and storing the pet information and the pet owner information in a data table format in a database; the pet information and the pet owner information at least include: a pet ID, The owner ID, the location ID, and the mobile terminal communication address of the owner, the data table includes a pet information table, a master information table, and a location information table.
  • the method for creating a discussion group based on pet information uploading pet information and pet owner information (such as pet type, gender, marriage, color, weight; pet owner's number, region, etc.) to the server through the user terminal
  • pet information and pet owner information such as pet type, gender, marriage, color, weight; pet owner's number, region, etc.
  • the server stores the information of these pets and pet owners to a large database.
  • the server will associate the second pet ID with the keyword.
  • a pet ID is divided into a discussion group, so that the user can intuitively display the same type, the same type of pet information of their own interest, and can automatically establish the same type of pet discussion group circle of friends, facilitate and communicate, promote Interaction between pet owners.
  • an embodiment of the present invention further provides a server for creating a discussion group based on pet information, including
  • the receiving unit 10 is configured to receive a query request sent by the user end, where the query request carries the first pet ID that is logged in by the user end and the query keyword that is input by the user.
  • the first pet ID is an account name, and each first pet ID corresponds to one account.
  • the physical parameters such as pet type, gender, age, height, and weight are generally input.
  • the above query keywords are generally words, words or sentences related to pets, such as pet type, gender, age, height, weight, illness, hospital, and the like.
  • the first pet ID and the second pet ID described below are both client APPs installed on the user terminal, such as a smart phone, and then established on the client APP.
  • the execution body of the receiving unit 10 is generally a server, and the server generally receives the pet information sent by the user end and the information of the pet owner and stores the information.
  • the server is configured with a relational database, and comes with a categorization function. It can classify the search of the uplink segment of the client in detail. For example, you can search for types, gender, unmarried, pet transfer, pet market or pet friends to get different data.
  • the server may receive the pet information and the pet owner information of the pet directly uploaded by the smart wearable device; or receive the pet information and the pet owner information of the pet uploaded by the mobile communication terminal.
  • the smart wearable device worn on the pet is provided with a hardware module such as GPS/BT/2G/3G/4G, and can communicate with the smart phone Bluetooth communication and network, and can upload data to the server and be controlled by the smart phone. .
  • the current location information of the pet can be uploaded to the server by means of the mobile phone.
  • the matching unit 20 is configured to match, according to the query request, a plurality of second pet IDs on other users belonging to the same pet type associated with the query keyword.
  • the second pet ID is actually the same as the first pet ID, and is a pet ID established by another user.
  • the server classifies the pet information, and associates the first pet ID with another second pet ID that matches the query keyword.
  • the above matching method is generally a shared article sent by the query keyword and the second pet ID, The information of the type of the pet corresponding to the second pet ID and the location of the user of the second pet ID is matched. For example, if the query keyword is Vietnamese mastiff, the server queries the type corresponding to the second pet ID according to the Vietnamese mastiff. After the second pet ID of the Vietnamese Mastiff is found, the first pet ID and the second pet ID may be associated with each other.
  • the dividing unit 30 is configured to divide the first pet ID that is logged in by the user end and the second pet ID that is logged in to the other user end into one discussion group.
  • the server divides the first pet ID and the second slave ID associated with it into a discussion group, and then sends it to the client, and the client displays the generated discussion group.
  • the interface on the client A PP generally displays the contact avatar dynamically. In order to dynamically display the contact avatar, firstly, a thread needs to be created.
  • the user asynchronously reads the data of the categorized pet owner stored in the server, saves the obtained data by keywords, and sequentially adds it to the container of the array list, and then It is to set the layout of the lis t Item, layout the pet owner's avatar, name ID, pet type, IP address and online situation in a mixed manner, and finally create a list container.
  • the list container can listen to the content of the update list through the Notifaciton method. You can use the Handler to receive the information that needs to modify the user interface. When there is a change message, the Handler receives the message. The message, calling the Notifaciton method, notifies the list container to refresh the pet-related data.
  • the server may directly push the pet information and/or the pet owner information of the second pet ID to the user end, and the user end receives the pet information.
  • the user can choose to establish or not to establish a discussion group.
  • the discussion group can also be automatically established by the server for the user to input text or pictures or videos to communicate.
  • the server pushes the information related to the keyword to the user end, and the user terminal can intuitively display the same variety, the same type, and the user is interested in The pet information, and automatically establish the same type of pet discussion group circle of friends, convenient and ⁇ communication, and promote interaction between pet owners.
  • the server for creating a discussion group based on the pet information further includes: a communication connection unit 11 configured to establish a communication connection with the user end.
  • the server and the client need to establish a communication connection to facilitate communication between the server and the client.
  • the server performs different processing according to the received different data or commands. For example, if the query request is received, the server performs matching and divides the processing of the discussion group. If the call request of the user end is received, the server performs the call forwarding process. Will one The client connects to other clients.
  • the user terminal is provided with a call module, and the main function is to provide an operation for the user to wake up the telephone call.
  • the user can choose whether to use a video call or a normal voice call. If a video call is made, the video call interface is entered. If the normal voice call is used, the normal voice page is entered. After the call page receives the data transmitted by the remote owner, the call can be judged. The result is returned to the control layer to perform the call operation.
  • the server for creating a discussion group based on the pet information further includes: a call receiving unit 40, configured to receive a call request generated by the user clicking the second pet ID displayed on the user end. Information, establishing a communication connection between the client and other clients where the second pet ID is located.
  • the user can click on the avatar of other pet owners through the APP to initiate a call.
  • the communication connection unit 11 includes: a receiving and forwarding module 111, configured to receive a voice packet and/or a video stream that is encoded by the UE and transmitted in an RTP data packet, and forwarded to other user terminal.
  • a receiving and forwarding module 111 configured to receive a voice packet and/or a video stream that is encoded by the UE and transmitted in an RTP data packet, and forwarded to other user terminal.
  • the client system After the user clicks on the owner avatar of the second pet ID corresponding to the other client, the client system transmits the message to the calling module, and the calling module sends the call request information to the server, and the server finds the corresponding second pet ID, and The call request information is forwarded to other users corresponding to the second pet ID, and other user users may select to perform a video call or a voice call, or select one of the three operations of rejecting the call.
  • the transmission standard of the above network video call is SIP.
  • VOIP is the mainstream of the communication protocol and transmission mode of the voice, video call or multimedia conference of the Intert network. It can be local W IFI voice communication, or can be used for remote voice calls.
  • Traditional GSM/2G/3G/4G communication if the server segment selects the public number of the pet owner), the APP needs to be able to call the phone function module that comes with the mobile phone.
  • the user login interface manually registers information with the SIP server, and sends a registration request message to the specified IP address
  • the user needs to record the voice packet and the video of the camera, and then respectively use the voice coding module and the system's own voice coding module.
  • the video coding module performs coding, and then forms a packet through the RTP, and then the RSTP streaming media module controls the transmission.
  • the corresponding other user requests the audio and video data to the server through the RSTP client, and then decodes and restores the voice to the RTP data packet.
  • the video is played and displayed.
  • a basic VOIP project requires at least three classes to authenticate to SIP basic settings, log in to the SIP device provider, register the device to handle incoming calls, make calls, manage user interface during the call, listen for incoming SIP calls, and then Pass these SIP phones to control.
  • the server that creates the discussion group based on the pet information further includes:
  • the receiving storage unit 12 is configured to receive the pet information and the pet owner information sent by the user end, and store the pet information and the pet owner information in a database in a data table format; the pet information and the pet owner information.
  • the method includes at least: a pet ID, a pet type, a host ID, a location ID, and a mobile terminal communication address of the owner, and the data table includes a pet information table, a master information table, and a location information table.
  • the server of the present invention creates a discussion group based on pet information, and uploads pet information and pet owner information (such as pet type, gender, marriage, color, weight; pet owner's number, region, etc.) to the server through the user terminal.
  • the server stores the pet information and the pet owner's information in a large database.
  • the server divides the second pet ID and the first pet ID associated with the keyword into a discussion group, so that the user can visually display the same variety, the same type, and Interested pet information, and can automatically establish the same type of pet discussion group circle of friends, convenient and easy to communicate, and promote interaction between pet owners.
  • the present invention further provides a system for creating a discussion group based on pet information, including a server 100 and a client 200.
  • the server 100 receives a query request sent by the client 200, where the query carries the user.
  • the first pet ID is an account name, and each first pet ID corresponds to one account.
  • the physical parameters such as pet type, gender, age, height, and weight are generally input.
  • the above query keywords are generally words, words or sentences related to pets, for example, pet type, gender, age, height, weight, illness, hospital, and the like.
  • the first pet ID and the second pet ID described below are both the client 200APP installed on the client 200, such as a smart phone, and then the account established on the client 200APP.
  • the server 100 generally receives the pet information sent by the client 200 and the information of the pet owner and stores the information.
  • the server 100 is configured with a relational database, and has a categorization function, which can classify the search of the uplink segment of the client 200 in detail, for example, searching for types, genders, unmarried, pet transfer, pet market, or pet dating, etc. A linked list of different data.
  • the server 100 may receive the pet information and the pet owner information of the pet directly uploaded by the smart wearable device; or receive the pet information and the pet owner information of the pet uploaded by the mobile communication terminal.
  • the smart wearable device worn on the pet is provided with GPS/BT/2G/3
  • a hardware module such as G/4G, and can communicate with the smartphone Bluetooth and network, can upload data to the server 100 and be controlled by the smartphone.
  • the current location information of the pet can be uploaded to the server 100 by means of the mobile phone.
  • the server 100 matches, according to the query request, a plurality of second pet IDs on other users belonging to the same pet type associated with the query keyword; the second pet ID is actually the first
  • the pet ID is the same and is the pet ID established by other users.
  • the server 100 classifies the pet information, and associates the first pet ID with another second pet ID that matches the query keyword.
  • the matching method generally matches the query keyword with the shared article sent by the second pet ID, the type of the pet corresponding to the second pet ID, and the location of the client 200 of the second pet ID, for example, the query.
  • the keyword is Vietnamese Mastiff.
  • the server 100 queries the second pet ID corresponding to the second pet ID according to the Vietnamese Mastiff. After the search, the first pet ID and the second pet ID can be associated with each other. .
  • the server 100 divides the first pet ID logged in by the client 200 and the second pet ID on the other client into one discussion group.
  • the server 100 divides the first pet ID and the second slave ID associated therewith into a discussion group, and then sends it to the client 200, and the client 200 displays the generated discussion group.
  • the interface on the client 2 00 APP generally displays the contact avatar dynamically. In order to dynamically display the contact avatar, firstly, a thread needs to be created, and the user asynchronously reads the data of the categorized pet owner stored in the server 100, saves the obtained data by keywords, and sequentially adds it to the container of the array list.
  • the list container can listen to the content of the update list through the Notifaciton method. You can use the Handler to receive the information that needs to modify the user interface. When there is a change message, the Handler receives the message. The message, calling the Notifaciton method, notifies the list container to refresh the pet-related data.
  • the server 100 when querying the second pet IDs on other users, the server 100 may directly push the pet information and/or the pet owner information of the second pet IDs to the client 200, and the client 200 receives After the pet information and the pet owner information, the user may choose to establish or not establish a discussion group.
  • the discussion group may be automatically established by the server 100 for the user to input text or pictures or videos to communicate.
  • the server 10 when the user terminal 200 inputs the query keyword and submits it to the server 100, the server 10 pushes the information related to the keyword to the user terminal 200, and the client 200 can intuitively display the same product.
  • the same type of pet information that you are interested in, and automatically establish the same type of pet discussion group circle of friends, convenient and ⁇ communication, and promote interaction between pet owners.
  • the server 100 is further configured to: establish a communication connection with the client 200.
  • the server 100 and the client 200 need to establish a communication connection to facilitate communication between the server 100 and the client 200.
  • the server 100 performs different processing according to different data or commands received. For example, if the query request is received, the server performs matching and divides the processing of the discussion group. If the call request of the client 200 is received, the call forwarding process is performed. The process whereby a client 200 is connected to other clients.
  • the calling terminal module is disposed on the client 200, and the main function is to provide an operation for the user to wake up the telephone call. The user can choose whether to use a video call or a normal voice call.
  • the video call interface is entered. If the normal voice call is used, the normal voice page is entered. After the call page receives the data transmitted by the remote owner, the call can be judged. The result is returned to the control layer to perform the call operation.
  • the server 100 is further configured to receive call request information generated by the user clicking the second pet ID displayed on the user terminal 200, and establish the user terminal 200 and other users where the second pet ID is located. Communication connection between the ends.
  • the user can click on the avatar of other pet owners through the APP to initiate a call.
  • the server 100 receives the voice packet and/or the video stream that is encoded by the user terminal 200 and transmitted in the form of an RTP data packet, and is forwarded to the corresponding other user terminals.
  • the client 200 clicks on the owner avatar of the second pet ID corresponding to the other client
  • the client 200 system transmits the message to the designed calling module, and the calling module sends the call request information to the server 100, and the server 100 finds the corresponding number.
  • the two pet IDs are forwarded to the other user terminals corresponding to the second pet ID, and the other user terminals may select to perform a video call or a voice call, or select one of the three operations of rejecting the call.
  • the transmission standard of the above network video call is SIP.
  • VOIP is the mainstream of the communication protocol and transmission mode of the voice transmission, video call or multimedia conference of the Intert network. It can be local WIFI voice communication, remote voice call, or traditional. GSM/2G/3G/4G communication (if the server 100 segment of the pet owner number chooses the way to public), in the APP needs to be able to call the phone to bring Telephone function modules, etc.
  • the client 200 When the user login interface manually registers information with the SIP server 100, and sends a registration request message to the specified IP address, the client 200 needs to record the voice packet and the video of the camera, and then respectively use the voice coding of the system.
  • the module and the video coding module perform coding, and then form a packet through RTP, and then control transmission by the R STP streaming media module, and the corresponding other client requests audio and video data to the server 100 through the RSTP client, and then decodes the RTP data packet. , restore voice and video for playback and display.
  • a basic VOIP project requires at least three classes to authenticate to SIP basic settings, log in to the SIP device provider, register the device to handle incoming calls, make calls, manage user interface during the call, listen for incoming SIP calls, and then Pass these SIP phones to control.
  • the user terminal 200 also provides a registration interface for the user to register.
  • the pet owner can register the user with the server 100 through the client 200 such as the mobile phone APP, and upload the pet owner information and the pet information.
  • the server 100 stores the data through the instert operation of the sql database to help the database complete the data collection and data update work.
  • the server 100 receives the pet information and the pet owner information sent by the user terminal 200, and stores the pet information and the pet owner information in a data table format in a database; the pet information and the pet owner information are at least The method includes: a pet ID, a pet type, a host ID, a location ID, and a mobile terminal communication address of the owner, and the data table includes a pet information table, a master information table, and a location information table.
  • the system for creating a discussion group based on pet information of the present invention uploads pet information and information of a pet owner (such as pet type, gender, marriage, color, weight; pet owner's number, region, etc.) through the user terminal 200 to Server 100, server 100 stores the information of these pets and pet owners to a large database.
  • server 100 divides the second pet ID and the first pet ID associated with the keyword into a discussion group, so that the client 200 can intuitively display the same variety.
  • Types of pet information of your own interest and can automatically establish the same type of pet discussion group, facilitate communication and communication, and promote interaction between pet owners.

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

一种基于宠物信息创建讨论组的方法、服务器及系统,其中方法包括以下步骤:接收用户端发送的查询请求,所述查询请求中携带所述用户端登陆的第一宠物ID和用户输入的查询关键字(S10);根据所述查询请求,匹配出多个与所述查询关键字关联的属于同一宠物类型的其它用户端上的第二宠物ID(S20);将所述用户端登陆的第一宠物ID与所述其它用户端上的第二宠物ID划分到一个讨论组(S30)。从而可以方便宠物主人之间的交流。

Description

基于宠物信息创建讨论组的方法、 服务器及系统 技术领域
[0001] 本发明涉及智能电子设备技术领域, 具体涉及一种基于宠物信息创建讨论组的 方法、 服务器及系统。
背景技术
[0002] 目前, 市场上出现了较多可以监测宠物信息的智能设备, 极大的方便了宠物的 主人。 通过这种智能设备人们可以更好地了解动物的意图, 动物的位置信息, 使人与动物交流更加方便, 也更加方便的完成对动物的管理。 例如可通过计步 、 心率等实现监测宠物的运动量, 对动物进行健康管理。 但目前的大多数智能 宠物设备只是简单收集宠物的位置 /心率 /呼吸频率等信息发送到主人邮箱或手机 , 让宠物主人知道自己宠物单个个体的信息。 这些智能设备仅提供单个宠物的 数据信息, 宠物主人难以知道其他宠物主人的联系信息, 无法与其他动物主人 进行交流, 智能化程度不够。
技术问题
[0003] 本发明的主要目的在于提供一种基于宠物信息创建讨论组的方法, 旨在解决现 有技术中宠物主人难以知道其他宠物主人的联系信息, 无法与其他动物主人进 行交流, 智能化程度不够的技术问题。
问题的解决方案
技术解决方案
[0004] 为了实现发明目的, 本发明提供一种基于宠物信息创建讨论组的方法, 包括: [0005] 接收用户端发送的査询请求, 所述査询请求中携带所述用户端登陆的第一宠物
ID和用户输入的査询关键字;
[0006] 根据所述査询请求, 匹配出多个与所述査询关键字关联的属于同一宠物类型的 其它用户端上的第二宠物 ID;
[0007] 将所述用户端登陆的第一宠物 ID与所述其它用户端上的第二宠物 ID划分到一个 讨论组。 [0008] 进一步地, 所述接收用户端发送的査询请求的步骤之前, 包括:
[0009] 建立与所述用户端的通信连接。
[0010] 进一步地, 所述将所述用户端登陆的第一宠物 ID与所述其它用户端上的第二宠 物 ID划分到一个讨论组的步骤之后, 包括:
[0011] 接收用户点击所述用户端上显示的第二宠物 ID吋生成的呼叫请求信息, 建立所 述用户端与所述第二宠物 ID所在的其它用户端之间的通信连接。
[0012] 进一步地, 所述建立与所述用户端的通信连接的步骤包括:
[0013] 接收所述用户端进行编码并以 RTP数据包形式传输的语音包和 /或视频流, 并转 发给其它用户端。
[0014] 进一步地, 所述接收用户端发送的査询请求的步骤之前, 包括:
[0015] 接收所述用户端发送的宠物信息和宠物主人信息, 将所述宠物信息和宠物主人 信息以数据表格式存储在数据库中; 所述宠物信息和宠物主人信息至少包括: 宠物 ID、 宠物类型、 主人 ID、 位置 ID以及主人的移动终端通信地址。
[0016]
[0017] 本发明还提供一种基于宠物信息创建讨论组的服务器, 包括:
[0018] 接收单元, 用于接收用户端发送的査询请求, 所述査询请求中携带所述用户端 登陆的第一宠物 ID和用户输入的査询关键字;
[0019] 匹配单元, 用于根据所述査询请求, 匹配出多个与所述査询关键字关联的属于 同一宠物类型的其它用户端上的第二宠物 ID;
[0020] 划分单元, 用于将所述用户端登陆的第一宠物 ID与所述其它用户端上的第二宠 物 ID划分到一个讨论组。
[0021] 进一步地, 所述基于宠物信息创建讨论组的服务器还包括:
[0022] 通信连接单元, 用于建立与所述用户端的通信连接。
[0023] 进一步地, 所述基于宠物信息创建讨论组的服务器还包括:
[0024] 呼叫接收单元, 用于接收用户点击所述用户端上显示的第二宠物 ID吋生成的呼 叫请求信息, 建立所述用户端与所述第二宠物 ID所在的其它用户端之间的通信 连接。
[0025] 进一步地, 所述通信连接单元, 包括: [0026] 接收转发模块, 用于接收所述用户端进行编码并以 RTP数据包形式传输的语音 包和 /或视频流, 并转发给其它用户端。
[0027] 进一步地, 所述基于宠物信息创建讨论组的服务器还包括:
[0028] 接收存储单元, 用于接收所述用户端发送的宠物信息和宠物主人信息, 将所述 宠物信息和宠物主人信息以数据表格式存储在数据库中; 所述宠物信息和宠物 主人信息至少包括: 宠物 ID、 宠物类型、 主人 ID、 位置 ID以及主人的移动终端 通信地址。
[0029]
[0030] 本发明还提供一种基于宠物信息创建讨论组的系统, 包括服务器和用户端; [0031] 所述服务器接收用户端发送的査询请求, 所述査询请求中携带所述用户端登陆 的第一宠物 ID和用户输入的査询关键字;
[0032] 根据所述査询请求, 匹配出多个与所述査询关键字关联的属于同一宠物类型的 其它用户端上的第二宠物 ID;
[0033] 将所述用户端登陆的第一宠物 ID与所述其它用户端上的第二宠物 ID划分到一个 讨论组。
[0034] 进一步地, 所述服务器还用于: 建立与所述用户端的通信连接。
[0035] 进一步地, 所述服务器还用于: 接收用户点击所述用户端上显示的第二宠物 ID 吋生成的呼叫请求信息, 建立所述用户端与所述第二宠物 ID所在的其它用户端 之间的通信连接。
[0036] 进一步地, 所述服务器具体用于: 接收所述用户端进行编码并以 RTP数据包形 式传输的语音包和 /或视频流, 并转发给其它用户端。
[0037] 进一步地, 所述服务器还用于: 接收所述用户端发送的宠物信息和宠物主人信 息, 将所述宠物信息和宠物主人信息以数据表格式存储在数据库中; 所述宠物 信息和宠物主人信息至少包括: 宠物 ID、 宠物类型、 主人 ID、 位置 ID以及主人 的移动终端通信地址。
[0038]
发明的有益效果
有益效果 [0039] 由上可知, 本发明通过用户端上传宠物信息和宠物主人的信息 (如宠物的种类 、 性别、 婚姻、 颜色、 体重; 宠物主人的号码, 地区等) 至服务器, 服务器将 这些宠物信息及宠物主人的信息储存到大数据库。 当用户端输入査询关键字提 交给服务器吋, 服务器将与关键字相关的信息推送至用户端, 用户端能直观的 显示同品种, 同类型的, 自己感兴趣的宠物信息, 并自动建立同类型的宠物讨 论组朋友圈, 方便及吋沟通交流, 促进宠物主人之间的互动。
对附图的简要说明
附图说明
[0040] 图 1为本发明一实施例中基于宠物信息创建讨论组的方法的流程示意图;
[0041] 图 2为本发明一具体实施例中基于宠物信息创建讨论组的方法的流程示意图; [0042] 图 3为本发明一实施例中基于宠物信息创建讨论组的服务器的结构示意图; [0043] 图 4为本发明一具体实施例中基于宠物信息创建讨论组的服务器的结构示意图
[0044] 图 5为本发明一实施例中基于宠物信息创建讨论组的系统的结构示意图。
[0045]
[0046] 本发明目的的实现、 功能特点及优点将结合实施例, 参照附图做进一步说明。
实施该发明的最佳实施例
本发明的最佳实施方式
[0047] 应当理解, 此处所描述的具体实施例仅用以解释本发明, 并不用于限定本发明
[0048] 本发明实施例提供一种基于宠物信息创建讨论组的方法, 参照图 1, 本发明实 施例中基于宠物信息创建讨论组的方法包括以下步骤:
[0049] 步骤 S10, 接收用户端发送的査询请求, 所述査询请求中携带所述用户端登陆 的第一宠物 ID和用户输入的査询关键字。
[0050] 上述第一宠物 ID是一种账户名, 每一个第一宠物 ID对应一个账户, 在建立第一 宠物 ID吋, 一般会输入宠物种类、 性别、 年齢、 身高、 体重等体征参数。 上述 査询关键字, 一般为与宠物相关的字、 词语或语句, 比如, 宠物的种类、 性别 、 年齢、 身高、 体重、 生病、 医院等。 上述第一宠物 ID以及下述的第二宠物 ID 都是在用户端如智能手机上安装的用户端 APP, 然后在用户端 APP上建立的账户 。 本发明实施例中, 上述步骤 S10的执行主体一般为服务器, 在步骤 S10之前, 服务器一般会接收用户端发送的宠物信息及宠物主人的信息并存储。 服务器配 置有关系型数据库, 自带归类功能, 能够把用户端上行段的搜索进行详细的归 类, 比如可以搜索种类、 性别、 未婚、 宠物转让、 宠物市场或者宠物交友等类 型, 得到不同数据的链表。 本发明实施例中, 服务器可接收智能穿戴设备直接 上传的所述宠物的宠物信息和宠物主人信息; 或者, 接收由移动通信终端上传 的所述宠物的宠物信息和宠物主人信息。 本发明实施例中, 佩戴在宠物身上的 智能穿戴设备设置有 GPS/BT/2G/3G/4G等硬件模块, 并且可以与智能手机蓝牙通 信和网络通信, 可以向服务器上传数据和受智能手机控制。 当动物可穿戴设备 和手机进行蓝牙通信的期间, 可借助手机向服务器上传宠物当前的位置信息。
[0051] 步骤 S20, 根据所述査询请求, 匹配出多个与所述査询关键字关联的属于同一 宠物类型的其它用户端上的第二宠物 ID。 上述第二宠物 ID其实与上述第一宠物 I D相同, 是其他用户建立的宠物 ID。 上述服务器接收到査询关键字后, 对宠物信 息进行分类, 将第一宠物 ID与査询关键字匹配的其他的第二宠物 ID相互关联。 上述匹配的方法一般为査询关键字与第二宠物 ID发送过的分享文章、 第二宠物 I D对应的宠物的种类、 第二宠物 ID的用户端所在位置等信息进行匹配, 比如, 査 询关键字为藏獒, 服务器会根据藏獒两个字査询第二宠物 ID对应的种类是藏獒 的第二宠物 ID, 査找到之后, 既可以将第一宠物 ID与第二宠物 ID进行关联等处 理。
[0052] 步骤 S30, 将所述用户端登陆的第一宠物 ID与所述其它用户端上的第二宠物 ID 划分到一个讨论组。 服务器会将第一宠物 ID和与之关联的第二从宠物 ID划分到 一个讨论组, 然后发送到用户端, 用户端会显示生成的讨论组。 用户端 APP上的 界面一般会动态显示联系人头像。 为了实现动态显示联系人头像, 首先需要创 建一个线程, 用户异步读取保存在服务器的归类宠物主人的数据, 将得到的数 据按关键字进行保存, 并且依次添加到数组列表的容器中, 接着是设置 list Item 的布局, 将宠物主人的头像、 姓名 ID、 宠物类型、 IP地址与在线情况按照混合方 式布局, 最后可以创建列表容器。 为了不让一直线程读取数据而阻塞, 这个列 表容器可以通过 Notifaciton的方法来监听告知更新列表的内容, 可以使用 Handler 来接收需要修改用户界面的信息, 当有变动的消息吋, Handler接收到这个消息 , 调用 Notifaciton的方法, 通知列表容器刷新宠物相关的数据。 本发明实施例中 , 当査询出其他用户端上的第二宠物 ID, 服务器也可以直接将这些第二宠物 ID 的宠物信息和 /或宠物主人信息推送给用户端, 用户端接收到宠物信息和宠物主 人信息吋, 用户可以选择建立或者不建立讨论组, 当然, 也可以由服务器自动 建立讨论组, 以供用户输入文字或者图片或者视频等信息进行交流。
[0053] 本发明实施例中, 当用户端输入査询关键字提交给服务器吋, 服务器将与关键 字相关的信息推送至用户端, 用户端能直观的显示同品种, 同类型的, 自己感 兴趣的宠物信息, 并自动建立同类型的宠物讨论组朋友圈, 方便及吋沟通交流 , 促进宠物主人之间的互动。
[0054] 参照图 2, 在一较佳实施例中, 所述接收用户端发送的査询请求的步骤 S10之前 , 包括: 步骤 Sl l、 建立与所述用户端的通信连接。
[0055] 本实施例中, 服务器与用户端需要建立通信连接, 以方便服务器与用户端之间 的通信。 服务器根据接收的不同数据或命令进行不同的处理, 比如, 接收上述 査询请求, 则进行匹配、 划分讨论组的处理, 如果接收到用户端的呼叫请求吋 , 则起到呼叫转发的处理过程, 从而将一个用户端与其它用户端进行连接。 本 发明实施例中, 用户端设置有呼叫模块, 主要功能是为用户提供可以唤醒电话 呼叫的操作。 用户可以选择是通过视频呼叫还是通话普通语音呼叫, 如果通话 视频呼叫则进入视频呼叫界面, 如果通过普通语音呼叫, 则进入普通语音页面 , 呼叫页面接收远端主人传来的数据后, 可进行判断返回结果给控制层, 从而 进行呼叫操作。
[0056] 参照图 2, 在一较佳实施例中, 将所述用户端登陆的第一宠物 ID与所述其它用 户端上的第二宠物 ID划分到一个讨论组的步骤 S30之后, 包括步骤: S40接收用 户点击所述用户端上显示的第二宠物 ID吋生成的呼叫请求信息, 建立所述用户 端与所述第二宠物 ID所在的其它用户端之间的通信连接。 本发明实施例中, 用 户可通过 APP点击其他宠物主人的头像, 以发起呼叫。
[0057] 本发明实施例中, 建立与所述用户端的通信连接的步骤包括: 接收所述用户端 进行编码并以实吋传输协议 (RTP, Real-time Transport Protocol) 数据包形式传 输的语音包和 /或视频流, 并转发给对应的其它用户端。 当用户端点击其它用户 端对应的第二宠物 ID的主人头像后, 用户端系统把消息传到呼叫模块, 呼叫模 块将呼叫请求信息发送到服务器, 服务器査找到对应的第二宠物 ID, 并将呼叫 请求信息转发给第二宠物 ID对应的其它用户端, 其它用户端用户可以选择进行 视频通话或者语音通话, 或者选择拒绝接听三项中的一种操作。 以上流程网络 视频通话的传输标准是 SIP, VOIP是 Intert网络的传递语音, 视频通话或者多媒体 会议的通信协议和传输方式的主流, 可以本地 WIFI语音通信, 也可以进行远程 语音通话, 也可以采用传统的 GSM/2G/3G/4G通信 (如果服务器段该宠物主人号 码选择公幵的方式) , 在 APP中需要能够调用到手机自带的电话功能模块等。
[0058] 用户登录界面的吋候手动向 SIP服务器注册信息, 向指定的 IP地址发送注册请 求消息, 用户端需要对语音包与摄像头的视频进行录制, 然后分别使用系统自 带的语音编码模块和视频编码模块进行编码, 随后通过 RTP组成包, 再由 RSTP 流媒体模块控制传输, 对应的其它用户端则通过 RSTP客户端向服务器端请求音 视频数据, 然后对 RTP数据包, 解码, 还原语音与视频进行播放和显示。 一个基 本的 VOIP项目至少需要三个类对 SIP的基本设置身份验证,登录到 SIP设备供应商 , 注册 device去处理来电, 拨打电话, 在通话过程中用户界面管理, 监听传入的 SIP电话, 然后传递这些 SIP电话给控制。
[0059] 参照图 2, 本发明一较佳实施例中, 在接收用户端发送的査询请求的步骤 S10之 前, 包括:
[0060] 步骤 S12, 接收用户端发送的宠物信息和宠物主人信息, 将所述宠物信息和宠 物主人信息以数据表格式存储在数据库中; 所述宠物信息和宠物主人信息至少 包括: 宠物 ID、 主人 ID、 位置 ID以及主人的移动终端通信地址, 所述数据表包 括宠物信息表、 主人信息表和位置信息表。
[0061] 本发明的基于宠物信息创建讨论组的方法, 通过用户端上传宠物信息和宠物主 人的信息 (如宠物的种类、 性别、 婚姻、 颜色、 体重; 宠物主人的号码, 地区 等) 至服务器, 服务器将这些宠物及宠物主人的信息储存到大数据库。 当用户 端输入査询关键字提交给服务器吋, 服务器将与关键字相关的第二宠物 ID与第 一宠物 ID划分到一个讨论组, 使用户端能直观的显示同品种, 同类型的, 自己 感兴趣的宠物信息, 并可以自动建立同类型的宠物讨论组朋友圈, 方便及吋沟 通交流, 促进宠物主人之间的互动。
[0062]
[0063] 参照图 3, 本发明实施例还提供一种基于宠物信息创建讨论组的服务器, 包括
[0064] 接收单元 10, 用于接收用户端发送的査询请求, 所述査询请求中携带所述用户 端登陆的第一宠物 ID和用户输入的査询关键字。
[0065] 上述第一宠物 ID是一种账户名, 每一个第一宠物 ID对应一个账户, 在建立第一 宠物 ID吋, 一般会输入宠物种类、 性别、 年齢、 身高、 体重等体征参数。 上述 査询关键字, 一般为与宠物相关的字、 词语或语句, 比如, 宠物的种类、 性别 、 年齢、 身高、 体重、 生病、 医院等。 上述第一宠物 ID以及下述的第二宠物 ID 都是在用户端如智能手机上安装的用户端 APP, 然后在用户端 APP上建立的账户 。 本发明实施例中, 上述接收单元 10的执行主体一般为服务器, 服务器一般会 接收用户端发送的宠物信息及宠物主人的信息并存储。 服务器配置有关系型数 据库, 自带归类功能, 能够把用户端上行段的搜索进行详细的归类, 比如可以 搜索种类、 性别、 未婚、 宠物转让、 宠物市场或者宠物交友等类型, 得到不同 数据的链表。 本发明实施例中, 服务器可接收智能穿戴设备直接上传的所述宠 物的宠物信息和宠物主人信息; 或者, 接收由移动通信终端上传的所述宠物的 宠物信息和宠物主人信息。 本发明实施例中, 佩戴在宠物身上的智能穿戴设备 设置有 GPS/BT/2G/3G/4G等硬件模块, 并且可以与智能手机蓝牙通信和网络通信 , 可以向服务器上传数据和受智能手机控制。 当动物可穿戴设备和手机进行蓝 牙通信的期间, 可借助手机向服务器上传宠物当前的位置信息。
[0066] 匹配单元 20, 用于根据所述査询请求, 匹配出多个与所述査询关键字关联的属 于同一宠物类型的其它用户端上的第二宠物 ID。 上述第二宠物 ID其实与上述第 一宠物 ID相同, 是其他用户建立的宠物 ID。 上述服务器接收到査询关键字后, 对宠物信息进行分类, 将第一宠物 ID与査询关键字匹配的其他的第二宠物 ID相 互关联。 上述匹配的方法一般为査询关键字与第二宠物 ID发送过的分享文章、 第二宠物 ID对应的宠物的种类、 第二宠物 ID的用户端所在位置等信息进行匹配 , 比如, 査询关键字为藏獒, 服务器会根据藏獒两个字査询第二宠物 ID对应的 种类是藏獒的第二宠物 ID, 査找到之后, 既可以将第一宠物 ID与第二宠物 ID进 行关联等处理。
[0067] 划分单元 30, 用于将所述用户端登陆的第一宠物 ID与所述其它用户端上的第二 宠物 ID划分到一个讨论组。 服务器会将第一宠物 ID和与之关联的第二从宠物 ID 划分到一个讨论组, 然后发送到用户端, 用户端会显示生成的讨论组。 用户端 A PP上的界面一般会动态显示联系人头像。 为了实现动态显示联系人头像, 首先 需要创建一个线程, 用户异步读取保存在服务器的归类宠物主人的数据, 将得 到的数据按关键字进行保存, 并且依次添加到数组列表的容器中, 接着是设置 lis t Item的布局, 将宠物主人的头像、 姓名 ID、 宠物类型、 IP地址与在线情况按照 混合方式布局, 最后可以创建列表容器。 为了不让一直线程读取数据而阻塞, 这个列表容器可以通过 Notifaciton的方法来监听告知更新列表的内容, 可以使用 Handler来接收需要修改用户界面的信息, 当有变动的消息吋, Handler接收到这 个消息, 调用 Notifaciton的方法, 通知列表容器刷新宠物相关的数据。 本发明实 施例中, 当査询出其他用户端上的第二宠物 ID, 服务器也可以直接将这些第二 宠物 ID的宠物信息和 /或宠物主人信息推送给用户端, 用户端接收到宠物信息和 宠物主人信息吋, 用户可以选择建立或者不建立讨论组, 当然, 也可以由服务 器自动建立讨论组, 以供用户输入文字或者图片或者视频等信息进行交流。
[0068] 本实施例中, 当用户端输入査询关键字提交给服务器吋, 服务器将与关键字相 关的信息推送至用户端, 用户端能直观的显示同品种, 同类型的, 自己感兴趣 的宠物信息, 并自动建立同类型的宠物讨论组朋友圈, 方便及吋沟通交流, 促 进宠物主人之间的互动。
[0069] 参照图 4, 本实施例中, 上述基于宠物信息创建讨论组的服务器还包括: 通信 连接单元 11, 用于建立与所述用户端的通信连接。 服务器与用户端需要建立通 信连接, 以方便服务器与用户端之间的通信。 服务器根据接收的不同数据或命 令进行不同的处理, 比如, 接收上述査询请求, 则进行匹配、 划分讨论组的处 理, 如果接收到用户端的呼叫请求吋, 则起到呼叫转发的处理过程, 从而将一 个用户端与其它用户端进行连接。 本发明实施例中, 用户端设置有呼叫模块, 主要功能是为用户提供可以唤醒电话呼叫的操作。 用户可以选择是通过视频呼 叫还是通话普通语音呼叫, 如果通话视频呼叫则进入视频呼叫界面, 如果通过 普通语音呼叫, 则进入普通语音页面, 呼叫页面接收远端主人传来的数据后, 可进行判断返回结果给控制层, 从而进行呼叫操作。
[0070] 参照图 4, 本实施例中, 上述基于宠物信息创建讨论组的服务器还包括: 呼叫 接收单元 40, 用于接收用户点击所述用户端上显示的第二宠物 ID吋生成的呼叫 请求信息, 建立所述用户端与所述第二宠物 ID所在的其它用户端之间的通信连 接。 本发明实施例中, 用户可通过 APP点击其他宠物主人的头像, 以发起呼叫。
[0071] 本实施例中, 上述通信连接单元 11, 包括: 接收转发模块 111, 用于接收所述 用户端进行编码并以 RTP数据包形式传输的语音包和 /或视频流, 并转发给其它 用户端。 当用户端点击其它用户端对应的第二宠物 ID的主人头像后, 用户端系 统把消息传到呼叫模块, 呼叫模块将呼叫请求信息发送到服务器, 服务器査找 到对应的第二宠物 ID, 并将呼叫请求信息转发给第二宠物 ID对应的其它用户端 , 其它用户端用户可以选择进行视频通话或者语音通话, 或者选择拒绝接听三 项中的一种操作。 以上流程网络视频通话的传输标准是 SIP, VOIP是 Intert网络的 传递语音, 视频通话或者多媒体会议的通信协议和传输方式的主流, 可以本地 W IFI语音通信, 也可以进行远程语音通话, 也可以采用传统的 GSM/2G/3G/4G通信 (如果服务器段该宠物主人号码选择公幵的方式) , 在 APP中需要能够调用到手 机自带的电话功能模块等。
[0072] 用户登录界面的吋候手动向 SIP服务器注册信息, 向指定的 IP地址发送注册请 求消息, 用户端需要对语音包与摄像头的视频进行录制, 然后分别使用系统自 带的语音编码模块和视频编码模块进行编码, 随后通过 RTP组成包, 再由 RSTP 流媒体模块控制传输, 对应的其它用户端则通过 RSTP客户端向服务器端请求音 视频数据, 然后对 RTP数据包, 解码, 还原语音与视频进行播放和显示。 一个基 本的 VOIP项目至少需要三个类对 SIP的基本设置身份验证,登录到 SIP设备供应商 , 注册 device去处理来电, 拨打电话, 在通话过程中用户界面管理, 监听传入的 SIP电话, 然后传递这些 SIP电话给控制。 [0073] 参照图 4, 本实施例中, 上述基于宠物信息创建讨论组的服务器还包括:
[0074] 接收存储单元 12, 用于接收所述用户端发送的宠物信息和宠物主人信息, 将所 述宠物信息和宠物主人信息以数据表格式存储在数据库中; 所述宠物信息和宠 物主人信息至少包括: 宠物 ID、 宠物类型、 主人 ID、 位置 ID以及主人的移动终 端通信地址, 所述数据表包括宠物信息表、 主人信息表和位置信息表。
[0075] 本发明的基于宠物信息创建讨论组的服务器, 通过用户端上传宠物信息和宠物 主人的信息 (如宠物的种类、 性别、 婚姻、 颜色、 体重; 宠物主人的号码, 地 区等) 至服务器, 服务器将这些宠物信息及宠物主人的信息储存到大数据库。 当用户端输入査询关键字提交给服务器吋, 服务器将与关键字相关的第二宠物 I D与第一宠物 ID划分到一个讨论组, 使用户端能直观地显示同品种, 同类型的, 自己感兴趣的宠物信息, 并可以自动建立同类型的宠物讨论组朋友圈, 方便及 吋沟通交流, 促进宠物主人之间的互动。
[0076]
[0077] 参照图 5, 本发明还提供一种基于宠物信息创建讨论组的系统, 包括服务器 100 和用户端 200, 服务器 100接收用户端 200发送的査询请求, 所述査询请求中携带 用户端 200登陆的第一宠物 ID和用户输入的査询关键字。
[0078] 上述第一宠物 ID是一种账户名, 每一个第一宠物 ID对应一个账户, 在建立第一 宠物 ID吋, 一般会输入宠物种类、 性别、 年齢、 身高、 体重等体征参数。 上述 査询关键字, 一般为与宠物相关的字、 词语或语句, 比如, 宠物的种类、 性别 、 年齢、 身高、 体重、 生病、 医院等。 上述第一宠物 ID以及下述的第二宠物 ID 都是在用户端 200如智能手机上安装的用户端 200APP, 然后在用户端 200APP上 建立的账户。 本发明实施例中, 服务器 100—般会接收用户端 200发送的宠物信 息及宠物主人的信息并存储。 服务器 100配置有关系型数据库, 自带归类功能, 能够把用户端 200上行段的搜索进行详细的归类, 比如可以搜索种类、 性别、 未 婚、 宠物转让、 宠物市场或者宠物交友等类型, 得到不同数据的链表。 本发明 实施例中, 服务器 100可接收智能穿戴设备直接上传的所述宠物的宠物信息和宠 物主人信息; 或者, 接收由移动通信终端上传的所述宠物的宠物信息和宠物主 人信息。 本发明实施例中, 佩戴在宠物身上的智能穿戴设备设置有 GPS/BT/2G/3 G/4G等硬件模块, 并且可以与智能手机蓝牙通信和网络通信, 可以向服务器 100 上传数据和受智能手机控制。 当动物可穿戴设备和手机进行蓝牙通信的期间, 可借助手机向服务器 100上传宠物当前的位置信息。
[0079] 服务器 100根据所述査询请求, 匹配出多个与所述査询关键字关联的属于同一 宠物类型的其它用户端上的第二宠物 ID; 上述第二宠物 ID其实与上述第一宠物 I D相同, 是其他用户建立的宠物 ID。 上述服务器 100接收到査询关键字后, 对宠 物信息进行分类, 将第一宠物 ID与査询关键字匹配的其他的第二宠物 ID相互关 联。 上述匹配的方法一般为査询关键字与第二宠物 ID发送过的分享文章、 第二 宠物 ID对应的宠物的种类、 第二宠物 ID的用户端 200所在位置等信息进行匹配, 比如, 査询关键字为藏獒, 服务器 100会根据藏獒两个字査询第二宠物 ID对应的 种类是藏獒的第二宠物 ID, 査找到之后, 既可以将第一宠物 ID与第二宠物 ID进 行关联等处理。
[0080] 服务器 100将用户端 200登陆的第一宠物 ID与所述其它用户端上的第二宠物 ID划 分到一个讨论组。 服务器 100会将第一宠物 ID和与之关联的第二从宠物 ID划分到 一个讨论组, 然后发送到用户端 200, 用户端 200会显示生成的讨论组。 用户端 2 00APP上的界面一般会动态显示联系人头像。 为了实现动态显示联系人头像, 首 先需要创建一个线程, 用户异步读取保存在服务器 100的归类宠物主人的数据, 将得到的数据按关键字进行保存, 并且依次添加到数组列表的容器中, 接着是 设置 list Item的布局, 将宠物主人的头像、 姓名 ID、 宠物类型、 IP地址与在线情 况按照混合方式布局, 最后可以创建列表容器。 为了不让一直线程读取数据而 阻塞, 这个列表容器可以通过 Notifaciton的方法来监听告知更新列表的内容, 可 以使用 Handler来接收需要修改用户界面的信息, 当有变动的消息吋, Handler接 收到这个消息, 调用 Notifaciton的方法, 通知列表容器刷新宠物相关的数据。 本 发明实施例中, 当査询出其他用户端上的第二宠物 ID, 服务器 100也可以直接将 这些第二宠物 ID的宠物信息和 /或宠物主人信息推送给用户端 200, 用户端 200接 收到宠物信息和宠物主人信息吋, 用户可以选择建立或者不建立讨论组, 当然 , 也可以由服务器 100自动建立讨论组, 以供用户输入文字或者图片或者视频等 信息进行交流。 [0081] 本发明实施例中, 当用户端 200输入査询关键字提交给服务器 100吋, 服务器 10 0将与关键字相关的信息推送至用户端 200, 用户端 200能直观的显示同品种, 同 类型的, 自己感兴趣的宠物信息, 并自动建立同类型的宠物讨论组朋友圈, 方 便及吋沟通交流, 促进宠物主人之间的互动。
[0082] 本实施例中, 上述服务器 100还用于: 建立与所述用户端 200的通信连接。 服务 器 100与用户端 200需要建立通信连接, 以方便服务器 100与用户端 200之间的通 信。 服务器 100根据接收的不同数据或命令进行不同的处理, 比如, 接收上述査 询请求, 则进行匹配、 划分讨论组的处理, 如果接收到用户端 200的呼叫请求吋 , 则起到呼叫转发的处理过程, 从而将一个用户端 200与其它用户端进行连接。 本发明实施例中, 用户端 200上设置有呼叫模块, 主要功能是为用户提供可以唤 醒电话呼叫的操作。 用户可以选择是通过视频呼叫还是通话普通语音呼叫, 如 果通话视频呼叫则进入视频呼叫界面, 如果通过普通语音呼叫, 则进入普通语 音页面, 呼叫页面接收远端主人传来的数据后, 可进行判断返回结果给控制层 , 从而进行呼叫操作。
[0083] 本实施例中, 服务器 100还用于接收用户点击所述用户端 200上显示的第二宠物 ID吋生成的呼叫请求信息, 建立用户端 200与所述第二宠物 ID所在的其它用户端 之间的通信连接。 本发明实施例中, 用户可通过 APP点击其他宠物主人的头像, 以发起呼叫。
[0084] 本发明实施例中, 服务器 100接收用户端 200进行编码并以 RTP数据包形式传输 的语音包和 /或视频流, 并转发给对应的其它用户端。 当用户端 200点击其它用户 端对应的第二宠物 ID的主人头像后, 用户端 200系统把消息传到设计的呼叫模块 , 呼叫模块将呼叫请求信息发送到服务器 100, 服务器 100査找到对应的第二宠 物 ID, 并将呼叫请求信息转发给第二宠物 ID对应的其它用户端, 其它用户端用 户可以选择进行视频通话或者语音通话, 或者选择拒绝接听三项中的一种操作 。 以上流程网络视频通话的传输标准是 SIP, VOIP是 Intert网络的传递语音, 视频 通话或者多媒体会议的通信协议和传输方式的主流, 可以本地 WIFI语音通信, 也可以进行远程语音通话, 也可以采用传统的 GSM/2G/3G/4G通信 (如果服务器 100段该宠物主人号码选择公幵的方式) , 在 APP中需要能够调用到手机自带的 电话功能模块等。
[0085] 用户登录界面的吋候手动向 SIP服务器 100注册信息, 向指定的 IP地址发送注册 请求消息, 用户端 200需要对语音包与摄像头的视频进行录制, 然后分别使用系 统自带的语音编码模块和视频编码模块进行编码, 随后通过 RTP组成包, 再由 R STP流媒体模块控制传输, 对应的其它用户端则通过 RSTP客户端向服务器 100端 请求音视频数据, 然后对 RTP数据包, 解码, 还原语音与视频进行播放和显示。 一个基本的 VOIP项目至少需要三个类对 SIP的基本设置身份验证,登录到 SIP设备 供应商, 注册 device去处理来电, 拨打电话, 在通话过程中用户界面管理, 监听 传入的 SIP电话, 然后传递这些 SIP电话给控制。
[0086] 本实施例中, 用户端 200还提供注册界面以供用户注册; 本发明实施例中, 宠 物主人可以通过例如手机 APP等用户端 200向服务器 100注册用户, 上传宠物主人 信息和宠物信息到服务器 100, 然后服务器 100通过 sql数据库的 instert操作存储这 些数据, 帮助数据库完成数据采集及数据更新的工作。
[0087] 本实施例中, 服务器 100接收用户端 200发送的宠物信息和宠物主人信息, 将所 述宠物信息和宠物主人信息以数据表格式存储在数据库中; 所述宠物信息和宠 物主人信息至少包括: 宠物 ID、 宠物类型、 主人 ID、 位置 ID以及主人的移动终 端通信地址, 所述数据表包括宠物信息表、 主人信息表和位置信息表。
[0088] 本发明的基于宠物信息创建讨论组的系统, 通过用户端 200上传宠物信息和宠 物主人的信息 (如宠物的种类、 性别、 婚姻、 颜色、 体重; 宠物主人的号码, 地区等) 至服务器 100, 服务器 100将这些宠物及宠物主人的信息储存到大数据 库。 当用户端 200输入査询关键字提交给服务器 100吋, 服务器 100将与关键字相 关的第二宠物 ID与第一宠物 ID划分到一个讨论组, 使用户端 200能直观的显示同 品种, 同类型的, 自己感兴趣的宠物信息, 并可以自动建立同类型的宠物讨论 组, 方便及吋沟通交流, 促进宠物主人之间的互动。
[0089]
[0090] 以上仅为本发明的优选实施例, 并非因此限制本发明的专利范围, 凡是利用本 发明说明书及附图内容所作的等效结构或等效流程变换, 或直接或间接运用在 其他相关的技术领域, 均同理包括在本发明的专利保护范围内。

Claims

权利要求书
一种基于宠物信息创建讨论组的方法, 其特征在于, 包括: 接收用户端发送的査询请求, 所述査询请求中携带所述用户端登陆的 第一宠物 ID和用户输入的査询关键字;
根据所述査询请求, 匹配出多个与所述査询关键字关联的属于同一宠 物类型的其它用户端上的第二宠物 ID;
将所述用户端登陆的第一宠物 ID与所述其它用户端上的第二宠物 ID 划分到一个讨论组。
如权利要求 1所述的基于宠物信息创建讨论组的方法, 其特征在于, 所述接收用户端发送的査询请求的步骤之前, 包括:
建立与所述用户端的通信连接。
如权利要求 2所述的基于宠物信息创建讨论组的方法, 其特征在于, 所述将所述用户端登陆的第一宠物 ID与所述其它用户端上的第二宠物 ID划分到一个讨论组的步骤之后, 包括:
接收用户点击所述用户端上显示的第二宠物 ID吋生成的呼叫请求信息 , 建立所述用户端与所述第二宠物 ID所在的其它用户端之间的通信连 接。
如权利要求 2或 3所述的基于宠物信息创建讨论组的方法, 其特征在于 , 所述建立与所述用户端的通信连接的步骤包括:
接收所述用户端进行编码并以 RTP数据包形式传输的语音包和 /或视 频流, 并转发给其它用户端。
如权利要求 4所述的基于宠物信息创建讨论组的方法, 其特征在于, 所述接收用户端发送的査询请求的步骤之前, 包括:
接收所述用户端发送的宠物信息和宠物主人信息, 将所述宠物信息和 宠物主人信息以数据表格式存储在数据库中; 所述宠物信息和宠物主 人信息至少包括: 宠物 ID、 宠物类型、 主人 ID、 位置 ID以及主人的 移动终端通信地址。
一种基于宠物信息创建讨论组的服务器, 其特征在于, 包括: 接收单元, 用于接收用户端发送的査询请求, 所述査询请求中携带所 述用户端登陆的第一宠物 ID和用户输入的査询关键字;
匹配单元, 用于根据所述査询请求, 匹配出多个与所述査询关键字关 联的属于同一宠物类型的其它用户端上的第二宠物 ID;
划分单元, 用于将所述用户端登陆的第一宠物 ID与所述其它用户端上 的第二宠物 ID划分到一个讨论组。
如权利要求 6所述的基于宠物信息创建讨论组的服务器, 其特征在于 , 还包括:
通信连接单元, 用于建立与所述用户端的通信连接。
如权利要求 7所述的基于宠物信息创建讨论组的服务器, 其特征在于
, 还包括:
呼叫接收单元, 用于接收用户点击所述用户端上显示的第二宠物 ID吋 生成的呼叫请求信息, 建立所述用户端与所述第二宠物 ID所在的其它 用户端之间的通信连接。
如权利要求 7或 8所述的基于宠物信息创建讨论组的服务器, 其特征在 于, 所述通信连接单元, 包括:
接收转发模块, 用于接收所述用户端进行编码并以 RTP数据包形式传 输的语音包和 /或视频流, 并转发给其它用户端。
如权利要求 9所述的基于宠物信息创建讨论组的服务器, 其特征在于 , 还包括:
接收存储单元, 用于接收所述用户端发送的宠物信息和宠物主人信息 , 将所述宠物信息和宠物主人信息以数据表格式存储在数据库中; 所 述宠物信息和宠物主人信息至少包括: 宠物 ID、 宠物类型、 主人 ID 、 位置 ID以及主人的移动终端通信地址。
一种基于宠物信息创建讨论组的系统, 其特征在于, 包括服务器和用 户端;
所述服务器接收用户端发送的査询请求, 所述査询请求中携带所述用 户端登陆的第一宠物 ID和用户输入的査询关键字; 根据所述査询请求 , 匹配出多个与所述査询关键字关联的属于同一宠物类型的其它用户 端上的第二宠物 ID; 将所述用户端登陆的第一宠物 ID与所述其它用 户端上的第二宠物 ID划分到一个讨论组。
[权利要求 12] 如权利要求 11所述的基于宠物信息创建讨论组的系统, 其特征在于, 所述服务器还用于: 建立与所述用户端的通信连接。
[权利要求 13] 如权利要求 12所述的基于宠物信息创建讨论组的系统, 其特征在于, 所述服务器还用于: 接收用户点击所述用户端上显示的第二宠物 ID吋 生成的呼叫请求信息, 建立所述用户端与所述第二宠物 ID所在的其它 用户端之间的通信连接。
[权利要求 14] 如权利要求 12或 13所述的基于宠物信息创建讨论组的系统, 其特征在 于, 所述服务器具体用于: 接收所述用户端进行编码并以 RTP数据包 形式传输的语音包和 /或视频流, 并转发给其它用户端。
[权利要求 15] 如权利要求 14所述的基于宠物信息创建讨论组的系统, 其特征在于, 所述服务器还用于: 接收所述用户端发送的宠物信息和宠物主人信息 , 将所述宠物信息和宠物主人信息以数据表格式存储在数据库中; 所 述宠物信息和宠物主人信息至少包括: 宠物 ID、 宠物类型、 主人 ID 、 位置 ID以及主人的移动终端通信地址。
PCT/CN2016/096504 2016-08-24 2016-08-24 基于宠物信息创建讨论组的方法、服务器及系统 WO2018035737A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/096504 WO2018035737A1 (zh) 2016-08-24 2016-08-24 基于宠物信息创建讨论组的方法、服务器及系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/096504 WO2018035737A1 (zh) 2016-08-24 2016-08-24 基于宠物信息创建讨论组的方法、服务器及系统

Publications (1)

Publication Number Publication Date
WO2018035737A1 true WO2018035737A1 (zh) 2018-03-01

Family

ID=61245760

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096504 WO2018035737A1 (zh) 2016-08-24 2016-08-24 基于宠物信息创建讨论组的方法、服务器及系统

Country Status (1)

Country Link
WO (1) WO2018035737A1 (zh)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414997A (zh) * 2013-08-30 2013-11-27 苏州跨界软件科技有限公司 基于地理位置的交友信息推送方法
CN103414723A (zh) * 2013-08-20 2013-11-27 苏州跨界软件科技有限公司 一种基于宠物的社交平台的注册系统
CN103414781A (zh) * 2013-08-20 2013-11-27 苏州跨界软件科技有限公司 一种基于宠物的社交平台的注册方法
CN103412931A (zh) * 2013-08-20 2013-11-27 苏州跨界软件科技有限公司 一种基于宠物的移动社交平台
CN103414780A (zh) * 2013-08-20 2013-11-27 苏州跨界软件科技有限公司 一种基于宠物的移动社交实现方法
CN103442332A (zh) * 2013-08-30 2013-12-11 苏州跨界软件科技有限公司 基于地理位置的交友信息推送系统
CN106330673A (zh) * 2016-08-24 2017-01-11 深圳市沃特沃德股份有限公司 基于宠物信息创建讨论组的方法、服务器及系统

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414723A (zh) * 2013-08-20 2013-11-27 苏州跨界软件科技有限公司 一种基于宠物的社交平台的注册系统
CN103414781A (zh) * 2013-08-20 2013-11-27 苏州跨界软件科技有限公司 一种基于宠物的社交平台的注册方法
CN103412931A (zh) * 2013-08-20 2013-11-27 苏州跨界软件科技有限公司 一种基于宠物的移动社交平台
CN103414780A (zh) * 2013-08-20 2013-11-27 苏州跨界软件科技有限公司 一种基于宠物的移动社交实现方法
CN103414997A (zh) * 2013-08-30 2013-11-27 苏州跨界软件科技有限公司 基于地理位置的交友信息推送方法
CN103442332A (zh) * 2013-08-30 2013-12-11 苏州跨界软件科技有限公司 基于地理位置的交友信息推送系统
CN106330673A (zh) * 2016-08-24 2017-01-11 深圳市沃特沃德股份有限公司 基于宠物信息创建讨论组的方法、服务器及系统

Similar Documents

Publication Publication Date Title
KR102396947B1 (ko) 임시 컨텐츠 메시지를 처리하기 위한 방법들 및 시스템들
AU2017254981B2 (en) Reduced latency server-mediated audio-video communication
US9825893B2 (en) System and method for broadcasting audio tweets
KR101652676B1 (ko) 브로드캐스트 네트워크에서 수신기 디바이스로의 소셜 네트워크 업데이트들의 전력 효율적인 전달을 위한 시스템 및 장치
CN104253814B (zh) 一种流媒体处理方法、服务器及浏览器
Roesslein tweepy Documentation
WO2011022206A2 (en) Social network virtual private network
WO2014000546A1 (zh) 提醒方法、终端、云服务器和系统
US20150287107A1 (en) Radio search application with follower capability system and method
US20230169066A1 (en) Temporary shared storage
CN113132344A (zh) 广播和管理呼叫参与
WO2023159879A1 (zh) 消息的处理方法及系统、存储介质、电子装置
US20180331884A1 (en) Method and system for multipoint access within a mobile network
CN107181755A (zh) 一种办公平台的身份识别方法、装置及系统
US11190734B2 (en) Multiway audio-video conferencing with multiple communication channels per device
CN109040177A (zh) 一种基于亲情网的老人陪护方法及系统
CN106302362A (zh) 多媒体内容发送方法、分享方法、接收方法及对应装置
US20070168419A1 (en) System, method, and article of manufacture for a network media channel
JP2019220950A (ja) デバイスごとに複数の通信チャネルを有するマルチウェイオーディオビデオ会議
CN106330673A (zh) 基于宠物信息创建讨论组的方法、服务器及系统
EP2852191B1 (en) Method and system for establishing integrated group ISC session based on content interest
CN101771691A (zh) 融合用户信息的系统及用户信息的感知、融合和决策方法
US9699124B2 (en) On-demand robot acquisition of communication features
Zhao et al. A mobile real-time video system using RTMP
WO2018035737A1 (zh) 基于宠物信息创建讨论组的方法、服务器及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16913761

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16913761

Country of ref document: EP

Kind code of ref document: A1