CN105487935A - Active service acquiring method based on environment perception - Google Patents

Active service acquiring method based on environment perception Download PDF

Info

Publication number
CN105487935A
CN105487935A CN201510886506.1A CN201510886506A CN105487935A CN 105487935 A CN105487935 A CN 105487935A CN 201510886506 A CN201510886506 A CN 201510886506A CN 105487935 A CN105487935 A CN 105487935A
Authority
CN
China
Prior art keywords
data
value
list
mobile client
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510886506.1A
Other languages
Chinese (zh)
Other versions
CN105487935B (en
Inventor
郭克华
黄宇健
潘威
田彪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Central South University
Original Assignee
Central South University
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 Central South University filed Critical Central South University
Priority to CN201510886506.1A priority Critical patent/CN105487935B/en
Publication of CN105487935A publication Critical patent/CN105487935A/en
Application granted granted Critical
Publication of CN105487935B publication Critical patent/CN105487935B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services

Abstract

The invention discloses an active service acquiring method based on environment perception. The method comprises the steps that a mobile client sends a request to a server; the server sends environment data needing to learn to the mobile client; the mobile client reads the environment data and stores the environment data in a (key, value) pairwise manner, then sends the environment data and an identity identification code to the server; and the server processes the environment data sent by the mobile client. By using the active service acquiring method based on environment perception provided by the invention, the effect of providing a unified development interface for developers is achieved, the development time is saved, and the development efficiency is improved.

Description

A kind of acquisition methods of taking the initiative in offering a hand based on environment sensing
Technical field
The present invention relates to a kind of acquisition methods of taking the initiative in offering a hand based on environment sensing.
Background technology
Nearly all equipment based on Android all has multiple built-in sensors, and as accelerometer, GPS, battery, distance-sensor, the application program based on these sensing datas is widely used.In such systems, contextual information is collected and analyzes, to provide relevant service to client.Because in the quick growth of sensor technology in client, contextual information can easily obtain from sensor.
The people such as Han propose the commending system of the sentiment analysis algorithm of user by the vectorial classification as changes in emotional.The people such as Liang investigate comprehensive social background analytical algorithm, and are integrated into a commending system, provide the age based on user, occupation, the service of place and sex.The people such as Oh propose a kind of collaborative filtering with the interest of user in group quantized and significance level.In addition, the people such as D propose a kind of based on the date, temperature, season, the contextual analysis algorithm of time.These systems are widely used in various field, as tourism, and suggestion interested and health control software etc.
Above-mentioned technology does not provide a unified framework, and the basic framework of disposing for context-aware applications program is different application; In addition, these technology concentrate on low-level sensing data, and do not relate to high-level contextual information, as activity and the behavior of user.
Summary of the invention
Technical matters to be solved by this invention is, not enough for prior art, provides a kind of acquisition methods of taking the initiative in offering a hand based on environment sensing.
For solving the problems of the technologies described above, the technical solution adopted in the present invention is: a kind of acquisition methods of taking the initiative in offering a hand based on environment sensing, the main implementation procedure of the method is: mobile client sends request to service end, service end sends to mobile client by needing the environmental data known, mobile client reads environmental data, and with < key, the form storage condition data that value > is right, then environmental data and Identity Code are sent to service end, the environmental data that service end sends according to mobile client processes.
Described environmental data comprises speed, longitude and latitude, WiFi state, bluetooth state, time.
The specific implementation flow process of the inventive method comprises the following steps:
1) initialization list list, initialization key-value pair map, initialize digital exp, for the data p of each in service end, ensure that the identity field of this data p is equal with client identity, then performs following operation:
1a) initialization list array, if the serviceId field of data p is in map, then array assignment is the data be buffered in map; Otherwise it is serviceId that map adds a key, is worth the data for array, adds data p in array;
Be 1b) zero by digital exp assignment, for a data s any in map, proceed as follows:
For any data sp of the array of s, be that exp adds distance value dis by exp assignment, wherein:
Dis=1-| (the value value that the value value – mobile client of sp is corresponding) |/(the value value that the value value+ mobile client of sp is corresponding);
Determine that the end value of exp is the length of the exp after assignment divided by the array of s, in list list, add the serviceId that structure is <identity, s, the data of the end value > of exp;
2) with the addition of above-mentioned the serviceId that structure is <identity, s, the list list of the data of the end value > of exp sends to mobile client;
3) mobile client proceeds as follows according to each the data s in list list:
3a) initialization list l, obtain the mounted service list of mobile client, if data s does not exist in this service list, then added to by data s in list l, the exp descending according to data s data sorts to list l;
3b) the front n% bar data of download list l service and install these service; Rear (1-n) % bar data of list l are shown as " manual installation " icon, and when the user clicks on this icon, system downloads also installs this service;
3c) when user clicks any one service, mobile client by current environmental data with < key, the form that value > is right stores, and by this environmental data, the service respective identification that Identity Code and user click sends to service end, when service end receives environmental data, carry out following process: any < key that mobile client is sent, > is to environmental data for value, if this key is in service end and the identifier sent of identity and mobile client is identical, the value of this environmental data and the distance value dis of database intermediate value are greater than value m simultaneously, data then more in new database, weights are added 1, otherwise add a new data in a database.
The span of n is 1 ~ 99; The span of m is 0 ~ 1.
Compared with prior art, the beneficial effect that the present invention has is: present invention employs the acquisition methods of taking the initiative in offering a hand based on environment sensing, reaches as developer provides the effect of unitized overall development interface, saves the development time, improve development efficiency.The inventive method developed as framework, skeleton code only needs to write once; Using skeleton code as development library, the acquisition of concrete environmental data is defined by developer oneself, writes complete code compared to developer, uses this method to develop the exploitation amount that can reduce nearly 70% as framework.
Embodiment
Using AndroidStudio as compiler, using Android device as client terminal, exploitation client functionality, comprises request environmental parameter, collect environmental data, send environmental data, receive service list, the service of reception pushes, manual download service, sends feedback data to service end; Using PHP as service end development language, using MySQL as service end database, exploitation service end function, comprises propelling movement environmental parameter, process user environment data, produces service list and sends to client, process user feedback data more new data.
Specific experiment mode: client obtains 20 services, and user clicks first in service list, and accuracy adds 20, and user clicks second in service list, and accuracy adds 19, by that analogy; Many experiments is carried out to multiple user, calculates average accuracy and divided by service sum, show that the Average Accuracy of service is 72%.Meanwhile, recording user rests on the time of system as period of reservation of number, carries out many experiments to multiple user, show that the average user stand-by period is 8 seconds.User is investigated, show that user's average satisfaction is 75%.

Claims (4)

1. the acquisition methods of taking the initiative in offering a hand based on environment sensing, it is characterized in that, the main implementation procedure of the method is: mobile client sends request to service end, service end sends to mobile client by needing the environmental data known, mobile client reads environmental data, and with < key, the form storage condition data that value > is right, then environmental data and Identity Code are sent to service end, the environmental data that service end sends according to mobile client processes.
2. the acquisition methods of taking the initiative in offering a hand based on environment sensing according to claim 1, is characterized in that, described environmental data comprises speed, longitude and latitude, WiFi state, bluetooth state, time.
3. the acquisition methods of taking the initiative in offering a hand based on environment sensing according to claim 1, is characterized in that, the specific implementation flow process of the method comprises the following steps:
1) initialization list list, initialization key-value pair map, initialize digital exp, for the data p of each in service end, ensure that the identity field of this data p is equal with client identity, then performs following operation:
1a) initialization list array, if the serviceId field of data p is in map, then array assignment is the data be buffered in map; Otherwise it is serviceId that map adds a key, is worth the data for array, adds data p in array;
Be 1b) zero by digital exp assignment, for a data s any in map, proceed as follows:
For any data sp of the array of s, be that exp adds distance value dis by exp assignment, wherein:
Dis=1-| (the value value that the value value – mobile client of sp is corresponding) |/(the value value that the value value+ mobile client of sp is corresponding);
Determine that the end value of exp is the length of the exp after assignment divided by the array of s, in list list, add the serviceId that structure is <identity, s, the data of the end value > of exp;
2) with the addition of above-mentioned the serviceId that structure is <identity, s, the list list of the data of the end value > of exp sends to mobile client;
3) mobile client is to through step 2) each data s in list list after process proceeds as follows:
3a) initialization list l, obtain the mounted service list of mobile client, if data s does not exist in this service list, then added to by data s in list l, the exp descending according to data s data sorts to list l;
3b) the front n% bar data of download list l service and install these service; Rear (1-n) % bar data of list l are shown as " manual installation " icon, and when the user clicks on this icon, system downloads also installs this service;
3c) when user clicks any one service, mobile client by current environmental data with < key, the form that value > is right stores, and by this environmental data, the service respective identification that Identity Code and user click sends to service end, when service end receives environmental data, carry out following process: any < key that mobile client is sent, > is to environmental data for value, if this key is in service end, and the identifier that identity and mobile client are sent is identical, the value of this environmental data and the distance value dis of database intermediate value are greater than value m simultaneously, data then more in new database, weights are added 1, otherwise add a new data in a database.
4. the acquisition methods of taking the initiative in offering a hand based on environment sensing according to claim 3, is characterized in that, the span of n is 1 ~ 99; The span of m is 0 ~ 1.
CN201510886506.1A 2015-12-07 2015-12-07 A kind of acquisition methods of taking the initiative in offering a hand based on environment sensing Active CN105487935B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510886506.1A CN105487935B (en) 2015-12-07 2015-12-07 A kind of acquisition methods of taking the initiative in offering a hand based on environment sensing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510886506.1A CN105487935B (en) 2015-12-07 2015-12-07 A kind of acquisition methods of taking the initiative in offering a hand based on environment sensing

Publications (2)

Publication Number Publication Date
CN105487935A true CN105487935A (en) 2016-04-13
CN105487935B CN105487935B (en) 2017-06-23

Family

ID=55674929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510886506.1A Active CN105487935B (en) 2015-12-07 2015-12-07 A kind of acquisition methods of taking the initiative in offering a hand based on environment sensing

Country Status (1)

Country Link
CN (1) CN105487935B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453410A (en) * 2007-12-07 2009-06-10 北京闻言科技有限公司 Method for enhancing file downloading speed through application cache
US20100259444A1 (en) * 2009-04-08 2010-10-14 Andrei Kosolobov Method and system for dynamic wireless node capture for a lbs server, client, and reference database
CN102736978A (en) * 2012-06-26 2012-10-17 奇智软件(北京)有限公司 Method and device for detecting installation status of application program
CN103793257A (en) * 2014-03-07 2014-05-14 中南大学 Streaming Android program executing method
CN103841198A (en) * 2014-03-07 2014-06-04 中南大学 Cleanroom cloud computing data processing method and system
CN103856542A (en) * 2012-12-07 2014-06-11 上海斐讯数据通信技术有限公司 Self-adaptation service providing system and method based on mobile terminal
CN103916482A (en) * 2014-04-21 2014-07-09 合肥盈云信息科技有限公司 Data synchronous transmission method based on sqlite
CN104932680A (en) * 2015-04-26 2015-09-23 刘玉伟 Wearable device customization method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453410A (en) * 2007-12-07 2009-06-10 北京闻言科技有限公司 Method for enhancing file downloading speed through application cache
US20100259444A1 (en) * 2009-04-08 2010-10-14 Andrei Kosolobov Method and system for dynamic wireless node capture for a lbs server, client, and reference database
CN102736978A (en) * 2012-06-26 2012-10-17 奇智软件(北京)有限公司 Method and device for detecting installation status of application program
CN103856542A (en) * 2012-12-07 2014-06-11 上海斐讯数据通信技术有限公司 Self-adaptation service providing system and method based on mobile terminal
CN103793257A (en) * 2014-03-07 2014-05-14 中南大学 Streaming Android program executing method
CN103841198A (en) * 2014-03-07 2014-06-04 中南大学 Cleanroom cloud computing data processing method and system
CN103916482A (en) * 2014-04-21 2014-07-09 合肥盈云信息科技有限公司 Data synchronous transmission method based on sqlite
CN104932680A (en) * 2015-04-26 2015-09-23 刘玉伟 Wearable device customization method and system

Also Published As

Publication number Publication date
CN105487935B (en) 2017-06-23

Similar Documents

Publication Publication Date Title
Ray A survey of IoT cloud platforms
Xu et al. A survey for mobility big data analytics for geolocation prediction
EP2847978B1 (en) Calendar matching of inferred contexts and label propagation
WO2017031856A1 (en) Information prediction method and device
US20130158855A1 (en) Journey Learning System
EP3451275B1 (en) Information processing device and method
CN103994764A (en) Portable positioning system
Foremski et al. Energy-efficient crowdsensing of human mobility and signal levels in cellular networks
KR102290755B1 (en) Method and apparatus for providing information based on proximity
KR20170111054A (en) Sensor data analyzing and providing system and method based on IoT technologies
Rout et al. Using smartphone-GPS data to understand pedestrian-scale behavior in urban settings: A review of themes and approaches
US11523248B2 (en) Inference of logistical relationships from device location data
JP5911347B2 (en) Information processing apparatus and information processing method
Sari et al. Location-based mobile application software development: Review of Waze and other apps
CN105487935A (en) Active service acquiring method based on environment perception
Haderer et al. Apisense: Crowd-sensing made easy
CN104583726A (en) Providing location assistance information using data from smart meters
Mrazovic et al. Mobics: Mobile platform for combining crowdsourcing and participatory sensing
Liniger et al. Parking prediction techniques in an iot environment
Klymenko et al. Development of software and hardware complex of GPS-tracking
Naylor et al. Vehicle availability profiling from diverse data sources
CN109612447B (en) Construction method of enhanced positioning transformation model of remote sensing image map data, enhanced positioning method and enhanced positioning server
Benedict Energy-aware edge intelligence for dynamic intelligent transportation systems
CN111222056B (en) Matching method, device, equipment and medium of related users
Bieler et al. A context-and trajectory-based destination prediction of public transportation users

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant